/* =========================================================================
   FLORISTERÍA MISS BUTTERFLY — Sistema de diseño
   Estética pastel suave y elegante, mobile-first, nivel Awwwards.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #fdf8f6;
  --bg-soft: #faf4f0;
  --bg-deep: #f3e8e4;
  --card: #ffffff;
  --ink: #3a2f35;
  --ink-2: #7a6b72;
  --ink-3: #a8989f;
  --rosa: #e8b4c8;          /* rosa empolvado */
  --rosa-2: #d894b0;
  --rosa-soft: #f7e3ec;
  --lila: #c9a7d6;
  --lila-soft: #efe4f5;
  --crema: #faf4f0;
  --verde: #7a9e6e;         /* verde hoja */
  --verde-soft: #e6eee0;
  --line: #eee0e6;
  --footer: #2e2330;
  --footer-ink: #cdbfc8;
  --success: #5c7a3f;
  --danger: #b14b3a;
  --shadow-sm: 0 1px 2px rgba(58, 47, 53, .06), 0 4px 12px rgba(58, 47, 53, .05);
  --shadow-md: 0 6px 24px rgba(58, 47, 53, .10);
  --shadow-lg: 0 20px 50px rgba(58, 47, 53, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --nav-h: 68px;
  --maxw: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--rosa-soft); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Tipografía utilitaria ---------- */
.display { font-family: var(--font-display); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--rosa-2);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--rosa); border-radius: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--rosa), var(--rosa-2)); color: #fff; box-shadow: 0 8px 20px rgba(216,148,176,.36); }
.btn-primary:hover { background: linear-gradient(135deg, var(--rosa-2), #c980a0); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(216,148,176,.44); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--rosa-2); color: var(--rosa-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #4a3d45; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.btn-whatsapp:hover { background: #1fb457; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header .inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
}
.site-header.scrolled { background: rgba(253,248,246,.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--rosa), var(--lila));
  display: grid; place-items: center; color: #fff; font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-body); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 13px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--ink-2);
  transition: color .16s, background .16s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--rosa-soft); }


/* Header transparente sobre el hero oscuro del landing: texto claro para contraste */
.site-header.on-hero .brand-name { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.site-header.on-hero .brand-sub { color: rgba(255,255,255,.72); }
.site-header.on-hero .nav-links a { color: rgba(255,255,255,.88); text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.site-header.on-hero .nav-links a:hover,
.site-header.on-hero .nav-links a.active { color: #fff; background: rgba(255,255,255,.16); }


.nav-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow-sm); display: grid; place-items: center;
  color: var(--ink); transition: transform .15s;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--rosa-2); color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; transition: transform .2s;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.45); } }

.burger { width: 44px; height: 44px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: rotate(45deg); }
.burger.open span::after { top: 0; transform: rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 12px 20px 20px; transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  max-height: calc(100vh - var(--nav-h)); overflow: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 14px 6px; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,38,52,.80) 0%, rgba(58,38,52,.55) 12%, rgba(58,38,52,.20) 40%, rgba(46,30,42,.86) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px 72px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600;
  margin-bottom: 20px; border: 1px solid rgba(255,255,255,.24);
}
.hero h1 { font-size: clamp(2.8rem, 9vw, 5.4rem); color: #fff; max-width: 14ch; margin-bottom: .1em; text-wrap: balance; font-weight: 600; }
.hero-subtitle { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 3.4vw, 1.9rem); color: var(--rosa-soft); margin-bottom: 16px; }
.hero p.lead { font-size: clamp(1.02rem, 2.4vw, 1.22rem); max-width: 50ch; color: rgba(255,255,255,.94); margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.36); backdrop-filter: blur(8px); }
.btn-hero-ghost:hover { background: rgba(255,255,255,.26); }
.hero-scroll { position: absolute; bottom: 26px; right: 26px; z-index: 2; color: rgba(255,255,255,.82); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }

/* Pétalos decorativos flotantes (microinteracción) */
.petals { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.petal {
  position: absolute; top: -40px; font-size: 1.1rem; opacity: 0;
  animation: fall linear infinite;
}
@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: .8; }
  100% { transform: translateY(105vh) rotate(340deg); opacity: 0; }
}

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.section-head p { color: var(--ink-2); font-size: 1.06rem; }
.lead-in { color: var(--ink-2); }

/* ---------- Tarjetas de características (Inicio) ---------- */
.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-sm); padding: 26px 24px;
  border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; background: var(--rosa-soft); }
.feature-card:nth-child(2) .ic { background: var(--lila-soft); }
.feature-card:nth-child(3) .ic { background: var(--verde-soft); }
.feature-card:nth-child(4) .ic { background: var(--bg-soft); }
.feature-card h3 { font-size: 1.3rem; }
.feature-card p { color: var(--ink-2); font-size: .97rem; margin-bottom: 14px; }
.feature-link { font-weight: 600; color: var(--rosa-2); display: inline-flex; align-items: center; gap: 6px; }
.feature-link:hover { gap: 10px; }

/* ---------- Banda de historia / marca (Inicio) ---------- */
.story-strip { background: var(--footer); color: var(--footer-ink); position: relative; overflow: hidden; }
.story-strip .container { display: grid; gap: 32px; grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
.story-strip h2 { color: #fff; }
.story-strip p { color: var(--footer-ink); }
.story-mark { font-family: var(--font-display); font-size: clamp(3.6rem, 14vw, 7rem); line-height: .95; color: transparent; -webkit-text-stroke: 1.5px var(--rosa); }

/* ---------- Rejilla de productos ---------- */
.product-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.product-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-deep); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media .ph-emoji { position: relative; z-index: 1; width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.28rem; margin-bottom: 6px; }
.product-body .desc { color: var(--ink-2); font-size: .92rem; margin-bottom: 14px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.price small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--ink-3); }
.price.free { font-size: .92rem; color: var(--ink-2); }
.add-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--rosa), var(--rosa-2)); color: #fff; font-weight: 600; font-size: .9rem;
  transition: background .16s, transform .16s;
}
.add-btn:hover { background: linear-gradient(135deg, var(--rosa-2), #c980a0); }
.add-btn:active { transform: scale(.95); }
.add-btn.added { background: var(--success); }

/* Etiquetas */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.tag-rosa { background: var(--rosa-soft); color: #a04b6e; }
.tag-lila { background: var(--lila-soft); color: #7a5590; }
.tag-verde { background: var(--verde-soft); color: #4c6136; }
.tag-crema { background: #f3ece3; color: #8a6a3a; }

/* Filtros (Productos) */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-chip {
  padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line);
  font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: all .16s;
}
.filter-chip:hover { border-color: var(--rosa-2); color: var(--rosa-2); }
.filter-chip.active { background: linear-gradient(135deg, var(--rosa), var(--rosa-2)); border-color: var(--rosa-2); color: #fff; }

.cat-block { margin-bottom: 48px; }
.cat-title { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.cat-title .emoji { font-size: 1.6rem; }
.cat-title h3 { font-size: 1.7rem; margin: 0; }
.cat-desc { color: var(--ink-2); margin-bottom: 22px; max-width: 60ch; }

/* ---------- Placeholder editorial (productos sin foto) ---------- */
.ph-rosa   { background: radial-gradient(circle at 50% 58%, #f7e3ec 0%, #eec0d4 50%, #d894b0 100%); }
.ph-lila   { background: radial-gradient(circle at 50% 58%, #efe4f5 0%, #dcc0ea 50%, #b58ec6 100%); }
.ph-verde  { background: radial-gradient(circle at 50% 58%, #e6eee0 0%, #c4d6b4 50%, #8faf7f 100%); }
.ph-crema  { background: radial-gradient(circle at 50% 58%, #faf4f0 0%, #efe0d2 50%, #d8b9a0 100%); }
.ph-floral { background: radial-gradient(circle at 50% 55%, #f3e7f2 0%, #e6c9e2 50%, #c79ec6 100%); }
.ph-bg { position: relative; }
.ph-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.14) 100%); }

/* ---------- Calendario de fechas señaladas ---------- */
.cal-layout { display: grid; gap: 28px; grid-template-columns: 1fr; }
.cal-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cal-nav .btn { padding: 8px 14px; font-size: .9rem; }
.cal-month { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--bg-soft); border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: .88rem; color: var(--ink); transition: all .15s; position: relative;
}
.cal-day .emoji { font-size: .82rem; line-height: 1; margin-top: 2px; }
.cal-day.out { opacity: .3; pointer-events: none; }
.cal-day:hover { border-color: var(--rosa-2); }
.cal-day.today { border-color: var(--lila); background: var(--lila-soft); }
.cal-day.fecha { background: var(--rosa-soft); border-color: var(--rosa); color: #8a3f5e; }
.cal-day.selected { background: linear-gradient(135deg, var(--rosa), var(--rosa-2)); color: #fff; }
.cal-day.selected .emoji { filter: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: .78rem; color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sw-fecha { background: var(--rosa-soft); border: 1px solid var(--rosa); }
.sw-hoy { background: var(--lila-soft); border: 1px solid var(--lila); }

.fechas-list { display: flex; flex-direction: column; gap: 8px; }
.fechas-list h3 { font-size: 1.2rem; margin-bottom: 6px; }
.fecha-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: all .16s;
}
.fecha-row:hover { border-color: var(--rosa-2); }
.fecha-row.active { border-color: var(--rosa-2); background: var(--rosa-soft); }
.fecha-row .femoji { font-size: 1.5rem; flex: 0 0 auto; }
.fecha-row .finfo { flex: 1; min-width: 0; }
.fecha-row .ftitle { font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; }
.fecha-row .fdate { font-size: .8rem; color: var(--ink-3); }

.fecha-detail { margin-top: 24px; }
.fecha-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.fecha-card .fhead { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.fecha-card .fhead .femoji { font-size: 2.2rem; }
.fecha-card h3 { font-size: 1.6rem; margin: 0; }
.fecha-card .fdate-line { color: var(--ink-2); font-size: .9rem; margin-bottom: 10px; }
.fecha-card p { color: var(--ink-2); }
.fecha-card .sug-titulo { font-weight: 600; margin: 18px 0 12px; color: var(--ink); }

/* ---------- Carrito (drawer escritorio + hoja móvil) ---------- */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bg); z-index: 120; box-shadow: var(--shadow-lg);
  transform: translateX(102%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; font-size: 1.3rem; }
.cart-close { width: 38px; height: 38px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm); font-size: 1.1rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-empty { text-align: center; padding: 40px 12px; color: var(--ink-2); }
.cart-empty .emoji { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; background: var(--bg-deep); display: grid; place-items: center; font-size: 1.4rem; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .info h4 { font-size: .98rem; margin: 0 0 2px; font-family: var(--font-body); font-weight: 600; }
.cart-item .info .meta { font-size: .8rem; color: var(--ink-3); }
.cart-item .qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); font-weight: 700; display: grid; place-items: center; }
.qty .n { font-weight: 600; min-width: 18px; text-align: center; }
.cart-item .line-total { font-family: var(--font-display); font-weight: 600; }
.cart-item .rm { color: var(--ink-3); font-size: .8rem; margin-top: 4px; }
.cart-item .rm:hover { color: var(--danger); }
.cart-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--card); }
.cart-foot .row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .98rem; }
.cart-foot .total { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.cart-foot .btn { margin-top: 6px; }

/* Barra flotante del carrito (móvil) */
.cart-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 999px; background: var(--footer); color: #fff;
  box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .3s ease;
}
.cart-bar.show { transform: translateY(0); }
.cart-bar .total-label { font-size: .8rem; opacity: .75; }
.cart-bar .total { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.cart-bar .btn { padding: 11px 20px; }

.overlay { position: fixed; inset: 0; background: rgba(46,35,48,.45); z-index: 110; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.show { opacity: 1; pointer-events: auto; }

/* ---------- Wizard de pedido ---------- */
.wizard-steps { display: flex; gap: 8px; margin-bottom: 30px; }
.wizard-steps .step { flex: 1; text-align: center; }
.wizard-steps .dot { width: 100%; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.wizard-steps .step.active .dot { background: var(--rosa-2); }
.wizard-steps .step.done .dot { background: var(--success); }
.wizard-steps .step span { font-size: .76rem; font-weight: 600; color: var(--ink-3); }
.wizard-steps .step.active span { color: var(--ink); }

.wizard-panel { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 26px 22px; margin-bottom: 22px; }
.wizard-panel h3 { font-size: 1.4rem; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rosa-2); box-shadow: 0 0 0 3px rgba(216,148,176,.14); }
.field textarea { resize: vertical; min-height: 84px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }

.radio-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
.radio-card { position: relative; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px; cursor: pointer; transition: border-color .16s, background .16s; }
.radio-card:hover { border-color: var(--rosa-2); }
.radio-card.selected { border-color: var(--rosa-2); background: var(--rosa-soft); }
.radio-card input { position: absolute; opacity: 0; }
.radio-card .r-title { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.radio-card .r-sub { font-size: .85rem; color: var(--ink-2); margin-top: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-toggle { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--ink-2); }
.chip-toggle.on { background: linear-gradient(135deg, var(--rosa), var(--rosa-2)); border-color: var(--rosa-2); color: #fff; }

.order-summary { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px; }
.order-summary .os-line { display: flex; justify-content: space-between; font-size: .94rem; padding: 5px 0; }
.order-summary .os-line b { font-family: var(--font-display); }
.order-summary .os-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-size: 1.1rem; font-weight: 700; }

.wizard-nav { display: flex; gap: 12px; justify-content: space-between; }

/* ---------- Formularios (contacto/eventos) ---------- */
.form-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 28px 24px; }
.form-note { font-size: .84rem; color: var(--ink-3); margin-top: 8px; }

/* ---------- Acordeón FAQ ---------- */
.faq-group { margin-bottom: 34px; }
.faq-group > h3 { font-size: 1.35rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.accordion { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; margin-bottom: 10px; }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 1.4rem; color: var(--rosa-2); transition: transform .2s; }
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion .a-body { padding: 0 18px 18px; color: var(--ink-2); font-size: .96rem; }

/* ---------- Testimonios ---------- */
.reviews-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.review-card .stars { color: #e0a63a; letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }
.review-card p { font-size: .98rem; }
.review-card .who { display: flex; align-items: center; gap: 10px; }
.review-card .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--rosa-soft); display: grid; place-items: center; font-weight: 700; color: #a04b6e; }
.review-card .who .name { font-weight: 600; font-size: .94rem; }
.review-card .who .zone { font-size: .8rem; color: var(--ink-3); }
.review-card .r-tag { display: inline-block; margin-top: 12px; font-size: .74rem; font-weight: 600; color: var(--rosa-2); background: var(--rosa-soft); padding: 3px 10px; border-radius: 999px; }

/* ---------- Info / eventos ---------- */
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); height: 100%; }
.info-card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 9px; }
.info-card p, .info-card li { color: var(--ink-2); font-size: .96rem; }
.evento-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.evento-card h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.evento-card .punto { display: flex; gap: 10px; padding: 6px 0; color: var(--ink-2); font-size: .95rem; }
.evento-card .punto::before { content: '🌿'; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map-frame iframe { width: 100%; height: 340px; border: 0; }

/* ---------- Galería ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA final ---------- */
.final-cta { background: var(--footer); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; font-size: clamp(1.8rem, 4.6vw, 2.7rem); }
.final-cta p { color: var(--footer-ink); }
.final-cta .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--footer-ink); padding: 56px 0 0; }
.site-footer .grid { display: grid; gap: 34px; grid-template-columns: 1fr; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.site-footer a { color: var(--footer-ink); display: block; padding: 4px 0; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--footer-ink); }
.site-footer p { font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.footer-bottom a { display: inline; }
.social-row { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.social-row a { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.08); padding: 9px 14px; border-radius: 999px; }

/* ---------- FAB WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: 90px; z-index: 80; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 26px; height: 26px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px);
  background: var(--footer); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .3s; z-index: 200; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Vista / router ---------- */
.view { display: none; }
.view.active { display: block; }
.page-hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 56px; background: var(--bg-soft); }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); max-width: 22ch; }
.page-hero p { color: var(--ink-2); max-width: 60ch; font-size: 1.08rem; }

/* Layout de pedido (base móvil): carrito lateral oculto, se usa el drawer */
.pedido-cart-side { display: none; }
.contacto-grid { display: grid; gap: 28px; }

/* ---------- Responsive: tablet / escritorio ---------- */
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .radio-cards { grid-template-columns: 1fr 1fr; }
  .story-strip .container { grid-template-columns: 1fr 2fr; }
  .cal-layout { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer .grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .hero { min-height: 88vh; }
  .section { padding: 96px 0; }
  .radio-cards { grid-template-columns: 1fr 1fr 1fr; }
  .cart-bar { display: none; }
  .contacto-grid { grid-template-columns: 1.1fr 1fr; }
  .pedido-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
  .pedido-cart-side { display: block; position: sticky; top: calc(var(--nav-h) + 20px); }
}
