/* =====================================================================
   CRISPA — TIENDA  ·  Rediseño "Maison"
   Esencia: vino, dorado champán, Bodoni y el logo espaciado.
   Colores y tipografía de texto se controlan desde el panel.
   ===================================================================== */

:root {
  /* Marca (editables desde el panel) */
  --primary-color: #5a0914;
  --accent-color: #d1b894;
  --bg-color: #ffffff;
  --font-family: 'Jost', sans-serif;

  /* Derivados */
  --ink: #1c1214;
  --ink-soft: #564a4d;
  --muted: #8e8386;
  --line: color-mix(in srgb, var(--ink) 9%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 16%, transparent);
  --tint: color-mix(in srgb, var(--accent-color) 13%, var(--bg-color));
  --tint-strong: color-mix(in srgb, var(--accent-color) 28%, var(--bg-color));
  --wine-deep: color-mix(in srgb, var(--primary-color) 62%, #0d0204);
  --wine-dark: color-mix(in srgb, var(--primary-color) 80%, #000);
  --ivory: #f7f1ea;
  --gold-soft: color-mix(in srgb, var(--accent-color) 70%, transparent);
  --display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 20px;
  --shadow: 0 24px 50px -30px rgba(40, 8, 14, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
  --page: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-color); color: var(--ink);
  font-family: var(--font-family); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font-family: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }
::selection { background: var(--primary-color); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =====================================================================
   CABECERA
   ===================================================================== */
.ticker-wrapper {
  background: var(--wine-deep); color: var(--ivory); overflow: hidden; white-space: nowrap;
  padding: 9px 0; font-size: .72rem; letter-spacing: .06em;
}
.ticker-content { display: inline-block; animation: marquee 38s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 40px; }
.ticker-item i { color: var(--accent-color); font-size: .8em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.navbar {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px max(4%, calc((100% - 1440px) / 2));
  background: color-mix(in srgb, var(--bg-color) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}
.navbar.scrolled { padding-top: 10px; padding-bottom: 10px; box-shadow: 0 10px 30px -24px rgba(28, 18, 20, .5); }

.nav-menu { display: flex; gap: 30px; }
.nav-link {
  background: none; border: none; cursor: pointer; position: relative;
  font-size: .84rem; color: var(--ink-soft); padding: 6px 0; letter-spacing: .01em; transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px;
  background: var(--accent-color); transform: rotate(45deg) scale(0); transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--primary-color); }
.nav-link.active::after { transform: rotate(45deg) scale(1); bottom: -8px; }

.nav-brand { justify-self: center; text-align: center; text-decoration: none; line-height: 1; }
.logo-text {
  font-family: var(--display); font-weight: 600; color: var(--primary-color);
  font-size: 2.05rem; letter-spacing: .34em; margin-right: -.34em; transition: font-size .35s var(--ease);
}
.navbar.scrolled .logo-text { font-size: 1.7rem; }
.logo-sub {
  display: block; margin-top: 6px; font-size: .6rem; letter-spacing: .42em; margin-right: -.42em;
  color: var(--muted); transition: opacity .3s, height .3s;
}
.navbar.scrolled .logo-sub { opacity: 0; height: 0; margin-top: 0; }

.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--ink); font-size: 1.02rem; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--tint); color: var(--primary-color); }
.icon-count {
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--primary-color); color: #fff; font-size: .6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--bg-color);
}
.icon-count:empty, .icon-count[data-count="0"] { display: none; }
.icon-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.22); } }
.mobile-menu-toggle { display: none; }

/* =====================================================================
   CARRUSEL (se conserva completo: flechas, puntos, contador, deslizar)
   ===================================================================== */
.hero-banner-container { max-width: 1440px; margin: 22px auto 0; padding: 0 max(4%, 24px); }
.slider-wrapper {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  background: var(--tint); box-shadow: var(--shadow); touch-action: pan-y; isolation: isolate;
}
.slider-wrapper::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 38%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(20, 5, 8, .38), transparent);
}
.slides-track { display: flex; transition: transform .8s var(--ease); }
.slide-item { min-width: 100%; position: relative; }
.hero-banner-img { width: 100%; height: clamp(240px, 36vw, 540px); object-fit: cover; }

.slide-btn {
  position: absolute; bottom: 22px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.14); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: .85rem;
  transition: background .25s, color .25s, border-color .25s;
}
.slide-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.slide-prev { right: 76px; }
.slide-next { right: 24px; }
.slide-dots { position: absolute; left: 28px; bottom: 40px; z-index: 3; display: flex; gap: 8px; }
.slide-dot { width: 34px; height: 2px; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.slide-dot.active::after {
  content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left;
  animation: dotFill var(--slide-time, 4.5s) linear forwards;
}
.slider-wrapper.paused .slide-dot.active::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slide-counter {
  position: absolute; left: 28px; bottom: 52px; z-index: 3; color: #fff;
  font-family: var(--display); font-size: .95rem; letter-spacing: .08em;
}

/* =====================================================================
   BASE DE SECCIONES
   ===================================================================== */
.container { max-width: var(--page); margin: 0 auto; padding: 64px 5%; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: tabIn .5s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-title {
  font-family: var(--display); font-weight: 400; color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -.015em;
}
.section-sub { color: var(--muted); font-size: .92rem; max-width: 52ch; margin-top: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 40px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-size: .84rem; font-weight: 600; letter-spacing: .02em;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: var(--wine-dark); }
.btn-outline { background: transparent; color: var(--primary-color); border-color: color-mix(in srgb, var(--primary-color) 45%, transparent); }
.btn-outline:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn-ghost { background: var(--tint); color: var(--ink); }
.btn-ghost:hover { background: var(--tint-strong); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb957; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: none; color: var(--primary-color); cursor: pointer; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--accent-color); }
.ornament span { width: 64px; height: 1px; background: currentColor; opacity: .8; }
.ornament i { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }

/* =====================================================================
   FRAGANCIA DEL MES — el momento protagonista (banda vino)
   ===================================================================== */
.spotlight {
  position: relative; overflow: hidden; margin-bottom: 84px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch;
  border-radius: var(--radius-l); background: var(--wine-deep); color: var(--ivory);
}
.spotlight::before {
  content: ''; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent); pointer-events: none;
}
.spotlight::after {
  content: ''; position: absolute; right: -90px; top: -90px; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color) 18%, transparent); pointer-events: none;
}
.spotlight-media { position: relative; min-height: 460px; cursor: pointer; overflow: hidden; background: var(--wine-dark); }
.spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.spotlight-media:hover img { transform: scale(1.04); }
.spotlight-body { position: relative; z-index: 1; padding: clamp(36px, 6vw, 80px); align-self: center; max-width: 560px; }
.spotlight-kicker { display: inline-flex; align-items: center; gap: 14px; font-size: .8rem; color: var(--accent-color); margin-bottom: 22px; letter-spacing: .04em; }
.spotlight-kicker i { display: block; width: 40px; height: 1px; background: var(--accent-color); }
.spotlight-title {
  font-family: var(--display); font-weight: 400; color: #fff;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: .98; letter-spacing: -.02em; margin-bottom: 14px;
}
.spotlight-brand { color: color-mix(in srgb, var(--ivory) 65%, transparent); font-size: .88rem; margin-bottom: 26px; }
.spotlight-text {
  color: color-mix(in srgb, var(--ivory) 85%, transparent); font-size: 1rem; line-height: 1.85; margin-bottom: 30px;
  padding-left: 20px; border-left: 1px solid var(--gold-soft); max-width: 44ch;
}
.spotlight-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.spotlight-price .price-now { font-family: var(--display); font-size: 2.3rem; color: var(--accent-color); }
.spotlight-price .price-old { color: color-mix(in srgb, var(--ivory) 50%, transparent); }
.spotlight-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.spotlight .btn-primary { background: var(--accent-color); color: var(--ink); }
.spotlight .btn-primary:hover { background: #fff; }
.spotlight .btn-outline { color: var(--ivory); border-color: color-mix(in srgb, var(--ivory) 40%, transparent); }
.spotlight .btn-outline:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* =====================================================================
   SELECCIÓN DESTACADA
   ===================================================================== */
.featured-block { margin-bottom: 84px; }
.featured-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4.3);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin;
  scrollbar-color: var(--tint-strong) transparent;
}
.featured-row .product-card { scroll-snap-align: start; }
.featured-row .product-media::after {
  content: ''; position: absolute; inset: 10px; z-index: 1; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--accent-color) 70%, transparent); border-radius: 10px;
}
.row-arrows { display: flex; gap: 8px; }
.row-arrows button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer; color: var(--ink); transition: all .2s;
}
.row-arrows button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =====================================================================
   CATÁLOGO: herramientas y categorías
   ===================================================================== */
.catalog-tools {
  display: grid; grid-template-columns: minmax(240px, 1.7fr) repeat(2, minmax(160px, 1fr)) auto;
  gap: 12px; align-items: center; margin-bottom: 8px;
}
.tools-extra { display: contents; }
.filters-toggle, .review-form-toggle { display: none; }

.search-box { position: relative; }
.search-box i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; }
.search-box input, .select-field {
  width: 100%; height: 50px; border: 1px solid var(--line-strong); border-radius: 40px;
  background: var(--bg-color); font-family: inherit; font-size: .86rem; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-box input { padding: 0 44px 0 48px; }
.search-box input::placeholder { color: var(--muted); }
.search-clear {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px;
  border-radius: 50%; border: none; background: var(--tint); cursor: pointer; display: none; color: var(--ink-soft);
}
.search-box.has-value .search-clear { display: block; }
.select-field {
  padding: 0 42px 0 20px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%238e8386' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center;
}
.search-box input:focus, .select-field:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-color) 9%, transparent); }

.toggle-group { display: flex; gap: 8px; }
.toggle-chip {
  height: 50px; padding: 0 18px; border-radius: 40px; border: 1px solid var(--line-strong);
  background: var(--bg-color); font-size: .8rem; cursor: pointer; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: all .2s;
}
.toggle-chip:hover { border-color: var(--ink); color: var(--ink); }
.toggle-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Categorías: pestañas elegantes que se quedan fijas al bajar */
.category-pills {
  position: sticky; top: var(--nav-h); z-index: 50;
  display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none;
  margin: 18px 0 8px; padding: 16px 0 0;
  background: var(--bg-color);
  /* fondo de lado a lado para que los productos no se vean por detrás */
  box-shadow: 0 0 0 100vmax var(--bg-color); clip-path: inset(0 -100vmax);
  border-bottom: 1px solid var(--line);
}
.category-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0; position: relative; background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: baseline; gap: 6px; padding: 0 0 14px;
  font-family: var(--display); font-size: 1.08rem; color: var(--muted); transition: color .25s;
}
.cat-pill i { display: none; }
.cat-pill .pill-count { font-family: var(--font-family); font-size: .66rem; color: var(--muted); transform: translateY(-6px); }
.cat-pill::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--primary-color); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.cat-pill:hover { color: var(--ink); }
.cat-pill.active { color: var(--ink); }
.cat-pill.active::after { transform: scaleX(1); }
.cat-pill.highlight { color: var(--primary-color); }
.cat-pill.highlight.active::after { background: var(--accent-color); }

.results-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted); margin: 18px 0 28px;
}
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 20px; cursor: pointer;
  background: var(--tint); color: var(--ink); font-size: .75rem; border: none;
}
.filter-tag:hover { background: var(--tint-strong); }

/* =====================================================================
   TARJETA DE PRODUCTO
   ===================================================================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 52px 28px; min-height: 300px; }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-m); overflow: hidden;
  background: var(--tint); cursor: pointer; isolation: isolate;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform 1s var(--ease); }
.product-media img.loaded { opacity: 1; }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-card.is-out .product-media img { filter: grayscale(.85); opacity: .65; }
.product-media .alt-img { position: absolute; inset: 0; opacity: 0; z-index: 1; }
@media (hover: hover) { .product-card.has-alt:hover .product-media .alt-img { opacity: 1; } }

.badge-stack { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge-tag {
  font-size: .66rem; font-weight: 600; letter-spacing: .04em; padding: 5px 11px; border-radius: 20px;
  background: var(--bg-color); color: var(--ink);
}
.badge-sale { background: var(--primary-color); color: #fff; }
.badge-combo { background: var(--accent-color); color: var(--ink); }
.badge-new { background: var(--bg-color); color: var(--primary-color); }
.badge-out { background: var(--ink); color: #fff; }

.fav-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: none; cursor: pointer; background: color-mix(in srgb, var(--bg-color) 88%, transparent); color: var(--ink);
  display: flex; align-items: center; justify-content: center; transition: transform .2s, color .2s;
}
.fav-btn:hover { transform: scale(1.08); color: var(--primary-color); }
.fav-btn.active { color: var(--primary-color); }
.fav-btn.active i { animation: bump .4s var(--ease); }

.quick-view-btn {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; padding: 12px; border-radius: 30px; border: none;
  background: color-mix(in srgb, var(--bg-color) 92%, transparent); color: var(--ink); cursor: pointer;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em; backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s;
}
.quick-view-btn:hover { background: var(--ink); color: #fff; }
.product-card:hover .quick-view-btn, .quick-view-btn:focus-visible { opacity: 1; transform: none; }

.product-info { padding: 18px 2px 0; display: flex; flex-direction: column; flex-grow: 1; }
.product-brand { font-size: .76rem; color: var(--muted); letter-spacing: .02em; }
.product-title {
  font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.2; color: var(--ink);
  margin: 4px 0 12px; cursor: pointer; transition: color .2s;
}
.product-title:hover { color: var(--primary-color); }
.product-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price-now { font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.product-card .has-sale .price-now { color: var(--primary-color); }
.price-old { text-decoration: line-through; color: var(--muted); font-size: .8rem; }
.cents { font-size: .6em; vertical-align: .42em; margin-left: 1px; letter-spacing: 0; }
.btn-add-cart {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; cursor: pointer; font-size: .85rem;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); transition: all .25s;
}
.btn-add-cart:hover:not(:disabled) { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.btn-add-cart:disabled { color: var(--muted); cursor: not-allowed; }

.skeleton .product-media { animation: shimmer 1.4s infinite; }
.skeleton .sk-line { height: 11px; border-radius: 6px; background: var(--tint); margin-top: 12px; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 50% { opacity: .5; } }

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 64px 20px; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--radius-m);
}
.empty-state i { font-size: 1.8rem; color: var(--accent-color); margin-bottom: 14px; display: block; }
.empty-state p { margin-bottom: 18px; }

.pagination-wrapper { margin-top: 64px; text-align: center; }
.pagination-info { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.page-btn {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; border: 1px solid transparent;
  background: transparent; color: var(--ink-soft); font-family: var(--display); font-size: 1rem; cursor: pointer; transition: all .2s;
}
.page-btn:hover:not(:disabled) { border-color: var(--line-strong); color: var(--ink); }
.page-btn.active { background: var(--ink); color: #fff; }
.page-btn:disabled { opacity: .3; cursor: not-allowed; }

/* =====================================================================
   INVITACIÓN AL BUSCADOR DE FRAGANCIA
   ===================================================================== */
.finder-cta {
  margin-top: 96px; border-radius: var(--radius-l); overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; background: var(--tint); color: var(--ink);
}
.finder-cta-text { padding: clamp(36px, 5vw, 64px); }
.finder-cta h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.08; margin-bottom: 14px; }
.finder-cta p { color: var(--ink-soft); max-width: 44ch; margin-bottom: 28px; }
.finder-cta .btn { background: var(--primary-color); color: #fff; }
.finder-cta .btn:hover { background: var(--wine-dark); }
.finder-cta-art {
  position: relative; min-height: 240px;
  background:
    radial-gradient(circle at 50% 55%, transparent 0 70px, var(--gold-soft) 70px 71px, transparent 72px 112px, color-mix(in srgb, var(--accent-color) 45%, transparent) 112px 113px, transparent 114px 158px, color-mix(in srgb, var(--accent-color) 28%, transparent) 158px 159px, transparent 160px),
    var(--tint-strong);
}
.finder-cta-art::after {
  content: ''; position: absolute; left: 50%; top: 55%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: var(--primary-color); transform: rotate(45deg);
}

/* =====================================================================
   SOBRE NOSOTROS
   ===================================================================== */
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; margin-bottom: 80px; }
.about-hero .section-title { margin-bottom: 22px; }
.about-text { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.9; max-width: 58ch; }
.about-monogram {
  aspect-ratio: 1; width: 100%; max-width: 400px; justify-self: center; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative;
  background: var(--wine-deep); color: #fff;
}
.about-monogram::before { content: ''; position: absolute; inset: 16px; border-radius: 50%; border: 1px solid var(--gold-soft); }
.about-monogram::after { content: ''; position: absolute; inset: 30px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent-color) 25%, transparent); }
.about-monogram span { font-family: var(--display); font-size: clamp(4.5rem, 10vw, 8rem); line-height: 1; color: var(--accent-color); }
.about-monogram small { font-size: .66rem; letter-spacing: .34em; margin-right: -.34em; color: var(--ivory); margin-top: 12px; }

.feature-boxes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-box { padding: 40px 32px; }
.feature-box + .feature-box { border-left: 1px solid var(--line); }
.feature-icon { color: var(--primary-color); font-size: 1.2rem; margin-bottom: 20px; }
.feature-box h4 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin-bottom: 10px; }
.feature-box p { font-size: .88rem; color: var(--ink-soft); }

.how-steps { margin-top: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.how-step { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.how-step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: var(--display); font-size: 2.2rem; color: var(--accent-color); display: block; line-height: 1; margin-bottom: 14px;
}
.how-step h5 { font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.how-step p { font-size: .86rem; color: var(--ink-soft); }

/* =====================================================================
   PREGUNTAS FRECUENTES
   ===================================================================== */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-aside p { color: var(--ink-soft); margin: 16px 0 24px; }
.faq-search { margin-bottom: 14px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 0; display: flex; align-items: center; gap: 18px;
  font-family: var(--display); font-size: 1.18rem; font-weight: 400; transition: color .2s;
}
.faq-item summary:hover { color: var(--primary-color); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { color: var(--accent-color); width: 20px; text-align: center; font-size: .9rem; }
.faq-item summary .faq-toggle {
  margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; font-size: .72rem; flex-shrink: 0; transition: all .3s var(--ease);
}
.faq-item[open] summary .faq-toggle { transform: rotate(45deg); background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.faq-item p { padding: 0 50px 26px 38px; color: var(--ink-soft); font-size: .92rem; line-height: 1.8; max-width: 66ch; }

/* =====================================================================
   RESEÑAS
   ===================================================================== */
.reviews-layout { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.reviews-summary { padding: 32px; border-radius: var(--radius-l); background: var(--tint); position: sticky; top: calc(var(--nav-h) + 24px); }
.rating-big { display: flex; align-items: baseline; gap: 12px; }
.rating-big strong { font-family: var(--display); font-size: 3.8rem; line-height: 1; font-weight: 400; }
.rating-big span { color: var(--muted); font-size: .85rem; }
.stars { color: #b8892e; letter-spacing: 2px; font-size: .82rem; }
.rating-bars { margin: 20px 0 26px; display: grid; gap: 7px; }
.rating-bar { display: grid; grid-template-columns: 34px 1fr 26px; gap: 10px; align-items: center; font-size: .76rem; color: var(--ink-soft); }
.rating-bar .bar { height: 4px; border-radius: 2px; background: var(--bg-color); overflow: hidden; }
.rating-bar .bar i { display: block; height: 100%; background: var(--primary-color); transition: width .8s var(--ease); }

.review-form h4 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; margin-bottom: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--bg-color); font-family: inherit; font-size: .88rem; color: var(--ink); outline: none; transition: border-color .2s;
}
.field:focus { border-color: var(--primary-color); }
.star-picker { display: flex; gap: 4px; direction: rtl; justify-content: flex-end; }
.star-picker input { position: absolute; opacity: 0; pointer-events: none; }
.star-picker label { font-size: 1.45rem; color: color-mix(in srgb, var(--ink) 18%, transparent); cursor: pointer; margin: 0; transition: color .15s, transform .15s; }
.star-picker label:hover, .star-picker label:hover ~ label, .star-picker input:checked ~ label { color: #b8892e; }
.star-picker label:hover { transform: scale(1.12); }
.star-picker input:focus-visible + label { outline: 2px solid var(--primary-color); border-radius: 4px; }
.char-count { font-size: .72rem; color: var(--muted); text-align: right; margin-top: 5px; }

.comments-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.comments-toolbar .select-field { width: auto; height: 42px; }
.comments-grid { columns: 2 280px; column-gap: 20px; }
.comment-card { break-inside: avoid; margin-bottom: 20px; padding: 26px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--bg-color); }
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; background: var(--wine-deep); color: var(--accent-color);
  font-family: var(--display); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.comment-author { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.comment-date { font-size: .72rem; color: var(--muted); }
.comment-card .stars { margin-left: auto; }
.comment-text { font-family: var(--display); font-size: 1.05rem; color: var(--ink-soft); line-height: 1.65; }

/* =====================================================================
   MARCAS
   ===================================================================== */
.brand-strip { max-width: var(--page); margin: 20px auto 0; padding: 60px 5% 30px; text-align: center; }
.brand-strip-title { font-family: var(--display); font-weight: 400; font-size: 1.4rem; margin: 20px 0 26px; }
.brand-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; }
.brand-name {
  background: none; border: none; cursor: pointer; padding: 4px 2px;
  font-family: var(--display); font-size: clamp(1.1rem, 1.9vw, 1.45rem); letter-spacing: .04em;
  color: color-mix(in srgb, var(--ink) 50%, transparent); transition: color .25s;
}
.brand-name:hover { color: var(--primary-color); }
.brand-dot { width: 4px; height: 4px; background: var(--accent-color); transform: rotate(45deg); }

/* =====================================================================
   PIE DE PÁGINA
   ===================================================================== */
.site-footer {
  background: var(--wine-deep); color: color-mix(in srgb, var(--ivory) 66%, transparent);
  padding: 80px max(6%, calc((100% - 1320px) / 2)) 30px; margin-top: 70px; font-size: .88rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 50px; border-bottom: 1px solid color-mix(in srgb, var(--accent-color) 22%, transparent); }
.footer-brand { font-family: var(--display); font-size: 2.1rem; letter-spacing: .32em; color: #fff; margin-bottom: 16px; }
.site-footer h5 { font-family: var(--display); color: var(--accent-color); font-size: 1.05rem; font-weight: 400; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links button, .footer-links a { background: none; border: none; color: inherit; cursor: pointer; font-size: .88rem; text-decoration: none; text-align: left; padding: 0; transition: color .2s; }
.footer-links button:hover, .footer-links a:hover { color: #fff; }
.footer-links i { color: var(--accent-color) !important; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ivory) 25%, transparent);
  display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: all .25s;
}
.footer-social a:hover { background: var(--accent-color); border-color: var(--accent-color); color: var(--ink); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; }

/* =====================================================================
   PANELES LATERALES (carrito y favoritos)
   ===================================================================== */
.overlay {
  position: fixed; inset: 0; z-index: 1500; background: rgba(20, 6, 9, .5);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.overlay.active { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1600; width: min(450px, 100%);
  background: var(--bg-color); display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s linear .5s;
}
.drawer.active { transform: none; visibility: visible; transition: transform .5s var(--ease); box-shadow: -30px 0 60px -40px rgba(0,0,0,.6); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.drawer-head h3 small { font-family: var(--font-family); font-size: .8rem; color: var(--muted); margin-left: 6px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 28px 24px; }
.drawer-foot { padding: 20px 28px 24px; border-top: 1px solid var(--line); background: var(--bg-color); }

.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 90px; object-fit: cover; border-radius: 8px; background: var(--tint); }
.cart-item h4 { font-family: var(--display); font-weight: 400; font-size: 1.08rem; line-height: 1.25; }
.cart-item .ci-meta { font-size: .76rem; color: var(--muted); }
.cart-item .ci-price { font-weight: 600; font-size: .9rem; margin-top: 4px; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 22px; }
.qty-control button { width: 32px; height: 32px; border: none; background: none; cursor: pointer; font-size: .95rem; }
.qty-control span { min-width: 22px; text-align: center; font-weight: 600; font-size: .85rem; }
.remove-btn { background: none; border: none; color: var(--muted); font-size: .74rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.free-note { margin: 16px 0 4px; padding: 13px 15px; border-radius: 10px; background: var(--tint); font-size: .8rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }
.free-note i { color: var(--primary-color); }

.coupon-box { display: flex; gap: 8px; margin: 2px 0 6px; }
.coupon-box input { flex: 1; }
.coupon-box input:not(:placeholder-shown) { text-transform: uppercase; }
.coupon-box button { padding: 0 20px; border-radius: 10px; border: none; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; }
.coupon-message { display: block; font-size: .78rem; min-height: 1.1em; }
.coupon-message.success { color: #1e7a45; }
.coupon-message.error { color: #b53226; }
.totals { display: grid; gap: 7px; margin: 12px 0 16px; font-size: .88rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .discount { color: #1e7a45; }
.totals .grand { font-size: 1.05rem; font-weight: 600; padding-top: 10px; border-top: 1px solid var(--line); align-items: baseline; }
.totals .grand span:last-child { font-family: var(--display); color: var(--primary-color); font-size: 1.6rem; font-weight: 500; }

.checkout-step { display: none; }
.checkout-step.active { display: block; animation: tabIn .35s var(--ease); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid .full { grid-column: 1 / -1; }
.back-link { background: none; border: none; cursor: pointer; color: var(--ink-soft); font-size: .82rem; margin: 14px 0; display: inline-flex; gap: 8px; align-items: center; }
.back-link:hover { color: var(--ink); }
.order-summary-mini { background: var(--tint); border-radius: 10px; padding: 13px 15px; font-size: .82rem; margin-top: 14px; color: var(--ink-soft); }
.drawer-empty { text-align: center; padding: 70px 10px; color: var(--muted); }
.drawer-empty i { font-size: 2.2rem; color: var(--accent-color); margin-bottom: 16px; display: block; }
.drawer-empty p { margin-bottom: 20px; }

/* =====================================================================
   VENTANAS (vista rápida y buscador)
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 1700; display: flex; align-items: center; justify-content: center; padding: 24px; pointer-events: none; opacity: 0; transition: opacity .35s; }
.modal.active { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative; width: min(1020px, 100%); max-height: 92vh; overflow-y: auto; background: var(--bg-color);
  border-radius: var(--radius-l); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6);
  transform: translateY(24px) scale(.985); transition: transform .5s var(--ease);
}
.modal.active .modal-card { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-color); cursor: pointer; font-size: .95rem; transition: all .2s;
}
.modal-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.qv-grid { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { background: var(--tint); position: relative; min-height: 480px; cursor: zoom-in; overflow: hidden; }
.qv-media > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .3s; }
.qv-media.zoomed > img { transform: scale(1.8); cursor: zoom-out; }
.qv-thumbs { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: flex; gap: 8px; }
.qv-thumb { width: 54px; height: 68px; border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; border: 2px solid transparent; background: #fff; opacity: .75; transition: opacity .2s, border-color .2s; }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qv-thumb:hover { opacity: 1; border-color: #fff; }
.qv-thumb.active { opacity: 1; border-color: var(--primary-color); }
.qv-media.zoomed .qv-thumbs { display: none; }

.qv-info { padding: 52px 46px 40px; display: flex; flex-direction: column; }
.qv-cat { font-size: .78rem; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.qv-cat i { color: var(--accent-color); }
.qv-title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.04; letter-spacing: -.01em; margin: 10px 0 6px; }
.qv-brand { color: var(--ink-soft); font-size: .9rem; }
.qv-price { display: flex; align-items: baseline; gap: 12px; margin: 26px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qv-price .price-now { font-size: 2.2rem; }
.qv-price .save { font-size: .74rem; font-weight: 600; color: var(--primary-color); background: var(--tint); padding: 5px 11px; border-radius: 20px; }
.qv-desc { color: var(--ink-soft); font-size: .93rem; line-height: 1.8; margin-bottom: 22px; white-space: pre-line; }
.qv-status { font-size: .82rem; margin-bottom: 20px; display: flex; align-items: center; gap: 9px; color: var(--ink-soft); }
.qv-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #1e7a45; box-shadow: 0 0 0 4px color-mix(in srgb, #1e7a45 15%, transparent); }
.qv-status.out .dot { background: #b53226; box-shadow: 0 0 0 4px color-mix(in srgb, #b53226 15%, transparent); }
.qv-actions { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.qv-actions .qty-control button { width: 40px; height: 48px; }
.qv-actions .btn { flex: 1; }
.qv-secondary { display: flex; gap: 8px; flex-wrap: wrap; }
.qv-secondary .btn { flex: 1; padding: 11px 12px; font-size: .78rem; }
.qv-perks { margin-top: auto; padding-top: 24px; display: grid; gap: 9px; font-size: .8rem; color: var(--ink-soft); }
.qv-perks i { color: var(--accent-color); width: 18px; }
.qv-related { padding: 32px 46px 40px; border-top: 1px solid var(--line); }
.qv-related h4 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin-bottom: 18px; }
.related-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-item { cursor: pointer; background: none; border: none; text-align: left; }
.related-item img { aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; background: var(--tint); width: 100%; transition: transform .5s var(--ease); }
.related-item:hover img { transform: translateY(-3px); }
.related-item span { display: block; font-family: var(--display); font-size: .98rem; margin-top: 8px; line-height: 1.25; }
.related-item strong { font-size: .82rem; color: var(--primary-color); font-weight: 600; }

.finder-card { width: min(660px, 100%); padding: 48px 44px 38px; }
.finder-progress { display: flex; gap: 6px; margin: 0 52px 30px 0; }
.finder-progress span { flex: 1; height: 2px; background: var(--tint-strong); transition: background .3s; }
.finder-progress span.done { background: var(--primary-color); }
.finder-q { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.15; margin-bottom: 8px; }
.finder-hint { color: var(--muted); font-size: .88rem; margin-bottom: 26px; }
.finder-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.finder-opt {
  text-align: left; padding: 20px; border-radius: var(--radius-m); border: 1px solid var(--line-strong);
  background: var(--bg-color); cursor: pointer; display: flex; gap: 14px; align-items: center; font-size: .95rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.finder-opt i { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--primary-color); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.finder-opt small { display: block; color: var(--muted); font-size: .76rem; }
.finder-opt:hover { border-color: var(--primary-color); background: var(--tint); transform: translateY(-2px); }
.finder-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 10px 0 24px; }
.finder-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 10px; flex-wrap: wrap; }

/* =====================================================================
   NOTIFICACIONES Y FLOTANTES
   ===================================================================== */
.toast-stack { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3000; display: grid; gap: 10px; width: min(420px, calc(100% - 32px)); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: .86rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast-success i { color: #8fd9ad; }
.toast-error i { color: #ff9a8f; }
.toast-info i { color: var(--accent-color); }
.toast span { flex: 1; }
.toast button { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 20px; padding: 6px 13px; font-size: .76rem; cursor: pointer; white-space: nowrap; }

.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 27px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(37,211,102,.75); text-decoration: none;
}
.whatsapp-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.4s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .5; } to { transform: scale(1.55); opacity: 0; } }
.back-to-top {
  position: fixed; bottom: 94px; right: 32px; z-index: 900; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg-color); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* =====================================================================
   ANIMACIÓN DE ENTRADA
   ===================================================================== */
.intro-curtain { display: none; }
html.with-intro .intro-curtain {
  position: fixed; inset: 0; z-index: 5000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: var(--wine-deep); color: #fff; animation: curtainUp .9s cubic-bezier(.7, 0, .2, 1) 1.35s forwards;
}
.intro-logo { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: .34em; margin-right: -.34em; animation: logoIn 1.1s var(--ease) both; }
.intro-line { display: block; height: 1px; width: 130px; background: var(--accent-color); animation: lineIn .8s var(--ease) .35s both; }
.intro-sub { font-size: .68rem; letter-spacing: .44em; margin-right: -.44em; color: var(--accent-color); animation: fadeIn .8s ease .6s both; }
@keyframes logoIn { from { opacity: 0; letter-spacing: .7em; filter: blur(6px); } }
@keyframes lineIn { from { transform: scaleX(0); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes curtainUp { to { transform: translateY(-100%); visibility: hidden; } }

.navbar { animation: navIn .7s var(--ease) both; }
.hero-banner-container { animation: heroIn 1.2s var(--ease) .1s both; }
#catalogo-tab > .section-head, #catalogo-tab > .spotlight, #catalogo-tab > .featured-block { animation: riseIn .9s var(--ease) .35s both; }
html.with-intro .navbar { animation-delay: 1.55s; }
html.with-intro .hero-banner-container { animation-delay: 1.65s; }
html.with-intro #catalogo-tab > .section-head, html.with-intro #catalogo-tab > .spotlight, html.with-intro #catalogo-tab > .featured-block { animation-delay: 1.9s; }
@keyframes navIn { from { opacity: 0; transform: translateY(-12px); } }
@keyframes heroIn {
  from { opacity: 0; transform: scale(.975); clip-path: inset(6% 4% round var(--radius-l)); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 round var(--radius-l)); }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(20px); } }
.product-card.reveal { animation: riseIn .75s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + .1s); }
html.with-intro .product-card.reveal { animation-delay: calc(var(--i, 0) * 70ms + 1.9s); }

/* =====================================================================
   TABLET
   ===================================================================== */
@media (max-width: 1100px) {
  .catalog-tools { grid-template-columns: 1fr 1fr; }
  .catalog-tools .search-box, .catalog-tools .toggle-group { grid-column: 1 / -1; }
  .featured-row { grid-auto-columns: calc((100% - 2 * 20px) / 3.2); gap: 20px; }
  .reviews-layout, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .reviews-summary, .faq-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .spotlight-media { min-height: 380px; }
}

/* =====================================================================
   CELULAR: limpio y ligero
   ===================================================================== */
@media (max-width: 768px) {
  body { font-size: 14px; }
  :root { --nav-h: 58px; }

  .ticker-wrapper { padding: 7px 0; font-size: .66rem; }
  .navbar { padding: 12px 4%; }
  .navbar.scrolled { padding-top: 10px; padding-bottom: 10px; }
  .mobile-menu-toggle { display: inline-flex; }
  .nav-left { display: flex; align-items: center; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; display: none;
    background: var(--bg-color); border-bottom: 1px solid var(--line); padding: 6px 6% 18px; box-shadow: 0 24px 30px -24px rgba(0,0,0,.35);
  }
  .nav-menu.mobile-active { display: flex; }
  .nav-link { padding: 15px 0; text-align: left; font-family: var(--display); font-size: 1.2rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .logo-text, .navbar.scrolled .logo-text { font-size: 1.45rem; }
  .logo-sub { display: none; }
  .nav-actions { gap: 0; }
  .nav-actions .hide-mobile { display: none; }
  .icon-btn { width: 38px; height: 38px; font-size: .95rem; }

  .hero-banner-container { margin-top: 12px; padding: 0 4%; }
  .slider-wrapper { border-radius: var(--radius-m); }
  .hero-banner-img { height: clamp(180px, 50vw, 250px); }
  .slide-btn { width: 32px; height: 32px; bottom: 12px; font-size: .7rem; }
  .slide-prev { right: 52px; } .slide-next { right: 14px; }
  .slide-dots { left: 16px; bottom: 26px; }
  .slide-dot { width: 20px; }
  .slide-counter { display: none; }

  .container { padding: 34px 4%; }
  .section-sub { display: none; }
  .section-head { margin-bottom: 18px; }
  .section-title { font-size: 1.85rem; }

  .spotlight { grid-template-columns: 38% 1fr; margin-bottom: 46px; border-radius: var(--radius-m); }
  .spotlight::before, .spotlight::after { display: none; }
  .spotlight-media { min-height: 0; }
  .spotlight-body { padding: 20px 18px; }
  .spotlight-kicker { font-size: .7rem; margin-bottom: 8px; gap: 8px; }
  .spotlight-kicker i { width: 18px; }
  .spotlight-title { font-size: 1.6rem; margin-bottom: 4px; }
  .spotlight-brand { font-size: .72rem; margin-bottom: 12px; }
  .spotlight-text { display: none; }
  .spotlight-price { margin-bottom: 14px; }
  .spotlight-price .price-now { font-size: 1.4rem; }
  .spotlight-price .price-old { font-size: .72rem; }
  .spotlight-actions .btn-primary { display: none; }
  .spotlight-actions .btn-outline { padding: 8px 16px; font-size: .74rem; }

  .featured-block { margin-bottom: 46px; }
  .featured-block .row-arrows { display: none; }
  .featured-row { grid-auto-columns: 46%; gap: 12px; scrollbar-width: none; }
  .featured-row::-webkit-scrollbar { display: none; }
  .featured-row .product-media::after { inset: 6px; }

  .catalog-tools { grid-template-columns: 1fr auto; gap: 8px; }
  .catalog-tools .search-box { grid-column: auto; }
  .search-box input, .select-field { height: 44px; font-size: .84rem; }
  .filters-toggle {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 40px;
    border: 1px solid var(--line-strong); background: var(--bg-color); font-size: .82rem; color: var(--ink); cursor: pointer;
  }
  .filters-toggle.active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .filters-badge { min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px; background: var(--primary-color); color: #fff; font-size: .66rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
  .tools-extra { display: none; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; border-radius: var(--radius-m); background: var(--tint); }
  .tools-extra.open { display: grid; animation: tabIn .3s var(--ease); }
  .tools-extra .toggle-group { grid-column: 1 / -1; }
  .tools-extra .toggle-chip { flex: 1; justify-content: center; height: 40px; }

  .category-pills { gap: 22px; margin-top: 10px; padding-top: 12px; }
  .cat-pill { font-size: .98rem; padding-bottom: 11px; }
  .cat-pill .pill-count { display: none; }
  .results-bar { margin: 14px 0 18px; font-size: .76rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
  .product-media { border-radius: 10px; }
  .badge-stack { top: 8px; left: 8px; }
  .badge-stack .badge-tag:nth-child(n+2) { display: none; }
  .badge-tag { font-size: .6rem; padding: 3px 8px; }
  .fav-btn { width: 32px; height: 32px; top: 6px; right: 6px; font-size: .8rem; }
  .quick-view-btn { display: none; }
  .product-info { padding-top: 11px; }
  .product-brand { font-size: .7rem; }
  .product-title { font-size: 1rem; margin: 2px 0 8px; }
  .price-now { font-size: 1.08rem; }
  .price-old { font-size: .7rem; }
  .btn-add-cart { width: 34px; height: 34px; font-size: .78rem; }
  .pagination-wrapper { margin-top: 36px; }
  .pagination-info { display: none; }
  .page-btn { min-width: 38px; height: 38px; }

  .finder-cta { grid-template-columns: 1fr; margin-top: 50px; border-radius: var(--radius-m); }
  .finder-cta-art { display: none; }
  .finder-cta-text { padding: 28px 22px; }
  .finder-cta h3 { font-size: 1.6rem; margin-bottom: 16px; }
  .finder-cta p { display: none; }

  .about-hero { grid-template-columns: 1fr; gap: 30px; margin-bottom: 44px; }
  .about-monogram { display: none; }
  .feature-boxes { grid-template-columns: 1fr; }
  .feature-box { padding: 26px 4px; }
  .feature-box + .feature-box { border-left: none; border-top: 1px solid var(--line); }
  .how-steps { grid-template-columns: 1fr; gap: 20px; }
  .faq-aside p { display: none; }
  .faq-item summary { padding: 18px 0; font-size: 1.02rem; gap: 12px; }
  .faq-item p { padding: 0 0 20px 32px; }
  .reviews-summary { padding: 22px; }
  .review-form { display: none; }
  .review-form-toggle { display: inline-flex; }
  .reviews-summary.form-open .review-form { display: block; }
  .reviews-summary.form-open .review-form-toggle { display: none; }
  .comment-card { padding: 18px; }
  .comment-text { font-size: .98rem; }

  .brand-strip { padding: 36px 5% 10px; }
  .brand-strip-title { font-size: 1.15rem; margin: 14px 0 16px; }
  .brand-list { gap: 8px 14px; }
  .brand-name { font-size: 1rem; }

  .site-footer { padding: 48px 6% 24px; margin-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-grid > div:nth-child(2), .footer-grid > div:nth-child(4) { display: none; }
  .footer-brand { font-size: 1.7rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom span:last-child { display: none; }

  .modal { padding: 0; align-items: flex-end; }
  .modal-card { border-radius: var(--radius-l) var(--radius-l) 0 0; max-height: 94vh; }
  .qv-grid { grid-template-columns: 1fr; }
  .qv-media { min-height: 0; aspect-ratio: 1; }
  .qv-cat, .qv-perks { display: none; }
  .qv-info { padding: 24px 20px 26px; }
  .qv-title { font-size: 1.8rem; margin-top: 0; }
  .qv-price { margin: 16px 0; padding: 14px 0; }
  .qv-price .price-now { font-size: 1.7rem; }
  .qv-desc { font-size: .88rem; margin-bottom: 16px; }
  .qv-status { margin-bottom: 16px; }
  .qv-secondary .btn { padding: 9px 8px; font-size: .74rem; gap: 6px; }
  .qv-related { padding: 20px; }
  .related-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 38%; overflow-x: auto; scrollbar-width: none; }
  .qv-thumb { width: 44px; height: 56px; }
  .finder-card { padding: 36px 22px 26px; }
  .finder-q { font-size: 1.6rem; }
  .finder-options { grid-template-columns: 1fr; }
  .finder-results { grid-template-columns: repeat(2, 1fr); }

  .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 18px; right: 16px; }
  .back-to-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.with-intro .intro-curtain { display: none; }
  .product-media img { opacity: 1; }
  *, *::before, *::after { animation-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-content { animation: none; }
}
