/* ============================================================================
   DE PELUQUERÍA — Maqueta premium · "Lujo cálido editorial"
   Paleta marfil/granate/oro · Cormorant Garamond + Manrope
   ========================================================================== */

/* ---------- TOKENS --------------------------------------------------------- */
:root {
  /* base */
  --ivory: #f8f3ea;
  --ivory-2: #f1e7d6;
  --ivory-3: #ece0cd;
  --card: #fffdf8;

  /* marca */
  --burgundy: #4e1322;
  --burgundy-2: #3a0d18;
  --wine: #7e2740;
  --wine-soft: #9a3a52;

  /* tinta / texto */
  --ink: #2a1418;
  --ink-2: #5d4a47;
  --muted: #8a7872;

  /* oro */
  --gold: #c7a24a;
  --gold-2: #e3c97e;
  --gold-deep: #a8842f;

  /* sobre fondo oscuro */
  --on-dark: #f4eadd;
  --on-dark-mut: rgba(244, 234, 221, 0.66);

  /* líneas */
  --line: rgba(78, 19, 34, 0.12);
  --line-2: rgba(78, 19, 34, 0.08);
  --line-gold: rgba(199, 162, 74, 0.45);

  /* tipo */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* radios */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  /* sombras */
  --sh-soft: 0 4px 18px rgba(60, 18, 28, 0.08);
  --sh-card: 0 14px 34px -16px rgba(60, 18, 28, 0.22);
  --sh-hover: 0 30px 56px -22px rgba(60, 18, 28, 0.4);
  --sh-gold: 0 10px 28px -10px rgba(168, 132, 47, 0.45);

  /* layout */
  --maxw: 1240px;
  --gut: clamp(1.1rem, 4vw, 2.4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
input,
select {
  font: inherit;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
}
::selection {
  background: var(--gold-2);
  color: var(--burgundy-2);
}

/* foco accesible */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- TIPOGRAFÍA ----------------------------------------------------- */
.h-display,
.h1,
.h2,
.h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h-display {
  font-size: clamp(2.9rem, 8vw, 6.2rem);
  font-weight: 500;
}
.h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
}
.h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.serif-it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}
.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-2);
  font-weight: 400;
  max-width: 56ch;
}

/* ---------- LAYOUT --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section {
  padding-block: clamp(3.6rem, 8vw, 7rem);
}
.section--tight {
  padding-block: clamp(2.4rem, 5vw, 4rem);
}
.section--cream {
  background: var(--ivory-2);
}
.section--dark {
  background: radial-gradient(120% 120% at 70% 0%, var(--wine) 0%, var(--burgundy) 45%, var(--burgundy-2) 100%);
  color: var(--on-dark);
}
.section--dark .h2,
.section--dark .h3 {
  color: var(--on-dark);
}
.section--dark .lead {
  color: var(--on-dark-mut);
}
.center {
  text-align: center;
}

/* encabezado de sección */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.sec-head__main {
  max-width: 60ch;
}
.sec-head .h2 {
  margin-top: 0.5rem;
}
.sec-head__text {
  color: var(--ink-2);
  margin-top: 0.7rem;
}
.sec-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sec-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* ---------- BOTONES -------------------------------------------------------- */
.btn {
  --bg: var(--burgundy);
  --fg: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--pill);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.3s;
  isolation: isolate;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
}
.btn::after {
  /* brillo que cruza al hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-card);
}
.btn:hover::after {
  transform: translateX(130%);
}
.btn:active {
  transform: translateY(-1px) scale(0.99);
}
.btn--gold {
  --bg: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--gold-deep));
  --fg: var(--burgundy-2);
  box-shadow: var(--sh-gold);
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border: 1px solid var(--line-gold);
}
.btn--ghost:hover {
  background: rgba(199, 162, 74, 0.08);
}
.btn--on-dark {
  --bg: transparent;
  --fg: var(--on-dark);
  border: 1px solid rgba(227, 201, 126, 0.5);
}
.btn--on-dark:hover {
  background: rgba(227, 201, 126, 0.12);
}
.btn--lg {
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}
.ext-arrow {
  transition: transform 0.4s var(--ease);
}
.btn:hover .ext-arrow {
  transform: translate(2px, -2px);
}

/* enlace de texto con subrayado animado */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  position: relative;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.tlink:hover::after {
  transform: scaleX(1);
}
.tlink svg {
  width: 1em;
  height: 1em;
  transition: transform 0.4s var(--ease);
}
.tlink:hover svg {
  transform: translateX(3px);
}

/* ---------- SPLASH / PRELOADER -------------------------------------------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 50% 30%, var(--wine) 0%, var(--burgundy) 50%, var(--burgundy-2) 100%);
  animation: splashOut 0.7s var(--ease) 1.5s forwards;
}
.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.splash__mark {
  display: grid;
  justify-items: center;
  gap: 1rem;
  animation: splashIn 0.9s var(--ease) both;
}
.splash__mark img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}
.splash__name {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--on-dark);
  letter-spacing: 0.04em;
}
.splash__bar {
  width: 120px;
  height: 2px;
  background: rgba(227, 201, 126, 0.25);
  overflow: hidden;
  border-radius: 2px;
}
.splash__bar::before {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold-2);
  animation: splashBar 1.4s var(--ease) infinite;
}
@keyframes splashIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes splashBar {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(360%);
  }
}
@keyframes splashOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ---------- TOPBAR --------------------------------------------------------- */
.topbar {
  background: var(--burgundy-2);
  color: var(--on-dark);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  height: 38px;
  overflow: hidden;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--on-dark-mut);
}
.topbar__item strong {
  color: var(--gold-2);
  font-weight: 600;
}
.topbar__item svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
@media (max-width: 720px) {
  .topbar__item:nth-child(n + 2) {
    display: none;
  }
}

/* ---------- HEADER / NAV --------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(248, 243, 234, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.header.is-stuck {
  border-color: var(--line);
  box-shadow: var(--sh-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
  transition: height 0.4s var(--ease);
}
.header.is-stuck .nav {
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--burgundy);
  border-radius: 12px;
  box-shadow: var(--sh-soft);
}
.brand__mark img {
  width: 26px;
  height: 26px;
}
.brand__text {
  display: grid;
  line-height: 1;
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand__sub {
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: 3px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--pill);
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  width: 18px;
}
.nav__link.is-active {
  color: var(--burgundy);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--pill);
  color: var(--ink);
  position: relative;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.icon-btn:hover {
  background: rgba(78, 19, 34, 0.07);
  color: var(--burgundy);
}
.icon-btn svg {
  width: 21px;
  height: 21px;
}
.icon-btn__dot {
  position: absolute;
  top: 7px;
  right: 8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--gold);
  color: var(--burgundy-2);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: var(--pill);
  display: grid;
  place-items: center;
}
.nav__cta {
  margin-left: 0.4rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
}
.nav-toggle span {
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span::before {
  top: -7px;
}
.nav-toggle span::after {
  top: 7px;
}
body.menu-open .nav-toggle span {
  background: transparent;
}
body.menu-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
body.menu-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: var(--ivory);
  z-index: 950;
  padding: 6.5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(60, 18, 28, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
}
body.menu-open .mobile-menu {
  transform: translateX(0);
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-menu a:hover {
  color: var(--burgundy);
  padding-left: 0.5rem;
}
.mobile-menu .btn {
  margin-top: 1.4rem;
}
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(42, 20, 24, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  z-index: 940;
}
body.menu-open .scrim {
  opacity: 1;
  visibility: visible;
}

/* overlay de búsqueda */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  z-index: 960;
  padding: 1.5rem var(--gut);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  box-shadow: var(--sh-soft);
}
.search-overlay.is-open {
  transform: translateY(0);
}
.search__form {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--burgundy);
  padding-bottom: 0.8rem;
}
.search__form svg {
  width: 24px;
  height: 24px;
  color: var(--burgundy);
  flex-shrink: 0;
}
.search__field {
  flex: 1;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  outline: 0;
}
.search__field::placeholder {
  color: var(--muted);
}
.search__close {
  font-size: 0.85rem;
  color: var(--muted);
}
.search__hint {
  max-width: var(--maxw);
  margin: 0.9rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.search__hint a {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  transition: border-color 0.3s, color 0.3s;
}
.search__hint a:hover {
  border-color: var(--gold);
  color: var(--burgundy);
}

/* ---------- HERO ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(135% 120% at 78% 18%, var(--wine) 0%, var(--burgundy) 46%, var(--burgundy-2) 100%);
  color: var(--on-dark);
  isolation: isolate;
}
.hero__texture {
  position: absolute;
  inset: 0;
  background-image: url("assets/img/hero-texture.svg?v=20260625");
  background-size: cover;
  opacity: 0.9;
  z-index: -2;
  will-change: transform;
}
.hero__glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  right: -12vw;
  top: -16vw;
  background: radial-gradient(circle, rgba(227, 201, 126, 0.22), transparent 62%);
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.hero__eyebrow {
  color: var(--gold-2);
}
.hero__eyebrow::before {
  background: var(--gold-2);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 7.2vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 1.2rem 0 0;
  color: #fff;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-2);
}
.hero__sub {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--on-dark-mut);
}
.hero__cta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__stats {
  margin-top: 2.6rem;
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-2);
  line-height: 1;
}
.hero__stat span {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-mut);
}
/* cluster de producto del hero */
.hero__cluster {
  position: relative;
  height: 100%;
  min-height: 380px;
  display: grid;
  place-items: center;
}
.hero__cluster img {
  position: absolute;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
  animation: floaty 6.5s var(--ease) infinite;
}
.hero__cluster .pc-1 {
  width: 46%;
  left: 27%;
  top: 12%;
  z-index: 3;
}
.hero__cluster .pc-2 {
  width: 33%;
  left: 2%;
  top: 30%;
  z-index: 2;
  animation-duration: 7.5s;
  animation-delay: -1.2s;
}
.hero__cluster .pc-3 {
  width: 29%;
  right: 4%;
  bottom: 10%;
  z-index: 2;
  animation-duration: 8.2s;
  animation-delay: -2.6s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-13px);
  }
}
.hero__disc {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  left: 12%;
  top: 8%;
  border: 1px solid rgba(227, 201, 126, 0.3);
  border-radius: 50%;
  z-index: 1;
}
.hero__disc::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(227, 201, 126, 0.18);
  border-radius: 50%;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-mut);
}
.hero__scroll i {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold-2), transparent);
  animation: scrollLine 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
  }
  40% {
    transform: scaleY(1);
    transform-origin: top;
  }
  60% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- TIRA DE CONFIANZA --------------------------------------------- */
.trust-strip {
  background: var(--card);
  border-bottom: 1px solid var(--line-2);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.5rem 0.5rem;
  position: relative;
}
.trust-strip__item + .trust-strip__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: var(--line);
}
.trust-strip__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(199, 162, 74, 0.12);
  color: var(--gold-deep);
}
.trust-strip__icon svg {
  width: 23px;
  height: 23px;
}
.trust-strip__t {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.trust-strip__s {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- TARJETA DE PRODUCTO ------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 1rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  will-change: transform;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-hover);
  border-color: var(--line-gold);
}
.card__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--ivory) 0%, var(--ivory-2) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 1rem;
}
.card__media::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 162, 74, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
}
.card:hover .card__media::before {
  opacity: 1;
}
.card__img {
  width: 64%;
  height: 78%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
  z-index: 1;
}
.card:hover .card__img {
  transform: scale(1.08) translateY(-3px);
}
.card__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.6rem;
  border-radius: var(--pill);
}
.card__badge--new {
  background: var(--gold);
  color: var(--burgundy-2);
}
.card__fav {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.85);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s, transform 0.4s, color 0.3s, background 0.3s;
}
.card:hover .card__fav {
  opacity: 1;
  transform: translateY(0);
}
.card__fav:hover {
  color: var(--wine);
  background: #fff;
}
.card__fav svg {
  width: 18px;
  height: 18px;
}
.card__brand {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}
.card__name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
  color: var(--ink);
}
.card__name a:hover {
  color: var(--burgundy);
}
.card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
}
.stars svg {
  width: 14px;
  height: 14px;
}
.stars .s-empty {
  color: var(--ivory-3);
}
.card__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6rem;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.price--now {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
}
.price--old {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: line-through;
}
.card__cta {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--ivory);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.4s;
}
.card__cta svg {
  width: 19px;
  height: 19px;
}
.card:hover .card__cta {
  background: var(--gold);
  color: var(--burgundy-2);
  box-shadow: var(--sh-gold);
}
.card__cta:hover {
  transform: scale(1.1);
}
/* variante CTA ancho */
.card__cta-wide {
  margin-top: 0.9rem;
  width: 100%;
  opacity: 1;
}

/* carrusel horizontal (más vendidos) */
.carousel {
  position: relative;
}
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.carousel__track > .card {
  scroll-snap-align: start;
}
.carousel__track::-webkit-scrollbar {
  height: 6px;
}
.carousel__track::-webkit-scrollbar-thumb {
  background: var(--line-gold);
  border-radius: 99px;
}
.carousel__nav {
  display: flex;
  gap: 0.5rem;
}
.carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  display: grid;
  place-items: center;
  color: var(--burgundy);
  transition: background 0.3s, color 0.3s, transform 0.3s, opacity 0.3s;
}
.carousel__btn:hover {
  background: var(--burgundy);
  color: var(--ivory);
}
.carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel__btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- OFERTAS -------------------------------------------------------- */
.offers__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
}
.offer-feature {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: radial-gradient(120% 120% at 80% 10%, var(--wine), var(--burgundy) 55%, var(--burgundy-2));
  color: var(--on-dark);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  isolation: isolate;
}
.offer-feature__deco {
  position: absolute;
  right: -10%;
  bottom: -14%;
  width: 60%;
  z-index: -1;
  opacity: 0.95;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}
.offer-feature__tag {
  align-self: flex-start;
  background: var(--gold);
  color: var(--burgundy-2);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.9rem;
  border-radius: var(--pill);
}
.offer-feature .h2 {
  color: #fff;
  margin: 1rem 0 0.5rem;
  max-width: 14ch;
}
.offer-feature__price {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.offer-feature__price .now {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-2);
}
.offer-feature__price .old {
  text-decoration: line-through;
  color: var(--on-dark-mut);
}
.offers__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
}

/* ---------- MARQUESINA DE MARCAS ------------------------------------------ */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 3.4rem;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.5;
  white-space: nowrap;
  transition: opacity 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.marquee__item::before {
  content: "❋";
  color: var(--gold);
  font-size: 0.9rem;
  opacity: 0.7;
}
.marquee__item:hover {
  opacity: 1;
  color: var(--burgundy);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- BLOQUE EDITORIAL ---------------------------------------------- */
.editorial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.6rem, 5vw, 4.5rem);
}
.editorial__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: radial-gradient(120% 120% at 30% 20%, var(--wine), var(--burgundy) 60%, var(--burgundy-2));
  display: grid;
  place-items: center;
  box-shadow: var(--sh-card);
}
.editorial__media img {
  width: 52%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
  z-index: 1;
}
.editorial__media .ring {
  position: absolute;
  width: 64%;
  aspect-ratio: 1;
  border: 1px solid rgba(227, 201, 126, 0.35);
  border-radius: 50%;
}
.editorial__stamp {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  background: rgba(248, 243, 234, 0.95);
  border-radius: var(--r);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--sh-card);
}
.editorial__stamp svg {
  width: 26px;
  height: 26px;
  color: var(--gold-deep);
}
.editorial__stamp b {
  font-size: 0.86rem;
  color: var(--ink);
}
.editorial__stamp span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}
.editorial__body .h2 {
  margin: 0.7rem 0 1rem;
}
.editorial__list {
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.8rem;
}
.editorial__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink-2);
}
.editorial__list svg {
  width: 20px;
  height: 20px;
  color: var(--gold-deep);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- RESEÑAS -------------------------------------------------------- */
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.reviews__score {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.reviews__score b {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--gold-2);
  line-height: 1;
}
.reviews__score .stars svg {
  width: 18px;
  height: 18px;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.review-card {
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(227, 201, 126, 0.18);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section--dark .review-card {
  backdrop-filter: blur(4px);
}
.review-card .stars svg {
  width: 16px;
  height: 16px;
}
.review-card__text {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--on-dark);
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}
.review-card__ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: var(--burgundy-2);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 1.1rem;
}
.review-card__name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--on-dark);
}
.review-card__role {
  font-size: 0.76rem;
  color: var(--on-dark-mut);
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--gold-2);
}
.verified svg {
  width: 13px;
  height: 13px;
}

/* ---------- GARANTÍAS / PAGO ---------------------------------------------- */
.assurance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-bottom: 2.6rem;
}
.assurance-card {
  text-align: center;
  padding: 2rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.assurance-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-card);
}
.assurance-card__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 162, 74, 0.18), rgba(199, 162, 74, 0.05));
  color: var(--gold-deep);
}
.assurance-card__icon svg {
  width: 28px;
  height: 28px;
}
.assurance-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.assurance-card p {
  font-size: 0.86rem;
  color: var(--muted);
}
.pay-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 1.6rem;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
}
.pay-bar__lock {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.pay-bar__lock svg {
  width: 22px;
  height: 22px;
  color: #2e8b57;
}
.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.pay-badges img {
  height: 34px;
  width: auto;
  border-radius: 6px;
}
.pay-bar__sep {
  width: 1px;
  height: 28px;
  background: var(--line);
}

/* ---------- FOOTER --------------------------------------------------------- */
.footer {
  background: var(--burgundy-2);
  color: var(--on-dark-mut);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(227, 201, 126, 0.16);
}
.footer__brand .brand__name {
  color: #fff;
}
.footer__brand .brand__mark {
  background: rgba(227, 201, 126, 0.12);
}
.footer__about {
  margin-top: 1.2rem;
  max-width: 36ch;
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(227, 201, 126, 0.25);
  display: grid;
  place-items: center;
  color: var(--gold-2);
  transition: background 0.3s, transform 0.3s;
}
.footer__social a:hover {
  background: rgba(227, 201, 126, 0.14);
  transform: translateY(-3px);
}
.footer__social svg {
  width: 18px;
  height: 18px;
}
.footer__col h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.footer__col ul {
  display: grid;
  gap: 0.7rem;
}
.footer__col a {
  font-size: 0.9rem;
  transition: color 0.3s, padding-left 0.3s;
}
.footer__col a:hover {
  color: var(--gold-2);
  padding-left: 4px;
}
.footer__contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.footer__contact svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  font-size: 0.8rem;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.footer__legal a:hover {
  color: var(--gold-2);
}
.footer__note {
  text-align: center;
  font-size: 0.74rem;
  color: rgba(244, 234, 221, 0.4);
  padding-bottom: 1.5rem;
  max-width: 70ch;
  margin-inline: auto;
}

/* ---------- BREADCRUMB / PAGE HEAD ---------------------------------------- */
.page-head {
  background: radial-gradient(120% 140% at 80% 0%, var(--wine), var(--burgundy) 55%, var(--burgundy-2));
  color: var(--on-dark);
  padding-block: clamp(2.4rem, 6vw, 4.2rem);
  text-align: center;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--on-dark-mut);
  margin-bottom: 1rem;
}
.breadcrumb a:hover {
  color: var(--gold-2);
}
.breadcrumb span {
  color: var(--gold-2);
}
.page-head .h1 {
  color: #fff;
}
.page-head p {
  color: var(--on-dark-mut);
  margin-top: 0.6rem;
}

/* ---------- TIENDA / FILTROS ---------------------------------------------- */
.shop {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}
.filters {
  position: sticky;
  top: 96px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 1.6rem;
}
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.filters__head h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
}
.filters__clear {
  font-size: 0.78rem;
  color: var(--gold-deep);
}
.filters__clear:hover {
  text-decoration: underline;
}
.filter-group {
  padding-block: 1.2rem;
  border-top: 1px solid var(--line-2);
}
.filter-group__title {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 0.82rem;
  color: var(--ink-2);
  transition: all 0.3s;
}
.chip:hover {
  border-color: var(--gold);
}
.chip.is-active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--ivory);
}
.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-gold);
  border-radius: 5px;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.check input::after {
  content: "✓";
  color: var(--ivory);
  font-size: 0.72rem;
  opacity: 0;
}
.check input:checked {
  background: var(--burgundy);
  border-color: var(--burgundy);
}
.check input:checked::after {
  opacity: 1;
}
.check:hover {
  color: var(--ink);
}
.check__count {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--muted);
}
.range {
  margin-top: 0.5rem;
}
.range input {
  width: 100%;
  accent-color: var(--burgundy);
}
.range__vals {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.toggle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.toggle input {
  appearance: none;
  width: 42px;
  height: 24px;
  background: var(--ivory-3);
  border-radius: var(--pill);
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}
.toggle input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
  box-shadow: var(--sh-soft);
}
.toggle input:checked {
  background: var(--gold);
}
.toggle input:checked::after {
  transform: translateX(18px);
}

/* toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.toolbar__count {
  font-size: 0.9rem;
  color: var(--muted);
}
.toolbar__count b {
  color: var(--ink);
}
.toolbar__right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.sort select {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--pill);
  padding: 0.55rem 2.2rem 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237e2740' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
}
.filters-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.filters-toggle svg {
  width: 18px;
  height: 18px;
}
.shop .product-grid {
  grid-template-columns: repeat(3, 1fr);
}
.empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--muted);
  display: none;
}

/* paginación */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.page-num {
  min-width: 44px;
  height: 44px;
  padding: 0 0.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: all 0.3s;
}
.page-num:hover {
  border-color: var(--gold);
  color: var(--burgundy);
}
.page-num.is-active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--ivory);
}
.page-num svg {
  width: 18px;
  height: 18px;
}

/* ---------- FICHA DE PRODUCTO (PDP) -------------------------------------- */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: start;
}
.gallery {
  position: sticky;
  top: 96px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 1rem;
}
.gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.gallery__thumb {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--ivory), var(--ivory-2));
  display: grid;
  place-items: center;
  padding: 8px;
  transition: border-color 0.3s, transform 0.3s;
}
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery__thumb.is-active {
  border-color: var(--burgundy);
}
.gallery__thumb:hover {
  transform: translateY(-2px);
}
.gallery__main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  background: radial-gradient(120% 120% at 35% 25%, var(--ivory), var(--ivory-2) 75%, var(--ivory-3));
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--sh-card);
}
.gallery__main::before {
  content: "";
  position: absolute;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 162, 74, 0.18), transparent 66%);
}
.gallery__main img {
  width: 56%;
  filter: drop-shadow(0 30px 36px rgba(60, 18, 28, 0.22));
  z-index: 1;
}
.gallery__tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: var(--burgundy);
  color: var(--ivory);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--pill);
  z-index: 2;
}
.pdp__brand {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}
.pdp__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0.5rem 0 0.8rem;
}
.pdp__rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.pdp__rating .stars svg {
  width: 17px;
  height: 17px;
}
.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.pdp__price .now {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--burgundy);
}
.pdp__price .old {
  font-size: 1.3rem;
  text-decoration: line-through;
  color: var(--muted);
}
.pdp__price .save {
  background: rgba(199, 162, 74, 0.18);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--pill);
}
.pdp__tax {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.pdp__desc {
  margin: 1.4rem 0;
  color: var(--ink-2);
  max-width: 52ch;
}
.pdp__stock {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #2e8b57;
  margin-bottom: 1.4rem;
}
.pdp__stock::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2e8b57;
  box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.16);
}
.pdp__buy {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-gold);
  border-radius: var(--pill);
  overflow: hidden;
}
.qty button {
  width: 48px;
  height: 100%;
  min-height: 54px;
  display: grid;
  place-items: center;
  color: var(--burgundy);
  transition: background 0.3s;
}
.qty button:hover {
  background: rgba(199, 162, 74, 0.12);
}
.qty input {
  width: 46px;
  text-align: center;
  border: 0;
  background: none;
  font-weight: 700;
  font-size: 1rem;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.pdp__buy .btn {
  flex: 1;
  min-width: 220px;
}
.pdp__assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.pdp__assurance li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--ink-2);
}
.pdp__assurance svg {
  width: 24px;
  height: 24px;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.pdp__pay {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}
.pdp__pay img {
  height: 28px;
}

/* tabs */
.tabs {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.tab-btn {
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  transition: color 0.3s;
}
.tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--burgundy);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.tab-btn.is-active {
  color: var(--burgundy);
}
.tab-btn.is-active::after {
  transform: scaleX(1);
}
.tab-panel {
  display: none;
  max-width: 76ch;
  animation: fadeIn 0.5s var(--ease);
}
.tab-panel.is-active {
  display: block;
}
.tab-panel h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 1.4rem 0 0.6rem;
  color: var(--ink);
}
.tab-panel p {
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.tab-panel ul.dots {
  display: grid;
  gap: 0.6rem;
}
.tab-panel ul.dots li {
  display: flex;
  gap: 0.7rem;
  color: var(--ink-2);
}
.tab-panel ul.dots li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.6rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.spec-table td {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.92rem;
}
.spec-table td:first-child {
  color: var(--muted);
  width: 40%;
}
.spec-table td:last-child {
  font-weight: 600;
  color: var(--ink);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------- REVEAL (defensivo, no rompe sin JS) --------------------------- */
.reveal {
  opacity: 1;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
/* protección split text (por si se usa) */
html.js .reveal[data-split],
html.js .reveal[data-split] * {
  opacity: 1;
}
/* transición de página */
html.js .page-fade {
  opacity: 0;
  animation: pageIn 0.6s var(--ease) forwards;
}
@keyframes pageIn {
  to {
    opacity: 1;
  }
}
body.is-leaving {
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* ---------- RESPONSIVE ----------------------------------------------------- */
@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 940px) {
  .nav__menu {
    display: none;
  }
  .nav__cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__eyebrow,
  .hero__cta {
    justify-content: center;
  }
  .hero__sub {
    margin-inline: auto;
  }
  .hero__stats {
    justify-content: center;
  }
  .hero__cluster {
    order: -1;
    min-height: 300px;
  }
  .editorial__grid {
    grid-template-columns: 1fr;
  }
  .editorial__media {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }
  .reviews__grid {
    grid-template-columns: 1fr;
  }
  .offers__layout {
    grid-template-columns: 1fr;
  }
  .pdp {
    grid-template-columns: 1fr;
  }
  .gallery {
    position: static;
  }
  .shop {
    grid-template-columns: 1fr;
  }
  .filters {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 340px);
    border-radius: 0;
    z-index: 950;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    top: 0;
  }
  body.filters-open .filters {
    transform: translateX(0);
  }
  .filters-toggle {
    display: inline-flex;
  }
}
@media (max-width: 760px) {
  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-strip__item:nth-child(odd)::before {
    display: none;
  }
  .product-grid,
  .shop .product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .assurance__grid {
    grid-template-columns: 1fr 1fr;
  }
  .offers__side {
    grid-template-columns: 1fr 1fr;
  }
  .reviews__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .product-grid,
  .shop .product-grid,
  .offers__side {
    grid-template-columns: 1fr;
  }
  .hero__stats {
    gap: 1.4rem;
  }
  .pdp__buy .btn {
    min-width: 100%;
  }
  .gallery {
    grid-template-columns: 64px 1fr;
  }
}

/* ---------- MOVIMIENTO REDUCIDO (solo efectos intrusivos) ----------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__texture,
  .marquee__track,
  .hero__scroll i,
  .splash__bar::before,
  .hero__cluster img {
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
