:root {
  --bg: #f4f1e6;
  --bg-soft: #fcfaf3;
  --surface: rgba(255, 252, 245, 0.88);
  --surface-strong: #fffdf8;
  --text: #2f352b;
  --muted: #66705f;
  --line: rgba(99, 118, 79, 0.14);
  --green: #5f9b55;
  --green-deep: #2f5f34;
  --yellow: #f1c84a;
  --berry: #2f8e4b;
  --shadow: 0 16px 42px rgba(61, 76, 44, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(155, 191, 112, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(237, 192, 88, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f4e8 0%, #eef3e2 34%, #f7f3e9 100%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  padding: 20px 12px 32px;
}

.page {
  width: min(100%, 430px);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(255,252,245,0.92) 100%);
  border: 1px solid rgba(115, 130, 86, 0.12);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(56, 72, 39, 0.12);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
}

.hero-media {
  position: relative;
}

.hero-media img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 36, 22, 0.04) 0%, rgba(31, 36, 22, 0.10) 34%, rgba(31, 36, 22, 0.48) 100%);
}

.hero-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fffdf8;
  z-index: 1;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.86);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-copy .hero-kicker {
  background: rgba(247, 241, 221, 0.92);
}

.hero h1,
.section-head h2,
.specs-content h3,
.legal-page h1,
.legal-page h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 260px;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 0.98;
  text-shadow: 0 8px 24px rgba(16, 20, 11, 0.32);
}

.hero-body {
  padding: 22px 18px 12px;
}

.lead,
.story-content p,
.feature-card p,
.review-card p,
.privacy-note,
.footer p,
.legal-page p,
.legal-page li {
  margin: 0;
  line-height: 1.6;
}

.lead {
  font-size: 15px;
  color: var(--text);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 16px;
}

.price-old,
.price-current {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-old {
  color: rgba(47, 53, 43, 0.44);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-current {
  color: var(--berry);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  width: 100%;
  color: #2c311f;
  background: linear-gradient(180deg, #f6d96b 0%, #edc143 100%);
  box-shadow: 0 14px 26px rgba(198, 150, 39, 0.28);
}

.button-full {
  width: 100%;
}

.sold-count {
  padding-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.section {
  padding: 12px 18px 24px;
}

.section-soft {
  padding-top: 18px;
}

.section-head {
  margin-bottom: 16px;
}

.compact-head {
  margin-bottom: 14px;
}

.center-head {
  text-align: center;
}

.section-head h2 {
  font-size: 30px;
  line-height: 1.05;
  max-width: 320px;
}

.center-head h2 {
  max-width: none;
}

.story-block,
.specs-card,
.review-card,
.order-form,
.legal-page {
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,252,245,0.98) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.story-block,
.specs-card {
  overflow: hidden;
}

.story-block-first {
  margin-bottom: 18px;
}

.story-image {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.story-content,
.specs-content {
  padding: 18px 18px 20px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
}

.chips span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(110, 141, 83, 0.12);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 600;
}

.feature-flow {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.feature-card {
  display: grid;
  gap: 14px;
  align-items: start;
}

.feature-card img {
  border-radius: 28px;
  border: 1px solid rgba(114, 126, 86, 0.14);
  box-shadow: 0 14px 30px rgba(70, 86, 48, 0.10);
}

.feature-card h3,
.review-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.feature-card p,
.spec-list,
.review-card p {
  font-size: 15px;
  color: #465040;
}

.specs-card {
  margin-top: 4px;
}

.spec-list {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(99, 118, 79, 0.12);
}

.spec-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.spec-list span {
  color: var(--muted);
}

.spec-list strong {
  text-align: right;
}

.reviews-section {
  padding-top: 6px;
}

.related-section {
  padding-top: 4px;
}

.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,252,245,0.98) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.related-image-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eef3e2;
}

.related-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 38%;
}

.related-content {
  padding: 16px 18px 18px;
}

.related-section {
  padding-top: 6px;
}

.related-inline-title {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #5c6655;
}

.related-inline-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.92);
  border: 1px solid rgba(126, 146, 104, 0.18);
  box-shadow: 0 10px 30px rgba(54, 70, 44, 0.08);
  text-decoration: none;
  color: inherit;
}

.related-inline-image {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #eef2e8;
}

.related-inline-content {
  min-width: 0;
  flex: 1 1 auto;
}

.related-inline-name {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #283222;
  margin-bottom: 4px;
}

.related-inline-note {
  font-size: 13px;
  line-height: 1.45;
  color: #5f6958;
}

.related-inline-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  color: #4f6b38;
  padding-right: 4px;
}

.related-content h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.related-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #465040;
}

.related-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-deep);
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 18px;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(243, 218, 101, 0.98) 0%, rgba(231, 188, 71, 0.96) 100%);
  color: #394320;
  font-weight: 800;
}

.review-meta {
  font-size: 13px;
  color: var(--muted);
}

.carousel-arrow {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(99, 118, 79, 0.14);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(64, 77, 49, 0.08);
}

.carousel-arrow span {
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--green-deep);
  border-bottom: 2px solid var(--green-deep);
}

.carousel-arrow-prev span {
  transform: rotate(135deg);
  margin-left: 4px;
}

.carousel-arrow-next span {
  transform: rotate(-45deg);
  margin-right: 4px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(92, 107, 75, 0.24);
}

.carousel-dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--green);
}

.order-section {
  padding-top: 10px;
}

.order-form {
  padding: 18px;
}

.field-group + .field-group {
  margin-top: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(101, 119, 84, 0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder {
  color: rgba(92, 103, 83, 0.52);
}

input:focus {
  border-color: rgba(111, 141, 83, 0.72);
  box-shadow: 0 0 0 4px rgba(111, 141, 83, 0.12);
}

input.is-invalid {
  border-color: rgba(166, 67, 82, 0.72);
  box-shadow: 0 0 0 4px rgba(166, 67, 82, 0.08);
}

.field-hint,
.privacy-note,
.footer-note,
.field-error,
.form-success,
.back-link {
  font-size: 13px;
}

.field-hint {
  margin: 8px 0 0;
  color: var(--muted);
}

.field-error {
  min-height: 18px;
  margin: 8px 0 0;
  color: #a3364d;
}

.privacy-note {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
}

.form-success {
  min-height: 20px;
  margin-top: 12px;
  color: var(--green-deep);
  text-align: center;
  font-weight: 600;
}

.footer {
  width: min(100%, 430px);
  margin: 18px auto 0;
  padding: 0 18px 8px;
  text-align: center;
  color: #4d5645;
}

.footer-title {
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 0;
}

.footer a,
.back-link {
  color: var(--green-deep);
  text-decoration: none;
}

.footer a:hover,
.back-link:hover {
  text-decoration: underline;
}

.legal-body {
  background:
    radial-gradient(circle at top left, rgba(155, 191, 112, 0.20), transparent 28%),
    linear-gradient(180deg, #f7f4e8 0%, #eef3e2 100%);
}

.legal-page {
  width: min(100% - 24px, 720px);
  margin: 20px auto;
  padding: 24px 20px;
}

.legal-page h1 {
  font-size: 32px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.legal-page h2 {
  font-size: 22px;
  line-height: 1.1;
  margin: 20px 0 10px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .page-shell {
    padding: 30px 18px 48px;
  }

  .page,
  .footer {
    width: min(100%, 430px);
  }

  .feature-card {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 16px;
    align-items: center;
  }

  .reverse-card img {
    order: 2;
  }

  .reverse-card div {
    order: 1;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding-inline: 8px;
  }

  .hero-body,
  .section,
  .footer,
  .order-form,
  .story-content,
  .specs-content {
    padding-inline: 16px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .hero h1 {
    max-width: 240px;
  }

  .price-old,
  .price-current {
    font-size: 26px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}

.irrigation-shell {
  background:
    radial-gradient(circle at top left, rgba(126, 182, 98, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(73, 162, 146, 0.14), transparent 26%),
    linear-gradient(180deg, #f6f4ea 0%, #f1f6ed 100%);
}

.hero-irrigation .hero-media {
  min-height: 430px;
}

.hero-copy-top {
  top: 18px;
  bottom: auto;
}

.hero-copy-top h1 {
  max-width: 290px;
}

.irrigation-overlay {
  background: linear-gradient(180deg, rgba(20, 31, 16, 0.26) 0%, rgba(20, 31, 16, 0.06) 38%, rgba(20, 31, 16, 0.42) 100%);
}

.variant-panel {
  padding-top: 18px;
}

.variant-panel label,
.field-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #31422f;
}

.variant-select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(103, 134, 88, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #4f6b38 50%),
    linear-gradient(135deg, #4f6b38 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.variant-select:focus,
.order-form input:focus {
  outline: none;
  border-color: rgba(74, 126, 64, 0.56);
  box-shadow: 0 0 0 4px rgba(120, 169, 93, 0.12);
}

.story-image {
  aspect-ratio: 4 / 5;
}

.specs-content-wide {
  padding-top: 20px;
}

.field-group-select {
  margin-bottom: 10px;
}

.field-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5d6858;
}

.related-inline-image {
  object-position: center;
}

@media (min-width: 420px) {
  .hero-copy-top h1 {
    max-width: 320px;
  }
}
