
:root{--brand-green:#009743;--brand-yellow:#FFCB0A;--text:#101114;--muted:#5e6168;--bg:#fff;--bg-alt:#f6f7f8;--radius:16px;--shadow:0 10px 30px rgba(0,0,0,.06)}
*{box-sizing:border-box}html,body{height:100%;overflow-x:hidden}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif;color:var(--text);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-bottom:0}
img{max-width:100%;display:block}a{color:var(--brand-green);text-decoration:none}a:hover{text-decoration:underline}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.topbar{background:var(--bg-alt);font-size:14px;color:var(--muted)}.topbar__inner{display:flex;justify-content:space-between;align-items:center;height:44px}
.site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #eee;z-index:60}.header__inner{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;height:68px}
.brand__img{height:28px;width:auto}.nav__toggle{display:none;background:transparent;border:none;font-size:24px;cursor:pointer}.nav__list{display:flex;gap:18px;list-style:none;padding:0;margin:0}.nav__list a{font-weight:600}
.cart{font-weight:800;background:var(--bg-alt);padding:10px 12px;border-radius:999px;display:inline-flex;gap:8px;min-width:120px;justify-content:center}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:24px 0 12px}.section-head h1,.section-head h2{margin:0}
.products-grid{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr));justify-items:stretch}
.product-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:grid;grid-template-rows:auto 1fr}
.product-card__img{height:220px;object-fit:cover}.product-card__body{padding:16px;display:grid;gap:10px}.product-card__title{margin:0;font-size:18px}
.btn{display:inline-flex;align-items:center;justify-content:center;font-weight:700;padding:12px 18px;border-radius:999px;border:2px solid transparent;transition:transform .05s ease,box-shadow .2s;text-align:center}
.btn:active{transform:translateY(1px)}.btn--primary{background:var(--brand-green);color:#fff}.btn--secondary{background:var(--brand-yellow);color:#1a1a1a}
.segment{display:inline-flex;background:var(--bg-alt);padding:4px;gap:4px;border-radius:999px}.segment__btn{border:0;background:transparent;padding:6px 12px;border-radius:999px;font-weight:700;cursor:pointer}.segment__btn.is-active{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08);color:var(--brand-green)}
.card__buy{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.price{font-weight:900;font-size:22px;letter-spacing:.2px}
.site-footer{border-top:1px solid #eee;padding:20px 0 32px;margin-top:20px;color:var(--muted)}.footer__inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px}
.footer__logo{height:22px}
/* Product page */
.breadcrumbs{font-size:14px;color:var(--muted);margin:12px 0}.breadcrumbs a{color:var(--muted)}
/* Desktop: image + description side by side */
.product-header{display:grid;gap:24px;grid-template-columns:1.1fr .9fr;align-items:start}
.product-gallery{position:relative;background:#fff;border-radius:20px;box-shadow:var(--shadow);overflow:hidden}
.product-gallery img{width:100%;height:520px;object-fit:cover}
.product-info{background:#fff;border-radius:20px;box-shadow:var(--shadow);padding:18px}
.product-title{margin:0 0 8px;font-size:32px}
.product-desc{color:var(--muted);margin:0}
/* Steps full width */
.stepper{display:grid;gap:14px;margin-top:18px}
.step{background:#fff;border-radius:20px;box-shadow:var(--shadow);padding:18px}
.step__title{margin:0 0 10px;font-size:18px}
.select{display:block;width:100%;padding:12px 14px;border-radius:12px;border:1px solid #e6e6e6;background:#fff}
.addons-grid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}
.addon-card{background:#fff;border:1px solid #eee;border-radius:14px;padding:12px;display:grid;gap:10px}
.addon-card__img{width:100%;height:120px;object-fit:cover;border-radius:10px}
.addon-card__row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center}
.addon-card__name{font-weight:700}.addon-card__price{color:var(--muted)}
.addon-controls{display:grid;grid-template-columns:40px 1fr 40px;gap:8px;align-items:center}
.addon-controls button{height:40px;border-radius:10px;border:1px solid #ddd;background:#fff;font-weight:900}
.addon-controls .qty{justify-self:center}
.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:var(--bg-alt);font-weight:700}
.checklist{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}
.checklist label{display:inline-flex;gap:8px;align-items:center;padding:10px;border-radius:12px;border:1px solid #eee}
/* Floating bar */
.floating-cart{position:fixed;left:0;right:0;bottom:0;z-index:80;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.2) blur(8px);border-top:1px solid #eee;box-shadow:0 -10px 30px rgba(0,0,0,.08)}
.floating-cart__inner{max-width:1200px;margin:0 auto;padding:10px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.floating-cart__sum{font-size:20px;font-weight:900}
.qty-lg{display:inline-grid;grid-auto-flow:column;gap:8px;align-items:center}
.qty-lg button{width:36px;height:36px;border-radius:12px;border:1px solid #ddd;background:#fff;font-weight:800}
/* Responsive */
@media (max-width:960px){
  .nav__toggle{display:inline-block}.nav__list{display:none}
  .products-grid{grid-template-columns:1fr;justify-items:center}
  .product-card{max-width:720px}
  /* Full-bleed image on mobile */
  .product-header{grid-template-columns:1fr}
  .product-gallery{width:100vw;margin-left:calc(50% - 50vw);border-radius:0;box-shadow:none}
  .product-gallery img{height:280px}
  .product-info{display:none}
  .addons-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .checklist{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:961px){.overlay{display:none!important}.nav__toggle{display:none!important}.nav__list{display:flex!important}}


/* Fix: size switcher shouldn't stretch full width */
.product-card .segment,
#step-size .segment{display:inline-flex;width:auto;max-width:100%}
.product-card .segment__btn,#step-size .segment__btn{white-space:nowrap}

/* Price highlight */
.price{color:var(--brand-green);font-size:26px}
@media(min-width:961px){.price{font-size:28px}}


/* v6.3 fixes */
/* Make product card image fully span card width */
.product-card__img{width:100% !important}

/* Size switcher must be compact, not full width */
.product-card .segment,
#step-size .segment{
  display:inline-flex !important;
  width:auto !important;
  max-width:100% !important;
  align-self:flex-start;
  inline-size:max-content;
}
.product-card .segment__btn,#step-size .segment__btn{white-space:nowrap}


/* v6.4: compact size switcher */
.product-card .segment,
#step-size .segment{
  display:inline-flex !important;
  width:auto !important;
  max-width:100% !important;
  place-self:start !important;
  justify-self:start !important;
}


/* v6.4: hero layout */
.hero__inner{display:grid;gap:18px}
@media(min-width:960px){
  .hero__inner{grid-template-columns:1.1fr .9fr;align-items:center}
}
.hero__media{width:100%}
.hero__img{width:100%;height:360px;object-fit:cover;border-radius:24px;box-shadow:0 20px 40px rgba(0,0,0,.08)}

body.has-floating{padding-bottom:92px}
