:root {
  --bg: #f7f8f7;
  --surface: #ffffff;
  --text: #17201b;
  --muted: #6e7871;
  --accent: #1d8c5b;
  --accent-dark: #12653f;
  --accent-soft: #e7f5ee;
  --border: #dfe7e2;
  --dark: #12251b;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(19, 59, 39, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 247, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 231, 226, .75);
}
.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, var(--accent), #45ba80);
}
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--accent); }
.cart-button {
  border: 0; border-radius: 14px; padding: 11px 14px;
  background: var(--text); color: #fff; font-weight: 700;
}
.cart-count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px;
  padding: 0 6px; margin-left: 7px; border-radius: 999px;
  color: var(--text); background: #fff;
}

.hero { padding: 72px 0 58px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 15px;
  color: var(--accent); font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero h1, .section h2 {
  margin: 0; letter-spacing: -.045em; line-height: 1.04;
}
.hero h1 { font-size: clamp(46px, 7vw, 82px); }
.hero h1 span { color: var(--accent); }
.hero__content > p {
  max-width: 610px; margin: 24px 0 0;
  color: var(--muted); font-size: 18px; line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 52px; padding: 0 22px; border: 0; border-radius: 16px;
  font-weight: 800; transition: .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--accent); box-shadow: 0 16px 30px rgba(29, 140, 91, .22); }
.button--primary:hover { background: var(--accent-dark); }
.button--ghost { background: var(--surface); border: 1px solid var(--border); }
.button--light { color: var(--dark); background: #fff; }
.button--full { width: 100%; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; }
.hero__stats div { display: flex; flex-direction: column; gap: 3px; }
.hero__stats strong { font-size: 20px; }
.hero__stats span { color: var(--muted); font-size: 12px; }

.hero__visual {
  position: relative; min-height: 520px; border-radius: 38px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 32%),
    linear-gradient(145deg, #cfeedd, #77cda0);
}
.hero-card {
  position: absolute; border: 1px solid rgba(255,255,255,.5);
  box-shadow: var(--shadow); backdrop-filter: blur(18px);
}
.hero-card--main {
  inset: 55px 70px; padding: 30px; border-radius: 30px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: rgba(255,255,255,.83);
}
.hero-card__label { position: absolute; top: 24px; left: 24px; font-size: 12px; font-weight: 800; color: var(--accent); }
.hero-product {
  margin: auto; width: 190px; height: 220px; border-radius: 36px;
  display: grid; place-items: center; transform: rotate(-7deg);
  color: #fff; font-weight: 800; font-size: 40px; letter-spacing: .08em;
  background: linear-gradient(155deg, var(--dark), #2c684b);
  box-shadow: 0 28px 40px rgba(18, 37, 27, .2);
}
.hero-card--main strong { font-size: 24px; }
.hero-card--main > span:last-child { margin-top: 5px; color: var(--muted); }
.hero-card--small {
  padding: 16px 18px; border-radius: 18px; font-size: 13px;
  background: rgba(255,255,255,.9);
}
.hero-card--one { left: 10px; bottom: 72px; }
.hero-card--two { right: 8px; top: 90px; }

.section { padding: 92px 0; }
.section--soft { background: var(--accent-soft); }
.section--dark { color: #fff; background: var(--dark); }
.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 34px;
}
.section h2 { font-size: clamp(34px, 5vw, 54px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 10px 14px; border-radius: 999px;
  color: var(--muted); background: var(--surface); border: 1px solid var(--border);
  font-weight: 700; font-size: 13px;
}
.filter.is-active { color: #fff; background: var(--text); border-color: var(--text); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  overflow: hidden; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--border); transition: .22s ease;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product__image {
  position: relative; min-height: 240px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #eef5f1, #dcebe3);
}
.product__shape {
  width: 120px; height: 150px; border-radius: 28px;
  display: grid; place-items: center;
  color: #fff; font-size: 26px; font-weight: 800;
  background: linear-gradient(145deg, #183b2b, #41a975);
  box-shadow: 0 22px 35px rgba(20, 77, 49, .18);
}
.product__badge {
  position: absolute; top: 14px; left: 14px;
  padding: 7px 9px; border-radius: 999px;
  color: var(--accent-dark); background: rgba(255,255,255,.8);
  font-size: 10px; font-weight: 800; text-transform: uppercase;
}
.product__body { padding: 18px; }
.product__category { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.product h3 { min-height: 48px; margin: 8px 0 14px; font-size: 17px; line-height: 1.4; }
.product__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__price { font-size: 20px; font-weight: 800; }
.add-button {
  width: 42px; height: 42px; border: 0; border-radius: 13px;
  color: #fff; background: var(--accent); font-size: 22px;
}

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { padding: 28px; border-radius: 22px; background: rgba(255,255,255,.78); }
.benefit__icon { color: var(--accent); font-weight: 800; }
.benefit h3 { margin: 34px 0 10px; }
.benefit p, .delivery p, .contact p { color: var(--muted); line-height: 1.7; }

.delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.delivery__cards { display: grid; gap: 16px; }
.info-card { padding: 26px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.info-card span { color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.info-card strong { display: block; margin-top: 12px; font-size: 24px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow--light { color: #71e1a8; }
.contact p { color: rgba(255,255,255,.65); }
.contact-form { display: grid; gap: 12px; }
.contact-form input {
  width: 100%; height: 54px; padding: 0 16px;
  color: #fff; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); border-radius: 15px; outline: none;
}
.contact-form input:focus { border-color: #72dda7; }
.contact-form small { color: rgba(255,255,255,.45); font-size: 10px; line-height: 1.5; }

.footer { padding: 48px 0; background: #0b1911; color: #fff; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer__inner > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer p, .footer a:not(.logo) { color: rgba(255,255,255,.55); font-size: 13px; }
.logo--footer { margin-bottom: 8px; }

.overlay {
  position: fixed; inset: 0; z-index: 30;
  visibility: hidden; opacity: 0; background: rgba(8, 18, 12, .55);
  transition: .2s ease;
}
.overlay.is-open { visibility: visible; opacity: 1; }
.cart {
  position: fixed; top: 0; right: 0; z-index: 40;
  width: min(440px, 100%); height: 100dvh;
  display: grid; grid-template-rows: auto 1fr auto;
  background: var(--surface); transform: translateX(100%);
  transition: .28s ease;
}
.cart.is-open { transform: translateX(0); }
.cart__header, .cart__footer { padding: 22px; border-bottom: 1px solid var(--border); }
.cart__header { display: flex; align-items: center; justify-content: space-between; }
.cart__header h2 { margin: 0; }
.cart__close { border: 0; background: transparent; font-size: 32px; }
.cart__items { overflow: auto; padding: 16px 22px; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px;
  align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border);
}
.cart-item__image { width: 64px; height: 64px; border-radius: 16px; background: var(--accent-soft); }
.cart-item strong { display: block; font-size: 14px; }
.cart-item span { color: var(--muted); font-size: 12px; }
.cart-item button { border: 0; background: transparent; color: #a14b4b; }
.cart__footer { border-top: 1px solid var(--border); border-bottom: 0; }
.cart__total { display: flex; justify-content: space-between; margin-bottom: 16px; }
.cart__total strong { font-size: 22px; }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  padding: 13px 18px; border-radius: 14px;
  color: #fff; background: var(--text);
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  transition: .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero__grid, .delivery, .contact { grid-template-columns: 1fr; }
  .hero__visual { min-height: 470px; }
  .products, .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .header__inner { min-height: 66px; }
  .logo > span:last-child { display: none; }
  .hero { padding-top: 46px; }
  .hero__visual { min-height: 390px; }
  .hero-card--main { inset: 36px 28px; }
  .hero-product { width: 135px; height: 170px; font-size: 28px; }
  .hero-card--small { display: none; }
  .section { padding: 68px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .products, .benefits { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
