/* =========================================================
   VORLANO — Design System
   ========================================================= */
:root {
  /* Paleta */
  --bg:          #0e0b08;
  --bg-2:        #141009;
  --bg-3:        #1c160f;
  --surface:     #1a130c;
  --surface-2:   #241a10;
  --line:        #2a2118;
  --line-2:      #3a2d1e;
  --text:        #9a5a32;
  /* --text:        #f4ead8; */
  --text-dim:    #b8a98f;
  --text-mute:   #7d6f58;
  --gold:        #c79a5a;
  --gold-2:      #e0b878;
  --gold-soft:   rgba(199, 154, 90, 0.15);
  --accent:      #d89a52;
  --danger:      #c55b5b;
  --success:     #6dbf7e;

  /* Tipografía */
  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-sans:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Espaciado / geometría */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 2px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.25);
  --shadow:    0 10px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 25px 60px rgba(0,0,0,.5);
  --container:  1200px;

  /* Transiciones */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { fill: none; stroke-linecap: round; stroke-linejoin: round; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* =========================================================
   Botones
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: .02em;
  font-size: .95rem;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #1a1109;
  box-shadow: 0 8px 20px -8px rgba(199,154,90,.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(199,154,90,.7); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-2); }
.btn--block { width: 100%; }

/* =========================================================
   Announcement bar
   ========================================================= */
.announcement {
  background: linear-gradient(90deg, #0a0806, #1c140b, #0a0806);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  color: var(--text-dim);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.announcement__track {
  display: flex;
  gap: 3rem;
  padding: .6rem 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.announcement__track span { color: var(--text-dim); }
.announcement__track span:nth-child(odd) { color: var(--gold); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,11,8,.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .1rem 0;
}
.header__brand { flex-shrink: 0; }
.header__logo { height: 110px; width: auto; }

.nav__list { display: flex; gap: 2rem; }
.nav__link {
  font-size: .92rem;
  color: var(--text-dim);
  letter-spacing: .02em;
  padding: .5rem 0;
  position: relative;
  transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease), left .3s var(--ease);
}
.nav__link:hover::after { width: 100%; left: 0; }

.header__actions { display: flex; align-items: center; gap: .25rem; }
.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text);
  transition: background .2s var(--ease), color .2s var(--ease);
  position: relative;
}
.icon-btn:hover { background: var(--gold-soft); color: var(--gold-2); }

.cart-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--gold);
  color: #1a1109;
  font-size: .7rem; font-weight: 700;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.cart-badge.is-visible { transform: scale(1); }

/* ── Ícono de favoritos en el header ── */
.icon-btn--fav .fav-badge { background: #e07070; }
.icon-btn--fav:hover { color: #e07070; }

/* ── Panel de favoritos (hereda estilos .cart) ── */
.fav-panel .cart__head h3 {
  display: flex;
  align-items: center;
}
.fav-panel__foot {
  padding-top: .5rem;
}
/* Tarjeta de producto en el panel de favoritos */
.fav-item {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  padding: .875rem 0;
  border-bottom: 1px solid var(--line);
}
.fav-item:last-child { border-bottom: none; }
.fav-item__img {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}
.fav-item__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.fav-item__info { flex: 1; min-width: 0; }
.fav-item__name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: .15rem;
}
.fav-item__cat {
  font-size: .72rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .3rem;
}
.fav-item__price {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold);
}
.fav-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .4rem;
  flex-shrink: 0;
}
.fav-item__go {
  font-size: .75rem;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(199,154,90,.2);
  border-radius: 999px;
  padding: .3rem .75rem;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.fav-item__go:hover { background: rgba(199,154,90,.25); border-color: var(--gold); }
.fav-item__remove {
  font-size: .72rem;
  color: var(--text-mute);
  transition: color .2s;
}
.fav-item__remove:hover { color: var(--danger); }

.menu-toggle { display: none; flex-direction: column; gap: 4px; }
.menu-toggle__bar {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.menu-toggle.is-open .menu-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 0rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(199,154,90,.18), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(199,154,90,.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.hero__title .accent {
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero__text {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero__features li {
  display: flex; flex-direction: column; gap: .15rem;
}
.hero__features strong {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--gold-2);
}
.hero__features span {
  font-size: .82rem;
  color: var(--text-mute);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-2);
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   TRUST
   ========================================================= */
.trust {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.trust__item {
  display: flex; align-items: center; gap: 1rem;
}
.trust__item svg {
  width: 36px; height: 36px;
  color: var(--gold);
  flex-shrink: 0;
}
.trust__item h4 { font-size: .95rem; font-weight: 600; color: var(--text); margin-bottom: .2rem; }
.trust__item p { font-size: .8rem; color: var(--text-mute); }

/* =========================================================
   Secciones
   ========================================================= */
.section { padding: 3rem 0; position: relative; }
.section--alt { background: var(--bg-2); }

.section__head { text-align: center; margin-bottom: 3.5rem; }
.section__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: .8rem;
}
.section__sub {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}

/* =========================================================
   CATEGORÍAS — Editorial Premium
   ========================================================= */

/* ── Intro header ── */
.cats-section { padding: 5rem 0 0; }
.cats-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}
.cats-intro__title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  margin-top: .6rem;
}
.cats-intro__title em {
  font-style: italic;
  background: linear-gradient(110deg, var(--gold), var(--gold-2) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cats-intro__sub {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 300px;
  text-align: right;
  padding-bottom: .3rem;
}

/* ── Grid asimétrico ── */
.cats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 400px 400px 280px;
  gap: 4px;
}

/* ─────── Card base ─────── */
.ccat {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  cursor: pointer;
}

/* Fondo de color único por categoría */
.ccat__bg {
  position: absolute; inset: 0;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.ccat:hover .ccat__bg { transform: scale(1.06); }

/* Overlay degradado de abajo hacia arriba */
.ccat__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,4,2,.92) 0%,
    rgba(6,4,2,.5) 40%,
    rgba(6,4,2,.1) 70%,
    transparent 100%
  );
  transition: background .5s var(--ease);
  z-index: 1;
}
.ccat:hover .ccat__overlay {
  background: linear-gradient(
    to top,
    rgba(6,4,2,.96) 0%,
    rgba(6,4,2,.7) 50%,
    rgba(6,4,2,.2) 80%,
    transparent 100%
  );
}

/* Número decorativo */
.ccat__num {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  font-family: var(--ff-display);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.12);
  user-select: none;
  z-index: 2;
  transition: -webkit-text-stroke-color .4s var(--ease), transform .4s var(--ease);
}
.ccat:hover .ccat__num {
  -webkit-text-stroke-color: rgba(255,255,255,.25);
  transform: scale(1.08) translateY(-3px);
}

/* Contenido: ícono + textos + CTA */
.ccat__content {
  position: relative;
  z-index: 3;
  padding: 2rem 2rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Ícono */
.ccat__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  flex-shrink: 0;
}
.ccat:hover .ccat__icon {
  transform: rotate(-8deg) scale(1.08);
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.14);
}
.ccat__icon svg {
  width: 26px; height: 26px;
  stroke: rgba(255,255,255,.9);
}

/* Textos */
.ccat__text { margin-bottom: 1.2rem; }
.ccat__label {
  display: block;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-color, var(--gold));
  font-weight: 500;
  margin-bottom: .4rem;
  opacity: .9;
}
.ccat__text h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: .5rem;
  transition: color .3s var(--ease);
}
.ccat:hover .ccat__text h3 { color: var(--accent-color, var(--gold-2)); }
.ccat__text p {
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  max-width: 28ch;
  transform: translateY(4px);
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.ccat:hover .ccat__text p { opacity: 1; transform: translateY(0); }

/* CTA */
.ccat__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  transition: color .3s var(--ease), gap .3s var(--ease), border-color .3s var(--ease);
}
.ccat:hover .ccat__cta {
  color: var(--accent-color, var(--gold));
  border-color: var(--accent-color, var(--gold));
  gap: .75rem;
}
.ccat__cta svg { transition: transform .3s var(--ease); stroke: currentColor; flex-shrink: 0; }
.ccat:hover .ccat__cta svg { transform: translateX(5px); }

/* ─── Colores únicos por categoría (fondo + acento) ─── */
.ccat--amber  { --accent-color: #d4a547; }
.ccat--copper { --accent-color: #c07840; }
.ccat--moss   { --accent-color: #7aab6e; }
.ccat--wine   { --accent-color: #c0607a; }
.ccat--slate  { --accent-color: #7aaccc; }
.ccat--gold   { --accent-color: #e0c060; }
.ccat--teal   { --accent-color: #5abcb0; }
.ccat--rose   { --accent-color: #d47090; }

.ccat--amber  .ccat__bg { background: linear-gradient(145deg, #3d2010 0%, #2a1508 40%, #1c0e05 100%); }
.ccat--copper .ccat__bg { background: linear-gradient(145deg, #2e1a0e 0%, #1e1008 100%); }
.ccat--moss   .ccat__bg { background: linear-gradient(145deg, #142012 0%, #0c1609 100%); }
.ccat--wine   .ccat__bg { background: linear-gradient(145deg, #2a1018 0%, #1a0a10 100%); }
.ccat--slate  .ccat__bg { background: linear-gradient(145deg, #101c28 0%, #080e18 100%); }
.ccat--gold   .ccat__bg { background: linear-gradient(145deg, #2c2008 0%, #1c1405 100%); }
.ccat--teal   .ccat__bg { background: linear-gradient(145deg, #081c1e 0%, #050c10 100%); }
.ccat--rose   .ccat__bg { background: linear-gradient(145deg, #281018 0%, #160810 100%); }

/* Borde luminoso izquierdo del color acento */
.ccat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent-color, var(--gold));
  z-index: 4;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.ccat:hover::before { transform: scaleY(1); }

/* ─── Tamaños ─── */
.ccat--lg {
  grid-column: span 1;
  grid-row: span 1;
}
.ccat--md {
  grid-column: span 1;
  grid-row: span 1;
}
.ccat--sm {
  grid-column: span 1;
  grid-row: span 1;
}

/* Layout posiciones */
/* Fila 1 */
.ccat:nth-child(1) { grid-column: 1; grid-row: 1; }
.ccat:nth-child(2) { grid-column: 2; grid-row: 1; }
.ccat:nth-child(3) { grid-column: 3; grid-row: 1; }
/* Fila 2 */
.ccat:nth-child(4) { grid-column: 1; grid-row: 2; }
.ccat:nth-child(5) { grid-column: 2; grid-row: 2; }
.ccat:nth-child(6) { grid-column: 3; grid-row: 2; }
/* Fila 3 — 2 items en 3 columnas → stretch */
.ccat:nth-child(7) { grid-column: 1 / 2; grid-row: 3; }
.ccat:nth-child(8) { grid-column: 2 / 4; grid-row: 3; }

/* Tarjetas grandes: h3 más grande */
.ccat:nth-child(1) .ccat__text h3,
.ccat:nth-child(6) .ccat__text h3 { font-size: 2.4rem; }
.ccat:nth-child(1) .ccat__num,
.ccat:nth-child(6) .ccat__num { font-size: 7rem; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .cats-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 320px);
  }
  .ccat:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .ccat:nth-child(2) { grid-column: 1; grid-row: 2; }
  .ccat:nth-child(3) { grid-column: 2; grid-row: 2; }
  .ccat:nth-child(4) { grid-column: 1; grid-row: 3; }
  .ccat:nth-child(5) { grid-column: 2; grid-row: 3; }
  .ccat:nth-child(6) { grid-column: 1 / 3; grid-row: 4; }
  .ccat:nth-child(7) { grid-column: 1; grid-row: 5; }
  .ccat:nth-child(8) { grid-column: 2; grid-row: 5; }
  .cats-intro { flex-direction: column; align-items: flex-start; }
  .cats-intro__sub { text-align: left; max-width: 100%; }
}
@media (max-width: 600px) {
  .cats-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .ccat { grid-column: 1 !important; grid-row: auto !important; min-height: 260px; }
  .cats-section { padding: 3rem 0 0; }
}



/* =========================================================
   CATÁLOGO
   ========================================================= */
.filters {
  display: flex; justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.chip {
  padding: .6rem 1.3rem;
  border-radius: 999px;
  font-size: .88rem;
  color: var(--text-dim);
  border: 1px solid var(--line-2);
  background: transparent;
  transition: all .25s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip.is-active {
  background: var(--gold);
  color: #1a1109;
  border-color: var(--gold);
  font-weight: 500;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
  animation: fadeUp .5s var(--ease) both;
}
.product:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

/* ── Media container ── */
.product__media {
  aspect-ratio: 4/5;
  position: relative;
  background: linear-gradient(135deg, #2c1f12 0%, #3e2c1a 60%, #241810 100%);
  overflow: hidden;
}
.product__media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.08), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,.3), transparent 50%);
  z-index: 0;
}

/* ── Ambas imágenes: absolute, cubren todo ── */
.product__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  will-change: transform, opacity;
}

/* Imagen principal — visible por defecto */
.product__img--main {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
}

/* Imagen hover (modelo) — oculta por defecto */
.product__img--hover {
  z-index: 2;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
}

/* Crossfade al hacer hover */
.product:hover .product__img--main {
  opacity: 0;
  transform: scale(1.05);
}
.product:hover .product__img--hover {
  opacity: 1;
  transform: scale(1);
}

/* Sin hoverImage: zoom sutil en la principal */
.product__img--main:only-of-type {
  transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
}
.product:hover .product__img--main:only-of-type {
  opacity: 1;
  transform: scale(1.05);
}

/* ── Badge y botón favorito encima de todo ── */
.product__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold);
  color: #1a1109;
  font-size: .7rem;
  font-weight: 600;
  padding: .3rem .6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
  z-index: 5;
}
.product__fav {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(14,11,8,.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s var(--ease), background .2s var(--ease);
  z-index: 5;
}
.product__fav:hover { color: var(--gold); background: rgba(14,11,8,.9); }
.product__fav.is-active { color: var(--gold); }
.product__fav.is-active svg { fill: var(--gold); stroke: var(--gold); }
.product__fav svg { transition: fill .2s ease, stroke .2s ease; }

/* ── Etiqueta "Vista con modelo" ── */
.product__hover-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(14,11,8,.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(244,234,216,.85);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .32rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(199,154,90,.28);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s cubic-bezier(.2,.7,.2,1) .1s, transform .38s cubic-bezier(.2,.7,.2,1) .1s;
}
.product__hover-hint svg { flex-shrink: 0; fill: none; stroke: var(--gold); }
.product:hover .product__hover-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.product__body {
  padding: 1.1rem 1.2rem 1.4rem;
  display: flex; flex-direction: column; gap: .4rem;
  flex: 1;
}
.product__cat {
  font-size: .72rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.product__name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.product__stars { color: var(--gold); font-size: .78rem; letter-spacing: 1px; }
.product__price {
  display: flex; align-items: baseline; gap: .5rem;
  margin-top: .3rem;
}
.product__price strong {
  font-size: 1.15rem;
  color: var(--gold-2);
  font-weight: 600;
}
.product__price del {
  color: var(--text-mute);
  font-size: .85rem;
}
.product__add {
  margin-top: auto;
  padding: .7rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: .88rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  transition: all .25s var(--ease);
}
.product__add:hover {
  background: var(--gold);
  color: #1a1109;
  border-color: var(--gold);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SPLIT
   ========================================================= */
.split { padding: 6rem 0; background: var(--bg); }
.split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split__copy h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.split__copy p { color: var(--text-dim); margin-bottom: 1.5rem; }
.check-list { margin: 0 0 2rem; display: grid; gap: .7rem; }
.check-list li {
  padding-left: 2rem;
  position: relative;
  color: var(--text-dim);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
}
.check-list li::after {
  content: "";
  position: absolute; left: 5px; top: .65em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.split__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  aspect-ratio: 1;
}
.leather-tile {
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.1), transparent 50%),
    linear-gradient(135deg, #3d2a17 0%, #5c3e22 50%, #2a1c0f 100%);
  box-shadow: inset 0 0 40px rgba(0,0,0,.4);
  position: relative;
  overflow: hidden;
}
.leather-tile::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.1) 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.06) 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(0,0,0,.15) 1px, transparent 2px);
  background-size: 40px 40px, 60px 60px, 80px 80px;
}
.leather-tile--dark {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.06), transparent 50%),
              linear-gradient(135deg, #1c120a 0%, #2a1c10 100%);
}
.leather-tile--gold {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.15), transparent 50%),
              linear-gradient(135deg, #8b5e2b 0%, #c79a5a 60%, #6b4520 100%);
}

/* =========================================================
   PAGOS
   ========================================================= */
.pay-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.pay-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.pay-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.pay-card--featured {
  background: linear-gradient(160deg, rgba(199,154,90,.15) 0%, var(--surface) 60%);
  border-color: var(--gold);
  grid-row: span 1;
}
.pay-card__badge {
  position: absolute; top: -12px; left: 1.5rem;
  background: var(--gold);
  color: #1a1109;
  font-size: .7rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pay-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.pay-card__icon svg { width: 26px; height: 26px; }
.pay-card h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: .4rem;
}
.pay-card p { color: var(--text-dim); font-size: .92rem; margin-bottom: 1rem; }
.pay-card__list { display: grid; gap: .4rem; font-size: .85rem; color: var(--text-dim); }
.pay-card__list li { padding-left: 1.2rem; position: relative; }
.pay-card__list li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--gold);
}
.pay-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay-card__tags span {
  font-size: .72rem;
  padding: .3rem .7rem;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  letter-spacing: .03em;
}

.security-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.security-bar__item {
  display: flex; align-items: center; gap: .8rem;
  color: var(--text-dim);
  font-size: .88rem;
}
.security-bar__item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__copy h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}
.about__copy p { color: var(--text-dim); margin-bottom: 2rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stats > div { display: flex; flex-direction: column; gap: .2rem; }
.stats strong {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  color: var(--gold-2);
}
.stats span { color: var(--text-mute); font-size: .85rem; }
.about__media {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-3), #0a0806);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  padding: 0rem;
  box-shadow: var(--shadow);
}
.about__media img { max-width: 95%; }

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.testimonial:hover { border-color: var(--gold); transform: translateY(-3px); }
.stars { color: var(--gold); font-size: .95rem; letter-spacing: 2px; }
.testimonial p {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--text);
}
.testimonial footer { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1109;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.testimonial footer strong { display: block; font-size: .9rem; }
.testimonial footer span { color: var(--text-mute); font-size: .8rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .6rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  transition: border-color .3s var(--ease);
}
.faq__item[open] { border-color: var(--gold); }
.faq__item summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.02rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform .3s var(--ease);
  line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  color: var(--text-dim);
  margin-top: .9rem;
  line-height: 1.65;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(199,154,90,.18), transparent 50%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.newsletter h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  margin-bottom: .6rem;
  line-height: 1.15;
}
.newsletter p { color: var(--text-dim); }
.newsletter__form {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  position: relative;
}
.newsletter__form input {
  flex: 1;
  min-width: 220px;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .25s var(--ease);
}
.newsletter__form input:focus {
  outline: none;
  border-color: var(--gold);
}
.newsletter__note {
  width: 100%;
  font-size: .82rem;
  color: var(--success);
  margin-top: .4rem;
  min-height: 1em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #070503;
  color: var(--text-dim);
  padding-top: 4rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand img { height: 80px; margin-bottom: 1rem; }
.footer__brand p { max-width: 300px; margin-bottom: 1.2rem; font-size: .92rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: all .25s var(--ease);
}
.footer__social a:hover { color: var(--gold); border-color: var(--gold); }
.footer__social svg { width: 18px; height: 18px; }

.footer h4 {
  color: var(--text);
  font-size: .95rem;
  margin-bottom: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer ul { display: grid; gap: .55rem; }
.footer ul a { font-size: .92rem; transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  font-size: .82rem;
}
.footer__bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a:hover { color: var(--gold); }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.1rem .85rem .85rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 500;
  font-size: .9rem;
  box-shadow: 0 10px 25px -5px rgba(37,211,102,.4), 0 4px 10px rgba(0,0,0,.3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(37,211,102,.55), 0 4px 10px rgba(0,0,0,.3);
}
.whatsapp svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: currentColor;
  display: block;
}

/* =========================================================
   CARRITO
   ========================================================= */
.cart {
  position: fixed; inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}
.cart.is-open { pointer-events: auto; visibility: visible; }
.cart__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.cart.is-open .cart__overlay { opacity: 1; }
.cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  box-shadow: var(--shadow-lg);
}
.cart.is-open .cart__panel { transform: translateX(0); }
.cart__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart__head h3 { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 600; }
.cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 1.5rem;
}
.cart__empty { color: var(--text-mute); text-align: center; padding: 3rem 0; }
.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
  width: 60px; height: 72px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3d2a17, #241810);
  position: relative;
  overflow: hidden;
}
/* .cart-item__img::after {
  content: "";
  position: absolute; inset: 15%;
  background: var(--gold);
  opacity: .4;
  -webkit-mask: var(--product-icon) center/contain no-repeat;
          mask: var(--product-icon) center/contain no-repeat;
} */
.cart-item__name { font-size: .92rem; font-weight: 500; margin-bottom: .2rem; }
.cart-item__cat { font-size: .74rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }
.cart-item__qty {
  display: inline-flex; align-items: center;
  margin-top: .5rem;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
}
.cart-item__qty button {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: background .2s var(--ease);
}
.cart-item__qty button:hover { background: var(--gold-soft); color: var(--gold); }
.cart-item__qty span {
  width: 30px; text-align: center;
  font-size: .85rem; font-weight: 500;
}
.cart-item__right { text-align: right; display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; }
.cart-item__price { color: var(--gold-2); font-weight: 600; }
.cart-item__remove {
  color: var(--text-mute);
  font-size: .78rem;
  transition: color .2s var(--ease);
}
.cart-item__remove:hover { color: var(--danger); }

.cart__foot {
  border-top: 1px solid var(--line);
  padding: 1.2rem 1.5rem;
  display: grid; gap: .8rem;
}
.cart__total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 1.05rem;
}
.cart__total strong {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  color: var(--gold-2);
}
.cart__note { font-size: .78rem; color: var(--text-mute); }

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed;
  bottom: 90px; right: 24px;
  background: var(--surface-2);
  border: 1px solid var(--gold);
  color: var(--text);
  padding: .9rem 1.3rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 110;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all .35s var(--ease);
  font-size: .9rem;
  max-width: 320px;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__image { order: -1; max-height: 380px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .security-bar { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .split__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .testimonials { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem;
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    display: block;
    padding: .9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .menu-toggle { display: flex; }

  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .hero__features { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .categories { grid-template-columns: 1fr 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .security-bar { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; padding: 1.5rem; }

  .whatsapp span { display: none; }
  .whatsapp { padding: .9rem; }
}

@media (max-width: 480px) {
  .products { grid-template-columns: 1fr; }
  .categories { grid-template-columns: 1fr; }
  .announcement { font-size: .7rem; }
  .hero__ctas .btn { flex: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .announcement__track { animation: none; }
}

/* =========================================================
   PRODUCT CARD — ajustes para link + color dots
   ========================================================= */
a.product { text-decoration: none; color: inherit; }
.product__colors {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .2rem;
}
.color-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 0 4px rgba(0,0,0,.4);
  display: inline-block;
}
.color-more {
  font-size: .72rem;
  color: var(--text-mute);
  margin-left: .15rem;
}
.product__stars small {
  color: var(--text-mute);
  margin-left: .3rem;
}

/* =========================================================
   GUÍA — Categorías, medidas y colores
   ========================================================= */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.guide-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.guide-card__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.guide-card__head svg {
  width: 38px; height: 38px;
  color: var(--gold);
  flex-shrink: 0;
}
.guide-card__head h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.guide-card__list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.guide-card__list dt {
  font-size: .72rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .3rem;
}
.guide-card__list dt:first-child { margin-top: 0; }
.guide-card__list dd {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.45;
}
.guide-card__colors {
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}
.guide-card__colors > span {
  display: block;
  font-size: .72rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}
.color-row {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.color-row .color-dot {
  width: 22px; height: 22px;
  border: 2px solid var(--line-2);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.3);
  cursor: help;
}
.guide-note {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background: var(--gold-soft);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.guide-note svg {
  width: 28px; height: 28px;
  color: var(--gold);
  flex-shrink: 0;
}
.guide-note p { color: var(--text-dim); font-size: .95rem; }
.guide-note strong { color: var(--text); }

/* =========================================================
   CART ITEM — opciones color/talla
   ========================================================= */
.cart-item__opts {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .8rem;
  font-size: .78rem;
  color: var(--text-dim);
  margin-top: .3rem;
}
.cart-item__opts span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.cart-item__opts .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-block;
}

/* =========================================================
   PRODUCTO.HTML — página de detalle
   ========================================================= */
.detail-page {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  min-height: 60vh;
}
.detail-loading {
  text-align: center;
  padding: 5rem 0;
  color: var(--text-mute);
}
.loader {
  width: 40px; height: 40px;
  border: 3px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.detail-empty {
  text-align: center;
  padding: 6rem 0;
}
.detail-empty h2 {
  font-family: var(--ff-display);
  font-size: 2rem;
  margin-bottom: .6rem;
}
.detail-empty p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--text-mute);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.crumbs a {
  color: var(--text-dim);
  transition: color .2s var(--ease);
}
.crumbs a:hover { color: var(--gold); }
.crumbs__current { color: var(--text); }

/* Grid principal */
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 5rem;
}

/* GALERÍA */
.detail-gallery {
  position: sticky;
  top: 100px;
  align-self: start;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-canvas {
  position: absolute; inset: 0;
  display: flex;
}
.gallery-view {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.1), transparent 50%),
              linear-gradient(135deg, color-mix(in srgb, var(--leather-color, #8b5e2b) 80%, #2c1f12) 0%,
                                       var(--leather-color, #8b5e2b) 50%,
                                       color-mix(in srgb, var(--leather-color, #8b5e2b) 30%, #0e0b08) 100%);
  transform: scale(1.02);
}
.gallery-view.is-active {
  opacity: 1;
  transform: scale(1);
}
/* .gallery-view::after {
  content: "";
  position: absolute;
  inset: 15%;
  background: currentColor;
  color: rgba(0,0,0,.45);
  -webkit-mask: var(--product-icon) center/contain no-repeat;
          mask: var(--product-icon) center/contain no-repeat;
  transition: transform .5s var(--ease);
} */
.gallery-view[data-view="1"]::after {
  inset: 18%;
  transform: rotate(-12deg);
}
.gallery-view[data-view="2"]::after {
  inset: 22%;
  transform: rotate(8deg) scale(.9);
}
.gallery-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 70%, rgba(0,0,0,.35), transparent 60%);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(14,11,8,.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  border: 1px solid var(--line-2);
}
.gallery-arrow:hover {
  background: var(--gold);
  color: #1a1109;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.05);
}
.gallery-arrow--prev { left: 1rem; }
.gallery-arrow--next { right: 1rem; }

.gallery-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(14,11,8,.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--text);
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  z-index: 3;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}
.gallery-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-2);
  transition: all .3s var(--ease);
  padding: 0;
}
.gallery-dot:hover { background: var(--text-mute); }
.gallery-dot.is-active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

.discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--danger);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 6px;
  z-index: 2;
}

/* INFO */
.detail-info {
  padding-top: .5rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--text-mute);
  font-size: .88rem;
  margin-bottom: 1.5rem;
  transition: color .2s var(--ease);
  width: fit-content;    /* no ocupa todo el ancho */
  clear: both;
}
.back-link:hover { color: var(--gold); }

.detail-cat {
  display: block;        /* fuerza salto de línea antes y después */
  font-size: .78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 500;
  margin-bottom: .3rem;
}
.detail-name {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  margin: .5rem 0 .5rem;
}
.detail-id {
  font-size: .78rem;
  color: var(--text-mute);
  font-family: monospace;
  letter-spacing: .05em;
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1rem 0;
  color: var(--text-dim);
  font-size: .88rem;
}
.detail-rating .stars {
  color: var(--gold);
  letter-spacing: 2px;
}
.detail-price {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  margin: 1rem 0 1.4rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-price strong {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--gold-2);
  font-weight: 600;
}
.detail-price del {
  color: var(--text-mute);
  font-size: 1.1rem;
}
.detail-desc {
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* SELECTORES */
.selector { margin-bottom: 1.6rem; }
.selector__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .85rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .7rem;
  gap: .5rem;
}
.selector__label strong {
  color: var(--text);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.selector__help {
  font-size: .75rem;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.selector__help:hover { color: var(--gold-2); }

/* Swatches (colores) */
.swatches {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.swatch {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .3rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  cursor: pointer;
  background: transparent;
}
.swatch > span:first-child {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  box-shadow: inset 0 2px 10px rgba(0,0,0,.4);
  transition: transform .25s var(--ease);
}
.swatch:hover > span:first-child {
  transform: scale(1.08);
  border-color: var(--text-mute);
}
.swatch.is-active {
  border-color: var(--gold);
  background: var(--gold-soft);
}
.swatch.is-active > span:first-child {
  border-color: var(--gold);
  box-shadow: inset 0 2px 10px rgba(0,0,0,.4), 0 0 0 2px var(--bg) inset;
}
.swatch-name {
  font-size: .72rem;
  color: var(--text-dim);
}
.swatch.is-active .swatch-name { color: var(--text); }

/* Tallas */
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.size-chip {
  padding: .7rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-dim);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s var(--ease);
  min-width: 60px;
}
.size-chip:hover {
  border-color: var(--gold);
  color: var(--text);
}
.size-chip.is-active {
  background: var(--gold);
  color: #1a1109;
  border-color: var(--gold);
}

/* Qty */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.qty-selector button {
  width: 42px; height: 42px;
  font-size: 1.1rem;
  color: var(--text-dim);
  transition: all .2s var(--ease);
}
.qty-selector button:hover {
  background: var(--gold-soft);
  color: var(--gold);
}
.qty-selector input {
  width: 52px;
  height: 42px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: .95rem;
  font-weight: 500;
  font-family: inherit;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.qty-selector input:focus { outline: none; }

/* CTAs detalle */
.detail-ctas {
  display: grid;
  gap: .7rem;
  margin: 1.5rem 0 2rem;
}

/* Beneficios detalle */
.detail-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.3rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.detail-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}
.detail-benefits svg {
  width: 24px; height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.detail-benefits strong {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: .1rem;
}
.detail-benefits span {
  font-size: .78rem;
  color: var(--text-mute);
}

/* SPECS */
.detail-specs {
  margin-bottom: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.specs-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.specs-block h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.specs-list {
  display: grid;
  gap: .7rem;
}
.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: var(--text-dim);
  font-size: .95rem;
}
.specs-list svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.specs-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  gap: 1rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row span {
  color: var(--text-mute);
  text-transform: capitalize;
}
.spec-row strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* RELACIONADOS */
.detail-related .products {
  grid-template-columns: repeat(4, 1fr);
}

/* =========================================================
   RESPONSIVE — páginas de detalle y guía
   ========================================================= */
@media (max-width: 1024px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-gallery { position: static; }
  .specs-grid { grid-template-columns: 1fr; gap: 2rem; }
  .detail-related .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .guide-grid { grid-template-columns: 1fr; }
  .detail-benefits { grid-template-columns: 1fr; }
  .detail-price strong { font-size: 2rem; }
  .detail-name { font-size: 1.8rem; }
  .detail-related .products { grid-template-columns: 1fr; }
  .swatch > span:first-child { width: 38px; height: 38px; }
  .gallery-arrow { width: 38px; height: 38px; }
  .gallery-arrow--prev { left: .5rem; }
  .gallery-arrow--next { right: .5rem; }
}
/* =========================================================
   VIDEO BANNER — Sección de video de producto
   ========================================================= */
.video-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0e0b08;
}

.video-banner__video {
  width: 100%;
  height: auto;
  max-height: 90vh;
  display: block;
  object-fit: cover;
}

/* Gradiente oscuro encima del video */
.video-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,11,8,.72) 0%,
    rgba(14,11,8,.35) 45%,
    rgba(14,11,8,.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Contenedor del texto flotante */
.video-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
  pointer-events: none;
}

.video-banner__eyebrow {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(199,154,90,.35);
  padding: .35rem 1.1rem;
  border-radius: 999px;
  background: rgba(199,154,90,.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.video-banner__title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #f4ead8;
  text-shadow:
    0 2px 40px rgba(0,0,0,.7),
    0 0 80px rgba(199,154,90,.15);
  letter-spacing: -.01em;
}

.video-banner__sub {
  font-family: var(--ff-sans);
  font-size: clamp(.8rem, 1.5vw, 1rem);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244,234,216,.65);
}

@media (max-width: 768px) {
  .video-banner__video { max-height: 60vh; }
  .video-banner__overlay { gap: .75rem; }
}