:root {
  --bg: #fbfaf7;
  --text: #181714;
  --muted: #615b51;
  --green: #2f5d50;
  --green-dark: #24493f;
  --red: #c84630;
  --line: rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(16px);
}

.nav,
.hero,
.section,
.products-section,
.footer {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-size: 21px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: #555047;
  font-size: 14px;
}

.nav-cta,
.button,
.search-form button,
.product-bottom button,
.footer a {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.nav-cta {
  background: var(--text);
  color: white;
  padding: 10px 20px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 56px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  border: 1px solid rgba(47, 93, 80, 0.25);
  border-radius: 999px;
  background: #e9f2ee;
  color: var(--green);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 800;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.08;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.button {
  padding: 14px 28px;
}

.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 14px 32px rgba(47, 93, 80, 0.18);
}

.secondary {
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 520px;
  margin-top: 40px;
}

.stats strong {
  display: block;
  font-size: 26px;
}

.stats span {
  color: #6f685e;
  font-size: 14px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #ebe1d0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.hero-media > img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.deal-card {
  position: absolute;
  inset: auto 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  padding: 20px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

.deal-card p,
.deal-banner p,
.mini-deal p,
.section-head p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.deal-card p,
.section-head p {
  color: var(--green);
}

.deal-card h2 {
  margin: 6px 0 0;
  font-size: 26px;
}

.deal-price {
  text-align: right;
}

.deal-price span {
  color: #786f63;
  font-size: 14px;
}

.deal-price strong {
  display: block;
  color: var(--red);
  font-size: 28px;
}

.category-strip {
  border-block: 1px solid var(--line);
  background: white;
}

.category-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  padding: 20px 0;
}

.category-list a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  padding: 12px 20px;
  color: #3f3a33;
  font-size: 14px;
  font-weight: 800;
}

.deals {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  padding: 56px 0;
}

.deal-banner {
  border-radius: 28px;
  background: var(--green);
  color: white;
  padding: 32px;
}

.deal-banner p {
  color: rgba(255, 255, 255, 0.74);
}

.deal-banner h2 {
  margin: 12px 0 14px;
  font-size: 40px;
  line-height: 1.18;
}

.deal-banner span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mini-deal {
  border-radius: 28px;
  padding: 28px;
}

.mini-deal h3 {
  margin: 12px 0;
  font-size: 25px;
}

.mini-deal span {
  color: #675b51;
  line-height: 1.65;
}

.warm {
  background: #f0ddd0;
}

.warm p {
  color: #9a3f2d;
}

.cool {
  background: #e9eef5;
}

.cool p {
  color: #31598c;
}

.products-section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: 42px;
}

.search-form {
  display: flex;
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  padding: 4px;
}

.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 12px 16px;
}

.search-form button {
  background: var(--text);
  color: white;
  padding: 12px 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee7db;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  background: white;
  color: var(--red);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.product-info {
  padding: 20px;
}

.product-info p {
  margin: 0;
  color: #736b60;
  font-size: 14px;
}

.product-info h3 {
  min-height: 56px;
  margin: 8px 0 16px;
  font-size: 18px;
  line-height: 1.55;
}

.product-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.product-bottom strong {
  color: var(--red);
  font-size: 25px;
}

.product-bottom del {
  margin-left: 8px;
  color: #8d857a;
  font-size: 14px;
}

.product-bottom button {
  background: var(--green);
  color: white;
  padding: 10px 16px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 0 56px;
}

.benefits article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 24px;
}

.benefits h3 {
  margin: 0 0 8px;
}

.benefits p {
  margin: 0;
  color: #6b6358;
  line-height: 1.6;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: none;
  padding: 40px max(20px, calc((100% - 1180px) / 2));
  background: var(--text);
  color: white;
}

.footer p {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.footer span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer a {
  background: white;
  color: var(--text);
  padding: 13px 24px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .deals,
  .deal-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-media > img {
    height: 430px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .product-grid,
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .nav,
  .hero,
  .section,
  .products-section {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 18px;
  }

  .nav-cta {
    padding: 9px 16px;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .footer a {
    text-align: center;
  }

  .hero-media > img {
    height: 360px;
  }

  .deal-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .deal-price {
    text-align: left;
  }

  .product-grid,
  .benefits,
  .stats {
    grid-template-columns: 1fr;
  }
}
