/* =============================================================
   BENDITA SUERTE SALÓN — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Base */
  --bg: #ffffff;
  --bg-2: #f6faf5;          /* pale green-white for alternating sections */
  --bg-3: #eef6ec;          /* card tint */
  --paper: #ffffff;

  /* Ink */
  --ink: #1a1d1a;
  --ink-soft: #33362f;
  --ink-mute: #6c7268;
  --line: rgba(26, 29, 26, 0.12);

  /* Clover green system */
  --accent: #6fc37a;        /* clover green — buttons, icons, borders */
  --accent-strong: #4f9f5c; /* hover state */
  --accent-ink: #1e5c30;    /* text-safe dark green (AA contrast on white) */
  --accent-tint: #e3f4e3;   /* light wash background */
  --accent-deep: #142b1b;   /* near-black warm green — hero overlay, footer */
  --accent-deep-2: #1c3624;
  --gold: #c9a24a;          /* small warm accent for stars/ratings */

  --cream: #f4ede0;         /* text on dark green sections */

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Type */
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --nav-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;

  /* Vertical rhythm between sections — single source of truth.
     Was clamp(4rem, 8vw, 7.5rem); reduced ~35% so the page reads
     as more compact/continuous while each section still separates
     visually via background + the reveal-on-scroll fade. */
  --section-py: clamp(2.5rem, 5vw, 5rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-deep); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.2rem; background: var(--accent-deep); color: var(--cream);
  border-radius: 8px; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section { padding-block: var(--section-py); position: relative; }
.section--tint { background: var(--bg-2); }
.section--wash { background: var(--accent-tint); }
.section--deep { background: var(--accent-deep); color: var(--cream); }

/* Servicios sits right after Reseñas — pull its top padding in so it
   reads as closer/more continuous with the section above. */
#servicios { padding-top: clamp(1.25rem, 2.5vw, 2rem); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: .9rem;
}
.section--deep .kicker { color: var(--accent); }
.kicker .dot { width: 8px; height: 8px; flex: none; }
h2.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.section-sub { margin-top: 1rem; color: var(--ink-mute); font-size: 1.08rem; max-width: 56ch; }
.section--deep .section-sub { color: rgba(244, 237, 224, 0.78); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 1.9rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--accent-deep);
  box-shadow: 0 10px 24px -10px rgba(79, 159, 92, 0.55);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(79, 159, 92, 0.6); }
.btn-ghost {
  background: transparent; color: inherit; border: 1.5px solid currentColor;
}
.btn-ghost:hover { background: rgba(0,0,0,.05); transform: translateY(-2px); }
.section--deep .btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-light { background: var(--paper); color: var(--accent-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0,0,0,.25); }
.btn-whatsapp { background: #25D366; color: #08331a; }
.btn-whatsapp:hover { background: #1fbd5a; transform: translateY(-2px); }
.btn-sm { padding: .7rem 1.3rem; font-size: .88rem; }
.btn-block { width: 100%; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-fill { fill: currentColor; stroke: none; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-split] { opacity: 1; transform: none; } /* defensive: never invisible */
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .4s; }

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow-serif { font-family: var(--serif); font-style: italic; }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Nav --- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px -18px rgba(0,0,0,.35);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.nav:not(.is-solid) .brand { color: #fff; }
.brand .dot { width: 30px; height: 30px; color: var(--accent); }
.brand-logo { height: 36px; width: auto; display: block; transition: filter .3s var(--ease-out); }
.nav:not(.is-solid) .brand-logo { filter: brightness(0) invert(1); }
.mobile-menu .brand-logo, .footer-brand .brand-logo { height: 42px; filter: brightness(0) invert(1); }
.nav-menu { display: none; align-items: center; gap: 1.9rem; font-size: .95rem; font-weight: 500; }
.nav-menu a { position: relative; padding-block: .3rem; color: var(--ink); }
.nav:not(.is-solid) .nav-menu a { color: #fff; }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .35s var(--ease-out);
}
.nav-menu a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-phone { display: none; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.nav:not(.is-solid) .nav-phone { color: #fff; }
.nav-toggle {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink);
}
.nav:not(.is-solid) .nav-toggle { color: #fff; }
.nav-toggle:hover { background: rgba(0,0,0,.06); }
.nav:not(.is-solid) .nav-toggle:hover { background: rgba(255,255,255,.14); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 600; background: var(--accent-deep); color: var(--cream);
  display: flex; flex-direction: column; padding: 1.5rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.mobile-menu-close { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.mobile-menu-close:hover { background: rgba(255,255,255,.12); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 2.5rem; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2rem; }
.mobile-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 1rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }

/* --- Cards --- */
.card {
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 48px -28px rgba(20,43,27,.35); border-color: transparent; }

.service-card { padding: 2.1rem 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.service-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; transition: background .4s var(--ease-out), transform .5s var(--ease-out);
}
.service-card .icon-wrap .icon { width: 26px; height: 26px; }
.service-card:hover .icon-wrap { background: var(--accent); color: var(--accent-deep); transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 1.28rem; }
.service-card p { color: var(--ink-mute); font-size: .96rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--accent-ink); margin-top: .3rem; }
.card-link .icon { width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
.card-link:hover .icon { transform: translateX(4px); }

/* --- Services list (price list style) --- */
.services-list { display: flex; flex-direction: column; gap: 1rem; }
.service-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; padding: 1.5rem 1.7rem;
}
.service-row-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden;
}
.service-row-icon .icon { width: 24px; height: 24px; }
.service-row-icon img { width: 100%; height: 100%; object-fit: cover; }
.service-row-info { flex: 1 1 260px; min-width: 0; }
.service-row-info h3 { font-size: 1.1rem; }
.service-row-info p { color: var(--ink-mute); font-size: .88rem; margin-top: .3rem; }
.service-row-meta { display: flex; align-items: center; gap: 1.4rem; flex: none; }
.service-row-duration { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--ink-mute); white-space: nowrap; }
.service-row-duration .icon { width: 14px; height: 14px; }
.service-row-price { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--accent-ink); white-space: nowrap; }
.service-row .btn { flex: none; }

/* Bajo 1024px, el ancho disponible no siempre alcanza para icono + info +
   duración/precio + botón en una sola línea: dependiendo del largo del
   título o la duración, el botón terminaba a veces abajo y a veces al
   lado del precio. Se fuerza que duración/precio ocupen su propia línea
   completa para que el botón quede siempre debajo, en la misma posición
   en todas las tarjetas. */
@media (max-width: 1023px) {
  .service-row-meta { flex: 1 1 100%; }
}

.team-card { overflow: hidden; text-align: center; padding-bottom: 1.6rem; }
.team-avatar {
  aspect-ratio: 4/5; width: 100%; position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--accent-tint), var(--bg-3));
  display: flex; align-items: center; justify-content: center;
}
.team-avatar .dot { width: 74px; height: 74px; color: var(--accent); opacity: .9; }
.team-avatar::after {
  content: "Foto\A próximamente"; white-space: pre; position: absolute; bottom: 12px; right: 12px;
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--accent-ink);
  background: rgba(255,255,255,.85); padding: .3rem .55rem; border-radius: 8px; text-align: right; line-height: 1.2;
}
.team-avatar--photo::after { content: none; }
.team-avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-info { padding: 1.2rem 1.4rem 0; }
.team-info h3 { font-size: 1.15rem; }
.team-info .role { color: var(--accent-ink); font-size: .86rem; font-weight: 600; margin-top: .25rem; }
.team-info .bio { color: var(--ink-mute); font-size: .86rem; line-height: 1.5; margin-top: .7rem; min-height: 8rem; }
.team-info .ig { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-mute); font-size: .85rem; margin-top: .6rem; }
.team-info .ig:hover { color: var(--accent-ink); }
.team-card .btn { margin: 1.1rem 1.4rem 0; width: calc(100% - 2.8rem); }

/* --- Shop tabs row (category filter) ---
   El filter-bar es una sola fila que se desliza horizontalmente cuando
   no caben todas las categorías (en vez de saltar de línea en desorden),
   con un fundido a la derecha que insinúa que hay más para deslizar. */
.shop-tabs-row { display: flex; align-items: center; gap: .9rem; margin-bottom: 2.2rem; }

.filter-bar {
  display: flex; flex-wrap: nowrap; flex: 1 1 auto; min-width: 0; gap: .6rem;
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none; padding: .25rem .25rem .25rem 0;
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: none; white-space: nowrap; scroll-snap-align: start;
  padding: .6rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .88rem;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.filter-btn:hover { border-color: var(--accent); }
.filter-btn.is-active { background: var(--accent-deep); color: var(--cream); border-color: var(--accent-deep); }

/* --- Shop card (adidas.cl-style product card) --- */
.shop-card { overflow: hidden; display: flex; flex-direction: column; position: relative; }
.shop-fav {
  position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; color: var(--ink-mute);
  transition: color .25s var(--ease-out), transform .2s var(--ease-out);
}
.shop-fav .icon { width: 18px; height: 18px; }
.shop-fav:hover { transform: scale(1.08); }
.shop-fav.is-fav { color: #e0554f; }
.shop-fav.is-fav .icon { fill: currentColor; }
.shop-card-visual {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--accent-tint), var(--bg-3)); color: var(--accent-ink);
}
.shop-card-visual .icon { width: 52px; height: 52px; stroke-width: 1.3; }
.shop-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-info { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
/* Envuelve precio+nombre+línea en un solo link (además de la foto) para
   que en mobile baste con tocar cualquier parte de esa info para abrir
   la página del producto, sin depender de acertarle al título. */
.shop-card-link { display: block; }
.shop-price { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.shop-card-info h3 { font-size: 1rem; font-family: var(--sans); font-weight: 600; margin-top: .2rem; }
.shop-line { color: var(--ink-mute); font-size: .84rem; margin-top: .15rem; }
.shop-detail { margin-top: .8rem; font-size: .82rem; flex: 1; }
.shop-detail summary { cursor: pointer; font-weight: 600; color: var(--accent-ink); list-style: none; }
.shop-detail summary::-webkit-details-marker { display: none; }
.shop-detail summary::after { content: "+"; margin-left: .4rem; }
.shop-detail[open] summary::after { content: "\2013"; }
.shop-detail dl { display: flex; flex-direction: column; gap: .55rem; margin-top: .7rem; }
.shop-detail dt { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.shop-detail dd { font-size: .8rem; color: var(--ink-mute); margin-top: .15rem; line-height: 1.5; }
.shop-card .btn { margin-top: 1rem; }

/* --- Embla carousel — native scroll-snap fallback, JS upgrades to infinite drag loop --- */
.embla { position: relative; }
.embla__viewport {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%);
}
.embla__viewport::-webkit-scrollbar { display: none; }
.embla__viewport.is-embla-active { overflow: hidden; scroll-snap-type: none; cursor: grab; }
.embla__viewport.is-embla-active:active { cursor: grabbing; }
.embla__container { display: flex; }
.embla__slide { flex: 0 0 auto; width: min(78vw, 280px); margin-right: 1.1rem; scroll-snap-align: start; }
/* Copia invisible/no-interactiva que main.js agrega para que el loop de
   Embla tenga suficientes slides y no "salte" al llegar al borde.
   pointer-events:none además de inert porque inert no bloquea un
   .click() disparado por JS, solo la interacción real del usuario. */
.embla__loop-clone { display: contents; pointer-events: none; }
.embla__prev, .embla__next {
  position: absolute; top: 36%; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
  display: none; align-items: center; justify-content: center; box-shadow: 0 10px 22px -14px rgba(0,0,0,.35); z-index: 3;
  transition: background .3s var(--ease-out), transform .3s var(--ease-out);
}
.embla__prev:hover, .embla__next:hover { background: var(--accent-tint); transform: translateY(-2px); }
.embla__prev { left: -10px; }
.embla__next { right: -10px; }

/* --- Gallery / lightbox --- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in;
  aspect-ratio: 1/1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out), filter .5s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.09); filter: saturate(1.12); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,43,27,.55));
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 900; background: rgba(10, 18, 12, .92);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(90vw, 900px); max-height: 84vh; border-radius: 12px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease-out);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 1.4rem; right: 1.4rem; }
.lightbox-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* --- Reviews --- */
.rating-badge {
  display: inline-flex; align-items: center; gap: .9rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: .8rem 1.4rem 0.8rem 1rem;
}
.rating-badge .stars { display: flex; gap: 2px; color: var(--gold); }
.rating-badge .stars .icon { width: 18px; height: 18px; }
.rating-badge .value { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.rating-badge .count { color: var(--ink-mute); font-size: .88rem; }
.rating-note { font-size: .78rem; color: var(--ink-mute); margin-top: .6rem; }

/* En mobile el texto "N reseñas en Google y Setmore" no cabe junto a las
   estrellas y el badge crecía en altura mientras mantenía border-radius:999px
   (forma píldora); con esa altura extra el radio quedaba tan grande que la
   curva de las esquinas terminaba montándose sobre los íconos de estrella.
   Se pasa a dos líneas limpias (estrellas arriba, texto abajo) con un radio
   normal que no se deforma sin importar cuánto crezca el texto. */
@media (max-width: 640px) {
  .rating-badge {
    flex-wrap: wrap;
    row-gap: .4rem;
    border-radius: var(--radius);
    padding: .9rem 1.2rem;
  }
  .rating-badge > div:last-child { flex: 1 1 100%; }
}

.review-card { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.review-card .stars { display: flex; gap: 2px; color: var(--gold); }
.review-card .stars .icon { width: 15px; height: 15px; }
.review-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.review-card .who { display: flex; align-items: center; gap: .7rem; }
.review-card .who-avatar + div { flex: 1; min-width: 0; }
.review-card .who-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex: none;
  color: transparent; font-size: 0; line-height: 0; overflow: hidden;
}
.review-card .who-avatar::before {
  content: "";
  width: 21px; height: 21px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.review-card .who-name {
  font-weight: 600; font-size: .9rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.review-card .who-date { font-size: .78rem; color: var(--ink-mute); }
.review-placeholder-note {
  border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem;
  font-size: .84rem; color: var(--ink-mute); margin-top: 2rem;
}

/* --- Reviews carousel ---
   Cinta autoportante e infinita: no se puede arrastrar ni pausar. El
   truco es un track con las 33 reseñas duplicadas una sola vez
   (la copia va con aria-hidden + inert, invisible para lectores de
   pantalla y no interactuable) animado de 0 a -50%, que es exactamente
   el ancho de un set — el punto en que la copia calza con el original
   y el ciclo se repite sin salto visible. */
.reviews-carousel-wrap { position: relative; overflow: hidden; }
.reviews-carousel {
  display: flex; align-items: stretch; gap: 1.1rem; width: max-content;
  animation: reviews-marquee 300s linear infinite;
}
.reviews-carousel .review-card { flex: 0 0 280px; }
.reviews-carousel-clone { display: contents; }
@keyframes reviews-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.carousel-nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1.1rem; }
.carousel-nav button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; transition: background .3s var(--ease-out), transform .3s var(--ease-out);
}
.carousel-nav button:hover { background: var(--accent-tint); transform: translateY(-2px); }

/* --- Parking note --- */
.parking-note {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--accent-ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; margin-top: 1rem; font-weight: 600;
}
.parking-note .icon { width: 16px; height: 16px; }

/* --- Map / location --- */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3.4; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.hours-list { display: flex; flex-direction: column; gap: .55rem; }
.hours-list li { display: flex; justify-content: space-between; padding-block: .5rem; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours-list li span:first-child { font-weight: 600; }
.hours-list li span:last-child { color: var(--ink-mute); }
.address-block { font-size: 1.35rem; font-family: var(--serif); line-height: 1.4; }

/* --- Marquee --- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: .8rem; padding: 1.1rem 2.2rem;
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--accent-ink); white-space: nowrap;
}
.marquee-track span .dot { width: 6px; height: 6px; color: var(--accent); flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- About strip (compact band) --- */
.about-strip { padding-block: clamp(2rem, 4vw, 3rem); text-align: center; }
.about-strip .container { max-width: 760px; }
.about-strip p { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-family: var(--serif); font-style: italic; line-height: 1.55; color: var(--ink-soft); }

/* --- Floating reserve button --- */
.floating-reserve {
  position: fixed; z-index: 400; right: 1.3rem; bottom: 1.3rem;
  opacity: 0; transform: translateY(16px) scale(.94); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  box-shadow: 0 16px 32px -12px rgba(20,43,27,.5);
}
.floating-reserve.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.floating-reserve img { width: 24px; height: 24px; border-radius: 50%; flex: none; }

/* --- Brand illustration accents --- */
.hero-logo { width: clamp(170px, 26vw, 280px); height: auto; filter: brightness(0) invert(1); margin-bottom: 1.5rem; }
.section-stamp {
  display: none; position: absolute; top: 2.6rem; right: 6%; width: 112px; height: auto;
  opacity: .95; transform: rotate(6deg); pointer-events: none;
}
.footer-stamp { width: 64px; height: auto; opacity: .85; margin-top: 1.2rem; filter: brightness(0) invert(1); }
.team-mascot {
  display: none; position: absolute; width: 170px; height: auto; top: -2.5rem; right: 4%;
  transform: rotate(-9deg); pointer-events: none;
}
.team-avatar img.avatar-mascot { width: 76px; height: auto; }

/* --- Spotify --- */
.spotify-embed-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.spotify-embed-wrap iframe { width: 100%; border: 0; display: block; }

/* --- Tilt --- */
[data-tilt] { will-change: transform; }

/* --- Footer --- */
.footer { background: var(--accent-deep); color: var(--cream); padding-block: 4.5rem 2rem; }
.footer-grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; }
.footer-brand .brand { color: var(--cream); }
.footer p.tagline { color: rgba(244,237,224,.7); margin-top: .9rem; max-width: 32ch; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(244,237,224,.25);
  display: flex; align-items: center; justify-content: center; transition: background .3s var(--ease-out), transform .3s var(--ease-out);
}
.footer-social a:hover { background: var(--accent); color: var(--accent-deep); transform: translateY(-3px); }
.footer h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,237,224,.55); margin-bottom: 1.1rem; font-weight: 700; }
.footer ul { display: flex; flex-direction: column; gap: .7rem; }
.footer ul a { color: rgba(244,237,224,.85); font-size: .95rem; transition: color .3s var(--ease-out); }
.footer ul a:hover { color: var(--accent); }
.footer-mini-map { border-radius: 12px; overflow: hidden; height: 130px; margin-top: 1rem; filter: saturate(.15) brightness(.95); opacity: .85; }
.footer-mini-map iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid rgba(244,237,224,.15);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(244,237,224,.55);
}
.footer-bottom a { color: rgba(244,237,224,.75); }
.footer-bottom a:hover { color: var(--accent); }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,43,27,.55) 0%, rgba(20,43,27,.35) 32%, rgba(20,43,27,.55) 68%, rgba(20,43,27,.92) 100%),
    linear-gradient(90deg, rgba(20,43,27,.55), transparent 55%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(6rem, 14vw, 8rem) clamp(3rem, 7vw, 4.5rem); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  background: rgba(20,43,27,.4); border: 1px solid rgba(255,255,255,.2);
  padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.6rem;
}
.hero-kicker .dot { width: 8px; height: 8px; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 15ch; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 3rem; font-size: .9rem; color: rgba(255,255,255,.75); }
.hero-meta div { display: flex; align-items: center; gap: .5rem; }
.hero-meta .icon { width: 17px; height: 17px; color: var(--accent); }
.hero-scroll {
  position: absolute; bottom: 2rem; right: 2rem; z-index: 1; color: rgba(255,255,255,.75);
  display: none; align-items: center; gap: .5rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }

/* --- About --- */
.about-grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem; background: var(--paper); border-radius: 14px;
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .7rem; box-shadow: 0 16px 30px -18px rgba(0,0,0,.4);
}
.about-media .badge .dot { width: 30px; height: 30px; color: var(--accent-ink); }
.about-media .badge strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.about-media .badge span { font-size: .78rem; color: var(--ink-mute); }
.about-copy .lead { font-size: 1.18rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.about-copy p + p { margin-top: 1.1rem; color: var(--ink-mute); }
.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.about-pillars div { border-top: 2px solid var(--accent); padding-top: .8rem; }
.about-pillars strong { display: block; font-family: var(--serif); font-size: 1.3rem; }
.about-pillars span { font-size: .82rem; color: var(--ink-mute); }

/* --- Playlist --- */
.playlist-section { background: var(--accent-deep); color: var(--cream); }
.playlist-grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; align-items: center; }
.playlist-copy h2 { color: #fff; }
.playlist-copy p { color: rgba(244,237,224,.78); margin-top: 1rem; max-width: 48ch; }
.playlist-copy .btn { margin-top: 1.6rem; }

/* --- Services grid --- */
.services-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.2rem; }

/* --- Team grid --- */
.team-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.2rem; }

/* --- Reviews --- */
.reviews-top { display: flex; flex-direction: column; gap: 1.3rem; align-items: flex-start; margin-bottom: 2.6rem; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.2rem; }

/* --- Location --- */
.location-grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; }
.location-info { display: flex; flex-direction: column; gap: 1.6rem; }

/* --- Final CTA --- */
.final-cta { background: linear-gradient(155deg, var(--accent-deep), var(--accent-deep-2)); color: var(--cream); text-align: center; }
.final-cta .dot-big { width: 18px; height: 18px; color: var(--accent); margin-inline: auto; margin-bottom: 1.4rem; }
.final-cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.final-cta p { color: rgba(244,237,224,.78); max-width: 50ch; margin: 1.1rem auto 0; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
.final-cta-contact { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; font-size: .92rem; color: rgba(244,237,224,.75); }
.final-cta-contact div { display: flex; align-items: center; gap: .5rem; }
.final-cta-contact .icon { width: 16px; height: 16px; color: var(--accent); }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .about-pillars { gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .embla__slide { width: 260px; }
  .embla.is-embla-ready .embla__prev,
  .embla.is-embla-ready .embla__next { display: flex; }
}

@media (min-width: 960px) {
  .nav-menu { display: flex; }
  .nav-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-scroll { display: flex; }
  .about-grid { grid-template-columns: .9fr 1.1fr; }
  .playlist-grid { grid-template-columns: 1fr .85fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .location-grid { grid-template-columns: 1fr .8fr; }
  .reviews-top { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1280px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .team-mascot { display: block; }
  .section-stamp { display: block; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s; }
  .reviews-carousel { animation-duration: 900s; }
  .hero-scroll { animation: none; }
  .hero-bg img { transform: none; }
}

/* =============================================================
   10. Carrito de compras + checkout (MercadoPago)
   ============================================================= */
.btn-cart { background: var(--accent); color: var(--accent-deep); }
.btn-cart:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn-cart:disabled { opacity: .6; cursor: not-allowed; transform: none; }

body.cart-open-lock { overflow: hidden; }

.cart-toggle {
  position: relative; display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink);
}
.nav:not(.is-solid) .cart-toggle { color: #fff; }
.cart-toggle:hover { background: rgba(0,0,0,.06); }
.nav:not(.is-solid) .cart-toggle:hover { background: rgba(255,255,255,.14); }
.cart-badge {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--accent-strong); color: #fff;
  font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-badge.cart-badge-pulse { animation: cart-badge-pulse .4s var(--ease-bounce); }
@keyframes cart-badge-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.cart-overlay, .checkout-overlay {
  position: fixed; inset: 0; z-index: 800; background: rgba(10, 18, 12, .55);
}
.checkout-overlay { z-index: 950; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 801; width: min(420px, 100vw);
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; padding: 1.4rem 1.4rem 1.6rem;
  transform: translateX(100%); transition: transform .4s var(--ease-out);
  box-shadow: -20px 0 40px -20px rgba(0,0,0,.35);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cart-drawer-head h3 { font-family: var(--serif); font-size: 1.4rem; }
.cart-close {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink);
}
.cart-close:hover { background: rgba(0,0,0,.06); }
.cart-drawer-body { flex: 1; overflow-y: auto; margin-top: 1rem; display: flex; flex-direction: column; gap: .9rem; }
.cart-drawer-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--ink-mute); text-align: center; }

.cart-item {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .7rem;
  padding-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.cart-item-name { font-weight: 600; font-size: .92rem; }
.cart-item-price { color: var(--ink-mute); font-size: .85rem; margin-top: .15rem; }
.cart-item-qty { display: flex; align-items: center; gap: .5rem; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
}
.qty-btn:hover { background: var(--bg-3); }
.qty-btn .icon, .cart-item-remove .icon { width: 14px; height: 14px; }
.cart-item-remove { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-mute); }
.cart-item-remove:hover { color: #c23b3b; background: #fbe6e6; }

.cart-drawer-foot { padding-top: 1rem; border-top: 1px solid var(--line); }
.cart-total-row, .checkout-total-row {
  display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem;
}

.checkout-modal {
  position: fixed; top: 50%; left: 50%; z-index: 951; width: min(520px, 92vw); max-height: 88vh;
  transform: translate(-50%, -46%); opacity: 0; pointer-events: none;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.checkout-modal.is-open { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.checkout-modal-inner { padding: 2rem; overflow-y: auto; max-height: 88vh; position: relative; }
.checkout-modal .cart-close { position: absolute; top: 1.2rem; right: 1.2rem; }
.checkout-modal h3 { font-family: var(--serif); font-size: 1.6rem; padding-right: 2.5rem; }
.checkout-sub { color: var(--ink-mute); font-size: .92rem; margin-top: .5rem; margin-bottom: 1.6rem; }

.checkout-field { display: block; margin-bottom: 1rem; }
.checkout-field span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink-soft); }
.checkout-field input {
  width: 100%; padding: .75rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  font-family: var(--sans); font-size: .95rem; color: var(--ink); background: var(--bg-2);
}
.checkout-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.checkout-fieldset { border: none; padding: 0; margin: 1.2rem 0; }
.checkout-fieldset legend { font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .5rem; padding: 0; }
.checkout-radio { display: flex; align-items: center; gap: .6rem; padding: .6rem 0; font-size: .92rem; cursor: pointer; }
.checkout-radio input { width: 18px; height: 18px; accent-color: var(--accent-strong); flex: none; }

.checkout-address { margin-top: .2rem; }
.checkout-factura { margin-top: .8rem; }
#checkout-factura-row { margin-top: .4rem; }
.checkout-shipping-note {
  font-size: .82rem; color: var(--ink-mute); background: var(--accent-tint); border-radius: var(--radius-sm);
  padding: .7rem .9rem; margin-bottom: 1rem; line-height: 1.5;
}

.checkout-error {
  background: #fbe6e6; color: #a12d2d; border-radius: var(--radius-sm); padding: .7rem .9rem;
  font-size: .88rem; margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .cart-drawer { width: 100vw; }
}

/* =============================================================
   11. Página de producto individual (PDP)
   producto-cera-deluxe-matte-wax-peony.html — y sirve de plantilla
   para futuras páginas de producto.
   ============================================================= */

/* Ritmo vertical más compacto en toda la página de producto —
   la gente debe llegar a contenido como la tabla comparativa sin
   tener que bajar tanto. Redefine la variable compartida solo
   dentro de .page-product, sin tocar el resto del sitio. */
.page-product { --section-py: clamp(1.5rem, 3vw, 3rem); }
.page-product .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.pdp-first-section { padding-top: calc(var(--nav-h) + var(--section-py)); }

/* --- Breadcrumb --- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; color: var(--ink-mute); margin-bottom: 1.8rem; }
.breadcrumb a { color: var(--accent-ink); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: .5; }

/* --- Hero: galería + info --- */
.pdp-hero { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.pdp-gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .3s var(--ease-out); pointer-events: none; }
.pdp-gallery-slide.is-active { opacity: 1; pointer-events: auto; }

.pdp-gallery-main {
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--accent-tint), var(--bg-3));
}
.pdp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-photo-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  color: var(--accent-ink); text-align: center; padding: 1.5rem;
}
.pdp-photo-placeholder .icon { width: 25%; height: 25%; min-width: 34px; min-height: 34px; stroke-width: 1.2; opacity: .5; }
.pdp-photo-placeholder span {
  font-size: .7rem; font-weight: 700; letter-spacing: .02em; color: #fff; background: var(--accent-deep);
  padding: .35rem .7rem; border-radius: 999px; line-height: 1.4;
}
.pdp-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-top: .8rem; }
.pdp-thumb {
  aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: pointer;
  background: linear-gradient(150deg, var(--accent-tint), var(--bg-3)); border: 2px solid transparent;
  transition: border-color .25s var(--ease-out);
}
.pdp-thumb.is-active { border-color: var(--accent-strong); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb .pdp-photo-placeholder { padding: .35rem; gap: .25rem; }
.pdp-thumb .pdp-photo-placeholder span { font-size: .52rem; padding: .18rem .38rem; }

.pdp-info-brand { color: var(--ink-mute); font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.pdp-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.pdp-rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; font-size: .9rem; color: var(--ink-mute); }
.pdp-rating-row .stars { display: flex; gap: 2px; color: var(--gold); }
.pdp-rating-row .stars .icon { width: 15px; height: 15px; }
.pdp-rating-row a { color: var(--accent-ink); font-weight: 600; }
.pdp-info-desc { margin-top: .8rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

.pdp-highlights { display: flex; flex-direction: column; gap: .4rem; margin: .9rem 0 0; }
.pdp-highlights li { display: flex; align-items: flex-start; gap: .6rem; font-size: .93rem; color: var(--ink-soft); }
.pdp-highlights .icon { width: 17px; height: 17px; color: var(--accent-strong); flex: none; margin-top: .15rem; }

/* --- Selector de cantidad (venta por mayor) --- */
.tier-legend { font-weight: 600; font-size: .95rem; margin-top: 1.2rem; margin-bottom: .6rem; }
.tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.tier-card {
  position: relative; display: block; text-align: left; padding: 1.1rem 1rem; border-radius: var(--radius-sm);
  border: 2px solid var(--line); background: var(--paper); cursor: pointer;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.tier-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.tier-card.is-selected { border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-tint); }
.tier-card input { position: absolute; opacity: 0; pointer-events: none; }
.tier-card .tier-qty { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.tier-card .tier-unit { font-size: .76rem; color: var(--ink-mute); margin-top: .15rem; }
.tier-card .tier-total { font-weight: 700; font-size: 1.02rem; margin-top: .5rem; color: var(--accent-ink); }
.tier-card .tier-save { font-size: .74rem; color: #8a6a1a; font-weight: 600; margin-top: .15rem; }
.tier-badge {
  position: absolute; top: -.65rem; right: .8rem; background: var(--gold); color: #fff; font-size: .62rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px;
}
.tier-wholesale-note { font-size: .72rem; color: var(--ink-mute); margin-top: .4rem; font-style: italic; line-height: 1.4; }

/* --- Caja de compra / CTA --- */
.pdp-buybox { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pdp-price-row { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.pdp-price-total { font-family: var(--serif); font-weight: 700; font-size: 2rem; color: var(--ink); }
.pdp-price-compare { font-size: 1rem; color: var(--ink-mute); text-decoration: line-through; }
.pdp-price-unit { font-size: .85rem; color: var(--ink-mute); width: 100%; }
.pdp-cta-row { display: flex; flex-direction: column; gap: .7rem; margin-top: .9rem; }
.pdp-shipping-banner {
  display: flex; align-items: center; gap: .6rem; background: #fdf6e3; color: #7a5c1e; border: 1px solid #f0dfa8;
  border-radius: var(--radius-sm); padding: .7rem .9rem; font-size: .85rem; font-weight: 600; margin-top: .8rem;
}
.pdp-shipping-banner .icon { width: 18px; height: 18px; flex: none; }
.pdp-trust-mini { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: .8rem; font-size: .82rem; color: var(--ink-mute); }
.pdp-trust-mini div { display: flex; align-items: center; gap: .4rem; }
.pdp-trust-mini .icon { width: 16px; height: 16px; color: var(--accent-strong); flex: none; }

/* --- Barra de compra fija en mobile --- */
.sticky-buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; background: var(--paper);
  border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(0,0,0,.35);
  padding: .8rem 1rem; display: flex; align-items: center; gap: .9rem;
  transform: translateY(100%); transition: transform .35s var(--ease-out);
}
.sticky-buy-bar.is-visible { transform: translateY(0); }
.sticky-buy-bar-info { flex: 1; min-width: 0; }
.sticky-buy-bar-name { font-size: .76rem; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy-bar-price { font-weight: 700; font-size: 1.1rem; }
.sticky-buy-bar .btn { flex: none; }

/* --- Acordeón: beneficios / cómo se usa / ingredientes --- */
.pdp-accordion { display: flex; flex-direction: column; gap: .7rem; }
.pdp-accordion-item { padding: 1.2rem 1.5rem; }
.pdp-accordion-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink);
}
.pdp-accordion-item summary::-webkit-details-marker { display: none; }
.pdp-accordion-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--accent-strong); font-family: var(--sans); flex: none; line-height: 1;
}
.pdp-accordion-item[open] summary::after { content: "\2013"; }
.pdp-accordion-body { margin-top: 1.3rem; }

.benefits-list { display: flex; flex-direction: column; gap: .9rem; }
.benefits-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .96rem; color: var(--ink-soft); }
.benefits-list .icon { width: 20px; height: 20px; color: var(--accent-strong); flex: none; margin-top: .1rem; }

.steps-list { display: flex; flex-direction: column; gap: 1.2rem; counter-reset: step; }
.steps-list li { display: flex; gap: 1rem; align-items: flex-start; }
.steps-list li::before {
  counter-increment: step; content: counter(step); font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.steps-list p { color: var(--ink-soft); font-size: .95rem; padding-top: .45rem; }

.verify-note {
  display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.3rem; padding: .9rem 1.1rem;
  background: #fdf6e3; border: 1px dashed var(--gold); border-radius: var(--radius-sm); font-size: .84rem; color: #7a5c1e; line-height: 1.55;
}
.verify-note .icon { width: 18px; height: 18px; flex: none; margin-top: .1rem; }
.hair-type-info { font-size: .92rem; color: var(--ink-soft); line-height: 1.75; margin-top: 1.1rem; }

/* --- Testimonios (reusa el look de .review-card, avatar propio) --- */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.who-avatar--plain {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--serif); font-size: .95rem;
  flex: none;
}
.icon-star-off { opacity: .3; }

/* --- Tabla comparativa --- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.compare-table th, .compare-table td { padding: 1rem 1.3rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--accent-deep); color: var(--cream); font-family: var(--serif); font-weight: 600; font-size: 1rem; }
.compare-table tbody th { font-weight: 600; color: var(--ink-soft); background: var(--bg-2); white-space: nowrap; }
.compare-table td.is-ours { color: var(--accent-ink); font-weight: 600; background: var(--accent-tint); }
.compare-table td.is-generic { color: var(--ink-mute); }
.compare-table td .icon { width: 15px; height: 15px; margin-right: .35rem; vertical-align: -2px; }
.compare-table td.is-ours .icon { color: var(--accent-strong); }
.compare-table td.is-generic .icon { color: #c23b3b; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }

/* --- Trust badges (asesoría + devoluciones) --- */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.trust-card { display: flex; gap: 1.1rem; padding: 1.8rem; align-items: flex-start; }
.trust-card .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.trust-card .icon-wrap .icon { width: 24px; height: 24px; }
.trust-card h3 { font-size: 1.1rem; }
.trust-card p { color: var(--ink-mute); font-size: .92rem; margin-top: .4rem; line-height: 1.6; }
.trust-card .card-link { margin-top: .8rem; }

/* --- Completa tu rutina (otros productos) — carril deslizable, mismo
   patrón que .reviews-carousel: scroll horizontal nativo con
   scroll-snap, más un degradado en el borde para insinuar que sigue
   otra tarjeta. --- */
.related-grid-wrap { position: relative; }
.related-grid {
  display: flex; align-items: stretch; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .5rem; scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%);
}
.related-grid::-webkit-scrollbar { display: none; }
.related-grid .shop-card { flex: 0 0 min(78vw, 280px); scroll-snap-align: start; }
.related-grid .shop-card-visual { aspect-ratio: 1/1; }

/* --- Información transparente (envío, pagos, garantía, contacto) --- */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: start; }
.info-card { padding: 1.7rem; }
.info-card .icon-wrap {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.info-card .icon-wrap .icon { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.05rem; color: var(--ink); }
.info-card p, .info-card li { color: var(--ink-mute); font-size: .88rem; line-height: 1.65; margin-top: .3rem; }
.info-card ul { display: flex; flex-direction: column; gap: .25rem; margin-top: .5rem; }
.payment-icons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.payment-chip { padding: .4rem .75rem; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); font-size: .76rem; font-weight: 600; color: var(--ink-soft); }

@media (min-width: 720px) {
  .pdp-hero { grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
  .tier-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-cta-row { flex-direction: row; }
  .sticky-buy-bar { display: none; }
}

@media (min-width: 960px) {
  .pdp-hero { gap: 3rem; }
  .info-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Nav siempre "sólido" en páginas de producto ---
   .nav:not(.is-solid) asume una foto oscura detrás (como el hero de
   inicio) para que el texto blanco se lea. Esta página no tiene esa
   foto, así que el texto blanco quedaba invisible sobre el fondo
   claro apenas se cargaba o se volvía arriba. Se fuerza el aspecto
   sólido siempre, sin depender del scroll. */
.page-product .nav {
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px -18px rgba(0,0,0,.35);
}
.page-product .nav .brand,
.page-product .nav .nav-menu a,
.page-product .nav .nav-phone,
.page-product .nav .nav-toggle,
.page-product .nav .cart-toggle { color: var(--ink); }
.page-product .nav .brand-logo { filter: none; }
