/* Óptica G.V Lens — estilos
   Dirección: "vitrina de cristal". Petróleo profundo + turquesa y lima del logo sobre marfil.
   Tipografía: Cormorant (títulos) + Montserrat (texto). */

:root {
  /* Fondos */
  --ivory: #faf8f3;
  --sand: #f2eee5;
  --card: #ffffff;
  --ink: #0b2a33;          /* petróleo profundo */
  --ink-2: #113a45;
  --ink-3: #18505e;

  /* Texto */
  --text: #12262c;
  --muted: #55676c;
  --on-dark: #eef6f5;
  --on-dark-muted: #a9c3c6;

  /* Marca (del logo) */
  --brand: #008eb4;
  --brand-ink: #006a87;        /* 5.9:1 sobre blanco */
  --brand-ink-hover: #00576f;
  --brand-light: #5fc8e3;      /* turquesa claro para fondo oscuro */
  --lime: #8aae10;
  --lime-bright: #a9cf22;      /* sobre fondo oscuro */
  --lime-ink: #4f6600;
  --line: #e4dfd4;
  --line-dark: rgba(255, 255, 255, .14);
  --focus: #006a87;

  --font-display: "Cormorant", "Times New Roman", serif;
  --font-text: "Montserrat", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: 16px;
  --gap: 24px;
  --nav-h: 76px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-back: cubic-bezier(.34, 1.4, .64, 1);
  --shadow: 0 18px 40px -24px rgba(11, 42, 51, .45);
  --shadow-lg: 0 30px 60px -30px rgba(11, 42, 51, .55);

  --t-h1: clamp(44px, 6vw, 86px);
  --t-h2: clamp(36px, 4.2vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 16px/1.65 var(--font-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.05; }
h1, h2, h3, .hero__stats dd, .catalog__count, .visit__phone, .card__title, .type-moment, .footer__motto, .cat__name { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
h1 { font-size: var(--t-h1); line-height: .98; letter-spacing: -0.02em; }
h2 { font-size: var(--t-h2); }
h1 em, h2 em, .footer__motto em { font-style: italic; font-weight: 500; }
p, dl, dd { margin: 0; }
a { color: inherit; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
svg { flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

.t-label { display: block; font: 600 12px/1.3 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 600 12px/1 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--lime); }
.eyebrow--light { color: var(--brand-light); }
.nowrap { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero :focus-visible, .steps :focus-visible, .footer :focus-visible, .brands :focus-visible { outline-color: var(--lime-bright); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

.u-line { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.u-line:hover, .u-line:focus-visible { background-size: 100% 1.5px; }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px; border: 1.5px solid transparent; border-radius: 999px;
  font: 600 15px/1.2 var(--font-text); letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .3s, background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn > span[aria-hidden] { transition: transform .25s var(--ease); }
.btn:hover > span[aria-hidden] { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
/* brillo que cruza el botón */
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }

.btn--primary { background: var(--brand-ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(0, 106, 135, .9); }
.btn--primary:hover { background: var(--brand-ink-hover); box-shadow: 0 16px 30px -14px rgba(0, 106, 135, .9); }
.btn--primary svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn--lime { background: var(--lime-bright); color: var(--ink); box-shadow: 0 12px 28px -14px rgba(169, 207, 34, .9); }
.btn--lime:hover { background: #b8dc35; }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--brand-ink); border-color: var(--brand-ink); }
.btn--ghost:hover { background: var(--brand-ink); color: #fff; }
.btn--wa { background: #fff; color: #11803f; border-color: #11803f; }
.btn--wa:hover { background: #11803f; color: #fff; }

.link-btn { background: none; border: 0; padding: 10px 0; color: var(--brand-ink); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }

/* ---------- Franja superior ---------- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: 13px; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar__item svg { width: 15px; height: 15px; fill: none; stroke: var(--lime-bright); stroke-width: 1.8; }
.topbar a.topbar__item:hover { color: #fff; }
.topbar__motto { font: italic 500 17px/1 var(--font-display); color: #fff; letter-spacing: .01em; }
@media (max-width: 899px) { .topbar__place, .topbar__hours { display: none; } .topbar__row { justify-content: center; } }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 243, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s, background-color .3s; }
.nav.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 10px 30px -20px rgba(11, 42, 51, .5); }
.nav__row { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav__logo { display: block; flex: none; border-radius: var(--r-sm); }
.nav__logo img { height: 60px; width: auto; mix-blend-mode: multiply; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links > a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }
.nav__links > a:not(.btn)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 2px; background: var(--lime); border-radius: 2px; transition: left .3s var(--ease), right .3s var(--ease); }
.nav__links > a:not(.btn):hover::after, .nav__links > a[aria-current="true"]::after { left: 0; right: 0; }
.nav__call { min-height: 44px; padding: 10px 20px; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__logo img { height: 48px; }
  .nav__toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 4px 8px 12px; background: none; border: 0; cursor: pointer; font-weight: 600; }
  .nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after { display: block; width: 22px; height: 2px; background: var(--text); position: relative; transition: transform .25s var(--ease), background-color .2s; }
  .nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav__toggle-bars::before { top: -7px; }
  .nav__toggle-bars::after { top: 7px; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; background: var(--ivory);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 32px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav__links.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav__links > a:not(.btn) { font: 600 34px/1.1 var(--font-display); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__call { margin-top: 24px; min-height: 54px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Portada ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--ink-3) 0%, var(--ink) 55%, #071d23 100%); color: var(--on-dark); padding: 56px 0 72px; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(40% 50% at 8% 90%, rgba(169, 207, 34, .16), transparent 70%),
  radial-gradient(35% 45% at 70% 30%, rgba(0, 142, 180, .35), transparent 70%); }
.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--lime-bright); }
.hero__lead { font-size: 18px; line-height: 1.7; color: var(--on-dark-muted); margin-top: 24px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero__stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.hero__stats dt { font-size: 13px; color: var(--on-dark-muted); letter-spacing: .02em; }
.hero__stats dd { font: 300 46px/1 var(--font-text); letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.hero__stats small { font: 500 16px/1 var(--font-text); color: var(--brand-light); margin-left: 6px; }

.hero__art { position: relative; }
.hero__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); background: linear-gradient(180deg, transparent 60%, rgba(11, 42, 51, .35)); }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.hero__mini { position: absolute; left: -36px; bottom: 48px; width: 34%; border-radius: var(--r); overflow: hidden; border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .6); }
.hero__mini img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.hero__status { position: absolute; right: 20px; top: 20px; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: var(--r); color: #fff; }
.hero__status .open-now { margin: 0; font-size: 14px; }
.hero__status-link { font-size: 13px; color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

.seal { position: absolute; left: -48px; top: 56px; width: 138px; height: 138px; display: grid; place-items: center; border-radius: 50%; background: var(--lime-bright); color: var(--ink); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .6); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal__ring text { font: 700 16px var(--font-text); fill: var(--ink); }
.seal__icon { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }

@media (min-width: 960px) {
  .hero { padding: 64px 0 88px; min-height: calc(100svh - var(--nav-h) - 40px); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .hero__photo img { max-height: calc(100svh - var(--nav-h) - 190px); min-height: 460px; }
}
@media (max-width: 959px) {
  .hero__photo img { aspect-ratio: 4 / 3.4; }
  .hero__mini { left: 12px; bottom: -24px; width: 30%; }
  .seal { left: auto; top: auto; right: 12px; bottom: -36px; width: 112px; height: 112px; }
  .hero__art { margin-bottom: 24px; }
}
@media (max-width: 599px) {
  .hero { padding: 36px 0 64px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__stats dd { font-size: 38px; }
  .hero__stats dt { font-size: 12px; }
  .hero__status { right: 12px; top: 12px; padding: 10px 14px; }
}

/* Entrada de la portada */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] { opacity: 0; transform: translateY(18px); }
  .js.is-loaded [data-enter] { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js.is-loaded .hero__art[data-enter] { transition-delay: .15s; }
  .js .hero__mini, .js .hero__status, .js .seal { opacity: 0; transform: scale(.85); }
  .js.is-loaded .hero__mini, .js.is-loaded .hero__status, .js.is-loaded .seal { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease-back); }
  .js.is-loaded .hero__mini { transition-delay: .55s; }
  .js.is-loaded .hero__status { transition-delay: .7s; }
  .js.is-loaded .seal { transition-delay: .85s; }
  .seal__ring { animation: spin 22s linear infinite; }
  .hero__glow { animation: glow 12s ease-in-out infinite alternate; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { to { transform: translate3d(-3%, 2%, 0) scale(1.08); } }

/* ---------- Cinta ---------- */
.ribbon { overflow: hidden; background: var(--lime-bright); color: var(--ink); border-block: 1px solid rgba(11, 42, 51, .12); }
.ribbon__track { display: flex; width: max-content; }
.ribbon__list { display: flex; flex: none; }
.ribbon__list li { display: inline-flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px; font: italic 600 26px/1 var(--font-display); white-space: nowrap; }
.ribbon__list li::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--ink); opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon__track { animation: marquee 38s linear infinite; }
  .ribbon:hover .ribbon__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .ribbon__list[aria-hidden] { display: none; } .ribbon__list { flex-wrap: wrap; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
main > section:not(.hero):not(.perks):not(.brands) { padding: 112px 0; }
@media (max-width: 767px) { main > section:not(.hero):not(.perks):not(.brands) { padding: 72px 0; } }

.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 56px; }
.head-row h2 em { color: var(--brand-ink); }
.head-row__side { color: var(--muted); max-width: 26em; font-size: 16px; padding-bottom: 6px; }
.head-row__link { color: var(--brand-ink); font-weight: 600; padding: 10px 0; }
.head-row__link span { display: inline-block; transition: transform .25s var(--ease); }
.head-row__link:hover span { transform: translateX(4px); }

/* ---------- Beneficios ---------- */
.perks { padding: 56px 0 0; }
.perks__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 960px) { .perks__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.perk a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 22px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.perk a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.perk__icon { flex: none; width: 48px; height: 48px; padding: 11px; border-radius: 14px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-back); }
.perk--teal .perk__icon { background: #e1f3f8; stroke: var(--brand-ink); }
.perk--lime .perk__icon { background: #eef6d6; stroke: var(--lime-ink); }
.perk a:hover .perk__icon { transform: rotate(-10deg) scale(1.1); }
.perk strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.perk strong + span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
@media (max-width: 599px) { .perk a { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 16px; } }

/* ---------- Categorías ---------- */
.cats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 960px) { .cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.cat { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); text-decoration: none; color: #fff; background: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: transform .45s var(--ease), box-shadow .45s; isolation: isolate; }
.cat img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 42, 51, 0) 35%, rgba(11, 42, 51, .88) 100%); transition: opacity .4s; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat:hover img { transform: scale(1.08); }
.cat__label { position: absolute; z-index: 2; left: 20px; right: 64px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.cat__name { font: 600 30px/1 var(--font-display); }
.cat__n { font-size: 13px; color: var(--on-dark-muted); }
.cat__go { position: absolute; z-index: 2; right: 16px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime-bright); color: var(--ink); font-weight: 700; transform: scale(.85); transition: transform .4s var(--ease-back), background-color .3s; }
.cat:hover .cat__go { transform: scale(1) rotate(-45deg); }
@media (max-width: 599px) {
  .cat__label { left: 14px; right: 48px; bottom: 14px; }
  .cat__name { font-size: 22px; }
  .cat__go { width: 32px; height: 32px; right: 12px; bottom: 14px; }
}

/* ---------- Catálogo ---------- */
.catalog { background: var(--sand); }
.catalog__layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) {
  .catalog__layout { grid-template-columns: 280px 1fr; gap: 36px; }
  .filters { position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 40px); overflow: auto; }
}
.filters { background: var(--card); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 1px 0 var(--line), var(--shadow); }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.filters__search input {
  width: 100%; min-height: 50px; padding: 12px 16px 12px 44px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--ivory);
  font: 500 15px/1.3 var(--font-text); color: var(--text); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.filters__search input:focus { outline: none; border-color: var(--brand-ink); background: #fff; box-shadow: 0 0 0 4px rgba(0, 142, 180, .18); }
.filters__toggle { display: none; width: 100%; margin-top: 14px; }
.filters__badge { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--brand-ink); color: #fff; font-size: 12px; }
.btn--ghost:hover .filters__badge { background: #fff; color: var(--brand-ink); }

.fgroup { border: 0; margin: 24px 0 0; padding: 22px 0 0; min-width: 0; border-top: 1px solid var(--line); }
.fgroup legend { padding: 0; float: left; width: 100%; }
.fgroup legend + * { clear: both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 500 14px/1.2 var(--font-text); cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease-back);
}
.chip:hover { border-color: var(--brand-ink); transform: translateY(-1px); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__n { color: var(--muted); font-size: 12px; }
.chip[aria-pressed="true"] .chip__n { color: var(--lime-bright); }
.chip[disabled] { opacity: .4; cursor: default; transform: none; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(18, 38, 44, .2); flex: none; }

@media (max-width: 999px) {
  .filters__toggle { display: inline-flex; }
  .filters__panel { display: none; padding: 4px 0; }
  .filters__panel.is-open { display: block; }
  .chip { min-height: 44px; }
}

.catalog__note { display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 20px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.catalog__note strong { color: var(--text); font-weight: 600; }
.catalog__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-bottom: 16px; }
.catalog__count { font: 600 15px/1.2 var(--font-text); letter-spacing: .02em; }

.catalog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) and (max-width: 1199px) { .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.card { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 0 0 1px rgba(228, 223, 212, .7); transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: linear-gradient(160deg, #eef3f3, #dfe7e8); cursor: zoom-in; overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 2 / 1.15; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__flag { position: absolute; left: 10px; top: 10px; background: var(--ink); color: #fff; font: 600 11px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.card__flag--kids { background: var(--lime-bright); color: var(--ink); }
.card__peek { position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 14px); opacity: 0; background: rgba(11, 42, 51, .85); backdrop-filter: blur(6px); color: #fff; font: 600 12px/1 var(--font-text); padding: 9px 14px; border-radius: 999px; white-space: nowrap; transition: opacity .3s, transform .4s var(--ease-back); pointer-events: none; }
.card:hover .card__peek, .card__media:focus-visible .card__peek { opacity: 1; transform: translate(-50%, 0); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px; flex: 1; }
.card__code { font: 600 11px/1.2 var(--font-text); letter-spacing: .14em; color: var(--brand-ink); }
.card__title { font: 600 23px/1.1 var(--font-display); }
.card__meta { color: var(--muted); font-size: 14px; line-height: 1.45; }
.card__colors { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.card__colors li { display: inline-flex; align-items: center; gap: 6px; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; border-top: 1px dashed var(--line); }
.card__price { font-weight: 600; font-size: 15px; }
.card__price--ask { color: var(--muted); font-weight: 500; font-size: 14px; }
.card__cta { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #11803f; font-weight: 600; font-size: 14px; text-decoration: none; }
.card__cta::after { content: "→"; transition: transform .25s var(--ease); }
.card__cta:hover::after { transform: translateX(4px); }
@media (max-width: 639px) {
  .card__body { padding: 12px; }
  .card__title { font-size: 19px; }
  .card__meta, .card__colors { font-size: 13px; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .catalog__grid.is-animating > li { animation: card-in .6s var(--ease-back) both; animation-delay: calc(var(--i, 0) * 55ms); }
}
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.catalog__empty { background: #fff; border-radius: var(--r); padding: 32px; display: grid; gap: 20px; justify-items: start; box-shadow: var(--shadow); }

/* ---------- Pasos ---------- */
.steps { position: relative; overflow: hidden; background: radial-gradient(80% 120% at 10% 0%, var(--ink-3), var(--ink) 60%); color: var(--on-dark); }
.steps h2 { color: #fff; }
.steps .head-row h2 em { color: var(--lime-bright); }
.steps .head-row__side { color: var(--on-dark-muted); }
.steps__list { position: relative; display: grid; gap: 20px; }
.step { position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); border-color: rgba(169, 207, 34, .5); }
.step__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); border: 1.5px solid rgba(169, 207, 34, .6); margin-bottom: 22px; transition: transform .45s var(--ease-back), background-color .3s; }
.step__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--lime-bright); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.step:hover .step__icon { transform: scale(1.1) rotate(-6deg); background: var(--lime-bright); }
.step:hover .step__icon svg { stroke: var(--ink); }
.step h3 { font-size: 28px; color: #fff; margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; }
.step__n { font: 600 13px/1 var(--font-text); letter-spacing: .1em; color: var(--brand-light); }
.step p { color: var(--on-dark-muted); font-size: 15px; }
.steps__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
@media (min-width: 960px) {
  .steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .steps__list::before, .steps__list::after { content: ""; position: absolute; top: 59px; left: 56px; right: calc(25% - 56px); height: 2px; background: var(--line-dark); }
  .steps__list::after { background: linear-gradient(90deg, var(--brand-light), var(--lime-bright)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
  .steps__list.is-in::after { transform: scaleX(1); }
}
@media (max-width: 959px) {
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start; padding: 20px; }
  .step__icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .step h3 { margin: 4px 0 6px; font-size: 24px; }
}
@media (max-width: 599px) { .steps__actions .btn { flex: 1 1 100%; } }

/* ---------- Servicios ---------- */
.services__grid { display: grid; gap: 20px; }
.svc { padding: 30px 28px; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line), 0 0 0 1px rgba(228, 223, 212, .7); transition: transform .4s var(--ease), box-shadow .4s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; }
.svc__icon svg { width: 28px; height: 28px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc__icon--teal { background: #e1f3f8; } .svc__icon--teal svg { stroke: var(--brand-ink); }
.svc__icon--lime { background: #eef6d6; } .svc__icon--lime svg { stroke: var(--lime-ink); }
.svc h3 { font-size: 32px; margin-bottom: 12px; }
.rows li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.rows li:last-child { border-bottom: 0; }
.rows li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 2px solid var(--lime); }
.services__photo { border-radius: var(--r-lg); overflow: hidden; min-height: 260px; }
.services__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; transition: transform .9s var(--ease); }
.services__photo:hover img { transform: scale(1.05); }
@media (min-width: 700px) { .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .services__photo { grid-column: 1 / -1; } .services__photo img { aspect-ratio: 21 / 8; } }
@media (min-width: 1150px) {
  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) 1.25fr; }
  .services__photo { grid-column: auto; }
  .services__photo img { aspect-ratio: auto; }
}

/* ---------- Marcas ---------- */
.brands { background: var(--brand-ink); color: #fff; padding: 56px 0; overflow: hidden; }
.brands__row { display: grid; gap: 24px; align-items: center; }
.brands__title { font: 600 12px/1.3 var(--font-text); letter-spacing: .2em; text-transform: uppercase; color: #cfe9ef; }
.brands__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.brands__list li { display: inline-flex; align-items: center; font: italic 600 clamp(24px, 2.4vw, 34px)/1.1 var(--font-display); }
.brands__list li + li::before { content: "✦"; font-style: normal; font-size: 13px; color: var(--lime-bright); margin: 0 18px; }
@media (min-width: 1000px) { .brands__row { grid-template-columns: 180px 1fr; gap: 40px; } }

/* ---------- Visítanos ---------- */
.visit { background: var(--ivory); }
.type-moment { margin: 0 0 48px; font: 600 clamp(42px, 6.6vw, 104px)/1 var(--font-display); letter-spacing: -0.02em; }
.type-moment a { color: var(--text); background-image: linear-gradient(var(--lime), var(--lime)); background-size: 0 .05em; }
.type-moment a:hover, .type-moment a:focus-visible { background-size: 100% .05em; }
.type-moment em { color: var(--brand-ink); }
.visit__grid { display: grid; gap: var(--gap); }
.visit__panel { background: var(--card); padding: 40px; border-radius: var(--r-lg); box-shadow: 0 1px 0 var(--line), var(--shadow); }
.open-now { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 26px; }
.open-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #c46a4a; box-shadow: 0 0 0 4px rgba(196, 106, 74, .2); }
.open-now.is-open::before { background: var(--lime-bright); box-shadow: 0 0 0 4px rgba(169, 207, 34, .3); }
@media (prefers-reduced-motion: no-preference) { .open-now.is-open::before { animation: live 2s ease-in-out infinite; } }
@keyframes live { 50% { box-shadow: 0 0 0 8px rgba(169, 207, 34, 0); } }
.visit__cols { display: grid; gap: 32px; }
.visit__address { font-size: 19px; line-height: 1.5; margin-bottom: 24px; }
.visit__phone { font: 500 26px/1.2 var(--font-text); letter-spacing: -0.01em; margin-bottom: 6px; }
.visit__phone a { color: var(--brand-ink); }
.visit__wa { margin-bottom: 28px; }
.visit__wa a { display: inline-block; padding: 8px 0; color: #11803f; font-weight: 600; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; margin: 0 -12px; border-radius: var(--r-sm); font-variant-numeric: tabular-nums; font-size: 15px; }
.hours li + li { border-top: 1px solid var(--line); }
.hours li.is-today { font-weight: 600; background: #eef6d6; border-color: transparent; }
.hours li.is-today + li { border-color: transparent; }
.hours li.is-today span:first-child::after { content: " · hoy"; color: var(--lime-ink); }
.visit__media { display: grid; gap: var(--gap); }
.visit__map { border-radius: var(--r-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.visit__map iframe { display: block; width: 100%; height: 300px; border: 0; filter: saturate(.9); }
.visit__photo { border-radius: var(--r-lg); overflow: hidden; }
.visit__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 35% 50%; }
@media (min-width: 960px) {
  .visit__grid { grid-template-columns: 1.05fr 1fr; }
  .visit__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .visit__panel { padding: 24px; }
  .visit__address { font-size: 17px; }
  .visit__map iframe { height: 240px; }
}

/* ---------- Vitrinas ---------- */
.place { background: var(--sand); }
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wall__item--wide { grid-column: 1 / -1; }
.wall button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); background: var(--ink); overflow: hidden; cursor: zoom-in; }
.wall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.wall__item--wide img { aspect-ratio: 16 / 9; }
.wall button:hover img { transform: scale(1.06); opacity: .85; }
.wall__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92); transform: scale(.6); opacity: 0; transition: transform .4s var(--ease-back), opacity .3s; }
.wall__zoom svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.wall button:hover .wall__zoom, .wall button:focus-visible .wall__zoom { transform: none; opacity: 1; }
@media (min-width: 900px) {
  .wall { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  .wall__item { grid-column: span 3; }
  .wall__item--wide { grid-column: span 6; }
  .wall img, .wall__item--wide img { aspect-ratio: auto; height: 420px; }
}

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 88px 0 36px; }
.footer__motto { font: 600 clamp(40px, 6vw, 88px)/1 var(--font-display); color: #fff; letter-spacing: -0.02em; margin-bottom: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__motto em { color: var(--lime-bright); }
.footer__grid { display: grid; gap: 36px; }
.footer .t-label { color: #fff; }
.footer a { color: var(--on-dark); display: inline-block; padding: 4px 0; }
.footer__logo { display: inline-block; background: #fff; border-radius: var(--r); padding: 10px 14px; }
.footer__logo img { width: 160px; height: auto; }
.footer__brand p { margin-top: 14px; }
.footer p + p { margin-top: 8px; }
.footer__muted { color: var(--on-dark-muted); }
.footer__nav li + li { margin-top: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Barra de acciones (celular) ---------- */
.actionbar { display: none; }
@media (max-width: 767px) {
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .actionbar.is-shown { transform: none; }
  .actionbar .btn { padding: 10px 6px; font-size: 14px; min-height: 46px; }
  .actionbar .btn--ghost { background: #fff; }
  body { padding-bottom: 78px; }
}

/* ---------- Aparición al hacer scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: flex; align-items: flex-end; gap: 12px; }
.wa-float__btn { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #1fa855; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease-back), background-color .2s; }
.wa-float__btn:hover { transform: scale(1.1); background: #11803f; }
.wa-float__btn svg { width: 32px; height: 32px; }
.wa-float__bubble { position: relative; max-width: 250px; background: #fff; color: var(--text); border-radius: var(--r) var(--r) 4px var(--r); box-shadow: var(--shadow-lg); padding: 14px 38px 14px 16px; font-size: 14px; line-height: 1.45; margin-bottom: 10px; }
.wa-float__close { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--muted); border-radius: 50%; }
.wa-float__close:hover { background: var(--sand); }
@media (prefers-reduced-motion: no-preference) {
  .wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fa855; animation: wa-ring 3s var(--ease) infinite; pointer-events: none; }
  .wa-float__btn.is-nudging svg { animation: wa-nudge .9s var(--ease); }
  .wa-float__bubble:not([hidden]) { animation: bubble-in .5s var(--ease-back) both; }
}
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes wa-nudge { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@media (max-width: 767px) { .wa-float { display: none; } }

/* ---------- Visor ---------- */
.viewer { width: min(1100px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--text); overflow: hidden; }
.viewer::backdrop { background: rgba(7, 29, 35, .82); backdrop-filter: blur(4px); }
.viewer__inner { display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.viewer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line); }
.viewer__title { font-size: 26px; }
.viewer__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sand); font-size: 26px; line-height: 1; cursor: pointer; transition: background-color .2s, transform .3s var(--ease-back); }
.viewer__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.viewer__stage { overflow: auto; padding: 16px; display: grid; place-items: center; background: var(--sand); }
.viewer__frame { position: relative; }
.viewer__frame img { max-height: calc(100vh - 150px); width: auto; border-radius: var(--r-sm); }
.viewer__mark { position: absolute; border: 3px solid var(--lime-bright); border-radius: 6px; box-shadow: 0 0 0 9999px rgba(7, 29, 35, .5); }
@media (prefers-reduced-motion: no-preference) {
  .viewer[open] { animation: viewer-in .35s var(--ease-back); }
  .viewer__mark:not([hidden]) { animation: mark-in .6s var(--ease-back) .15s both; }
}
@keyframes viewer-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes mark-in { from { opacity: 0; transform: scale(1.25); } }

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

/* =========================================================
   TIENDA: herramientas del encabezado, tarjetas, ficha, pedido, avisos, preguntas
   ========================================================= */

/* Encabezado: favoritas y pedido */
.nav__tools { display: flex; align-items: center; gap: 6px; margin-left: 20px; }
.tool { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; color: var(--text); cursor: pointer; text-decoration: none; transition: background-color .2s, transform .25s var(--ease-back); }
.tool:hover { background: var(--sand); transform: translateY(-1px); }
.tool svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.tool__badge { position: absolute; top: 3px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-ink); color: #fff; font: 700 11px/1 var(--font-text); box-shadow: 0 0 0 2px var(--ivory); }
.tool__badge--lime { background: var(--lime-bright); color: var(--ink); }
.is-bump { animation: bump .45s var(--ease-back); }
@keyframes bump { 40% { transform: scale(1.45); } }
@media (max-width: 900px) { .nav__tools { margin-left: auto; margin-right: 4px; gap: 0; } .nav__row { gap: 4px; } }

/* Tarjetas: corazón, título, agregar */
.card { position: relative; }
.card__fav { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 14px -8px rgba(11, 42, 51, .6); cursor: pointer; transition: transform .25s var(--ease-back), background-color .2s; }
.card__fav:hover { transform: scale(1.1); }
.card__fav svg, .ficha__fav svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linejoin: round; transition: fill .2s, stroke .2s; }
.card__fav[aria-pressed="true"] svg, .ficha__fav[aria-pressed="true"] svg { fill: #d94b63; stroke: #d94b63; }
.is-pop { animation: pop .5s var(--ease-back); }
@keyframes pop { 30% { transform: scale(1.35); } }
.card__open { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.card__open:hover { color: var(--brand-ink); }
.card__body > .card__price { margin-top: auto; padding-top: 10px; }
.card__foot { flex-direction: row !important; align-items: center !important; gap: 8px !important; margin-top: 12px; }
.card__add { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 14px/1 var(--font-text); cursor: pointer; transition: background-color .2s, transform .2s var(--ease-back); }
.card__add::before { content: "+"; font-size: 18px; line-height: 0; color: var(--lime-bright); }
.card__add:hover { background: var(--brand-ink); transform: translateY(-1px); }
.card__add:active { transform: scale(.96); }
.card__wa { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid #11803f; color: #11803f; transition: background-color .2s, color .2s; }
.card__wa:hover { background: #11803f; color: #fff; }
.card__wa svg { width: 20px; height: 20px; }
@media (max-width: 639px) { .card__add { font-size: 13px; padding: 10px; } .card__fav { width: 36px; height: 36px; top: 8px; right: 8px; } }

/* Barra del catálogo: favoritas y orden */
.catalog__bar { flex-wrap: wrap; }
.catalog__bar-left, .catalog__bar-right { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.favs-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 14px/1 var(--font-text); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.favs-toggle svg { width: 18px; height: 18px; fill: none; stroke: #d94b63; stroke-width: 1.8; }
.favs-toggle:hover { border-color: #d94b63; }
.favs-toggle[aria-pressed="true"] { background: #d94b63; border-color: #d94b63; color: #fff; }
.favs-toggle[aria-pressed="true"] svg { fill: #fff; stroke: #fff; }
.sort { display: inline-flex; align-items: center; gap: 8px; }
.sort__label { font-size: 13px; color: var(--muted); }
.sort select { min-height: 44px; padding: 8px 36px 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312262c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; font: 600 14px/1 var(--font-text); color: var(--text); appearance: none; cursor: pointer; }
.sort select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 639px) { .sort__label { display: none; } .catalog__bar-right { width: 100%; justify-content: space-between; } }

/* Pastillas genéricas */
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 13px/1 var(--font-text); color: var(--text); cursor: pointer; transition: border-color .2s, transform .2s var(--ease-back); }
.pill:hover { border-color: var(--brand-ink); transform: translateY(-1px); }
.pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.tag { display: inline-block; padding: 5px 9px; border-radius: 999px; font: 700 10px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.tag--kids { background: var(--lime-bright); color: var(--ink); }

/* Ficha de montura */
.ficha { width: min(1040px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--ivory); color: var(--text); overflow: hidden; box-shadow: var(--shadow-lg); }
.ficha::backdrop { background: rgba(7, 29, 35, .7); backdrop-filter: blur(4px); }
.ficha__close, .drawer__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -8px rgba(11, 42, 51, .5); font-size: 26px; line-height: 1; cursor: pointer; transition: transform .3s var(--ease-back), background-color .2s, color .2s; }
.ficha__close:hover, .drawer__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.ficha__body { max-height: calc(100vh - 32px); overflow: auto; padding: 32px; }
.ficha__grid { display: grid; gap: 32px; }
.ficha__img { border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, #eef3f3, #dfe7e8); }
.ficha__img img { width: 100%; aspect-ratio: 2 / 1.15; object-fit: cover; }
.ficha__media-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ficha__nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ficha__code { font: 600 12px/1 var(--font-text); letter-spacing: .14em; color: var(--brand-ink); display: flex; align-items: center; gap: 10px; }
.ficha__title { font-size: clamp(34px, 4vw, 48px); margin: 10px 0 8px; outline: none; }
.ficha__price { font: 600 18px/1.3 var(--font-text); }
.ficha__price span { font-weight: 400; color: var(--muted); font-size: 15px; }
.ficha__colors { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 18px; font-size: 14px; }
.ficha__colors li { display: inline-flex; align-items: center; gap: 8px; }
.ficha__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 1px solid var(--line); }
.ficha__specs div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ficha__specs dt { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.ficha__specs dd { font-weight: 600; font-size: 15px; }
.ficha__note { margin-top: 12px; font-size: 13px; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--lime); }
.ficha__lunas { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.lunas { display: flex; flex-wrap: wrap; gap: 8px; }
.luna { position: relative; }
.luna input { position: absolute; opacity: 0; pointer-events: none; }
.luna span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 500 14px/1 var(--font-text); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.luna span:hover { border-color: var(--brand-ink); }
.luna input:checked + span { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.luna input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.ficha__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.ficha__actions .btn { flex: 1 1 200px; }
.ficha__fav { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: transform .25s var(--ease-back), border-color .2s; }
.ficha__fav:hover { border-color: #d94b63; transform: scale(1.06); }
.ficha__similar { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .minis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mini { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0 0 10px; border: 0; border-radius: var(--r); background: #fff; overflow: hidden; text-align: left; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini img { width: 100%; aspect-ratio: 2 / 1.1; object-fit: cover; margin-bottom: 6px; }
.mini__code { padding: 0 12px; font: 600 11px/1 var(--font-text); letter-spacing: .12em; color: var(--brand-ink); }
.mini__name { padding: 0 12px; font: 600 18px/1.1 var(--font-display); }
@media (min-width: 860px) { .ficha__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } .ficha__body { padding: 40px; } }
@media (max-width: 599px) {
  .ficha { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .ficha__body { max-height: 100dvh; padding: 64px 16px 24px; }
  .ficha__specs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { .ficha[open] { animation: viewer-in .4s var(--ease-back); } }

/* Panel del pedido */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--ivory); color: var(--text); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5); }
.drawer::backdrop { background: rgba(7, 29, 35, .6); backdrop-filter: blur(3px); }
.drawer__inner { position: relative; display: flex; flex-direction: column; height: 100%; }
.drawer__head { padding: 22px 76px 18px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.drawer__head h2 { font-size: 34px; }
.drawer__head h2 span { font: 500 16px/1 var(--font-text); color: var(--muted); }
.drawer__close { top: 16px; }
.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 32px; }
.drawer__empty svg { width: 64px; height: 64px; fill: none; stroke: var(--brand-ink); stroke-width: 1.2; margin-bottom: 8px; }
.drawer__empty p { font: 600 26px/1.1 var(--font-display); }
.drawer__empty .drawer__hint { font: 400 15px/1.5 var(--font-text); color: var(--muted); max-width: 26em; margin-bottom: 12px; }
.drawer__list { flex: 1; overflow: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 96px 1fr 40px; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__img { padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; background: #e8eeee; cursor: pointer; }
.line__img img { width: 100%; aspect-ratio: 2 / 1.2; object-fit: cover; }
.line__code { font: 600 11px/1 var(--font-text); letter-spacing: .12em; color: var(--brand-ink); }
.line__name { font: 600 20px/1.1 var(--font-display); margin: 4px 0 8px; }
.line__luna { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.line__luna select { flex: 1; min-width: 0; min-height: 36px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font: 500 13px/1 var(--font-text); color: var(--text); }
.line__remove { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .2s; }
.line__remove:hover { background: #f6dede; }
.line__remove svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; }
.drawer__foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; display: grid; gap: 12px; }
.drawer__note .t-label { margin-bottom: 8px; }
.drawer__note textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--ivory); font: 400 14px/1.4 var(--font-text); color: var(--text); resize: vertical; }
.drawer__note textarea:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 4px rgba(0, 142, 180, .15); }
.drawer__info { font-size: 13px; color: var(--muted); line-height: 1.5; }
.btn--wa-solid { width: 100%; background: #1fa855; color: #fff; box-shadow: 0 12px 26px -14px rgba(31, 168, 85, .9); }
.btn--wa-solid:hover { background: #11803f; }
.btn--wa-solid svg { width: 22px; height: 22px; }
.drawer__clear { justify-self: center; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .drawer[open] { animation: drawer-in .45s var(--ease); } }
@keyframes drawer-in { from { transform: translateX(100%); } }

/* Avisos emergentes */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); pointer-events: auto; }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-bright); flex: none; }
.toast__action { min-height: 36px; padding: 6px 14px; border: 0; border-radius: 999px; background: var(--lime-bright); color: var(--ink); font: 700 13px/1 var(--font-text); cursor: pointer; white-space: nowrap; }
.toast__action:hover { background: #b8dc35; }
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: toast-in .4s var(--ease-back); }
  .toast.is-leaving { animation: toast-out .25s var(--ease) forwards; }
}
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.95); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
@media (max-width: 767px) { .toasts { bottom: 92px; } .toast { border-radius: var(--r); } }

/* Preguntas frecuentes */
.faq { background: var(--sand); }
.faq__grid { display: grid; gap: 40px; }
.faq__head h2 em { color: var(--brand-ink); }
.faq__head .head-row__side { margin: 16px 0 24px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; min-height: 44px; font: 600 24px/1.2 var(--font-display); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--brand-ink); font: 400 22px/1 var(--font-text); transition: transform .35s var(--ease-back), background-color .2s, color .2s; }
.qa[open] summary::after { transform: rotate(45deg); background: var(--brand-ink); color: #fff; }
.qa summary:hover { color: var(--brand-ink); }
.qa p { padding: 0 48px 22px 0; color: var(--muted); font-size: 15.5px; }
@media (prefers-reduced-motion: no-preference) { .qa[open] p { animation: qa-in .4s var(--ease); } }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq__head { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }
.ficha__actions { display: grid !important; grid-template-columns: 1fr 1fr 50px; }
.ficha__actions .btn { flex: none; padding: 13px 16px; font-size: 14px; }
@media (max-width: 599px) { .ficha__actions { grid-template-columns: 1fr 50px; } .ficha__actions .btn--wa { grid-column: 1 / -1; grid-row: 2; } }
.drawer { max-width: 100vw; left: auto; right: 0; }

/* =========================================================
   EXTRAS: test, comprar por color, recientes, guía de lunas, reserva
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card__flag--tag { background: var(--brand-ink); }

/* Enlace al test en la portada */
.hero__quiz { margin-top: 20px; font-size: 15px; color: var(--on-dark-muted); }
.hero__quiz-btn { padding: 6px 0; min-height: 44px; border: 0; background: none; color: var(--lime-bright); font: 600 15px/1.2 var(--font-text); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.hero__quiz-btn span { display: inline-block; transition: transform .25s var(--ease); }
.hero__quiz-btn:hover span { transform: translateX(4px); }

/* Comprar por color + anuncio del test */
.shop-more { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 1000px) { .shop-more { grid-template-columns: 1.3fr 1fr; align-items: stretch; } }
.colors { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: 0 0 0 1px var(--line); }
.colors__list { display: flex; flex-wrap: wrap; gap: 10px; }
.color-pick { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--ivory); border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; transition: transform .25s var(--ease-back), border-color .2s, box-shadow .25s; }
.color-pick:hover { transform: translateY(-2px); border-color: var(--brand-ink); box-shadow: var(--shadow); }
.color-pick__dot { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px #fff; transition: transform .35s var(--ease-back); }
.color-pick:hover .color-pick__dot { transform: scale(1.12) rotate(-12deg); }
.color-pick__n { font-size: 12px; color: var(--muted); font-weight: 500; }
.quiz-promo { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: radial-gradient(120% 140% at 0% 0%, var(--ink-3), var(--ink) 60%); color: #fff; }
.quiz-promo .btn { grid-column: 1 / -1; justify-self: start; }
.quiz-promo__icon { width: 64px; height: 64px; fill: none; stroke: var(--lime-bright); stroke-width: 1.6; stroke-linecap: round; }
.quiz-promo__title { font: 600 28px/1.1 var(--font-display); }
.quiz-promo__text { color: var(--on-dark-muted); font-size: 14.5px; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) { .quiz-promo__icon { animation: float 4s ease-in-out infinite; } }
@keyframes float { 50% { transform: translateY(-5px) rotate(-4deg); } }

/* Vistas recientemente */
.recent { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.recent .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .recent .minis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .recent .minis { grid-template-columns: repeat(6, minmax(0, 1fr)); } .recent .mini__name { font-size: 15px; } }

/* Guía de lunas */
.guide { background: var(--ivory); }
.guide .head-row h2 em { color: var(--brand-ink); }
.guide__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .guide__grid { grid-template-columns: 1.4fr 1fr; gap: 40px; } .asesor { position: sticky; top: calc(var(--nav-h) + 24px); } }
.lenses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 599px) { .lenses { grid-template-columns: 1fr; } }
.lens { position: relative; padding: 22px 22px 20px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); transition: transform .35s var(--ease), box-shadow .35s; }
.lens:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lens:target { box-shadow: 0 0 0 2px var(--lime), var(--shadow); }
.lens__n { font: 600 12px/1 var(--font-text); letter-spacing: .12em; color: var(--lime-ink); }
.lens h3 { font-size: 28px; margin: 8px 0 6px; }
.lens p { color: var(--muted); font-size: 15px; }
.lens::after { content: ""; position: absolute; right: 18px; top: 18px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--brand); opacity: .35; }
.asesor { padding: 28px; border-radius: var(--r-lg); background: radial-gradient(120% 120% at 100% 0%, var(--ink-3), var(--ink) 65%); color: var(--on-dark); }
.asesor h3 { font-size: 34px; color: #fff; }
.asesor__lead { color: var(--on-dark-muted); margin: 6px 0 18px; font-size: 15px; }
.asesor__usos { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.uso { position: relative; }
.uso input { position: absolute; opacity: 0; pointer-events: none; }
.uso span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28); font: 500 14px/1.2 var(--font-text); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.uso span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid rgba(255, 255, 255, .6); transition: background-color .2s, border-color .2s; }
.uso span:hover { border-color: #fff; }
.uso input:checked + span { background: var(--lime-bright); border-color: var(--lime-bright); color: var(--ink); }
.uso input:checked + span::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--lime-bright); }
.uso input:focus-visible + span { outline: 3px solid var(--lime-bright); outline-offset: 2px; }
.asesor__out { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.asesor__out .t-label { color: #fff; }
.asesor__empty { color: var(--on-dark-muted); font-size: 14.5px; }
.asesor__lunas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.asesor__lunas a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font: italic 600 20px/1 var(--font-display); text-decoration: none; transition: background-color .2s; }
.asesor__lunas a:hover { background: rgba(255, 255, 255, .22); }
.asesor__why { margin-bottom: 18px; }
.asesor__why li { position: relative; padding-left: 18px; color: var(--on-dark-muted); font-size: 14px; margin-top: 6px; }
.asesor__why li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-bright); }
.asesor .btn--wa { background: #fff; }
@media (prefers-reduced-motion: no-preference) { .asesor__lunas li { animation: card-in .45s var(--ease-back) both; } .asesor__lunas li:nth-child(2) { animation-delay: .05s; } .asesor__lunas li:nth-child(3) { animation-delay: .1s; } }

/* Reserva tu visita */
.booking { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 100% 100%, var(--ink-3), var(--ink) 60%); color: var(--on-dark); }
.booking h2 { color: #fff; }
.booking h2 em { color: var(--lime-bright); }
.booking__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .booking__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.booking__lead { color: var(--on-dark-muted); font-size: 17px; margin: 18px 0 24px; max-width: 30em; }
.booking__points { display: grid; gap: 10px; }
.booking__points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.booking__points li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--lime-bright); color: var(--ink); font-size: 13px; font-weight: 700; }
.booking__form { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--ivory); color: var(--text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.field { display: grid; gap: 6px; }
.field__label { font-size: 13px; font-weight: 600; }
.field select, .field input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font: 500 15px/1.2 var(--font-text); color: var(--text); }
.field select:focus, .field input:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 4px rgba(0, 142, 180, .18); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field__error { color: #b3261e; font-size: 13px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }
.booking__hint { font-size: 13px; color: var(--muted); text-align: center; }

/* Opinión en Google */
.visit__review { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ivory); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s; }
.visit__review:hover { background: #eef6d6; }
.visit__stars { color: #e0a800; letter-spacing: 2px; font-size: 16px; }

/* Diálogo del test */
.quiz { width: min(720px, 100vw - 32px); max-width: 100vw; max-height: calc(100vh - 32px); padding: 28px 32px 32px; border: 0; border-radius: var(--r-lg); background: var(--ivory); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; }
.quiz::backdrop { background: rgba(7, 29, 35, .72); backdrop-filter: blur(4px); }
.quiz__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.quiz__count { font: 600 12px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.quiz__close { position: static; }
.quiz__bar { height: 4px; border-radius: 4px; background: var(--line); margin: 14px 0 26px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); min-width: 8%; background: linear-gradient(90deg, var(--brand), var(--lime-bright)); border-radius: inherit; transition: width .5s var(--ease); }
.quiz__bar { --p: 0; }
.quiz__bar span { width: calc(var(--p) * 100%); }
.quiz__q { font: 600 clamp(30px, 4vw, 40px)/1.1 var(--font-display); margin-bottom: 22px; }
.quiz__opts { display: grid; gap: 12px; }
.quiz__opts--2 { grid-template-columns: 1fr 1fr; }
.quiz__opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .quiz__opts--3 { grid-template-columns: 1fr 1fr; } .quiz { padding: 20px; } }
.opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 130px; padding: 18px 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font: 600 15px/1.25 var(--font-text); color: var(--text); text-align: center; cursor: pointer; transition: transform .3s var(--ease-back), border-color .2s, box-shadow .3s, background-color .2s; }
.opt svg { width: 52px; height: 52px; fill: none; stroke: var(--brand-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-back); }
.opt small { display: block; margin-top: 4px; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.opt:hover { transform: translateY(-3px); border-color: var(--brand-ink); box-shadow: var(--shadow); }
.opt:hover svg { transform: scale(1.1); }
.opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt[aria-pressed="true"] svg { stroke: var(--lime-bright); }
.opt[aria-pressed="true"] small { color: var(--on-dark-muted); }
.quiz__text { color: var(--muted); margin: -8px 0 18px; }
.quiz__note { font-size: 13px; color: var(--muted); margin-top: 16px; padding-left: 12px; border-left: 3px solid var(--lime); }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.quiz__back { margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .quiz[open] { animation: viewer-in .4s var(--ease-back); }
  .quiz__step:not([hidden]) { animation: step-in .45s var(--ease) both; }
  .quiz__step:not([hidden]) .opt { animation: card-in .5s var(--ease-back) both; }
  .quiz__step:not([hidden]) .opt:nth-child(2) { animation-delay: .05s; }
  .quiz__step:not([hidden]) .opt:nth-child(3) { animation-delay: .1s; }
  .quiz__step:not([hidden]) .opt:nth-child(4) { animation-delay: .15s; }
  .quiz__step:not([hidden]) .opt:nth-child(5) { animation-delay: .2s; }
  .quiz__step:not([hidden]) .opt:nth-child(6) { animation-delay: .25s; }
}
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }

/* =========================================================
   MÁS: comparar en tarjetas, configurador, buscador, comparador, ayuda
   ========================================================= */

/* Botón comparar en la tarjeta */
.card__cmp { position: absolute; top: 56px; right: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 14px -8px rgba(11, 42, 51, .6); cursor: pointer; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease-back), background-color .2s; }
.card:hover .card__cmp, .card__cmp:focus-visible, .card__cmp[aria-pressed="true"] { opacity: 1; transform: none; }
.card__cmp svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; }
.card__cmp[aria-pressed="true"] { background: var(--brand-ink); }
.card__cmp[aria-pressed="true"] svg { stroke: #fff; }
@media (hover: none) { .card__cmp { opacity: 1; transform: none; } }
@media (max-width: 639px) { .card__cmp { top: 50px; right: 8px; width: 36px; height: 36px; } }
.pill[aria-pressed="true"] { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }

/* Configurador de lunas */
.config { display: grid; gap: 16px; }
.config__step { transition: opacity .25s; }
.config__step.is-off { opacity: .4; }
.config__h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; font-size: 14px; }
.config__h small { font-weight: 400; color: var(--muted); }
.config__n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--lime-bright); font-size: 12px; font-weight: 700; }
.luna--check span::before { content: ""; width: 14px; height: 14px; margin-right: 8px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .6; }
.luna--check input:checked + span::before { background: #fff; opacity: 1; box-shadow: inset 0 0 0 3px var(--brand-ink); }
.luna input:disabled + span { cursor: not-allowed; }
.config__sum { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: #eef6d6; font-size: 14px; }
.line__luna { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.line__luna span { font-weight: 600; color: var(--text); }
.line__edit { padding: 0; margin-left: 4px; min-height: 0; border: 0; background: none; color: var(--brand-ink); font: 600 13px/1.4 var(--font-text); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* Buscador */
.sx { width: min(760px, 100vw - 32px); max-width: 100vw; max-height: calc(100vh - 80px); margin: 56px auto auto; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--ivory); color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
.sx::backdrop { background: rgba(7, 29, 35, .6); backdrop-filter: blur(4px); }
.sx__head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); background: #fff; }
.sx__field { position: relative; flex: 1; }
.sx__field svg { position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--brand-ink); stroke-width: 2; stroke-linecap: round; }
.sx__field input { width: 100%; min-height: 56px; padding: 12px 16px 12px 50px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--ivory); font: 500 17px/1.2 var(--font-text); color: var(--text); }
.sx__field input:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 4px rgba(0, 142, 180, .18); }
.sx__close { position: static; flex: none; }
.sx__out { max-height: calc(100vh - 190px); overflow: auto; padding: 20px; }
.sx__label { font: 600 12px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 4px 0 12px; }
.sx__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sx__tag { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--lime-bright); font-weight: 600; font-size: 13px; }
.sx__note { font-size: 13.5px; color: var(--muted); margin: -6px 0 16px; padding-left: 12px; border-left: 3px solid var(--lime); }
.sx__list { display: grid; gap: 8px; }
.sx__item { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: var(--r); background: #fff; text-align: left; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.sx__item:hover, .sx__item:focus-visible { transform: translateX(4px); box-shadow: 0 0 0 1.5px var(--brand-ink), var(--shadow); }
.sx__item img { width: 100%; aspect-ratio: 2 / 1.1; object-fit: cover; border-radius: var(--r-sm); }
.sx__item > span { display: grid; gap: 2px; }
.sx__code { font: 600 11px/1 var(--font-text); letter-spacing: .12em; color: var(--brand-ink); }
.sx__name { font: 600 22px/1.1 var(--font-display); }
.sx__meta { font-size: 13px; color: var(--muted); }
.sx__all { width: 100%; margin-top: 16px; }
.sx__empty { display: grid; gap: 14px; justify-items: start; padding: 18px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.sx__empty .sx__chips { margin: 0; }
@media (max-width: 599px) { .sx { margin-top: 12px; width: calc(100vw - 16px); } .sx__item { grid-template-columns: 96px 1fr; } .sx__name { font-size: 18px; } }
@media (prefers-reduced-motion: no-preference) { .sx[open] { animation: viewer-in .35s var(--ease-back); } .sx__list li { animation: card-in .4s var(--ease-back) both; } .sx__list li:nth-child(2) { animation-delay: .04s; } .sx__list li:nth-child(3) { animation-delay: .08s; } .sx__list li:nth-child(4) { animation-delay: .12s; } }

/* Barra de comparación */
.cmpbar { position: fixed; left: 50%; bottom: 20px; z-index: 46; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .6); transform: translateX(-50%); }
.cmpbar__title { font: italic 600 20px/1 var(--font-display); }
.cmpbar__thumbs { display: flex; gap: 6px; }
.cmpbar__thumbs li { position: relative; width: 64px; height: 38px; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.cmpbar__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cmpbar__slot { border: 1.5px dashed rgba(255, 255, 255, .3); }
.cmpbar__x { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.cmpbar__go { min-height: 44px; padding: 10px 20px; background: var(--lime-bright); color: var(--ink); box-shadow: none; }
.cmpbar__go:hover { background: #b8dc35; }
.cmpbar__go:disabled { background: rgba(255, 255, 255, .15); color: var(--on-dark-muted); cursor: default; transform: none; }
.cmpbar__clear { color: var(--on-dark-muted); padding: 10px 8px; }
@media (prefers-reduced-motion: no-preference) { .cmpbar:not([hidden]) { animation: cmpbar-in .45s var(--ease-back); } }
@keyframes cmpbar-in { from { opacity: 0; transform: translate(-50%, 20px); } }
@media (min-width: 768px) { body.has-cmpbar .wa-float { bottom: 96px; } }
@media (max-width: 767px) {
  .cmpbar { left: 8px; right: 8px; bottom: 74px; transform: none; border-radius: var(--r); gap: 8px; padding: 8px 8px 8px 12px; justify-content: space-between; }
  .cmpbar__title, .cmpbar__clear { display: none; }
  .cmpbar__thumbs li { width: 48px; height: 30px; }
  @keyframes cmpbar-in { from { opacity: 0; transform: translateY(20px); } }
  body.has-cmpbar .toasts { bottom: 150px; }
}

/* Diálogo de comparación */
.cmp { width: min(1000px, 100vw - 32px); max-width: 100vw; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--ivory); color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
.cmp::backdrop { background: rgba(7, 29, 35, .7); backdrop-filter: blur(4px); }
.cmp__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 12px 28px; }
.cmp__head h2 { font-size: 36px; }
.cmp__close { position: static; }
.cmp__note { padding: 0 28px 14px; font-size: 13px; color: var(--muted); }
.cmp__scroll { max-height: calc(100vh - 170px); overflow: auto; padding: 0 20px 24px; }
.cmp__table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; }
.cmp__table th, .cmp__table td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cmp__table tbody th { width: 120px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cmp__table thead th { border-bottom: 0; }
.cmp__img { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: #e8eeee; cursor: pointer; margin-bottom: 10px; }
.cmp__img img { width: 100%; aspect-ratio: 2 / 1.15; object-fit: cover; transition: transform .5s var(--ease); }
.cmp__img:hover img { transform: scale(1.05); }
.cmp__code { display: block; font: 600 11px/1 var(--font-text); letter-spacing: .12em; color: var(--brand-ink); }
.cmp__name { display: block; font: 600 22px/1.1 var(--font-display); margin-top: 4px; }
.cmp__color { display: inline-flex; align-items: center; gap: 6px; margin: 0 10px 4px 0; }
.cmp__actions { display: grid; gap: 4px; justify-items: start; }
.cmp__actions .card__add { flex: none; width: 100%; }
@media (prefers-reduced-motion: no-preference) { .cmp[open] { animation: viewer-in .4s var(--ease-back); } }

/* Ayuda para comprar */
.help { background: var(--sand); }
.help .head-row h2 em { color: var(--brand-ink); }
.help__grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .help__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.help__card { padding: 30px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.help__card h3 { font-size: 34px; }
.help__lead { color: var(--muted); margin: 8px 0 20px; font-size: 15px; }
.help__card > .btn { margin-top: auto; align-self: flex-start; }
.rx { display: grid; gap: 0; margin-bottom: 24px; }
.rx div { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rx dt { font: 700 13px/1.2 var(--font-text); letter-spacing: .06em; color: var(--brand-ink); }
.rx dd { font-size: 14.5px; }
.size { margin: 0 0 18px; padding: 18px; border-radius: var(--r); background: var(--ivory); }
.size svg { display: block; width: 100%; height: auto; overflow: visible; }
.size__frame { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.size__dim { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; }
.size__dim--2 { stroke: var(--lime); }
.size__t { font: 700 15px var(--font-text); fill: var(--brand-ink); text-anchor: middle; }
.size__t--2 { fill: var(--lime-ink); }
.size__t--3 { fill: var(--text); }
.size__legend { display: grid; gap: 10px; margin-bottom: 16px; }
.size__legend li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.size__key { display: grid; place-items: center; min-width: 46px; height: 30px; padding: 0 8px; border-radius: 999px; background: #e1f3f8; color: var(--brand-ink); font-weight: 700; font-size: 13px; }
.size__key--2 { background: #eef6d6; color: var(--lime-ink); }
.size__key--3 { background: var(--sand); color: var(--text); }
.help__tip { font-size: 13.5px; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--lime); }
@media (prefers-reduced-motion: no-preference) {
  .help__card.is-in .size__dim { stroke-dasharray: 140; animation: draw 1.2s var(--ease) .3s both; }
  .help__card.is-in .size__dim--2 { animation-delay: .6s; }
}
@keyframes draw { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }
@media (max-width: 599px) { .help__card { padding: 22px; } .rx div { grid-template-columns: 64px 1fr; } }
@media (max-width: 400px) {
  .nav__logo img { height: 40px; }
  .tool { width: 40px; height: 40px; }
  .tool svg { width: 22px; height: 22px; }
  .nav__toggle { padding: 8px; }
  .nav__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
