.tb-home{--navy:#0A5098;--navy-d:#083E77;--navy-ink:#0C1E33;--ink:#16202B;--body:#3A4653;
    --muted:#626E7A;--paper:#fff;--mist:#F4F7FA;--mist2:#EAF1F8;--line:#DCE4EC;
    --accent:#E7A33C;--accent-d:#D08F2C;--accent-ink:#0C1E33;--good:#217B48;--good-bg:#EFF8F2;
    --disp:'Oswald',system-ui,sans-serif;--text:'Roboto',system-ui,sans-serif;
    font-family:var(--text);color:var(--body);line-height:1.6;background:var(--paper);
    -webkit-font-smoothing:antialiased;}
  .tb-home,.tb-home *{box-sizing:border-box;}
  html.tb-home,body.tb-home{margin:0;} body.tb-home{background:#fff;}
  .tb-home img{max-width:100%;display:block;}
  .tb-home a{color:inherit;text-decoration:none;}
  .tb-skip{position:absolute;left:-999px;top:0;background:var(--navy);color:#fff;padding:10px 16px;z-index:99;}
  .tb-skip:focus{left:8px;top:8px;}
  .tb-wrap{max-width:1560px;margin:0 auto;padding:0 28px;}
  .tb-home h1,.tb-home h2,.tb-home h3,.tb-home h4{font-family:var(--disp);color:var(--ink);line-height:1.1;font-weight:600;margin:0;}
  .tb-eyebrow{font-family:var(--disp);font-weight:600;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--navy);display:inline-flex;align-items:center;gap:9px;}
  .tb-eyebrow::before{content:"";width:20px;height:2px;background:var(--accent);display:inline-block;}
  .tb-ic{width:26px;height:26px;flex:none;stroke:var(--navy);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  .tb-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:var(--text);font-weight:600;font-size:15px;padding:14px 30px;min-height:48px;border:1px solid transparent;cursor:pointer;transition:.18s;}
  .tb-btn svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  .tb-btn--accent{background:var(--accent);color:var(--accent-ink);}
  .tb-btn--accent:hover{background:var(--accent-d);}
  .tb-btn--navy{background:var(--navy);color:#fff;}
  .tb-btn--navy:hover{background:var(--navy-d);}
  .tb-btn--outline{background:#fff;color:var(--navy);border-color:var(--navy);}
  .tb-btn--outline:hover{background:var(--mist2);}

  /* ---------- header ---------- */
  .tb-util{background:var(--navy);color:#fff;}
  .tb-util .tb-wrap{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 24px;text-align:center;font-size:14px;font-weight:500;flex-wrap:wrap;}
  /* #EDBC71 not var(--accent) — the accent is 3.71:1 on this navy bar. See home-v10.css. */
  .tb-util strong{color:#EDBC71;font-weight:700;}
  .tb-util .light{color:#D8E8F6;}
  .tb-util svg{width:17px;height:17px;stroke:var(--accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;}
  .tb-hdr{border-bottom:1px solid var(--line);background:linear-gradient(180deg,#FFFFFF 0%,#F7FAFD 100%);}
  .tb-hdr .tb-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-height:96px;padding:16px 28px;}
  .tb-logo{font-family:var(--disp);font-weight:700;font-size:26px;color:#13273B;line-height:1;white-space:nowrap;position:absolute;left:28px;top:50%;transform:translateY(-50%);}
  /* .tb-logo--img — byte-identical to css/home-v10.css:49, but that file also steps the logo
     down to 140px at @media(max-width:400px). Keeping the copy here would print last and
     shadow the step, stranding the logo at 172px on small phones. Let home-v10 own it. */
  .tb-logo--img img{width:100%;height:auto;display:block;}
  .tb-search{display:flex;height:48px;border:1px solid var(--line);min-width:0;width:min(48vw,940px);max-width:940px;margin:0 auto;position:relative;}
  .tb-search input{flex:1;border:0;padding:0 14px;font:inherit;font-size:14px;min-width:0;outline:none;background:#fff;}
  .tb-search input:focus{outline:2px solid var(--navy);outline-offset:-2px;}
  .tb-search button{background:var(--navy);color:#fff;border:0;padding:0 24px;font-weight:700;font-size:14px;cursor:pointer;letter-spacing:.01em;}
  .tb-hicons{display:flex;gap:2px;align-items:center;position:absolute;right:28px;top:50%;transform:translateY(-50%);}
  /* .tb-hicons a,.tb-burger — deliberately NOT redeclared. css/home-v10.css owns the shared
     header, including the 44px desktop size, the matching 44px .fkcart-shortcode-container
     (the FunnelKit cart icon, which the mockup predates and this file has no rule for) and
     the @media(max-width:400px) 38px step. Re-stating the mockup's 42px here would print
     after home-v10 and shadow ALL of that — sizing the account/wishlist icons independently
     of the cart icon at every breakpoint. Only the icon COLOUR needs restating: this file's
     own base `.tb-home a{color:inherit}` (line 10) ties with home-v10's
     `.tb-hicons a{color:var(--ink)}` and wins on source order, washing the icons out to
     --body. `.tb-home .tb-hicons a` (0,2,1) settles it without touching geometry. */
  .tb-home .tb-hicons a{color:var(--ink);}
  .tb-hcount{position:absolute;top:3px;right:1px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--accent);color:var(--accent-ink);font-size:10px;font-weight:700;line-height:17px;text-align:center;}
  .tb-hicons svg{width:23px;height:23px;stroke:var(--ink);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  .tb-hicons a:hover,.tb-burger:hover{background:var(--mist2);color:var(--navy);}
  .tb-burger{display:none;}
  .tb-nav{border-bottom:1px solid var(--line);background:#fff;box-shadow:0 2px 8px rgba(10,44,82,.035);}
  .tb-nav .tb-wrap{display:flex;align-items:center;gap:28px;padding:12px 28px;flex-wrap:wrap;font-size:14px;font-weight:500;color:var(--body);}
  .tb-nav a:hover{color:var(--navy);}
  .tb-nav a.active{color:var(--navy);font-weight:700;}
  .tb-nav::after{content:"";display:block;height:2px;background:linear-gradient(90deg,transparent 0%,rgba(10,80,152,.18) 18%,rgba(231,163,60,.35) 50%,rgba(10,80,152,.18) 82%,transparent 100%);}
  .tb-nav .allcat{display:inline-flex;align-items:center;gap:8px;font-family:var(--disp);background:#F2F7FC;padding:7px 10px;margin-left:-10px;text-transform:uppercase;letter-spacing:.06em;font-size:13px;font-weight:600;color:var(--navy);}
  .tb-mnav{display:none;background:#fff;border-bottom:1px solid var(--line);}
  .tb-mnav a{display:block;padding:13px 24px;border-top:1px solid var(--line);font-weight:500;}

  /* ---------- banner ---------- */
  .tb-shbanner{position:relative;background:var(--navy-ink);overflow:hidden;}
  .tb-shbanner__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.28;}
  .tb-shbanner__scrim{position:absolute;inset:0;background:linear-gradient(90deg,var(--navy-ink) 20%,rgba(12,30,51,.72) 60%,rgba(12,30,51,.5));}
  .tb-shbanner .tb-wrap{position:relative;padding:52px 28px 46px;}
  .tb-shbanner .tb-eyebrow{color:#BBD4EC;}
  .tb-home .tb-shbanner__title{font-family:var(--disp);font-weight:700;color:#fff;font-size:clamp(30px,4vw,46px);line-height:1.05;margin:12px 0 14px;}
  .tb-shbanner__intro{color:#cfe0f0;font-size:15px;line-height:1.65;max-width:820px;margin:0 0 16px;}
  .tb-crumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;color:#9fc0e0;list-style:none;margin:0;padding:0;}
  .tb-crumb li{display:flex;align-items:center;gap:8px;}
  .tb-crumb li:not(:last-child)::after{content:"/";color:#5c7997;}
  .tb-crumb a:hover{color:#fff;}
  .tb-crumb li:last-child{color:#fff;font-weight:500;}

  /* ---------- trust strip ---------- */
  .tb-strip{background:var(--navy-ink);color:#eaf1f9;}
  .tb-strip .tb-wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:18px 28px;}
  .tb-strip .item{display:flex;align-items:center;gap:13px;padding:4px 6px;}
  .tb-strip svg{width:30px;height:30px;stroke:var(--accent);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;}
  .tb-strip .t{font-size:14px;font-weight:700;color:#fff;}
  .tb-strip .d{font-size:12.3px;color:#a9c2dc;}

  /* ============================================================
     BRANDS DIRECTORY
     ============================================================ */
  .tb-brands{padding:40px 0 64px;}
  /* Keep the directory content in a contained, centered column (like the Shop product
     area / Checkout content) instead of running the full 1560px. Banner, trust strip
     and footer stay full-bleed to match the rest of the site. */
  .tb-brands .tb-wrap{max-width:1280px;}

  /* toolbar: live filter + count */
  .tb-brands-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:22px;}
  .tb-brands-find{display:flex;align-items:center;gap:10px;flex:1;min-width:260px;max-width:520px;height:50px;border:1px solid var(--line);background:#fff;padding:0 14px;transition:.16s;}
  .tb-brands-find:focus-within{outline:2px solid var(--navy);outline-offset:-2px;border-color:var(--navy);}
  .tb-brands-find svg{width:20px;height:20px;stroke:var(--muted);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;}
  .tb-brands-find input{flex:1;border:0;outline:none;font:inherit;font-size:15px;min-width:0;background:none;color:var(--ink);}
  .tb-brands-find__clear{border:0;background:none;color:var(--muted);font-size:24px;line-height:1;cursor:pointer;padding:0 2px;}
  .tb-brands-find__clear:hover{color:var(--accent-d);}
  .tb-brands-toolbar__count{font-size:14px;color:var(--muted);font-weight:500;}
  .tb-brands-toolbar__count strong{font-family:var(--disp);color:var(--navy-ink);font-weight:700;font-size:16px;}

  /* popular brands (fast path above A–Z) */
  .tb-popular{margin-bottom:30px;}
  .tb-popular__head{margin-bottom:16px;}
  .tb-popular__head h2{font-size:clamp(20px,2.4vw,26px);color:var(--navy-ink);margin:10px 0 0;}
  .tb-popular__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;}
  .tb-popular__item{display:flex;align-items:center;gap:9px;padding:12px 14px;background:var(--mist2);
    border:1px solid var(--line);font-size:14px;font-weight:600;color:var(--navy-ink);transition:.16s;min-width:0;}
  .tb-popular__item:hover{background:var(--navy);border-color:var(--navy);color:#fff;transform:translateY(-2px);box-shadow:0 6px 16px rgba(10,44,82,.14);}
  .tb-popular__item svg{width:16px;height:16px;flex:none;stroke:var(--accent);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  .tb-popular__item span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .tb-popular.is-hidden{display:none;}

  /* A–Z rail (sticky) */
  .tb-brands-nav-wrapper{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);backdrop-filter:blur(6px);
    border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:30px;}
  /* width:100% is load-bearing. style.css:609 (the LEGACY stylesheet) makes
     .tb-brands-nav-wrapper `display:flex; flex-direction:column; align-items:center`.
     In a COLUMN container the horizontal axis is the CROSS axis, so flex-shrink and
     min-width:0 do nothing to the width, and align-items:center sizes this row to its
     content and centres it — measured at 768px it ran from x=-181 to x=950 inside a
     710px parent, overflowing BOTH sides and dragging the page 182px sideways.
     Constraining the cross size is the fix; justify-content:center then preserves the
     centred look the wrapper's align-items used to give it. */
  .tb-az{display:flex;flex-wrap:wrap;gap:4px;padding:10px 0;width:100%;justify-content:center;}
  .tb-az__link{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 6px;
    font-family:var(--disp);font-weight:600;font-size:14px;color:var(--navy);background:var(--mist);border:1px solid transparent;transition:.14s;}
  .tb-az__link:hover{background:var(--navy);color:#fff;}
  .tb-az__link.active{background:var(--navy);color:#fff;}
  .tb-az__link.is-empty{color:#B8C4D2;background:transparent;pointer-events:none;}
  .tb-az__all{margin-left:6px;letter-spacing:.04em;text-transform:uppercase;font-size:12.5px;padding:0 12px;border-color:var(--line);background:#fff;}

  /* letter sections */
  .tb-brand-section{padding-top:14px;margin-bottom:34px;scroll-margin-top:88px;}
  .tb-brand-section__head{display:flex;align-items:center;gap:14px;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--navy);}
  .tb-brand-letter{font-family:var(--disp);font-weight:700;font-size:26px;color:var(--navy-ink);line-height:1;
    width:44px;height:44px;display:grid;place-items:center;background:var(--mist2);border:1px solid var(--line);flex:none;}
  .tb-brand-section__count{font-size:13px;color:var(--muted);font-weight:500;}

  .tb-brand-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
  .tb-brand-item{display:flex;align-items:center;justify-content:space-between;gap:10px;
    padding:14px 16px;background:#fff;border:1px solid var(--line);font-size:14.5px;font-weight:500;color:var(--ink);
    transition:.16s;min-height:52px;}
  .tb-brand-item:hover{border-color:var(--navy);background:var(--mist);color:var(--navy);box-shadow:0 6px 18px rgba(10,44,82,.09);transform:translateY(-2px);}
  .tb-brand-item__name{line-height:1.3;}
  .tb-brand-item__arrow{width:17px;height:17px;flex:none;stroke:var(--accent);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:translateX(-4px);transition:.16s;}
  .tb-brand-item:hover .tb-brand-item__arrow{opacity:1;transform:none;}
  .tb-brand-item.is-hidden{display:none;}
  .tb-brand-section.is-hidden{display:none;}

  /* filter no-results */
  .tb-brands-empty{text-align:center;padding:56px 20px;color:var(--muted);}
  .tb-brands-empty svg{width:44px;height:44px;stroke:#c3d2e2;fill:none;stroke-width:1.5;margin-bottom:14px;}
  .tb-brands-empty p{font-size:16px;margin:0 0 18px;color:var(--ink);}

  /* missing-brand CTA */
  .tb-brands-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
    margin-top:40px;padding:30px 34px;background:var(--navy-ink);color:#cfe0f0;}
  .tb-brands-cta h3{font-family:var(--disp);color:#fff;font-size:22px;margin:0 0 6px;}
  .tb-brands-cta p{margin:0;font-size:14.5px;color:#a9c2dc;max-width:560px;}

  /* back to top */
  .tb-totop{position:fixed;right:22px;bottom:22px;z-index:90;width:46px;height:46px;border:0;background:var(--navy);color:#fff;cursor:pointer;display:grid;place-items:center;box-shadow:0 8px 22px rgba(10,44,82,.28);transition:.16s;}
  .tb-totop:hover{background:var(--navy-d);}
  .tb-totop svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}


  /* ---------- slide cart drawer ---------- */
  .tb-drawer-ov{position:fixed;inset:0;background:rgba(8,24,40,.55);opacity:0;visibility:hidden;transition:.25s;z-index:130;}
  .tb-drawer-ov.is-open{opacity:1;visibility:visible;}
  .tb-drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;z-index:131;
    transform:translateX(100%);transition:transform .28s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;}
  .tb-drawer.is-open{transform:none;}
  .tb-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:var(--navy-ink);color:#fff;}
  .tb-drawer__head h3{color:#fff;font-family:var(--disp);font-size:18px;text-transform:uppercase;letter-spacing:.04em;display:flex;align-items:center;gap:9px;}
  .tb-drawer__head h3 svg{width:20px;height:20px;stroke:var(--accent);fill:none;stroke-width:1.7;}
  .tb-drawer__close{background:none;border:0;color:#9fc0e0;font-size:26px;line-height:1;cursor:pointer;}
  .tb-drawer__close:hover{color:#fff;}
  .tb-drawer__ship{background:var(--good-bg);color:var(--good);font-size:13px;font-weight:600;text-align:center;padding:10px;border-bottom:1px solid var(--line);}
  .tb-drawer__body{flex:1;overflow-y:auto;padding:8px 20px;}
  .tb-drawer__empty{text-align:center;color:var(--muted);padding:50px 12px;}
  .tb-drawer__empty svg{width:40px;height:40px;stroke:#cfe0f1;fill:none;stroke-width:1.4;margin-bottom:12px;}
  .tb-citem{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);}
  .tb-citem__img{width:60px;height:60px;flex:none;background:var(--mist);display:grid;place-items:center;border:1px solid var(--line);}
  .tb-citem__img svg{width:24px;height:24px;stroke:#bccadb;fill:none;stroke-width:1.5;}
  .tb-citem__main{flex:1;min-width:0;}
  .tb-citem__t{font-size:13px;font-weight:500;color:var(--ink);line-height:1.35;display:block;margin-bottom:6px;}
  .tb-citem__t:hover{color:var(--navy);}
  .tb-citem__row{display:flex;align-items:center;justify-content:space-between;gap:10px;}
  .tb-qty{display:inline-flex;border:1px solid var(--line);}
  .tb-qty button{width:26px;height:28px;border:0;background:var(--mist);color:var(--navy-ink);cursor:pointer;font-size:15px;line-height:1;}
  .tb-qty button:hover{background:var(--mist2);}
  .tb-qty span{width:30px;display:grid;place-items:center;font-size:13px;font-weight:600;}
  .tb-citem__price{font-family:var(--disp);font-weight:600;font-size:15px;color:var(--navy-ink);}
  .tb-citem__rm{background:none;border:0;color:var(--muted);font-size:12px;cursor:pointer;text-decoration:underline;padding:0;margin-top:6px;}
  .tb-citem__rm:hover{color:var(--accent-d);}
  .tb-drawer__foot{border-top:1px solid var(--line);padding:18px 20px;background:var(--mist);}
  .tb-drawer__sub{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px;}
  .tb-drawer__sub .l{font-weight:600;color:var(--navy-ink);}
  .tb-drawer__sub .v{font-family:var(--disp);font-weight:700;font-size:24px;color:var(--navy-ink);}
  .tb-drawer__fine{font-size:12px;color:var(--muted);margin:0 0 14px;}
  .tb-drawer__btns{display:grid;gap:9px;}
  .tb-drawer__btns .tb-btn{width:100%;}

  /* ---------- newsletter modal ---------- */
  .tb-nl-overlay{position:fixed;inset:0;background:rgba(8,24,40,.72);display:none;place-items:center;z-index:140;padding:20px;}
  .tb-nl-overlay.is-open{display:grid;}
  .tb-nl-modal{position:relative;width:min(520px,100%);background:var(--navy-ink);color:#fff;border:1px solid #1E3B58;padding:38px 34px;}
  .tb-nl-modal .tb-nl-title{color:#fff;font-family:var(--disp);font-weight:700;font-size:26px;line-height:1.1;}
  .tb-nl-modal .tb-nl-sub{color:#A9C2DC;font-size:14.5px;margin:10px 0 20px;}
  .tb-nl-modal form{display:flex;gap:10px;}
  .tb-nl-modal input{flex:1;min-width:0;border:1px solid transparent;padding:13px 14px;font:inherit;font-size:15px;background:#fff;}
  .tb-nl-modal button.tnp-submit{background:var(--accent);color:var(--accent-ink);border:0;padding:0 24px;font-family:var(--text);font-weight:700;cursor:pointer;}
  .tb-nl-modal button.tnp-submit:hover{background:var(--accent-d);}
  .tb-nl-close{position:absolute;top:10px;right:14px;border:0;background:none;color:#A9C2DC;font-size:28px;line-height:1;cursor:pointer;}
  .tb-nl-close:hover{color:#fff;}
  .tb-nl-fine{color:#7E9AB6;font-size:11.5px;margin:14px 0 0;line-height:1.5;}


  /* footer */
  .tb-foot{background:var(--navy-ink);color:#b9cbdd;font-size:14px;}
  .tb-foot .fbadges{border-bottom:1px solid #123a63;}
  .tb-foot .fbadges .tb-wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:24px;}
  .tb-foot .fbadges .b2{display:flex;align-items:center;gap:12px;}
  .tb-foot .fbadges svg{width:26px;height:26px;stroke:var(--accent);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;}
  .tb-foot .fbadges .t{color:#fff;font-weight:700;font-size:13.5px;}
  .tb-foot .fbadges .d{font-size:12px;color:#9fb6cd;}
  .tb-foot .cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:30px;padding:48px 24px 36px;}
  .tb-foot h4{font-family:var(--disp);text-transform:uppercase;letter-spacing:.08em;font-size:14px;color:#fff;margin:0 0 15px;}
  .tb-foot ul{list-style:none;margin:0;padding:0;}
  .tb-foot li{margin-bottom:9px;}
  .tb-foot li a:hover{color:#fff;}
  .tb-foot .flogo{font-family:var(--disp);font-weight:700;font-size:23px;color:#fff;}
  .tb-foot .flogo .b{color:#5fa2e0;}
  .tb-foot .flogo small{display:block;font-size:9px;letter-spacing:.28em;color:#7f9bb7;font-weight:600;margin-top:3px;}
  .tb-foot .blurb{max-width:340px;line-height:1.6;color:#9fb6cd;margin:14px 0;}
  .tb-foot .contact{font-size:13px;line-height:1.7;color:#9fb6cd;}
  .tb-foot .contact a{color:#cfe0f0;}
  .tb-foot .noffl{margin-top:12px;font-size:12.5px;color:#7f9bb7;border-left:2px solid var(--accent);padding-left:10px;}
  /* .tb-foot .subs — intentionally NOT redeclared. The mockup assumed a plain input+button;
     the live footer renders the Newsletter plugin's markup, for which css/home-v10.css
     overrides this to display:block;height:auto. Redeclaring the mockup's flex/44px here
     would print last and silently revert that fix. */
  .tb-foot .subs input{flex:1;border:0;padding:0 12px;font:inherit;font-size:13px;min-width:0;}
  .tb-foot .subs button{background:var(--accent);color:var(--accent-ink);border:0;width:46px;font-size:18px;cursor:pointer;}
  .tb-foot .pay{font-size:12px;color:#7f9bb7;margin-top:12px;line-height:1.6;}
  .tb-foot .fbot{border-top:1px solid #123a63;}
  .tb-foot .fbot .tb-wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 24px;font-size:12.5px;color:#8ba6c1;}
  .tb-foot .fbot a{color:#8ba6c1;} .tb-foot .fbot a:hover{color:#fff;}

  /* ---------- responsive ---------- */
  @media(max-width:1100px){ .tb-brand-grid{grid-template-columns:repeat(3,1fr);} .tb-popular__grid{grid-template-columns:repeat(4,1fr);} }
  @media(max-width:960px){
    .tb-hdr .tb-wrap{display:grid;grid-template-columns:1fr auto;grid-template-areas:"brand icons" "search search";row-gap:12px;min-height:auto;}
    .tb-logo{grid-area:brand;position:static;transform:none;} .tb-hicons{grid-area:icons;position:static;transform:none;} .tb-search{grid-area:search;max-width:none;width:100%;}
    .tb-burger{display:flex;} .tb-nav{display:none;}
    .tb-util .light{display:none;}
    .tb-strip .tb-wrap{grid-template-columns:repeat(2,1fr);gap:14px;}
    .tb-brand-grid{grid-template-columns:repeat(2,1fr);}
    .tb-popular__grid{grid-template-columns:repeat(3,1fr);}
    .tb-foot .cols{grid-template-columns:1fr 1fr;}
    .tb-foot .fbadges .tb-wrap{grid-template-columns:1fr 1fr;}
    .tb-brands-cta{flex-direction:column;align-items:flex-start;}
    /* A–Z becomes a single horizontally-scrollable row so it never grows tall
       under the sticky header (prevents letters landing hidden on tap) */
    /* justify-content:flex-start so the scrollable row starts at "All" rather than
       centring its overflow and hiding the first letters off the left edge. The width
       constraint that makes overflow-x:auto work is on the base .tb-az rule above —
       min-width:0 is kept because it is correct for a flex item, but it was NOT the
       fix: this wrapper is a COLUMN flex container, so the width is the cross axis. */
    .tb-az{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;
      scrollbar-width:thin;padding:8px 0;gap:6px;min-width:0;justify-content:flex-start;}
    .tb-az::-webkit-scrollbar{height:4px;}
    .tb-az::-webkit-scrollbar-thumb{background:var(--line);border-radius:2px;}
    .tb-az__link{flex:none;}
    .tb-az__all{position:sticky;right:0;box-shadow:-8px 0 8px -6px rgba(0,0,0,.12);}
  }
  @media(max-width:640px){
    .tb-shbanner .tb-wrap{padding:36px 24px 32px;}
    .tb-brand-grid{grid-template-columns:1fr;}
    .tb-popular__grid{grid-template-columns:repeat(2,1fr);}
    .tb-strip .tb-wrap,.tb-foot .cols,.tb-foot .fbadges .tb-wrap{grid-template-columns:1fr;}
    .tb-brands-toolbar__count{width:100%;}
    .tb-az__link{min-width:30px;height:30px;font-size:13px;}
  }
  @media(prefers-reduced-motion:reduce){ .tb-brand-item{transition:none;} }
/* --- Override leftover Phase-5 brand rules from global style.css (same class names,
   old implementation). Scoped under .tb-home so ONLY the new Brands page is affected;
   the old shortcode page (no .tb-home) keeps its Phase-5 styling until it is retired. --- */
.tb-home .tb-brands-directory{max-width:none;margin:0;padding:40px 0 64px;}
.tb-home .tb-brands-nav-wrapper::before{content:none;}
