/* Critical above-fold CSS — header, hero, layout shell. Full theme loads deferred. */
:root{
  --color-primary:#17a2b8;--color-primary-dark:#138496;--color-white:#fff;
  --color-gray-50:#f8fafc;--color-gray-400:#94a3b8;--color-gray-800:#1e293b;--color-gray-900:#0f172a;
  --space-1:.25rem;--space-2:.5rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;
  --space-8:2rem;--space-16:4rem;--space-20:5rem;
  --font-size-base:1rem;--font-size-lg:1.125rem;--font-size-xl:1.25rem;--font-size-4xl:2.25rem;
  --transition-fast:.2s ease;--transition-base:.2s ease;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;padding:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:1rem;line-height:1.6;color:var(--color-gray-800);background:var(--color-gray-50);
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--color-primary);text-decoration:none}
.container{width:100%;max-width:1680px;margin:0 auto;padding:0 1.5rem}
.site-header{position:sticky;top:0;z-index:1000;background:var(--color-white);border-bottom:1px solid #e2e8f0;
  box-shadow:0 1px 3px rgba(0,0,0,.05);min-height:72px}
@media(max-width:768px){.site-header{min-height:0}}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:70px;gap:1.5rem}
.header-logo{flex-shrink:0;display:flex;align-items:center}
.logo{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:1.25rem;color:var(--color-gray-900)}
.logo img{height:45px;width:auto;max-width:200px;object-fit:contain}
.header-nav{display:flex;align-items:center;gap:.5rem}
.header-nav-link{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:8px;
  color:var(--color-gray-800);font-weight:500;font-size:.875rem}
.mobile-menu-toggle{display:none;background:none;border:none;padding:.5rem;cursor:pointer}
.hero{background:linear-gradient(135deg,#0ea5e9 0%,#0284c7 100%);padding:5rem 0;text-align:center;
  position:relative;overflow:hidden;min-height:280px}
.hero::before{content:'';position:absolute;inset:0;opacity:.6;pointer-events:none}
.hero-bg-wrapper{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero-bg,img.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;background-size:cover;background-position:center;background-repeat:no-repeat}
img.hero-bg-1{opacity:1;z-index:0}
.hero-bg-2{opacity:0;z-index:0}
.hero-bg-wrapper:not(:has(.hero-bg-2)) img.hero-bg-1{animation:none}
.hero-bg-overlay{position:absolute;inset:0;z-index:1}
.hero-content,.hero-with-bg .hero-content{position:relative;z-index:2;max-width:1600px;margin:0 auto}
.hero h1{font-size:clamp(2rem,5vw,2.75rem);font-weight:700;color:#fff;margin:0 0 1rem;line-height:1.15}
.hero p,.hero-lead{font-size:clamp(1rem,2.2vw,1.125rem);color:rgba(255,255,255,.92);margin:0 auto 1.5rem;max-width:42rem;line-height:1.55}
.section{padding:4rem 0}
.section-sm{padding:2.5rem 0}
.search-box{background:#fff;border-radius:10px;padding:.25rem;display:flex;align-items:stretch;
  border:2px solid #17a2b8;box-shadow:0 8px 20px rgba(23,162,184,.15);width:min(100%,640px);margin:0 auto}
.search-box input{flex:1;border:none;padding:1rem 1.25rem;font-size:1rem;background:transparent;color:var(--color-gray-800);min-width:0}
.search-box input:focus{outline:none}
.search-box button{background:linear-gradient(135deg,#17a2b8 0%,#138496 100%);border:none;padding:1rem 1.5rem;
  border-radius:0 8px 8px 0;color:#fff;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;flex-shrink:0}
.popular-searches{margin-top:1.5rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.popular-searches a,.popular-tag{display:inline-block;padding:.375rem .875rem;background:rgba(255,255,255,.15);
  color:#fff;border-radius:9999px;font-size:.875rem}
.row{display:flex;flex-wrap:wrap;margin-left:-12px;margin-right:-12px}
.row>[class*="col-"]{padding-left:12px;padding-right:12px;min-width:0;width:auto}
.col-6{flex:0 0 50%;max-width:50%}
.col-12{flex:0 0 100%;max-width:100%}
.d-flex{display:flex}
.h-100{height:100%}
.text-center{text-align:center}
.mt-2{margin-top:.5rem}.mt-4{margin-top:1.5rem}.ms-2{margin-left:.5rem}
.g-2{--bs-gutter-x:.5rem;--bs-gutter-y:.5rem;margin-left:calc(var(--bs-gutter-x)*-.5);margin-right:calc(var(--bs-gutter-x)*-.5)}
.g-2>*{padding-left:calc(var(--bs-gutter-x)*.5);padding-right:calc(var(--bs-gutter-x)*.5);margin-top:var(--bs-gutter-y)}
@media(min-width:768px){.g-md-3{--bs-gutter-x:1rem;--bs-gutter-y:1rem}}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.55rem 1.15rem;border-radius:999px;border:1.5px solid transparent;font-weight:600;font-size:.9375rem;line-height:1.2;cursor:pointer;text-decoration:none;background:#fff;color:var(--color-primary)}
.btn-outline-primary{border-color:var(--color-primary);color:var(--color-primary);background:transparent}
.btn-outline-primary:hover{background:var(--color-primary);color:#fff}
@media(min-width:576px){.col-sm-4{flex:0 0 33.333333%;max-width:33.333333%}}
@media(min-width:768px){.col-md-3{flex:0 0 25%;max-width:25%}.col-md-4{flex:0 0 33.333333%;max-width:33.333333%}}
@media(min-width:992px){.col-lg-2{flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{flex:0 0 25%;max-width:25%}.col-lg-6{flex:0 0 50%;max-width:50%}}
@media(min-width:1200px){.col-xl-2{flex:0 0 16.666667%;max-width:16.666667%}}
.brands-section .row{display:flex;flex-wrap:wrap;margin-left:-12px;margin-right:-12px}
.brands-section .col-6{flex:0 0 50%;max-width:50%;padding:0 12px}
.categories-home-grid>.col-6,.brands-home-grid>.col-6,.featured-home-grid>.col-6{flex:0 0 50%;max-width:50%}
.brands-section .col-lg-2,.brands-section .col-xl-2{flex:0 0 16.666667%;max-width:16.666667%;padding:0 12px}
.brands-section .brand-card{display:flex;flex-direction:row;align-items:center;gap:.75rem}
#brandsGrid{display:flex;flex-wrap:wrap}
#brandsGrid>.col-6{flex:0 0 50%;max-width:50%}
.how-it-works .row{display:grid;grid-template-columns:1fr;gap:1rem;margin:0}
.how-it-works .how-it-works-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin:0}
@media(min-width:768px){.how-it-works .row,.how-it-works .how-it-works-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}}
.how-it-works [class*="col-"]{padding:0;min-width:0;max-width:none;flex:none;width:auto}
@media(max-width:768px){
  .header-nav{display:none}.mobile-menu-toggle{display:flex}
  .header-inner{flex-wrap:wrap;height:auto;min-height:56px;padding:10px 0;gap:10px}
  .header-search{position:static;flex:0 0 100%;width:100%;max-width:none;padding:0}
  .header-search-box input{font-size:16px;min-height:44px}
}
@media(max-width:768px){.hero{padding:3rem 0}.search-box{width:100%}.search-box button .hide-mobile{display:none}}

/* Mobile bottom nav + body offset — keep in critical so idle theme CSS does not cause CLS */
.mobile-nav{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e2e8f0;padding:.5rem 0;z-index:1000;min-height:56px}
.mobile-nav-items{display:flex;justify-content:space-around}
.mobile-nav-item{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.5rem;color:#64748b;text-decoration:none;font-size:.6875rem;flex:1 1 0;min-width:0;text-align:center;position:relative}
.mobile-nav-item span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.mobile-nav-item i{width:1.25rem;height:1.25rem;font-size:1.125rem;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.mobile-nav-item.active,.mobile-nav-item:hover{color:#17a2b8}
.shopper-count-badge{position:absolute;top:2px;right:calc(50% - 1.1rem);min-width:1.1rem;height:1.1rem;padding:0 .25rem;border-radius:999px;background:#dc2626;color:#fff;font-size:.65rem;line-height:1.1rem;text-align:center;font-style:normal;font-weight:700}
@media(max-width:768px){
  .mobile-nav{display:block}
  body{padding-bottom:calc(56px + env(safe-area-inset-bottom,0px))}
  .site-footer{padding-bottom:1rem}
}

/* Reserve layout for deferred page-home.css (CLS / Speed Index) */
.section-eyebrow{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#17a2b8;background:rgba(23,162,184,.1);padding:.25rem .75rem;border-radius:999px;margin-bottom:.875rem}
.categories-genres-section .genres-card--home{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;min-height:7.5rem}
.home-product-visual{aspect-ratio:2/3;background:#f1f5f9;display:flex;align-items:center;justify-content:center;overflow:hidden}
.home-product-image{width:100%;height:100%;object-fit:contain;aspect-ratio:2/3}
.home-product-card{display:flex;flex-direction:column;width:100%;background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;text-decoration:none;color:inherit}

