/* Storefront finish. Product photographs keep their actual colours and geometry.
   The established hero photograph, composition and typography are not targeted. */
body.storefront-page {
    --bg-main: #f2eee4;
    --bg-card: #fffdf7;
    --text-main: #20312b;
    --text-muted: #52645b;
    --border: #d7d8c8;
    --header-bg: rgba(255, 253, 247, .96);
    --footer-bg: #10251e;
    --brand-wash: rgba(246, 240, 225, .38);
    --brand-shadow: 0 14px 38px rgba(23, 57, 40, .085);
    background-color: var(--bg-main);
}
:root[data-theme="dark"] body.storefront-page {
    --bg-main: #141f19;
    --bg-card: #223127;
    --text-main: #f3f5ec;
    --text-muted: #bbcbbd;
    --border: #405549;
    --header-bg: rgba(20, 31, 25, .97);
    --footer-bg: #0c1b16;
    --brand-wash: rgba(18, 33, 25, .52);
    --brand-shadow: 0 14px 38px rgba(0, 0, 0, .22);
}
body.storefront-page .main-content {
    background-color: var(--bg-main);
    background-image: linear-gradient(var(--brand-wash), var(--brand-wash)), url('../images/storefront-production-v4.webp');
    background-size: auto, cover;
    background-repeat: no-repeat;
    background-position: 62% center;
    background-attachment: scroll, fixed;
}
body.storefront-page .main-content > .home-popular { background: transparent !important; }
body.storefront-page .section-header { margin-bottom: 44px; }
body.storefront-page .section-header .section-title { letter-spacing: -.035em; }
body.storefront-page .home-directions { gap: 22px; }
body.storefront-page .home-directions .service-card {
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
    grid-template-rows: auto 1fr;
    gap: 18px;
    border-radius: 22px;
    border-color: var(--border);
    box-shadow: var(--brand-shadow);
    padding: 30px;
}
body.storefront-page .home-directions .service-card:not(:last-child) { background: var(--bg-card); }
body.storefront-page .home-directions .service-content { grid-column: 1; grid-row: 1; max-width: 100% !important; min-width: 0; padding-bottom: 60px; overflow-wrap: anywhere; }
body.storefront-page .home-directions .service-card:last-child .service-content { grid-column: 1 / -1; max-width: 80% !important; }
body.storefront-page .home-directions .service-title { font-size: clamp(21px, 2vw, 26px); line-height: 1.2; letter-spacing: -.035em; }
body.storefront-page .home-directions .service-desc { font-size: 14px; line-height: 1.7; }
body.storefront-page .home-directions .service-img { position: relative; grid-column: 2; grid-row: 1 / 3; align-self: stretch; width: 100%; height: 220px; right: auto; bottom: auto; filter: none; }
body.storefront-page .home-directions .service-catalog-buckets { position: relative; grid-column: 2; grid-row: 1 / 3; width: 100%; height: 220px; right: auto; bottom: auto; align-self: center; }
body.storefront-page .home-directions .service-factory-img { object-fit: cover; object-position: 68% center; mix-blend-mode: normal; border-radius: 14px; clip-path: none; transform: none; }
body.storefront-page .home-directions .service-image-caption { position: absolute; z-index: 3; right: 38px; top: 214px; bottom: auto; max-width: calc(44% - 20px); padding: 5px 8px; border-radius: 6px; background: rgba(16,24,26,.82); color: #fff; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; pointer-events: none; }
body.storefront-page .home-directions .service-link-btn { width: 44px; height: 44px; left: 30px; bottom: 26px; color: var(--text-main); background: var(--bg-card); border-color: var(--border); }
body.storefront-page .home-directions .service-card:last-child .service-link-btn { color: #20282c; background: rgba(255,255,255,.18); border-color: rgba(32,40,44,.25); }
:root[data-theme="dark"] body.storefront-page .home-directions .service-img { mix-blend-mode: normal; border-radius: 12px; }
body.storefront-page .main-content .product-card {
    min-width: 0;
    background: var(--bg-card);
    border-color: var(--border);
    border-radius: 20px;
    box-shadow: var(--brand-shadow);
}
body.storefront-page .main-content .product-card .product-img-wrapper { background: #fff; border-bottom: 1px solid #edf0ed; }
body.storefront-page .main-content .product-card .product-img-wrapper img { object-fit: contain; filter: none; mix-blend-mode: normal; padding: 14px; }
body.storefront-page .main-content .product-info { padding: 22px; }
body.storefront-page .main-content .product-category { font-size: 11px; letter-spacing: .055em; }
body.storefront-page .main-content .product-title { font-weight: 700; letter-spacing: -.02em; }
body.storefront-page .main-content .product-pack-summary { font-size: 12px; color: var(--text-muted); }
body.storefront-page .main-content .product-price { font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
body.storefront-page .main-content .add-to-cart-btn.added-success .cart-added-checkmark { display: block; flex: 0 0 auto; width: 22px; height: 22px; margin: 0; }
body.storefront-page .catalog-layout { grid-template-columns: 270px minmax(0,1fr); gap: 28px; }
body.storefront-page .catalog-main { min-width: 0; }
body.storefront-page .catalog-showcase { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; max-width: 600px; margin: 26px auto 0; text-align: left; position: relative; z-index: 1; }
body.storefront-page .catalog-showcase__item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; background: #fff; color: #20282c; box-shadow: 0 5px 18px rgba(0,0,0,.12); text-decoration: none; }
body.storefront-page .catalog-showcase__item img { display: block; flex: 0 0 52px; width: 52px; height: 64px; object-fit: contain; background: #fff; }
body.storefront-page .catalog-showcase__item span { min-width: 0; font-size: 11px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.storefront-page .catalog-showcase__item:hover { border-color: #ffd600; color: #20282c; box-shadow: 0 5px 18px rgba(0,0,0,.2); }
body.storefront-page .catalog-sidebar {
    background: var(--bg-card);
    backdrop-filter: none;
    border-color: var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--brand-shadow);
}
body.storefront-page .catalog-main .products-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,230px),1fr)); gap: 20px; }
body.storefront-page .catalog-sidebar input,
body.storefront-page .catalog-sort-field select { min-height: 44px; max-width: 100%; min-width: 0; background: var(--bg-card); color: var(--text-main); border-color: var(--border); }
body.storefront-page .catalog-sidebar .category-list label { line-height: 1.5; }
body.storefront-page .catalog-sidebar .category-list input { min-height: 0; }
body.storefront-page .catalog-sidebar .sidebar-promo { border-radius: 16px; background: var(--bg-card); }
body.storefront-page .catalog-sidebar .sidebar-promo-product { position: absolute; right: -8px; bottom: 0; z-index: 0; width: 85%; height: 70%; object-fit: contain; object-position: right bottom; opacity: .1; pointer-events: none; filter: none; }
body.storefront-page .main-content .faq-item { background: var(--bg-card) !important; border-color: var(--border) !important; box-shadow: var(--brand-shadow); }
body.storefront-page .main-content .faq-btn { line-height: 1.5; }
body.storefront-page .production-story { background: radial-gradient(ellipse at 92% 5%, rgba(222,185,68,.065), transparent 48%), #151d20; }
body.storefront-page .production-story__visual { border-radius: 20px; border-color: #42494a; }
body.storefront-page .production-story__visual::after {
    background: linear-gradient(90deg,rgba(11,19,21,.85),rgba(11,19,21,.12)), linear-gradient(0deg,rgba(11,19,21,.76),transparent 75%);
}
body.storefront-page .production-story__glow { opacity: .45; background: radial-gradient(ellipse, rgba(225,203,130,.10), transparent 65%); }
body.storefront-page .production-story__process { border-color: #394347; border-radius: 20px; background: #1c2529; }
body.storefront-page .production-story__step { background: #182024; }
body.storefront-page .production-story__visual-copy > span:last-child { max-width: 430px; color: #d0d6d4; }
body.storefront-page .site-header .header-descriptor,
body.storefront-page .site-header .contact-label { color: var(--text-muted); }
body.storefront-page .main-content :is(a,button,input,select,textarea):focus-visible { outline: 2px solid #846411; outline-offset: 3px; }
:root[data-theme="dark"] body.storefront-page .main-content :is(a,button,input,select,textarea):focus-visible { outline-color: #ffd600; }
@media (max-width: 992px) {
    body.storefront-page .catalog-layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 768px) {
    body.storefront-page .catalog-showcase { gap: 8px; margin-top: 20px; }
    body.storefront-page .catalog-showcase__item { flex-direction: column; align-items: stretch; padding: 9px; gap: 6px; border-radius: 10px; }
    body.storefront-page .catalog-showcase__item img { flex-basis: auto; width: 100%; height: 58px; }
    body.storefront-page .catalog-showcase__item span { font-size: 10px; line-height: 1.45; }
    body.storefront-page .section-header { margin-bottom: 32px; }
    body.storefront-page .home-directions .service-card { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; padding: 24px; gap: 16px; }
    body.storefront-page .home-directions .service-content { grid-column: 1; grid-row: 1; padding-bottom: 0; }
    body.storefront-page .home-directions .service-card:last-child .service-content { max-width: 80% !important; padding-bottom: 64px; }
    body.storefront-page .home-directions .service-link-btn { left: 24px; bottom: 24px; }
    body.storefront-page .home-directions .service-img,
    body.storefront-page .home-directions .service-catalog-buckets { grid-column: 1; grid-row: 2; width: 100%; height: 190px; right: auto; margin-bottom: 48px; }
    body.storefront-page .home-directions .service-image-caption { top: auto; right: 32px; bottom: 80px; max-width: calc(100% - 64px); }
    body.storefront-page .catalog-sidebar { padding: 20px; }
    body.storefront-page .catalog-main .products-grid { gap: 16px; }
    body.storefront-page .main-content .product-info { padding: 20px; }
    body.storefront-page .main-content { background-attachment: scroll; }
}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    body.storefront-page .home-directions .service-card:hover,
    body.storefront-page .main-content .product-card:hover { box-shadow: 0 12px 30px rgba(24,35,36,.10); border-color: #c6a83d; }
}
@media (prefers-reduced-motion:reduce) {
    body.storefront-page .home-directions *,
    body.storefront-page .main-content .product-card * { animation: none !important; transition: none !important; }
}

/* A warmer industrial palette carries through the home, catalog and product pages. */
body.storefront-page {
    --brand-ink: #10251e;
    --brand-green: #205b48;
    --brand-sand: #f6f0e3;
    --brand-gold: #d3a52e;
    --brand-gold-soft: #f3da93;
    --brand-sage: #dce9d9;
    --brand-clay: #aa6747;
    --brand-line: rgba(32, 91, 72, .17);
    --brand-shadow: 0 14px 38px rgba(23, 57, 40, .085);
}
:root[data-theme="dark"] body.storefront-page {
    --brand-ink: #0c1b16;
    --brand-green: #a8d8ba;
    --brand-sand: #1b2a22;
    --brand-gold: #f0c95a;
    --brand-gold-soft: #f4dda0;
    --brand-sage: #304938;
    --brand-clay: #e2a47d;
    --brand-line: rgba(177, 216, 183, .17);
    --brand-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}
body.storefront-page .main-content {
    background-image:
        radial-gradient(ellipse at 12% 7%, rgba(226, 177, 67, .21), transparent 30rem),
        radial-gradient(ellipse at 88% 34%, rgba(52, 136, 98, .17), transparent 35rem),
        linear-gradient(var(--brand-wash), var(--brand-wash)),
        url('../images/storefront-production-v4.webp');
    background-size: auto, auto, auto, cover;
    background-position: center, center, center, 62% center;
}
:root[data-theme="dark"] body.storefront-page .main-content {
    background-image:
        radial-gradient(ellipse at 12% 7%, rgba(226, 178, 69, .14), transparent 30rem),
        radial-gradient(ellipse at 88% 34%, rgba(84, 166, 115, .20), transparent 35rem),
        linear-gradient(var(--brand-wash), var(--brand-wash)),
        url('../images/storefront-production-v4.webp');
}

/* First-screen panels gain a distinct edge and layered light while keeping their real photos. */
body.storefront-page .hero,
body.storefront-page .banner-slider,
body.storefront-page .catalog-hero {
    isolation: isolate;
    overflow: hidden;
}
body.storefront-page .hero::before,
body.storefront-page .banner-slider::before,
body.storefront-page .catalog-hero::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 82% 22%, rgba(231, 194, 78, .22), transparent 34%),
        linear-gradient(115deg, rgba(12, 23, 24, .30), transparent 55%);
}
body.storefront-page .hero-container,
body.storefront-page .catalog-hero > .container { position: relative; z-index: 1; }
body.storefront-page .hero-content { max-width: 850px !important; }
body.storefront-page .hero-title,
body.storefront-page .catalog-hero .page-header-title {
    text-wrap: balance;
    overflow-wrap: anywhere;
    text-shadow: 0 3px 24px rgba(0, 0, 0, .32);
}
body.storefront-page .hero-content > div:first-child {
    border-color: rgba(243, 221, 160, .58) !important;
    background: linear-gradient(110deg, rgba(215, 173, 39, .23), rgba(215, 173, 39, .08)) !important;
    color: #ffe69a !important;
}
body.storefront-page .hero-actions .btn-primary,
body.storefront-page .catalog-hero .catalog-showcase__item {
    box-shadow: 0 12px 30px rgba(8, 16, 16, .20);
}
body.storefront-page .hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, .52) !important;
}

/* Direction cards read as a compact visual index, with the supplied imagery left intact. */
body.storefront-page .home-directions .service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-image: linear-gradient(145deg, var(--bg-card), color-mix(in srgb, var(--bg-card) 91%, #e9e0c8)) !important;
}
:root[data-theme="dark"] body.storefront-page .home-directions .service-card {
    background-image: linear-gradient(145deg, var(--bg-card), color-mix(in srgb, var(--bg-card) 88%, #52695c)) !important;
}
body.storefront-page .home-directions .service-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 100% 0, rgba(215, 173, 39, .12), transparent 50%);
}
body.storefront-page .home-directions .service-title { text-wrap: balance; overflow-wrap: anywhere; }
body.storefront-page .home-directions .service-desc { max-width: 42ch; overflow-wrap: anywhere; }
body.storefront-page .home-directions .service-img,
body.storefront-page .home-directions .service-catalog-buckets {
    border: 1px solid var(--brand-line);
    border-radius: 18px;
    background: linear-gradient(140deg, #fff, #f4f2eb);
}
body.storefront-page .home-directions .service-img { object-fit: cover; }
body.storefront-page .home-directions .service-img:not(.service-factory-img) {
    object-fit: contain;
    padding: 12px;
}
/* Let the product cutout sit directly on the card instead of inside a second framed tile. */
body.storefront-page .home-directions .service-img:not(.service-factory-img) {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    padding: 12px;
    mix-blend-mode: normal;
}
body.storefront-page #about .section-header {
    width: min(100%, 760px);
    margin: 0 auto 36px;
    padding: 22px 28px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 20px;
    background: rgba(255, 253, 247, .94);
    box-shadow: 0 14px 38px rgba(22, 31, 30, .16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
body.storefront-page #about .section-header .section-title { color: #202a27; }
body.storefront-page #about .section-header > p { color: #4b5953 !important; }
:root[data-theme="dark"] body.storefront-page #about .section-header {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(27, 34, 31, .94);
}
:root[data-theme="dark"] body.storefront-page #about .section-header .section-title { color: #f4f5f1; }
:root[data-theme="dark"] body.storefront-page #about .section-header > p { color: #d0d8d2 !important; }
body.storefront-page .home-directions .service-catalog-buckets img { transition: transform 480ms cubic-bezier(.22,1,.36,1); }
body.storefront-page .home-directions .service-card:last-child {
    background: linear-gradient(135deg, #efd36f 0%, #dfb83c 58%, #cda12b 100%) !important;
    box-shadow: 0 16px 36px rgba(157, 119, 17, .18);
}
body.storefront-page .home-directions .service-card:last-child::before {
    background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.43), transparent 38%);
}
body.storefront-page .home-directions .service-card:last-child .service-title { color: #202a27 !important; }
body.storefront-page .home-directions .service-card:last-child .service-desc { color: #35413b !important; }

/* Product imagery stays true to the supplied catalog photography. */
body.storefront-page .main-content .product-card {
    overflow: hidden;
    border-color: var(--brand-line);
    box-shadow: var(--brand-shadow);
    transition: box-shadow 300ms ease, border-color 300ms ease, transform 400ms cubic-bezier(.22,1,.36,1);
}
body.storefront-page .main-content .product-card .product-img-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #fff 0%, #f8f7f2 100%);
}
body.storefront-page .main-content .product-card .product-img-wrapper img {
    transition: transform 650ms cubic-bezier(.22,1,.36,1);
}
/* Transparent catalog exports get a restrained halo around their alpha silhouette.
   Matching the live src keeps gallery selections in sync and leaves legacy photos alone. */
body.storefront-page .main-content .product-card .product-img-wrapper img[src*="/uploads/products/cutout-20261016/"],
body.storefront-page .main-content .product-card .product-img-wrapper img[src*="/uploads/products/catalog-glow/"],
body.storefront-page .main-content .product-card .product-img-wrapper img[src*="/uploads/products/catalog-ai-refresh-20261021/"],
body.storefront-page .product-gallery .product-details-image img[src*="/uploads/products/cutout-20261016/"],
body.storefront-page .product-gallery .product-details-image img[src*="/uploads/products/catalog-glow/"],
body.storefront-page .product-gallery .product-details-image img[src*="/uploads/products/catalog-ai-refresh-20261021/"] {
    filter: drop-shadow(0 0 9px rgba(255, 214, 0, .34)) drop-shadow(0 0 24px rgba(255, 214, 0, .18));
}
body.storefront-page .main-content .product-title { line-height: 1.5; overflow-wrap: anywhere; text-wrap: pretty; }
body.storefront-page .main-content .product-pack-summary { line-height: 1.55; overflow-wrap: anywhere; }
body.storefront-page .main-content .product-price { color: var(--brand-green); }
:root[data-theme="dark"] body.storefront-page .main-content .product-price { color: #f0cd58; }
body.storefront-page .main-content .product-badge {
    border-radius: 999px;
    background: linear-gradient(125deg, #f4dc91, #dcb73f);
    color: #29312d;
    box-shadow: 0 5px 16px rgba(60, 47, 15, .13);
}

/* Catalog browsing and product details use the same calm, layered surface treatment. */
body.storefront-page .catalog-hero {
    border-bottom: 1px solid rgba(255,255,255,.18);
    background-position: center 46% !important;
}
body.storefront-page .catalog-hero .page-header-desc { line-height: 1.65; text-wrap: pretty; }
body.storefront-page .catalog-showcase__item {
    border-color: rgba(255,255,255,.72);
    background: linear-gradient(145deg, #fff, #f5f1e4);
}
body.storefront-page .catalog-showcase__item span { font-size: 12px; line-height: 1.5; }
body.storefront-page .catalog-sidebar,
body.storefront-page .catalog-main .product-card,
body.storefront-page .product-gallery .product-details-image,
body.storefront-page .related-products-grid .product-card {
    border: 1px solid var(--brand-line);
    box-shadow: var(--brand-shadow);
}
body.storefront-page .catalog-sidebar .widget-title { text-wrap: balance; }
body.storefront-page .product-details-layout { align-items: start; gap: clamp(28px, 5vw, 72px); }
body.storefront-page .product-gallery .product-details-image {
    background: radial-gradient(ellipse at 50% 42%, #fff 0%, #f8f6ef 72%, #eeece4 100%);
    border-radius: 24px;
}
body.storefront-page .product-details-info h1 { text-wrap: balance; overflow-wrap: anywhere; }
body.storefront-page .product-details-info > p { overflow-wrap: anywhere; }
body.storefront-page .product-details-info .product-buy-block .btn { min-height: 54px; }
body.storefront-page .product-tabs,
body.storefront-page .product-details-info .premium-card { border-radius: 18px; }
body.storefront-page .product-gallery-thumb { transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body.storefront-page .home-directions .service-card:hover .service-img,
    body.storefront-page .main-content .product-card:hover .product-img-wrapper img { transform: scale(1.035); }
    body.storefront-page .home-directions .service-card:hover .service-catalog-buckets img { transform: translateY(-3px); }
    body.storefront-page .product-gallery-thumb:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: no-preference) {
    body.storefront-page .production-story.is-inview:not(.is-paused) .production-story__image {
        animation: brand-image-drift 22s ease-in-out infinite alternate;
    }
}
@keyframes brand-image-drift {
    from { transform: scale(1); }
    to { transform: scale(1.045); }
}

@media (max-width: 768px) {
    body.storefront-page .hero-title { max-width: 15ch; }
    body.storefront-page .hero-subtitle { max-width: 42ch; font-size: 17px !important; line-height: 1.65 !important; }
    body.storefront-page .hero-content > div[style*="display: flex"] { flex-wrap: wrap; row-gap: 18px !important; }
    body.storefront-page .catalog-hero .page-header-title { font-size: clamp(34px, 8vw, 48px) !important; }
    body.storefront-page .catalog-hero .page-header-desc { font-size: 16px !important; }
    body.storefront-page .product-details-info h1 { font-size: clamp(28px, 7vw, 38px) !important; line-height: 1.22 !important; }
}
@media (max-width: 600px) {
    body.storefront-page .main-content { background-attachment: scroll, scroll, scroll, scroll; }
    body.storefront-page .hero,
    body.storefront-page .banner-slider { min-height: 560px !important; }
    body.storefront-page .hero-content { padding-top: 34px !important; }
    body.storefront-page .hero-title { max-width: 13ch; font-size: clamp(34px, 9vw, 48px) !important; line-height: 1.12 !important; }
    body.storefront-page .hero-content > div[style*="display: flex"] > div { flex: 1 1 42%; min-width: 0; }
    body.storefront-page .home-directions .service-card { min-height: 0; }
    body.storefront-page .home-directions .service-content { max-width: none !important; }
    body.storefront-page .home-directions .service-img,
    body.storefront-page .home-directions .service-catalog-buckets { min-height: 150px; }
    body.storefront-page .catalog-showcase__item span { font-size: 11px; }
    body.storefront-page .catalog-sidebar { padding: 20px 16px; }
    body.storefront-page .product-gallery .product-details-image { border-radius: 18px; }
    body.storefront-page .product-buy-block { flex-wrap: wrap; }
    body.storefront-page .product-buy-block .btn { width: 100%; }
}
@media (max-width: 360px) {
    body.storefront-page .hero-actions .btn { width: 100%; }
    body.storefront-page .catalog-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.storefront-page .catalog-showcase__item:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    body.storefront-page *,
    body.storefront-page *::before,
    body.storefront-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Catalog controls: clear hierarchy, consistent spacing and comfortable targets. */
body.storefront-page .catalog-sidebar #filterForm .catalog-sort-field {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 2px 0;
}
body.storefront-page .catalog-sort-field__label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}
body.storefront-page .catalog-sidebar #filterForm .catalog-field-label {
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}
body.storefront-page .catalog-sidebar #filterForm .catalog-sort-field select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    padding-right: 38px;
    border-radius: 12px;
    background: var(--bg-main);
    color: var(--text-main);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
body.storefront-page .catalog-sidebar #filterForm .catalog-sort-field select:hover {
    border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
}
body.storefront-page .catalog-sidebar #filterForm .catalog-sort-field select:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent);
    outline-offset: 2px;
    border-color: var(--primary);
}
body.storefront-page .catalog-sidebar #filterForm .catalog-filter-disclosure {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--bg-card);
    overflow: hidden;
}
body.storefront-page .catalog-filter-disclosure__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
    padding: 9px 11px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
body.storefront-page .catalog-filter-disclosure__summary::-webkit-details-marker { display: none; }
body.storefront-page .catalog-filter-disclosure__summary::marker { content: ''; }
body.storefront-page .catalog-filter-disclosure__summary::after {
    content: '';
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin: 0 3px 4px 0;
    border-right: 1.5px solid var(--text-muted);
    border-bottom: 1.5px solid var(--text-muted);
    transform: rotate(45deg);
    transition: transform 160ms ease;
}
body.storefront-page .catalog-filter-disclosure[open] > .catalog-filter-disclosure__summary::after {
    margin-bottom: -4px;
    transform: rotate(225deg);
}
body.storefront-page .catalog-filter-disclosure__summary:hover {
    background: color-mix(in srgb, var(--brand-gold) 9%, var(--bg-card));
}
body.storefront-page .catalog-filter-disclosure__summary:focus-visible {
    outline: 3px solid var(--brand-green);
    outline-offset: -3px;
}
body.storefront-page .catalog-filter-disclosure__value {
    min-width: 0;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}
body.storefront-page .catalog-filter-disclosure[open] > .catalog-filter-disclosure__summary {
    border-bottom: 1px solid var(--border);
}
body.storefront-page .catalog-sidebar #filterForm .catalog-filter-disclosure .category-list {
    margin: 8px;
}
body.storefront-page .catalog-sidebar #filterForm .catalog-filter-disclosure .price-filter {
    margin: 10px;
}
body.storefront-page .catalog-pack-filter .catalog-filter-disclosure__content {
    padding: 10px;
}
body.storefront-page .catalog-pack-filter .form-control {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-main);
}
body.storefront-page .catalog-sidebar #filterForm .catalog-sort-field select:focus-visible,
    body.storefront-page .catalog-sidebar #filterForm :is(input, button, select, summary):focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
}
body.storefront-page .catalog-sidebar #filterForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}
body.storefront-page .catalog-sidebar #filterForm > .sidebar-widget {
    margin: 0 !important;
}
body.storefront-page .catalog-sidebar #filterForm .widget-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .055em;
    line-height: 1.4;
    text-transform: uppercase;
}
body.storefront-page .catalog-sidebar #filterForm .search-container input {
    min-height: 46px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-radius: 11px !important;
}
body.storefront-page .catalog-sidebar #filterForm .category-list {
    gap: 4px !important;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.storefront-page .catalog-sidebar #filterForm .category-list label {
    align-items: flex-start !important;
    gap: 10px !important;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    transition: background-color 180ms ease, border-color 180ms ease;
}
body.storefront-page .catalog-sidebar #filterForm .category-list label:has(input:checked) {
    border-color: var(--brand-line);
    background: color-mix(in srgb, var(--brand-gold) 12%, var(--bg-card));
}
body.storefront-page .catalog-sidebar #filterForm .category-list input[type="radio"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 2px 0 0;
    accent-color: var(--brand-gold);
}
body.storefront-page .catalog-sidebar #filterForm .category-list input:checked + span {
    color: var(--text-main);
    font-weight: 700;
}
body.storefront-page .catalog-sidebar #filterForm .price-filter {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px !important;
}
body.storefront-page .catalog-sidebar #filterForm .price-filter input {
    min-width: 0;
    min-height: 46px;
    padding: 10px !important;
    border-radius: 10px;
    font-size: 14px;
}
body.storefront-page .catalog-sidebar #filterForm .price-sep {
    color: var(--text-muted);
    font-size: 13px;
}
body.storefront-page .catalog-sidebar #filterForm > label {
    display: grid;
    gap: 9px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}
body.storefront-page .catalog-sidebar #filterForm > label .form-control {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-main);
}
body.storefront-page .catalog-sidebar #filterForm > button[type="submit"] {
    min-height: 48px;
    margin-top: 2px;
    border-radius: 12px;
    font-weight: 700;
}
@media (max-width: 600px) {
    body.storefront-page .catalog-sidebar #filterForm { gap: 18px; }
    body.storefront-page .catalog-sidebar #filterForm .category-list label { padding: 10px; }
}

/* Keep the long consent copy readable and make its checkbox easier to tap. */
body.storefront-page .main-content #privacy_checkout {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 2px 0 0 !important;
    accent-color: var(--brand-green);
}
body.storefront-page .main-content #privacy_checkout + label {
    min-width: 0;
    font-size: 14px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
}
:root[data-theme="dark"] body.storefront-page .main-content #privacy_checkout {
    accent-color: #718a78;
}

/* Make the existing filter submission state visible without changing its label. */
body.storefront-page .catalog-sidebar #filterForm[aria-busy="true"] > button[type="submit"]:disabled {
    position: relative;
    min-height: 48px;
    padding-inline: 46px 16px !important;
    border: 1px solid #bca554;
    border-radius: 12px;
    background: linear-gradient(135deg, #f4e7b8, #ead58a);
    color: #121212 !important;
    cursor: progress;
    opacity: 1;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 5px 14px rgba(100, 78, 20, .12);
    transform: none;
}
body.storefront-page .catalog-sidebar #filterForm[aria-busy="true"] > button[type="submit"]:disabled::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 15px;
    height: 15px;
    margin-top: -9px;
    border: 2px solid rgba(40, 67, 63, .24);
    border-top-color: #28433f;
    border-radius: 50%;
    pointer-events: none;
}
:root[data-theme="dark"] body.storefront-page .catalog-sidebar #filterForm[aria-busy="true"] > button[type="submit"]:disabled {
    border-color: #bca554;
    background: linear-gradient(135deg, #f4e7b8, #ead58a);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .20);
}
@media (prefers-reduced-motion: no-preference) {
    body.storefront-page .catalog-sidebar #filterForm[aria-busy="true"] > button[type="submit"]:disabled::before {
        animation: catalog-filter-spin 850ms linear infinite;
    }
}
@keyframes catalog-filter-spin {
    to { transform: rotate(360deg); }
}

/* Give product facts a quiet, opaque reading surface over the production photograph. */
body.storefront-page .product-details-info {
    min-width: 0;
    padding: clamp(22px, 3vw, 38px) !important;
    border: 1px solid var(--brand-line);
    border-radius: 24px;
    background: linear-gradient(145deg, var(--bg-card), color-mix(in srgb, var(--bg-card) 94%, var(--brand-gold-soft)));
    box-shadow: var(--brand-shadow);
}
:root[data-theme="dark"] body.storefront-page .product-details-info {
    background: linear-gradient(145deg, var(--bg-card), color-mix(in srgb, var(--bg-card) 92%, var(--brand-green)));
}
body.storefront-page .product-details-info > div:first-child {
    display: inline-flex;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand-gold) 12%, var(--bg-card));
    color: var(--brand-green) !important;
    font-size: 12px !important;
    letter-spacing: .06em !important;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
body.storefront-page .product-details-info h1 {
    margin-bottom: 18px !important;
    line-height: 1.16 !important;
    text-wrap: balance;
}
body.storefront-page .product-details-info > p {
    color: var(--text-muted);
    line-height: 1.6;
    overflow-wrap: anywhere;
}
body.storefront-page .product-details-info h1 + p + p a {
    color: var(--brand-green);
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
:root[data-theme="dark"] body.storefront-page .product-details-info h1 + p + p a { color: #f0cd58; }
body.storefront-page .product-details-info h1 + p + p + div {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid var(--brand-line);
    border-radius: 16px;
    background: linear-gradient(120deg, color-mix(in srgb, var(--brand-gold) 13%, var(--bg-card)), var(--bg-card));
    margin-bottom: 24px !important;
}
body.storefront-page .product-details-info h1 + p + p + div > div:first-child {
    color: var(--text-main) !important;
    font-size: clamp(28px, 3vw, 36px) !important;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
body.storefront-page .product-details-info h1 + p + p + div > div:last-child {
    margin-top: 0 !important;
    color: var(--text-muted) !important;
    font-size: 14px !important;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
body.storefront-page .product-details-info .product-buy-block { gap: 12px; }
body.storefront-page .product-details-info .product-buy-block .btn { min-height: 54px; white-space: normal; }
body.storefront-page .product-details-info .product-tabs { margin-top: 28px !important; }
body.storefront-page .product-details-info .tabs-header { gap: clamp(16px, 2.4vw, 32px) !important; }
body.storefront-page .product-details-info .tabs-header .tab-btn {
    flex: 0 0 auto;
    min-height: 48px;
    line-height: 1.4;
}
@media (max-width: 600px) {
    body.storefront-page .product-details-info {
        padding: 22px 18px !important;
        border-radius: 20px;
    }
    body.storefront-page .product-details-info h1 + p + p + div { padding: 16px; }
}

/* Keep the empty-cart message readable above the textured storefront backdrop. */
body.storefront-page .section:has(> .container > .reveal > h3[style*="font-size: 28px"]) > .container > .reveal {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(32px, 7vw, 64px) clamp(20px, 5vw, 48px) !important;
    border: 1px solid var(--brand-line);
    border-radius: 24px;
    background: var(--bg-card);
    box-shadow: var(--brand-shadow);
}
body.storefront-page .section:has(> .container > .reveal > h3[style*="font-size: 28px"]) > .container > .reveal > p {
    line-height: 1.6;
    overflow-wrap: anywhere;
}
body.storefront-page .section:has(> .container > .reveal > h3[style*="font-size: 28px"]) > .container > .reveal > .btn {
    min-height: 48px;
    max-width: 100%;
    white-space: normal;
}
@media (max-width: 600px) {
    body.storefront-page .section:has(> .container > .reveal > h3[style*="font-size: 28px"]) > .container > .reveal {
        padding: 16px 20px !important;
        border-radius: 20px;
    }
    body.storefront-page .section:has(> .container > .reveal > h3[style*="font-size: 28px"]) > .container > .reveal > div:first-child {
        margin-bottom: 12px !important;
    }
    body.storefront-page .section:has(> .container > .reveal > h3[style*="font-size: 28px"]) > .container > .reveal > p {
        margin-bottom: 12px !important;
    }
}

/* Keep small storefront text and keyboard states legible against their measured surfaces. */
body.storefront-page .site-footer :is(.contact-label, .footer-bottom) {
    color: #b4beb9;
}
body.storefront-page .search-suggestion-price {
    color: var(--brand-green);
}

/* Fast, accessible product suggestions for desktop and the mobile menu. */
body.storefront-page .site-header .smart-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 200px;
    min-width: 0;
}
body.storefront-page .site-header .smart-search__input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 8px 42px 8px 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg-card);
    color: var(--text-main);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
body.storefront-page .site-header .smart-search__input:focus {
    border-color: #b79822;
    box-shadow: 0 0 0 3px rgba(255, 214, 0, .18);
}
body.storefront-page .site-header .smart-search__submit {
    position: absolute;
    right: 5px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}
body.storefront-page .site-header .search-suggestions {
    top: calc(100% + 9px);
    left: 0;
    width: min(370px, calc(100vw - 32px));
    max-height: min(420px, 65vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(71, 78, 66, .14);
    border-radius: 16px;
    background: var(--bg-card);
    box-shadow: 0 18px 48px rgba(25, 31, 24, .18);
    scrollbar-width: thin;
}
body.storefront-page .site-header .search-suggestion-item {
    min-height: 66px;
    padding: 10px 14px;
    gap: 12px;
    border-bottom-color: rgba(71, 78, 66, .09);
}
body.storefront-page .site-header .search-suggestion-item:hover,
body.storefront-page .site-header .search-suggestion-item[aria-selected="true"] {
    background: rgba(255, 214, 0, .11);
}
body.storefront-page .site-header .search-suggestion-img {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    object-fit: contain;
    border: 1px solid rgba(71, 78, 66, .1);
    border-radius: 10px;
    background: #fff;
}
body.storefront-page .site-header .search-suggestion-info {
    min-width: 0;
    gap: 3px;
}
body.storefront-page .site-header .search-suggestion-title {
    max-width: none;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.storefront-page .site-header .search-suggestion-price {
    font-size: 12px;
    font-weight: 700;
}
body.storefront-page .site-header .search-suggestion-status {
    padding: 17px 16px 14px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}
body.storefront-page .site-header .search-suggestions.is-loading .search-suggestion-status::before {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 9px;
    border: 2px solid rgba(71, 78, 66, .2);
    border-top-color: #9e7c00;
    border-radius: 50%;
    content: '';
    vertical-align: -2px;
    animation: smart-search-spin .7s linear infinite;
}
@keyframes smart-search-spin { to { transform: rotate(360deg); } }
body.storefront-page .site-header .search-suggestion-all {
    display: block;
    padding: 12px 16px;
    border-top: 1px solid rgba(71, 78, 66, .1);
    background: rgba(255, 214, 0, .08);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
body.storefront-page .site-header .search-suggestion-all:hover {
    background: rgba(255, 214, 0, .18);
}
body.storefront-page .site-header .mobile-menu-search {
    display: none;
}
@media (max-width: 600px) {
    body.storefront-page .mobile-menu .mobile-menu-search {
        display: flex;
        position: relative;
        flex-wrap: wrap;
        width: min(420px, calc(100vw - 48px));
        margin: 0 auto 26px;
    }
    body.storefront-page .mobile-menu .mobile-menu-search .smart-search__input {
        flex: 0 0 100%;
        height: 50px;
        padding-left: 18px;
        padding-right: 50px;
        border: 1px solid var(--border);
        border-radius: 26px;
        background: var(--bg-card);
        color: var(--text-main);
        font-size: 16px;
    }
    body.storefront-page .mobile-menu .mobile-menu-search .smart-search__submit {
        position: absolute;
        top: 9px;
        right: 6px;
        width: 36px;
        height: 32px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--text-muted);
        cursor: pointer;
    }
    body.storefront-page .mobile-menu .mobile-menu-search .search-suggestions {
        position: relative;
        top: auto;
        left: auto;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 8px;
        max-height: min(50vh, 380px);
        overflow-y: auto;
        border: 1px solid rgba(71, 78, 66, .14);
        border-radius: 15px;
        background: var(--bg-card);
        box-shadow: 0 14px 36px rgba(25, 31, 24, .15);
    }
    body.storefront-page .mobile-menu .search-suggestion-item {
        display: flex;
        align-items: center;
        min-height: 62px;
        padding: 8px 12px;
        gap: 10px;
        border-bottom: 1px solid rgba(71, 78, 66, .09);
        color: var(--text-main);
        font-size: 14px;
        text-align: left;
    }
    body.storefront-page .mobile-menu .search-suggestion-img {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        object-fit: contain;
        border-radius: 9px;
        background: #fff;
    }
    body.storefront-page .mobile-menu .search-suggestion-info {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 2px;
    }
    body.storefront-page .mobile-menu .search-suggestion-price {
        color: var(--brand-green);
        font-size: 12px;
        font-weight: 700;
    }
    body.storefront-page .mobile-menu .search-suggestion-title {
        display: block;
        max-width: none;
        overflow: hidden;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: normal;
    }
    body.storefront-page .mobile-menu .search-suggestion-status {
        padding: 13px;
        color: var(--text-muted);
        font-size: 13px;
        text-align: left;
    }
    body.storefront-page .mobile-menu .search-suggestion-all {
        display: block;
        padding: 12px;
        border-top: 1px solid rgba(71, 78, 66, .1);
        background: rgba(255, 214, 0, .08);
        color: var(--text-main);
        font-size: 13px;
        font-weight: 700;
    }
    body.storefront-page .mobile-menu .mobile-menu-content {
        width: 100%;
        max-height: 100dvh;
        overflow-y: auto;
        padding: 76px 24px 30px;
        text-align: center;
    }
    body.storefront-page .mobile-menu .mobile-menu-content ul {
        gap: 20px;
    }
    body.storefront-page .mobile-menu .mobile-menu-content a {
        font-size: clamp(20px, 5vw, 24px);
    }
}
@media (prefers-reduced-motion: reduce) {
    body.storefront-page .site-header .search-suggestions.is-loading .search-suggestion-status::before {
        animation-duration: 1.8s;
    }
}
body.storefront-page .catalog-sidebar #filterForm input::placeholder,
body.storefront-page .site-header #globalSearchInput::placeholder {
    color: var(--brand-green);
    opacity: 1;
}
body.storefront-page .site-header :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #846411 !important;
    outline-offset: 3px !important;
}
:root[data-theme="dark"] body.storefront-page .site-header :is(a, button, input, select, textarea):focus-visible {
    outline-color: #ffd600 !important;
}
body.storefront-page .main-content :is(.btn:disabled, .add-to-cart-btn:disabled),
body.storefront-page .chat-widget button:disabled {
    opacity: 1 !important;
    border: 1px solid #9f9571 !important;
    background: #e8e2d2 !important;
    color: #353831 !important;
    box-shadow: none !important;
    cursor: not-allowed;
    transform: none;
}








/* Header contrast fixes: retain the palette while meeting small-text WCAG AA. */
body.storefront-page .site-header .contact-email,
body.storefront-page .site-header .contact-email:hover,
body.storefront-page .site-header .contact-email:focus-visible {
    color: var(--brand-green) !important;
}
body.storefront-page .site-header .ask-btn,
body.storefront-page .site-header .ask-btn:focus-visible {
    background-color: #b42318 !important;
    color: #fff !important;
}
body.storefront-page .site-header .ask-btn:hover,
body.storefront-page .site-header .ask-btn:hover:focus-visible {
    background-color: #8f1d14 !important;
    color: #fff !important;
}

/* Remove the inherited yellow gradient so the measured red header CTA is visible. */
body.storefront-page .site-header .ask-btn,
body.storefront-page .site-header .ask-btn:hover,
body.storefront-page .site-header .ask-btn:focus-visible {
    background-image: none !important;
}

/* Mark product copy that has no Kazakh translation yet, without inventing content. */
body.storefront-page .product-content-language-note {
    display: block;
    max-width: 760px;
    margin: 14px auto 0;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-inline-start: 3px solid var(--primary);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.5;
    text-align: start;
}
body.storefront-page .product-details-info .product-content-language-note {
    max-width: none;
    margin: 0 0 18px;
}
body.storefront-page .catalog-hero .catalog-content-language-note {
    border-color: #dedacd;
    border-inline-start-color: #b42318;
    background: #fffefa;
    color: #212925;
    text-align: center;
}

/* Keep contact and vacancy details readable above the production backdrop. */
body.storefront-page .main-content .section .premium-card[style*="backdrop-filter"] {
    background: var(--bg-card) !important;
    border-color: var(--border) !important;
    box-shadow: var(--brand-shadow) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Give the existing yellow/black/white mark a cleaner, consistent frame. */
body.storefront-page .site-header .header-top {
    background: var(--header-bg);
}
body.storefront-page .site-header .header-top-left .logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 5px;
    border: 1px solid rgba(27, 30, 28, .08);
    border-radius: 12px;
    background: #ffcc00; /* matches the embedded yellow in logo-480.webp */
    box-shadow: 0 4px 14px rgba(32, 34, 27, .10);
    line-height: 0;
    transition: box-shadow .2s ease, transform .2s ease;
}
body.storefront-page .site-header .header-top-left .logo:hover {
    box-shadow: 0 7px 18px rgba(32, 34, 27, .16);
    transform: translateY(-1px);
}
body.storefront-page .site-header .logo-img {
    display: block;
    width: clamp(164px, 17vw, 220px);
    height: auto;
    max-height: 72px;
    border: 0;
    border-radius: 7px;
    background: #ffcc00;
    mix-blend-mode: normal;
    object-fit: contain;
}
body.storefront-page .site-header.scrolled .logo-img { max-height: 48px; }
:root[data-theme="dark"] body.storefront-page .site-header .header-top-left .logo {
    border-color: rgba(255, 255, 255, .16);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}
body.storefront-page .site-footer .footer-brand > .logo {
    display: inline-flex;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: #ffcc00;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
    line-height: 0;
}
body.storefront-page .site-footer .footer-logo-img {
    display: block;
    width: clamp(190px, 22vw, 260px);
    height: auto;
    border-radius: 8px;
}
@media (max-width: 768px) {
    body.storefront-page .site-header .header-top-left .logo { padding: 3px; border-radius: 10px; }
    body.storefront-page .site-header .logo-img { width: clamp(142px, 42vw, 178px); max-height: 58px; }
    body.storefront-page .site-header.scrolled .logo-img { max-height: 44px; }
    body.storefront-page .site-footer .footer-brand > .logo { padding: 6px; }
    body.storefront-page .site-footer .footer-logo-img { width: min(220px, 68vw); }
    body.storefront-page .site-footer .footer-bottom { padding-bottom: 84px; }
}
@media (max-width: 480px) {
    body.storefront-page .hero .hero-content { padding-top: 28px !important; }
    body.storefront-page .hero .hero-badge { margin-bottom: 16px !important; }
    body.storefront-page .hero .hero-title { font-size: clamp(34px, 9vw, 40px) !important; line-height: 1.06 !important; margin-bottom: 20px !important; }
    body.storefront-page .hero .hero-subtitle { font-size: 16px !important; line-height: 1.5 !important; margin-bottom: 24px !important; }
    body.storefront-page .hero .hero-content { display: flex !important; flex-direction: column; align-items: center; }
    body.storefront-page .hero .hero-actions { order: 1; }
    body.storefront-page .hero .hero-stats { order: 2; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px !important; margin-top: 10px !important; }
    body.storefront-page .hero .hero-stats > div { min-width: 0; text-align: center; }
    body.storefront-page .hero .hero-actions .btn { padding: 14px 22px !important; font-size: 16px !important; }
    body.storefront-page .hero .hero-stats > div > div:first-child { font-size: 24px !important; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
    body.storefront-page .hero .hero-stats > div > div:last-child { font-size: 9px !important; line-height: 1.25; text-shadow: 0 1px 5px rgba(0, 0, 0, .9); }
}
@media (min-width: 481px) {
    body.storefront-page .hero .hero-stats { margin-top: 36px !important; }
}
@media (max-width: 360px) and (max-height: 650px) {
    body.storefront-page .site-header { position: relative; }
    body.storefront-page .two-tier-header .header-top { padding: 7px 0 !important; }
    body.storefront-page .header-top-container { position: relative; display: grid; grid-template-columns: minmax(112px, 1fr) auto; align-items: center; gap: 6px; }
    body.storefront-page .header-top-left { min-width: 0; }
    body.storefront-page .header-top-left .logo { padding: 2px !important; }
    body.storefront-page .site-header .logo-img { width: 106px !important; max-height: 40px !important; }
    body.storefront-page .header-top-right { min-width: 0; gap: 8px; }
    body.storefront-page .header-top-right .theme-toggle-btn { position: absolute; top: calc(100% + 8px); right: 0; z-index: 2; }
    body.storefront-page .header-bottom { padding-top: 8px !important; padding-bottom: 8px !important; }
    body.storefront-page .header-bottom-actions { display: flex !important; justify-content: flex-start; }
    body.storefront-page .header-bottom-actions form { flex: 0 1 auto; }
    body.storefront-page .header-bottom-actions form input { width: min(200px, calc(100vw - 60px)) !important; }
    body.storefront-page .header-bottom-actions > a[href^="tel:"] { display: none !important; }
    body.storefront-page .hero .hero-badge { padding: 4px 10px !important; font-size: 11px !important; margin-bottom: 10px !important; }
    body.storefront-page .hero .hero-title { font-size: 32px !important; line-height: 1.04 !important; margin-bottom: 14px !important; }
    body.storefront-page .hero .hero-subtitle { font-size: 14px !important; line-height: 1.35 !important; margin-bottom: 18px !important; }
    body.storefront-page .hero .hero-stats { width: calc(100% - 64px) !important; margin-left: 64px !important; gap: 5px !important; }
    body.storefront-page .hero .hero-stats > div > div:last-child { font-size: 8px !important; }
    body.storefront-page .hero .hero-actions .btn-outline { display: none !important; }
}
/* Keep the header action inside the brand palette while retaining strong contrast. */
body.storefront-page .site-header .ask-btn,
body.storefront-page .site-header .ask-btn:focus-visible {
    background-color: #ffd600 !important;
    color: #171717 !important;
}
body.storefront-page .site-header .ask-btn:hover,
body.storefront-page .site-header .ask-btn:hover:focus-visible {
    background-color: #e6bf00 !important;
    color: #171717 !important;
}

/* Keep the embedded yellow mark as one uninterrupted surface; avoid a second
   compressed-color layer around the image that can reveal a visible seam. */
body.storefront-page .site-header .header-top-left .logo,
body.storefront-page .site-footer .footer-brand > .logo {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
body.storefront-page .site-header .logo-img,
body.storefront-page .site-footer .footer-logo-img {
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(32, 34, 27, .10);
}
body.storefront-page .site-header .header-top-left .logo:hover {
    box-shadow: none;
}
@media (max-width: 360px) and (max-height: 650px) {
    body.storefront-page .mobile-menu {
        height: 100dvh;
        overflow-y: auto;
        align-items: flex-start;
        padding: 24px 16px 104px;
        box-sizing: border-box;
    }
    body.storefront-page .mobile-menu-content {
        width: 100%;
        margin: auto 0;
    }
}

body.storefront-page .calc-area-error { color: #b42318; }
:root[data-theme="dark"] body.storefront-page .calc-area-error { color: #ff9389; }
body.storefront-page #calcArea[aria-invalid="true"] { border-color: #b42318 !important; outline-color: #b42318; }
:root[data-theme="dark"] body.storefront-page #calcArea[aria-invalid="true"] { border-color: #ff9389 !important; outline-color: #ff9389; }
body.storefront-page .calc-result-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.storefront-page .calc-result-values > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; line-height: 1.45; }
body.storefront-page .calc-result-values > div > span:first-child { overflow-wrap: anywhere; }
body.storefront-page .calc-result-values > div > span:last-child { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 480px) {
    body.storefront-page .calc-result-values { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    body.storefront-page .calc-result-values > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
    body.storefront-page .calc-result-values > div > span:last-child { white-space: normal; }
}

body.storefront-page .hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 720px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}
body.storefront-page .hero-categories li {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    background: rgba(18, 18, 18, .58);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    backdrop-filter: blur(8px);
}
@media (max-width: 600px) {
    body.storefront-page .hero-categories { gap: 7px; margin-top: 24px; }
    body.storefront-page .hero-categories li { padding: 7px 10px; font-size: 12px; }
}

body.storefront-page .checkout-fulfillment,
body.storefront-page .checkout-address-panel {
    min-width: 0;
    margin: 22px 0;
    padding: 0;
    border: 0;
}
body.storefront-page .checkout-fulfillment > legend,
body.storefront-page .checkout-address-panel > legend {
    width: 100%;
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 750;
}
body.storefront-page .checkout-fulfillment-options,
body.storefront-page .checkout-pickup-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body.storefront-page .checkout-choice-card,
body.storefront-page .checkout-pickup-card {
    display: flex;
    min-width: 0;
    min-height: 74px;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
    color: var(--text-main);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
body.storefront-page .checkout-choice-card.is-selected,
body.storefront-page .checkout-pickup-card.is-selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 24%, transparent);
}
body.storefront-page .checkout-choice-card input,
body.storefront-page .checkout-pickup-card input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--primary);
}
body.storefront-page .checkout-choice-card__copy {
    display: grid;
    gap: 5px;
    line-height: 1.4;
}
body.storefront-page .checkout-choice-card__copy strong { font-size: 15px; }
body.storefront-page .checkout-choice-card__copy > span,
body.storefront-page .checkout-pickup-card > span { color: var(--text-muted); font-size: 13px; line-height: 1.5; }
body.storefront-page .checkout-address-panel {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--bg-card) 92%, var(--primary));
}
body.storefront-page .checkout-address-panel .form-row { gap: 14px; }
body.storefront-page .checkout-address-panel .form-group { margin-bottom: 14px; }
body.storefront-page .checkout-address-panel .form-group:last-child { margin-bottom: 0; }
body.storefront-page .checkout-address-panel[hidden] { display: none !important; }
body.storefront-page .checkout-address-panel .form-control:focus-visible,
body.storefront-page .checkout-choice-card:focus-within,
body.storefront-page .checkout-pickup-card:focus-within {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}
@media (max-width: 560px) {
    body.storefront-page .checkout-fulfillment-options,
    body.storefront-page .checkout-pickup-options { grid-template-columns: minmax(0, 1fr); }
    body.storefront-page .checkout-address-panel { padding: 14px; }
}

/* Keep the primary action above long category chips on short mobile screens. */
@media (max-width: 480px) {
    body.storefront-page .hero .hero-actions { order: 1; }
    body.storefront-page .hero .hero-categories { order: 2; margin-top: 12px; justify-content: center; }
}
@media (max-width: 360px) and (max-height: 650px) {
    body.storefront-page .hero .hero-categories { gap: 5px; margin-top: 8px; }
    body.storefront-page .hero .hero-categories li { padding: 5px 8px; font-size: 10px; }
}

/* Mobile catalog: keep search and filter summaries near the first products. */
@media (max-width: 600px) {
    body.storefront-page:has(.catalog-hero) .header-bottom { padding-top: 6px !important; padding-bottom: 6px !important; }
    body.storefront-page:has(.catalog-hero) .header-bottom-actions { display: flex !important; justify-content: center; min-height: 44px; }
    body.storefront-page:has(.catalog-hero) .header-bottom-actions form { display: none !important; }
    body.storefront-page .catalog-hero {
        min-height: 0 !important;
        padding: 8px 0 4px !important;
    }
    body.storefront-page .catalog-hero > .container { padding-right: 16px !important; padding-left: 16px !important; }
    body.storefront-page .catalog-hero .breadcrumbs { margin-bottom: 8px !important; font-size: 12px !important; }
    body.storefront-page .catalog-hero .page-header-title {
        margin-bottom: 8px !important;
        font-size: clamp(30px, 8.2vw, 34px) !important;
        line-height: 1.12 !important;
    }
    body.storefront-page .catalog-hero .page-header-desc { font-size: 14px !important; line-height: 1.4 !important; }
    body.storefront-page .catalog-hero .catalog-content-language-note { margin: 8px auto 0; font-size: 12px; line-height: 1.4; }
    body.storefront-page .catalog-hero .catalog-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 10px;
    }
    body.storefront-page .catalog-hero .catalog-showcase__item {
        min-height: 50px;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        padding: 5px;
        border-radius: 9px;
    }
    body.storefront-page .catalog-hero .catalog-showcase__item img {
        flex: 0 0 34px;
        width: 34px;
        height: 38px;
    }
    body.storefront-page .catalog-hero .catalog-showcase__item span {
        font-size: 9px;
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }
    body.storefront-page .catalog-section { padding-top: 12px !important; }
    body.storefront-page .catalog-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "filters" "products" "promo";
        gap: 14px;
    }
    body.storefront-page .catalog-sidebar { display: contents; }
    body.storefront-page .catalog-sidebar #filterForm {
        grid-area: filters;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: var(--bg-card);
        box-shadow: var(--brand-shadow);
    }
    body.storefront-page .catalog-sidebar #filterForm > .sidebar-widget:first-of-type,
    body.storefront-page .catalog-sidebar #filterForm > button[type="submit"],
    body.storefront-page .catalog-sidebar #filterForm .catalog-sort-field { grid-column: 1 / -1; }
    body.storefront-page .catalog-sidebar #filterForm .catalog-filter-disclosure__summary { min-height: 44px; padding: 7px; font-size: 12px; }
    body.storefront-page .catalog-sidebar #filterForm .catalog-filter-disclosure__value { font-size: 11px; }
    body.storefront-page .catalog-sidebar #filterForm > button[type="submit"] { min-height: 44px; }
    body.storefront-page .catalog-main { grid-area: products; }
    body.storefront-page .catalog-sidebar .sidebar-promo { grid-area: promo; margin: 0 !important; padding: 16px !important; }
    body.storefront-page .catalog-sidebar .sidebar-promo h3 { margin-bottom: 6px !important; font-size: 16px !important; }
    body.storefront-page .catalog-sidebar .sidebar-promo p { margin-bottom: 12px !important; font-size: 13px !important; }
}
@media (max-width: 360px) {
    body.storefront-page:has(.catalog-hero) .two-tier-header .header-top { padding: 7px 0 !important; }
    body.storefront-page:has(.catalog-hero) .header-top-container { position: relative; display: grid; grid-template-columns: minmax(112px, 1fr) auto; align-items: center; gap: 6px; }
    body.storefront-page:has(.catalog-hero) .header-top-left { min-width: 0; }
    body.storefront-page:has(.catalog-hero) .header-top-left .logo { padding: 2px !important; }
    body.storefront-page:has(.catalog-hero) .site-header .logo-img { width: 106px !important; max-height: 40px !important; }
    body.storefront-page:has(.catalog-hero) .header-top-right { min-width: 0; gap: 8px; }
    body.storefront-page:has(.catalog-hero) .header-top-right .theme-toggle-btn { position: absolute; top: calc(100% + 8px); right: 0; z-index: 2; }
    body.storefront-page .catalog-sidebar #filterForm .catalog-sort-field { grid-column: 1 / -1; }
    body.storefront-page .catalog-sidebar #filterForm .catalog-filter-disclosure__value { max-width: 58%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    body.storefront-page .catalog-hero { padding-top: 6px !important; padding-bottom: 4px !important; }
    body.storefront-page .catalog-hero .page-header-desc { font-size: 12px !important; line-height: 1.3 !important; }
    body.storefront-page .catalog-hero .catalog-content-language-note { margin-top: 6px; padding: 4px 8px; font-size: 11px; line-height: 1.25; }
    body.storefront-page .catalog-hero .catalog-showcase { margin-top: 6px; }
    body.storefront-page .catalog-hero .catalog-showcase__item { min-height: 40px; }
    body.storefront-page .catalog-hero .catalog-showcase__item img { height: 30px; }
    body.storefront-page .catalog-section { padding-top: 8px !important; }
    body.storefront-page .catalog-hero .catalog-showcase__item img { flex-basis: 28px; width: 28px; height: 30px; }
    body.storefront-page .catalog-hero .catalog-showcase__item span { font-size: 8px; }
    body.storefront-page .catalog-sidebar #filterForm { padding: 10px; gap: 4px; }
    body.storefront-page .catalog-sidebar #filterForm .catalog-filter-disclosure__summary { gap: 5px; padding: 7px; font-size: 11px; }
}

/* Align the product photo and details card to the same visual starting edge. */
body.storefront-page .product-details-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 4vw, 56px);
}
body.storefront-page .product-gallery {
    align-self: start;
    min-width: 0;
}
body.storefront-page .product-gallery .product-details-image {
    position: relative;
    inset-block-start: auto;
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    margin: 0;
    overflow: hidden;
}
body.storefront-page .product-gallery .product-details-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
}
body.storefront-page .product-gallery-thumbnails {
    margin-top: 14px;
}

/* Give the related-products heading a stable surface and a high-contrast star. */
body.storefront-page .related-products {
    position: relative;
    isolation: isolate;
    margin-top: 0;
    padding: 40px 0 56px !important;
    background: transparent !important;
}
body.storefront-page .main-content .section:has(.product-details-layout) {
    padding-bottom: clamp(24px, 3vw, 40px) !important;
}
body.storefront-page .related-products::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0, var(--bg-main) 52px, var(--bg-main) 100%);
}
body.storefront-page .related-products-title {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-main);
    line-height: 1.25;
    text-wrap: balance;
}
body.storefront-page .related-products-title svg {
    box-sizing: border-box;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 7px;
    border: 1px solid color-mix(in srgb, #171717 18%, var(--primary));
    border-radius: 50%;
    background: linear-gradient(145deg, #ffe77d, var(--primary));
    stroke: #171717 !important;
    fill: none !important;
    box-shadow: 0 3px 10px rgba(107, 82, 0, .12);
}
body.storefront-page .related-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(14px, 2vw, 24px);
}
body.storefront-page .related-products-grid > .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    padding: 0 !important;
    align-self: stretch;
    background: var(--bg-card);
}
body.storefront-page .related-products .product-img-wrapper {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(160px, 18vw, 220px);
    padding-top: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(145deg, #fff 0%, #f8f7f2 100%);
}
body.storefront-page .related-products .product-img-wrapper img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
    mix-blend-mode: normal;
    filter: none;
}
body.storefront-page .related-products .product-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    padding: clamp(14px, 2vw, 22px);
    gap: 6px;
}
body.storefront-page .related-products .product-title {
    min-height: 3em;
    margin-bottom: 6px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
body.storefront-page .related-products .product-price-row {
    margin-top: auto;
    padding-top: 8px;
}
body.storefront-page .related-products .product-pack-summary,
body.storefront-page .related-products .product-info > div:last-child {
    min-width: 0;
    margin-top: 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
@media (max-width: 600px) {
    body.storefront-page .product-details-layout { gap: 24px; }
    body.storefront-page .related-products { padding: 32px 0 44px !important; }
    body.storefront-page .related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body.storefront-page .related-products-grid > .product-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, calc((100% - 12px) / 2));
    }
    body.storefront-page .related-products .product-img-wrapper { height: 140px; }
    body.storefront-page .related-products .product-info { padding: 12px; }
    body.storefront-page .related-products .product-title { min-height: 2.9em; font-size: 14px; }
    body.storefront-page .related-products-title {
        gap: 10px;
        font-size: clamp(20px, 5.5vw, 24px);
    }
    body.storefront-page .related-products-title svg {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}
@media (max-width: 820px) {
    body.storefront-page .product-details-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Align the desktop filter panel with the first product row; preserve mobile flow. */
@media (min-width: 993px) {
    body.storefront-page .catalog-sidebar {
        margin-top: 0;
    }
}

/* Consent choices use readable copy and equal keyboard/touch access. */
body.storefront-page #cookieBanner.cookie-banner {
    background: #fffefa; color: #212925; border-top: 2px solid #212925;
    box-shadow: 0 -8px 28px #21292518; gap: 24px; padding: 20px max(24px, calc((100vw - 1280px) / 2));
    align-items: center; text-align: left; max-height: 80dvh; overflow-y: auto; z-index: 10001;
    font-size: 14px; line-height: 1.55;
}
body.storefront-page #cookieBanner .cookie-copy { flex: 1 1 580px; min-width: 0; }
body.storefront-page #cookieBanner h2 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; }
body.storefront-page #cookieBanner p { margin: 0; }
body.storefront-page #cookieBanner a { color: #212925; text-decoration: underline; text-underline-offset: 3px; }
body.storefront-page #cookieBanner .cookie-actions { display: flex; flex: 0 1 440px; gap: 10px; }
body.storefront-page #cookieBanner button {
    flex: 1 1 0; min-width: 0; max-width: none; min-height: 44px; padding: 10px 16px; border: 1px solid #212925;
    border-radius: 6px; background: #fffefa; color: #212925; font: inherit; font-weight: 700;
    white-space: normal; line-height: 1.35; cursor: pointer;
}
body.storefront-page #cookieBanner #acceptCookies { background: #ffd600; }
body.storefront-page #cookieBanner :is(button,a):focus-visible { outline: 3px solid #212925; outline-offset: 3px; }
@media (max-width: 900px) {
    body.storefront-page #cookieBanner.cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 20px; }
    body.storefront-page #cookieBanner :is(.cookie-copy,.cookie-actions) { flex-basis: auto; }
}
@media (max-width: 420px) {
    body.storefront-page #cookieBanner.cookie-banner { padding: 16px; }
    body.storefront-page #cookieBanner .cookie-actions { flex-direction: column; }
}

/* A clear editorial rhythm for catalog discovery, with restrained workshop details. */
body.storefront-page .catalog-hero {
    min-height: clamp(350px, 43vw, 510px) !important;
    isolation: isolate;
}
body.storefront-page .catalog-hero::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.16);
    pointer-events: none;
}
body.storefront-page .catalog-hero .page-header-title {
    text-wrap: balance;
    letter-spacing: -.045em;
}
body.storefront-page .catalog-hero .page-header-desc {
    text-wrap: pretty;
}
body.storefront-page .catalog-sidebar #filterForm {
    gap: 12px;
    padding: clamp(18px, 2vw, 26px);
    border-radius: 22px;
    background: linear-gradient(155deg, var(--bg-card), color-mix(in srgb, var(--bg-card) 93%, var(--primary)));
}
body.storefront-page .catalog-filter-intro {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 8px;
    padding: 0 0 15px;
    border-bottom: 1px solid var(--border);
}
body.storefront-page .catalog-filter-intro__mark {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: var(--primary);
    color: #202a27;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}
body.storefront-page .catalog-filter-intro strong { display: block; margin: 1px 0 4px; color: var(--text-main); font-size: 15px; }
body.storefront-page .catalog-filter-intro p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.55; }
body.storefront-page .catalog-results-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    max-width: 760px;
    margin: 0 0 20px;
    padding: 14px 17px;
    border: 1px solid color-mix(in srgb, var(--primary) 36%, var(--border));
    border-radius: 15px;
    background: color-mix(in srgb, var(--primary) 9%, var(--bg-card));
}
body.storefront-page .catalog-results-note__icon {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #202a27;
    font: 800 13px/1 Georgia, serif;
}
body.storefront-page .catalog-results-note p { margin: 0; color: var(--text-main); font-size: 13px; line-height: 1.6; }
body.storefront-page .catalog-main .product-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
body.storefront-page .catalog-main .product-card::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 22px;
    width: 42px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
    pointer-events: none;
}
body.storefront-page .catalog-main .product-card .product-img-wrapper { overflow: hidden; }
body.storefront-page .catalog-main .product-card .product-info { gap: 5px; }
body.storefront-page .catalog-main .product-card .product-category { letter-spacing: .12em; font-size: 10px !important; }
body.storefront-page .catalog-main .product-card .product-title { text-wrap: pretty; }
body.storefront-page .catalog-product-pack {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 7px;
    padding: 5px 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}
body.storefront-page .main-content .faq-item { border-radius: 16px !important; transition: border-color .2s ease, transform .2s ease; }
body.storefront-page .main-content .faq-item:focus-within { border-color: color-mix(in srgb, var(--primary) 70%, var(--border)) !important; }
body.storefront-page .main-content .faq-btn { min-height: 68px; gap: 16px; text-wrap: pretty; }
body.storefront-page .main-content .faq-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: -4px; border-radius: 14px; }
@media (max-width: 768px) {
    body.storefront-page .catalog-hero::after { inset: 10px; }
    body.storefront-page .catalog-filter-intro { padding-bottom: 12px; }
    body.storefront-page .catalog-results-note { margin-bottom: 14px; padding: 12px; }
    body.storefront-page .catalog-main .product-card { border-radius: 15px; }
    body.storefront-page .catalog-main .product-card::before { left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    body.storefront-page .main-content .faq-item { transition: none; }
}

/* Keep the complete desktop filter panel reachable below the sticky two-row header. */
@media (min-width: 993px) {
    body.storefront-page:has(.catalog-hero) .catalog-sidebar {
        position: sticky;
        top: 190px;
        align-self: start;
        max-height: calc(100vh - 210px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: color-mix(in srgb, var(--text-muted) 34%, transparent) transparent;
    }
}body.storefront-page .catalog-filter-intro { gap: 0; }
body.storefront-page .catalog-filter-disclosure__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 42%) 8px;
    column-gap: 6px;
}
body.storefront-page .catalog-filter-disclosure__summary:not(:has(.catalog-filter-disclosure__value)) {
    grid-template-columns: minmax(0, 1fr) 8px;
}
body.storefront-page .catalog-filter-disclosure__summary > span:first-child { min-width: 0; }
body.storefront-page .catalog-filter-disclosure__summary > .catalog-filter-disclosure__value {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Replace the three small product cards with a subtle, accessible name ticker. */
body.storefront-page .catalog-hero .catalog-showcase {
    display: block;
    width: min(100%, 560px);
    height: 30px;
    margin: 18px auto 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(16,22,21,.2);
    box-shadow: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
body.storefront-page .catalog-showcase__track,
body.storefront-page .catalog-showcase__group {
    display: flex;
    width: max-content;
    min-width: max-content;
    height: 100%;
    align-items: center;
}
body.storefront-page .catalog-showcase__track {
    animation: catalog-name-marquee 34s linear infinite;
}
body.storefront-page .catalog-showcase__group { gap: 0; }
body.storefront-page .catalog-showcase__item {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 0;
    padding: 0 17px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255,255,255,.88);
    text-decoration: none;
}
body.storefront-page .catalog-showcase__item::after {
    content: '';
    position: absolute;
    right: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
}
body.storefront-page .catalog-showcase__item span {
    display: block;
    max-width: 240px;
    color: inherit;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
body.storefront-page .catalog-showcase__item:hover,
body.storefront-page .catalog-showcase__item:focus-visible { color: #fff; }
body.storefront-page .catalog-showcase__track:hover,
body.storefront-page .catalog-showcase__track:focus-within { animation-play-state: paused; }
@keyframes catalog-name-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Soften the hero fade; remove the inset outline that created visible corners. */
body.storefront-page .catalog-hero::after {
    inset: 0;
    border: 0;
    background: linear-gradient(180deg, transparent 48%, color-mix(in srgb, var(--bg-main) 16%, transparent) 74%, color-mix(in srgb, var(--bg-main) 64%, transparent) 100%);
}
body.storefront-page .catalog-hero > div:first-child {
    background: linear-gradient(180deg, transparent 44%, color-mix(in srgb, var(--bg-main) 22%, transparent) 72%, var(--bg-main) 100%) !important;
}

@media (max-width: 992px) {
    body.storefront-page .catalog-sidebar #filterForm { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 600px) {
    body.storefront-page .catalog-hero .catalog-showcase {
        display: block;
        width: min(100%, 500px);
        height: 26px;
        margin-top: 8px;
    }
    body.storefront-page .catalog-showcase__track { animation-duration: 42s; }
    body.storefront-page .catalog-hero .catalog-showcase__item {
        min-height: 0;
        flex-direction: row;
        padding: 0 13px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    body.storefront-page .catalog-hero .catalog-showcase__item span {
        max-width: 190px;
        font-size: 10px;
        line-height: 1.2;
        -webkit-line-clamp: unset;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.storefront-page .catalog-showcase { overflow-x: auto; }
    body.storefront-page .catalog-showcase__track { animation: none; }
}

/* Catalog controls: visible result state, reliable loading, and compact mobile filters. */
body.storefront-page .catalog-hero { min-height: clamp(300px, 33vw, 430px) !important; }
body.storefront-page .catalog-section { padding-top: clamp(24px, 3vw, 44px) !important; }
body.storefront-page .catalog-filter-panel { min-width: 0; }
body.storefront-page .catalog-filter-panel__toggle { display: none; }
body.storefront-page .catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    margin: 0 0 12px;
}
body.storefront-page .catalog-results-count { margin: 0; color: var(--text-muted); font-size: 13px; font-weight: 700; }
body.storefront-page .catalog-reset-link { color: var(--text-main); font-size: 13px; font-weight: 700; text-underline-offset: 3px; }
body.storefront-page .catalog-reset-link:hover { color: #846411; }
body.storefront-page .catalog-filter-error {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #c34b37;
    border-radius: 12px;
    background: color-mix(in srgb, #c34b37 8%, var(--bg-card));
    color: var(--text-main);
    font-size: 13px;
}
body.storefront-page .catalog-empty-state__hint { color: var(--text-muted); }
body.storefront-page .catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
body.storefront-page .catalog-pagination .btn { min-width: 42px; min-height: 42px; padding: 8px 14px; }
body.storefront-page .catalog-load-more {
    display: flex;
    width: fit-content;
    min-height: 46px;
    margin: 24px auto 0;
    padding: 10px 22px;
}
body.storefront-page .catalog-load-more[hidden] { display: none; }
body.storefront-page .catalog-load-more:disabled { cursor: wait; opacity: .72; }
body.storefront-page .catalog-load-more-status { min-height: 1.4em; margin: 8px 0 0; color: var(--text-muted); text-align: center; font-size: 12px; }
body.storefront-page .catalog-smart-search { position: relative; display: block; width: 100%; min-width: 0; }
body.storefront-page .catalog-search-container { position: relative; }
body.storefront-page .catalog-search-container > .search-icon { position: absolute; z-index: 1; top: 50%; left: 13px; transform: translateY(-50%); pointer-events: none; }
body.storefront-page .catalog-smart-search .smart-search__input {
    width: 100%;
    min-height: 46px;
    padding: 10px 28px 10px 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-main);
    color: var(--text-main);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
}
body.storefront-page .catalog-smart-search .smart-search__input:focus-visible { border-color: #b79822; outline: 2px solid color-mix(in srgb, var(--primary) 35%, transparent); outline-offset: 1px; }
body.storefront-page .catalog-smart-search .search-suggestions {
    position: absolute;
    z-index: 30;
    top: calc(100% + 7px);
    left: 0;
    width: min(390px, calc(100vw - 44px));
    max-height: min(360px, 55vh);
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    box-shadow: 0 14px 34px rgba(20, 28, 25, .18);
}
body.storefront-page .catalog-smart-search .search-suggestion-item { min-height: 58px; padding: 9px 12px; }
body.storefront-page .catalog-smart-search .search-suggestion-item[aria-selected="true"] { background: color-mix(in srgb, var(--primary) 14%, var(--bg-card)); }
body.storefront-page .catalog-smart-search .search-suggestion-img { flex: 0 0 40px; object-fit: contain; background: #fff; }
body.storefront-page .catalog-smart-search .search-suggestion-title { max-width: 270px; white-space: normal; }
body.storefront-page .catalog-smart-search .search-suggestion-status,
body.storefront-page .catalog-smart-search .search-suggestion-all { display: block; padding: 12px 14px; color: var(--text-muted); font-size: 13px; line-height: 1.45; }
body.storefront-page .catalog-smart-search .search-suggestion-all { border-top: 1px solid var(--border); color: var(--text-main); font-weight: 700; text-align: center; text-decoration: none; }
body.storefront-page .catalog-smart-search .search-suggestion-all:hover { background: var(--bg-main); }

@media (max-width: 992px) {
    body.storefront-page .catalog-filter-panel__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 48px;
        padding: 11px 14px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: var(--bg-card);
        color: var(--text-main);
        cursor: pointer;
        font-size: 14px;
        font-weight: 800;
        list-style: none;
    }
    body.storefront-page .catalog-filter-panel__toggle::-webkit-details-marker { display: none; }
    body.storefront-page .catalog-filter-panel__toggle::after { content: '+'; color: #846411; font-size: 20px; line-height: 1; }
    body.storefront-page .catalog-filter-panel[open] > .catalog-filter-panel__toggle::after { content: '−'; }
    body.storefront-page .catalog-filter-panel__count { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--primary); color: #202a27; font-size: 12px; }
    body.storefront-page .catalog-search-widget { margin-bottom: 10px; }
    body.storefront-page .catalog-filter-panel[open] #filterForm { max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain; }
    body.storefront-page .catalog-filter-panel[open] > .catalog-filter-panel__toggle { position: sticky; top: 0; z-index: 3; margin: 0 0 10px; }
    body.storefront-page .catalog-sidebar .sidebar-promo { padding: 16px !important; }
    body.storefront-page .catalog-sidebar .sidebar-promo h3 { margin-bottom: 5px !important; font-size: 16px !important; }
    body.storefront-page .catalog-sidebar .sidebar-promo p { margin-bottom: 10px !important; font-size: 12px !important; }
    body.storefront-page .catalog-sidebar .sidebar-promo .btn { min-height: 42px; }
}
@media (max-width: 600px) {
    body.storefront-page .catalog-hero { min-height: 290px !important; }
    body.storefront-page .catalog-toolbar { align-items: flex-start; flex-direction: column; gap: 5px; }
    body.storefront-page .catalog-results-count { font-size: 12px; }
    body.storefront-page .catalog-pagination { gap: 6px; margin-top: 18px; }
    body.storefront-page .catalog-pagination .btn { min-width: 40px; min-height: 40px; padding: 7px 10px; }
    body.storefront-page .catalog-load-more { width: 100%; }
}

/* Compact product family and specification details. */
.catalog-variant-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.catalog-variant-chip { display: inline-flex; align-items: center; max-width: 100%; padding: 4px 9px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text-muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.product-variant-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.product-variant-specs > div { display: grid; gap: 2px; min-width: 110px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); }
.product-variant-specs dt { color: var(--text-muted); font-size: 11px; }
.product-variant-specs dd { margin: 0; color: var(--text-main); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.product-family-links { margin: 16px 0 22px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); }
.product-family-links h2 { margin: 0 0 10px; font-size: 15px; }
.product-family-links ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.product-family-links a, .product-family-links li > span { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-main); font-size: 13px; text-decoration: none; }
.product-family-links li > span[aria-current="page"] { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, var(--bg-card)); font-weight: 700; }
.product-variant-admin { min-width: 0; margin: 24px 0; padding: 18px; border: 1px solid var(--border); border-radius: 14px; }
.product-variant-admin legend { padding: 0 8px; font-weight: 700; }
.product-variant-admin > p, .product-variant-admin__notice { color: var(--text-muted); font-size: 13px; }
.product-variant-admin__attributes { display: grid; gap: 12px; }
.product-variant-admin__row { display: grid; grid-template-columns: minmax(90px,.6fr) repeat(3,minmax(0,1fr)); align-items: end; gap: 10px; }
.product-variant-admin__row label { display: grid; gap: 5px; color: var(--text-muted); font-size: 12px; }
@media (max-width: 720px) { .product-variant-admin__row { grid-template-columns: 1fr 1fr; } .product-variant-admin__row strong { grid-column: 1 / -1; } }


/* Catalog-only control polish: consistent targets, clear secondary actions and visible states. */
body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm :is(input, select, button, summary),
body.storefront-page:has(.catalog-hero) .catalog-main :is(a, button),
body.storefront-page:has(.catalog-hero) .site-header :is(button, a) {
    -webkit-tap-highlight-color: transparent;
}
body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm .catalog-sort-field select,
body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm .catalog-filter-disclosure__summary,
body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm .catalog-smart-search .smart-search__input,
body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm > button[type="submit"] {
    min-height: 46px;
}
body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm > button[type="submit"] {
    white-space: nowrap;
    text-wrap: nowrap;
    box-shadow: 0 5px 13px color-mix(in srgb, var(--primary) 20%, transparent);
}
body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm > button[type="submit"]:hover,
body.storefront-page:has(.catalog-hero) .catalog-load-more:hover {
    transform: translateY(-1px);
}
body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm > button[type="submit"]:active,
body.storefront-page:has(.catalog-hero) .catalog-load-more:active,
body.storefront-page:has(.catalog-hero) .catalog-pagination .btn:active,
body.storefront-page:has(.catalog-hero) .catalog-main .add-to-cart-btn:active {
    transform: translateY(1px) scale(.98);
}
body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm :is(input, select, summary, button):focus-visible,
body.storefront-page:has(.catalog-hero) .catalog-main :is(a, button):focus-visible,
body.storefront-page:has(.catalog-hero) .site-header :is(a, button, input):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-gold) 76%, #fff 24%);
    outline-offset: 2px;
}
body.storefront-page:has(.catalog-hero) .catalog-toolbar {
    flex-wrap: wrap;
}
body.storefront-page:has(.catalog-hero) .catalog-results-count {
    min-width: 0;
    line-height: 1.45;
    text-wrap: pretty;
}
body.storefront-page:has(.catalog-hero) .catalog-reset-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
body.storefront-page:has(.catalog-hero) .catalog-reset-link:hover {
    border-color: color-mix(in srgb, var(--brand-gold) 62%, var(--border));
    background: color-mix(in srgb, var(--brand-gold) 9%, var(--bg-card));
    color: var(--text-main);
}
body.storefront-page:has(.catalog-hero) .catalog-load-more {
    min-height: 48px;
    max-width: 100%;
    padding-inline: 20px;
    border-radius: 12px;
    font-weight: 750;
    line-height: 1.3;
    white-space: nowrap;
    text-wrap: nowrap;
}
body.storefront-page:has(.catalog-hero) .catalog-load-more:disabled {
    transform: none;
    box-shadow: none;
}
body.storefront-page:has(.catalog-hero) .catalog-pagination .btn {
    min-width: 44px;
    min-height: 44px;
    border-radius: 11px;
    font-weight: 700;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .12s ease;
}
body.storefront-page:has(.catalog-hero) .catalog-pagination .btn[aria-current="page"] {
    cursor: default;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 24%, transparent);
}
body.storefront-page:has(.catalog-hero) .catalog-main .product-card > .product-info > div:last-child {
    gap: 10px;
    align-items: flex-end;
}
body.storefront-page:has(.catalog-hero) .catalog-main .product-card > .product-info > div:last-child > div {
    min-width: 0;
    flex: 1 1 auto;
}
body.storefront-page:has(.catalog-hero) .catalog-main .product-card .product-price {
    line-height: 1.25;
    white-space: nowrap;
}
body.storefront-page:has(.catalog-hero) .catalog-product-pack {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
}
body.storefront-page:has(.catalog-hero) .catalog-main .add-to-cart-btn {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    margin: 0;
    border-radius: 13px;
    box-shadow: 0 5px 13px color-mix(in srgb, var(--primary) 22%, transparent);
    transition: transform .14s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}
body.storefront-page:has(.catalog-hero) .catalog-main .add-to-cart-btn:hover:not(:disabled) {
    box-shadow: 0 8px 17px color-mix(in srgb, var(--primary) 32%, transparent);
}
body.storefront-page:has(.catalog-hero) .catalog-main .add-to-cart-btn:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: .58;
    transform: none;
}
body.storefront-page:has(.catalog-hero) .site-header .lang-switcher,
body.storefront-page:has(.catalog-hero) .site-header .user-auth,
body.storefront-page:has(.catalog-hero) .site-header .ask-btn,
body.storefront-page:has(.catalog-hero) .site-header .header-bottom-right > a[href^="tel:"] {
    white-space: nowrap;
}
body.storefront-page:has(.catalog-hero) .site-header .theme-toggle-btn,
body.storefront-page:has(.catalog-hero) .site-header .mobile-menu-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
}
body.storefront-page:has(.catalog-hero) .site-header .ask-btn {
    min-height: 44px;
    padding-inline: 16px;
    line-height: 1.2;
}
body.storefront-page:has(.catalog-hero) .fab-container .fab-scroll-top {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 50%;
}
@media (max-width: 600px) {
    body.storefront-page:has(.catalog-hero) .catalog-toolbar {
        align-items: stretch;
        gap: 6px;
    }
    body.storefront-page:has(.catalog-hero) .catalog-results-count {
        overflow-wrap: anywhere;
    }
    body.storefront-page:has(.catalog-hero) .catalog-reset-link {
        align-self: flex-end;
        max-width: calc(100% - 58px);
        min-height: 40px;
        margin-right: calc(58px + env(safe-area-inset-right, 0px));
        justify-content: flex-end;
        text-align: right;
        white-space: normal;
        text-wrap: balance;
    }
    body.storefront-page:has(.catalog-hero) .catalog-load-more {
        width: 100%;
        min-height: 48px;
        white-space: normal;
        text-wrap: balance;
    }
    body.storefront-page:has(.catalog-hero) .catalog-main .product-card > .product-info > div:last-child {
        gap: 8px;
    }
    body.storefront-page:has(.catalog-hero) .catalog-main .add-to-cart-btn {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
    }
    body.storefront-page:has(.catalog-hero) .site-header .mobile-menu-btn {
        border-radius: 11px;
    }
    body.storefront-page:has(.catalog-hero) .fab-container {
        right: 14px;
        bottom: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.storefront-page:has(.catalog-hero) .catalog-reset-link,
    body.storefront-page:has(.catalog-hero) .catalog-pagination .btn,
    body.storefront-page:has(.catalog-hero) .catalog-main .add-to-cart-btn {
        transition: none;
    }
    body.storefront-page:has(.catalog-hero) .catalog-load-more,
    body.storefront-page:has(.catalog-hero) .catalog-sidebar #filterForm > button[type="submit"],
    body.storefront-page:has(.catalog-hero) .catalog-main .add-to-cart-btn:active {
        transform: none;
    }
}

/* Keep catalog floating actions clear of mobile filter actions and product controls. */
@media (max-width: 600px) {

    body.storefront-page:has(.catalog-hero) .chat-widget {
        right: calc(12px + env(safe-area-inset-right, 0px));
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        left: auto;
    }
    body.storefront-page:has(.catalog-hero) .chat-widget .chat-widget-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        box-shadow: 0 5px 16px rgba(15, 76, 129, .28);
    }
    body.storefront-page:has(.catalog-hero) .fab-container {
        right: calc(12px + env(safe-area-inset-right, 0px));
        bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }
    body.storefront-page:has(.catalog-hero) .fab-container .fab-scroll-top {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
}


/* Make result state easy to scan and reset clearly secondary to the yellow filter action. */
body.storefront-page:has(.catalog-hero) .catalog-toolbar {
    align-items: stretch;
    gap: 12px;
}
body.storefront-page:has(.catalog-hero) .catalog-results-count {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-gold);
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand-gold) 7%, var(--bg-card));
    color: var(--text-main);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
body.storefront-page:has(.catalog-hero) .catalog-reset-link {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--text-muted) 32%, var(--border));
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    white-space: normal;
    box-shadow: 0 3px 9px rgba(25, 33, 29, .06);
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
body.storefront-page:has(.catalog-hero) .catalog-reset-link:hover {
    border-color: color-mix(in srgb, var(--text-muted) 56%, var(--border));
    background: color-mix(in srgb, var(--text-muted) 8%, var(--bg-card));
    color: var(--text-main);
}
@media (max-width: 992px) {
    body.storefront-page:has(.catalog-hero) .catalog-sidebar {
        position: static;
        top: auto;
        align-self: stretch;
        max-height: none;
        overflow: visible;
    }
}
@media (max-width: 600px) {
    body.storefront-page:has(.catalog-hero) .catalog-results-count {
        width: 100%;
        min-height: 46px;
        font-size: 13px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.storefront-page:has(.catalog-hero) .catalog-reset-link {
        transition: none;
    }
}

/* Home page and shared chrome: tighter rhythm with clear brand accents. */
body.storefront-page .two-tier-header .header-top { padding-block: 9px; }
body.storefront-page .two-tier-header .header-bottom { padding-block: 9px; }
body.storefront-page .site-header { box-shadow: 0 5px 22px rgba(27, 36, 32, .055); }
body.storefront-page .main-nav ul { gap: clamp(20px, 2.4vw, 34px); }
body.storefront-page .main-nav a { font-size: 15px; }
body.storefront-page .header-bottom-actions { gap: 16px !important; }
body.storefront-page .smart-search__input { min-height: 42px; }
body.storefront-page .site-header .theme-toggle-btn,
body.storefront-page .site-header .mobile-menu-btn {
    border: 1px solid transparent;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
body.storefront-page .site-header .theme-toggle-btn:hover,
body.storefront-page .site-header .mobile-menu-btn:hover {
    border-color: var(--brand-line);
    background: color-mix(in srgb, var(--brand-gold) 12%, var(--bg-card));
}
body.storefront-page .site-header :is(a, button, input):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-gold) 78%, #fff 22%);
    outline-offset: 2px;
}

/* Keep the full desktop navigation on one line at tablet widths. */
@media (min-width: 769px) and (max-width: 900px) {
    body.storefront-page .main-nav ul { gap: 10px; }
    body.storefront-page .main-nav a { font-size: 13px; white-space: nowrap; }
    body.storefront-page .header-bottom-actions { gap: 10px !important; }
    body.storefront-page .site-header .smart-search { width: 160px; flex: 0 1 160px; }
    body.storefront-page .header-bottom-actions > a[href^="tel:"] { font-size: 14px !important; white-space: nowrap; }
}

/* Scope section rhythm and extra decoration to the homepage; hero image/overlay
   declarations remain untouched. */
body.storefront-page .main-content:has(> .hero) > .section {
    padding-block: 68px;
}
body.storefront-page .main-content:has(> .hero) #about .section-header {
    margin-bottom: 26px;
    padding-block: 18px;
}
body.storefront-page .main-content:has(> .hero) #about .bento-grid { margin-top: 24px; }
body.storefront-page .main-content:has(> .hero) .production-story { padding-block: 72px; }
body.storefront-page .main-content:has(> .hero) .production-story__heading { margin-bottom: 24px; }
body.storefront-page .main-content:has(> .hero) .home-popular { border-top: 1px solid var(--brand-line) !important; }
body.storefront-page .main-content:has(> .hero) .home-popular .section-header { margin-bottom: 28px; }
body.storefront-page .main-content:has(> .hero) .home-popular .products-grid { gap: 18px; }
body.storefront-page .main-content:has(> .hero) .home-popular > .container > .reveal:last-child { margin-top: 32px !important; }
body.storefront-page .main-content:has(> .hero) .bento-wide {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 40px !important;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    box-shadow: 0 20px 48px rgba(17, 27, 28, .18);
}
body.storefront-page .main-content:has(> .hero) .bento-wide::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 100% 0, rgba(255, 214, 0, .16), transparent 42%);
}
body.storefront-page .main-content:has(> .hero) .bento-wide > div:nth-child(n+2) {
    padding: 20px !important;
    border-color: rgba(255, 255, 255, .13) !important;
    background: rgba(255, 255, 255, .075) !important;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
body.storefront-page .main-content:has(> .hero) .bento-wide > div:nth-child(n+2):hover {
    border-color: rgba(255, 214, 0, .48) !important;
    background: rgba(255, 255, 255, .11) !important;
    transform: translateY(-2px);
}
body.storefront-page .main-content:has(> .hero) .faq-accordion { gap: 10px !important; }
body.storefront-page .main-content:has(> .hero) .faq-item {
    border-radius: 14px !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}
body.storefront-page .main-content:has(> .hero) .faq-item:hover { border-color: color-mix(in srgb, var(--brand-gold) 55%, var(--border)) !important; }
body.storefront-page .main-content:has(> .hero) .faq-btn {
    min-height: 62px;
    padding: 18px 20px !important;
    font-size: 16px !important;
    line-height: 1.45;
}
body.storefront-page .main-content:has(> .hero) .faq-content { padding-inline: 20px !important; }

/* A more compact footer keeps the contact details easy to scan. */
body.storefront-page .site-footer {
    margin-top: 0;
    padding-top: 54px;
    border-top: 3px solid var(--brand-gold);
    background-color: var(--footer-bg, var(--brand-ink));
    background-image: radial-gradient(ellipse at 12% 0, rgba(215, 173, 39, .10), transparent 34rem);
}
body.storefront-page .site-footer .footer-container { gap: 44px; margin-bottom: 44px; }
body.storefront-page .site-footer .footer-desc { margin-top: 16px; line-height: 1.65; }
body.storefront-page .site-footer .social-links { margin-top: 20px; }
body.storefront-page .site-footer .footer-col h3 {
    margin-bottom: 18px;
    color: var(--brand-gold-soft);
    font-size: 13px;
    letter-spacing: .12em;
}
body.storefront-page .site-footer .footer-col ul { gap: 11px; }
body.storefront-page .site-footer .footer-col a,
body.storefront-page .site-footer .contact-value { line-height: 1.55; }
body.storefront-page .site-footer .footer-col a { transition: color .16s ease, padding-left .16s ease; }
body.storefront-page .site-footer .footer-col a:hover { padding-left: 3px; color: var(--brand-gold-soft); }
body.storefront-page .site-footer .footer-bottom { padding-block: 20px; border-color: rgba(255, 255, 255, .12); }

@media (max-width: 768px) {
    body.storefront-page .two-tier-header .header-top { padding-block: 5px !important; }
    body.storefront-page .two-tier-header .header-bottom { padding-block: 6px !important; overflow: visible; }
    body.storefront-page .header-bottom-container { align-items: center; }
    body.storefront-page .header-bottom-actions {
        width: 100%;
        min-height: 0;
        flex-wrap: nowrap;
        justify-content: stretch;
        gap: 0 !important;
    }
    body.storefront-page .header-bottom-actions form { flex: 1 1 100%; width: 100%; }
    body.storefront-page .header-bottom-actions form input { width: 100% !important; }
    body.storefront-page .header-bottom-actions > a[href^="tel:"] { display: none !important; }
    body.storefront-page .main-content:has(> .hero) > .section { padding-block: 42px; }
    body.storefront-page .main-content:has(> .hero) #about .section-header { margin-bottom: 18px; padding: 16px 18px; }
    body.storefront-page .main-content:has(> .hero) .production-story { padding-block: 48px; }
    body.storefront-page .main-content:has(> .hero) .production-story__heading { margin-bottom: 18px; }
    body.storefront-page .main-content:has(> .hero) .home-popular .section-header { margin-bottom: 20px; }
    body.storefront-page .main-content:has(> .hero) .home-popular .products-grid { gap: 12px; }
    body.storefront-page .main-content:has(> .hero) .bento-wide { padding: 24px !important; gap: 18px !important; border-radius: 20px; }
    body.storefront-page .main-content:has(> .hero) .bento-wide > div:nth-child(n+2) { padding: 16px !important; }
    body.storefront-page .main-content:has(> .hero) .faq-btn { min-height: 56px; padding: 15px 16px !important; font-size: 15px !important; }
    body.storefront-page .main-content:has(> .hero) .faq-content { padding-inline: 16px !important; }
    body.storefront-page .site-footer { padding-top: 38px; }
    body.storefront-page .site-footer .footer-container { gap: 28px; margin-bottom: 30px; }
    body.storefront-page .site-footer .footer-links { gap: 26px; }
    body.storefront-page .site-footer .footer-col h3 { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    body.storefront-page .site-header :is(a, button),
    body.storefront-page .main-content:has(> .hero) .bento-wide > div,
    body.storefront-page .site-footer .footer-col a { transition: none; }
    body.storefront-page .main-content:has(> .hero) .bento-wide > div:hover,
    body.storefront-page .site-footer .footer-col a:hover { transform: none; padding-left: 0; }
}

/* Keep catalog choices and actual products close to the first screen. */
body.storefront-page .catalog-hero { min-height: 180px !important; padding-block: 14px !important; }
body.storefront-page .catalog-hero .catalog-showcase { margin-top: 10px; }
body.storefront-page .catalog-toolbar { margin-bottom: 8px; }
body.storefront-page .catalog-hero .page-header-title { font-size: clamp(34px, 4vw, 48px) !important; margin-bottom: 9px !important; }
body.storefront-page .catalog-hero .page-header-desc { font-size: 15px !important; line-height: 1.45; }
body.storefront-page .catalog-section { padding-top: 16px !important; }
.catalog-quick-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.catalog-quick-categories::-webkit-scrollbar { display: none; }
.catalog-quick-categories a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    flex: 0 0 auto;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.catalog-quick-categories a[aria-current="page"] { border-color: var(--primary); background: var(--primary); }
.catalog-quick-categories a:focus-visible,
.contact-quote-whatsapp:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.contact-quote-whatsapp { display: inline-flex; margin-top: 18px; align-items: center; justify-content: center; }
.catalog-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}
.catalog-active-filters > li { min-width: 0; max-width: 100%; }
.catalog-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}
.catalog-filter-chip > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.catalog-filter-chip > span:last-child { flex-shrink: 0; }
.catalog-filter-chip:hover { border-color: var(--primary); }
.catalog-filter-chip:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
@media (max-width: 600px) {
    body.storefront-page .catalog-hero { min-height: 130px !important; padding-block: 10px !important; }
    body.storefront-page .catalog-hero .breadcrumbs { margin-bottom: 7px !important; }
    body.storefront-page .catalog-hero .page-header-title { font-size: 32px !important; margin-bottom: 6px !important; }
    body.storefront-page .catalog-hero .page-header-desc { font-size: 13px !important; }
    body.storefront-page .catalog-hero .catalog-showcase { display: none; }
    body.storefront-page .catalog-section { padding-top: 11px !important; }
    .catalog-quick-categories { padding-bottom: 8px; }
    .catalog-quick-categories a { min-height: 36px; padding-inline: 12px; }
    body.storefront-page .catalog-main .product-card { padding: 8px !important; }
    body.storefront-page .catalog-main .product-card .product-img-wrapper { height: 180px !important; padding-top: 0 !important; }
    body.storefront-page .catalog-main .product-card .product-info { padding: 12px !important; }
    body.storefront-page:has(.catalog-hero) .chat-widget { bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
}

/* Keep the floating support control away from the homepage delivery copy. */
@media (min-width: 721px) and (max-width: 1280px) {
    body.storefront-page:has(.home-clarity-hero) .chat-widget {
        right: 14px;
        bottom: 14px;
        left: auto;
    }
    body.storefront-page:has(.home-clarity-hero) .chat-widget-btn {
        width: 52px;
        height: 52px;
    }
    body.storefront-page:has(.home-clarity-hero) .chat-widget-window {
        right: 0;
        left: auto;
        transform-origin: bottom right;
    }
    body.storefront-page:has(.home-clarity-hero) #home-delivery .home-clarity-trust__heading > p {
        padding-right: 68px;
    }
}
@media (max-width: 720px) {
    body.storefront-page:has(.home-clarity-hero) .chat-widget {
        right: calc(12px + env(safe-area-inset-right, 0px));
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        left: auto;
    }
    body.storefront-page:has(.home-clarity-hero) .chat-widget-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    body.storefront-page:has(.home-clarity-hero) .chat-widget-window {
        right: 0;
        left: auto;
        width: min(410px, calc(100vw - 24px));
        transform-origin: bottom right;
    }
    body.storefront-page:has(.home-clarity-hero) #home-delivery .home-clarity-feature--delivery .home-clarity-feature__body > p:not(.home-clarity-feature__eyebrow) {
        padding-right: 56px;
    }
}
@media (max-width: 360px) {
    body.storefront-page:has(.home-clarity-hero) .chat-widget {
        right: calc(6px + env(safe-area-inset-right, 0px));
        bottom: calc(154px + env(safe-area-inset-bottom, 0px));
    }
    body.storefront-page:has(.home-clarity-hero) .chat-widget-btn,
    body.storefront-page:has(.home-clarity-hero) .fab-scroll-top {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    body.storefront-page:has(.home-clarity-hero) .fab-container {
        right: calc(6px + env(safe-area-inset-right, 0px));
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }
    body.storefront-page:has(.home-clarity-hero) .chat-widget-window {
        top: 56px;
        bottom: auto;
        height: min(550px, calc(100dvh - 230px));
        transform-origin: top right;
    }
}

/* Keep product tabs fully readable in the narrower detail column. */
@media (min-width: 821px) and (max-width: 992px), (max-width: 600px) {
    body.storefront-page:has(.product-details-layout) .product-details-info .tabs-header {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 6px !important;
        overflow: visible !important;
    }
    body.storefront-page:has(.product-details-layout) .product-details-info .tabs-header .tab-btn {
        min-width: 0;
        padding: 8px 3px !important;
        font-size: 12px !important;
        line-height: 1.25;
        text-align: center;
        white-space: normal !important;
    }
}
@media (max-width: 600px) {
    body.storefront-page:has(.product-details-layout) .product-details-info {
        padding-left: 26px !important;
    }
    body.storefront-page:has(.product-details-layout) .chat-widget {
        left: calc(6px + env(safe-area-inset-left, 0px));
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: auto;
    }
    body.storefront-page:has(.product-details-layout) .chat-widget .chat-widget-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    body.storefront-page:has(.product-details-layout) .chat-widget-window {
        right: auto;
        left: 0;
        transform-origin: bottom left;
    }
}

/* Small shared details for informational pages; existing content and layout stay intact. */
body.storefront-page:is([data-view="contacts"], [data-view="vacancies"]) .page-header-title::after {
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 44px;
    height: 3px;
    margin-left: -22px;
    border-radius: 3px;
    background: var(--primary);
    pointer-events: none;
    content: "";
}
body.storefront-page:is([data-view="contacts"], [data-view="vacancies"]) .page-header .breadcrumbs {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(8, 16, 18, .38);
    line-height: 1.5;
}
body.storefront-page:is([data-view="contacts"], [data-view="vacancies"]) .page-header .breadcrumbs a {
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}
body.storefront-page:is([data-view="contacts"], [data-view="vacancies"]) .page-header .breadcrumbs a:hover {
    text-decoration: underline;
}
body.storefront-page:is([data-view="contacts"], [data-view="vacancies"]) .page-header .breadcrumbs a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
    border-radius: 3px;
}
body.storefront-page[data-view="contacts"] #contact-form {
    --contact-link: #795b00;
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 4%, var(--bg-card)), var(--bg-card) 160px);
    border-color: var(--border);
    box-shadow: inset 0 3px var(--primary), var(--brand-shadow);
}
:root[data-theme="dark"] body.storefront-page[data-view="contacts"] #contact-form {
    --contact-link: #ffe07a;
}
body.storefront-page[data-view="contacts"] #contact-form .form-control {
    background: color-mix(in srgb, var(--bg-main) 65%, var(--bg-card));
    border-color: var(--border);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
body.storefront-page[data-view="contacts"] #contact-form .form-control:hover {
    border-color: color-mix(in srgb, var(--contact-link) 45%, var(--border));
}
body.storefront-page[data-view="contacts"] #contact-form .form-control:focus {
    background: var(--bg-card);
    border-color: var(--contact-link);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}
body.storefront-page[data-view="contacts"] #contact-form #privacy_contact {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: var(--primary);
    cursor: pointer;
}
body.storefront-page[data-view="contacts"] #contact-form label[for="privacy_contact"] { cursor: pointer; }
body.storefront-page[data-view="contacts"] #contact-form label[for="privacy_contact"] a {
    /* The template sets yellow inline; use a readable tone on both form surfaces. */
    color: var(--contact-link) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
body.storefront-page[data-view="contacts"] #contact-form :is(.form-control, #privacy_contact, label[for="privacy_contact"] a):focus-visible {
    outline: 3px solid var(--contact-link);
    outline-offset: 3px;
}

/* Forest, warm mineral and gold accents across the public storefront. */
body.storefront-page .site-header .header-bottom {
    border-bottom-color: var(--brand-line);
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--bg-card) 90%, var(--brand-sage)),
        color-mix(in srgb, var(--bg-card) 96%, var(--brand-gold-soft)));
}
body.storefront-page .site-header .main-nav a:hover { color: var(--brand-green); }
body.storefront-page .catalog-sidebar {
    background: linear-gradient(145deg,
        var(--bg-card),
        color-mix(in srgb, var(--bg-card) 88%, var(--brand-sage)));
}
body.storefront-page .main-content .product-card {
    border-color: color-mix(in srgb, var(--brand-green) 19%, var(--border));
}
body.storefront-page .main-content .product-category { color: var(--brand-green); }
body.storefront-page .site-footer {
    background-image:
        radial-gradient(ellipse at 9% 0, rgba(221, 172, 67, .19), transparent 36rem),
        radial-gradient(ellipse at 90% 80%, rgba(58, 131, 88, .22), transparent 36rem),
        linear-gradient(130deg, #10251e, #173a2b 65%, #10251e);
}
body.storefront-page .site-footer .social-icon {
    border: 1px solid rgba(213, 231, 203, .16);
    background: rgba(188, 216, 170, .1);
}
body.storefront-page .site-footer :is(.footer-desc, .footer-col a, .contact-label, .footer-bottom) {
    color: #c2d0c0;
}
body.storefront-page .site-footer :is(.contact-val, .contact-value) { color: #edf3e8; }
body.storefront-page .site-footer .footer-col a:hover { color: var(--brand-gold-soft); }
@media (prefers-reduced-motion: reduce) {
    body.storefront-page .site-header .main-nav a { transition: none; }
}

/* Tablet header hides the desktop account link before the mobile menu appears. */
@media (min-width: 769px) and (max-width: 992px) {
    body.storefront-page .header-top-right .user-auth.hidden-mobile {
        display: block !important;
    }
}
