
:root {
  --bg: #f5f7f3;
  --bg-alt: #e6efe4;
  --card-bg: #ffffff;
  --primary: #6b9c6b;
  --primary-soft: #dce9dc;
  --accent: #b89c6b;
  --text: #1f2620;
  --muted: #667067;
  --border: #d3ddcf;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-md: 0 16px 40px rgba(15, 25, 20, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f0f4ee, var(--bg));
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 247, 243, 0.86);
  border-bottom: 1px solid rgba(211, 221, 207, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.main-nav a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
}

.main-nav a:hover {
  background: var(--primary-soft);
  color: var(--text);
}

.cart-link {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(30, 50, 30, 0.08);
}

.cart-link::before {
  content: "";
  width: 16px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid var(--text);
  border-top: 0;
  position: relative;
  transform: translateY(-1px);
}

.cart-link::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 6px;
  border-radius: 999px;
  border: 2px solid var(--text);
  border-bottom: 0;
  top: 9px;
}

.cart-count {
  position: absolute;
  bottom: -3px;
  right: -3px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  padding: 1px 6px;
}

/* Hero */

.hero {
  padding: 40px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-text p {
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 20px;
}

.hero-media {
  padding: 18px;
  border-radius: 32px;
  background: conic-gradient(from 220deg, #e1ebde, #f7faf4, #dfe9e1);
  box-shadow: var(--shadow-md);
}

.hero-image {
  border-radius: 24px;
}

.hero-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Forms */

.lead-form,
.checkout-form {
  padding: 12px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(211, 221, 207, 0.9);
  box-shadow: 0 20px 45px rgba(15, 30, 15, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.lead-form input,
.checkout-form input {
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fdfefb;
}

.lead-form input:focus,
.checkout-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(107, 156, 107, 0.35);
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 32px rgba(39, 82, 45, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(39, 82, 45, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--primary-soft);
}

.btn-link {
  font-size: 13px;
  padding: 0;
  border-bottom: 1px solid rgba(107, 156, 107, 0.35);
  border-radius: 0;
  background: none;
  cursor: pointer;
}

/* Sections */

.page-section {
  padding: 32px 0;
}

.section-grid .three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(211, 221, 207, 0.9);
  box-shadow: 0 16px 36px rgba(20, 30, 20, 0.09);
}

.section-split .split-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.split-image {
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}

.feature-list {
  padding-left: 16px;
  margin-top: 12px;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 4px;
}

/* Product grid */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.product-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(211, 221, 207, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 14px 32px rgba(20, 32, 22, 0.1);
}

.product-card p {
  font-size: 14px;
  color: var(--muted);
}

.product-card .btn-secondary {
  margin-top: 4px;
}

/* Product page */

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.product-image {
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.product-info h1 {
  margin-bottom: 8px;
}

.product-info p {
  color: var(--muted);
}

/* Page content */

.page-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.page-content p {
  color: var(--muted);
  white-space: pre-line;
}

/* Cart */

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 24px;
}

.cart-items,
.cart-summary {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(211, 221, 207, 0.9);
  box-shadow: 0 18px 40px rgba(17, 28, 18, 0.1);
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(211, 221, 207, 0.9);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item-title {
  font-size: 14px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button {
  border-radius: 999px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  background: #f7faf5;
  cursor: pointer;
}

.cart-empty {
  font-size: 14px;
  color: var(--muted);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* Footer */

.site-footer {
  margin-top: 40px;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(211, 221, 207, 0.9);
  background: linear-gradient(to bottom, rgba(245, 247, 243, 0.95), #f4f6f1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1.4fr;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}

.footer-grid h4,
.footer-grid h5 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--text);
}

.footer-bottom {
  margin-top: 14px;
  border-top: 1px solid rgba(211, 221, 207, 0.9);
  padding-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .section-split .split-grid,
  .product-layout,
  .cart-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 26px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .section-grid .three-grid,
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
