/* =========================================================
   Estética para mascotas · página pública
   Tema oscuro, un solo color de marca (celeste del logo), interfaz plana.
   Primero celular (390 px), luego tableta y computadora (1440 px).
   ========================================================= */

:root {
  /* Fondos */
  --bg: #1a1a1a;
  --layer: #111111;
  --raised: #212121;
  --deep: #05050b;
  /* Texto (escala neutra de DESIGN.md) */
  --ink: #ffffff;
  --ash: #c3c3c3;
  --muted: #b3b3b3;
  --dim: #a3a3a3;
  --fog: #999999;
  --pewter: #666666;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: #666666;
  /* Marca (celeste del logo). Se recalcula desde el color de acento del panel (helpers.paleta) */
  --accent: #6fb6f0;
  --brand: #2c6696;
  --brand-btn: #162b3b;
  --brand-press: #214663;
  /* Funcionales */
  --ok: #74ec5a;
  --bad: #ff3543;
  --pulse: #4793d1;
  --lilac: #c8e3f9;
  /* Degradado: solo logo y portada */
  --gradient: linear-gradient(to right bottom, #6fb6f0, #c8e3f9);

  --r-pill: 40px;
  --r: 18px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
  --gutter: 20px;
  --space: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: clip; /* clip (no hidden): así la portada fija (sticky) funciona */
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
p, li, dd { text-wrap: pretty; } /* evita una palabra sola en la última línea */
h1, h2 { font-weight: 300; letter-spacing: -0.02em; }
h3 { font-weight: 600; letter-spacing: -0.005em; font-size: 21px; line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.hl { font-style: normal; color: var(--accent); font-weight: 500; }

/* Íconos Lucide: mismo grosor en toda la página */
svg.lucide { width: 20px; height: 20px; stroke-width: 1.6; flex: none; color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r); }

.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 20px; border-radius: var(--r-pill); background: var(--brand); color: #fff; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Botones (píldora, planos) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 30px; border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s, transform .15s var(--ease);
  user-select: none;
}
.btn svg.lucide { color: currentColor; }
.btn:active { transform: scale(0.97); }
.btn--brand { background: var(--brand-btn); color: var(--ink); border-color: var(--brand); }
.btn--brand:hover { border-color: var(--accent); }
.btn--brand:active { background: var(--brand-press); }
.btn--line { background: transparent; color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.btn--line:hover { border-color: var(--accent); }
.btn--line:active { background: var(--brand-btn); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--r-pill); border: 0; background: transparent; cursor: pointer;
  transition: background-color .2s var(--ease), transform .15s var(--ease);
}
.icon-btn svg.lucide { width: 22px; height: 22px; color: var(--ink); }
.icon-btn:hover { background: var(--raised); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn--line { border: 1px solid var(--line); }
.icon-btn--line svg.lucide { color: var(--accent); }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-weight: 500; text-decoration: none; }
.arrow-link svg.lucide { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.arrow-link:hover svg.lucide { transform: translateX(3px); }
.arrow-link--back:hover svg.lucide { transform: translateX(-3px); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 12px;
  border-radius: var(--r-pill); background: var(--raised); color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.tag svg.lucide { width: 14px; height: 14px; }
.service .tag, .kibble .tag { background: var(--layer); }
.tag--brand { background: var(--brand-btn); color: var(--accent); }
.tag--sale { background: var(--brand); color: #fff; }
.tag--off { background: rgba(255, 53, 67, 0.12); color: #ff7a83; }
.tag--receta { background: rgba(10, 10, 10, 0.78); color: #fff; }
.product__sizes { margin-top: 12px; }
.product__aviso { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r-sm, 10px); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text, #f5f5f5); font-size: 14px; line-height: 1.4; }
.product__aviso svg.lucide { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.price__consultar { font-size: 15px; font-weight: 500; color: var(--muted); }
.wa-btn { white-space: nowrap; }
.product__foot.product__foot--wa { flex-direction: column; align-items: stretch; }
.product__foot--wa .wa-btn { justify-content: center; }
@media (max-width: 520px) { .wa-btn__largo { display: none; } }
.kibble__img { aspect-ratio: 4 / 5; margin: -18px -18px 0; overflow: hidden; border-radius: var(--r) var(--r) 0 0; background: var(--layer); }
.kibble__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.kibble:hover .kibble__img img { transform: scale(1.03); }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-color: var(--line); }
.header__row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 0; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; }
.logo__mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r); background: var(--gradient); }
.logo__mark svg.lucide { width: 22px; height: 22px; color: #fff; }
.logo__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logo__img { width: 40px; height: 40px; flex: none; border-radius: var(--r); object-fit: contain; }
.prose h2 { font-size: 24px; margin-top: 16px; }
.prose ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: none; }
.header__cta { display: none; }
.cart-btn__count {
  position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--r-pill); background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.cart-btn__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 35% { transform: scale(1.35); } }

/* Menú en celular: pantalla completa */
.nav {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
  display: flex; flex-direction: column; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--layer);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav a:not(.btn) { display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 24px; font-weight: 300; }
.nav__cta { margin-top: 24px; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--space); }
.section--layer { background: transparent; }
.section__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.section__text { margin-top: 14px; color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 700px; }
h2 { font-size: clamp(28px, 7vw, 36px); line-height: 1.1; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.panel { background: var(--raised); border-radius: var(--r); }

/* Interruptor perro/gato */
.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--raised); align-self: flex-start; }
.segmented button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font-weight: 500; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--brand-btn); color: var(--ink); }

/* ---------- Portada ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px) 0 64px; }
.hero::before {
  content: ""; position: absolute; z-index: 0; width: 620px; height: 620px; right: -260px; top: 40px;
  background: var(--gradient); border-radius: 50%; filter: blur(120px); opacity: 0.22; pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 24px; }
.hero h1 { font-size: clamp(40px, 10vw, 56px); line-height: 1.05; letter-spacing: -0.03em; max-width: 13ch; }
.hero__lead { margin-top: 20px; font-size: 18px; line-height: 1.5; color: var(--ash); max-width: 700px; }
.hero__actions { display: grid; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg.lucide { width: 18px; height: 18px; }
.hero__media { order: -1; }
.hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 62% 55%; border-radius: var(--r); }

.hero__text > *, .hero__media { animation: enter .8s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .06s; }
.hero__text > :nth-child(3) { animation-delay: .12s; }
.hero__text > :nth-child(4) { animation-delay: .18s; }
.hero__text > :nth-child(5) { animation-delay: .24s; }
.hero__media { animation-delay: .12s; }

/* Portada con constelación de partículas: fondo casi negro, sin el resplandor de color */
.hero--constelacion { background: var(--deep); }
.hero--constelacion::before { display: none; }
.hero--constelacion::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hero__constelacion { position: relative; height: min(38svh, 360px); min-height: 240px; width: 100%; margin-inline: auto; }
.hero__constelacion canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y;
  /* Sin bordes rectos: las partículas se desvanecen hacia las orillas del lienzo */
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.hero__constelacion .hero__respaldo { position: absolute; inset: 0; }
/* Arriba de la portada, el encabezado flota sobre el negro (sin franja gris) */
:root:has(.hero--constelacion) .header:not(.is-scrolled):not(.is-open) { background: transparent; border-color: transparent; }
.hero__constelacion img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Portada que gira con el scroll: la sección es más alta que la pantalla y su contenido queda fijo (sticky)
   mientras el husky pasa de perfil a frente. --tramo es lo que dura el giro (configurable en el panel). */
.hero.hero--giro { --tramo: var(--tramo-c, 100svh); height: calc(100svh + var(--tramo)); min-height: 0; max-height: none; display: block; padding: 0; overflow: clip; }
@media (min-width: 768px) { .hero.hero--giro { --tramo: var(--tramo-e, 150svh); } }
.hero--giro .hero__pin { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px) 0 56px; }
.hero--giro .hero__grid { width: 100%; }
.hero__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero--giro .hero__text { opacity: var(--texto, 0); transform: translateY(calc((1 - var(--texto, 0)) * 28px)); }
.hero--giro .hero__text > *, .hero--giro .hero__media { animation: none; }
.hero--giro .hero__constelacion { height: min(28svh, 250px); min-height: 170px; }
@media (min-width: 960px) { .hero--giro .hero__constelacion { height: min(560px, calc(100svh - var(--header-h) - 140px)); min-height: 380px; } }
.hero--giro::after { display: none; }
.hero__desliza { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; opacity: var(--desliza, 1); pointer-events: none; }
.hero__desliza svg.lucide { width: 18px; height: 18px; color: var(--accent); animation: desliza 1.8s ease-in-out infinite; }
@keyframes desliza { 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
  .hero.hero--giro { height: auto; }
  .hero--giro .hero__pin { position: relative; min-height: 0; }
  .hero--giro .hero__text { opacity: 1; transform: none; }
  .hero__desliza { display: none; }
}

/* Portada viva con morph: las partículas viven en una capa fija detrás de toda la página.
   El negro de la portada es esa capa (--vivo-fondo 1); al bajar se desvanece al gris del resto. */
.vivo-capa { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.vivo-capa::before { content: ""; position: absolute; inset: 0; background: var(--deep); opacity: var(--vivo-fondo, 1); transition: opacity .9s var(--ease); }
.vivo-capa canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vivo-fijo .hero--constelacion { background: transparent; }
.vivo-fijo .hero--constelacion::after { display: none; }
.vivo-fijo main, .vivo-fijo .footer { position: relative; z-index: 1; }

/* Ambiente: burbujas de jabón al fondo de Servicios */
.burbujas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.burbujas span { position: absolute; bottom: -60px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .35), transparent 34%), color-mix(in srgb, var(--accent) 6%, transparent);
  animation: burbuja var(--d, 18s) linear var(--r, 0s) infinite; }
@keyframes burbuja { from { transform: translate3d(0, 0, 0); opacity: 0; } 6% { opacity: .7; } 50% { transform: translate3d(var(--x, 20px), calc(var(--alto, 100vh) * -0.5), 0); } 94% { opacity: .6; } to { transform: translate3d(0, calc(var(--alto, 100vh) * -1 - 80px), 0); opacity: 0; } }
.con-burbujas { position: relative; }
.con-burbujas > .wrap { position: relative; z-index: 1; }

/* Ambiente: tarjetas que se inclinan un poco con brillo celeste (solo con ratón) */
.inclina { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-2px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 18px 40px -18px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform .12s linear, box-shadow .2s, background-color .2s; }
.inclina::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 45%); }

/* Ambiente: el producto vuela al carrito; rastro de huellitas (opcional) */
.vuela { position: fixed; z-index: 80; width: 44px; height: 44px; border-radius: 50%; pointer-events: none; object-fit: cover;
  box-shadow: 0 0 0 2px var(--accent), 0 0 24px color-mix(in srgb, var(--accent) 60%, transparent); }
.chispa { position: fixed; z-index: 80; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); pointer-events: none; }
.huellita { position: fixed; z-index: 2; width: 18px; height: 18px; pointer-events: none; color: var(--accent); opacity: .5; }


/* ---------- Servicios ---------- */
.size-guide { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -8px 0 28px; font-size: 14px; color: var(--muted); }
.size-guide strong { color: var(--ink); font-weight: 500; }
.services { display: grid; gap: 16px; }
.service { display: flex; flex-direction: column; background: var(--raised); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease), background-color .25s; }
.service:hover { transform: translateY(-2px); background: #262626; }
.service__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--brand-btn); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service:hover .service__media img { transform: scale(1.03); }
.service__media--icon { display: grid; place-items: center; }
.service__media--icon svg.lucide { width: 56px; height: 56px; stroke-width: 1.2; }
.service__body { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.service__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.service h3 { }

.rates { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 15px; font-variant-numeric: tabular-nums; }
.rates thead th { font-size: 13px; font-weight: 500; color: var(--muted); text-align: left; padding: 0 0 6px; letter-spacing: .04em; text-transform: uppercase; }
.rates thead th:last-child, .rates td:last-child { text-align: right; }
.rates tbody tr { border-top: 1px solid var(--line); }
.rates tbody th { text-align: left; font-weight: 500; padding: 9px 0; }
.rates td { padding: 9px 0; color: var(--muted); white-space: nowrap; }
.rates td svg.lucide { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; color: var(--muted); }
.rates td:last-child { color: var(--ink); font-weight: 600; }
.service .arrow-link { margin-top: auto; }

.package { display: grid; gap: 20px; padding: 24px; border-radius: var(--r); background: var(--brand-btn); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.package h3 { margin: 12px 0 6px; }
.package .arrow-link { justify-self: start; }
.package__prices { display: grid; font-variant-numeric: tabular-nums; }
.package__prices li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.package__prices span { font-weight: 500; }
.package__prices small { order: 2; font-size: 14px; color: var(--ash); }
.package__prices strong { order: 3; font-weight: 600; }

.extras { margin-top: 56px; padding: 24px; border-radius: var(--r); background: var(--layer); border: 1px solid var(--line); }
.extras__head h3 { display: flex; align-items: center; gap: 10px; }
.extras__head p { margin-top: 6px; }
.extras__list { display: grid; margin-top: 16px; }
.extras__list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.extras__list li div { display: grid; gap: 2px; }
.extras__list strong { font-weight: 600; }
.extras__list .muted { font-size: 14px; }
.price-sm { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Agenda ---------- */
.agenda { display: grid; gap: 40px; }
.agenda .section__head { margin-bottom: 0; }
.steps { display: grid; gap: 12px; margin-top: 28px; }
.steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.steps__n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-btn); color: var(--accent); font-weight: 600; font-size: 15px; }
.agenda__photo { display: none; margin-top: 36px; }
.agenda__photo img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: var(--r); }

.booking { padding: 22px; display: grid; gap: 8px; }
.booking__step { border: 0; margin: 0; padding: 0 0 24px; display: grid; gap: 16px; border-bottom: 1px solid var(--line); }
.booking__step + .booking__step { padding-top: 20px; }
.booking__step--last { border-bottom: 0; gap: 12px; }
.booking legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-size: 19px; font-weight: 500; }
.booking__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; }

.form__row { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field__label { font-weight: 500; font-size: 15px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 18px;
  background: var(--layer); border: 1px solid var(--line-strong); border-radius: var(--r);
  font-size: 16px; color: var(--ink);
  transition: border-color .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fog); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fb6f0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; padding-right: 48px;
}
.field select option { background: var(--raised); }
.field textarea { resize: vertical; min-height: 100px; }
.field input:not([type=checkbox]):not([type=radio]):hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.35); }
.field input:not([type=checkbox]):not([type=radio]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }

.choice { display: grid; gap: 8px; }
.choice--2 { grid-template-columns: 1fr 1fr; }
.choice--sizes { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.choice label { position: relative; display: grid; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: 8px 12px; text-align: center; border-radius: var(--r);
  border: 1px solid var(--line-strong); background: var(--layer); font-weight: 500;
  transition: border-color .2s, background-color .2s;
}
.choice--2 span { flex-direction: row; gap: 10px; }
.choice small { font-size: 13px; color: var(--muted); font-weight: 400; }
.choice label:hover span { border-color: rgba(255, 255, 255, 0.35); }
.choice input:checked + span { border-color: var(--accent); background: var(--brand-btn); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.checks { display: grid; gap: 8px; }
.check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.check input {
  flex: none; width: 24px; height: 24px; margin: 0; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--layer); cursor: pointer;
  -webkit-appearance: none; appearance: none; display: grid; place-items: center;
  transition: background-color .15s, border-color .15s;
}
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { opacity: 1; }
.check > span:not(.price-sm) { flex: 1; }
.checks .check { padding: 4px 16px; border-radius: var(--r); background: var(--layer); border: 1px solid var(--line); }


.pay-options { display: grid; gap: 8px; }
.pay { position: relative; display: block; cursor: pointer; }
.pay input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.pay span { display: grid; gap: 2px; padding: 14px 18px 14px 52px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--layer); position: relative; transition: border-color .2s, background-color .2s; }
.pay span::before { content: ""; position: absolute; left: 18px; top: 17px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); }
.pay input:checked + span { border-color: var(--accent); background: var(--brand-btn); }
.pay input:checked + span::before { border: 6px solid var(--accent); }
.pay input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pay strong { font-weight: 500; }
.pay small { color: var(--muted); font-size: 14px; }

.privacy-short { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--layer); font-size: 14px; color: var(--muted); }
.notice { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Agenda: horarios, errores, resumen y "¡Casi listo!" ---------- */
.slots__empty { display: grid; justify-items: center; gap: 10px; padding: 32px 20px; border-radius: var(--r); border: 1px dashed var(--line-strong); text-align: center; color: var(--muted); }
.slots__empty svg.lucide { width: 28px; height: 28px; }
.slots.is-loading .slots__empty svg.lucide { animation: pulse 1.2s var(--ease) infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.slots__ui { display: grid; gap: 10px; }
.slots__ui .field__label:not(:first-child) { margin-top: 10px; }
.days {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  margin-inline: -22px; padding: 2px 22px 6px;
}
.days::-webkit-scrollbar { display: none; }
.day {
  flex: none; display: grid; justify-items: center; gap: 1px; width: 76px; padding: 10px 6px;
  border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--layer); cursor: pointer; scroll-snap-align: start;
  transition: border-color .2s, background-color .2s;
}
.day:hover:not(:disabled) { border-color: var(--accent); }
.day[aria-pressed="true"] { border-color: var(--accent); background: var(--brand-btn); }
.day:disabled { opacity: .45; cursor: not-allowed; }
.day__dow, .day__mes { font-size: 13px; color: var(--muted); text-transform: capitalize; }
.day__num { font-size: 22px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.day__free { margin-top: 4px; font-size: 12px; color: var(--dim); }
.day[aria-pressed="true"] .day__dow, .day[aria-pressed="true"] .day__mes, .day[aria-pressed="true"] .day__free { color: var(--lilac); }
.hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.hour {
  min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s;
}
.hour:hover { border-color: var(--accent); }
.hour[aria-pressed="true"] { border-color: var(--accent); background: var(--brand-btn); }

.field__error { display: flex; gap: 6px; align-items: flex-start; margin: 2px 0 0; color: #ff8a92; font-size: 14px; font-weight: 500; }
.field__error[hidden] { display: none; }
.has-error input:not([type=checkbox]):not([type=radio]), .has-error select { border-color: var(--bad) !important; }
.has-error .choice span { border-color: rgba(255, 53, 67, 0.6); }
.stage-note { padding: 14px 18px; border-radius: var(--r); background: var(--brand-btn); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); color: var(--ink); font-size: 15px; }
.form-error { padding: 14px 18px; border-radius: var(--r); background: rgba(255, 53, 67, 0.1); border: 1px solid rgba(255, 53, 67, 0.45); color: var(--ink); }

.summary { padding: 20px; border-radius: var(--r); background: var(--layer); border: 1px solid var(--line); }
.summary__title { margin-bottom: 8px; font-weight: 600; font-size: 18px; }
.summary__rows { display: grid; margin: 0; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.summary__rows > div:first-child { border-top: 0; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { margin: 0; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.summary__rows .is-total dd { font-size: 20px; font-weight: 600; color: var(--ink); }
.summary__note { margin-top: 8px; font-size: 14px; color: var(--dim); }

.btn.is-loading { opacity: .8; cursor: progress; }
.btn.is-loading svg.lucide { animation: pulse 1s var(--ease) infinite; }

.done { display: grid; gap: 20px; padding: 24px; animation: enter .5s var(--ease); }
.done:focus { outline: none; }
.done__head { display: flex; gap: 16px; align-items: flex-start; }
.done__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: var(--r-pill); background: rgba(116, 236, 90, 0.12); }
.done__icon svg.lucide { width: 26px; height: 26px; color: var(--ok); }
.done__title { font-size: 28px; font-weight: 300; line-height: 1.2; margin-bottom: 4px; }
.done__folio { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: var(--r); background: var(--brand-btn); }
.done__folio span { color: var(--lilac); }
.done__folio strong { font-size: 28px; font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.done__pay { display: grid; gap: 12px; padding: 20px; border-radius: var(--r); background: var(--layer); }
.done__amount { font-size: 18px; }
.done__amount strong { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--raised); }
.account__info { display: grid; min-width: 0; flex: 1 1 200px; }
.account__label { font-size: 13px; color: var(--muted); }
.account__num { font-size: 18px; font-weight: 600; letter-spacing: 0.04em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.account__who { font-size: 14px; color: var(--dim); }
.done__deadline { display: flex; gap: 10px; align-items: flex-start; color: var(--ash); }
.done__deadline svg.lucide { margin-top: 3px; }
.done__again { justify-self: center; background: none; border: 0; cursor: pointer; font: inherit; }
@media (min-width: 640px) { .done { padding: 32px; } .days { margin-inline: -32px; padding-inline: 32px; } }
@media (min-width: 1000px) { .done { padding: 40px; } .days { margin-inline: -40px; padding-inline: 40px; } }

/* ---------- Chips ---------- */
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
}
.chips::-webkit-scrollbar { display: none; }
.chips--wrap { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
.filters { min-width: 0; }
.filters__group { min-width: 0; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  font-weight: 500; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s, color .2s;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--brand-btn); border-color: var(--accent); color: var(--ink); }

/* ---------- Tienda ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.product { display: flex; flex-direction: column; background: var(--raised); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease), background-color .25s; }
.product:hover { transform: translateY(-2px); background: #262626; }
.product__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--layer); display: grid; place-items: center; }
.product__img picture, .kibble__img picture { display: contents; }
.product__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .product__img img { transform: scale(1.03); }
.product__img .tag { position: absolute; top: 10px; left: 10px; }
.product__body { display: flex; flex-direction: column; gap: 4px; padding: 14px; flex: 1; }
.product__meta { font-size: 13px; color: var(--muted); }
.product__name { font-weight: 600; line-height: 1.3; min-height: 2.6em; }
.product__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.price s { font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.add-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--brand); background: var(--brand-btn); color: var(--ink);
  font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s, transform .15s var(--ease);
}
.add-btn svg.lucide { width: 18px; height: 18px; }
.add-btn:hover { border-color: var(--accent); }
.add-btn:active { transform: scale(0.96); background: var(--brand-press); }
.add-btn.is-added { background: var(--brand-press); border-color: var(--accent); }
.add-btn.is-added svg.lucide { color: #fff; }

/* ---------- Croquetas ---------- */
.food-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.food-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.food-photos figure:only-child { grid-column: 1 / -1; }
.food { display: grid; gap: 28px; }
.filters { display: grid; gap: 18px; }
.filters__label { margin-bottom: 10px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.food__results { display: grid; gap: 16px; align-content: start; min-width: 0; }
.food__count { color: var(--muted); font-size: 15px; }
.food__empty { padding: 32px 24px; border-radius: var(--r); border: 1px dashed var(--line-strong); color: var(--muted); text-align: center; }
.filters__clear { justify-self: start; }
.food__list { display: grid; gap: 12px; align-content: start; }
.kibble { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--raised); transition: transform .25s var(--ease), background-color .25s; }
.kibble:hover { transform: translateY(-2px); background: #262626; }
.kibble__top { display: flex; gap: 14px; align-items: center; }
.kibble__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: var(--r-pill); background: var(--brand-btn); }
.kibble__icon svg.lucide { width: 26px; height: 26px; }
.kibble__brand { font-size: 13px; font-weight: 500; color: var(--accent); }
.kibble__name { line-height: 1.25; }
.kibble__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.kibble__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.kg {
  min-height: 44px; min-width: 72px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: border-color .2s, background-color .2s;
}
.kg:hover { border-color: var(--accent); }
.kg[aria-pressed="true"] { border-color: var(--accent); background: var(--brand-btn); }
.kg:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.kibble__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Por qué elegirnos ---------- */
.why { display: grid; gap: 40px; align-items: center; }
.why__photo img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: var(--r); }
.why__list { display: grid; gap: 30px; }
.why__list li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.why__icon { display: block; padding-top: 4px; }
.why__icon svg.lucide { width: 32px; height: 32px; stroke-width: 1.6; }
.why__list p { color: var(--dim); }
.why__list h3 { margin-bottom: 4px; }

/* ---------- Opiniones ---------- */
.reviews { display: grid; gap: 16px; }
.review { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r); background: var(--raised); }
.review__stars { display: flex; gap: 2px; }
.review__stars svg.lucide { width: 18px; height: 18px; color: #4b4752; }
.review__stars .on svg.lucide { color: var(--accent); fill: var(--accent); }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.review__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.review__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.review__photo--icon { display: grid; place-items: center; background: var(--brand-btn); }
.review__who strong { display: block; font-weight: 600; }
.review__who .muted { font-size: 14px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.contact__info, .contact__list > li > div { min-width: 0; }
.contact__list a, .contact__list span { overflow-wrap: anywhere; }
.contact__info { padding: 24px; }
.contact__info .section__head { margin-bottom: 8px; }
.contact__list { display: grid; gap: 20px; margin: 24px 0 28px; }
.contact__list > li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.contact__list > li > svg.lucide { margin-top: 2px; }
.contact__list .muted { display: block; font-size: 14px; }
.contact__list a, .contact__list span:not(.muted) { font-size: 17px; font-weight: 500; }
.contact__list a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); }
.contact__list a:hover { text-decoration-color: var(--accent); }
.horario-lista { display: grid; gap: 4px; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.horario-lista div { display: grid; grid-template-columns: minmax(84px, auto) 1fr; gap: 16px; max-width: 280px; }
.horario-lista dt { color: var(--muted); }
.horario-lista dd { margin: 0; white-space: nowrap; }
.contact__map { position: relative; min-height: 340px; border-radius: var(--r); overflow: hidden; background: var(--raised); }
.contact__map-alt { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: var(--muted); }
.contact__map iframe { position: relative; }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.2) invert(.9) hue-rotate(180deg) contrast(.9); }

/* Texto secundario sobre superficies de marca: Lilac Mist, nunca gris */
.package .muted, .package__prices small,
.choice input:checked + span small, .pay input:checked + span small { color: var(--lilac); }

/* ---------- Pie ---------- */
.footer { background: var(--deep); padding: 72px 0 calc(108px + env(safe-area-inset-bottom, 0px)); color: var(--muted); }
.footer__grid { display: grid; gap: 40px; }
.footer__tag { margin-top: 16px; max-width: 34ch; }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__col { display: grid; gap: 4px; align-content: start; }
.footer__label { color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer__col a:hover { color: var(--accent); }
.footer__legal { display: flex; flex-direction: column; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Carrito ---------- */
.cart-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(5, 5, 11, 0.7); opacity: 0; transition: opacity .3s var(--ease); }
.cart-backdrop.is-open { opacity: 1; }
.cart {
  position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--layer); border-left: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
  transform: translateX(100%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s;
}
.cart.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line); }
.cart__head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 500; }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 22px 22px; overscroll-behavior: contain; }
.cart__empty { display: grid; justify-items: center; gap: 16px; padding: 64px 0; color: var(--muted); text-align: center; }
.cart__empty-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--raised); }
.cart__empty-icon svg.lucide { width: 30px; height: 30px; }
.cart__foot { display: grid; gap: 12px; padding: 18px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--raised); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.cart__total strong { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }

.cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); animation: enter .3s var(--ease); }
.cart-item__img { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r); overflow: hidden; background: var(--raised); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 600; line-height: 1.3; font-size: 15px; }
.cart-item__meta { font-size: 14px; color: var(--muted); }
.cart-item__right { display: grid; justify-items: end; gap: 8px; }
.cart-item__sub { font-weight: 600; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); }
.qty button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: none; cursor: pointer; }
.qty button:hover { background: var(--raised); }
.qty svg.lucide { width: 16px; height: 16px; }
.qty output { min-width: 20px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }


/* ---------- Carrito: formulario de pedido ---------- */
.cart__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart__empty-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.checkout { display: grid; gap: 16px; padding: 24px 0 8px; }
.checkout__title { font-size: 21px; }
.cart__cuenta { display: grid; gap: 2px; margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.cart__cuenta div { display: flex; justify-content: space-between; gap: 12px; }
.cart__cuenta dt { color: var(--muted); }
.cart__cuenta dd { margin: 0; }
.envio-aviso { padding: 12px 16px; border-radius: var(--r); background: var(--raised); font-size: 15px; }
.envio-aviso.is-ok { background: rgba(116, 236, 90, .1); color: var(--ok); }

.field__hint { font-size: 14px; color: var(--dim); }
.cart-item.is-off .cart-item__img, .cart-item.is-off .cart-item__name { opacity: .5; }
.cart-item__off { color: #ff8a92; font-weight: 500; }
.cart .field__error#pe-items { margin-top: 12px; }
.pedido-done { display: grid; gap: 20px; padding: 16px 0 24px; animation: enter .4s var(--ease); }
.pedido-done:focus { outline: none; }
.pedido-done .done__title { font-size: 24px; }
.pedido-done .done__pay { background: var(--raised); }
.pedido-done .account { background: var(--bg); }
.kg__sale { display: block; font-size: 11px; font-weight: 600; color: var(--lilac); text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.kg { display: inline-grid; place-content: center; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Mi pedido ---------- */
.mp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mp__pedido, .done__pay, .done, .pedido-done, .mp__editar { grid-template-columns: minmax(0, 1fr); }
.mp__pedido > *, .done__pay > * { min-width: 0; }
.mp h1 { margin-bottom: 0; }
.mp__cargando { display: grid; justify-items: center; gap: 10px; padding: 40px 0; color: var(--muted); }
.mp__cargando svg.lucide { width: 28px; height: 28px; animation: pulse 1.2s var(--ease) infinite; }
.mp__buscar, .mp__editar { display: grid; gap: 16px; padding: 24px; }
.mp__pedido { display: grid; gap: 20px; min-width: 0; }
.mp__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--raised); }
.mp__head .muted { display: block; font-size: 14px; }
.mp__folio { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mp__aviso { padding: 16px 20px; border-radius: var(--r); background: var(--brand-btn); color: var(--ink); }
.mp__titulo { font-size: 24px; font-weight: 300; }
.mp__resumen { padding: 4px 20px; border-radius: var(--r); background: var(--raised); }
.mp__cancelar { display: grid; justify-items: center; gap: 12px; }
.mp__cancel-btn { color: #ff8a92; background: none; border: 0; cursor: pointer; font: inherit; }
.mp__cancel-btn svg.lucide { color: #ff8a92; }
.mp__confirmar { display: grid; gap: 14px; width: 100%; padding: 20px; border-radius: var(--r); background: rgba(255, 53, 67, 0.08); border: 1px solid rgba(255, 53, 67, 0.4); }
.mp__confirmar-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.mp__guardar-enlace { text-align: center; }

.estado { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; white-space: nowrap; }
.estado.is-pending { background: var(--brand-btn); color: var(--lilac); }
.estado.is-ok { background: rgba(116, 236, 90, 0.12); color: var(--ok); }
.estado.is-off { background: rgba(255, 53, 67, 0.12); color: #ff8a92; }
.estado.is-info { background: var(--layer); color: var(--ash); }

.btn--danger { background: rgba(255, 53, 67, 0.16); color: #ffd0d4; border-color: rgba(255, 53, 67, 0.6); }
.btn--danger:hover { border-color: var(--bad); }
.btn--danger:active { background: rgba(255, 53, 67, 0.3); }
.btn--danger svg.lucide { color: currentColor; }
@media (min-width: 640px) { .mp__buscar, .mp__editar { padding: 32px; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 50; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 60px; height: 60px; border-radius: var(--r-pill); background: var(--brand); color: #fff; text-decoration: none; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform .2s var(--ease), background-color .2s;
}
.wa-float svg.lucide { width: 28px; height: 28px; color: #fff; }
.wa-float__label { display: none; }
.wa-float:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--brand) 82%, #000); }
.wa-float:active { transform: scale(.96); background: var(--brand-press); }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; z-index: 80; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px); padding: 12px 20px;
  border-radius: var(--r-pill); background: var(--raised); border: 1px solid var(--line-strong); font-weight: 500;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.toast svg.lucide { width: 18px; height: 18px; }
.toast button { min-height: 40px; padding: 0 4px 0 8px; border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* ---------- Páginas de texto ---------- */
.page { padding-top: calc(var(--header-h) + 48px); min-height: 70vh; }
.page__wrap { max-width: 820px; }
.page h1 { font-size: clamp(36px, 8vw, 56px); margin: 16px 0 24px; }
.product__pres { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.chip__nota { margin-left: 4px; font-size: 12px; color: var(--muted); }
.products__vacio { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 48px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--muted); font-size: 18px; }
.service__incluye { display: grid; gap: 8px; padding-top: 4px; }
.service__incluye-t { margin: 0; font-weight: 600; font-size: 15px; }
.service__incluye ul { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; color: var(--ash); font-size: 14px; }
.service__incluye li { display: inline-flex; align-items: center; gap: 6px; }
.service__incluye svg.lucide { width: 16px; height: 16px; color: var(--accent); }
.opciones-sin-costo { display: grid; gap: 8px; }
.contacto-em { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.contacto-em__titulo { margin: 0; font-weight: 600; }
.contacto-em .mini { margin: 0; }
.prose { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; font-size: 17px; }
.credits { display: grid; gap: 12px; margin-top: 12px; color: var(--muted); }
.credits strong { color: var(--ink); font-weight: 500; }
.prose p, .prose li { color: var(--ash); max-width: 68ch; }
.prose h2 { color: var(--ink); }
.borrar-local { display: grid; gap: 12px; justify-items: start; margin-top: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--layer); }
.borrar-local h2 { margin-top: 0; }
.borrar-local .btn { white-space: normal; text-align: center; height: auto; min-height: 44px; padding-block: 10px; }
.borrar-local [data-borrar-local-ok]:not(:empty) { color: var(--ok); }

/* =========================================================
   Tableta
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 32px; --space: 104px; }
  .hero__actions { display: flex; flex-wrap: wrap; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .booking { padding: 32px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .food__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .extras { padding: 32px; }
  .extras__list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__legal { flex-direction: row; justify-content: space-between; }
  .package { grid-template-columns: 1fr; }
}

/* =========================================================
   Computadora
   ========================================================= */
@media (min-width: 1000px) {
  :root { --header-h: 76px; --gutter: 48px; --space: 128px; }
  .menu-btn, .nav__cta { display: none; }
  .header__cta { display: inline-flex; margin-right: 4px; }
  .nav { position: static; inset: auto; flex-direction: row; gap: 2px; margin-left: 32px; padding: 0; background: none; opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--fog); transition: color .2s, background-color .2s; }
  .nav a:not(.btn):hover { color: var(--ink); }
  .nav a.is-current { color: var(--accent); }

  .section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
  .section__head h2 { max-width: 16ch; }
  .segmented { align-self: flex-end; }

  .hero { height: 100svh; min-height: 720px; max-height: 960px; display: flex; align-items: center; padding: calc(var(--header-h) + 32px) 0 48px; }
  .hero::before { width: 900px; height: 900px; right: -200px; top: -120px; }
  .hero__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
  .hero__lead { font-size: 20px; }
  .hero__media { order: 0; }
  .hero__media img { aspect-ratio: auto; height: min(680px, calc(100svh - var(--header-h) - 150px)); min-height: 460px; object-position: 50% 50%; }
  .hero__constelacion { aspect-ratio: auto; max-height: none; height: min(680px, calc(100svh - var(--header-h) - 120px)); min-height: 480px; }

  .services { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .package { grid-template-columns: 1fr; align-content: start; padding: 28px; }

  .extras { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 40px; }
  .extras__list { margin-top: 0; }

  .agenda { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
  .agenda__intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .agenda .section__head { display: block; }
  .agenda__photo { display: block; }
  .booking { padding: 40px; }

  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
  .product__body { padding: 18px; }
  .product__foot { flex-direction: row; align-items: center; justify-content: space-between; }

  .food-photos { margin-bottom: 48px; }
  .food-photos img { aspect-ratio: 16 / 9; }
  .food { grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
  .filters { position: sticky; top: calc(var(--header-h) + 24px); gap: 24px; }
  .chips--filter { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }

  .why { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .why .section__head { display: block; }
  .why__list { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .why__list li { grid-template-columns: 1fr; gap: 12px; }

  .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .contact { grid-template-columns: 440px 1fr; gap: 20px; }
  .contact .section__head { display: block; }
  .contact__info { padding: 40px; }
  .contact__map, .contact__map iframe { min-height: 560px; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }

  .wa-float { right: 32px; bottom: 32px; width: auto; padding: 0 22px 0 18px; }
  .wa-float__label { display: inline; }
}

@media (min-width: 1240px) {
  .food__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (hover: none) {
  .service:hover, .product:hover, .kibble:hover { transform: none; background: var(--raised); }
  .service:hover .service__media img, .product:hover .product__img img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
