
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --navy: #0B1929; --navy-soft: #162436; --navy-mid: #1E3448;
      --blue: #0EA5E9; --amber: #F5A623; --amber-dark: #B8740A; --amber-light: #FFF4DE;
      --white: #FFFFFF; --off-white: #F8FAFC; --slate-bg: #F1F5F9; --slate-border: #E2E8F0;
      --gray-text: #5B6B80; --gray-light: #A3B1C2;
      --rose: #FBEFF1; --rose-ink: #8A2E45; --mint: #E8F5F1; --mint-ink: #1F6B57;
      --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
      --shadow: 0 1px 2px rgba(11,25,41,.06), 0 8px 24px rgba(11,25,41,.07);
    }
    html { scroll-behavior: smooth; }
    body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--navy); -webkit-font-smoothing: antialiased; line-height: 1.5; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    img { display: block; max-width: 100%; }
    :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
    .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    .skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--navy); padding: 12px 18px; font-weight: 600; border-radius: var(--r-sm); transition: top .2s; }
    .skip:focus { top: 12px; }
    .wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
    svg.i { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition-duration: .001ms !important; } }

    /* Utility bar */
    .utility { background: var(--navy); color: var(--gray-light); font-size: .8rem; }
    .utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 8px; padding-bottom: 8px; }
    .utility strong { color: var(--white); font-weight: 600; margin-right: 6px; }
    .utility .promo { color: var(--amber); font-weight: 600; }
    .utility nav { display: flex; gap: 1.25rem; }
    .utility a:hover { color: var(--white); }

    /* Header */
    header.site { background: var(--white); position: sticky; top: 0; z-index: 90; border-bottom: 1px solid var(--slate-border); }
    .head-row { display: flex; align-items: center; gap: 1.5rem; padding-top: 14px; padding-bottom: 14px; }
    .logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
    .logo-icon { width: 42px; height: 42px; background: var(--navy); border-radius: 10px; display: grid; place-items: center; }
    .logo-icon svg { width: 22px; height: 22px; stroke: var(--amber); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .logo-text strong { display: block; font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
    .logo-text span { font-size: .68rem; color: var(--gray-text); text-transform: uppercase; letter-spacing: .1em; }
    .search { flex: 1; display: flex; max-width: 640px; background: var(--slate-bg); border: 1px solid var(--slate-border); border-radius: 999px; overflow: hidden; transition: border-color .2s, background .2s; }
    .search:focus-within { background: var(--white); border-color: var(--navy); }
    .search input { flex: 1; border: 0; outline: 0; background: transparent; padding: 11px 20px; font: inherit; font-size: .92rem; color: var(--navy); min-width: 0; }
    .search button { border: 0; background: var(--navy); color: var(--white); padding: 0 20px; cursor: pointer; font-size: 1.05rem; display: grid; place-items: center; transition: background .2s; }
    .search button:hover { background: var(--amber); color: var(--navy); }
    .btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .92rem; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
    .btn-amber { background: var(--amber); color: var(--navy); }
    .btn-amber:hover { background: #ffb733; transform: translateY(-1px); }
    .btn-navy { background: var(--navy); color: var(--white); }
    .btn-navy:hover { background: var(--navy-mid); }
    .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
    .btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
    .head-cta { margin-left: auto; }
    .menu-toggle { display: none; background: none; border: 1px solid var(--slate-border); border-radius: var(--r-sm); width: 42px; height: 42px; font-size: 1.3rem; cursor: pointer; color: var(--navy); place-items: center; }

    /* Category nav + mega menu */
    .catnav { border-top: 1px solid var(--slate-border); background: var(--white); }
    .catnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .catnav > .wrap > ul { display: flex; overflow-x: auto; scrollbar-width: none; }
    .catnav > .wrap > ul > li { position: static; }
    .catnav a.top, .catnav button.top { display: flex; align-items: center; gap: 6px; font: inherit; font-size: .88rem; font-weight: 500; color: var(--navy); background: none; border: 0; padding: 14px 14px; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
    .catnav a.top:hover, .catnav button.top:hover, .catnav li.open > button.top { border-bottom-color: var(--amber); }
    .catnav .hot { color: var(--rose-ink); }
    .catnav .view-all { color: var(--amber-dark); font-weight: 600; font-size: .88rem; white-space: nowrap; }
    .catnav .view-all:hover { color: var(--navy); }
    .mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--slate-border); box-shadow: 0 24px 40px rgba(11,25,41,.12); z-index: 80; }
    .mega.show { display: block; }
    .mega-grid { max-width: 1240px; margin: 0 auto; padding: 1.75rem 1.5rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 2rem; }
    .mega h3 { font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 700; margin-bottom: .75rem; }
    .mega li a { display: block; font-size: .88rem; color: var(--gray-text); padding: 4px 0; transition: color .15s; }
    .mega li a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
    .mega-feature { background: var(--rose); border-radius: var(--r-md); padding: 1.25rem; align-self: start; }
    .mega-feature.mint { background: var(--mint); }
    .mega-feature p { font-size: .85rem; color: var(--navy); margin-bottom: .9rem; }
    .mega-feature strong { font-family: 'Syne', sans-serif; display: block; font-size: 1.05rem; margin-bottom: .35rem; }
    .catnav .wrap { position: relative; }
    .catnav { position: relative; }

    /* Hero */
    .hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
    .hero::before { content: ''; position: absolute; width: 640px; height: 640px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.22), rgba(245,166,35,0) 65%); }
    .hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; position: relative; }
    .pill { display: inline-block; background: rgba(245,166,35,.14); border: 1px solid rgba(245,166,35,.4); color: var(--amber); font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 1.5rem; }
    .hero h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 1.25rem; }
    .hero p.sub { color: rgba(255,255,255,.76); max-width: 520px; font-size: 1.02rem; line-height: 1.7; margin-bottom: 2rem; }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2rem; }
    .trust { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font-size: .85rem; color: rgba(255,255,255,.78); }
    .trust span { display: inline-flex; align-items: center; gap: 8px; }
    .trust svg { color: var(--amber); }
    .hero-tiles { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; gap: 14px; }
    .hero-tiles a { position: relative; border-radius: var(--r-lg); overflow: hidden; display: block; background: var(--navy-mid); }
    .hero-tiles a:first-child { grid-row: span 2; }
    .hero-tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
    .hero-tiles a:hover img { transform: scale(1.04); }
    .hero-tiles a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,25,41,0) 45%, rgba(11,25,41,.82)); }
    .hero-tiles span { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.02rem; }
    .hero-tiles small { display: block; font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: .78rem; color: rgba(255,255,255,.78); }

    /* Stats */
    .stats { background: var(--amber-light); border-bottom: 1px solid #F3DFB7; }
    .stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
    .stat { padding: 1.4rem 1rem; text-align: center; }
    .stat b { display: block; font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
    .stat span { font-size: .82rem; color: var(--gray-text); }

    /* Section scaffolding */
    section.block { padding: 4.5rem 0; }
    .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
    .sec-head h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; line-height: 1.1; }
    .sec-head p { color: var(--gray-text); max-width: 560px; margin-top: .5rem; font-size: .98rem; }
    .link-arrow { font-weight: 600; font-size: .92rem; color: var(--amber-dark); display: inline-flex; gap: 6px; align-items: center; transition: gap .2s, color .2s; }
    .link-arrow:hover { gap: 10px; color: var(--navy); }

    /* Category grid: 10 tiles, 5 across = a clean 5x2. Tiles are 4:5 portrait,
       ~227px wide at the 1240px container. */
    .cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
    .cat { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; display: block; background: var(--navy-mid); isolation: isolate; }
    .cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; z-index: -2; }
    .cat:hover img { transform: scale(1.05); }
    .cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,25,41,.05) 30%, rgba(11,25,41,.85)); }
    .cat .label { position: absolute; left: 14px; right: 14px; bottom: 14px; color: var(--white); }
    .cat .label b { display: block; font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; }
    .cat .label small { font-size: .78rem; color: rgba(255,255,255,.75); }
    .cat.plain { display: flex; align-items: center; justify-content: center; }
    .cat.plain .ic { position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%); font-size: 3.2rem; color: rgba(255,255,255,.4); z-index: -1; }
    .g1 { background: linear-gradient(135deg, #1a3a5c, #0e2133); }
    .g2 { background: linear-gradient(135deg, #3a2a52, #1e1530); }
    .g3 { background: linear-gradient(135deg, #1a4a40, #0e2e28); }
    .g4 { background: linear-gradient(135deg, #5a3a1a, #2e1c0a); }
    .g5 { background: linear-gradient(135deg, #1a2a4a, #0e1a2e); }

    /* Spotlight: Health & Beauty / Personal Care */
    .spot { padding: 4.5rem 0; }
    .spot.rose { background: var(--rose); }
    .spot.mint { background: var(--mint); }
    .spot-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
    .spot-intro { position: sticky; top: 140px; }
    .spot-intro .tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 1rem; }
    .rose .tag { background: #F6D7DE; color: var(--rose-ink); }
    .mint .tag { background: #CDE9E0; color: var(--mint-ink); }
    .spot-intro h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 1rem; }
    .spot-intro p { color: #3E4F63; line-height: 1.7; margin-bottom: 1.5rem; max-width: 440px; }
    .spot-photo { border-radius: var(--r-lg); overflow: hidden; margin-top: 2rem; aspect-ratio: 4/3; background: var(--navy-mid); }
    .spot-photo img { width: 100%; height: 100%; object-fit: cover; }
    .sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .sub { background: var(--white); border-radius: var(--r-md); padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; transition: transform .2s, box-shadow .2s; box-shadow: 0 1px 2px rgba(11,25,41,.05); }
    .sub:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
    .sub .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: .35rem; }
    .rose .sub .ic { background: #F6D7DE; color: var(--rose-ink); }
    .mint .sub .ic { background: #CDE9E0; color: var(--mint-ink); }
    .sub b { font-family: 'Syne', sans-serif; font-size: .98rem; line-height: 1.2; }
    .sub p { font-size: .82rem; color: var(--gray-text); line-height: 1.5; }
    .sub .go { margin-top: auto; padding-top: .5rem; font-size: .82rem; font-weight: 600; color: var(--amber-dark); }
    /* Deals */
    .deals { background: var(--off-white); }
    .deal-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
    .countdown { display: flex; align-items: center; gap: 6px; background: var(--navy); border-radius: 999px; padding: 6px 8px 6px 16px; color: var(--gray-light); font-size: .78rem; }
    .countdown .seg { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--white); background: var(--navy-mid); padding: 4px 8px; border-radius: 6px; min-width: 32px; text-align: center; }
    .countdown .sep { color: var(--amber); font-weight: 700; }
    .filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.5rem; }
    .chip { font: inherit; font-size: .85rem; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--slate-border); background: var(--white); color: var(--navy); cursor: pointer; transition: all .15s; }
    .chip:hover { border-color: var(--navy); }
    .chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
    /* 3 across for both bands: the quote band is 6 cards (a clean 3x2) and the
       priced band is 2, at the same card width. auto-fit stretched the two
       priced cards to 588px — double the width of the cards below them. */
    .deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .deal { background: var(--white); border: 1px solid var(--slate-border); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
    .deal:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
    .deal[hidden] { display: none; }
    .deal-img { position: relative; height: 180px; background: var(--navy-mid); }
    .deal-img img { width: 100%; height: 100%; object-fit: cover; }
    .badge { position: absolute; top: 10px; left: 10px; background: var(--amber); color: var(--navy); font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
    .stock { position: absolute; top: 10px; right: 10px; background: rgba(11,25,41,.85); color: #7BE8B0; font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
    .stock.low { color: #FFC46B; }
    .deal-body { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
    .deal-cat { font-size: .78rem; color: var(--gray-text); margin-bottom: .3rem; }
    .deal-name { font-size: .95rem; font-weight: 600; line-height: 1.35; margin-bottom: .7rem; }
    .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: .5rem; }
    .price { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; }
    .was { font-size: .85rem; color: var(--gray-text); text-decoration: line-through; }
    .moq { font-size: .78rem; color: var(--gray-text); margin-bottom: .8rem; }
    .moq b { color: var(--navy); font-weight: 600; }
    .tiers { border-top: 1px solid var(--slate-border); margin-bottom: .9rem; }
    .tiers div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--slate-border); font-size: .78rem; color: var(--gray-text); }
    .tiers div span:last-child { font-weight: 600; color: var(--navy); }
    .tiers .ask span:last-child { font-weight: 400; color: var(--gray-text); }
    .add { margin-top: auto; width: 100%; background: var(--navy); color: var(--white); border: 0; border-radius: 999px; padding: 11px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
    .add:hover { background: var(--amber); color: var(--navy); }
    .add.done { background: var(--mint-ink); color: var(--white); }
    .empty-note { display: none; padding: 2rem; text-align: center; color: var(--gray-text); background: var(--white); border-radius: var(--r-md); border: 1px dashed var(--slate-border); }
    .empty-note a { color: var(--amber-dark); font-weight: 600; text-decoration: underline; }

    /* Why */
    .why { background: var(--navy); color: var(--white); padding: 3.5rem 0; }
    .why .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
    .why-item { display: flex; gap: 14px; align-items: flex-start; }
    .why-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(245,166,35,.14); color: var(--amber); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
    .why-item b { font-family: 'Syne', sans-serif; font-size: .98rem; display: block; margin-bottom: 4px; }
    .why-item p { font-size: .85rem; color: var(--gray-light); line-height: 1.55; }

    /* How it works */
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
    .step { background: var(--slate-bg); border-radius: var(--r-md); padding: 1.75rem; counter-increment: s; }
    .step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--amber); font-family: 'Syne', sans-serif; font-weight: 800; margin-bottom: 1rem; }
    .step b { font-family: 'Syne', sans-serif; font-size: 1.05rem; display: block; margin-bottom: .4rem; }
    .step p { font-size: .9rem; color: var(--gray-text); line-height: 1.6; }

    /* CTA */
    .cta { background: var(--amber); padding: 3.5rem 0; }
    .cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
    .cta h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.8rem; letter-spacing: -.02em; margin-bottom: .35rem; }
    .cta p { color: rgba(11,25,41,.78); }

    /* Footer */
    footer.site { background: var(--navy); color: var(--gray-light); padding-top: 4rem; }
    .foot-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--navy-mid); }
    .foot-brand .logo-text strong { color: var(--white); }
    .foot-brand p { font-size: .88rem; line-height: 1.7; margin: 1rem 0; max-width: 280px; }
    .foot-brand .contact { font-size: .88rem; line-height: 1.9; }
    .foot-brand .contact a:hover { color: var(--amber); }
    .foot-col h4 { font-family: 'Syne', sans-serif; font-size: .9rem; color: var(--white); margin-bottom: 1rem; }
    .foot-col ul { display: flex; flex-direction: column; gap: .6rem; }
    .foot-col a { font-size: .88rem; transition: color .2s; }
    .foot-col a:hover { color: var(--amber); }
    .foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: 1.25rem 0; font-size: .82rem; }
    .foot-bottom a { color: var(--amber); }

    /* Responsive */
    @media (max-width: 1100px) {
      .cat-grid { grid-template-columns: repeat(4, 1fr); }
      .mega-grid { grid-template-columns: repeat(3, 1fr); }
      .mega-feature { grid-column: 1 / -1; }
    }
    @media (max-width: 900px) {
      .hero .wrap { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; }
      .hero-tiles { grid-template-rows: 150px 150px; }
      .spot-grid { grid-template-columns: 1fr; }
      .spot-intro { position: static; }
      .cat-grid { grid-template-columns: repeat(3, 1fr); }
      .deals-grid { grid-template-columns: repeat(2, 1fr); }
      .why .wrap { grid-template-columns: repeat(2, 1fr); }
      .steps { grid-template-columns: 1fr; }
      .foot-grid { grid-template-columns: 1fr 1fr; }
      .foot-brand { grid-column: 1 / -1; }
      .menu-toggle { display: grid; }
      .head-cta { display: none; }
      .catnav { display: none; }
      .catnav.open { display: block; }
      .catnav.open .wrap { display: block; padding: 0; }
      .catnav.open > .wrap > ul { flex-direction: column; overflow: visible; }
      .catnav a.top, .catnav button.top { width: 100%; padding: 14px 1.5rem; border-bottom: 1px solid var(--slate-border); justify-content: space-between; }
      .catnav .view-all { display: block; padding: 14px 1.5rem; }
      .mega { position: static; box-shadow: none; }
      .mega-grid { grid-template-columns: 1fr 1fr; padding: 1rem 1.5rem; gap: 1.25rem; }
      .utility .promo { display: none; }
    }
    @media (max-width: 560px) {
      .utility nav { display: none; }
      .search { display: none; }
      .head-row { justify-content: space-between; }
      .cat-grid { grid-template-columns: repeat(2, 1fr); }
      .deals-grid { grid-template-columns: 1fr; }
      .sub-grid { grid-template-columns: 1fr 1fr; }
      .why .wrap { grid-template-columns: 1fr; }
      .stats .wrap { grid-template-columns: 1fr 1fr; }
      .foot-grid { grid-template-columns: 1fr; }
      .hero-tiles { grid-template-rows: 130px 130px; }
    }

/* ==========================================================================
   FIXES applied when porting this design into the theme.
   Each block names the defect it closes.
   ========================================================================== */

/* FIX 1 — .sub collision.
   The design used .sub for BOTH the hero paragraph and the spotlight cards, so
   the hero paragraph inherited `background:#fff` and rendered as a blank white
   box. The hero paragraph is now .hero-lede and never reuses .sub. */
.hero-lede {
  color: rgba(255,255,255,.76);
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  background: none;
  padding: 0;
  display: block;
}

/* FIX 2 — category nav overflowed its container (203px clipped at 1280px) with
   the scroll affordance hidden. The nav now carries a "More" mega menu instead
   of 11 inline items, and any residual tightness shrinks padding rather than
   clipping. */
.catnav > .wrap > ul { flex-wrap: nowrap; overflow: visible; flex: 1; }
.catnav a.top, .catnav button.top { padding: 14px 12px; }
@media (max-width: 1180px) {
  .catnav a.top, .catnav button.top { padding: 14px 8px; font-size: .84rem; }
}
/* the "More" dropdown is a right-aligned panel, not a full-width one */
.mega.mega-right { left: auto; right: 0; width: min(720px, calc(100vw - 3rem)); }
.mega.mega-right .mega-grid { grid-template-columns: repeat(2, 1fr); padding: 1.5rem; }

/* FIX 3 — brands strip forced the page 25px wider than a 390px viewport,
   because "TheraBreath" / "Aquaphor" can't wrap and pushed the grid columns
   uneven (77/85/82/117px). Columns are now equal and text can wrap. */
.bgrid-home { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.bgrid-home a {
  display: grid; place-items: center; text-align: center;
  background: var(--white); border: 1px solid var(--slate-border);
  border-radius: var(--r-md); padding: 1.1rem .5rem;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9rem;
  min-width: 0; overflow-wrap: anywhere; hyphens: auto;
  transition: border-color .2s, transform .2s;
}
.bgrid-home a:hover { border-color: var(--amber); transform: translateY(-2px); }
@media (max-width: 900px) { .bgrid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bgrid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bgrid-home a { font-size: .8rem; padding: .9rem .35rem; } }

/* FIX 4 — the category grid had two bare-gradient tiles (Toys & Baby, Office)
   sitting among 8 photographic ones, so they read as broken images. Both now
   have real photography; .cat.plain stays only as a deliberate fallback for a
   category with no image yet. */
.cat.plain { background: var(--navy-mid); }
.cat.plain .ic { font-size: 3.2rem; color: rgba(255,255,255,.5); }

/* FIX 5 — no horizontal scroll anywhere. */
html, body { max-width: 100%; overflow-x: clip; }
img, svg, video { max-width: 100%; }

/* FIX 5b — in-page anchors (#categories, #deals, #health-beauty) landed under
   the sticky header, hiding the section heading. Offset every anchor target. */
section[id], div[id] { scroll-margin-top: calc(var(--head-h, 129px) + 16px); }

/* FIX 6 — sticky header height is exposed as a variable so the brands page's
   jump bar parks *below* the header instead of underneath it (it was
   unclickable: both were sticky at top:0, header z-index 90 over jump 50). */
:root { --head-h: 129px; }
.jump { top: var(--head-h); }
.bcat { scroll-margin-top: calc(var(--head-h) + 72px); }
.jump a { scroll-margin-top: 0; }

/* FIX 7 — quote-only cards sat inside "Today's best offers" under a live
   countdown, implying a time-limited price that doesn't exist. They now carry
   a visible "quoted per order" marker and live in their own band. */
.deal.quote-only { border-style: dashed; border-color: #CBD5E1; }
.deal.quote-only .deal-img::after {
  content: 'Quoted per order';
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(11,25,41,.86); color: var(--amber);
  font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.deals-band-note {
  font-size: .85rem; color: var(--gray-text);
  margin: 2.25rem 0 1rem; padding-top: 1.25rem;
  border-top: 1px solid var(--slate-border);
}
.deals-band-note b { color: var(--navy); }

/* The quoted band now leads the section, so its divider rule would sit right
   under the section heading. */
.deals-band-note--first { margin-top: 0; padding-top: 0; border-top: 0; }

/* Sub-heading for the Office & Warehouse band at the foot of the section. */
.deals-subhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-border);
}
.deals-subhead h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--navy);
}
.deals-subhead p { color: #55657A; font-size: .92rem; margin-top: .35rem; }

/* FIX 8 — utility/header contrast: gray-light on navy failed 4.5:1 for the
   small utility text. */
.utility { color: #C7D2DE; }
.stat span, .sec-head p, .moq, .deal-cat, .tiers div { color: #55657A; }

/* FIX 9 — the header logo could not shrink (`flex-shrink: 0`), so on a 360px
   phone it ate 334px of the 360px viewport and crushed the menu toggle to 2px,
   pushed off-screen. The whole mobile nav was unreachable. The wordmark now
   truncates instead of pushing the toggle out. */
.logo { min-width: 0; }
.logo-text { min-width: 0; }
.logo-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-toggle { flex-shrink: 0; }
@media (max-width: 560px) {
  .head-row { gap: .75rem; }
  .logo { gap: 8px; }
  .logo-icon { width: 36px; height: 36px; border-radius: 8px; }
  .logo-text strong { font-size: .92rem; }
}
@media (max-width: 400px) {
  .logo-text strong { font-size: .82rem; }
  .logo-text span { display: none; }
}

/* Category page + about + contact shared bits */
.lede { font-size: 1.05rem; line-height: 1.75; color: #3E4F63; max-width: 640px; }
.prose h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; margin: 2.25rem 0 .75rem; letter-spacing: -.02em; }
.prose h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.prose p  { line-height: 1.75; color: #3E4F63; margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li { line-height: 1.75; color: #3E4F63; margin-bottom: .4rem; }

/* ==========================================================================
   Shared inner-page components
   ========================================================================== */

/* <picture> must not create a layout box: the <img> inside is what the
   existing rules position and size. Without this the absolutely-positioned
   tile images get a zero-height inline wrapper. */
.cat picture,
.hero-tiles picture,
.deal-img picture,
.spot-photo picture { display: contents; }

/* Page hero (about, contact, brands, category) */
.page-hero{background:var(--navy);color:var(--white);padding:4rem 0 3.5rem;position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;width:560px;height:560px;right:-160px;top:-240px;border-radius:50%;background:radial-gradient(circle,rgba(245,166,35,.2),rgba(245,166,35,0) 65%)}
.page-hero .wrap{position:relative}
.page-hero h1{font-family:'Syne',sans-serif;font-weight:800;font-size:clamp(2.2rem,5vw,3.6rem);letter-spacing:-.025em;line-height:1.05;margin-bottom:1rem}
.page-hero p{color:rgba(255,255,255,.76);max-width:600px;line-height:1.7}
.crumb{font-size:.85rem;color:var(--gray-light);margin-bottom:1rem}
.crumb a:hover{color:var(--amber)}
.bstats{display:flex;gap:2.5rem;margin-top:2rem;flex-wrap:wrap}
.bstats b{display:block;font-family:'Syne',sans-serif;font-size:2rem;font-weight:800;color:var(--amber);line-height:1}
.bstats span{font-size:.82rem;color:var(--gray-light)}

/* FAQ (native <details>, no JS needed) */
.faq{display:grid;gap:10px;max-width:860px}
.faq-item{background:var(--white);border:1px solid var(--slate-border);border-radius:var(--r-md);overflow:hidden}
.faq-item summary{cursor:pointer;padding:1.1rem 1.25rem;font-weight:600;font-size:.98rem;list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-family:'Syne',sans-serif;font-weight:800;color:var(--amber-dark);font-size:1.25rem;line-height:1}
.faq-item[open] summary::after{content:'\2212'}
.faq-item[open] summary{border-bottom:1px solid var(--slate-border)}
.faq-answer{padding:1rem 1.25rem 1.25rem;color:#3E4F63;line-height:1.7;font-size:.92rem}
.faq-section{margin-top:4.5rem}
.faq-section h2{font-family:'Syne',sans-serif;font-weight:800;font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-.02em;margin-bottom:1.5rem}

/* Contact page */
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:2.5rem;align-items:start}
.sidebar{display:flex;flex-direction:column;gap:14px}
.info-card{background:var(--slate-bg);border-radius:var(--r-md);padding:1.4rem}
.info-card h3{font-family:'Syne',sans-serif;font-size:1rem;font-weight:700;margin-bottom:.6rem}
.info-card p{font-size:.88rem;color:#3E4F63;line-height:1.65;margin-bottom:.75rem}
.info-card a{font-weight:600;font-size:.9rem;line-height:1.9;color:var(--navy)}
.info-card a:hover{color:var(--amber-dark)}
.response-badge{display:inline-block;margin-top:.9rem;background:var(--mint);color:var(--mint-ink);font-size:.78rem;font-weight:600;padding:5px 12px;border-radius:999px}
.hours-grid{display:grid;grid-template-columns:1fr auto;gap:.35rem 1rem;font-size:.88rem;color:#3E4F63}
.hours-row strong{color:var(--navy);font-weight:600}
.form-card{background:var(--white);border:1px solid var(--slate-border);border-radius:var(--r-md);padding:2rem}
.form-card-header{margin-bottom:1.5rem}
.form-card-header h2{font-family:'Syne',sans-serif;font-weight:800;font-size:1.5rem;letter-spacing:-.02em;margin-bottom:.35rem}
.form-card-header p{color:var(--gray-text);font-size:.92rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.field label{font-size:.85rem;font-weight:600}
.field .req{color:#C0392B}
.field input,.field select,.field textarea{font:inherit;font-size:.92rem;color:var(--navy);background:var(--white);border:1px solid var(--slate-border);border-radius:var(--r-sm);padding:11px 14px;width:100%;transition:border-color .2s}
.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:var(--navy)}
.field textarea{min-height:130px;resize:vertical}
.checkbox-group{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.checkbox-item{display:flex;align-items:center;gap:9px;font-size:.88rem;background:var(--slate-bg);border:1px solid var(--slate-border);border-radius:var(--r-sm);padding:10px 12px;cursor:pointer;transition:border-color .15s}
.checkbox-item:hover{border-color:var(--navy)}
.checkbox-item input{width:auto;accent-color:var(--navy);flex-shrink:0}
.form-divider{font-family:'Syne',sans-serif;font-weight:700;font-size:.9rem;margin:1.25rem 0 .75rem;padding-top:1.25rem;border-top:1px solid var(--slate-border)}
.submit-btn{display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:.95rem;font-weight:600;background:var(--navy);color:var(--white);border:0;border-radius:999px;padding:14px 28px;cursor:pointer;transition:background .2s,color .2s}
.submit-btn:hover{background:var(--amber);color:var(--navy)}
.form-note{font-size:.8rem;color:var(--gray-text);margin-top:.85rem}
.ttd-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ttd-notice{border-radius:var(--r-sm);padding:14px 16px;font-size:.9rem;line-height:1.6;margin-bottom:1.25rem}
.ttd-notice--ok{background:var(--mint);color:var(--mint-ink);border:1px solid #BFE3D8}
.ttd-notice--err{background:var(--rose);color:var(--rose-ink);border:1px solid #F3D3DB}

/* Archive / search list */
.post-list{display:grid;gap:1.5rem}
.post-item h2{font-family:'Syne',sans-serif;font-size:1.2rem;margin-bottom:.4rem}
.post-item h2 a:hover{color:var(--amber-dark)}
.body-text{color:#3E4F63;line-height:1.7}

/* Responsive */
@media (max-width:900px){
  .contact-grid{grid-template-columns:1fr}
  .page-hero{padding:3rem 0 2.5rem}
}
@media (max-width:560px){
  .form-row{grid-template-columns:1fr}
  .checkbox-group{grid-template-columns:1fr}
  .form-card{padding:1.25rem}
  .bstats{gap:1.5rem}
  .bstats b{font-size:1.6rem}
}


    /* ---------------------------------------------------------------------
     * Quote cart
     * ------------------------------------------------------------------ */
    .quote-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 120;
      display: flex; align-items: center; gap: 14px; max-width: calc(100% - 24px);
      background: var(--navy); color: var(--white); padding: 10px 12px 10px 18px;
      border-radius: 999px; box-shadow: 0 10px 30px rgba(11,25,41,.28); font-size: .92rem; }
    .quote-bar b { color: var(--amber); font-weight: 700; }
    .quote-bar .btn { padding: 8px 16px; font-size: .85rem; white-space: nowrap; }
    .quote-bar .quote-clear { background: none; border: 0; color: var(--gray-light);
      font: inherit; font-size: .8rem; cursor: pointer; padding: 6px 4px; }
    .quote-bar .quote-clear:hover { color: var(--white); }
    @media (max-width: 560px) {
      .quote-bar { left: 12px; right: 12px; transform: none; border-radius: var(--r-md);
        flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 12px 14px; }
    }

    .quote-lines-host { margin: 0 0 22px; }
    .quote-lines-host h3 { font-size: 1rem; margin: 0 0 10px; }
    .quote-lines { list-style: none; margin: 0; padding: 0; border: 1px solid var(--slate-border);
      border-radius: var(--r-md); overflow: hidden; }
    .quote-lines li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--off-white); }
    .quote-lines li + li { border-top: 1px solid var(--slate-border); }
    .quote-lines .ql-name { flex: 1 1 auto; min-width: 0; font-size: .92rem; }
    .quote-lines input[type="number"] { width: 74px; padding: 6px 8px; border: 1px solid var(--slate-border);
      border-radius: var(--r-sm); font: inherit; font-size: .88rem; text-align: center; }
    .quote-lines .ql-remove { background: none; border: 0; cursor: pointer; color: var(--gray-text);
      font-size: 1.3rem; line-height: 1; padding: 2px 6px; border-radius: var(--r-sm); }
    .quote-lines .ql-remove:hover { color: var(--rose-ink); background: var(--rose); }


    /* ---------------------------------------------------------------------
     * Wholesale application form
     * ------------------------------------------------------------------ */
    .app-section { display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
      border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
    .app-section legend { grid-column: 1 / -1; padding: 0; margin: 0 0 2px;
      font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); }
    .app-section .field { margin-bottom: 0; }
    .field-full { grid-column: 1 / -1; }
    .field-label { font-size: .85rem; font-weight: 600; }
    .field-help { margin: 6px 0 0; font-size: .8rem; color: var(--gray-text); }
    .check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px 16px; margin-top: 8px; }
    .check { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem;
      line-height: 1.4; cursor: pointer; }
    .check input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--amber-dark); }
    .check-full { grid-column: 1 / -1; margin-bottom: 10px; }
    .btn-submit { width: 100%; margin-top: 6px; }
    .steps-list { margin: 0; padding-left: 1.1rem; font-size: .9rem; line-height: 1.6; color: var(--gray-text); }
    .steps-list li + li { margin-top: 6px; }
    .app-section input[type="file"] { font-size: .85rem; padding: 9px 10px; background: var(--off-white);
      border: 1px solid var(--slate-border); border-radius: var(--r-sm); width: 100%; }
    @media (max-width: 620px) {
      .app-section { grid-template-columns: 1fr; }
      .check-grid { grid-template-columns: 1fr; }
    }


    /* ---------------------------------------------------------------------
     * Proof section: buyer quotes, logos, what a buyer can check
     * ------------------------------------------------------------------ */
    .quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
    .quote-card { margin: 0; background: var(--white); border: 1px solid var(--slate-border);
      border-radius: var(--r-md); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
    .quote-card blockquote { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--navy); }
    .quote-card figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: .85rem; }
    .quote-card figcaption strong { font-size: .9rem; }
    .quote-card figcaption span { color: var(--gray-text); }
    .quote-meta { font-size: .78rem; color: var(--gray-light); }

    .logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 2.5rem;
      padding: 0 0 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--slate-border); }
    .logo-strip img { max-height: 40px; width: auto; opacity: .75; }

    .proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
    .proof-item { display: flex; gap: 14px; align-items: flex-start; background: var(--white);
      border: 1px solid var(--slate-border); border-radius: var(--r-md); padding: 1.25rem; }
    .proof-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--amber-light);
      color: var(--amber-dark); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
    .proof-item b { display: block; font-size: .95rem; margin-bottom: 4px; }
    .proof-item p { margin: 0; font-size: .88rem; color: var(--gray-text); line-height: 1.5; }

    @media (max-width: 1000px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 900px)  { .proof-grid { grid-template-columns: 1fr; } }
    @media (max-width: 680px)  { .quotes { grid-template-columns: 1fr; } }


    /* ---------------------------------------------------------------------
     * Wholesale accounts: sign-in form and trade pricing
     * ------------------------------------------------------------------ */
    /* WordPress's wp_login_form() output. It does NOT emit a .login-form class —
       the form is #loginform and its inputs carry .input. Styling .login-form
       silently does nothing. */
    .form-card #loginform p { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
    .form-card #loginform label { font-size: .85rem; font-weight: 600; }
    .form-card #loginform .input { padding: 11px 12px; border: 1px solid var(--slate-border);
      border-radius: var(--r-sm); font: inherit; font-size: .95rem; width: 100%; }
    .form-card #loginform .login-remember { flex-direction: row; align-items: center; }
    .form-card #loginform .login-remember label { font-weight: 400; display: flex; align-items: center;
      gap: 8px; font-size: .88rem; }
    .form-card #loginform input[type="submit"] { width: 100%; background: var(--navy); color: var(--white);
      border: 0; border-radius: 999px; padding: 13px; font: inherit; font-weight: 600; cursor: pointer; }
    .form-card #loginform input[type="submit"]:hover { background: var(--amber); color: var(--navy); }

    /* Tier row showing a real trade price to an approved buyer */
    .tiers .trade { background: var(--mint); }
    .tiers .trade span:last-child { color: var(--mint-ink); font-weight: 700; }


    /* ---------------------------------------------------------------------
     * Quote request history (account page)
     * ------------------------------------------------------------------ */
    .request-history { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--slate-border); }
    .request-history h3 { font-size: 1rem; margin: 0 0 4px; }
    .request-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 12px; }
    .request-list li { border: 1px solid var(--slate-border); border-radius: var(--r-md);
      padding: 14px; background: var(--off-white); }
    .req-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .85rem; }
    .req-head span { color: var(--gray-text); }
    .req-lines { margin: 8px 0 12px; font-size: .88rem; color: var(--gray-text); line-height: 1.5; }
    .request-list .reorder { padding: 9px 16px; font-size: .85rem; }
    .request-list .reorder[disabled] { background: var(--mint); color: var(--mint-ink); cursor: default; }
