/* ============================================================
   BABY CHOICE — Design System
   Palette: warm cream base, sage (trust/natural), honey (CTA/energy),
   dusty rose (softness). Gender-neutral, natural, parent-trust palette.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --cream: #FFF9F0;
  --cream-deep: #FDEEDA;
  --cloud: #FFFFFF;
  --sage: #5FC4BC;
  --sage-deep: #3DA39A;
  --honey: #FFDD5C;
  --honey-deep: #F2C230;
  --rose: #FF9FB6;
  --rose-deep: #F2718E;
  --ink: #3B3358;
  --ink-soft: #756D93;
  --line: #F0E4D0;
  --navy: #3E5C9A;
  --navy-deep: #2F4A80;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Quicksand', system-ui, sans-serif;

  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;

  --shadow-soft: 0 10px 26px rgba(59, 51, 88, 0.10);
  --shadow-lift: 0 18px 44px rgba(59, 51, 88, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: rgba(127, 160, 135, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--honey); color: #2a1d08; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--honey-deep); box-shadow: var(--shadow-lift); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DA851; }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-deep); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sage-deep);
  flex-shrink: 0;
}
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--honey); color: var(--sage-deep); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.search-box {
  display: flex;
  align-items: center;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 14px;
  gap: 8px;
  min-width: 190px;
}
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  color: var(--ink);
}
.search-box svg { flex-shrink: 0; opacity: 0.6; }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--cloud);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--rose);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cloud);
  align-items: center;
  justify-content: center;
}

.search-box-mobile { display: none; }

@media (max-width: 900px) {
  .search-box { min-width: 140px; }
}
@media (max-width: 800px) {
  .nav-links {
    position: fixed;
    top: 73px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .search-box:not(.search-box-mobile) { display: none; }
  .nav-links.open .search-box-mobile { display: flex; width: 100%; margin-top: 6px; }
}

/* ============ HERO SLIDER ============ */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 560px;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-1 { background: linear-gradient(120deg, #7C9FD9 0%, #4A6FB5 100%); }
.slide-2 { background: linear-gradient(120deg, #E3F7F3 0%, #F5FCFA 60%); }
.slide-3 { background: linear-gradient(120deg, #FFF3D2 0%, #FFFAEB 60%); }
.slide-4 { background: linear-gradient(120deg, #E3F7F3 0%, #F5FCFA 60%); }
.slide-5 { background: linear-gradient(120deg, #FFE8EF 0%, #FFF5F8 60%); }

.slide-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.slide-copy .eyebrow { }
.slide-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  max-width: 11ch;
}
.slide-copy p { font-size: 1.1rem; max-width: 42ch; }
.slide-actions { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }

.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.slider-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(35,48,42,0.25);
  padding: 0;
}
.slider-dots button.active { background: var(--sage-deep); width: 26px; border-radius: 6px; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

@media (max-width: 800px) {
  .hero-slider { height: auto; min-height: 520px; }
  .slide { position: relative; }
  .slide-inner { grid-template-columns: 1fr; padding: 60px 24px 90px; text-align: left; }
  .slide-visual { order: -1; max-height: 220px; overflow: hidden; }
}

/* ============ SECTIONS ============ */
section { padding: 80px 0; }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.bg-cloud { background: var(--cloud); }
.bg-deep { background: var(--cream-deep); }

/* Quick size cards */
.size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.size-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.size-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.size-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
}
.size-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.size-card .weight { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 14px; }
.size-card .from-price { font-weight: 700; color: var(--sage-deep); margin-bottom: 14px; }

@media (max-width: 800px) {
  .size-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Size guide (signature element) */
.size-guide {
  background: var(--cloud);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.weight-track {
  position: relative;
  height: 10px;
  background: var(--cream-deep);
  border-radius: 100px;
  margin: 50px 0 20px;
}
.weight-seg {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: 100px;
}
.weight-marker {
  position: absolute;
  top: -46px;
  transform: translateX(-50%);
  text-align: center;
  width: 90px;
}
.weight-marker .dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 3px solid var(--cloud);
  margin: 30px auto 0;
  box-shadow: 0 0 0 2px currentColor;
}
.weight-marker .lbl { font-weight: 700; font-size: 0.85rem; }
.weight-marker .kg { font-size: 0.72rem; color: var(--ink-soft); }

/* Trust / feature list */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  padding: 8px;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(232, 163, 61, 0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--honey-deep);
  margin-bottom: 16px;
}
.feature-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-item p { font-size: 0.92rem; margin: 0; }

@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* CTA banner */
.cta-banner {
  background: var(--sage);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: white;
}
.cta-banner h2 { color: white; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.88); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Placeholder visual blocks (until real photos are uploaded) */
.ph-visual {
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
}
.ph-visual::after {
  content: 'Photo coming soon';
  position: absolute;
  bottom: 12px; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem;
  background: rgba(0,0,0,0.25);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.ph-visual.rose { background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%); }
.ph-visual.honey { background: linear-gradient(135deg, var(--honey) 0%, var(--honey-deep) 100%); }

/* ============ PRODUCT PAGE ============ */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-chip {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: var(--cloud);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.filter-chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.product-thumb { height: 150px; }
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 1rem; margin: 0; }
.product-meta { font-size: 0.82rem; color: var(--ink-soft); }
.product-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--sage-deep); margin: 6px 0; }
.product-price small { font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; color: var(--ink-soft); }

@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ============ SHOP PAGE ============ */
.shop-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.builder-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.field-group { margin-bottom: 26px; }
.field-group label.field-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.option-btn {
  border: 1.5px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.option-btn small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.72rem; margin-top: 2px; }
.option-btn.selected { border-color: var(--sage-deep); background: rgba(127,160,135,0.14); color: var(--sage-deep); }

.qty-row { display: flex; align-items: center; gap: 14px; }
.qty-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.qty-value { font-weight: 700; font-size: 1.1rem; min-width: 24px; text-align: center; }

.price-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0;
  border-top: 1px dashed var(--line);
  margin-top: 10px;
}
.price-line .total { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--ink); }

.cart-summary {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.cart-summary h3 { margin-bottom: 18px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.cart-item .meta { color: var(--ink-soft); font-size: 0.8rem; }
.cart-item .remove { color: var(--rose); font-weight: 700; font-size: 0.8rem; margin-top: 4px; display: inline-block; }
.cart-empty { color: var(--ink-soft); font-size: 0.9rem; padding: 20px 0; text-align: center; }
.cart-total-row {
  display: flex; justify-content: space-between;
  padding-top: 16px; margin-top: 8px;
  font-weight: 700; font-size: 1.1rem;
}
.checkout-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; }

@media (max-width: 980px) {
  .shop-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ ABOUT PAGE ============ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
}
.value-card .num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--honey-deep);
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.contact-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
}
.contact-card .feature-icon { margin: 0 auto 16px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { font-size: 0.88rem; }

.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--cloud);
  color: var(--ink);
}
.form-row textarea { resize: vertical; min-height: 110px; }

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 320px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: rgba(251,246,239,0.8);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--honey); }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.2rem; color: var(--cream); margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(251,246,239,0.12);
  padding-top: 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 200;
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.12); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45); }
}

/* ============ SEARCH RESULTS DROPDOWN ============ */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 50;
}
.search-results.open { display: block; }
.search-results a {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--cream); }
.search-results .none { padding: 16px; font-size: 0.85rem; color: var(--ink-soft); }
.nav-actions { position: relative; }

/* Page hero (non-home pages) */
.page-hero {
  padding: 70px 0 50px;
  text-align: center;
  background: var(--cream-deep);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { max-width: 560px; margin: 0 auto; }

.toast {
  position: fixed;
  bottom: 100px; right: 24px;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lift);
  z-index: 300;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============ ADMIN PAGE ============ */
.admin-shell { min-height: 100vh; background: var(--cream); }
.admin-header {
  background: var(--navy);
  padding: 20px 0;
  color: white;
}
.admin-header .container { display: flex; align-items: center; justify-content: space-between; }
.admin-header .logo-mark { background: white; }
.admin-header .logo { color: white; }
.admin-logout {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
}

.admin-center {
  max-width: 440px;
  margin: 80px auto;
  padding: 0 24px;
}
.admin-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.admin-card h2 { margin-bottom: 6px; }
.admin-card .sub { margin-bottom: 26px; }
.admin-error {
  background: rgba(217, 139, 132, 0.14);
  color: #A5423A;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: none;
}
.admin-error.show { display: block; }

.setup-steps { counter-reset: step; }
.setup-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.setup-step:last-child { border-bottom: none; }
.setup-step .num {
  counter-increment: step;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.setup-step .num::before { content: counter(step); }
.setup-step h4 { margin-bottom: 6px; }
.setup-step p { font-size: 0.9rem; margin-bottom: 8px; }
.setup-step code, .admin-code {
  display: block;
  background: var(--ink);
  color: #C8F4D8;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  overflow-x: auto;
  white-space: pre;
  margin-top: 8px;
}

.admin-dash { padding: 40px 0 80px; }
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 14px;
}
.admin-toolbar h1 { margin: 0; }

.admin-table-wrap {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 14px 18px;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
}
.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--cream-deep); }
.admin-row-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.icon-btn.danger { color: #A5423A; border-color: rgba(165,66,58,0.3); }
.icon-btn:hover { background: var(--cream-deep); }

.admin-form-card {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.admin-form-grid .span-2 { grid-column: span 2; }
.image-drop {
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: var(--cream);
}
.image-drop img { max-height: 100px; margin: 0 auto 10px; border-radius: 8px; }
.image-drop p { margin: 0; font-size: 0.85rem; }
.catalog-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}
.catalog-badge.live { background: rgba(79,166,164,0.15); color: var(--sage-deep); }
.catalog-badge.local { background: rgba(251,228,72,0.25); color: #8A7300; }
.empty-admin { padding: 40px; text-align: center; color: var(--ink-soft); }
