:root{
  --ink:#1C2B1E; --body:#5C6660; --bg:#FAFBF8; --white:#fff;
  --border:#E4E9E1; --green:#3B8636; --green-deep:#276B24; --leaf:#EAF5E7;
  --orange:#F08A24; --red:#D6392E; --gold:#C9A227; --max:1200px;
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ font-family:'Inter',system-ui,sans-serif; color:var(--ink); background:var(--bg); line-height:1.5; -webkit-font-smoothing:antialiased; padding-bottom:60px; }
h1,h2,h3{ font-family:'Poppins','Inter',sans-serif; color:var(--ink); line-height:1.2; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 16px; }
.scroller{ display:flex; gap:12px; overflow-x:auto; -ms-overflow-style:none; scrollbar-width:none; padding-bottom:4px; }
.scroller::-webkit-scrollbar{ display:none; }

/* ---- Top strip ---- */
.topstrip{ background:var(--green-deep); color:#fff; font-size:11.5px; }
.topstrip .wrap{ display:flex; justify-content:space-between; align-items:center; height:32px; gap:10px; overflow:hidden; }
.topstrip .locs{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:.9; }
.topstrip .hotline{ font-weight:700; flex-shrink:0; }

/* ---- Nav ---- */
.nav{ background:#fff; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:50; }
.nav .wrap{ display:flex; align-items:center; gap:12px; height:64px; }
.logo{ display:flex; align-items:center; gap:8px; flex-shrink:0; }
.logo-mark{ width:36px; height:36px; border-radius:9px; background:#0b0b0b; overflow:hidden; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.logo-mark img{ width:100%; height:100%; object-fit:cover; display:block; }
.logo-word{ font-family:'Poppins'; font-weight:800; font-size:18px; }
.nav-search{ flex:1; display:none; position:relative; }
.nav-search select{ position:absolute; left:1px; top:1px; bottom:1px; border:none; background:var(--leaf); border-radius:8px 0 0 8px; font-size:12.5px; padding:0 10px; color:var(--green-deep); font-weight:600; }
.nav-search input{ width:100%; height:42px; border-radius:8px; border:1.5px solid var(--border); padding:0 46px 0 130px; font-size:13.5px; outline:none; }
.nav-search input:focus{ border-color:var(--green); }
.nav-search button{ position:absolute; right:1px; top:1px; bottom:1px; width:44px; background:var(--green); border-radius:0 8px 8px 0; display:flex; align-items:center; justify-content:center; color:#fff; }
.nav-icons{ display:flex; align-items:center; gap:12px; margin-left:auto; }
.icon-btn{ position:relative; width:38px; height:38px; border-radius:9px; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); }
.icon-badge{ position:absolute; top:-5px; right:-5px; background:var(--orange); color:#fff; font-size:9.5px; font-weight:700; border-radius:999px; min-width:16px; height:16px; display:flex; align-items:center; justify-content:center; padding:0 3px; }

/* department bar (desktop) */
.dept-bar{ display:none; background:var(--green-deep); }
.dept-bar .wrap{ display:flex; align-items:center; gap:6px; height:46px; }
.dept-toggle{ display:flex; align-items:center; gap:8px; color:#fff; font-size:13px; font-weight:700; padding:0 14px; height:100%; background:var(--green); border-radius:6px 6px 0 0; }
.dept-links{ display:flex; gap:2px; overflow-x:auto; }
.dept-links a{ color:rgba(255,255,255,.88); font-size:12.5px; font-weight:600; padding:0 12px; height:46px; display:flex; align-items:center; white-space:nowrap; }
.dept-links a:hover{ color:#fff; background:rgba(255,255,255,.08); }

/* mobile drawer */
.drawer{ position:fixed; inset:0; background:rgba(10,16,10,.45); z-index:60; opacity:0; pointer-events:none; transition:opacity .2s; }
.drawer.open{ opacity:1; pointer-events:auto; }
.drawer-panel{ position:absolute; top:0; left:0; height:100%; width:82%; max-width:320px; background:#fff; transform:translateX(-100%); transition:transform .25s ease; overflow-y:auto; }
.drawer.open .drawer-panel{ transform:translateX(0); }
.drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:16px 18px; border-bottom:1px solid var(--border); background:var(--leaf); }
.drawer a.dlink{ display:block; padding:13px 20px; font-weight:600; font-size:14px; border-bottom:1px solid #F1F3EF; }

/* ---- Hero slider ---- */
.hero{ position:relative; background:var(--green-deep); overflow:hidden; }
.hero-track{ display:flex; transition:transform .5s ease; }
.hero-slide{ min-width:100%; aspect-ratio:16/10; position:relative; display:flex; align-items:center; }
.hero-slide .bg{ position:absolute; inset:0; }
.hero-slide .bg img{ width:100%; height:100%; object-fit:cover; object-position:right center; display:block; }
.hero-slide .bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(12,22,12,.62) 0%,rgba(12,22,12,.3) 45%,rgba(12,22,12,0) 75%); }
.hero-slide .wrap{ position:relative; z-index:2; color:#fff; }
.hero-slide .eyebrow{ font-size:12.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:#D8F0B8; margin-bottom:8px; }
.hero-slide h2{ font-size:clamp(24px,6vw,44px); font-weight:800; max-width:340px; color:#fff; }
.hero-slide p{ color:rgba(255,255,255,.82); margin-top:8px; max-width:300px; font-size:13.5px; }
.hero-dots{ position:absolute; bottom:14px; left:0; right:0; display:flex; justify-content:center; gap:6px; z-index:3; }
.hero-dots button{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.4); }
.hero-dots button.active{ background:#fff; width:20px; border-radius:4px; }
.hero-arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:4; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.15); color:#fff; display:none; align-items:center; justify-content:center; }
.hero-arrow.left{ left:14px; } .hero-arrow.right{ right:14px; }

.btn{ display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:13px; border-radius:8px; padding:12px 22px; margin-top:16px; }
.btn-orange{ background:var(--orange); color:#fff; }
.btn-orange:hover{ background:#D97A17; }
.btn-white{ background:#fff; color:var(--green-deep); }

/* ---- Section shell ---- */
section{ padding:30px 0; }
.section-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.section-head h2{ font-size:17px; font-weight:800; }
.section-head a{ font-size:12.5px; font-weight:700; color:var(--green-deep); }

/* ---- Category grid ---- */
.cat-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.cat-card{ background:#fff; border:1px solid var(--border); border-radius:12px; padding:18px 10px; display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; transition:box-shadow .15s, transform .15s; }
.cat-card:hover{ box-shadow:0 10px 24px -16px rgba(20,40,20,.3); transform:translateY(-2px); }
.cat-icon{ width:52px; height:52px; border-radius:50%; background:var(--leaf); display:flex; align-items:center; justify-content:center; color:var(--green-deep); }
.cat-card span{ font-size:12.5px; font-weight:700; }
.cat-card small{ font-size:11px; color:var(--body); font-weight:500; }

/* ---- Product cards ---- */
.prod-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.prod-grid.scroller{ display:flex; }
.prod-card{ background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; flex:0 0 auto; width:100%; display:flex; flex-direction:column; position:relative; }
.prod-grid.scroller .prod-card{ width:160px; }
.prod-media{ aspect-ratio:1; position:relative; background:var(--leaf); }
.prod-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.prod-discount{ position:absolute; top:8px; left:8px; background:var(--red); color:#fff; font-size:10px; font-weight:800; padding:3px 7px; border-radius:5px; }
.wish-btn{ position:absolute; top:8px; right:8px; width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; }
.prod-body{ padding:11px; display:flex; flex-direction:column; gap:5px; flex:1; }
.prod-name{ font-size:12px; font-weight:600; line-height:1.35; min-height:32px; }
.stars{ color:var(--gold); font-size:10.5px; }
.prod-stock{ font-size:10.5px; color:var(--body); display:flex; gap:8px; }
.prod-price{ font-size:14.5px; font-weight:800; margin-top:auto; color:var(--green-deep); }
.prod-price .old{ font-size:11px; color:var(--body); font-weight:500; text-decoration:line-through; margin-left:5px; }
.add-cart-btn{ display:flex; align-items:center; justify-content:center; gap:5px; background:var(--leaf); color:var(--green-deep); font-size:11px; font-weight:700; padding:7px; border-radius:6px; margin-top:6px; }
.add-cart-btn:hover{ background:var(--green); color:#fff; }

/* ---- Promo tile row ---- */
.promo-row{ display:grid; grid-template-columns:1fr; gap:12px; }
.promo-tile{ border-radius:12px; overflow:hidden; aspect-ratio:2.4/1; position:relative; display:flex; align-items:center; padding:18px; color:#fff; }
.promo-tile > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:right center; }
.promo-tile::before{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(10,20,10,.6) 0%,rgba(10,20,10,.25) 55%,rgba(10,20,10,0) 80%); }
.promo-tile > div{ position:relative; z-index:2; }
.promo-tile .kicker{ font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; opacity:.85; }
.promo-tile h3{ font-size:15.5px; color:#fff; margin:3px 0 8px; }
.promo-tile .btn{ margin-top:0; padding:8px 16px; font-size:11.5px; }

/* ---- Tabs ---- */
.tabs{ display:flex; gap:6px; margin-bottom:16px; overflow-x:auto; }
.tab-btn{ font-size:12.5px; font-weight:700; padding:9px 16px; border-radius:999px; border:1px solid var(--border); color:var(--body); white-space:nowrap; }
.tab-btn.active{ background:var(--green); color:#fff; border-color:var(--green); }

/* ---- Testimonials ---- */
.testi-scroller{ display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px; -ms-overflow-style:none; scrollbar-width:none; }
.testi-scroller::-webkit-scrollbar{ display:none; }
.testi-card{ scroll-snap-align:start; min-width:260px; max-width:300px; flex:0 0 auto; background:#fff; border:1px solid var(--border); border-radius:12px; padding:20px; display:flex; flex-direction:column; gap:10px; }
.testi-top{ display:flex; align-items:center; gap:10px; }
.avatar{ width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0; display:block; }
.testi-name{ font-weight:700; font-size:13px; }
.testi-loc{ font-size:11px; color:var(--body); }
.testi-card p.quote{ font-size:12.5px; color:var(--body); line-height:1.55; }
.sample-tag{ font-size:11px; color:var(--body); font-style:italic; margin-bottom:6px; }

/* ---- Brand strip ---- */
.brand-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; align-items:center; }
.brand-logo{ height:44px; border:1px solid var(--border); border-radius:8px; display:flex; align-items:center; justify-content:center; font-family:'Poppins'; font-weight:700; font-size:12px; color:var(--body); background:#fff; }

/* ---- Assurance strip ---- */
.assure{ background:var(--green-deep); color:#fff; }
.assure-grid{ display:grid; grid-template-columns:1fr; gap:22px; text-align:center; }
.assure-item{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.assure-icon{ width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; }
.assure-item h3{ color:#fff; font-size:14.5px; }
.assure-item p{ color:rgba(255,255,255,.75); font-size:12.5px; max-width:240px; }

/* ---- Newsletter ---- */
.newsletter{ background:var(--leaf); border-radius:14px; padding:26px 20px; text-align:center; }
.newsletter h2{ font-size:18px; margin-bottom:6px; }
.newsletter p{ color:var(--body); font-size:13px; margin-bottom:16px; }
.newsletter form{ display:flex; gap:8px; max-width:380px; margin:0 auto; }
.newsletter input{ flex:1; height:44px; border-radius:8px; border:1px solid var(--border); padding:0 14px; font-size:13px; outline:none; }
.newsletter button{ background:var(--green); color:#fff; font-weight:700; font-size:13px; padding:0 18px; border-radius:8px; }

/* ---- Store locations ---- */
.loc-grid{ display:grid; grid-template-columns:1fr; gap:10px; }
.loc-card{ background:#fff; border:1px solid var(--border); border-radius:10px; padding:14px; display:flex; justify-content:space-between; align-items:center; gap:10px; }
.loc-card .name{ font-size:13px; font-weight:700; }
.loc-card .addr{ font-size:11.5px; color:var(--body); }
.loc-card .phone{ font-size:12px; font-weight:700; color:var(--green-deep); white-space:nowrap; }

/* ---- Footer ---- */
footer{ background:var(--ink); color:#fff; padding-top:36px; }
.foot-grid{ display:grid; grid-template-columns:1fr; gap:26px; padding-bottom:24px; border-bottom:1px solid rgba(255,255,255,.1); }
.foot-col h4{ font-size:11.5px; font-weight:800; letter-spacing:.04em; color:rgba(255,255,255,.55); margin-bottom:10px; }
.foot-col a, .foot-col p{ font-size:13px; color:rgba(255,255,255,.75); display:block; padding:5px 0; }
.foot-hours{ background:rgba(255,255,255,.06); border-radius:8px; padding:10px 12px; font-size:12px; color:rgba(255,255,255,.75); margin-top:10px; }
.social-row{ display:flex; gap:10px; margin-top:10px; }
.social-row a{ width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; padding:0; }
.pay-row{ display:flex; gap:8px; margin-top:14px; flex-wrap:wrap; }
.pay-badge{ background:rgba(255,255,255,.08); border-radius:6px; padding:5px 11px; font-size:10.5px; font-weight:600; color:rgba(255,255,255,.6); }
.foot-bottom{ text-align:center; font-size:11.5px; color:rgba(255,255,255,.45); padding:18px 0; }

/* ---- Sticky mobile bottom nav ---- */
.bottom-nav{ position:fixed; bottom:0; left:0; right:0; background:#fff; border-top:1px solid var(--border); display:flex; z-index:70; }
.bottom-nav a{ flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; padding:9px 0 8px; font-size:10.5px; font-weight:600; color:var(--body); }
.bottom-nav a.active{ color:var(--green-deep); }

/* keep the header on one line on phones (account and wishlist live in the bottom bar) */
@media (max-width:559px){
  .nav-icons a[aria-label="Account"], .nav-icons a[aria-label="Wishlist"]{ display:none; }
  .logo-word{ font-size:16px; }
}

/* contact links */
.hotline a{ color:inherit; }
.loc-card a.phone{ white-space:nowrap; }
.foot-col a.foot-contact{ display:block; }

/* ---- Desktop ---- */
@media (min-width:900px){
  body{ padding-bottom:0; }
  .bottom-nav{ display:none; }
  .dept-bar{ display:block; }
  .nav-search{ display:flex; max-width:480px; }
  .cat-grid{ grid-template-columns:repeat(6,1fr); }
  .prod-grid{ grid-template-columns:repeat(6,1fr); }
  .prod-grid.scroller .prod-card{ width:calc((100% - 60px) / 6); }
  .promo-row{ grid-template-columns:repeat(3,1fr); }
  .assure-grid{ grid-template-columns:repeat(4,1fr); }
  .brand-strip{ grid-template-columns:repeat(6,1fr); }
  .loc-grid{ grid-template-columns:repeat(2,1fr); }
  .foot-grid{ grid-template-columns:2fr 1fr 1fr 1fr; }
  .hero-arrow{ display:flex; }
  .hero-slide{ aspect-ratio:16/9; }
}
@media (min-width:560px) and (max-width:899px){
  .cat-grid{ grid-template-columns:repeat(3,1fr); }
  .prod-grid{ grid-template-columns:repeat(4,1fr); }
  .promo-row{ grid-template-columns:repeat(2,1fr); }
  .assure-grid{ grid-template-columns:repeat(2,1fr); }
  .brand-strip{ grid-template-columns:repeat(3,1fr); }
  .loc-grid{ grid-template-columns:repeat(2,1fr); }
}
