:root{
  --green:#0b5d46;
  --green-dark:#074634;
  --green-light:#eaf5f0;
  --gold:#f5b942;
  --text:#17211d;
  --muted:#68736e;
  --line:#e5e9e7;
  --soft:#f6f8f7;
  --white:#fff;
  --max:1280px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:#fff;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input{font:inherit}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}

/* HEADER */
.topbar{background:var(--green-dark);color:#fff;font-size:13px}
.topbar-inner{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.top-links{display:flex;gap:24px}

.main-header{
  display:grid;
  grid-template-columns:210px minmax(300px,1fr) 210px;
  align-items:center;
  gap:28px;
  padding:22px 0;
}

.brand{
  font-size:32px;
  font-weight:900;
  letter-spacing:-1.7px;
}
.brand span{color:var(--green)}

.search{
  display:flex;
  height:50px;
  border:2px solid var(--green);
  border-radius:9px;
  overflow:hidden;
  background:#fff;
}
.search input{
  flex:1;
  border:0;
  outline:0;
  padding:0 17px;
  min-width:0;
}
.search button{
  border:0;
  padding:0 27px;
  background:var(--green);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.header-actions{
  display:flex;
  justify-content:flex-end;
  gap:28px;
}
.header-actions a{display:flex;flex-direction:column}
.header-actions small{font-size:11px;color:var(--muted)}
.header-actions strong{font-size:14px}

.nav{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
}
.nav-inner{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:31px;
  font-size:14px;
  font-weight:700;
}
.all-categories{
  background:var(--green);
  color:#fff;
  align-self:stretch;
  display:flex;
  align-items:center;
  padding:0 22px;
  margin-right:4px;
}

/* HERO */
.hero{padding:28px 0 0}
.hero-box{
  min-height:460px;
  border-radius:22px;
  padding:62px 68px;
  background:
    radial-gradient(circle at 85% 25%,rgba(245,185,66,.32),transparent 26%),
    linear-gradient(120deg,#e8f5ef 0%,#f5f8ee 55%,#fff3d8 100%);
  display:grid;
  grid-template-columns:1.25fr .75fr;
  align-items:center;
  overflow:hidden;
}
.eyebrow,.section-label{
  color:var(--green);
  font-size:11px;
  font-weight:900;
  letter-spacing:2px;
}
.hero h1{
  margin:13px 0 20px;
  max-width:750px;
  font-size:62px;
  line-height:.98;
  letter-spacing:-3.5px;
}
.hero p{
  max-width:620px;
  font-size:18px;
  line-height:1.65;
  color:#55615b;
  margin:0 0 27px;
}
.hero-buttons{display:flex;gap:12px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  padding:14px 22px;
  font-weight:800;
}
.primary{background:var(--green);color:#fff}
.secondary{background:#fff;border:1px solid #d9dfdc}

.hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-top:27px;
  color:#52605a;
  font-size:13px;
  font-weight:700;
}
.hero-art{display:flex;justify-content:flex-end}
.hero-circle{
  width:310px;
  height:310px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:0 30px 60px rgba(11,93,70,.18);
  transform:rotate(-5deg);
}
.hero-circle span{
  font-size:165px;
  line-height:.8;
  font-weight:950;
}
.hero-circle small{
  margin-top:22px;
  font-size:16px;
  font-weight:800;
  letter-spacing:1px;
}

/* QUICK FEATURES */
.quick-features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin-top:22px;
  border:1px solid var(--line);
  border-radius:13px;
  overflow:hidden;
}
.quick-features div{
  padding:20px 22px;
  display:flex;
  flex-direction:column;
  gap:5px;
  border-right:1px solid var(--line);
}
.quick-features div:last-child{border-right:0}
.quick-features strong{font-size:14px}
.quick-features span{font-size:12px;color:var(--muted)}

/* SECTIONS */
.section{padding-top:62px;padding-bottom:12px}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:24px;
}
.section-head h2{
  margin:5px 0 0;
  font-size:30px;
  letter-spacing:-1px;
}
.section-head>a{
  font-size:13px;
  font-weight:750;
  color:var(--green);
}

/* CATEGORIES */
.category-grid{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:17px;
}
.category-card{
  text-align:center;
  font-size:13px;
  font-weight:750;
}
.category-image{
  border:1px solid var(--line);
  background:var(--soft);
  border-radius:15px;
  overflow:hidden;
  aspect-ratio:1;
  transition:.2s;
}
.category-card:hover .category-image{
  transform:translateY(-3px);
  border-color:#b9cfc6;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
}
.category-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.category-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  font-size:42px;
  font-weight:900;
  color:var(--green);
  background:var(--green-light);
}
.category-card>span{display:block;margin-top:10px}

/* PRODUCTS */
.deal-section{
  margin-top:55px;
  padding-bottom:50px;
  background:#f7faf8;
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.product-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  overflow:hidden;
  transition:.2s;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 35px rgba(0,0,0,.08);
}
.product-image-wrap{
  position:relative;
  display:block;
  aspect-ratio:1;
  background:#f8f9f8;
}
.product-image-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.product-placeholder{
  height:100%;
  display:grid;
  place-items:center;
  font-size:42px;
  font-weight:900;
  color:#bcc4c0;
}
.sale-badge{
  position:absolute;
  top:12px;
  left:12px;
  padding:6px 9px;
  border-radius:6px;
  background:#d94343;
  color:#fff;
  font-size:10px;
  font-weight:800;
}
.product-info{padding:16px}
.product-meta{
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.6px;
}
.product-name{
  display:block;
  min-height:42px;
  margin:6px 0 8px;
  font-size:15px;
  line-height:1.4;
  font-weight:750;
}
.rating{font-size:12px;color:#e5a000}
.rating span{color:var(--muted)}
.price-row{
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:10px;
}
.price-row strong{font-size:20px;color:var(--green-dark)}
.price-row del{font-size:13px;color:#929a96}
.save{
  display:block;
  margin-top:5px;
  font-size:11px;
  color:var(--green);
  font-weight:750;
}
.add-cart{
  width:100%;
  margin-top:13px;
  padding:11px;
  border:0;
  border-radius:8px;
  background:var(--green);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}

.empty-note{
  grid-column:1/-1;
  padding:30px;
  border:1px dashed #cbd3cf;
  border-radius:13px;
  color:var(--muted);
  background:#fafbfa;
}
.product-empty{
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* PROMO */
.promo{
  margin-top:70px;
  margin-bottom:70px;
  min-height:310px;
  border-radius:20px;
  background:var(--green-dark);
  color:#fff;
  padding:52px 60px;
  display:grid;
  grid-template-columns:1fr 260px;
  align-items:center;
  overflow:hidden;
}
.promo .section-label{color:#9dd7c1}
.promo h2{
  max-width:680px;
  margin:8px 0 14px;
  font-size:40px;
  line-height:1.05;
  letter-spacing:-1.7px;
}
.promo p{
  max-width:600px;
  line-height:1.7;
  color:#c9d9d2;
}
.promo-button{
  margin-top:12px;
  background:#fff;
  color:var(--green-dark);
}
.promo-mark{
  justify-self:end;
  font-size:220px;
  line-height:1;
  font-weight:950;
  color:rgba(255,255,255,.09);
}

/* BENEFITS */
.benefits{
  background:#111814;
  color:#fff;
}
.benefits-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:35px;
  padding:38px 0;
}
.benefits-grid div{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.benefits-grid strong{font-size:14px}
.benefits-grid span{
  color:#aeb9b4;
  font-size:12px;
  line-height:1.5;
}

/* FOOTER */
.footer{
  background:#f2f5f3;
  padding:58px 0 90px;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr repeat(3,1fr);
  gap:50px;
}
.footer-brand{font-size:29px}
.footer p{
  color:#69736e;
  font-size:13px;
  line-height:2;
}
.footer-about p{
  max-width:390px;
  line-height:1.8;
}
.footer-bottom{
  border-top:1px solid #dfe4e1;
  margin-top:40px;
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  color:#818985;
  font-size:12px;
}
.mobile-nav{display:none}

/* PRODUCT DETAIL */
.product-detail{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  padding-top:50px;
  padding-bottom:40px;
}
.detail-media{
  background:#fafafa;
  border-radius:16px;
  overflow:hidden;
  aspect-ratio:1;
}
.detail-media img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.detail-placeholder{
  height:100%;
  display:grid;
  place-items:center;
  font-size:90px;
  font-weight:900;
  color:#ccc;
}
.breadcrumbs{
  font-size:13px;
  color:#888;
  margin-bottom:14px;
}
.detail-content h1{
  font-size:40px;
  line-height:1.08;
  letter-spacing:-1.4px;
  margin:0 0 14px;
}
.detail-price{
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0;
}
.detail-price strong{font-size:30px}
.detail-price del{color:#999}
.detail-actions{
  display:flex;
  gap:12px;
  margin:26px 0;
}
.detail-actions .btn{min-width:160px}
.description{
  border-top:1px solid var(--line);
  margin-top:32px;
  padding-top:18px;
}

/* TABLET */
@media(max-width:950px){
  .topbar{display:none}
  .main-header{
    grid-template-columns:1fr auto;
    padding:16px 0;
  }
  .search{
    grid-column:1/-1;
    grid-row:2;
  }
  .account-link{display:none!important}
  .nav{display:none}
  .hero-box{
    grid-template-columns:1fr;
    min-height:390px;
    padding:45px 38px;
  }
  .hero-art{display:none}
  .hero h1{font-size:48px}
  .category-grid{grid-template-columns:repeat(4,1fr)}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .quick-features{grid-template-columns:repeat(2,1fr)}
  .quick-features div:nth-child(2){border-right:0}
  .quick-features div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .benefits-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .promo{grid-template-columns:1fr}
  .promo-mark{display:none}
  .product-detail{grid-template-columns:1fr}
}

/* MOBILE */
@media(max-width:560px){
  body{padding-bottom:62px}
  .container{width:calc(100% - 22px)}

  .brand{font-size:26px}
  .main-header{gap:10px}
  .header-actions{gap:8px}
  .cart-link small{display:none}

  .search{height:46px}
  .search button{padding:0 16px}

  .hero{padding-top:12px}
  .hero-box{
    min-height:360px;
    padding:35px 23px;
    border-radius:15px;
  }
  .hero h1{
    font-size:39px;
    letter-spacing:-2px;
  }
  .hero p{font-size:15px}
  .hero-buttons{flex-direction:column;align-items:stretch}
  .hero-points{gap:10px;font-size:11px}

  .quick-features{margin-top:12px}
  .quick-features div{padding:15px 12px}

  .section{padding-top:43px}
  .section-head h2{font-size:25px}

  .category-grid{
    display:flex;
    overflow-x:auto;
    gap:12px;
    padding-bottom:8px;
  }
  .category-card{min-width:90px}

  .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .product-info{padding:11px}
  .product-name{
    font-size:13px;
    min-height:38px;
  }
  .price-row{
    flex-wrap:wrap;
    gap:5px;
  }
  .price-row strong{font-size:17px}

  .promo{
    margin-top:50px;
    margin-bottom:50px;
    min-height:300px;
    padding:36px 24px;
    border-radius:15px;
  }
  .promo h2{font-size:31px}

  .benefits-grid{
    grid-template-columns:1fr 1fr;
    gap:25px 15px;
  }

  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{
    flex-direction:column;
    gap:8px;
  }

  .mobile-nav{
    position:fixed;
    z-index:100;
    bottom:0;
    left:0;
    right:0;
    height:62px;
    display:flex;
    justify-content:space-around;
    align-items:center;
    background:#fff;
    border-top:1px solid var(--line);
    box-shadow:0 -5px 20px rgba(0,0,0,.05);
  }
  .mobile-nav a{
    min-width:55px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:3px;
    font-size:10px;
    font-weight:750;
  }
  .mobile-nav span{font-size:15px}

  .detail-content h1{font-size:30px}
}
