/* ═══════════════════════════════════════════════════════════
   PERÚ MÍSTICO — MAIN STYLESHEET
   Palette: Gold · Dark Brown · Ivory · Deep Red
   ═══════════════════════════════════════════════════════════ */

/* ── PROTECCIÓN DE CONTENIDO ─────────────────────────────── */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
a img, button img, .clickable img { pointer-events: auto; }

/* Overlay de pantalla al intentar captura */
.pm-shield-blur { filter: blur(20px) !important; transition: filter .1s; }

/* Imprimir: página en blanco con aviso */
@media print {
  html body { display: none !important; }
}

/* ── WEB FONTS ───────────────────────────────────────────── */
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fonts/TT Chocolates Trial Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fonts/TT Chocolates Trial Medium Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════════════════════ */

/* ── SLIDER WRAPPER ───────────────────────────────────────── */
.hero-slider {
  position: relative !important;
  width: 100%;
  height: 100vh !important;
  min-height: 600px;
  max-height: 100vh;
  overflow: hidden;
  background: #1C0A00;
  display: block;
}

/* ── SLIDES ──────────────────────────────────────────────── */
.hs-slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.8s ease-in-out;
  pointer-events: none;
}
.hs-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* ── BACKGROUND + KEN BURNS ──────────────────────────────── */
.hs-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* Ken Burns — arrancan solo cuando el slide está activo */
.hs-slide.active.kb-zoom-in   .hs-bg { animation: kbZoomIn   9s ease forwards; }
.hs-slide.active.kb-zoom-out  .hs-bg { animation: kbZoomOut  9s ease forwards; }
.hs-slide.active.kb-pan-right .hs-bg { animation: kbPanRight 10s ease forwards; }
.hs-slide.active.kb-pan-left  .hs-bg { animation: kbPanLeft  10s ease forwards; }
.hs-slide.active.kb-pan-up    .hs-bg { animation: kbPanUp    10s ease forwards; }

@keyframes kbZoomIn   { from { transform: scale(1)    translate(0,0);     } to { transform: scale(1.14) translate(-1%,-1%); } }
@keyframes kbZoomOut  { from { transform: scale(1.14) translate(1%,1%);   } to { transform: scale(1)    translate(0,0);     } }
@keyframes kbPanRight { from { transform: scale(1.1)  translateX(-3.5%);  } to { transform: scale(1.1)  translateX(3.5%);  } }
@keyframes kbPanLeft  { from { transform: scale(1.1)  translateX(3.5%);   } to { transform: scale(1.1)  translateX(-3.5%); } }
@keyframes kbPanUp    { from { transform: scale(1.1)  translateY(3.5%);   } to { transform: scale(1.1)  translateY(-3.5%); } }

/* ── OVERLAY ─────────────────────────────────────────────── */
.hs-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
  transition: background 1.5s ease;
}

/* ── CONTENT ─────────────────────────────────────────────── */
.hero-slider .container {
  height: 100%;
  display: flex;
  align-items: center;
}
.hs-content {
  padding: 6rem 0 4rem;
  max-width: 700px;
}

/* Animated entrance per element */
.hs-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(196,169,108,.18);
  border: 1px solid rgba(196,169,108,.5);
  color: #E8D090;
  font-size: .80rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .42rem 1.1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease .15s, transform .65s ease .15s;
}
.hs-slide.active .hs-badge { opacity: 1; transform: translateY(0); }

.hs-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 600;
  color: #F5E6C8;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s ease .32s, transform .75s ease .32s;
  text-shadow: 0 2px 18px rgba(0,0,0,.65), 0 1px 4px rgba(0,0,0,.8);
}
.hs-slide.active .hs-title { opacity: 1; transform: translateY(0); }

.hs-gold {
  color: #ffffff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: .04em;
  display: block;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}

.hs-desc {
  font-size: 1.08rem;
  color: rgba(255,245,220,.92);
  line-height: 1.78;
  margin-bottom: 2rem;
  max-width: 530px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease .50s, transform .7s ease .50s;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.hs-slide.active .hs-desc { opacity: 1; transform: translateY(0); }

.hs-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease .68s, transform .65s ease .68s;
}
.hs-slide.active .hs-cta { opacity: 1; transform: translateY(0); }

/* Stats en slide 1 */
.hs-slide.active .hero-stats {
  opacity: 0;
  transform: translateY(16px);
  animation: statsIn .7s ease .95s forwards;
}
@keyframes statsIn { to { opacity: 1; transform: translateY(0); } }

/* ── NAVIGATION ARROWS ───────────────────────────────────── */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 54px; height: 54px;
  background: rgba(28,10,0,.45);
  border: 1px solid rgba(196,169,108,.35);
  color: #F5E6C8;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hs-arrow:hover {
  background: #C4A96C;
  color: #1C0A00;
  border-color: #C4A96C;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 22px rgba(196,169,108,.55);
}
.hs-prev { left: 1.5rem; }
.hs-next { right: 1.5rem; }

/* ── DOT INDICATORS ─────────────────────────────────────── */
.hs-dots {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  gap: .55rem;
  align-items: center;
}
.hs-dot {
  width: 26px; height: 3px;
  background: rgba(245,230,200,.28);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  padding: 0;
}
.hs-dot.active {
  width: 56px;
  background: #D4BA80;
  box-shadow: 0 0 12px rgba(218,165,32,.75);
}
.hs-dot:hover:not(.active) { background: rgba(196,169,108,.55); width: 36px; }

/* ── SLIDE COUNTER ───────────────────────────────────────── */
.hs-counter {
  position: absolute;
  bottom: 2.6rem;
  right: 2rem;
  z-index: 15;
  color: rgba(245,230,200,.45);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.hs-counter #hsCurrent {
  color: #D4BA80;
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.hs-sep { margin: 0 .15rem; }

/* ── PROGRESS BAR ────────────────────────────────────────── */
.hs-progress-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 15;
}
.hs-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #C4A96C, #E8D090, #C4A96C);
  width: 0%;
  transition: width linear;
  box-shadow: 0 0 10px rgba(218,165,32,.85);
}

/* ── SWEEP TRANSITION LAYERS — desactivado ───────────────── */
.hs-sweep-layer { display: none !important; }
.hs-sweep-inner {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  opacity: 0;
}

/* — Tipo 1: Barrido horizontal (→) — slide 1, Lima Colonial */
.hs-sweep-inner.sweep-h {
  width: 350%;
  left: -250%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196,169,108,.25) 30%,
    rgba(240,192,64,.90) 48%,
    rgba(255,220,80,1)   50%,
    rgba(240,192,64,.90) 52%,
    rgba(196,169,108,.25) 70%,
    transparent 100%
  );
  animation: sweepH .90s cubic-bezier(.76,0,.24,1) forwards;
}
@keyframes sweepH {
  0%   { transform: translateX(0);     opacity: 1; }
  100% { transform: translateX(71.4%); opacity: .15; }
}

/* — Tipo 2: Barrido vertical (↓) — slide 2, Machu Picchu */
.hs-sweep-inner.sweep-v {
  height: 350%;
  top: -250%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(196,169,108,.25) 30%,
    rgba(240,192,64,.90) 48%,
    rgba(255,220,80,1)   50%,
    rgba(240,192,64,.90) 52%,
    rgba(196,169,108,.25) 70%,
    transparent 100%
  );
  animation: sweepV .90s cubic-bezier(.76,0,.24,1) forwards;
}
@keyframes sweepV {
  0%   { transform: translateY(0);     opacity: 1; }
  100% { transform: translateY(71.4%); opacity: .15; }
}

/* — Tipo 3: Barrido diagonal (↘) — slide 3, Lima antigua */
.hs-sweep-inner.sweep-d {
  width: 350%; height: 350%;
  top: -200%; left: -200%;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(196,169,108,.30) 44%,
    rgba(240,192,64,.90) 48%,
    rgba(255,220,80,1)   50%,
    rgba(240,192,64,.90) 52%,
    rgba(196,169,108,.30) 56%,
    transparent 70%
  );
  animation: sweepD 1.05s cubic-bezier(.76,0,.24,1) forwards;
}
@keyframes sweepD {
  0%   { transform: translate(0,0);           opacity: 1; }
  100% { transform: translate(57.1%, 57.1%);  opacity: .10; }
}

/* — Tipo 4: Expansión circular (O→) — slide 4, Textil */
.hs-sweep-inner.sweep-circle {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255,220,80,1)    0%,
    rgba(240,192,64,.85)  18%,
    rgba(196,169,108,.45)  38%,
    rgba(196,169,108,.10)  58%,
    transparent           72%
  );
  animation: sweepCircle 1.0s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes sweepCircle {
  0%   { transform: scale(0);   opacity: 1; }
  65%  { transform: scale(2.8); opacity: .85; }
  100% { transform: scale(5.0); opacity: 0; }
}

/* — Tipo 5: Persianas doradas (|||) — slide 5, E-Commerce */
.hs-sweep-inner.sweep-block {
  background: repeating-linear-gradient(
    90deg,
    transparent           0px,
    transparent           14px,
    rgba(240,192,64,.80)  14px,
    rgba(240,192,64,.80)  16px
  );
  animation: sweepBlock 1.05s cubic-bezier(.76,0,.24,1) forwards;
}
@keyframes sweepBlock {
  0%   { clip-path: inset(0 100% 0 0); opacity: 1; }
  48%  { clip-path: inset(0 0 0 0);    opacity: 1; }
  100% { clip-path: inset(0 0 0 100%); opacity: 0; }
}

/* ── DETALLES DECORATIVOS — desactivados ─────────────────── */
.hs-detail { display: none !important; }

/* Detalle 1 — Lima Colonial: líneas verticales doradas (columnas barrocas) */
.detail-vlines {
  background:
    repeating-linear-gradient(
      90deg,
      transparent           0px,
      transparent           59px,
      rgba(196,169,108,.08)  59px,
      rgba(196,169,108,.08)  60px
    );
}
.detail-vlines::before,
.detail-vlines::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(196,169,108,.6) 25%,
    rgba(240,192,64,.9) 50%,
    rgba(196,169,108,.6) 75%,
    transparent 100%
  );
  animation: lineGlow 3.5s ease-in-out infinite;
}
.detail-vlines::before { left: 3%; }
.detail-vlines::after  { right: 3%; animation-delay: 1.75s; }

/* Detalle 2 — Machu Picchu: rayos de luz desde arriba (sol andino) */
.detail-triangle::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: conic-gradient(
    from 270deg at 30% -5%,
    rgba(196,169,108,.08) 0deg,
    transparent          25deg,
    transparent          335deg,
    rgba(196,169,108,.08) 360deg
  );
}
.detail-triangle::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(15,28,12,.35) 100%);
}

/* Detalle 3 — Lima Antigua: doble marco vintage */
.detail-frame::before {
  content: '';
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(196,169,108,.22);
  pointer-events: none;
}
.detail-frame::after {
  content: '';
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(196,169,108,.11);
  pointer-events: none;
}

/* Detalle 4 — Textil: trama de tejido diagonal */
.detail-diag {
  background: repeating-linear-gradient(
    -45deg,
    transparent           0px,
    transparent           23px,
    rgba(196,169,108,.055) 23px,
    rgba(196,169,108,.055) 24px
  );
}
.detail-diag::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 260px; height: 260px;
  background: linear-gradient(225deg, rgba(196,169,108,.20) 0%, transparent 60%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.detail-diag::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 180px; height: 180px;
  background: linear-gradient(45deg, rgba(196,169,108,.15) 0%, transparent 65%);
  clip-path: polygon(0 100%, 0 0, 100% 100%);
}

/* Detalle 5 — E-Commerce: cuadrícula de puntos digital */
.detail-dots {
  background-image: radial-gradient(circle, rgba(196,169,108,.20) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
}
.detail-dots::before {
  content: '';
  position: absolute;
  bottom: 5.5rem; right: 2.5rem;
  height: 2px;
  width: 100px;
  background: linear-gradient(90deg, transparent, #D4BA80);
  animation: lineGrow 2.2s ease-in-out infinite alternate;
}
.detail-dots::after {
  content: '';
  position: absolute;
  bottom: 5.5rem; right: 2.5rem;
  width: 10px; height: 10px;
  background: #D4BA80;
  border-radius: 50%;
  right: 2.5rem;
  box-shadow: 0 0 10px rgba(218,165,32,.8);
  animation: dotPulse 2.2s ease-in-out infinite alternate;
}

@keyframes lineGlow {
  0%, 100% { opacity: .3; }
  50%       { opacity: .9; }
}
@keyframes lineGrow {
  from { width: 50px;  opacity: .4; }
  to   { width: 120px; opacity: 1;  }
}
@keyframes dotPulse {
  from { transform: scale(.8); opacity: .5; }
  to   { transform: scale(1.3); opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .hs-arrow { width: 44px; height: 44px; font-size: .88rem; }
  .hs-prev  { left: 1rem; }
  .hs-next  { right: 1rem; }
}
@media (max-width: 767px) {
  .hs-arrow   { display: none; }
  .hs-counter { display: none; }
  .hs-title   { font-size: clamp(1.75rem, 8vw, 2.6rem); }
  .hs-desc    { font-size: 1rem; }
  .hs-content { padding: 5rem 0 3.5rem; }
  .hs-cta .btn { font-size: .9rem; padding: .55rem 1.3rem; }
  .detail-vlines::before,
  .detail-vlines::after { display: none; }
}
@media (max-width: 575px) {
  .hs-cta { flex-direction: column; }
  .hs-cta .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 1.2rem; }
}

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --gold:         #C4A96C;
  --gold-light:   #D4BA80;
  --gold-bright:  #E8D090;
  --gold-pale:    #F5EDD8;
  --dark:         #1C0A00;
  --dark-2:       #2D1600;
  --brown:        #5C3317;
  --red:          #8B0000;
  --cream:        #FAF5EE;
  --ivory:        #F5E6C8;
  --white:        #FFFFFF;
  --gray-light:   #F8F4EF;
  --border:       rgba(196,169,108,.25);
  --shadow:       0 4px 20px rgba(28,10,0,.12);
  --shadow-lg:    0 12px 45px rgba(28,10,0,.22);
  --transition:   all .35s cubic-bezier(.4,0,.2,1);
  --radius:       12px;
  --radius-sm:    8px;
}

/* ── RESET / BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: #000000;
  color: #ffffff;
  font-size: .82rem;
  padding: .5rem 0;
  letter-spacing: .03em;
  border-bottom: 1px solid rgba(196,169,108,.20);
}
.topbar span { color: #ffffff; opacity: .88; }
.topbar a {
  color: #ffffff;
  opacity: .75;
  font-size: 1rem;
}
.topbar a:hover { color: #C4A96C; opacity: 1; }

/* ── NAVBAR ─────────────────────────────────────────────── */
#mainNav {
  background: #000000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196,169,108,.22);
  padding: .75rem 0;
  transition: var(--transition);
}

#mainNav.scrolled {
  padding: .45rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.55);
}

/* Logo */
.logo-brand { display: flex; align-items: center; padding: 0; }
.logo-img {
  height: 54px;
  width: auto;
  display: block;
  border-radius: 6px;
  transition: opacity .25s ease;
}
.logo-img--footer {
  height: 58px;
  border-radius: 8px;
}
.logo-brand:hover .logo-img { opacity: .85; }

/* Nav links */
.navbar-nav .nav-link {
  color: #ffffff !important;
  font-size: .92rem;
  font-weight: 400;
  padding: .5rem .85rem !important;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
  letter-spacing: .02em;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 1.5px;
  background: #C4A96C;
  border: none;
  vertical-align: 0;
  margin: 0;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #C4A96C !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { left: 12px; right: 12px; }

/* Dropdown */
.dropdown-menu {
  background: #111111;
  border: 1px solid rgba(196,169,108,.22);
  border-radius: var(--radius);
  padding: .5rem;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  margin-top: .5rem !important;
}
.dropdown-item {
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: .5rem .85rem;
  font-size: .9rem;
  transition: var(--transition);
}
.dropdown-item:hover { background: rgba(196,169,108,.15); color: #C4A96C; }
.dropdown-divider { border-color: rgba(196,169,108,.18); }

/* Nav action buttons */
.nav-icon-btn {
  position: relative;
  color: var(--ivory) !important;
  font-size: 1.1rem;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.nav-icon-btn:hover { background: rgba(196,169,108,.2); color: var(--gold-bright) !important; }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--gold);
  color: var(--dark);
  font-size: .65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: var(--transition);
}
.cart-badge.bounce { animation: badgeBounce .4s ease; }

@keyframes badgeBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  70%  { transform: scale(.9); }
  100% { transform: scale(1); }
}

/* Navbar toggler */
.navbar-toggler { border: 1px solid var(--border); padding: .4rem .6rem; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28245,230,200,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark) !important;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: .55rem 1.5rem;
  letter-spacing: .04em;
  box-shadow: 0 4px 14px rgba(196,169,108,.35);
  transition: var(--transition);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-bright));
  box-shadow: 0 6px 22px rgba(196,169,108,.5);
  transform: translateY(-2px);
}
.btn-gold:active { transform: translateY(0); }

.btn-dark-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  padding: .55rem 1.5rem;
  font-weight: 600;
  background: transparent;
  transition: var(--transition);
}
.btn-dark-outline:hover {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(196,169,108,.35);
}

/* ── SECTION TITLES ──────────────────────────────────────── */
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.section-title {
  font-family: 'TT Chocolates', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
}
.page-home .section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.section-title span { color: var(--gold); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--brown);
  max-width: 560px;
}
.divider-gold {
  width: 80px; height: 1px;
  background: var(--gold);
  margin: .9rem 0;
}
.divider-gold.center { margin-left: auto; margin-right: auto; }

/* ── HERO ────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(28,10,0,.92) 0%, rgba(92,51,23,.75) 50%, rgba(196,169,108,.30) 100%),
    url('https://images.unsplash.com/photo-1526392060635-9d6019884377?auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(196,169,108,.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-particles {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(196,169,108,.35) 1px, transparent 1px),
    radial-gradient(circle, rgba(196,169,108,.20) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
  animation: particlesMove 20s linear infinite;
  opacity: .4;
}
@keyframes particlesMove {
  from { background-position: 0 0, 20px 20px; }
  to   { background-position: 40px 40px, 60px 60px; }
}

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(196,169,108,.2);
  border: 1px solid rgba(196,169,108,.4);
  color: var(--gold-bright);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .gold-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(245,230,200,.8);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.hero-stat .label {
  font-size: .78rem;
  color: rgba(245,230,200,.6);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .25rem;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-frame {
  width: 420px; max-width: 100%;
  height: 480px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border: 3px solid rgba(196,169,108,.4);
  overflow: hidden;
  animation: morphBlob 8s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(196,169,108,.3);
}
.hero-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
}
@keyframes morphBlob {
  0%   { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25%  { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50%  { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75%  { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.hero-ornament {
  position: absolute;
  width: 480px; height: 480px;
  border: 1px dashed rgba(196,169,108,.25);
  border-radius: 50%;
  animation: spin 25s linear infinite;
}
.hero-ornament.inner {
  width: 380px; height: 380px;
  animation-direction: reverse;
  animation-duration: 18s;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(245,230,200,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-indicator i { font-size: 1.2rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── ANNOUNCEMENT BAR ────────────────────────────────────── */
.announce-bar {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  color: var(--dark);
  font-weight: 700;
  font-size: .85rem;
  text-align: center;
  padding: .65rem;
  letter-spacing: .06em;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── CATEGORIES SECTION ──────────────────────────────────── */
.categories-section { padding: 5rem 0; background: var(--cream); }

.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card:hover::before { opacity: 1; }

.cat-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.cat-card:hover .cat-icon { background: rgba(255,255,255,.25) !important; color: var(--dark) !important; }

.cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.cat-card:hover .cat-name { color: var(--dark); }
.cat-count {
  font-size: .82rem;
  color: var(--brown);
  position: relative;
  z-index: 1;
  transition: var(--transition);
  margin-top: .25rem;
}
.cat-card:hover .cat-count { color: rgba(28,10,0,.7); }

/* ── PRODUCT CARDS ───────────────────────────────────────── */
.products-section { padding: 5rem 0; }
.products-section.bg-alt { background: var(--gray-light); }

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,169,108,.4);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-overlay {
  position: absolute; inset: 0;
  background: rgba(28,10,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.overlay-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  transform: translateY(12px);
}
.product-card:hover .overlay-btn { transform: translateY(0); }
.overlay-btn:hover { background: var(--gold); color: var(--dark); }
.overlay-btn:nth-child(2) { transition-delay: .06s; }
.overlay-btn:nth-child(3) { transition-delay: .12s; }

.product-badges {
  position: absolute;
  top: .85rem; left: .85rem;
  display: flex; flex-direction: column; gap: .4rem;
  z-index: 2;
}
.badge-nuevo  { background: #28a745; color: #fff; }
.badge-oferta { background: var(--red); color: #fff; }
.badge-agotado{ background: #6c757d; color: #fff; }
.badge-nuevo, .badge-oferta, .badge-agotado {
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 4px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex; flex-direction: column;
}
.product-cat {
  font-size: .74rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: .6rem;
  flex: 1;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--gold); }

.product-stars {
  color: var(--gold);
  font-size: .78rem;
  margin-bottom: .6rem;
}
.product-stars .reviews {
  color: var(--brown);
  font-size: .75rem;
  margin-left: .35rem;
}

.product-price {
  display: flex; align-items: center; gap: .65rem;
  margin-bottom: 1rem;
}
.price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}
.price-old {
  font-size: .9rem;
  color: #999;
  text-decoration: line-through;
}
.price-save {
  background: rgba(139,0,0,.12);
  color: var(--red);
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 4px;
}

.btn-add-cart {
  background: var(--dark);
  color: var(--ivory);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: .6rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.btn-add-cart:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(196,169,108,.35);
}

/* ── FEATURE BANNERS ─────────────────────────────────────── */
.features-bar {
  background: var(--dark);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-item {
  display: flex; align-items: center; gap: 1rem;
  padding: .5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(196,169,108,.15);
  border: 1px solid rgba(196,169,108,.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}
.feature-item:hover .feature-icon { background: var(--gold); color: var(--dark); }
.feature-text strong {
  display: block;
  color: var(--ivory);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .1rem;
}
.feature-text span {
  font-size: .8rem;
  color: rgba(245,230,200,.5);
}

/* ── ABOUT / PROMO SECTION ───────────────────────────────── */
.about-section {
  padding: 6rem 0;
  background: var(--cream);
}
.about-img-wrap {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute;
  bottom: -2.5rem; right: -2.5rem;
  width: 200px; height: 200px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 5px solid var(--cream);
  box-shadow: var(--shadow);
}
.about-badge-float {
  position: absolute;
  top: 2rem; left: -2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge-float .num { font-size: 2rem; font-weight: 700; line-height: 1; font-family: 'Playfair Display', serif; }
.about-badge-float .txt { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; }

/* ── PROMO BANNER ────────────────────────────────────────── */
.promo-banner {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, rgba(28,10,0,.95) 0%, rgba(92,51,23,.85) 60%, rgba(28,10,0,.95) 100%),
    url('https://images.unsplash.com/photo-1531761535209-180857e963b9?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(196,169,108,.04) 30px,
    rgba(196,169,108,.04) 60px
  );
}
.promo-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ivory);
  font-weight: 700;
  margin-bottom: 1rem;
}
.promo-title span {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.promo-subtitle {
  color: rgba(245,230,200,.7);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section { padding: 5rem 0; background: var(--gray-light); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: .5rem;
  font-family: 'Playfair Display', serif;
}
.testimonial-text {
  font-size: .95rem;
  color: var(--brown);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: .85rem;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.author-name { font-weight: 700; font-size: .95rem; color: var(--dark); }
.author-place { font-size: .8rem; color: var(--brown); }

/* ── MINI CART SIDEBAR ───────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.mini-cart {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 92vw);
  height: 100vh;
  background: var(--dark-2);
  z-index: 1050;
  transform: translateX(110%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border);
}
.mini-cart.open { transform: translateX(0); }

.mini-cart-header {
  padding: 1.25rem 1.5rem;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mini-cart-header h5 {
  color: var(--ivory);
  margin: 0;
  font-size: 1rem;
}

.mini-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.mini-cart-item {
  display: flex; gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  align-items: center;
}
.mini-cart-item img {
  width: 60px; height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.mini-item-name {
  font-size: .88rem;
  color: var(--ivory);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .25rem;
}
.mini-item-price {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 700;
}
.mini-item-remove {
  background: none; border: none;
  color: rgba(245,230,200,.4);
  font-size: .85rem;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  margin-left: auto;
  flex-shrink: 0;
}
.mini-item-remove:hover { color: var(--red); }

.cart-empty-msg {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(245,230,200,.4);
}
.cart-empty-msg i { font-size: 3rem; margin-bottom: 1rem; display: block; }
.cart-empty-msg p { font-size: .9rem; }

.mini-cart-footer {
  padding: 1.25rem 1.5rem;
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.mini-cart-total {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ivory);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.mini-cart-total strong { color: var(--gold); font-size: 1.3rem; }

/* ── PAGE BANNER ─────────────────────────────────────────── */
.page-banner {
  background:
    linear-gradient(135deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.62) 100%),
    url('../images/img_banner/banner1.png') center/cover no-repeat;
  padding: 5rem 0 4rem;
  color: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before { display: none; }
.page-banner h1 {
  font-family: 'TT Chocolates', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--ivory);
  position: relative;
}
.breadcrumb { background: none; padding: 0; margin: 0; justify-content: center; }
.breadcrumb-item { color: rgba(245,230,200,.6); font-size: .88rem; }
.breadcrumb-item a { color: rgba(245,230,200,.6); }
.breadcrumb-item a:hover { color: var(--gold); }
.breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(245,230,200,.3); }

/* ── FILTER SIDEBAR ──────────────────────────────────────── */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}
.filter-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: 1.5rem; }
.filter-group-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: .75rem;
}
.filter-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: .5rem .75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  color: var(--dark);
  font-size: .9rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: .35rem;
}
.filter-btn:hover { background: var(--cream); border-color: var(--border); }
.filter-btn.active {
  background: rgba(196,169,108,.12);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}
.filter-btn .count {
  float: right;
  background: var(--cream);
  border-radius: 50px;
  padding: .1rem .55rem;
  font-size: .75rem;
  color: var(--brown);
}

/* ── CART PAGE ───────────────────────────────────────────── */
.cart-section { padding: 4rem 0; }
.cart-table th {
  background: var(--dark);
  color: var(--ivory);
  font-weight: 600;
  padding: 1rem 1.25rem;
  font-size: .88rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: none;
}
.cart-table td {
  padding: 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.cart-product-img {
  width: 70px; height: 70px;
  border-radius: 8px;
  object-fit: cover;
}
.cart-product-name { font-weight: 600; color: var(--dark); font-size: .95rem; }
.qty-input {
  width: 75px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .4rem .5rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
}
.qty-input:focus { outline: none; border-color: var(--gold); }
.btn-remove-item {
  background: none;
  border: none;
  color: #ccc;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-remove-item:hover { color: var(--red); }

/* Order summary card */
.order-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: sticky;
  top: 90px;
}
.summary-row {
  display: flex; justify-content: space-between;
  padding: .6rem 0;
  font-size: .95rem;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.summary-row.total {
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: none;
  padding-top: 1rem;
  color: var(--dark);
}
.summary-row.total span:last-child { color: var(--gold); }

/* ── CHECKOUT ────────────────────────────────────────────── */
.checkout-section { padding: 4rem 0; }
.checkout-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.checkout-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.form-label { font-size: .88rem; font-weight: 600; color: var(--dark); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .65rem 1rem;
  font-size: .92rem;
  color: var(--dark);
  background: var(--cream);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,169,108,.12);
  background: var(--white);
}

.payment-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; gap: 1rem;
}
.payment-option.selected { border-color: var(--gold); background: rgba(196,169,108,.06); }
.payment-option:hover { border-color: rgba(196,169,108,.5); }
.payment-option .pay-icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}

/* ── NOSOTROS PAGE ───────────────────────────────────────── */
.nosotros-section { padding: 5rem 0; }
.nosotros-p {
  font-family: 'Anek Devanagari', sans-serif;
  font-weight: 300;
  text-align: justify;
  color: var(--brown);
  line-height: 1.9;
  margin-bottom: .9rem;
  font-size: 1rem;
}

/* ── NOSOTROS SLIDER ─────────────────────────────────────── */
.nosotros-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 7;
  overflow: hidden;
}
.ns-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: ns-fade 20s ease-in-out infinite;
}
@keyframes ns-fade {
  0%   { opacity: 1; transform: scale(1);    }
  20%  { opacity: 1; transform: scale(1.04); }
  25%  { opacity: 0; transform: scale(1.04); }
  95%  { opacity: 0; transform: scale(1);    }
  100% { opacity: 1; transform: scale(1);    }
}

/* ── NUESTRO LOGO ────────────────────────────────────────── */
.nlogo-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  height: 100%;
  min-height: 620px;
}
.nlogo-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  min-height: 620px;
}
.nlogo-symbol-col {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: rgba(20,8,0,.68);
  border-right: 1px solid rgba(196,169,108,.25);
}
.nlogo-text-col {
  padding: 1.5rem;
  background: rgba(10,4,0,.78);
  overflow-y: auto;
}
.nlogo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.nlogo-title {
  font-family: 'Playfair Display', serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.35;
}
.nlogo-eye-btn {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(196,169,108,.15);
  border: 1px solid rgba(196,169,108,.45);
  border-radius: 50%;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}
.nlogo-eye-btn:hover {
  background: var(--gold);
  color: var(--dark);
  transform: scale(1.1);
}
.nlogo-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 0;
}
.nlogo-symbol-img {
  max-width: 90%;
  max-height: 380px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(196,169,108,.65))
    drop-shadow(0 8px 32px rgba(0,0,0,.85))
    drop-shadow(0 2px 6px rgba(0,0,0,.9));
}
.nlogo-p {
  font-family: 'Anek Devanagari', sans-serif;
  font-weight: 300;
  font-size: .8rem;
  color: rgba(245,230,200,.8);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: .65rem;
}
.nlogo-p strong { color: var(--ivory); font-weight: 600; }
@media (max-width: 575px) {
  .nlogo-inner { grid-template-columns: 1fr; min-height: auto; }
  .nlogo-symbol-col { border-right: none; border-bottom: 1px solid rgba(196,169,108,.25); }
  .nlogo-symbol-img { max-height: 220px; }
}

.team-card {
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); }
.team-photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--gold);
  display: block;
  position: relative; z-index: 1;
  box-shadow: 0 8px 32px rgba(196,169,108,.35);
}
.team-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--dark); font-weight: 600; }
.team-role { font-size: .85rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ── TEAM CARD COMPLETA ─────────────────────────────────── */
.team-card-full {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.team-card-full:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(184,134,11,.15);
  border-color: rgba(196,169,108,.4);
}
.team-avatar-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 1.5rem;
}
.team-avatar {
  width: 220px; height: 220px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: var(--gold);
  border: 3px solid var(--gold);
  box-shadow: 0 6px 22px rgba(184,134,11,.28);
  position: relative; z-index: 1;
}
.team-avatar-ring {
  position: absolute;
  inset: -6px;
  border: 2px dashed rgba(196,169,108,.35);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}
.team-card-full .team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: .35rem;
}
.team-card-full .team-role {
  font-size: .8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.team-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1rem auto 1.25rem;
  border-radius: 2px;
}
.team-bio {
  font-family: 'Anek Devanagari', sans-serif;
  font-weight: 300;
  font-size: .9rem;
  color: var(--brown);
  line-height: 1.85;
  text-align: justify;
  margin-bottom: .75rem;
}
.team-bio strong { color: var(--dark); font-weight: 600; }

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--dark);
  margin: 0 auto 1.25rem;
}

/* ── CONTACTO PAGE ───────────────────────────────────────── */
.contact-section { padding: 5rem 0; }
.contact-info-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.contact-info-card .icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--dark);
  margin: 0 auto 1rem;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.product-detail-section { padding: 4rem 0; }
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-main:hover img { transform: scale(1.05); }
.gallery-thumb {
  display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap;
}
.thumb-item {
  width: 70px; height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.thumb-item.active { border-color: var(--gold); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info .product-price .price-current { font-size: 2rem; }

.qty-control {
  display: flex; align-items: center; gap: .75rem;
}
.qty-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.qty-display {
  width: 50px; text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .35rem;
  background: var(--cream);
}
.btn-add-cart-lg {
  border-radius: 10px;
  padding: .9rem 2rem;
  font-size: 1rem;
}

.product-tabs .nav-tabs {
  border-bottom: 2px solid var(--border);
}
.product-tabs .nav-link {
  color: var(--brown);
  font-weight: 600;
  border: none;
  padding: .75rem 1.25rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.product-tabs .nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: none;
}
.product-tabs .nav-link:hover { color: var(--gold); }

/* ── BADGES / UTILITIES ──────────────────────────────────── */
.pay-badge {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .3rem .65rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.pay-badge.yape { background: rgba(105,0,199,.1); color: #6900C7; border-color: rgba(105,0,199,.25); }
.pay-badge.plin  { background: rgba(0,166,119,.1); color: #00A677; border-color: rgba(0,166,119,.25); }

/* ── SOCIAL BUTTONS ──────────────────────────────────────── */
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); transform: translateY(-3px); }
.social-btn.whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: #000000; }
.footer-top { padding: 5rem 0 4rem; }
.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--ivory);
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.footer-desc { color: rgba(245,230,200,.55); font-size: .9rem; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(245,230,200,.55);
  font-size: .9rem;
  transition: var(--transition);
  display: flex; align-items: center; gap: .4rem;
}
.footer-links a::before {
  content: '›';
  color: var(--gold);
  font-weight: 700;
}
.footer-links a:hover { color: var(--gold); padding-left: 5px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: .85rem;
  margin-bottom: .85rem;
  color: rgba(245,230,200,.55);
  font-size: .9rem;
}
.footer-contact li i {
  color: var(--gold);
  width: 18px; text-align: center;
  flex-shrink: 0;
  margin-top: .15rem;
}
.footer-contact a { color: rgba(245,230,200,.55); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  background: #000000;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  color: rgba(245,230,200,.4);
  font-size: .85rem;
}
.footer-dev-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}
.footer-dev-link:hover { color: #ffffff; text-decoration: underline; }

/* ── MUSIC PLAYER ───────────────────────────────────────── */
.music-btn {
  position: fixed;
  bottom: 2rem; left: 2rem;
  width: 48px; height: 48px;
  background: #000000;
  border: 1px solid rgba(196,169,108,.5);
  border-radius: 50%;
  color: var(--gold);
  font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: background .25s ease, color .25s ease, transform .25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
}
.music-btn:hover {
  background: var(--gold);
  color: #000000;
  border-color: var(--gold);
  transform: scale(1.1);
}
.music-btn.playing {
  border-color: var(--gold);
}
.music-btn.playing::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: musicPulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes musicPulse {
  0%   { transform: scale(1);   opacity: .75; }
  100% { transform: scale(1.7); opacity: 0;   }
}

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.12) rotate(-8deg); box-shadow: 0 10px 28px rgba(37,211,102,.6); }
.wsp-tooltip {
  position: absolute;
  right: calc(100% + .75rem);
  background: var(--dark);
  color: var(--ivory);
  font-size: .8rem;
  white-space: nowrap;
  padding: .35rem .75rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-family: 'Lato', sans-serif;
}
.whatsapp-float:hover .wsp-tooltip { opacity: 1; }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 5.5rem; right: 2rem;
  width: 42px; height: 42px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  color: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--dark); }

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination .page-link {
  border: 1px solid var(--border);
  color: var(--dark);
  background: var(--white);
  border-radius: 8px !important;
  margin: 0 3px;
  padding: .5rem .85rem;
  transition: var(--transition);
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 700;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 991px) {
  #navMenu {
    background: var(--dark-2);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: .75rem;
    border: 1px solid var(--border);
  }
  .navbar-nav .nav-link::after { display: none; }
  .hero-img-frame { display: none; }
  .hero-ornament { display: none; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .feature-item:last-child { border-bottom: none; }
  .about-img-accent, .about-badge-float { display: none; }
  .filter-sidebar { position: static; }
  /* Hero tablet */
  .hero-slider { height: 88vh; min-height: 520px; }
}

/* ── HERO MOBILE ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-slider { height: 82vh; min-height: 480px; }

  /* Cada slide usa su propio punto focal en móvil (var definida inline en PHP) */
  .hs-bg { background-position: var(--mob-pos, center 30%); }

  /* Ken Burns más suave en pantalla pequeña */
  .hs-slide.active.kb-zoom-in   .hs-bg { animation-name: kbZoomInM; }
  .hs-slide.active.kb-zoom-out  .hs-bg { animation-name: kbZoomOutM; }
  .hs-slide.active.kb-pan-right .hs-bg { animation-name: kbPanRightM; }
  .hs-slide.active.kb-pan-left  .hs-bg { animation-name: kbPanLeftM; }
  .hs-slide.active.kb-pan-up    .hs-bg { animation-name: kbPanUpM; }

  @keyframes kbZoomInM   { from { transform: scale(1);    } to { transform: scale(1.06); } }
  @keyframes kbZoomOutM  { from { transform: scale(1.06); } to { transform: scale(1);    } }
  @keyframes kbPanRightM { from { transform: scale(1.04) translateX(-1.5%); } to { transform: scale(1.04) translateX(1.5%);  } }
  @keyframes kbPanLeftM  { from { transform: scale(1.04) translateX(1.5%);  } to { transform: scale(1.04) translateX(-1.5%); } }
  @keyframes kbPanUpM    { from { transform: scale(1.04) translateY(1.5%);  } to { transform: scale(1.04) translateY(-1.5%); } }

  .hs-content { padding: 4.5rem 0 2.5rem; }
  .hs-badge   { font-size: .7rem; padding: .35rem .9rem; margin-bottom: 1rem; }
  .hs-desc    { font-size: .9rem; line-height: 1.65; margin-bottom: 1.4rem; max-width: 100%; }
  .hs-cta     { gap: .65rem; }
  .hs-arrow   { width: 42px; height: 42px; font-size: .82rem; }
}

@media (max-width: 575px) {
  .hero-slider { height: 78vh; min-height: 440px; }
  .hs-bg { background-position: var(--mob-pos, center 25%); }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .topbar .topbar-left span:last-child { display: none; }
  .hs-cta { flex-direction: column; }
  .hs-cta .btn { width: 100%; text-align: center; }
}

/* ── LOADING ANIMATION ───────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0ebe3 25%, #e8e0d4 50%, #f0ebe3 75%);
  background-size: 200% 100%;
  animation: skeletonLoad 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeletonLoad {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── SUCCESS / ALERT ─────────────────────────────────────── */
.alert-gold {
  background: rgba(196,169,108,.1);
  border: 1px solid var(--gold);
  color: var(--dark);
  border-radius: var(--radius-sm);
  padding: .85rem 1.25rem;
}

/* ═══════════════════════════════════════════════════════════
   FERIAS SLIDER (eventos.php)
═══════════════════════════════════════════════════════════ */
.ferias-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
}

.fs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  pointer-events: none;
}

.fs-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.fs-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.fs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.18) 35%, rgba(0,0,0,0) 100%);
}

.fs-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.fs-text { max-width: 580px; }

.fs-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(196,169,108,.6);
  color: var(--gold);
  font-family: 'Anek Devanagari', sans-serif;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s .2s ease, transform .6s .2s ease;
}

.fs-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  margin-bottom: .7rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 4px 32px rgba(0,0,0,.7), 0 0 60px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s .36s ease, transform .65s .36s ease;
}

.fs-loc {
  color: #fff;
  font-family: 'Anek Devanagari', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 1.8rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.8), 0 2px 16px rgba(0,0,0,.6);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s .52s ease, transform .6s .52s ease;
}

.fs-loc i { color: var(--gold); margin-right: .4rem; filter: drop-shadow(0 1px 4px rgba(0,0,0,.7)); }

.fs-btn {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s .66s ease, transform .6s .66s ease;
}

.fs-slide.active .fs-tag,
.fs-slide.active .fs-title,
.fs-slide.active .fs-loc,
.fs-slide.active .fs-btn { opacity: 1; transform: translateY(0); }

/* Ken Burns — reutiliza los @keyframes del hero */
.fs-slide.active.kb-zoom-in   .fs-bg { animation: kbZoomIn   9s ease forwards; }
.fs-slide.active.kb-zoom-out  .fs-bg { animation: kbZoomOut  9s ease forwards; }
.fs-slide.active.kb-pan-right .fs-bg { animation: kbPanRight 10s ease forwards; }
.fs-slide.active.kb-pan-left  .fs-bg { animation: kbPanLeft  10s ease forwards; }
.fs-slide.active.kb-pan-up    .fs-bg { animation: kbPanUp    10s ease forwards; }

/* Botones de navegación */
.fs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(196,169,108,.38);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .3s;
  z-index: 10;
}

.fs-nav:hover {
  background: rgba(196,169,108,.28);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.fs-prev { left: 1.5rem; }
.fs-next { right: 1.5rem; }

/* Puntos indicadores */
.fs-dots {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 10;
}

.fs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}

.fs-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* Contador */
.fs-counter {
  position: absolute;
  bottom: 1.7rem;
  right: 2rem;
  color: rgba(255,255,255,.42);
  font-family: 'Anek Devanagari', sans-serif;
  font-size: .78rem;
  letter-spacing: .1em;
  z-index: 10;
}

.fs-counter strong { color: var(--gold); }

/* Card evento (ferias realizadas) */
.feria-past-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #111;
  cursor: default;
}

.feria-past-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}

.feria-past-card:hover img { transform: scale(1.06); }

.feria-past-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 42%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.4rem;
}

@media (max-width: 767px) {
  .ferias-slider { height: 70vh; min-height: 420px; }
  .fs-content { padding: 0 1.5rem; }
  .fs-nav { width: 42px; height: 42px; font-size: .9rem; }
  .fs-prev { left: .6rem; }
  .fs-next { right: .6rem; }
  .fs-counter { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   GALERÍA MODAL (eventos.php)
═══════════════════════════════════════════════════════════ */
.galeria-main-wrap {
  position: relative;
  background: #0d0d0d;
  height: 60vh;
  min-height: 320px;
  overflow: hidden;
}

.galeria-main {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity .3s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.galeria-main.fade-out { opacity: 0; }

/* Escudo transparente — bloquea clic derecho y arrastre */
.galeria-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

/* Marca de agua */
.galeria-watermark {
  position: absolute;
  bottom: 1rem;
  right: 1.2rem;
  color: rgba(196,169,108,.28);
  font-family: 'TT Chocolates', sans-serif;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 3;
  user-select: none;
  -webkit-user-select: none;
}

/* Botones nav galería */
.galeria-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,.52);
  border: 1px solid rgba(196,169,108,.38);
  border-radius: 50%;
  color: #fff;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .22s, border-color .22s, transform .25s;
  z-index: 4;
}

.galeria-nav:hover {
  background: rgba(196,169,108,.28);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.galeria-nav.g-prev { left: 1rem; }
.galeria-nav.g-next { right: 1rem; }

/* Tira de miniaturas */
.galeria-thumb-strip {
  display: flex;
  gap: .5rem;
  padding: .75rem 1rem;
  overflow-x: auto;
  background: #080808;
  border-top: 1px solid rgba(196,169,108,.15);
  scrollbar-width: thin;
  scrollbar-color: rgba(196,169,108,.35) transparent;
}

.galeria-thumb-strip::-webkit-scrollbar { height: 4px; }
.galeria-thumb-strip::-webkit-scrollbar-track { background: transparent; }
.galeria-thumb-strip::-webkit-scrollbar-thumb { background: rgba(196,169,108,.35); border-radius: 2px; }

.galeria-thumb {
  width: 76px;
  height: 58px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s, opacity .2s;
  opacity: .55;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}

.galeria-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

.galeria-thumb:hover { opacity: .82; }

/* ── SUBCATEGORÍAS EN CATÁLOGO ──────────────────────────── */
.sub-section-header { border-bottom: 2px solid var(--border); padding-bottom: .6rem; margin-bottom: 1.5rem; }
.sub-section-title { font-family:'TT Chocolates',sans-serif; font-weight:500; font-size:1rem; color:var(--dark); margin:0; display:flex; align-items:center; gap:.5rem; }
.sub-section-title i { color:var(--gold); font-size:.75rem; }
.sub-count { background:var(--gold); color:#000; font-size:.68rem; font-weight:700; border-radius:20px; padding:2px 9px; line-height:1.4; }

/* ── COLECCIÓN EN TARJETA DE PRODUCTO ───────────────────── */
.product-coleccion { font-size:.72rem; color:var(--gold); font-weight:600; letter-spacing:.03em; margin-bottom:.4rem; }
.product-coleccion i { font-size:.65rem; }

/* ── SELECTOR DE IDIOMA ─────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(196,169,108,.1);
  border: 1px solid rgba(196,169,108,.28);
  border-radius: 20px;
  padding: 3px 10px;
}
.lang-btn {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brown);
  text-decoration: none !important;
  padding: 2px 5px;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.lang-btn:hover { color: var(--gold); }
.lang-btn.lang-active {
  color: #000;
  background: var(--gold);
  padding: 2px 7px;
}
.lang-sep {
  color: rgba(196,169,108,.45);
  font-size: .7rem;
  line-height: 1;
}

