@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --green-dark: #1a3a2a;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --amber: #e9a825;
  --amber-light: #ffd166;
  --cream: #fdf6e3;
  --cream-dark: #f5e9c8;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #888;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(26,58,42,0.12);
  --shadow-lg: 0 20px 60px rgba(26,58,42,0.18);
  --radius: 16px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(253,246,227,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,58,42,0.08);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900;
  color: var(--green-dark);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-mid); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-mid); }
.nav-cta {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 13px !important;
}
.nav-cta:hover { background: var(--green-mid) !important; color: var(--white) !important; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  cursor: pointer; border: none; text-decoration: none;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--green-dark); color: var(--white); }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-amber { background: var(--amber); color: var(--green-dark); }
.btn-amber:hover { background: var(--amber-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,168,37,0.35); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--green-dark);
  color: var(--green-dark);
}
.btn-outline:hover { background: var(--green-dark); color: var(--white); }
.btn-full { width: 100%; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding: 120px 5vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -10%; top: 10%;
  width: 60vw; height: 80vh;
  background: radial-gradient(ellipse, rgba(82,183,136,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-dark); color: var(--white);
  font-size: 12px; font-weight: 500; letter-spacing: 0.05em;
  padding: 6px 14px; border-radius: 40px;
  margin-bottom: 24px;
}
.hero-badge span { color: var(--amber-light); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900; line-height: 1.1;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--green-mid); }
.hero-desc {
  font-size: 17px; color: var(--text-mid);
  max-width: 460px; margin-bottom: 36px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; }
.stat-item { }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: var(--green-dark);
}
.stat-label { font-size: 12px; color: var(--text-light); }

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-img-wrap {
  width: 420px; height: 420px; max-width: 100%;
  background: var(--green-mid);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  display: flex; align-items: center; justify-content: center;
  font-size: 180px; position: relative;
  overflow: hidden;
  animation: morph 8s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}
@keyframes morph {
  0%, 100% { border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; }
  25% { border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%; }
  50% { border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%; }
  75% { border-radius: 55% 45% 55% 45% / 45% 55% 45% 55%; }
}
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.float-card.top-left { top: 30px; left: -20px; }
.float-card.bottom-right { bottom: 40px; right: -10px; }
.float-label { font-size: 11px; color: var(--text-light); margin-bottom: 2px; }
.float-value { font-weight: 500; color: var(--green-dark); }

/* ─── SECTION COMMON ─── */
.section { padding: 80px 5vw; }
.section-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--green-mid); text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.2;
  color: var(--green-dark); margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--text-mid); max-width: 560px; }
.section-head { margin-bottom: 52px; }

/* ─── PRODUCTS GRID ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img {
  height: 200px;
  background: var(--green-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 90px; position: relative; overflow: hidden;
}
.product-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
}
.product-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--amber); color: var(--green-dark);
  font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 20px;
}
.product-body { padding: 20px; }
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--green-dark); margin-bottom: 6px;
}
.product-desc { font-size: 13px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--green-mid);
}
.product-price small { font-size: 13px; font-family: 'DM Sans', sans-serif; color: var(--text-light); font-weight: 400; }

/* ─── TRUST SECTION ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.trust-icon { font-size: 36px; margin-bottom: 12px; }
.trust-title { font-size: 15px; font-weight: 500; color: var(--green-dark); margin-bottom: 6px; }
.trust-text { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ─── FOOTER ─── */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 5vw 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { }
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 900;
  color: var(--white); margin-bottom: 12px;
}
.footer-logo span { color: var(--amber); }
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
.footer-col h4 { font-size: 13px; font-weight: 500; color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; }

/* ─── PRODUCT PAGE ─── */
.page-hero {
  padding: 120px 5vw 60px;
  background: var(--green-dark);
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; color: var(--white); margin-bottom: 12px;
}
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); }

.products-full { padding: 60px 5vw; }
.product-full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.product-full-img {
  height: 100%; min-height: 280px;
  background: var(--green-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 120px; position: relative;
}
.product-full-body { padding: 36px; }
.product-full-name {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: var(--green-dark); margin-bottom: 8px;
}
.product-full-desc { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 24px; }
.price-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.price-option {
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.price-option:hover, .price-option.selected {
  border-color: var(--green-mid);
  background: rgba(82,183,136,0.06);
}
.price-option-left { display: flex; align-items: center; gap: 12px; }
.price-option-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--green-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.price-option.selected .price-option-radio::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green-mid);
}
.price-option-qty { font-weight: 500; color: var(--text-dark); }
.price-option-note { font-size: 12px; color: var(--text-light); }
.price-option-amount {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--green-mid);
}

/* ─── CHECKOUT PAGE ─── */
.checkout-wrap {
  padding: 100px 5vw 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  max-width: 1100px; margin: 0 auto;
}
.checkout-form-card, .checkout-summary-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  height: fit-content;
}
.checkout-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
  color: var(--green-dark); margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--text-mid); margin-bottom: 6px;
}
.form-input, .form-select {
  width: 100%;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
  background: var(--white);
}
.form-input.error { border-color: #e74c3c; }

/* Order summary */
.summary-item {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 14px;
}
.summary-item:last-of-type { border-bottom: none; }
.summary-total {
  display: flex; justify-content: space-between;
  padding: 16px 0 0;
  font-weight: 500;
}
.summary-total-num {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--green-mid);
}

/* Payment methods */
.payment-methods { margin-top: 24px; }
.payment-method-tab {
  display: flex; gap: 10px; margin-bottom: 16px;
}
.pay-tab {
  flex: 1; padding: 10px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  text-align: center; cursor: pointer;
  font-size: 13px; font-weight: 500;
  transition: all 0.2s;
  background: var(--cream);
}
.pay-tab.active { border-color: var(--green-mid); background: rgba(82,183,136,0.08); color: var(--green-dark); }
.pay-tab-icon { font-size: 20px; margin-bottom: 2px; }

/* QR */
.qr-box {
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  background: var(--cream);
}
.qr-code {
  width: 160px; height: 160px;
  margin: 0 auto 12px;
  background: var(--white);
  border-radius: 12px;
  padding: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--cream-dark);
}
.qr-instruction { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.qr-number { font-size: 15px; font-weight: 500; color: var(--green-dark); margin: 8px 0; }

/* Success */
.success-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26,58,42,0.85);
  align-items: center; justify-content: center;
}
.success-overlay.show { display: flex; }
.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 440px; width: 90%;
  animation: popIn 0.4s ease;
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  color: var(--green-dark); margin-bottom: 10px;
}
.success-text { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 28px; }
.success-ref {
  font-size: 12px; color: var(--text-light);
  background: var(--cream); padding: 8px 16px;
  border-radius: 8px; display: inline-block; margin-bottom: 24px;
}

/* Spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading .spinner { display: block; }
.btn.loading .btn-text { display: none; }

/* Responsive */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .product-full-card { grid-template-columns: 1fr; }
  .checkout-wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .product-full-img { min-height: 200px; }
}
@media (max-width: 480px) {
  nav { padding: 0 20px; }
  .section { padding: 60px 20px; }
  .hero { padding: 100px 20px 60px; }
  .checkout-wrap { padding: 90px 20px 40px; }
  .products-full { padding: 40px 20px; }
}
