/* ==========================================================================
   Bosque Interior — estilos del sitio público
   Arquetipo: Liquid Wave (adaptado a botánica): curvas orgánicas, olas
   animadas como separadores, blobs líquidos, verde bosque + sol + barro.
   ========================================================================== */

:root {
  --bg: #f2f5ec;
  --bg-2: #e4ecda;
  --paper: #fbfcf8;
  --deep: #0e3b2c;
  --deep-2: #145039;
  --ink: #10231a;
  --ink-soft: #3b5146;
  --mute: #6b7d73;
  --accent: #1f9d63;
  --accent-ink: #0b6b44;
  --accent-soft: #d5efdf;
  --sun: #ffcf5c;
  --sun-soft: #fff1c9;
  --clay: #d4774d;
  --clay-soft: #f8e1d5;
  --danger: #c0392b;
  --line: rgba(16, 35, 26, 0.12);
  --line-strong: rgba(16, 35, 26, 0.22);
  --on-deep: #eef5ea;
  --on-deep-mute: rgba(238, 245, 234, 0.72);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --shadow-1: 0 1px 2px rgba(14, 59, 44, 0.06), 0 4px 14px rgba(14, 59, 44, 0.06);
  --shadow-2: 0 10px 30px rgba(14, 59, 44, 0.12), 0 2px 6px rgba(14, 59, 44, 0.06);
  --shadow-3: 0 30px 70px rgba(14, 59, 44, 0.22);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
p { margin: 0 0 1em; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper); }
.section--sage { background: var(--bg-2); }
.section--deep { background: var(--deep); color: var(--on-deep); }
.section--deep h2, .section--deep h3 { color: var(--paper); }
.section--deep h2 em { color: var(--sun); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--deep .eyebrow, .cta-band .eyebrow { color: var(--sun); }
.hand { font-family: var(--font-hand); font-size: 1.5em; font-weight: 600; color: var(--clay); line-height: 1; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; text-wrap: balance; margin: 0; }
.section-head p { max-width: 46ch; color: var(--ink-soft); margin: 0; }
.section--deep .section-head p { color: var(--on-deep-mute); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 58ch; }

/* ---------- botones ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0;
  background: var(--b-bg); color: var(--b-fg);
  font: 600 15px/1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease-spring), box-shadow .3s var(--ease-out), background .25s;
  position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 59, 44, .22); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--accent { --b-bg: var(--accent); --b-fg: #fff; }
.btn--accent:hover { --b-bg: var(--accent-ink); }
.btn--sun { --b-bg: var(--sun); --b-fg: var(--ink); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { --b-bg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.section--deep .btn--ghost, .on-deep .btn--ghost, .cta-band .btn--ghost { --b-fg: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(238, 245, 234, .35); }
.section--deep .btn--ghost:hover, .on-deep .btn--ghost:hover, .cta-band .btn--ghost:hover { --b-bg: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.link-arrow svg { width: 18px; transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent;
  display: inline-grid; place-items: center; position: relative; color: inherit; text-decoration: none;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(16, 35, 26, .07); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--clay); color: #fff; font: 700 11px/19px var(--font-body); text-align: center;
  transform: scale(0); transition: transform .35s var(--ease-spring);
}
.badge-count.is-on { transform: scale(1); }
.badge-count.is-bump { animation: bump .45s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.4); } }

/* ---------- barra superior y navegación ---------- */
.topbar { background: var(--deep); color: var(--on-deep); font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; }
.topbar a { text-decoration: none; opacity: .85; }
.topbar a:hover { opacity: 1; }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social svg { width: 16px; height: 16px; }
@media (max-width: 720px) { .topbar-social, .topbar-phone { display: none; } .topbar .wrap { justify-content: center; text-align: center; } .topbar { font-size: 12px; } .topbar .wrap { min-height: 32px; padding-block: 6px; } }

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(242, 245, 236, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
@supports (backdrop-filter: blur(12px)) {
  .nav { background: rgba(242, 245, 236, .78); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(14, 59, 44, .06); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 var(--font-display); letter-spacing: -0.03em; flex: none; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo small { display: block; font: 500 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a {
  display: block; padding: 10px 12px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(16, 35, 26, .06); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.nav-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.nav-toggle { display: none; }
@media (max-width: 1140px) {
  .nav-links a { padding: 10px 9px; font-size: 14px; }
}
@media (max-width: 1040px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav-actions { margin-left: auto; }
}

/* menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--deep); color: var(--on-deep);
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px;
  clip-path: circle(0 at calc(100% - 40px) 40px); visibility: hidden;
  transition: clip-path .6s var(--ease-out), visibility 0s .6s;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .7s var(--ease-out); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { margin-top: 28px; display: grid; gap: 2px; overflow-y: auto; }
.mobile-menu nav a {
  font: 700 clamp(1.7rem, 7vw, 2.4rem)/1.2 var(--font-display); text-decoration: none; padding: 6px 0; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out), color .2s;
}
.mobile-menu nav a[aria-current="page"] { color: var(--sun); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; } .mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; } .mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: .2s; } .mobile-menu.is-open nav a:nth-child(7) { transition-delay: .24s; }
.mobile-menu.is-open nav a:nth-child(8) { transition-delay: .28s; } .mobile-menu.is-open nav a:nth-child(9) { transition-delay: .32s; }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 14px; padding-top: 24px; }
.mobile-menu .social-row a { color: var(--on-deep); }
body.menu-open { overflow: hidden; }

/* ---------- olas (separadores animados) ---------- */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 90px); position: relative; overflow: hidden; margin-top: -1px; line-height: 0; }
.wave svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; animation: waveSlide 18s linear infinite; }
.wave svg + svg { animation-duration: 26s; animation-direction: reverse; opacity: .5; }
.wave--flip { transform: scaleY(-1); margin-top: 0; margin-bottom: -1px; }
@keyframes waveSlide { to { transform: translateX(-50%); } }

/* ---------- blobs líquidos ---------- */
.blob {
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: blobMorph 14s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  33% { border-radius: 58% 42% 38% 62% / 55% 38% 62% 45%; }
  66% { border-radius: 36% 64% 52% 48% / 38% 60% 40% 62%; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 40px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(2.8rem, 7.4vw, 6.2rem); line-height: .95; letter-spacing: -0.04em; text-wrap: balance; max-width: 11ch; margin-bottom: 24px; }
.hero-title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .16em; z-index: -1;
  background: var(--sun); border-radius: 999px; transform-origin: left; animation: underlineGrow 1.1s .5s var(--ease-out) both;
}
@keyframes underlineGrow { from { transform: scaleX(0); } }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats strong { display: block; font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--font-display); letter-spacing: -0.03em; }
.hero-stats span { font-size: 14px; color: var(--mute); }
.hero-visual { position: relative; aspect-ratio: 1 / 1.08; }
.hero-blob-bg { position: absolute; inset: 6% 2% 0 8%; background: var(--accent-soft); }
.hero-blob-bg.two { inset: 14% 10% 6% 0; background: var(--sun-soft); animation-duration: 18s; animation-delay: -4s; opacity: .9; }
.hero-photo {
  position: absolute; inset: 4% 6% 4% 6%; overflow: hidden; box-shadow: var(--shadow-3);
  animation: blobMorph 16s ease-in-out infinite, floatY 7s ease-in-out infinite;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
@keyframes floatY { 50% { translate: 0 -10px; } }
.float-card {
  position: absolute; z-index: 3; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-2);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 14px;
  animation: floatY 6s ease-in-out infinite;
}
.float-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.float-card strong { display: block; font-size: 14px; }
.float-card small { color: var(--mute); }
.float-card--shop { left: -6%; bottom: 14%; animation-delay: -2s; }
.float-card--booking { right: -4%; top: 10%; }
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(31, 157, 99, .5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31, 157, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 99, 0); } }
.float-card .mini-add { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; }
.float-card .mini-add svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; aspect-ratio: 1 / .9; }
  .hero-title { max-width: 12ch; }
  .float-card--shop { left: 0; bottom: 4%; }
  .float-card--booking { right: 0; top: 4%; }
}
@media (max-width: 480px) { .float-card { padding: 9px 10px; font-size: 12px; } .float-card img { width: 40px; height: 40px; } .float-card--booking small { display: none; } }

/* page hero (páginas internas) */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 48px); overflow: visible; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .98; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }
.page-hero .lead { margin-top: 8px; }
.page-hero-blob { position: absolute; width: clamp(180px, 26vw, 360px); aspect-ratio: 1; right: var(--gutter); top: 30px; background: var(--accent-soft); z-index: -1; opacity: .8; }
.page-hero-blob.sun { width: clamp(100px, 14vw, 200px); right: calc(var(--gutter) + 18vw); top: 50%; background: var(--sun-soft); animation-delay: -6s; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--mute); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- tarjetas genéricas ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line); position: relative;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.card h3 { font-size: 1.4rem; }
.card p { color: var(--ink-soft); }
.icon-blob {
  width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--accent-soft); color: var(--accent-ink);
}
.icon-blob svg { width: 28px; height: 28px; }
.icon-blob.sun { background: var(--sun-soft); color: #8a5a00; }
.icon-blob.clay { background: var(--clay-soft); color: #9a4520; }

/* ---------- productos ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: clamp(16px, 2vw, 24px); }
.product-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.product-media { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; background: var(--bg-2); cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-media .quick { position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(10px); transition: .35s var(--ease-out); }
.product-card:hover .quick, .product-media:focus-visible .quick { opacity: 1; transform: none; }
@media (hover: none) { .product-media .quick { display: none; } }
.quick span { display: block; text-align: center; background: rgba(251, 252, 248, .94); border-radius: 999px; padding: 9px; font-size: 13px; font-weight: 600; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font: 600 12px/1 var(--font-body); background: var(--accent-soft); color: var(--accent-ink);
}
.tag--sun { background: var(--sun); color: var(--ink); }
.tag--clay { background: var(--clay); color: #fff; }
.tag--dark { background: var(--ink); color: var(--paper); }
.tag--mute { background: var(--bg-2); color: var(--ink-soft); }
.product-media .tag { position: absolute; top: 12px; left: 12px; z-index: 2; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.product-name { font: 700 1.12rem/1.2 var(--font-display); margin: 0; letter-spacing: -0.01em; }
.product-meta { display: flex; gap: 10px; font-size: 13px; color: var(--mute); flex-wrap: wrap; }
.product-meta span { display: inline-flex; gap: 4px; align-items: center; }
.product-meta svg { width: 14px; height: 14px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; gap: 10px; }
.price { font: 700 1.15rem/1 var(--font-display); }
.price s { font: 400 .85rem/1 var(--font-body); color: var(--mute); margin-left: 6px; }
.add-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; flex: none; transition: transform .35s var(--ease-spring), background .2s;
}
.add-btn:hover { background: var(--accent); transform: rotate(90deg) scale(1.06); }
.add-btn svg { width: 20px; height: 20px; }
.add-btn[disabled] { background: var(--bg-2); color: var(--mute); transform: none; cursor: not-allowed; }
.product-card.is-out .product-media img { filter: grayscale(.7) opacity(.7); }
.skeleton { background: linear-gradient(100deg, var(--bg-2) 30%, var(--paper) 50%, var(--bg-2) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 340px; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* barra de herramientas tienda */
.shop-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 8px 16px;
  font-size: 14px; font-weight: 500; transition: .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search-field { position: relative; flex: 1 1 220px; max-width: 340px; }
.search-field svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; color: var(--mute); }
.search-field input { width: 100%; padding-left: 42px; }
.shop-count { color: var(--mute); font-size: 14px; margin-left: auto; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--mute); grid-column: 1 / -1; }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--accent); }

/* ---------- formularios ---------- */
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.input, .field input, .field select, .field textarea, select.input {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 157, 99, .15); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--danger); }
.field .hint { font-size: 13px; color: var(--mute); }
.field .error { font-size: 13px; color: var(--danger); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 1px; flex: none; }
.form-note { font-size: 13px; color: var(--mute); }
.form-success { display: none; text-align: center; padding: 36px 16px; }
.form-success.is-on { display: block; animation: rise .6s var(--ease-out); }
.form-success > svg { width: 76px; height: 76px; margin: 0 auto 14px; }
.form-success h2, .success-box h2 { display: block; }
.check-draw circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s var(--ease-out) forwards; }
.check-draw path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .55s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.is-sending .btn[type="submit"] { pointer-events: none; opacity: .7; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: left; }
.step-num {
  width: 60px; height: 60px; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--accent);
  font: 800 1.3rem/1 var(--font-display); color: var(--accent-ink); margin-bottom: 18px; position: relative;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- portafolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 22vw, 280px); gap: clamp(12px, 1.8vw, 22px); }
.pf-item { grid-column: span 2; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 0; padding: 0; text-align: left; color: var(--paper); cursor: pointer; }
.pf-item:nth-child(6n+1) { grid-column: span 3; grid-row: span 2; }
.pf-item:nth-child(6n+2) { grid-column: span 3; }
.pf-item:nth-child(6n+3) { grid-column: span 3; }
.pf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pf-item:hover img { transform: scale(1.06); }
.pf-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 30, 22, .85)); }
.pf-caption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.pf-caption h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); margin: 8px 0 0; color: var(--paper); }
.pf-caption .tag { background: rgba(255, 255, 255, .18); color: #fff; }
@supports (backdrop-filter: blur(8px)) { .pf-caption .tag { backdrop-filter: blur(8px); } }
.pf-item.is-hidden { display: none; }
.portfolio-grid.is-filtered .pf-item { grid-column: span 2 !important; grid-row: span 1 !important; }
@media (max-width: 800px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .pf-item, .pf-item:nth-child(6n+2), .pf-item:nth-child(6n+3) { grid-column: span 1; }
  .pf-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; }
  .portfolio-grid.is-filtered .pf-item { grid-column: span 1 !important; }
}
@media (max-width: 480px) { .portfolio-grid { grid-template-columns: 1fr; } .pf-item, .pf-item:nth-child(6n+1) { grid-column: span 1; } }

/* ---------- testimonios ---------- */
.quote-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(238, 245, 234, .14); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote-card blockquote { margin: 0; font: 500 1.12rem/1.5 var(--font-display); color: var(--paper); }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 14px; color: var(--on-deep-mute); }
.quote-card .who strong { display: block; color: var(--paper); }
.stars { color: var(--sun); letter-spacing: 2px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 700 16px/1 var(--font-display); background: var(--sun); color: var(--ink);
}
.avatar.green { background: var(--accent-soft); color: var(--accent-ink); }
.avatar.clay { background: var(--clay-soft); color: #9a4520; }

/* ---------- blog ---------- */
.post-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; transition: transform .45s var(--ease-out), box-shadow .45s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.post-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.post-card:hover img { transform: scale(1.05); }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body h3 { font-size: 1.25rem; margin: 0; }
.post-body p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--mute); flex-wrap: wrap; }
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; margin-bottom: 32px; }
.post-featured figure { margin: 0; min-height: 320px; }
.post-featured img { width: 100%; height: 100%; object-fit: cover; }
.post-featured .post-body { padding: clamp(24px, 4vw, 48px); justify-content: center; }
.post-featured h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; }
@media (max-width: 760px) { .post-featured { grid-template-columns: 1fr; } .post-featured figure { min-height: 220px; } }

/* artículo */
.article { max-width: 720px; margin-inline: auto; }
.article-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); margin: 28px 0 40px; }
.article-body { font-size: 1.12rem; line-height: 1.75; color: var(--ink-soft); }
.article-body > p:first-child::first-letter { float: left; font: 800 4.2em/.8 var(--font-display); color: var(--accent); margin: .08em .12em 0 0; }
.article-body h2 { font-size: 1.7rem; color: var(--ink); margin-top: 1.6em; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: .5em; }
.article-body li::marker { color: var(--accent); }
.article-body strong { color: var(--ink); }
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 70; width: 0; transition: width .1s linear; }
.share-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); }

/* ---------- servicios ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media { position: relative; aspect-ratio: 5 / 4; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media .blob { position: absolute; inset: 0; overflow: hidden; }
.service-row h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.service-row ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.service-row li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.service-row li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.service-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.service-price strong { font: 800 1.8rem/1 var(--font-display); }
.service-price span { color: var(--mute); }
@media (max-width: 800px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .service-media { order: 0; } }

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.is-featured { background: var(--deep); color: var(--on-deep); border-color: var(--deep); transform: translateY(-10px); box-shadow: var(--shadow-3); }
.plan.is-featured h3, .plan.is-featured .plan-price strong { color: var(--paper); }
.plan .tag { position: absolute; top: -12px; left: 28px; }
.plan h3 { font-size: 1.35rem; margin: 0; }
.plan-price strong { font: 800 2.4rem/1 var(--font-display); letter-spacing: -0.03em; }
.plan-price span { color: var(--mute); font-size: 14px; }
.plan.is-featured .plan-price span, .plan.is-featured li { color: var(--on-deep-mute); }
.plan ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.plan.is-featured li svg { color: var(--sun); }
.plan .btn { margin-top: auto; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .plan.is-featured { transform: none; } }

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 4px 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-1); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 600 1.05rem/1.4 var(--font-display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); color: var(--accent); transition: transform .3s var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 12px; }

/* ---------- nosotros ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stacked-photos { position: relative; aspect-ratio: 1 / 1; }
.stacked-photos .p1 { position: absolute; inset: 0 22% 18% 0; overflow: hidden; border-radius: var(--radius); }
.stacked-photos .p2 { position: absolute; inset: 40% 0 0 40%; overflow: hidden; border: 8px solid var(--bg); }
.stacked-photos img { width: 100%; height: 100%; object-fit: cover; }
.stacked-photos .hand { position: absolute; left: 2%; bottom: 4%; transform: rotate(-6deg); font-size: 1.8rem; }
.counter-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.counter-row div { border-left: 2px solid var(--accent); padding-left: 18px; }
.counter-row strong { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--paper); }
.counter-row span { color: var(--on-deep-mute); font-size: 14px; }
@media (max-width: 700px) { .counter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team-card { text-align: center; }
.team-card .avatar { width: 96px; height: 96px; font-size: 30px; margin: 0 auto 16px; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-card p { font-size: 14px; color: var(--mute); margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline strong { font: 800 1.6rem/1 var(--font-display); color: var(--accent-ink); }
.timeline h3 { font-size: 1.15rem; margin-bottom: 4px; }
.timeline p { color: var(--ink-soft); margin: 0; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 12px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .3s var(--ease-out); }
a.info-item:hover { border-color: var(--accent); transform: translateX(4px); }
.info-item .icon-blob { width: 46px; height: 46px; margin: 0; flex: none; }
.info-item .icon-blob svg { width: 20px; height: 20px; }
.info-item strong { display: block; font-size: 15px; }
.info-item span { color: var(--ink-soft); font-size: 14px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); position: relative; aspect-ratio: 16 / 7; min-height: 320px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.map-card { position: absolute; left: 20px; top: 20px; background: var(--paper); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-2); max-width: 280px; z-index: 2; }
.map-card strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.map-card p { font-size: 14px; color: var(--ink-soft); margin: 4px 0 10px; }
@media (max-width: 600px) { .map-card { position: static; max-width: none; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); } .map-wrap { aspect-ratio: auto; } .map-wrap iframe { height: 320px; } }

/* ---------- CTA banda ---------- */
.cta-band { position: relative; background: var(--deep); color: var(--on-deep); border-radius: clamp(24px, 4vw, 40px); padding: clamp(36px, 6vw, 72px); overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--paper); font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 16ch; }
.cta-band h2 em { color: var(--sun); }
.cta-band p { color: var(--on-deep-mute); max-width: 44ch; }
.cta-band .blob { position: absolute; z-index: -1; width: 420px; aspect-ratio: 1; right: -120px; top: -120px; background: var(--deep-2); }
.cta-band .blob.b2 { width: 260px; right: 20%; top: auto; bottom: -140px; background: rgba(255, 207, 92, .14); animation-delay: -5s; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.mini-cal { background: rgba(255, 255, 255, .07); border: 1px solid rgba(238, 245, 234, .14); border-radius: var(--radius); padding: 20px; }
.mini-cal-head { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 12px; color: var(--paper); }
.mini-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 13px; }
.mini-cal-days span { padding: 8px 0; border-radius: 10px; color: var(--on-deep-mute); }
.mini-cal-days .free { background: rgba(31, 157, 99, .35); color: var(--paper); }
.mini-cal-days .sel { background: var(--sun); color: var(--ink); font-weight: 700; }
.mini-cal-days .off { opacity: .35; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: var(--on-deep); padding-top: clamp(48px, 6vw, 80px); position: relative; }
.footer-wave { position: absolute; top: 0; left: 0; right: 0; translate: 0 calc(-100% + 1px); color: var(--deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: var(--paper); font-size: 1rem; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--on-deep-mute); transition: color .2s; }
.footer a:hover { color: var(--paper); }
.footer p { color: var(--on-deep-mute); font-size: 15px; }
.footer .logo { color: var(--paper); margin-bottom: 16px; }
.footer .logo small { color: var(--on-deep-mute); }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; min-height: 46px; border-radius: 999px; border: 1px solid rgba(238, 245, 234, .25); background: rgba(255, 255, 255, .06); color: var(--paper); padding: 0 18px; }
.newsletter input::placeholder { color: var(--on-deep-mute); }
.newsletter input:focus { outline: none; border-color: var(--sun); }
.footer-bottom { border-top: 1px solid rgba(238, 245, 234, .12); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-deep-mute); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(238, 245, 234, .22); color: var(--on-deep); transition: background .25s, color .25s, transform .35s var(--ease-spring);
}
.social-row a:hover { background: var(--sun); color: var(--ink); transform: translateY(-3px); border-color: var(--sun); }
.social-row svg { width: 18px; height: 18px; }
.social-row--light a { border-color: var(--line-strong); color: var(--ink); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  text-decoration: none; transition: transform .35s var(--ease-spring);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waRing 2.6s ease-out infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 32px; height: 32px; }
.wa-tip {
  position: absolute; right: 72px; top: 50%; translate: 0 -50%; white-space: nowrap;
  background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 12px; box-shadow: var(--shadow-2);
  opacity: 0; transform: translateX(8px); transition: .3s var(--ease-out); pointer-events: none;
}
.wa-float:hover .wa-tip, .wa-tip.is-on { opacity: 1; transform: none; }
@media (max-width: 600px) { .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; } }

/* botón demo "funciones del plan" */
.plan-fab {
  position: fixed; left: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 10px 18px 10px 12px;
  font: 600 14px/1 var(--font-body); box-shadow: var(--shadow-2); transition: transform .35s var(--ease-spring);
}
.plan-fab:hover { transform: translateY(-3px); }
.plan-fab .pill { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 6px 9px; font-size: 12px; }
@media (max-width: 600px) { .plan-fab { left: 14px; bottom: 18px; padding: 8px 12px 8px 8px; font-size: 13px; } .plan-fab .txt { display: none; } }

/* ---------- diálogos ---------- */
dialog {
  border: 0; padding: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink);
  width: min(920px, calc(100% - 32px)); max-height: calc(100dvh - 32px); box-shadow: var(--shadow-3);
}
dialog::backdrop { background: rgba(8, 30, 22, .55); }
@supports (backdrop-filter: blur(4px)) { dialog::backdrop { backdrop-filter: blur(4px); } }
dialog[open] { animation: dialogIn .45s var(--ease-out); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 5; background: var(--paper); box-shadow: var(--shadow-1); }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { background: var(--bg-2); min-height: 360px; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.qv-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.care-grid div { background: var(--bg); border-radius: var(--radius-xs); padding: 12px; font-size: 13px; }
.care-grid strong { display: block; font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; border-radius: 999px; }
.qty button:hover { background: var(--bg); }
.qty input { width: 40px; border: 0; text-align: center; background: none; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 36px; }
.qty--sm button { width: 32px; font-size: 16px; }
.qty--sm input { width: 28px; font-size: 14px; }
@media (max-width: 720px) { .qv { grid-template-columns: 1fr; } .qv-media { min-height: 0; aspect-ratio: 4 / 3; } }

.lightbox-body { display: grid; grid-template-columns: 1.4fr 1fr; }
.lightbox-body figure { margin: 0; background: var(--bg-2); min-height: 380px; }
.lightbox-body img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-body .qv-body dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.lightbox-body dt { color: var(--mute); }
.lightbox-body dd { margin: 0; font-weight: 600; }
@media (max-width: 720px) { .lightbox-body { grid-template-columns: 1fr; } .lightbox-body figure { min-height: 0; aspect-ratio: 4 / 3; } }

.features-dialog { width: min(640px, calc(100% - 32px)); }
.features-dialog .qv-body { gap: 8px; }
.feature-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.feature-list a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.feature-list a:hover { background: var(--bg); }
.feature-list .ok { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.feature-list .ok svg { width: 14px; height: 14px; }
.feature-list small { display: block; color: var(--mute); font-size: 13px; }

/* ---------- carrito lateral ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8, 30, 22, .5); z-index: 95; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 96; background: var(--paper);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .5s var(--ease-out); box-shadow: var(--shadow-3);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.35rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--bg); }
.free-ship { font-size: 13px; color: var(--ink-soft); }
.free-ship .bar { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin-top: 6px; }
.free-ship .bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .5s var(--ease-out); }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--bg-2); }
.cart-line h3 { font: 600 15px/1.3 var(--font-body); margin: 0 0 6px; letter-spacing: 0; }
.cart-line .price { font-size: 15px; }
.cart-line .remove { border: 0; background: none; color: var(--mute); font-size: 13px; text-decoration: underline; padding: 4px 0; display: block; margin-top: 4px; }
.cart-line .remove:hover { color: var(--danger); }
.totals { display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font: 700 1.2rem/1.2 var(--font-display); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals .disc { color: var(--accent-ink); }
.cart-empty { text-align: center; padding: 48px 12px; color: var(--mute); }
.cart-empty svg { width: 64px; height: 64px; margin: 0 auto 14px; color: var(--accent); }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 120; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast {
  display: flex; gap: 12px; align-items: center; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-3);
  font-size: 14px; animation: toastIn .45s var(--ease-spring); pointer-events: auto;
}
.toast img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.toast a { color: var(--sun); font-weight: 600; margin-left: auto; white-space: nowrap; }
.toast.is-error { background: var(--danger); }
.toast.is-out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- checkout y reservas (stepper) ---------- */
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; flex-wrap: wrap; counter-reset: st; }
.stepper li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--mute); counter-increment: st; }
.stepper li::before { content: counter(st); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-size: 13px; }
.stepper li:not(:last-child)::after { content: ""; width: clamp(16px, 4vw, 48px); height: 2px; background: var(--line-strong); margin-left: 4px; }
.stepper li.is-active { color: var(--ink); }
.stepper li.is-active::before { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stepper li.is-done { color: var(--accent-ink); }
.stepper li.is-done::before { content: "✓"; background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 560px) { .stepper li span { display: none; } .stepper li.is-active span { display: inline; } }

.checkout-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .checkout-grid { grid-template-columns: 1fr; } .summary { order: -1; } }
.panel { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.35rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.panel h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; font-family: var(--font-body); }
.summary { position: sticky; top: calc(var(--nav-h) + 20px); }
.summary-lines { max-height: 300px; overflow-y: auto; margin-bottom: 14px; }
.summary .cart-line { grid-template-columns: 56px 1fr auto; padding: 10px 0; }
.summary .cart-line img { width: 56px; height: 56px; }
.coupon { display: flex; gap: 8px; margin-bottom: 16px; }
.coupon input { flex: 1; min-width: 0; }
.secure-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); margin-top: 14px; justify-content: center; text-align: center; flex-wrap: wrap; }
.secure-row svg { width: 16px; height: 16px; color: var(--accent); }

.pay-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
@media (max-width: 600px) { .pay-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pay-method { position: relative; }
.pay-method input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pay-method label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); font-size: 13px; font-weight: 600; text-align: center; min-height: 84px; cursor: pointer; transition: .2s; }
.pay-method label svg { width: 26px; height: 26px; }
.pay-method input:checked + label { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(31, 157, 99, .15); }
.pay-method input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.pay-pane { display: none; }
.pay-pane.is-on { display: block; animation: rise .4s var(--ease-out); }
.card-preview {
  aspect-ratio: 1.586; max-width: 340px; border-radius: 18px; padding: 22px; color: #fff; margin-bottom: 20px;
  background: radial-gradient(120% 120% at 0% 0%, #1f9d63 0%, #0e3b2c 55%, #08231a 100%); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-2); font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.card-preview::after { content: ""; position: absolute; width: 220px; aspect-ratio: 1; right: -60px; top: -80px; background: rgba(255, 207, 92, .22); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
.card-preview .chip-ic { width: 42px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #f5d77a, #c99a2e); }
.card-preview .num { font-size: clamp(16px, 4.4vw, 21px); letter-spacing: 2px; }
.card-preview .row { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; gap: 10px; }
.card-preview .brand { position: absolute; top: 20px; right: 22px; font: 800 18px/1 var(--font-body); font-style: italic; z-index: 2; }
.pse-note, .nequi-note { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.pse-note svg, .nequi-note svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }

.processing { position: fixed; inset: 0; z-index: 130; background: rgba(242, 245, 236, .94); display: none; place-items: center; text-align: center; padding: 24px; }
.processing.is-on { display: grid; animation: rise .3s; }
.processing .ring { width: 74px; height: 74px; border-radius: 50%; border: 5px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .9s linear infinite; margin: 0 auto 20px; }
.processing h2 { font-size: 1.5rem; }
.processing p { color: var(--ink-soft); }

.success-box { max-width: 640px; margin: 0 auto; text-align: center; }
.success-box svg.big { width: 100px; height: 100px; margin: 0 auto 18px; }
.success-box .success-title { font-size: clamp(2rem, 5vw, 3rem); }
.receipt { text-align: left; margin-top: 28px; }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: 15px; }
.receipt dt { color: var(--mute); }
.receipt dd { margin: 0; font-weight: 600; text-align: right; }

/* reservas */
.service-pick { display: grid; gap: 12px; }
.service-opt { position: relative; }
.service-opt input { position: absolute; opacity: 0; inset: 0; }
.service-opt label { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); cursor: pointer; transition: .2s; background: var(--paper); }
.service-opt label:hover { border-color: var(--ink); }
.service-opt input:checked + label { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(31, 157, 99, .15); }
.service-opt input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.service-opt .icon-blob { width: 52px; height: 52px; margin: 0; }
.service-opt .icon-blob svg { width: 22px; height: 22px; }
.service-opt strong { display: block; font-size: 15px; }
.service-opt small { color: var(--mute); font-size: 13px; display: block; }
.service-opt .price-tag { font: 700 15px/1.2 var(--font-display); text-align: right; }
.service-opt .price-tag small { font-family: var(--font-body); font-weight: 400; }
@media (max-width: 520px) { .service-opt label { grid-template-columns: 44px 1fr; } .service-opt .icon-blob { width: 44px; height: 44px; } .service-opt .price-tag { grid-column: 2; text-align: left; } }

.calendar { user-select: none; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-head strong { font: 700 1.15rem/1 var(--font-display); }
.cal-head .icon-btn { border: 1.5px solid var(--line-strong); width: 40px; height: 40px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-grid .dow { font-size: 12px; text-transform: uppercase; color: var(--mute); text-align: center; padding: 6px 0; letter-spacing: .06em; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 12px; background: var(--bg); font-weight: 600; font-size: 15px; display: grid; place-items: center; position: relative; transition: .2s; }
.cal-day:hover:not([disabled]) { background: var(--accent-soft); }
.cal-day[disabled] { background: transparent; color: var(--line-strong); cursor: not-allowed; text-decoration: line-through; text-decoration-color: transparent; }
.cal-day.is-today::after { content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
.cal-day.is-selected { background: var(--ink); color: var(--paper); }
.cal-day.is-empty { visibility: hidden; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 8px; }
.slot { border: 1.5px solid var(--line-strong); background: var(--paper); border-radius: 12px; padding: 11px 0; font-weight: 600; font-size: 15px; transition: .2s; }
.slot:hover:not([disabled]) { border-color: var(--accent); color: var(--accent-ink); }
.slot[disabled] { background: var(--bg); color: var(--mute); border-color: transparent; text-decoration: line-through; cursor: not-allowed; }
.slot.is-selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--mute); margin-top: 14px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.booking-step { display: none; }
.booking-step.is-on { display: block; animation: rise .45s var(--ease-out); }
.booking-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.booking-summary dl { display: grid; gap: 14px; margin: 0; }
.booking-summary dt { font-size: 13px; color: var(--mute); }
.booking-summary dd { margin: 2px 0 0; font-weight: 600; }

/* ---------- login / cuenta ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--nav-h)); }
.auth-art { position: relative; background: var(--deep); color: var(--on-deep); padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; z-index: -2; }
.auth-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 59, 44, .2), rgba(14, 59, 44, .95)); z-index: -1; }
.auth-art h2 { color: var(--paper); font-size: clamp(2rem, 4vw, 3rem); max-width: 14ch; }
.auth-art p { color: var(--on-deep-mute); max-width: 40ch; }
.auth-form { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; max-width: 560px; width: 100%; margin-inline: auto; }
.tabs { display: inline-flex; background: var(--bg-2); border-radius: 999px; padding: 4px; margin-bottom: 28px; }
.tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); }
.demo-users { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.demo-user { display: flex; gap: 10px; align-items: center; text-align: left; padding: 12px; border-radius: var(--radius-sm); border: 1.5px dashed var(--line-strong); background: transparent; transition: .2s; }
.demo-user:hover { border-color: var(--accent); border-style: solid; background: var(--paper); }
.demo-user .avatar { width: 38px; height: 38px; font-size: 14px; }
.demo-user strong { display: block; font-size: 14px; }
.demo-user small { color: var(--mute); font-size: 12px; line-height: 1.3; display: block; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--mute); font-size: 13px; margin: 24px 0 14px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.alert { padding: 12px 16px; border-radius: var(--radius-xs); font-size: 14px; display: none; }
.alert.is-on { display: block; }
.alert--error { background: #fbe4e1; color: #8e2a1f; }
.alert--ok { background: var(--accent-soft); color: var(--accent-ink); }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { min-height: 240px; } }
@media (max-width: 420px) { .demo-users { grid-template-columns: 1fr; } }

.account-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 32px; }
.account-head .avatar { width: 68px; height: 68px; font-size: 24px; }
.account-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0; }
.account-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.order-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; display: grid; gap: 10px; }
.order-item + .order-item { margin-top: 12px; }
.order-item header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.order-thumbs { display: flex; gap: 6px; }
.order-thumbs img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.status { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-2); color: var(--ink-soft); }
.status--Pagado, .status--Confirmada { background: var(--accent-soft); color: var(--accent-ink); }
.status--Enviado { background: #dfeaff; color: #1d4f9c; }
.status--Entregado, .status--Completada { background: var(--ink); color: var(--paper); }
.status--Pendiente { background: var(--sun-soft); color: #7a5200; }
.status--Cancelada, .status--Cancelado { background: #fbe4e1; color: #8e2a1f; }

/* ---------- revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 12% 12% 12% round 40px); transition: clip-path 1.2s var(--ease-out); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0 round 0); }
.delay-1 { transition-delay: .08s; } .delay-2 { transition-delay: .16s; } .delay-3 { transition-delay: .24s; } .delay-4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .reveal-img { clip-path: none; }

/* marquee de categorías */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; background: var(--paper); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 700 clamp(1.4rem, 3vw, 2.2rem)/1 var(--font-display); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee span::after { content: ""; width: 18px; height: 18px; background: var(--accent); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
.marquee span:nth-child(3n)::after { background: var(--sun); }
.marquee span:nth-child(3n+1)::after { background: var(--clay); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* utilidades */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--mute); }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.hidden { display: none !important; }

/* ajustes de cabecera / menú móvil / legal */
.topbar-phone { display: inline-flex; gap: 6px; align-items: center; }
.mobile-menu .logo { color: var(--paper); }
.mobile-menu .logo small { color: var(--on-deep-mute); }
.mobile-menu .icon-btn:hover { background: rgba(255, 255, 255, .08); }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin-top: 2em; scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal p, .legal li { color: var(--ink-soft); }
.credits-list { font-size: 14px; display: grid; gap: 8px; padding-left: 1.1em; }
.credits-list a { color: var(--accent-ink); }
.pf-caption .pf-title { display: block; font: 700 clamp(1.1rem, 1.8vw, 1.5rem)/1.15 var(--font-display); margin-top: 8px; color: var(--paper); letter-spacing: -0.01em; }
@media (max-width: 440px) {
  .nav .wrap { gap: 8px; }
  .logo { font-size: 17px; gap: 8px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo small { font-size: 10px; letter-spacing: .1em; }
  .nav-actions { gap: 0; }
  .nav-actions .icon-btn { width: 40px; height: 40px; }
}
/* tienda en celular: 2 columnas y categorías deslizables */
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-body { padding: 12px 12px 14px; gap: 4px; }
  .product-name { font-size: 1rem; }
  .product-cat { font-size: 10px; }
  .product-meta { display: none; }
  .price { font-size: 1rem; }
  .price s { display: block; margin: 4px 0 0; }
  .add-btn { width: 38px; height: 38px; }
  .product-media .tag { top: 8px; left: 8px; font-size: 11px; padding: 4px 8px; }
  .shop-toolbar .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .shop-toolbar .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
  .search-field { max-width: none; flex-basis: 100%; }
}

/* Nicaragua: equivalente en dólares */
.usd-ref { font-size: 13px; color: var(--mute); margin: 6px 0 0; text-align: right; }
.totals .usd-ref { display: flex; justify-content: space-between; margin: 0; }
.usd-inline { font: 500 .8rem/1 var(--font-body); color: var(--mute); margin-left: 6px; }
.pay-methods--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .pay-methods--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pay-method label { font-size: 12px; padding: 12px 4px; } }
.receipt .pse-note { margin-top: 18px; }

/* ---------- idioma, moneda, favoritos, zonas ---------- */
.prefs { display: flex; gap: 8px; align-items: center; flex: none; }
.seg { display: inline-flex; border: 1px solid rgba(238, 245, 234, .3); border-radius: 999px; padding: 2px; }
.seg button { border: 0; background: none; color: inherit; font: 600 11px/1 var(--font-body); letter-spacing: .04em; padding: 5px 9px; border-radius: 999px; opacity: .75; }
.seg button:hover { opacity: 1; }
.seg button[aria-pressed="true"] { background: var(--sun); color: var(--ink); opacity: 1; }
.topbar .wrap { gap: 12px; }
.topbar p { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prefs--menu .seg button { font-size: 13px; padding: 8px 14px; }
@media (max-width: 720px) {
  .topbar .wrap { justify-content: space-between; text-align: left; }
  .topbar-prefs .seg button { padding: 4px 7px; }
}
.nav-fav .badge-count { background: var(--accent); }
@media (max-width: 640px) { .nav-fav { display: none; } }

.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(251, 252, 248, .92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease-spring), color .2s;
}
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn:hover { transform: scale(1.1); color: var(--clay); }
.fav-btn.is-fav { color: #e0475b; }
.fav-btn.is-fav svg { fill: currentColor; }
.fav-btn.is-pop { animation: bump .45s var(--ease-spring); }
@media (max-width: 560px) { .fav-btn { width: 32px; height: 32px; top: 6px; right: 6px; } .fav-btn svg { width: 16px; height: 16px; } }
.chip .n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; margin-left: 6px; padding: 0 5px; }
.chip svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.qv-fav.is-fav svg { fill: #e0475b; color: #e0475b; }

.zone-select { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.zone-select select { flex: 1; min-height: 36px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 13px; }
.btn--wa { --b-bg: #25d366; --b-fg: #08331a; }
.btn--wa:hover { --b-bg: #1fbd59; }
.zones-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; }
.zones-table th, .zones-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.zones-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.zones-table td.num { text-align: right; white-space: nowrap; font-weight: 600; }
.zones-table small { display: block; color: var(--mute); }

/* evita ver el texto en español un instante cuando la página está en inglés */
.lang-pending body { opacity: 0; animation: langSafety .01s 1.2s forwards; }
@keyframes langSafety { to { opacity: 1; } }
.table-wrap { overflow-x: auto; }

/* ---------- recibo imprimible ---------- */
.receipt-page { background: var(--bg-2); }
.receipt-toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; width: min(820px, 100% - 32px); margin: 24px auto 16px; }
.receipt-sheet { width: min(820px, 100% - 32px); margin: 0 auto 48px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-2); padding: clamp(22px, 5vw, 48px); color: var(--ink); }
.receipt-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.receipt-biz { font-size: 13px; color: var(--ink-soft); text-align: right; line-height: 1.6; }
.receipt-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 24px 0; }
.receipt-title h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 4px; }
.receipt-id { display: grid; justify-items: end; gap: 6px; }
.receipt-id strong { font: 800 1.3rem/1 var(--font-display); }
.receipt-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 14px; }
.receipt-cols h2 { font: 600 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.receipt-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.receipt-table th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding: 8px 6px; border-bottom: 1px solid var(--line-strong); }
.receipt-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.receipt-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt-totals { margin-left: auto; width: min(320px, 100%); display: grid; gap: 6px; font-size: 14px; }
.receipt-totals div { display: flex; justify-content: space-between; gap: 12px; }
.receipt-totals .grand { font: 800 1.25rem/1.2 var(--font-display); border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 4px; }
.receipt-totals .ref { color: var(--mute); font-size: 13px; }
.receipt-foot { margin-top: 32px; padding-top: 18px; border-top: 1px dashed var(--line-strong); display: grid; gap: 6px; font-size: 13px; }
.receipt-missing { text-align: center; padding: 80px 20px; }
@media (max-width: 620px) { .receipt-cols { grid-template-columns: 1fr; } .receipt-biz { text-align: left; } .receipt-id { justify-items: start; } }
@media print {
  @page { margin: 14mm; }
  body, .receipt-page { background: #fff !important; }
  .receipt-toolbar, .toasts { display: none !important; }
  .receipt-sheet { box-shadow: none; width: 100%; margin: 0; padding: 0; border-radius: 0; }
  .status { border: 1px solid currentColor; }
}
.care-grid svg { display: block; width: 18px; height: 18px; color: var(--accent); margin-bottom: 6px; }
.tag svg { width: 14px; height: 14px; flex: none; }
.qv-body .link-arrow svg { width: 18px; height: 18px; }
.zone-select svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
