/* Products page, glass look: light frosted panels and windows, regular-weight text, one blue.
   Turned on by <html class="glass"> in products.html; js/shop-glass.js adds the small extras
   (plain fills on slow devices: html.glass-lite). */

@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400.woff2') format('woff2')}

html.glass{
    /* the iPhone's own font on Apple devices, Inter (its closest free twin) everywhere else */
    --g-font:-apple-system,BlinkMacSystemFont,'Inter','Segoe UI',Roboto,Helvetica,Arial,sans-serif;

    /* house blue and its tints: the ONLY colour for actions */
    --g-tint:#3552c8;
    --g-tint-press:#2b45b8;
    --g-tint-wash:rgba(53,82,200,.10);
    --g-tint-wash-2:rgba(53,82,200,.16);
    --g-navy:#0b2470;

    /* text and lines: cool blue-greys */
    --g-ink:#0f172a;
    --g-ink-2:#475169;
    --g-ink-3:#8791a7;
    --g-hair:rgba(15,23,42,.08);
    --g-hair-2:rgba(15,23,42,.14);
    --g-fill:rgba(118,128,150,.12);          /* iOS "fill" for search fields and tracks */
    --g-bg:#f1f4f9;                           /* page */
    --g-photo:#f5f7fb;                        /* behind a product photo */

    /* glass (no gradients: depth comes from blur, rim light and soft shadow) */
    --g-glass:rgba(255,255,255,.62);
    --g-glass-strong:rgba(255,255,255,.84);
    --g-blur:saturate(180%) blur(24px);
    --g-rim:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.55);
    --g-shadow:0 1px 2px rgba(16,32,96,.06),0 10px 30px -12px rgba(16,32,96,.22);
    --g-shadow-lift:0 2px 4px rgba(16,32,96,.07),0 18px 40px -14px rgba(16,32,96,.30);

    /* rounded corners like the iPhone's */
    --g-r-card:20px;
    --g-r-panel:26px;
    --g-r-sheet:32px;
    --g-r-photo:14px;
    --g-ease:cubic-bezier(.3,.7,.2,1);

    --bg:#f1f4f9;
    --bg-alt:#e9edf5;
    --border:#e2e7f0;
    --text:#3b4357;
    --text-light:#7c869b;
    --gold:#3552c8;
    --gold-light:rgba(53,82,200,.10);
    --teal:#3552c8;
    --green:#3552c8;
}

html.glass :not(.footer):not(.footer *),html.glass :not(.footer):not(.footer *)::before,html.glass :not(.footer):not(.footer *)::after{font-weight:400!important;font-synthesis:none}
html.glass :not(.footer):not(.footer *){font-family:var(--g-font)!important}
html.glass body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;letter-spacing:-.003em}

html.glass #products-grid .product-card .product-badge{display:inline-flex;align-items:center;position:absolute;top:8px;left:8px;right:auto;bottom:auto;z-index:2;
    min-height:20px;padding:0 9px;border:0;border-radius:999px;font-size:11px;line-height:1;letter-spacing:0;text-transform:none;white-space:nowrap;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 2px 8px -4px rgba(16,32,96,.35)}
html.glass #products-grid .product-card .product-badge.food{background:rgba(53,82,200,.13);color:#3552c8}
html.glass #products-grid .product-card .product-badge.nonfood{background:rgba(11,36,112,.08);color:#0b2470}

@media(max-width:768px){html.glass #products-grid .product-card .product-badge{display:none}}
html.glass #product-modal .product-modal-body .product-modal-badge{display:inline-flex;align-items:center;order:0;align-self:flex-start;min-height:22px;margin:0 0 10px;padding:0 10px;
    border:0;border-radius:999px;font-size:12px;line-height:1;letter-spacing:0;text-transform:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}
html.glass #product-modal .product-modal-body .product-modal-badge.food{background:rgba(53,82,200,.13);color:#3552c8}
html.glass #product-modal .product-modal-body .product-modal-badge.nonfood{background:rgba(11,36,112,.08);color:#0b2470}

html.glass .ads-range{mix-blend-mode:normal!important}

/* ---- if a browser cannot blur (or the person asked for less see-through), the glass that sits over products turns
   almost solid, so words stay easy to read. iPhones and current browsers blur, so they keep the clear glass. ---- */
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
    html.glass #product-modal .product-modal,html.glass .search-suggest,html.glass .dropdown-panel,html.glass .nav,html.glass .nav.scrolled,
    html.glass .products-toolbar.stuck,html.glass .ads-v{background-color:rgba(255,255,255,.94)!important}
}
@media(prefers-reduced-transparency:reduce){
    html.glass #product-modal .product-modal,html.glass .search-suggest,html.glass .dropdown-panel,html.glass .nav,html.glass .nav.scrolled,
    html.glass .products-toolbar.stuck,html.glass .shop-side,html.glass .sup-rail,
    html.glass #products-grid .product-card{background-color:rgba(255,255,255,.94)!important}
}

html.glass .page-products .products-header{animation:none;opacity:1}

html.glass .footer{font-family:'General Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:normal}

/* ---------- page and background ---------- */
html.glass{background:var(--g-bg)}
html.glass body{background:transparent;color:var(--g-ink)}
html.glass body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;
    background:var(--g-bg)}
.glass .page-products .products,.glass .products,.glass .pd-main,.glass .cat-index{background:transparent}
.glass .products-header{background:none;color:var(--g-ink)}
.glass .products-header::before,.glass .products-header::after{content:none;display:none}
.glass .skel,.glass .page-products .skel{background:var(--g-fill)!important;animation:glass-pulse 1.4s ease-in-out infinite}
@keyframes glass-pulse{50%{opacity:.55}}
.glass :focus-visible{outline:2px solid var(--g-tint);outline-offset:2px}

/* ---------- glass recipes ---------- */
.glass .nav .cart-btn,.glass .nav-hamburger{
    background:var(--g-glass);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
    box-shadow:var(--g-rim),0 1px 2px rgba(16,32,96,.06),0 8px 22px -12px rgba(16,32,96,.30);border:0;border-radius:999px}

/* ---------- top bar ---------- */
.glass .page-products .nav,.glass .nav{background:transparent;border-bottom:1px solid transparent;box-shadow:none;
    -webkit-backdrop-filter:none;backdrop-filter:none;transition:background .3s var(--g-ease),border-color .3s ease}
.glass .page-products .nav.scrolled,.glass .nav.scrolled{background:rgba(241,244,249,.66);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
    border-bottom-color:var(--g-hair);box-shadow:none}
.glass .nav .cart-btn{min-height:40px;padding:0 16px 0 14px;gap:7px;color:var(--g-tint);font-size:15px;transition:transform .2s var(--g-ease),background .2s ease}
.glass .nav .cart-btn svg{width:18px;height:18px}
@media(hover:hover){.glass .nav .cart-btn:hover{background:rgba(255,255,255,.86);transform:none;box-shadow:var(--g-rim),0 1px 2px rgba(16,32,96,.06),0 8px 22px -12px rgba(16,32,96,.30)}}
.glass .nav .cart-btn:active{transform:scale(.96)}
.glass .cart-badge{background:var(--g-tint);color:#fff;font-size:11px;min-width:18px;height:18px;top:-3px;right:-3px;box-shadow:0 0 0 2px rgba(255,255,255,.9)}
.glass .nav-user-name-btn{color:var(--g-ink)}
.glass .page-products .nav-user-dropdown{background:var(--g-glass-strong);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);border:0;border-radius:18px;box-shadow:var(--g-rim),var(--g-shadow-lift)}

/* ---------- Mai-Mai card ---------- */
.glass .page-products .products-header.has-brand-ad{padding:var(--nav-height) 0 12px}
.glass .ads-v{margin:0 12px;background:var(--g-glass-strong);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
    border:0;border-radius:var(--g-r-panel);box-shadow:var(--g-rim),var(--g-shadow)}
.glass .ads-in{height:132px;transition:height .25s var(--g-ease)}
.glass .ads-kicker{font-size:13px;letter-spacing:0;text-transform:none;color:var(--g-tint);margin:0 0 4px;max-height:20px;overflow:hidden;
    transition:opacity .2s ease,max-height .25s var(--g-ease),margin .25s var(--g-ease)}
.glass .ads-head{font-size:26px;line-height:1.15;letter-spacing:-.015em;color:var(--g-ink);transition:font-size .25s var(--g-ease)}
.glass .products-header .ads-sub{display:none}
.glass .ads-mark{height:104px;transition:height .25s var(--g-ease)}
.glass .ads-cluster{height:112px;transition:height .25s var(--g-ease)}
.glass .ads-range{mix-blend-mode:multiply}
@media(min-width:1025px){
    .glass .ads-in{padding-left:calc(var(--grid-left,280px) - 12px);padding-right:calc(max(132px,(100vw - 1232px) / 2 - 1rem) + 4px)}
    .glass .ads-mark{left:calc(var(--side-mid,140px) - 12px)}
}

/* ---------- three floating panes (wide screens) ---------- */
.glass .shop-layout{gap:16px;grid-template-columns:268px minmax(0,1fr)}
.glass .shop-layout::before,.glass.sup-rail-on .shop-layout::after,.glass .sup-rail-on .shop-layout::after{content:none;display:none}
.glass.sup-rail-on .shop-layout{--sup-track:max(132px,calc((100% - 1232px) / 2 - 1rem));grid-template-columns:268px minmax(0,1fr) var(--sup-track)}
.glass .shop-main{padding-top:0}
.glass .shop-side,.glass .sup-rail{
    top:calc(var(--nav-height) + var(--ad-h,0px) + 12px);height:calc(100vh - var(--nav-height) - var(--ad-h,0px) - 24px);
    background:var(--g-glass);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
    border:0;border-radius:var(--g-r-panel);box-shadow:var(--g-rim),var(--g-shadow);
    transition:top .25s var(--g-ease),height .25s var(--g-ease)}
.glass .shop-side{margin:0 0 12px 12px;padding:12px;scrollbar-color:var(--g-hair-2) transparent}
.glass .sup-rail{margin:0 12px 12px 0}

/* filter pane */
.glass .side-search{padding:0 0 12px;border:0}
.glass .toolbar-search svg{left:13px;width:16px;height:16px;color:var(--g-ink-3)}
.glass .toolbar-search input{min-height:40px;padding:8px 10px 8px 36px;border:0;border-radius:999px;background:var(--g-fill);font-size:15px;color:var(--g-ink);
    transition:background .2s ease,box-shadow .2s ease}
.glass .toolbar-search input::placeholder{color:var(--g-ink-3);opacity:1}
.glass.shop-side-on .side-search .toolbar-search input{font-size:14px}
.glass .toolbar-search input:focus-visible{outline:none}
.glass .toolbar-search input:focus{background:#fff;box-shadow:0 0 0 3px var(--g-tint-wash-2)}
.glass .side-sec{border:0}
.glass .side-head{min-height:34px;padding:0 6px 0 10px;font-size:13px;letter-spacing:0;text-transform:none;color:var(--g-ink-3);border-radius:10px}
@media(hover:hover){.glass .side-head:hover{color:var(--g-ink-2)}}
.glass .side-head svg{width:14px;height:14px}
.glass .side-body{padding:2px 0 4px}
.glass.shop-side-on .side-pills .filter-pill{display:flex;align-items:center;min-height:40px;padding:8px 12px;border-radius:12px;font-size:15px;color:var(--g-ink);
    transition:background .2s ease,color .2s ease}
.glass.shop-side-on .side-pills .filter-pill.active{background:var(--g-tint-wash);color:var(--g-tint)}
.glass.shop-side-on .side-pills .filter-pill:hover{background:transparent;color:var(--g-ink)}
.glass.shop-side-on .side-pills .filter-pill.active:hover{background:var(--g-tint-wash);color:var(--g-tint)}
@media(hover:hover){.glass.shop-side-on .side-pills .filter-pill:not(.active):hover{background:var(--g-fill)}}
.glass.shop-side-on .side-pills .filter-pill:active{transform:scale(.98)}
.glass.shop-side-on .side-pills .filter-pill.has-subs::after{width:6px;height:6px;opacity:.45}
.glass.shop-side-on .shop-side .side-pills .dropdown{margin:4px 0 8px 14px;padding-left:6px;border-left:1px solid var(--g-hair-2)}
.glass.shop-side-on .shop-side .dropdown-item{min-height:34px;padding:6px 10px;border-radius:10px;font-size:14px;color:var(--g-ink-2)}
.glass.shop-side-on .shop-side .dropdown-item-count{background:none;padding:0;font-size:12px;color:var(--g-ink-3)}
.glass.shop-side-on .shop-side .side-pills .dropdown-item.active,.glass.shop-side-on .shop-side .side-pills .dropdown-item.active .dropdown-item-count{background:none;color:var(--g-tint)}
@media(hover:hover){.glass .dropdown-item:hover{background:var(--g-fill)}}

/* search suggestions */
.glass .search-suggest{padding:6px;border:0;border-radius:18px;background:var(--g-glass-strong);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
    box-shadow:var(--g-rim),var(--g-shadow-lift)}
.glass .search-suggest-head{margin:6px 10px 4px;font-size:12px;letter-spacing:0;text-transform:none;color:var(--g-ink-3)}
.glass .search-suggest-item + .search-suggest-head{border-top-color:var(--g-hair)}
.glass .search-suggest-item{border-radius:10px;font-size:14px;color:var(--g-ink)}
.glass .search-suggest-item:hover,.glass .search-suggest-item:focus-visible{background:var(--g-tint-wash);color:var(--g-tint)}
.glass .search-suggest-count{font-size:12px;color:var(--g-ink-3)}
.glass .search-results-note{margin:0 0 12px;font-size:15px;color:var(--g-ink-2)}
.glass .search-results-note strong{color:var(--g-ink)}

/* supplier pane */
.glass .sup-head{background:transparent;border:0;padding:12px 8px 6px}
.glass .sup-kicker{font-size:12px;letter-spacing:0;text-transform:none;line-height:1.4;color:var(--g-ink-3)}
.glass .sup-plate-main{color:var(--g-ink)}
.glass .sup-plate-sub{font-size:11px;letter-spacing:0;text-transform:none;color:var(--g-ink-3)}
.glass .sup-glide{border-radius:0 0 var(--g-r-panel) var(--g-r-panel)}

/* ---------- product cards ---------- */
.glass #products-grid.products-grid{gap:14px}
.glass #products-grid .product-card{background:rgba(255,255,255,.80);border:0;border-radius:var(--g-r-card);box-shadow:var(--g-rim),var(--g-shadow);
    transition:transform .3s var(--g-ease),box-shadow .3s var(--g-ease)}
.glass #products-grid .product-card:hover{border-color:transparent;transform:none;box-shadow:var(--g-rim),var(--g-shadow)}
@media(hover:hover){.glass #products-grid .product-card:not(.skeleton):hover{transform:translateY(-2px);box-shadow:var(--g-rim),var(--g-shadow-lift)}}
.glass #products-grid .product-card:active{transform:scale(.97);transition-duration:.12s}
.glass #products-grid .product-thumb,.glass.shop-side-on #products-grid .product-thumb{
    margin:6px 6px 0;border-radius:var(--g-r-photo);background:var(--g-photo)}
.glass.shop-side-on #products-grid .product-thumb:has(img){
    margin:6px 6px 0;border-radius:var(--g-r-photo);background:var(--g-photo)}
.glass.shop-side-on #products-grid .product-thumb{height:128px}
.glass #products-grid .product-thumb img{mix-blend-mode:multiply}
.glass #products-grid .product-badge{display:none}
.glass #products-grid .product-no-image{display:none}
.glass #products-grid .product-thumb[data-brand]:not(:has(img))::after{content:attr(data-brand);padding:0 10px;text-align:center;font-size:15px;line-height:1.3;color:var(--g-ink-3)}
.glass #products-grid .product-body,.glass.shop-side-on #products-grid .product-body{padding:10px 12px 12px}
.glass #products-grid .product-brand,.glass.shop-side-on #products-grid .product-brand{font-size:11px;letter-spacing:0;text-transform:none;color:var(--g-ink-3);margin-bottom:2px}
.glass #products-grid .product-name,.glass #products-grid .product-name-btn,.glass.shop-side-on #products-grid .product-name,.glass.shop-side-on #products-grid .product-name-btn{
    font-size:13px;line-height:1.3;color:var(--g-ink);margin-bottom:2px}
.glass #products-grid .product-meta,.glass.shop-side-on #products-grid .product-meta{font-size:11.5px;color:var(--g-ink-3);margin-bottom:10px}
.glass #products-grid .add-to-cart,.glass.shop-side-on #products-grid .add-to-cart{min-height:30px;padding:5px 14px;border-radius:999px;background:var(--g-tint-wash);color:var(--g-tint);
    font-size:12.5px;line-height:1.2;transition:background .2s ease,color .2s ease,transform .15s ease}
@media(hover:hover){.glass #products-grid .add-to-cart:hover{background:var(--g-tint-wash-2);transform:none}}
.glass #products-grid .add-to-cart:active{transform:scale(.95)}
.glass #products-grid .add-to-cart.added,.glass #products-grid .add-to-cart.added:hover{background:var(--g-tint);color:#fff}
.glass #products-grid .add-to-order{border:0;border-radius:999px;background:var(--g-tint-wash);color:var(--g-tint)}
.glass #products-grid .add-to-order.in-order{background:var(--g-tint);color:#fff}
.glass .product-order-badge{font-size:11px;box-shadow:none}
.glass .grid-qty{border-color:var(--g-tint);border-radius:999px}
.glass .grid-qty-btn{background:var(--g-tint)}

/* load more + back to top */
.glass .load-more-btn{min-height:44px;padding:10px 28px;border:0;border-radius:999px;background:rgba(255,255,255,.80);color:var(--g-tint);font-size:15px;box-shadow:var(--g-rim),var(--g-shadow)}
.glass .load-more-btn:hover{background:#fff;color:var(--g-tint)}
.glass .load-more-remaining,.glass .load-more-end{color:var(--g-ink-3)}
.glass .load-more-retry{background:var(--g-tint-wash);color:var(--g-tint);border:0}
@media(min-width:1025px){.glass.sup-rail-on .go-top{right:calc(max(132px,(100vw - 1232px) / 2 - 1rem) + 12px);bottom:24px}}

/* ---------- product window ---------- */
.glass #product-modal.modal-overlay{background:rgba(15,23,42,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:opacity .26s ease}
.glass .modal.product-modal{display:grid;grid-template-columns:340px minmax(0,1fr);gap:28px;align-items:center;max-width:760px;max-height:none;overflow:hidden;padding:20px;
    background:var(--g-glass-strong);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px);border-radius:var(--g-r-sheet);
    box-shadow:var(--g-rim),0 2px 6px rgba(16,32,96,.08),0 40px 90px -30px rgba(16,32,96,.50);
    transform:scale(.96);opacity:0;transition:transform .26s var(--g-ease),opacity .26s ease}
.glass #product-modal.open .modal.product-modal{transform:scale(1);opacity:1}
.glass .product-modal-close{top:14px;right:14px;width:36px;height:36px;background:rgba(255,255,255,.7);color:var(--g-ink-2);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
    box-shadow:var(--g-rim),0 4px 12px -6px rgba(16,32,96,.3)}
.glass .product-modal-close:hover{background:#fff;color:var(--g-ink)}
.glass .product-modal-close svg{width:15px;height:15px}
.glass .product-modal .product-modal-img{width:340px;height:340px;aspect-ratio:1;border-radius:24px;background:var(--g-photo)}
.glass .product-modal .product-modal-img:has(img){width:340px;height:340px;aspect-ratio:1;border-radius:24px;background:var(--g-photo)}
.glass .product-modal-img img,.glass .product-modal-img canvas{mix-blend-mode:multiply}
.glass .product-modal-placeholder{color:var(--g-ink-3)}
.glass .product-modal-placeholder span{display:none}
.glass .page-products .product-modal .product-modal-body,.glass .product-modal-body{display:flex;flex-direction:column;align-items:flex-start;padding:24px 8px 8px 0;background:transparent}
.glass .product-modal .product-modal-brand{order:1;font-size:13px;letter-spacing:0;text-transform:none;color:var(--g-ink-3);margin:0 0 6px}
.glass .product-modal .product-modal-name{order:2;font-size:24px;line-height:1.25;letter-spacing:-.01em;color:var(--g-ink);margin:0 0 8px}
.glass .product-modal .product-modal-packaging{order:3;font-size:15px;color:var(--g-ink-2);margin:0 0 4px}
.glass .product-modal .product-modal-badge,.glass .product-modal .product-modal-badge.food,.glass .product-modal .product-modal-badge.nonfood{
    order:4;padding:0;margin:0;background:none;font-size:13px;letter-spacing:0;text-transform:none;color:var(--g-ink-3)}
.glass .product-modal-actions{order:5;flex-direction:column;align-self:stretch;gap:10px;margin-top:28px}
.glass .product-modal .product-modal-cart-btn{min-height:48px;padding:12px 20px;border-radius:999px;background:var(--g-tint);color:#fff;font-size:16px;
    box-shadow:0 8px 20px -10px rgba(53,82,200,.6);transition:background .2s ease,transform .15s ease}
.glass .product-modal-cart-btn:hover{background:var(--g-tint-press)}
.glass .product-modal-cart-btn:active{transform:scale(.97)}
.glass .product-modal-cart-btn.added{background:var(--g-tint-press)}
.glass .product-modal .product-modal-order-btn{min-height:48px;border:0;border-radius:999px;background:var(--g-tint-wash);color:var(--g-tint);font-size:16px}
.glass .product-modal-order-btn:hover{background:var(--g-tint-wash-2)}
@media(max-height:600px) and (min-width:769px){
    .glass .product-modal .product-modal-img{width:min(340px,calc(100vh - 80px));height:min(340px,calc(100vh - 80px))}
    .glass .product-modal .product-modal-img:has(img){width:min(340px,calc(100vh - 80px));height:min(340px,calc(100vh - 80px))}
    .glass .modal.product-modal{grid-template-columns:auto minmax(0,1fr)}
}

/* ---------- browse by category + footer ---------- */
.glass .cat-index{border-top:0;padding:40px 0 48px}
.glass .cat-index h2{font-size:22px;color:var(--g-ink);letter-spacing:-.01em;margin-bottom:16px}
.glass .cat-others{gap:8px}
.glass .cat-others a{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border:0;border-radius:999px;background:rgba(255,255,255,.72);
    box-shadow:var(--g-rim),0 1px 2px rgba(16,32,96,.05),0 6px 16px -10px rgba(16,32,96,.22);font-size:14px;color:var(--g-ink-2)}
@media(hover:hover){.glass .cat-others a:hover{background:#fff;color:var(--g-tint)}}

/* ---------- phones and tablets ---------- */
@media(max-width:1024px){
    .glass .page-products .nav,.glass .nav{background:rgba(241,244,249,.66);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);border-bottom-color:var(--g-hair)}
    .glass .nav-hamburger{min-width:42px;min-height:42px;width:42px;height:42px;padding:0}
    .glass .nav-hamburger span{width:16px;height:1.5px;background:var(--g-ink)}
    .glass .nav-hamburger.active span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
    .glass .nav-hamburger.active span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
    .glass .page-products .products-header.has-brand-ad{padding:calc(var(--nav-height) + 8px) 0 0}
    .glass .ads-in{height:auto;min-height:120px}
    .glass .ads-mark{height:80px}
    .glass .ads-cluster{height:92px}
    .glass .ads-head{font-size:22px}
    .glass .page-products .products{padding-top:12px}

    /* supplier strip: one glass capsule */
    .glass .sup-strip{height:56px;margin:0 0 12px;border:0;border-radius:999px;background:var(--g-glass-strong);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
        box-shadow:var(--g-rim),var(--g-shadow)}
    .glass .sup-strip-label{padding:0 12px 0 18px;background:transparent;border-right:1px solid var(--g-hair);font-size:12px;letter-spacing:0;text-transform:none;color:var(--g-ink-3)}

    /* toolbar: segmented control, then categories + search on one row */
    .glass .products-toolbar{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;padding:6px 0}
    .glass .products-toolbar-left{display:contents}
    .glass .glass-seg{position:relative;flex:1 1 0;min-width:0;display:flex;padding:3px;border-radius:999px;background:var(--g-fill);box-sizing:border-box}
    .glass .glass-seg .filter-pill,.glass .glass-seg .filter-pill.active,.glass .glass-seg .filter-pill:hover{position:relative;z-index:1;flex:1 1 0;min-height:34px;padding:6px 8px;border:0;border-radius:999px;
        background:transparent;box-shadow:none;transform:none;font-size:14px;color:var(--g-ink);white-space:nowrap;transition:color .2s ease}
    .glass .glass-seg .filter-pill:not(.active){color:var(--g-ink-2)}
    .glass .glass-seg-thumb{position:absolute;top:3px;bottom:3px;left:0;width:0;border-radius:999px;background:#fff;
        box-shadow:0 1px 2px rgba(16,32,96,.10),0 4px 10px -3px rgba(16,32,96,.20)}
    .glass .glass-seg.is-ready .glass-seg-thumb{transition:transform .32s var(--g-ease),width .32s var(--g-ease)}
    .glass #cat-dropdown{flex:none}
    .glass .dropdown-trigger,.glass .products-toolbar-left .dropdown-trigger{min-height:40px;padding:6px 12px 6px 16px;border:0;border-radius:999px;background:rgba(255,255,255,.82);
        box-shadow:var(--g-rim),0 1px 2px rgba(16,32,96,.06),0 6px 16px -10px rgba(16,32,96,.25);font-size:14px;color:var(--g-ink)}
    .glass .dropdown.open .dropdown-trigger{color:var(--g-tint);box-shadow:var(--g-rim),0 0 0 3px var(--g-tint-wash-2)}
    .glass .dropdown-chevron{color:var(--g-ink-3)}
    .glass .dropdown-panel{border:0;border-radius:18px;background:var(--g-glass-strong);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);box-shadow:var(--g-rim),var(--g-shadow-lift)}
    .glass .dropdown-search{border-bottom-color:var(--g-hair)}
    .glass .dropdown-search input{border:0;border-radius:999px;background:var(--g-fill);font-size:16px}
    .glass .dropdown-item{border-radius:10px;font-size:14px;color:var(--g-ink)}
    .glass .dropdown-item.active{background:var(--g-tint-wash);color:var(--g-tint)}
    .glass .dropdown-item-count,.glass .dropdown-item.active .dropdown-item-count{background:none;color:var(--g-ink-3);font-size:12px}
    .glass .toolbar-right{flex:1 1 100%;width:auto;min-width:0;margin:0}
    .glass .toolbar-search,.glass .toolbar-search:focus-within{flex:1 1 auto;width:100%;max-width:none}
    .glass .toolbar-search input{background:rgba(255,255,255,.82);box-shadow:var(--g-rim),0 1px 2px rgba(16,32,96,.06),0 6px 16px -10px rgba(16,32,96,.25);font-size:16px}
    .glass .toolbar-search input:focus{background:#fff;box-shadow:var(--g-rim),0 0 0 3px var(--g-tint-wash-2)}
    .glass .products-toolbar.stuck,.glass .page-products .products-toolbar.stuck{background:rgba(241,244,249,.72);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);
        box-shadow:0 1px 0 var(--g-hair);border-radius:0;padding:8px 1.5rem}

    .glass #products-grid .product-thumb{height:120px;aspect-ratio:auto}
    .glass #products-grid .product-thumb img{width:auto;max-width:72%;height:auto;max-height:84%;object-fit:contain}
}
@media(min-width:769px) and (max-width:1024px){
    .glass .ads-in{padding:12px 28px}
    .glass .glass-seg{flex:0 0 330px}
    .glass .toolbar-right{flex:1 1 0}
}

/* phones */
@media(max-width:768px){
    .glass .nav .cart-btn{width:42px;height:42px;min-height:42px;padding:0;justify-content:center}
    .glass .nav .cart-btn-label{display:none}
    .glass .ads-v{border-radius:22px}
    .glass .glass-seg .filter-pill,.glass .glass-seg .filter-pill.active,.glass .glass-seg .filter-pill:hover{font-size:13px;padding:6px 4px}
    .glass .dropdown-trigger,.glass .products-toolbar-left .dropdown-trigger{padding:6px 10px 6px 14px;font-size:13px;gap:6px}
    .glass .dropdown-label{max-width:104px}
    .glass .products-toolbar .dropdown-panel{left:auto;right:0;min-width:240px;max-width:calc(100vw - 24px)}
    .glass .ads-in{min-height:0;padding:12px 14px 10px;gap:6px}
    .glass .ads-mark{display:none}
    .glass .ads-head{font-size:18px}
    .glass .ads-cluster{height:78px}
    .glass .page-products .products > .container{padding-left:12px;padding-right:12px}
    .glass .products-toolbar.stuck,.glass .page-products .products-toolbar.stuck{margin-left:-12px;margin-right:-12px;padding:8px 12px}
    .glass #products-grid.products-grid{gap:6px}
    .glass #products-grid .product-card{border-radius:14px}
    .glass #products-grid .product-thumb{height:60px;margin:3px 3px 0;border-radius:11px}
    .glass #products-grid .product-thumb[data-brand]:not(:has(img))::after{font-size:9px;padding:0 4px}
    .glass #products-grid .product-body{padding:5px 5px 6px}
    .glass #products-grid .product-brand{font-size:7px;margin-bottom:1px}
    .glass #products-grid .product-name,.glass #products-grid .product-name-btn{font-size:9px;line-height:1.25}
    .glass #products-grid .product-meta{font-size:7px;margin-bottom:4px}
    .glass #products-grid .add-to-cart{width:100%;min-height:24px;padding:4px 2px;font-size:8.5px}
    .glass .cat-index{padding:28px 0 36px}

    /* product window: a centred card, photo on top, never taller than the screen */
    .glass #product-modal.modal-overlay{padding:16px}
    .glass .modal.product-modal{grid-template-columns:minmax(0,1fr);gap:0;max-width:440px;max-height:100%;padding:12px;border-radius:28px;overflow:hidden}
    .glass .product-modal .product-modal-img{width:100%;height:min(calc(100vw - 56px),40vh);max-height:none;aspect-ratio:auto;border-radius:20px}
    .glass .product-modal .product-modal-img:has(img){width:100%;height:min(calc(100vw - 56px),40vh);max-height:none;aspect-ratio:auto;border-radius:20px}
    .glass .page-products .product-modal .product-modal-body,.glass .product-modal-body{padding:16px 8px 6px}
    .glass .product-modal .product-modal-name{font-size:20px}
    .glass .product-modal-actions{margin-top:18px}
    .glass .product-modal-close{width:38px;height:38px;top:20px;right:20px}
}
/* large phones and small tablets (600 to 768): still 4 per row, but the cards are wide enough for readable words */
@media(min-width:600px) and (max-width:768px){
    .glass .glass-seg{flex:0 0 300px}
    .glass .toolbar-right{flex:1 1 0}
    .glass .glass-seg .filter-pill,.glass .glass-seg .filter-pill.active,.glass .glass-seg .filter-pill:hover{font-size:14px}
    .glass .dropdown-trigger,.glass .products-toolbar-left .dropdown-trigger{font-size:14px}
    .glass #products-grid.products-grid{gap:10px}
    .glass #products-grid .product-card{border-radius:18px}
    .glass #products-grid .product-thumb{height:100px;margin:5px 5px 0;border-radius:13px}
    .glass #products-grid .product-thumb[data-brand]:not(:has(img))::after{font-size:13px}
    .glass #products-grid .product-body{padding:8px 10px 10px}
    .glass #products-grid .product-brand{font-size:10.5px}
    .glass #products-grid .product-name,.glass #products-grid .product-name-btn{font-size:12px}
    .glass #products-grid .product-meta{font-size:10.5px;margin-bottom:8px}
    .glass #products-grid .add-to-cart{min-height:30px;font-size:12px}
}
@media(max-width:768px) and (max-height:600px){
    .glass .product-modal .product-modal-img{height:30vh}
    .glass .product-modal .product-modal-img:has(img){height:30vh}
}

/* ---------- calm motion for those who ask for it ---------- */
@media(prefers-reduced-motion:reduce){
    .glass .ads-in,.glass .ads-kicker,.glass .ads-head,.glass .ads-mark,.glass .ads-cluster,.glass .shop-side,.glass .sup-rail,
    .glass #products-grid .product-card,.glass .modal.product-modal,.glass .glass-seg.is-ready .glass-seg-thumb{transition:none}
    .glass .modal.product-modal{transform:none}
    .glass .skel{animation:none}
}

@media(max-width:768px){
    .glass .ads-in{flex-wrap:nowrap;justify-content:flex-start;text-align:left;gap:10px;padding:8px 12px 8px 10px}
    .glass .ads-mark{display:block;height:56px;margin:0}
    .glass .ads-text{flex:1 1 auto;min-width:0}
    .glass .ads-head{font-size:16px;line-height:1.25}
    .glass .ads-cluster{flex:0 0 auto;flex-basis:auto;height:48px}
}
@media(max-width:374px){
    .glass .ads-head{font-size:15px}
    .glass .ads-cluster{height:40px}
}

html.glass{--g-glass:rgba(255,255,255,.36);--g-glass-strong:rgba(255,255,255,.60);--g-ink-2:#3a4560;--g-ink-3:#56617b}
html.glass .page-products .nav.scrolled,html.glass .nav.scrolled{background:rgba(255,255,255,.40)}
html.glass .ads-v{background:rgba(255,255,255,.44)}
html.glass #products-grid .product-card{background:rgba(255,255,255,.40)}
html.glass #products-grid .product-thumb,html.glass.shop-side-on #products-grid .product-thumb{background:rgba(255,255,255,.86)}
html.glass.shop-side-on #products-grid .product-thumb:has(img){background:rgba(255,255,255,.86)}
html.glass .product-modal .product-modal-img{background:rgba(255,255,255,.92)}
html.glass .product-modal .product-modal-img:has(img){background:rgba(255,255,255,.92)}
html.glass .search-suggest{background:rgba(255,255,255,.80)}
html.glass .cat-others a{background:rgba(255,255,255,.50)}
@media(max-width:1024px){
    html.glass .page-products .nav,html.glass .nav{background:rgba(255,255,255,.42)}
    html.glass .glass-seg{background:rgba(255,255,255,.36)}
    html.glass .dropdown-trigger,html.glass .products-toolbar-left .dropdown-trigger{background:rgba(255,255,255,.55)}
    html.glass .toolbar-search input{background:rgba(255,255,255,.55)}
    html.glass .dropdown-panel{background:rgba(255,255,255,.82)}
    html.glass .products-toolbar.stuck,html.glass .page-products .products-toolbar.stuck{background:rgba(255,255,255,.42)}
}

html.glass #products-grid .product-thumb,html.glass.shop-side-on #products-grid .product-thumb{background:#fff}
html.glass.shop-side-on #products-grid .product-thumb:has(img){background:#fff}
html.glass .product-modal .product-modal-img{background:#fff}
html.glass .product-modal .product-modal-img:has(img){background:#fff}

html.glass{--g-bg:#faf8f5;--bg:#faf8f5;--bg-alt:#f0ebe4;--g-glass:rgba(255,255,255,.22);--g-glass-strong:rgba(255,255,255,.42)}
html.glass,html.glass body::before{background:#faf8f5}

/* top bar: one light glass band with a fine line at all times, so the space above the card is measured from a clear line */
html.glass .page-products .nav,html.glass .nav,html.glass .page-products .nav.scrolled,html.glass .nav.scrolled{
    background:rgba(255,255,255,.30);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);border-bottom:1px solid rgba(15,23,42,.07);box-shadow:none}

/* the Mai-Mai card keeps its full size; 12 px under the top bar and 12 px above the products, at the top and while scrolling */
html.glass .page-products .products-header.has-brand-ad{padding:calc(var(--nav-height) + 13px) 0 12px}  /* 13 = 12 + the 1 px the hidden page title pulls up */
@media(max-width:1024px){html.glass .page-products .products-header.has-brand-ad{padding-bottom:0}}  /* phones and tablets: the products area brings its own 12 px */
@media(min-width:1025px){
    html.glass .page-products .products-header.has-brand-ad{height:auto;pointer-events:auto}
    html.glass .shop-side,html.glass .sup-rail{top:calc(var(--nav-height) + var(--ad-h,0px) + 24px);height:calc(100vh - var(--nav-height) - var(--ad-h,0px) - 36px)}
}
@media(min-width:1025px) and (min-height:600px){
    html.glass:has(.has-brand-ad){scroll-padding-top:calc(var(--nav-height) + var(--ad-h,0px) + 36px)}
}

/* clearer glass */
html.glass .ads-v{background:rgba(255,255,255,.26)}
html.glass #products-grid .product-card{background:rgba(255,255,255,.24);animation:none}
/* the photo sits straight on the glass: its white background melts into whatever is behind the card */
html.glass #products-grid .product-thumb,html.glass.shop-side-on #products-grid .product-thumb{background:transparent}
html.glass.shop-side-on #products-grid .product-thumb:has(img){background:transparent}
html.glass #products-grid .product-thumb img{mix-blend-mode:multiply}
html.glass #products-grid .product-thumb[data-brand]:not(:has(img)){background:rgba(255,255,255,.30)}
/* a card never lifts or shrinks (that would put a white box behind the photo); it brightens a little instead */
html.glass #products-grid .product-card:hover,html.glass #products-grid .product-card:active{transform:none}
@media(hover:hover){html.glass #products-grid .product-card:not(.skeleton):hover{transform:none;background:rgba(255,255,255,.40);box-shadow:var(--g-rim),var(--g-shadow-lift)}}
html.glass #products-grid .product-card:not(.skeleton):active{background:rgba(255,255,255,.46);transition-duration:.08s}

/* one glass header: the top bar and the Mai-Mai section share the same glass, one fine line under the Mai-Mai section */
html.glass .page-products .nav,html.glass .nav,html.glass .page-products .nav.scrolled,html.glass .nav.scrolled{border-bottom-color:transparent}
html.glass .page-products .products-header.has-brand-ad{padding:calc(var(--nav-height) + 1px) 0 12px}  /* +1 = the hidden page title pulls the band up 1 px */
@media(max-width:1024px){html.glass .page-products .products-header.has-brand-ad{padding-bottom:0}}
html.glass .ads-v{margin:0;border-radius:0;background:rgba(255,255,255,.30);box-shadow:none;border-bottom:1px solid rgba(15,23,42,.07)}
@media(max-width:768px){html.glass .ads-v{border-radius:0}}
@media(min-width:1025px){
    /* the words still start at the first product card, the logo still sits over the filter column, the photo ends with the cards */
    html.glass .ads-in{padding-left:var(--grid-left,280px);padding-right:calc(max(132px,(100vw - 1232px) / 2 - 1rem) + 16px)}
    html.glass .ads-mark{left:var(--side-mid,140px)}
    html.glass .shop-side,html.glass .sup-rail{top:calc(var(--nav-height) + var(--ad-h,0px) + 12px);height:calc(100vh - var(--nav-height) - var(--ad-h,0px) - 24px)}
}
@media(min-width:1025px) and (min-height:600px){html.glass:has(.has-brand-ad){scroll-padding-top:calc(var(--nav-height) + var(--ad-h,0px) + 24px)}}

/* clearer product cards: the glass is almost clear, its edge and soft shadow still show the card */
html.glass #products-grid .product-card{background:rgba(255,255,255,.10)}
html.glass #products-grid .product-thumb[data-brand]:not(:has(img)){background:rgba(255,255,255,.16)}
@media(hover:hover){html.glass #products-grid .product-card:not(.skeleton):hover{background:rgba(255,255,255,.24)}}
html.glass #products-grid .product-card:not(.skeleton):active{background:rgba(255,255,255,.30)}
@media(min-width:769px) and (max-width:1024px){html.glass .ads-in{padding-left:24px;padding-right:24px}}  /* tablets: the photo ends with the cards */

/* header: solid white, no glass (the products slide under it, out of sight) */
html.glass .page-products .nav,html.glass .nav,html.glass .page-products .nav.scrolled,html.glass .nav.scrolled{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
html.glass .ads-v{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}

/* clear glass: no fill and no floating shadow; a fine bright edge with a faint outline shows each pane */
html.glass{--glass-edge:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.55),0 0 0 1px rgba(15,23,42,.08),0 1px 2px rgba(16,32,96,.04)}
html.glass #products-grid .product-card{background:transparent;box-shadow:var(--glass-edge)}
html.glass #products-grid .product-thumb[data-brand]:not(:has(img)){background:transparent}
html.glass .shop-side,html.glass .sup-rail{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:var(--glass-edge)}
/* pointing at a card fills its glass a little and lifts it with a soft shadow (no movement: the photo stays clean) */
@media(hover:hover){html.glass #products-grid .product-card:not(.skeleton):hover{background:rgba(255,255,255,.55);box-shadow:var(--glass-edge),0 12px 28px -14px rgba(16,32,96,.28)}}
html.glass #products-grid .product-card:not(.skeleton):active{background:rgba(255,255,255,.70)}
@media(max-width:1024px){
    html.glass .sup-strip{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:var(--glass-edge)}
}

html.glass .ads-v{background:rgba(255,255,255,.30);-webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur)}
html.glass .page-products .nav,html.glass .nav,html.glass .page-products .nav.scrolled,html.glass .nav.scrolled{border-bottom-color:rgba(15,23,42,.07)}

/* wide screens: the filter panel */
html.glass .toolbar-search input{background:transparent;box-shadow:var(--glass-edge)}
html.glass .toolbar-search input:focus{background:transparent;box-shadow:var(--glass-edge),0 0 0 3px var(--g-tint-wash-2)}
html.glass.shop-side-on .side-pills .filter-pill.active,html.glass.shop-side-on .side-pills .filter-pill.active:hover{background:transparent;box-shadow:var(--glass-edge);color:var(--g-tint)}
@media(hover:hover){
    html.glass.shop-side-on .side-pills .filter-pill:not(.active):hover{background:rgba(255,255,255,.40);box-shadow:0 0 0 1px rgba(15,23,42,.05)}
    html.glass .dropdown-item:hover{background:rgba(255,255,255,.40);box-shadow:0 0 0 1px rgba(15,23,42,.05)}
}
/* phones and tablets: the All / Food / Non-Food switch, the categories button and the search box */
@media(max-width:1024px){
    html.glass .glass-seg{background:transparent;box-shadow:var(--glass-edge)}
    html.glass .glass-seg-thumb{background:transparent;box-shadow:var(--glass-edge),0 3px 10px -4px rgba(16,32,96,.22)}
    html.glass .glass-seg .filter-pill.active{color:var(--g-tint)}
    html.glass .dropdown-trigger,html.glass .products-toolbar-left .dropdown-trigger{background:transparent;box-shadow:var(--glass-edge)}
    html.glass .toolbar-search input{background:transparent;box-shadow:var(--glass-edge)}
    html.glass .toolbar-search input:focus{background:transparent;box-shadow:var(--glass-edge),0 0 0 3px var(--g-tint-wash-2)}
}

html.glass{
    --glass-frost:rgba(110,112,120,.09);
    --glass-frost-hover:rgba(110,112,120,.13);
    --glass-rim:inset 0 1px 0 #fff,inset 0 0 0 1px rgba(255,255,255,.9);
    --glass-lift:0 1px 2px rgba(16,32,96,.06),0 12px 28px -16px rgba(16,32,96,.30);
    --glass-chip:rgba(255,255,255,.78);
}
/* product cards: a small product window */
html.glass #products-grid .product-card{background:var(--glass-frost);box-shadow:var(--glass-rim),var(--glass-lift)}
html.glass #products-grid .product-thumb,html.glass.shop-side-on #products-grid .product-thumb{
    background:#fff;box-shadow:0 0 0 1px rgba(15,23,42,.035)}
html.glass.shop-side-on #products-grid .product-thumb:has(img){
    background:#fff;box-shadow:0 0 0 1px rgba(15,23,42,.035)}
html.glass #products-grid .product-thumb img{mix-blend-mode:normal}
html.glass #products-grid .product-thumb[data-brand]:not(:has(img)){background:#fff}
@media(hover:hover){html.glass #products-grid .product-card:not(.skeleton):hover{background:var(--glass-frost-hover);box-shadow:var(--glass-rim),0 2px 4px rgba(16,32,96,.07),0 18px 36px -16px rgba(16,32,96,.34)}}
html.glass #products-grid .product-card:not(.skeleton):active{background:rgba(110,112,120,.15)}
/* the filter panel and the supplier column: the same frosted glass */
html.glass .shop-side,html.glass .sup-rail{background:var(--glass-frost);box-shadow:var(--glass-rim),var(--glass-lift)}
/* on the frosted panel, the search box and the chosen category are white glass chips (like the window's close button) */
html.glass .toolbar-search input{background:var(--glass-chip);box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06)}
html.glass .toolbar-search input:focus{background:#fff;box-shadow:var(--glass-rim),0 0 0 3px var(--g-tint-wash-2)}
html.glass.shop-side-on .side-pills .filter-pill.active,html.glass.shop-side-on .side-pills .filter-pill.active:hover{background:var(--glass-chip);box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06);color:var(--g-tint)}
@media(hover:hover){
    html.glass.shop-side-on .side-pills .filter-pill:not(.active):hover{background:rgba(255,255,255,.45);box-shadow:none}
    html.glass .dropdown-item:hover{background:rgba(255,255,255,.45);box-shadow:none}
}
/* phones and tablets */
@media(max-width:1024px){
    html.glass .sup-strip{background:var(--glass-frost);box-shadow:var(--glass-rim),var(--glass-lift)}
    html.glass .glass-seg{background:var(--glass-frost);box-shadow:var(--glass-rim)}
    html.glass .glass-seg-thumb{background:rgba(255,255,255,.88);box-shadow:var(--glass-rim),0 3px 10px -4px rgba(16,32,96,.22)}
    html.glass .dropdown-trigger,html.glass .products-toolbar-left .dropdown-trigger{background:var(--glass-chip);box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06)}
    html.glass .toolbar-search input{background:var(--glass-chip);box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06)}
    html.glass .toolbar-search input:focus{background:#fff;box-shadow:var(--glass-rim),0 0 0 3px var(--g-tint-wash-2)}
}

/* ---------- sign-in window (login, create account, codes, forgot password, Google steps) ---------- */
html.glass #checkout-modal.modal-overlay{background:rgba(15,23,42,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html.glass #checkout-modal .modal{max-width:460px;background:var(--g-glass-strong);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px);
    border:0;border-radius:var(--g-r-sheet);box-shadow:var(--g-rim),0 2px 6px rgba(16,32,96,.08),0 40px 90px -30px rgba(16,32,96,.50)}
/* the top: no dark band, the logo and the words sit on the glass */
html.glass #checkout-modal .auth-hero{padding:26px 28px 6px;background:none;border-radius:0;color:var(--g-ink);overflow:visible}
html.glass #checkout-modal .auth-hero::before{content:none;display:none}
html.glass #checkout-modal .auth-hero-logo{width:40px;height:40px;margin:0 auto 8px;filter:none}
html.glass #checkout-modal .auth-hero h3{font-size:24px;line-height:1.2;letter-spacing:-.01em;color:var(--g-ink);margin:0 0 4px}
html.glass #checkout-modal .auth-hero p{font-size:14px;color:var(--g-ink-2)}
html.glass #checkout-modal .auth-close-btn{top:14px;right:14px;width:36px;height:36px;background:rgba(255,255,255,.7);color:var(--g-ink-2);
    -webkit-backdrop-filter:var(--g-blur);backdrop-filter:var(--g-blur);box-shadow:var(--g-rim),0 1px 2px rgba(16,32,96,.08)}
@media(hover:hover){html.glass #checkout-modal .auth-close-btn:hover{background:#fff;color:var(--g-ink)}}
html.glass #checkout-modal .modal-body{padding:14px 28px 26px}
/* Login | Create account: a glass switch */
html.glass #checkout-modal .auth-tabs{padding:3px;border-radius:999px;background:var(--glass-frost);box-shadow:var(--glass-rim);margin-bottom:16px}
html.glass #checkout-modal .auth-tab{min-height:38px;border-radius:999px;font-size:14px;color:var(--g-ink-2)}
html.glass #checkout-modal .auth-tab.active{background:rgba(255,255,255,.88);color:var(--g-ink);box-shadow:var(--glass-rim),0 3px 10px -4px rgba(16,32,96,.22)}
@media(hover:hover){html.glass #checkout-modal .auth-tab:hover:not(.active){color:var(--g-ink)}}
/* fields: white glass chips */
html.glass #checkout-modal .form-group label{font-size:13px;color:var(--g-ink-2)}
html.glass #checkout-modal .input-icon-wrap input,html.glass #checkout-modal .form-group > input,html.glass #checkout-modal .su-code{min-height:44px;border:0;border-radius:14px;
    background:var(--glass-chip);box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06);font-size:15px;color:var(--g-ink);transition:background .2s ease,box-shadow .2s ease}
html.glass #checkout-modal .input-icon-wrap input{padding:10px 14px 10px 40px}
html.glass #checkout-modal .input-icon-wrap:has(.pw-toggle) input{padding-right:44px}
html.glass #checkout-modal .input-icon-wrap svg{left:14px;width:16px;height:16px;color:var(--g-ink-3)}
html.glass #checkout-modal .input-icon-wrap input::placeholder,html.glass #checkout-modal .su-code::placeholder{color:var(--g-ink-3);opacity:1}
html.glass #checkout-modal .input-icon-wrap input:focus,html.glass #checkout-modal .form-group > input:focus,html.glass #checkout-modal .su-code:focus{
    background:#fff;border:0;box-shadow:var(--glass-rim),0 0 0 3px var(--g-tint-wash-2)}
html.glass #checkout-modal .pw-toggle{right:7px;width:32px;height:32px;border-radius:50%;color:var(--g-ink-3)}
@media(hover:hover){html.glass #checkout-modal .pw-toggle:hover{background:rgba(255,255,255,.7);color:var(--g-tint)}}
html.glass #checkout-modal .autocomplete-list{margin-top:6px;border:0;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:var(--g-rim),0 12px 30px -12px rgba(16,32,96,.30)}
/* small lines */
html.glass #checkout-modal .remember-me input[type="checkbox"],html.glass #checkout-modal .su-agree input{accent-color:var(--g-tint)}
html.glass #checkout-modal .remember-me label,html.glass #checkout-modal .su-agree{font-size:14px;color:var(--g-ink-2)}
html.glass #checkout-modal .auth-forgot{font-size:14px}
html.glass #checkout-modal .auth-forgot a,html.glass #checkout-modal .auth-switch a,html.glass #checkout-modal .su-agree a,html.glass #checkout-modal .su-link{color:var(--g-tint)}
html.glass #checkout-modal .auth-switch,html.glass #checkout-modal .su-code-links,html.glass #checkout-modal .su-code-note{font-size:14px;color:var(--g-ink-3)}
/* the main button: a solid blue capsule, like Add to Cart in the product window */
html.glass #checkout-modal .modal-submit,html.glass #checkout-modal .auth-submit{min-height:48px;border-radius:999px;background:var(--g-tint);color:#fff;font-size:16px;
    box-shadow:0 10px 22px -12px rgba(53,82,200,.65)}
@media(hover:hover){html.glass #checkout-modal .modal-submit:not(:disabled):hover{background:var(--g-tint-press)}}
/* or */
html.glass #checkout-modal .auth-divider{margin:14px 0 4px}
html.glass #checkout-modal .auth-divider::before,html.glass #checkout-modal .auth-divider::after{background:rgba(15,23,42,.10)}
html.glass #checkout-modal .auth-divider span{font-size:13px;letter-spacing:0;text-transform:none;color:var(--g-ink-3)}
/* Continue with Google: Google's own white button with its grey line (their rule), in a capsule */
html.glass #checkout-modal .auth-google-btn{min-height:48px;border-radius:999px;font-size:15px;color:#1f1f1f}
/* create account: the step bars, the password needs, the note after Google */
html.glass #checkout-modal .su-steps-bar i{background:rgba(110,112,120,.18)}
html.glass #checkout-modal .su-steps[data-step="1"] .su-steps-bar i:first-child,html.glass #checkout-modal .su-steps[data-step="2"] .su-steps-bar i{background:var(--g-tint)}
html.glass #checkout-modal .su-rules li{background:var(--glass-frost);color:var(--g-ink-2);font-size:12px}
html.glass #checkout-modal .su-rules li.is-met{background:var(--g-tint-wash-2);color:var(--g-tint)}
html.glass #checkout-modal .g-step-note{border-radius:14px;background:var(--g-tint-wash);color:var(--g-ink-2)}
html.glass #checkout-modal .auth-error{border-radius:14px}
@media(max-width:768px){
    html.glass #checkout-modal .modal{border-radius:28px}
    html.glass #checkout-modal .auth-hero{padding:22px 22px 4px}
    html.glass #checkout-modal .modal-body{padding:12px 20px 22px}
    html.glass #checkout-modal .input-icon-wrap input,html.glass #checkout-modal .form-group > input{font-size:16px}
}

/* ---------- the cart panel: a floating glass sheet on the right ---------- */
html.glass .cart-overlay{background:rgba(15,23,42,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html.glass .cart-drawer{top:12px;right:12px;bottom:12px;width:min(420px,calc(100vw - 24px));border-radius:28px;overflow:hidden;
    background:var(--g-glass-strong);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px);
    box-shadow:var(--g-rim),0 2px 6px rgba(16,32,96,.08),0 40px 90px -30px rgba(16,32,96,.50);transform:translateX(calc(100% + 160px))}
html.glass .cart-drawer.open{transform:translateX(0)}
html.glass .cart-header{padding:16px 16px 12px 22px;border-bottom:1px solid rgba(15,23,42,.08)}
html.glass .cart-header h3{font-size:20px;line-height:1.2;color:var(--g-ink)}
html.glass .cart-summary{font-size:13px;color:var(--g-ink-3)}
html.glass .cart-close{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.7);color:var(--g-ink-2);box-shadow:var(--g-rim),0 1px 2px rgba(16,32,96,.08)}
html.glass .cart-close svg{width:16px;height:16px}
@media(hover:hover){html.glass .cart-close:hover{background:#fff;color:var(--g-ink)}}
html.glass .cart-search{padding:10px 16px;border-bottom:1px solid rgba(15,23,42,.08)}
html.glass .cart-search input{min-height:38px;border:0;border-radius:999px;background:var(--glass-chip);box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06);font-size:14px;padding-left:34px}
html.glass .cart-search svg{left:28px;width:14px;height:14px}
html.glass .cart-items{padding:12px 14px}
/* each product: a small frosted card with its photo on a white tile, like the product cards */
html.glass .cart-item{gap:12px;margin:0 0 8px;padding:10px;border:0;border-radius:18px;background:var(--glass-frost);box-shadow:var(--glass-rim)}
html.glass .cart-item:last-child{border:0}
html.glass .cart-item-thumb{width:52px;height:52px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px rgba(15,23,42,.035)}
html.glass .cart-item-thumb img{object-fit:contain;padding:4px}
html.glass .cart-item-brand{font-size:11px;letter-spacing:0;text-transform:none;color:var(--g-ink-3)}
html.glass .cart-item-name{font-size:14px;color:var(--g-ink)}
html.glass .cart-item-meta{font-size:12px;color:var(--g-ink-3)}
html.glass .cart-item-actions{margin-top:6px}
html.glass .qty-control{border:0;border-radius:999px;background:var(--glass-chip);box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06)}
html.glass .qty-btn{width:30px;height:30px;font-size:15px;color:var(--g-tint)}
html.glass .qty-value,html.glass .qty-input{border:0;font-size:14px;color:var(--g-ink)}
html.glass .cart-item-remove{font-size:13px;color:var(--g-ink-3);margin-left:10px}
@media(hover:hover){html.glass .qty-btn:hover{background:rgba(53,82,200,.08)}html.glass .cart-item-remove:hover{color:var(--g-tint);opacity:1}}
html.glass .cart-empty{padding:48px 20px;color:var(--g-ink-3)}
html.glass .cart-empty svg{width:44px;height:44px;color:var(--g-ink-3);opacity:.6}
html.glass .cart-empty p{font-size:15px;color:var(--g-ink-3)}
/* bottom: the container gauge and the two actions */
html.glass .cart-footer,html.glass .page-products .cart-footer{padding:14px 16px 16px;background:transparent;border-top:1px solid rgba(15,23,42,.08)}
html.glass .cart-cbm{border-bottom-color:rgba(15,23,42,.08)}
html.glass .cbm-label,html.glass .cbm-ticks,html.glass .cbm-missing-text{font-size:12px;color:var(--g-ink-3)}
html.glass .cbm-value{font-size:13px;color:var(--g-ink)}
html.glass .cbm-bar{height:6px;border-radius:999px;background:var(--glass-frost)}
html.glass .cbm-bar-fill{border-radius:999px}
html.glass .cart-footer-buttons{gap:8px}
html.glass .request-quote-btn{min-height:44px;border-radius:999px;background:var(--glass-chip);color:var(--g-tint);box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06);font-size:14px}
html.glass .checkout-btn{min-height:44px;border-radius:999px;background:var(--g-tint);color:#fff;font-size:14px;box-shadow:0 10px 22px -12px rgba(53,82,200,.65)}
@media(hover:hover){html.glass .request-quote-btn:hover{background:#fff}html.glass .checkout-btn:not(:disabled):hover{background:var(--g-tint-press)}}
@media(max-width:768px){
    html.glass .cart-drawer{top:8px;right:8px;bottom:8px;width:calc(100vw - 16px);border-radius:24px}
}

html.glass #checkout-modal .auth-hero{padding:18px 24px 2px}
html.glass #checkout-modal .auth-hero-logo{width:34px;height:34px;margin:0 auto 6px}
html.glass #checkout-modal .auth-hero h3{font-size:22px;margin:0 0 2px}
html.glass #checkout-modal .modal-body{padding:10px 26px 20px}
html.glass #checkout-modal .auth-tabs{margin-bottom:12px}
html.glass #checkout-modal .auth-tab{min-height:36px}
html.glass #checkout-modal .input-icon-wrap input,html.glass #checkout-modal .form-group > input{min-height:42px}
html.glass #checkout-modal .remember-me{margin-top:10px}
html.glass #checkout-modal .auth-forgot{margin-top:8px}
html.glass #checkout-modal .modal-submit,html.glass #checkout-modal .auth-submit{min-height:46px}
html.glass #checkout-modal .auth-submit{margin-top:12px}
html.glass #checkout-modal .auth-divider{margin:10px 0 2px}
html.glass #checkout-modal .auth-google-btn{min-height:44px}
/* the password needs: plain round dots (no gradient); a met one shows its tick */
html.glass #checkout-modal .su-rules li::before{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.45}
html.glass #checkout-modal .su-rules li.is-met::before{width:.7rem;height:.7rem;border-radius:0;opacity:1}
/* a product in the cart: brand and name on top, case size on the left and the quantity on the right of one line */
html.glass .cart-item{align-items:center;padding:9px 10px}
html.glass .cart-item-info{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand brand" "name name" "meta actions";column-gap:10px;align-items:center}
html.glass .cart-item-brand{grid-area:brand}
html.glass .cart-item-name{grid-area:name}
html.glass .cart-item-meta{grid-area:meta;margin:0}
html.glass .cart-item-actions{grid-area:actions;margin:0;flex-wrap:nowrap}
html.glass .qty-btn{width:28px;height:28px}
html.glass .cart-items{padding:10px 12px}
html.glass .cart-item{margin:0 0 6px;padding:8px 10px 8px 8px}
html.glass .cart-item-thumb{width:48px;height:48px}
html.glass .cart-header{padding:14px 14px 10px 20px}
html.glass .cart-search{padding:8px 14px}
html.glass .cart-search input{min-height:34px}
html.glass .cart-footer,html.glass .page-products .cart-footer{padding:12px 16px 14px}

html.glass #checkout-modal .input-icon-wrap input,html.glass #checkout-modal .form-group > input,html.glass #checkout-modal .su-code{
    background:rgba(255,255,255,.30);box-shadow:inset 0 1px 0 rgba(255,255,255,.85),inset 0 0 0 1px rgba(255,255,255,.55),0 0 0 1px rgba(15,23,42,.05)}
html.glass #checkout-modal .input-icon-wrap input:focus,html.glass #checkout-modal .form-group > input:focus,html.glass #checkout-modal .su-code:focus{
    background:rgba(255,255,255,.46);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(255,255,255,.6),0 0 0 3px var(--g-tint-wash-2)}

html.glass .footer{--teal:#2a9d8f}
@media(min-width:1025px){
    html.glass .shop-side{height:var(--glass-side-h,calc(100vh - var(--nav-height) - var(--ad-h,0px) - 24px))}
    html.glass .sup-rail{height:var(--glass-rail-h,calc(100vh - var(--nav-height) - var(--ad-h,0px) - 24px))}
}
html.glass .load-more-wrap:empty{margin-top:0}
html.glass section.products{padding-bottom:48px}

html.glass #products-grid .product-name,html.glass #products-grid .product-name-btn{font-size:12px;line-height:1.3}
@media(min-width:600px) and (max-width:768px){html.glass #products-grid .product-name,html.glass #products-grid .product-name-btn{font-size:11px}}
@media(max-width:599px){html.glass #products-grid .product-name,html.glass #products-grid .product-name-btn{font-size:9px;line-height:1.25}}

html.glass .cart-item-info:has(.ci-confirm){grid-template-areas:"brand brand" "name name" "meta meta" "actions actions"}
html.glass .cart-item-actions:has(.ci-confirm){margin-top:6px}
html.glass .cart-item-actions:has(.ci-confirm) .qty-control{display:none}
html.glass .ci-confirm{flex:1 1 100%;display:flex;align-items:center;gap:8px;margin-left:0}
html.glass .ci-confirm-label{margin-right:auto;font-size:13px;letter-spacing:0;text-transform:none;color:var(--g-ink-2)}
html.glass .ci-confirm-btn{min-height:32px;padding:0 14px;border:0;border-radius:999px;font-size:13px;background:var(--glass-chip);color:var(--g-ink);
    box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06)}
html.glass .ci-confirm-btn.danger{background:rgba(198,40,40,.08);color:#c62828}
@media(hover:hover){
    html.glass .ci-confirm-btn:hover{background:#fff;color:var(--g-tint);border:0}
    html.glass .ci-confirm-btn.danger:hover{background:rgba(198,40,40,.14);color:#b71c1c}
}
/* phones: the quantity always has its own line under the case size, so a long case size never gets squeezed */
@media(max-width:768px){
    html.glass .cart-item-info{grid-template-areas:"brand brand" "name name" "meta meta" "actions actions"}
    html.glass .cart-item-actions{margin-top:6px;justify-content:space-between}
    html.glass .ci-confirm-btn{min-height:38px}
}

html.glass .toolbar-search input,html.glass .cart-search input{background:rgba(255,255,255,.30);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85),inset 0 0 0 1px rgba(255,255,255,.55),0 0 0 1px rgba(15,23,42,.06)}
html.glass .toolbar-search input:focus,html.glass .cart-search input:focus{background:rgba(255,255,255,.46);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(255,255,255,.6),0 0 0 3px var(--g-tint-wash-2)}

html.glass .cart-item{gap:10px;margin:0 0 6px;padding:7px 10px 7px 7px;border-radius:16px}
html.glass .cart-item-thumb{width:40px;height:40px;border-radius:10px}
html.glass .cart-item-brand{font-size:10px;line-height:1.3}
html.glass .cart-item-name{font-size:12px;line-height:1.3}
html.glass .cart-item-meta{font-size:11px;line-height:1.3}
html.glass .qty-btn{width:24px;height:24px;font-size:13px}
html.glass .qty-value,html.glass .qty-input{width:30px;height:24px;font-size:12px}
html.glass .cart-item-remove{font-size:12px;margin-left:8px}
html.glass .ci-confirm-label{font-size:12px}
html.glass .ci-confirm-btn{min-height:28px;padding:0 12px;font-size:12px}
/* phones: the same smaller text, the + and - stay easy to tap */
@media(max-width:768px){
    html.glass .qty-btn{width:34px;height:34px;font-size:15px}
    html.glass .qty-value,html.glass .qty-input{width:38px;height:34px;font-size:14px}
    html.glass .cart-item-remove{min-height:34px}
    html.glass .ci-confirm-btn{min-height:34px}
}

html.glass #products-grid .product-name,html.glass #products-grid .product-name-btn{font-size:11px;line-height:1.3}
html.glass #products-grid .product-brand,html.glass.shop-side-on #products-grid .product-brand{font-size:10px}
html.glass #products-grid .product-meta,html.glass.shop-side-on #products-grid .product-meta{font-size:10.5px}
@media(max-width:599px){
    html.glass #products-grid .product-name,html.glass #products-grid .product-name-btn{font-size:9px;line-height:1.25}
    html.glass #products-grid .product-brand,html.glass #products-grid .product-meta{font-size:7px}
}
/* the heading is a frosted band (the panel's own colour) with a fine line; the moving logos pass under it and blur away */
html.glass .sup-head{position:relative;z-index:2;padding:12px 8px 10px;background:rgba(237,236,234,.90);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid rgba(15,23,42,.07);border-radius:var(--g-r-panel) var(--g-r-panel) 0 0}
html.glass .sup-glide:not(.is-still){overflow:visible}

html.glass .sup-head{align-items:center;text-align:center}

html.glass .nav .nav-link{font-family:'Chillax','General Sans',sans-serif!important;letter-spacing:normal}
html.glass .nav .nav-user-btn{font-family:'Chillax','General Sans',sans-serif!important;letter-spacing:normal}  /* same as live, but regular weight (no-bold rule) */

html.glass .cart-item-remove{position:relative;flex:none;display:inline-block;width:26px;height:26px;min-height:26px;margin-left:4px;padding:0;border-radius:50%;
    overflow:hidden;white-space:nowrap;text-indent:200%;color:var(--g-ink-3);transition:background .15s ease,color .15s ease}
html.glass .cart-item-remove::before{content:'';position:absolute;inset:0;margin:auto;width:15px;height:15px;background:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E") center/contain no-repeat}
html.glass .cart-item-remove:focus-visible{outline:2px solid var(--g-tint);outline-offset:1px}
@media(hover:hover){html.glass .cart-item-remove:hover{background:rgba(198,40,40,.08);color:#c62828;opacity:1}}
/* phones: a bigger target for the thumb */
@media(max-width:768px){html.glass .cart-item-remove{width:36px;height:36px;min-height:36px}html.glass .cart-item-remove::before{width:18px;height:18px}}

html.glass #products-grid .product-card .product-name,html.glass #products-grid .product-card .product-name-btn{font-size:10px;line-height:1.3}
html.glass #products-grid .product-brand,html.glass.shop-side-on #products-grid .product-brand{font-size:9px}
html.glass #products-grid .product-meta,html.glass.shop-side-on #products-grid .product-meta{font-size:9.5px}
@media(max-width:599px){
    html.glass #products-grid .product-name,html.glass #products-grid .product-name-btn{font-size:9px;line-height:1.25}
    html.glass #products-grid .product-brand,html.glass #products-grid .product-meta{font-size:7px}
}
@media(max-width:599px){html.glass #products-grid .product-card .product-name,html.glass #products-grid .product-card .product-name-btn{font-size:9px;line-height:1.25}}  /* phones keep their size */

/* blur only where it shows */
html.glass .nav .cart-btn,html.glass .nav-hamburger{-webkit-backdrop-filter:none;backdrop-filter:none}   /* the top bar behind them is solid white */
/* the supplier heading: the panel's own colour, solid (the logos move under it all the time, so a blur there would never rest) */
html.glass .sup-head{background:rgb(237,236,234);-webkit-backdrop-filter:none;backdrop-filter:none}
/* the two glass bars that products scroll under: a lighter blur, the same frosted look */
html.glass .ads-v{-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}
html.glass .products-toolbar.stuck,html.glass .page-products .products-toolbar.stuck{-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}

/* plain mode (html.glass-lite: slow scrolling, data saver or a very small device): no blur anywhere, near-solid fills */
html.glass-lite *,html.glass-lite *::before,html.glass-lite *::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.glass-lite.glass .ads-v{background:rgba(250,248,245,.97)}
html.glass-lite.glass #checkout-modal .modal,html.glass-lite.glass .modal.product-modal,html.glass-lite.glass .cart-drawer{background:rgba(244,244,245,.98)}
html.glass-lite.glass .modal-overlay,html.glass-lite.glass .cart-overlay{background:rgba(15,23,42,.38)}
html.glass-lite.glass .products-toolbar.stuck,html.glass-lite.glass .page-products .products-toolbar.stuck{background:rgba(250,248,245,.98)}
html.glass-lite.glass .search-suggest,html.glass-lite.glass .dropdown-panel{background:#fff}
html.glass-lite.glass .shop-side .dropdown-panel{background:none}

/* ---- the filter panel: the search box, Category and All / Food / Non-Food stay in place; only the open list scrolls ---- */
@media(min-width:1025px){
    html.glass.shop-side-on .shop-side{display:flex;flex-direction:column;overflow:hidden}
    html.glass.shop-side-on .shop-side > .side-search{flex:none}
    html.glass.shop-side-on .shop-side > .side-sec{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
    html.glass.shop-side-on .shop-side > .side-sec > .side-head{flex:none}
    html.glass.shop-side-on .shop-side > .side-sec > .side-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
    html.glass.shop-side-on .shop-side > .side-sec.is-closed > .side-body{display:none}
    html.glass.shop-side-on .shop-side .side-pills{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
    html.glass.shop-side-on .shop-side .side-pills > .filter-pill{flex:none}
    html.glass.shop-side-on .shop-side .side-pills > .dropdown{flex:0 1 auto;min-height:0;display:flex;flex-direction:column}
    html.glass.shop-side-on .shop-side .side-pills > .dropdown.is-folded{display:none}
    html.glass.shop-side-on .shop-side .side-pills > .dropdown .dropdown-panel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
    html.glass.shop-side-on .shop-side .side-pills > .dropdown .dropdown-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;
        scrollbar-width:thin;scrollbar-color:rgba(15,23,42,.18) transparent;padding-right:2px}
    html.glass.shop-side-on .shop-side .side-pills > .dropdown .dropdown-list::-webkit-scrollbar{width:6px}
    html.glass.shop-side-on .shop-side .side-pills > .dropdown .dropdown-list::-webkit-scrollbar-thumb{background:rgba(15,23,42,.18);border-radius:3px}
}

html.glass .ads-cluster{cursor:pointer;border-radius:14px;transition:transform .2s ease;-webkit-tap-highlight-color:transparent}
html.glass .ads-cluster:focus-visible{outline:2px solid var(--g-tint);outline-offset:4px}
@media(hover:hover){html.glass .ads-cluster:hover{transform:scale(1.04)}}
html.glass .ads-cluster:active{transform:scale(.98)}
@media(prefers-reduced-motion:reduce){html.glass .ads-cluster,html.glass .ads-cluster:hover,html.glass .ads-cluster:active{transition:none;transform:none}}

/* typing boxes: a clear blue line while in use (as the page had before the glass look), one ring only */
html.glass .toolbar-search input:focus-visible,html.glass .cart-search input:focus-visible,
html.glass #checkout-modal .input-icon-wrap input:focus-visible,html.glass #checkout-modal .form-group > input:focus-visible,html.glass #checkout-modal .su-code:focus-visible{outline:none}
html.glass .toolbar-search input:focus,html.glass .cart-search input:focus,
html.glass #checkout-modal .input-icon-wrap input:focus,html.glass #checkout-modal .form-group > input:focus,html.glass #checkout-modal .su-code:focus{
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1.5px var(--g-tint),0 0 0 4.5px var(--g-tint-wash-2)}

/* the picked supplier logo: a thin blue ring while only its products are showing (inside the logo's own space,
   which the moving column cuts at the sides); the featured-brand picture shows no ring when picked */
html.glass .sup-logo.sup-pick{transition:transform .2s ease,box-shadow .2s ease}
html.glass .sup-logo.sup-pick[aria-pressed="true"]{box-shadow:inset 0 0 0 1.5px var(--g-tint)}

/* closed windows: no blur behind them (an unseen full-screen blur behind every closed window made scrolling about four
   times slower); the blur fades in and out with the dim */
html.glass .modal-overlay,html.glass #checkout-modal.modal-overlay,html.glass #product-modal.modal-overlay,html.glass .cart-overlay{
    transition:opacity .26s ease,-webkit-backdrop-filter .26s ease,backdrop-filter .26s ease}
html.glass .modal-overlay:not(.open),html.glass #checkout-modal.modal-overlay:not(.open),html.glass #product-modal.modal-overlay:not(.open),
html.glass .cart-overlay:not(.open){-webkit-backdrop-filter:none;backdrop-filter:none}
@media(forced-colors:active){html.glass .sup-logo.sup-pick[aria-pressed="true"]{outline:2px solid Highlight;outline-offset:-2px}}

/* phones: the Category list opens centred on the screen, like before (the glass rule above pinned it to the right while
   the older centring shift still moved it half off the screen) */
@media(max-width:768px){
    html.glass .products-toolbar .dropdown-panel{left:50%;right:auto;max-width:none}
}
/* Create account waits for the "I agree" tick: pale until then, as before (the solid blue made it look ready) */
html.glass #checkout-modal .auth-submit[aria-disabled="true"],html.glass #checkout-modal .auth-submit[aria-disabled="true"]:hover{
    background:#e1e7f5;color:#56679f;box-shadow:none;cursor:not-allowed}
/* a list opened from the pinned filter bar cannot blur what lies under the bar: solid there, so it reads cleanly */
html.glass .products-toolbar.stuck .dropdown-panel,html.glass .products-toolbar.stuck .search-suggest{background:#fff}
/* phones and tablets: the room for the "Our Direct Supplier" strip is kept until it arrives, so the list never jumps */
@media(max-width:1024px){
    html.glass:not(.sup-none) section.products > .container:not(:has(> .sup-strip))::before{content:'';display:block;height:68px}
}
/* a browser that cannot blur, or a person who asked for less see-through: every window and the cart turn almost solid */
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
    html.glass .modal-overlay .modal,html.glass .cart-drawer{background-color:rgba(255,255,255,.94)!important}
}
@media(prefers-reduced-transparency:reduce){
    html.glass .modal-overlay .modal,html.glass .cart-drawer{background-color:rgba(255,255,255,.94)!important}
}
/* ---- the windows a signed-in client opens (quote, products in the quote, add to an order, the "are you sure" box,
   place order): the same glass, words and buttons as the sign-in window; no dark band, no capitals, no cream ---- */
html.glass #quote-modal.modal-overlay,html.glass #quote-items-modal.modal-overlay,html.glass #add-ongoing-modal.modal-overlay,
html.glass #add-to-order-modal.modal-overlay{background:rgba(15,23,42,.22)}
html.glass .modal-overlay:has(> .bp-confirm){background:rgba(15,23,42,.22)}
html.glass #quote-modal.modal-overlay.open,html.glass #quote-items-modal.modal-overlay.open,html.glass #add-ongoing-modal.modal-overlay.open,
html.glass #add-to-order-modal.modal-overlay.open{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html.glass .modal-overlay.open:has(> .bp-confirm){-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html.glass #quote-modal .modal,html.glass #quote-items-modal .modal,html.glass #add-ongoing-modal .modal,html.glass #add-to-order-modal .modal,
html.glass .modal-overlay .modal.bp-confirm{background:var(--g-glass-strong);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px);
    border:0;border-radius:var(--g-r-sheet);box-shadow:var(--g-rim),0 2px 6px rgba(16,32,96,.08),0 40px 90px -30px rgba(16,32,96,.50)}
html.glass #quote-modal .auth-close-btn,html.glass #add-ongoing-modal .auth-close-btn,html.glass #add-to-order-modal .auth-close-btn{top:14px;right:14px;
    width:36px;height:36px;border-radius:999px;background:rgba(255,255,255,.7);color:var(--g-ink-2);box-shadow:var(--g-rim),0 1px 2px rgba(16,32,96,.08)}
@media(hover:hover){html.glass #quote-modal .auth-close-btn:hover,html.glass #add-ongoing-modal .auth-close-btn:hover,
    html.glass #add-to-order-modal .auth-close-btn:hover{background:#fff;color:var(--g-ink)}}
/* Request a quote: the top sits on the glass */
html.glass #quote-modal .auth-hero{padding:24px 56px 2px;background:none;border-radius:0;color:var(--g-ink)}
html.glass #quote-modal .auth-hero::before{content:none;display:none}
html.glass #quote-modal .auth-hero h3{font-size:22px;line-height:1.2;letter-spacing:-.01em;color:var(--g-ink);margin:0 0 4px}
html.glass #quote-modal .auth-hero p{font-size:14px;color:var(--g-ink-2)}
html.glass #quote-modal .modal-body{padding:12px 28px 24px}
/* boxes inside the windows: information boxes and choices wear the products page's own clear glass (like the product
   cards and the filter panel); boxes you type in keep the search box's look */
html.glass #quote-modal .quote-user-card,html.glass #checkout-modal .checkout-user-card,html.glass #add-to-order-modal .ato-product,
html.glass #quote-modal .quote-ship-opt{border:0;border-radius:14px;background:var(--glass-frost);box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06)}
html.glass #quote-modal textarea,html.glass #quote-modal input[type="text"],html.glass #add-to-order-modal .ato-stepper,
html.glass #quote-items-modal .qi-qty{border:0;border-radius:14px;background:rgba(255,255,255,.30);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85),inset 0 0 0 1px rgba(255,255,255,.55),0 0 0 1px rgba(15,23,42,.05)}
html.glass #quote-items-modal .qi-qty-input{background:transparent;border:0}
html.glass #add-to-order-modal .ato-product-icon,html.glass .modal-overlay .bp-confirm-icon:not(.is-danger){background:var(--g-tint-wash);color:var(--g-tint)}
html.glass .modal-overlay .bp-confirm-actions{background:transparent}
html.glass #quote-modal .quote-user-card-row strong{color:var(--g-ink-3);font-weight:400}
html.glass #quote-modal .quote-items-summary{border:0;border-radius:14px;background:var(--g-tint-wash)}
html.glass #quote-modal .quote-ship-label,html.glass #quote-modal .form-group label{font-size:13px;color:var(--g-ink-2)}
html.glass #quote-modal .quote-ship-opt{color:var(--g-ink)}
html.glass #quote-modal .quote-ship-opt:has(input:checked){background:var(--g-tint-wash);color:var(--g-tint);box-shadow:inset 0 0 0 1.5px var(--g-tint)}
html.glass #quote-modal textarea:focus,html.glass #quote-modal input[type="text"]:focus{outline:none;background:rgba(255,255,255,.46);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1.5px var(--g-tint),0 0 0 4.5px var(--g-tint-wash-2)}
html.glass #add-to-order-modal .ato-stepper:focus-within{box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1.5px var(--g-tint),0 0 0 4.5px var(--g-tint-wash-2)}
html.glass #add-to-order-modal .ato-step{background:transparent;color:var(--g-tint)}
@media(hover:hover){html.glass #add-to-order-modal .ato-step:hover{background:var(--g-tint-wash)}}
html.glass #add-to-order-modal .ato-qty-input{background:transparent;border:0}
html.glass #quote-modal .form-privacy-note{color:var(--g-ink-3)}
/* Place order: the in-progress order note is a light blue box with ordinary words */
html.glass #checkout-modal .checkout-merge-banner{border:0;border-radius:16px;background:var(--g-tint-wash)}
html.glass #checkout-modal .checkout-merge-banner.is-locked{background:rgba(15,23,42,.04)}
html.glass #checkout-modal .checkout-merge-banner-title{font-size:14px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--g-tint)}
html.glass #checkout-modal .checkout-merge-banner.is-locked .checkout-merge-banner-title{color:var(--g-ink-3)}
html.glass #checkout-modal .checkout-merge-banner-body{color:var(--g-ink)}
html.glass #checkout-modal .checkout-merge-banner-btn{border:0;border-radius:999px;background:var(--glass-frost);color:var(--g-tint);font-weight:400;
    box-shadow:var(--glass-rim),inset 0 0 0 1px rgba(53,82,200,.30)}
@media(hover:hover){html.glass #checkout-modal .checkout-merge-banner-btn:hover{background:var(--g-tint);color:#fff}}
/* products in the quote: ordinary words for the column names and totals, no cream bar */
html.glass #quote-items-modal .qi-modal-header{background:none;border-bottom:1px solid rgba(15,23,42,.08)}
html.glass #quote-items-modal .qi-back-btn{border:0;border-radius:999px;background:rgba(255,255,255,.7);box-shadow:var(--g-rim)}
html.glass #quote-items-modal .qi-header{background:rgba(15,23,42,.035);font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--g-ink-3)}
html.glass #quote-items-modal .qi-total-label,html.glass #quote-items-modal .qi-confirm-label{font-size:12px;font-weight:400;letter-spacing:0;
    text-transform:none;color:var(--g-ink-3)}
html.glass #quote-items-modal .qi-footer{background:none;border-top:1px solid rgba(15,23,42,.08)}
/* Add to Ongoing Order: one blue, no gradient */
html.glass #add-to-order-modal .ato-head-icon{background:var(--g-tint);border-radius:12px;box-shadow:0 8px 18px -10px rgba(53,82,200,.7)}
html.glass #add-to-order-modal .ato-title{font-weight:400;color:var(--g-ink)}
/* the cart's order tabs: no cream band */
html.glass .cart-drafts{background:transparent;border-bottom:1px solid rgba(15,23,42,.08)}
html.glass .cart-drafts-new{background:var(--glass-frost);border:1px dashed rgba(15,23,42,.22)}
html.glass .cart-draft-toolbar{background:transparent;border-bottom:1px solid rgba(15,23,42,.08)}
html.glass .cart-draft-name[contenteditable="true"]{background:rgba(255,255,255,.7)}
html.glass #quote-modal .quote-ship-opt input{background:transparent}
/* buttons in these windows: the blue capsule and the light glass capsule of the sign-in window */
html.glass #quote-modal .modal-submit,html.glass #add-ongoing-modal .quote-confirm-send,html.glass #quote-modal .quote-confirm-send,
html.glass #add-to-order-modal .ato-btn-primary,html.glass #quote-items-modal .qi-done-btn,html.glass .modal-overlay .bp-confirm-btn.is-primary{
    min-height:46px;border:0;border-radius:999px;background:var(--g-tint);color:#fff;font-weight:400;box-shadow:0 10px 22px -12px rgba(53,82,200,.65)}
@media(hover:hover){html.glass #quote-modal .modal-submit:not(:disabled):hover,html.glass #add-ongoing-modal .quote-confirm-send:not(:disabled):hover,
    html.glass #quote-modal .quote-confirm-send:not(:disabled):hover,html.glass #add-to-order-modal .ato-btn-primary:not(:disabled):hover,
    html.glass #quote-items-modal .qi-done-btn:hover,html.glass .modal-overlay .bp-confirm-btn.is-primary:hover{background:var(--g-tint-press);transform:none}}
html.glass #checkout-modal .modal-cancel,html.glass #quote-modal .quote-confirm-back,html.glass #add-ongoing-modal .quote-confirm-back,
html.glass #add-to-order-modal .ato-btn-ghost,html.glass .modal-overlay .bp-confirm-btn:not(.is-primary):not(.is-danger){min-height:46px;border:0;
    border-radius:999px;background:var(--glass-frost);color:var(--g-ink-2);font-weight:400;box-shadow:var(--glass-rim),0 1px 2px rgba(16,32,96,.06)}
@media(hover:hover){html.glass #checkout-modal .modal-cancel:hover,html.glass #quote-modal .quote-confirm-back:hover,html.glass #add-ongoing-modal .quote-confirm-back:hover,
    html.glass #add-to-order-modal .ato-btn-ghost:hover,html.glass .modal-overlay .bp-confirm-btn:not(.is-primary):not(.is-danger):hover{background:rgba(110,112,120,.16);color:var(--g-ink)}}
html.glass .modal-overlay .bp-confirm-btn.is-danger{min-height:46px;border:0;border-radius:999px;font-weight:400}

/* short screens (small phones, a laptop at 125% zoom): the sign-in window keeps everything on screen without scrolling
   inside; the little globe gives up its place first */
@media(max-height:700px){
    html.glass #checkout-modal .auth-hero{padding:14px 52px 0}
    html.glass #checkout-modal .auth-hero-logo{display:none}
    html.glass #checkout-modal .auth-hero h3{font-size:20px}
    html.glass #checkout-modal .auth-hero p{font-size:13px}
    html.glass #checkout-modal .modal-body{padding:8px 24px 14px}
    html.glass #checkout-modal .auth-tabs{margin-bottom:10px}
    html.glass #checkout-modal .auth-tab{min-height:34px}
    html.glass #checkout-modal .input-icon-wrap input,html.glass #checkout-modal .form-group > input{min-height:40px}
    html.glass #checkout-modal .remember-me{margin-top:8px}
    html.glass #checkout-modal .auth-forgot{margin-top:6px}
    html.glass #checkout-modal .modal-submit,html.glass #checkout-modal .auth-submit{min-height:44px}
    html.glass #checkout-modal .auth-submit{margin-top:10px}
    html.glass #checkout-modal .auth-divider{margin:8px 0 2px}
    html.glass #checkout-modal .auth-google-btn{min-height:42px;margin-top:6px}
    html.glass #checkout-modal .auth-switch{margin-top:6px}
}
@media(max-height:600px){
    html.glass #checkout-modal .auth-hero p{display:none}
    html.glass #checkout-modal .auth-hero{padding-bottom:4px}
}

/* older browsers that do not know :has() (current ones skip this block): the brand name on photo-less tiles, the
   password clear of its eye button, and the jump back to the results landing under the bars */
@supports not selector(:has(a)){
    .glass #products-grid .product-thumb[data-brand]::after{content:attr(data-brand);padding:0 10px;text-align:center;font-size:15px;line-height:1.3;color:var(--g-ink-3)}
    html.glass #products-grid .product-thumb[data-brand]{background:#fff}
    html.glass #checkout-modal #login-password,html.glass #checkout-modal #signup-password,html.glass #checkout-modal #forgot-password{padding-right:44px}
}
@supports not selector(:has(a)){
    @media(max-width:768px){.glass #products-grid .product-thumb[data-brand]::after{font-size:9px;padding:0 4px}}
    @media(min-width:600px) and (max-width:768px){.glass #products-grid .product-thumb[data-brand]::after{font-size:13px}}
    @media(min-width:1025px) and (min-height:600px){html.glass{scroll-padding-top:calc(var(--nav-height) + var(--ad-h,0px) + 24px)}}
}

/* the account menu opens from the top bar, where a blur cannot reach the page behind it (the picture showed through
   the words): a near-solid soft grey panel instead; its hover is the light blue of the search suggestions */
html.glass .page-products .nav-user-dropdown{background:rgba(244,244,245,.98);-webkit-backdrop-filter:none;backdrop-filter:none}
html.glass .page-products .nav-user-logout:focus-visible{background:var(--g-tint-wash);color:var(--g-tint)}
@media(hover:hover){html.glass .page-products .nav-user-logout:hover{background:var(--g-tint-wash);color:var(--g-tint)}}

/* the cart's name with its count right after it, "Order 1 (2 products · 2 total items)"; when the line is too
   narrow the count moves under the name instead of cutting either; it steps aside while the name is being typed */
.cart-draft-title{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline}
.cart-draft-title .cart-draft-name{flex:0 1 auto;max-width:100%}
.cart-draft-title .cart-draft-name:not([contenteditable="true"]){padding-right:0}
.cart-draft-title .cart-draft-name[contenteditable="true"]{flex:1 1 100%}
.cart-draft-count{flex:0 1 auto;padding-left:.4rem;font-size:13px;font-weight:400;color:var(--g-ink-3,#64748b)}
.cart-draft-count:empty,.cart-draft-name[contenteditable="true"] + .cart-draft-count{display:none}
/* the tab numbers and the pencil / bin hover in the page's own colours instead of the old beige */
html.glass .cart-draft-tab:not(.is-active) .cart-draft-tab-badge{background:var(--g-tint-wash);color:var(--g-tint)}
@media(hover:hover){html.glass .cart-draft-action:hover{background:var(--g-tint-wash);color:var(--g-tint)}
    html.glass .cart-draft-action.cart-draft-archive:hover{background:rgba(198,40,40,.08);color:#c62828}}

/* plain look (slow devices): the signed-in windows are near-solid too, like the sign-in window there */
html.glass-lite.glass #quote-modal .modal,html.glass-lite.glass #quote-items-modal .modal,html.glass-lite.glass #add-ongoing-modal .modal,
html.glass-lite.glass #add-to-order-modal .modal,html.glass-lite.glass .modal-overlay .modal.bp-confirm{background:rgba(244,244,245,.98)}
html.glass-lite.glass #quote-modal.modal-overlay,html.glass-lite.glass #quote-items-modal.modal-overlay,html.glass-lite.glass #add-ongoing-modal.modal-overlay,
html.glass-lite.glass #add-to-order-modal.modal-overlay{background:rgba(15,23,42,.38)}
html.glass-lite.glass .modal-overlay:has(> .bp-confirm){background:rgba(15,23,42,.38)}

/* high contrast: the glass edges are shadows, which this mode hides, so boxes and cards get a plain outline */
@media(forced-colors:active){
    html.glass .toolbar-search input,html.glass .cart-search input,html.glass .modal-overlay input,html.glass .modal-overlay textarea,
    html.glass #products-grid .product-card,html.glass .cart-drawer,html.glass .modal-overlay .modal,html.glass .dropdown-panel,
    html.glass .search-suggest{outline:1px solid CanvasText!important;outline-offset:-1px!important}
    html.glass input:focus-visible,html.glass textarea:focus-visible{outline:2px solid Highlight!important;outline-offset:0!important}
}
