/* ============================================
   Sunny Cub — Design System
   Pastel, sun-ray themed kids fashion storefront
   ============================================ */

:root {
  /* Pastel palette */
  --cream: #FFFBF3;
  --paper: #FFFFFF;
  --butter: #FFE29A;
  --butter-deep: #FFC94A;
  --sun: #FFB84D;
  --sun-deep: #FF9F3E;
  --blush: #FFD9E3;
  --blush-deep: #FFB8CB;
  --sky: #CDEEFB;
  --sky-deep: #A9DFF3;
  --mint: #D9F2E3;
  --lavender: #EAE1F7;

  --ink: #4A4458;
  --ink-soft: #7A7387;
  --ink-faint: #A79FB3;
  --line: #F0E6D8;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 24px rgba(180, 140, 80, 0.12);
  --shadow-lift: 0 14px 34px rgba(180, 140, 80, 0.18);

  --container: 1180px;

  --font-heading: 'Fredoka', 'Poppins', sans-serif;
  --font-body: 'Nunito Sans', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { line-height: 1.65; margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun-deep);
  background: var(--butter);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

/* ---------- Sun-ray decorative motif ---------- */
.sun-badge {
  position: relative;
  width: 1em;
  height: 1em;
  display: inline-block;
}
.sunray-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.sunray-bg svg { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--sun) 0%, var(--sun-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-secondary:hover { border-color: var(--sun); color: var(--sun-deep); }

.btn-outline-light {
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  border: 2px solid rgba(255,255,255,0.9);
}

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.announce-bar {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  font-family: var(--font-heading);
}
.announce-bar strong { color: var(--butter); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.logo .logo-sun {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.logo .logo-sunny { color: var(--sun-deep); }

.main-nav {
  display: flex;
  gap: 34px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
}
.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--sun-deep); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--sun);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.icon-btn:hover { background: var(--butter); border-color: var(--butter-deep); }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--sun-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--butter) 0%, var(--cream) 78%);
  padding: 70px 24px 90px;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: var(--sun-deep);
  position: relative;
}
.hero p.lead {
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--blush) 0%, var(--sky) 60%, var(--mint) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lift);
}
.hero-art .emoji-cluster { font-size: 90px; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.12)); }
.hero-sunburst {
  position: absolute;
  top: -140px;
  right: -160px;
  width: 500px;
  height: 500px;
  opacity: 0.5;
  z-index: 1;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-badges {
  position: absolute;
  bottom: -18px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.float-badge {
  background: var(--paper);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Sections ---------- */
.section { padding: 80px 24px; }
.section-tight { padding: 50px 24px; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head p { max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Category cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: var(--container);
  margin: 0 auto;
}
.category-card {
  border-radius: var(--radius-lg);
  padding: 34px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-soft);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.category-card .icon { font-size: 42px; margin-bottom: 12px; }
.category-card h3 { font-size: 17px; margin-bottom: 4px; }
.category-card span { font-size: 13px; color: var(--ink-soft); }
.cat-blush { background: var(--blush); }
.cat-sky { background: var(--sky); }
.cat-mint { background: var(--mint); }
.cat-butter { background: var(--butter); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.product-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  overflow: hidden;
}
.product-thumb .thumb-emoji { transition: transform 0.3s ease; }
.product-card:hover .thumb-emoji { transform: scale(1.1) rotate(-4deg); }

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--paper);
  color: var(--sun-deep);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.product-tag.tag-new { color: #4CAF7D; }
.product-tag.tag-sale { color: #E8577A; }

.wish-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.product-info { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 4px; }
.product-name { font-family: var(--font-heading); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.product-price { margin-top: auto; display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; }
.price-now { color: var(--sun-deep); font-size: 16px; }
.price-old { color: var(--ink-faint); text-decoration: line-through; font-size: 13px; font-weight: 500; }

.add-btn {
  margin-top: 14px;
  width: 100%;
  border: none;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  transition: all 0.15s ease;
}
.add-btn:hover { background: var(--sun); border-color: var(--sun); color: #fff; }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-chip {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 2px solid var(--line);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--sun); }
.filter-chip.active { background: var(--sun); border-color: var(--sun); color: #fff; }

/* ---------- Banner / promo strip ---------- */
.promo-strip {
  background: linear-gradient(120deg, var(--blush) 0%, var(--sky) 100%);
  border-radius: var(--radius-lg);
  max-width: var(--container);
  margin: 0 auto;
  padding: 54px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.promo-strip h2 { font-size: 30px; margin-bottom: 8px; }
.promo-strip p { color: var(--ink); opacity: 0.75; margin-bottom: 0; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.trust-item {
  text-align: center;
  padding: 10px;
}
.trust-item .icon { font-size: 30px; margin-bottom: 10px; }
.trust-item h4 { font-size: 15px; margin-bottom: 4px; }
.trust-item p { font-size: 13px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 24px 24px;
  margin-top: 60px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo .logo-sun { width: 30px; height: 30px; }
.footer-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col a:hover { color: var(--butter); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }

.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { opacity: 0.8; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 24px 0;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.breadcrumb a:hover { color: var(--sun-deep); }

/* ---------- Page header (simple pages) ---------- */
.page-hero {
  padding: 56px 24px 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--butter) 0%, var(--cream) 100%);
}
.page-hero h1 { font-size: 38px; }
.page-hero p { max-width: 520px; margin: 0 auto; }

/* ---------- Product Detail ---------- */
.product-detail {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.detail-gallery {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 160px;
  box-shadow: var(--shadow-soft);
}
.detail-info .product-cat { margin-bottom: 8px; }
.detail-info h1 { font-size: 32px; margin-bottom: 10px; }
.detail-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.detail-price .price-now { font-size: 26px; }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--ink-soft); font-size: 14px; }
.detail-desc { margin-bottom: 26px; }

.option-group { margin-bottom: 24px; }
.option-label { font-family: var(--font-heading); font-weight: 600; font-size: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.size-row, .color-row { display: flex; gap: 10px; flex-wrap: wrap; }
.size-chip {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 600; font-size: 13px;
  transition: all 0.15s ease;
}
.size-chip.active, .size-chip:hover { border-color: var(--sun); background: var(--sun); color: #fff; }
.color-chip {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  outline: 2px solid var(--line);
  cursor: pointer;
}
.color-chip.active { outline-color: var(--sun); }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.qty-control {
  display: flex; align-items: center;
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty-control button {
  width: 40px; height: 40px;
  border: none; background: none;
  font-size: 18px; color: var(--ink);
}
.qty-control button:hover { background: var(--butter); }
.qty-control span { width: 36px; text-align: center; font-family: var(--font-heading); font-weight: 600; }

.detail-actions { display: flex; gap: 14px; margin-bottom: 30px; }
.detail-perks { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.detail-perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Cart page ---------- */
.cart-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 90px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.cart-items { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: hidden; }
.cart-row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: none; }
.cart-thumb {
  width: 90px; height: 90px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.cart-item-name { font-family: var(--font-heading); font-weight: 600; margin-bottom: 4px; }
.cart-item-meta { font-size: 13px; color: var(--ink-faint); }
.cart-remove { background: none; border: none; color: var(--ink-faint); font-size: 13px; text-decoration: underline; margin-top: 6px; }
.cart-remove:hover { color: #E8577A; }
.cart-price { font-family: var(--font-heading); font-weight: 700; color: var(--ink); white-space: nowrap; }

.summary-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.summary-card h3 { margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 14.5px; color: var(--ink-soft); }
.summary-row.total { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
.promo-row { display: flex; gap: 8px; margin: 18px 0; }
.promo-row input {
  flex: 1; padding: 12px 14px; border-radius: var(--radius-pill); border: 2px solid var(--line); font-family: inherit;
}

.empty-state { text-align: center; padding: 70px 24px; }
.empty-state .icon { font-size: 60px; margin-bottom: 16px; }

/* ---------- Forms (checkout / contact) ---------- */
.form-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  margin-bottom: 24px;
}
.form-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.field label { font-size: 13px; font-weight: 700; font-family: var(--font-heading); color: var(--ink-soft); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  font-family: inherit;
  font-size: 14.5px;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sun);
}

.checkout-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 90px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.payment-methods { display: grid; gap: 12px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}
.payment-option:hover { border-color: var(--sun-deep); }
.payment-option input { accent-color: var(--sun-deep); width: 18px; height: 18px; }
.payment-option.selected { border-color: var(--sun); background: #FFF7E8; }
.payment-option .pm-name { font-family: var(--font-heading); font-weight: 600; flex: 1; }
.payment-option .pm-badge {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--line); color: var(--ink-soft); font-family: var(--font-heading);
}
.pm-icon { width: 42px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; font-family: var(--font-heading); color: #fff; flex-shrink: 0; }
.pm-applepay { background: #000; }
.pm-mada { background: linear-gradient(90deg,#1B7F5C,#42B883); }
.pm-visa { background: #1A1F71; }
.pm-mastercard { background: linear-gradient(90deg,#EB001B,#F79E1B); }

.demo-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--sky);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--ink);
  margin-top: 10px;
}

/* ---------- Order confirmation ---------- */
.confirm-box {
  max-width: 560px;
  margin: 60px auto;
  text-align: center;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 50px 36px;
}
.confirm-box .icon { font-size: 64px; margin-bottom: 18px; }
.confirm-box .order-id { font-family: var(--font-heading); font-weight: 700; color: var(--sun-deep); font-size: 18px; margin: 18px 0; }

/* ---------- About page ---------- */
.about-hero {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 24px 0;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.value-card { background: var(--paper); border-radius: var(--radius-lg); padding: 32px 26px; box-shadow: var(--shadow-soft); }
.value-card .icon { font-size: 36px; margin-bottom: 14px; }

/* ---------- Contact page ---------- */
.contact-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  background: linear-gradient(150deg, var(--blush) 0%, var(--sky) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.contact-info-card .contact-row {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.6);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
}
.contact-info-card .contact-row .icon { font-size: 22px; }
.contact-info-card .contact-row small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 110px 24px; }
.error-page .code { font-family: var(--font-heading); font-size: 90px; color: var(--sun); font-weight: 700; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--lavender);
  border-radius: var(--radius-lg);
  max-width: var(--container);
  margin: 0 auto;
  padding: 50px 40px;
  text-align: center;
}
.newsletter-form { display: flex; justify-content: center; gap: 10px; margin-top: 20px; max-width: 440px; margin-left: auto; margin-right: auto; }
.newsletter-form input {
  flex: 1; padding: 14px 20px; border-radius: var(--radius-pill); border: none; font-family: inherit;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail, .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 38px; }
  .promo-strip { grid-template-columns: 1fr; text-align: center; }
  .cart-row { grid-template-columns: 70px 1fr; grid-template-areas: "thumb name" "thumb price"; }
  .cart-row .cart-thumb { grid-area: thumb; }
}

@media (max-width: 560px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-family: var(--font-heading);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
