/* ==========================================================================
   AÑIL MAYA — Hoja de Estilos Principal (Single-Screen Desktop 100vh)
   Estética: Añil profundo nocturno, oro metálico luminoso, brillos y reflejos
   ========================================================================== */

:root {
  --indigo-void: #030914;
  --indigo-deep: #050f22;
  --indigo-mid: #0a1c3a;
  --indigo-royal: #122d5a;
  --gold-light: #fff0b8;
  --gold-bright: #f7cf68;
  --gold-mid: #dfa232;
  --gold-deep: #b37514;
  --gold-glow: rgba(247, 207, 104, 0.72);
  --gold-glow-soft: rgba(232, 168, 46, 0.34);
  --text-pure: #ffffff;
  --text-ivory: #f4efe4;
  --text-muted: #c6d2e4;
  --glass-dark: rgba(6, 17, 36, 0.62);
  --border-subtle: rgba(247, 207, 104, 0.28);
  --font-brand: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--indigo-void);
}

body {
  font-family: var(--font-sans);
  color: var(--text-ivory);
  background: radial-gradient(ellipse 110% 80% at 50% 0%, #0b1f42 0%, #051024 52%, #030914 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* En escritorio, la vista de Inicio encaja exactamente en 100vh sin scroll vertical */
@media (min-width: 901px) {
  body.view-inicio {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  body.view-inicio .view-section[data-view="inicio"].active {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   NAVEGACIÓN SUPERIOR
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5vh 3.2vw;
  background: linear-gradient(180deg, rgba(3, 9, 20, 0.72) 0%, rgba(3, 9, 20, 0.14) 72%, transparent 100%);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.topbar.scrolled,
body.view-catalog .topbar,
body.view-contact .topbar {
  background: rgba(4, 11, 24, 0.92);
  backdrop-filter: blur(14px);
  padding: 12px 3.2vw;
  border-bottom: 1px solid rgba(247, 207, 104, 0.16);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: var(--font-brand);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
}

.topbar.scrolled .topbar-mini-brand,
body.view-catalog .topbar-mini-brand,
body.view-contact .topbar-mini-brand {
  opacity: 1;
  pointer-events: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  font-size: clamp(0.84rem, 1.02vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  padding: 4px 4px;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-bright);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  box-shadow: 0 0 10px var(--gold-glow);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  color: var(--gold-bright);
  background: rgba(247, 207, 104, 0.12);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: -1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe58f, #dfa232);
  color: #160e02;
  font-size: 0.64rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(247, 207, 104, 0.75);
}

/* ==========================================================================
   VISTAS (INICIO / TIENDA / CONTACTO)
   ========================================================================== */
.view-section {
  display: none;
  animation: fadeInView 0.35s ease;
}

.view-section.active {
  display: block;
}

@keyframes fadeInView {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   LIENZO ÚNICO DE INICIO (HERO + GALERÍA EN UNA SOLA PANTALLA)
   ========================================================================== */
.home-viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--indigo-deep);
  overflow: hidden;
}

/* Fondo fotográfico del Hero integrado a la parte superior derecha */
.hero-bg-photo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(1.06) contrast(1.04);
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56%;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(4, 11, 26, 0.97) 0%,
      rgba(5, 16, 38, 0.88) 26%,
      rgba(6, 20, 46, 0.45) 42%,
      rgba(6, 20, 46, 0.08) 62%,
      rgba(4, 11, 26, 0.25) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 9, 20, 0.48) 0%,
      rgba(3, 9, 20, 0.04) 24%,
      rgba(5, 15, 34, 0.08) 62%,
      rgba(5, 15, 34, 0.92) 92%,
      #050f22 100%
    );
  pointer-events: none;
}

.hero-fabric-left {
  position: absolute;
  top: 0;
  left: -3%;
  width: 22%;
  height: 60%;
  z-index: 2;
  opacity: 0.22;
  background:
    repeating-linear-gradient(
      -32deg,
      rgba(26, 74, 148, 0.55) 0px,
      rgba(26, 74, 148, 0.55) 2px,
      transparent 2px,
      transparent 8px
    ),
    radial-gradient(ellipse at 10% 45%, rgba(28, 86, 175, 0.65), transparent 72%);
  mask-image: linear-gradient(90deg, black 15%, transparent 95%);
  -webkit-mask-image: linear-gradient(90deg, black 15%, transparent 95%);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 5;
  padding: clamp(22px, 3vh, 34px) 4% 0;
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
}

.hero-content {
  width: 100%;
  max-width: clamp(320px, 28vw, 420px);
  margin-left: 2.5%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lotus-emblem {
  width: clamp(46px, 5.2vh, 62px);
  height: clamp(28px, 3.2vh, 36px);
  margin-bottom: 2px;
  filter: drop-shadow(0 0 10px rgba(247, 207, 104, 0.55));
}

.brand-title {
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 3.2vh, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.05;
  background: linear-gradient(180deg, #fff3c4 0%, #f5c95e 48%, #c9891e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
  margin-bottom: 0.5vh;
}

.hero-headline {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.35vh, 1.7rem);
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.65);
  margin-bottom: 0.7vh;
}

.hero-headline .gold-accent {
  display: block;
  background: linear-gradient(180deg, #ffe799 0%, #f1b83d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ornamental-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: clamp(160px, 16vw, 220px);
  margin: 0 auto 0.7vh;
}

.ornamental-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 207, 104, 0.85), transparent);
}

.ornamental-divider .diamond {
  width: 11px;
  height: 11px;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.hero-subtitle {
  font-size: clamp(0.72rem, 1.28vh, 0.86rem);
  line-height: 1.38;
  color: rgba(240, 244, 250, 0.9);
  max-width: 340px;
  margin-bottom: 1.3vh;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Botón Dorado Luminoso */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(7px, 1.05vh, 10px) clamp(16px, 1.6vw, 22px);
  border-radius: 9px;
  font-size: clamp(0.74rem, 1.3vh, 0.86rem);
  font-weight: 700;
  color: #160e03;
  background: linear-gradient(180deg, #ffefa8 0%, #f5cb62 46%, #d99b26 100%);
  box-shadow:
    0 0 18px rgba(247, 207, 104, 0.45),
    0 5px 14px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.75);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 0 26px rgba(247, 207, 104, 0.72),
    0 8px 20px rgba(0, 0, 0, 0.55);
}

/* Botón Cristal Oscuro con Borde Fino */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: clamp(7px, 1.05vh, 10px) clamp(16px, 1.6vw, 22px);
  border-radius: 9px;
  font-size: clamp(0.74rem, 1.3vh, 0.86rem);
  font-weight: 600;
  color: #ffffff;
  background: rgba(6, 17, 36, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(8px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.btn-glass:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  background: rgba(12, 28, 56, 0.82);
  box-shadow: 0 0 16px rgba(247, 207, 104, 0.28);
}

/* ==========================================================================
   GALERÍA TEXTIL AÑIL MAYA — CARRUSEL 3D ADAPTADO A 100VH SIN SCROLL
   ========================================================================== */
.gallery-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: clamp(-38px, -3.5vh, -18px);
  padding: 0 0 1.4vh;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(ellipse 68% 46% at 50% 60%, rgba(22, 62, 128, 0.34) 0%, transparent 72%),
    radial-gradient(ellipse 46% 20% at 50% 82%, rgba(247, 198, 86, 0.22) 0%, transparent 75%),
    linear-gradient(180deg, transparent 0%, rgba(5, 15, 34, 0.72) 18%, #06142c 68%, #040b18 100%);
}

/* Arcos de luz dorada detrás del carrusel */
.light-arcs-svg {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 112%;
  max-width: 1700px;
  height: 76%;
  pointer-events: none;
  z-index: 1;
}

/* Esferas doradas colgantes ornamentales */
.hanging-orb {
  position: absolute;
  top: -12%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  animation: gentleSway 6.5s ease-in-out infinite;
  transform-origin: top center;
}

.hanging-orb .cord {
  width: 1.5px;
  background: linear-gradient(180deg, rgba(247, 207, 104, 0.12) 0%, rgba(247, 207, 104, 0.85) 100%);
  box-shadow: 0 0 6px rgba(247, 207, 104, 0.5);
}

.hanging-orb .orb-sphere {
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #fffbe0 0%, #ffd970 28%, #e49c24 62%, #8c4d08 100%);
  box-shadow:
    0 0 24px rgba(255, 202, 74, 0.85),
    0 0 54px rgba(235, 152, 26, 0.48),
    inset 0 0 14px rgba(255, 248, 210, 0.75);
  overflow: hidden;
}

.hanging-orb .orb-sphere svg {
  width: 100%;
  height: 100%;
  opacity: 0.76;
}

.orb-left-lg {
  left: 2.2%;
  animation-delay: 0s;
}
.orb-left-lg .cord { height: 22vh; }
.orb-left-lg .orb-sphere { width: clamp(54px, 7.6vh, 78px); height: clamp(54px, 7.6vh, 78px); }

.orb-left-sm {
  left: 7.8%;
  animation-delay: -2.2s;
}
.orb-left-sm .cord { height: 14.5vh; }
.orb-left-sm .orb-sphere { width: clamp(40px, 5.5vh, 56px); height: clamp(40px, 5.5vh, 56px); }

.orb-right-md {
  right: 2.4%;
  animation-delay: -1.1s;
}
.orb-right-md .cord { height: 19vh; }
.orb-right-md .orb-sphere { width: clamp(58px, 8vh, 82px); height: clamp(58px, 8vh, 82px); }

@keyframes gentleSway {
  0%, 100% { transform: rotate(-1.1deg); }
  50% { transform: rotate(1.1deg); }
}

/* Encabezado de la Galería */
.gallery-header {
  position: relative;
  z-index: 6;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 0.9vh;
}

.gallery-lotus-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.gallery-lotus-row .short-line {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright));
}

.gallery-lotus-row .short-line.right {
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}

.gallery-title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.55rem, 3.6vh, 2.65rem);
  line-height: 1.06;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
  margin-bottom: 2px;
}

.gallery-title .gold-italic {
  background: linear-gradient(180deg, #ffe89e 0%, #f4b736 55%, #d68d18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gallery-kicker {
  font-size: clamp(0.65rem, 1.15vh, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  color: rgba(244, 239, 228, 0.92);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.gallery-desc {
  font-size: clamp(0.72rem, 1.3vh, 0.88rem);
  color: rgba(226, 233, 245, 0.88);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   CARRUSEL 3D COVERFLOW FLUIDO (ESCALA CON VH PARA CABER COMPLETO)
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: clamp(205px, 31.5vh, 325px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(210px, 31.5vh, 322px);
  height: clamp(195px, 29.2vh, 300px);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #08152b;
  border: 2px solid rgba(247, 207, 104, 0.55);
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    filter 0.45s ease;
  user-select: none;
  -webkit-box-reflect: below 4px linear-gradient(to bottom, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.28) 100%);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.55s ease;
}

.carousel-card:hover img {
  transform: scale(1.04);
}

/* Posiciones 3D proporcionales al ancho/alto */
.carousel-card[data-offset="0"] {
  z-index: 30;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  border: 2.5px solid #ffe494;
  box-shadow:
    0 0 20px rgba(255, 214, 102, 0.85),
    0 0 48px rgba(240, 168, 36, 0.46),
    0 18px 36px rgba(0, 0, 0, 0.72),
    inset 0 0 12px rgba(255, 238, 178, 0.45);
}

.carousel-card[data-offset="-1"] {
  z-index: 22;
  transform: translate(calc(-50% - clamp(165px, 24.5vh, 255px)), -49%) scale(0.84) rotateY(8deg);
  opacity: 0.95;
  border-color: rgba(247, 207, 104, 0.78);
  box-shadow: 0 0 18px rgba(247, 207, 104, 0.35), 0 14px 28px rgba(0, 0, 0, 0.65);
}

.carousel-card[data-offset="1"] {
  z-index: 22;
  transform: translate(calc(-50% + clamp(165px, 24.5vh, 255px)), -49%) scale(0.84) rotateY(-8deg);
  opacity: 0.95;
  border-color: rgba(247, 207, 104, 0.78);
  box-shadow: 0 0 18px rgba(247, 207, 104, 0.35), 0 14px 28px rgba(0, 0, 0, 0.65);
}

.carousel-card[data-offset="-2"] {
  z-index: 14;
  transform: translate(calc(-50% - clamp(265px, 39.5vh, 412px)), -48%) scale(0.67) rotateY(14deg);
  opacity: 0.84;
  filter: brightness(0.8);
  border-color: rgba(247, 207, 104, 0.48);
  box-shadow: 0 0 14px rgba(247, 207, 104, 0.2), 0 12px 24px rgba(0, 0, 0, 0.65);
}

.carousel-card[data-offset="2"] {
  z-index: 14;
  transform: translate(calc(-50% + clamp(265px, 39.5vh, 412px)), -48%) scale(0.67) rotateY(-14deg);
  opacity: 0.84;
  filter: brightness(0.8);
  border-color: rgba(247, 207, 104, 0.48);
  box-shadow: 0 0 14px rgba(247, 207, 104, 0.2), 0 12px 24px rgba(0, 0, 0, 0.65);
}

.carousel-card[data-offset="-3"] {
  z-index: 8;
  transform: translate(calc(-50% - clamp(335px, 50vh, 520px)), -47%) scale(0.52) rotateY(18deg);
  opacity: 0.66;
  filter: brightness(0.65);
  border-color: rgba(247, 207, 104, 0.35);
}

.carousel-card[data-offset="3"] {
  z-index: 8;
  transform: translate(calc(-50% + clamp(335px, 50vh, 520px)), -47%) scale(0.52) rotateY(-18deg);
  opacity: 0.66;
  filter: brightness(0.65);
  border-color: rgba(247, 207, 104, 0.35);
}

.carousel-card[data-offset="hidden"] {
  z-index: 1;
  transform: translate(-50%, -50%) scale(0.35);
  opacity: 0;
  pointer-events: none;
}

.featured-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  padding: 5px 20px 5px 12px;
  font-size: clamp(0.66rem, 1.15vh, 0.76rem);
  font-weight: 700;
  color: #1a1103;
  background: linear-gradient(180deg, #ffefa8 0%, #f2bf49 100%);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.carousel-card[data-offset="0"] .featured-ribbon {
  opacity: 1;
  transform: translateY(0);
}

.card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 14px 12px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(4, 11, 26, 0.58) 40%,
    rgba(4, 11, 26, 0.94) 100%
  );
  text-align: center;
  transition: opacity 0.35s ease;
}

.carousel-card[data-offset="-2"] .card-overlay,
.carousel-card[data-offset="2"] .card-overlay,
.carousel-card[data-offset="-3"] .card-overlay,
.carousel-card[data-offset="3"] .card-overlay {
  opacity: 0;
}

.card-collection {
  font-size: clamp(0.56rem, 0.98vh, 0.66rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 236, 224, 0.88);
  margin-bottom: 3px;
}

.card-name {
  font-family: var(--font-editorial);
  font-size: clamp(1.05rem, 2.05vh, 1.42rem);
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 5px;
}

.carousel-card[data-offset="-1"] .card-name,
.carousel-card[data-offset="1"] .card-name {
  font-size: clamp(0.92rem, 1.7vh, 1.18rem);
}

.card-mini-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 96px;
  margin: 0 auto;
}

.card-mini-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 207, 104, 0.85), transparent);
}

.card-mini-divider i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold-glow);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  width: clamp(36px, 4.8vh, 46px);
  height: clamp(36px, 4.8vh, 46px);
  border-radius: 50%;
  border: 1.5px solid rgba(247, 207, 104, 0.88);
  background: rgba(5, 14, 30, 0.74);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(247, 207, 104, 0.32), inset 0 0 10px rgba(247, 207, 104, 0.14);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  background: rgba(247, 207, 104, 0.2);
  box-shadow: 0 0 26px rgba(247, 207, 104, 0.65);
}

.carousel-arrow.prev { left: 4.5%; }
.carousel-arrow.next { right: 4.5%; }

.floor-glow {
  position: relative;
  z-index: 4;
  width: 62%;
  height: 16px;
  margin: -6px auto 0;
  background: radial-gradient(ellipse at center, rgba(247, 200, 92, 0.34) 0%, rgba(20, 62, 130, 0.16) 48%, transparent 76%);
  filter: blur(7px);
  pointer-events: none;
}

.carousel-dots {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0.4vh 0 1.2vh;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(247, 207, 104, 0.45);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.carousel-dot.active {
  background: #ffe48f;
  transform: scale(1.28);
  box-shadow: 0 0 10px rgba(255, 214, 102, 0.95);
}

.gallery-cta-row {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   NUEVO FOOTER COMPLETO DE 6 COLUMNAS + FRANJA DE COPYRIGHT MAYA
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 12;
  flex-shrink: 0;
  background: linear-gradient(180deg, #040d1e 0%, #030914 100%);
  border-top: 1px solid rgba(247, 207, 104, 0.28);
  box-shadow: 0 -10px 26px rgba(247, 196, 84, 0.1);
}

.footer-main {
  max-width: 1460px;
  margin: 0 auto;
  padding: clamp(10px, 1.45vh, 16px) 3.2vw;
  display: grid;
  grid-template-columns: 1.15fr auto 1fr auto 1.15fr auto 0.9fr auto 1.15fr auto 0.85fr;
  align-items: center;
  gap: 14px;
}

.footer-vdiv {
  width: 1px;
  height: clamp(46px, 6.2vh, 66px);
  background: linear-gradient(180deg, transparent, rgba(247, 207, 104, 0.35), transparent);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}

.footer-brand-name {
  font-family: var(--font-brand);
  font-size: clamp(0.92rem, 1.65vh, 1.12rem);
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fff3c4 0%, #f5c95e 52%, #c9891e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-brand-tagline {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(0.62rem, 1.05vh, 0.72rem);
  color: rgba(240, 244, 250, 0.85);
}

.footer-links-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(0.66rem, 1.1vh, 0.76rem);
  color: rgba(235, 240, 248, 0.88);
  text-align: left;
  transition: color 0.2s ease;
}

.footer-link svg {
  color: var(--gold-bright);
  flex-shrink: 0;
}

.footer-link:hover {
  color: var(--gold-bright);
}

.footer-col-title {
  font-size: clamp(0.7rem, 1.18vh, 0.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-support-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-support-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-support-row svg {
  color: var(--gold-bright);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-support-sub {
  font-size: clamp(0.62rem, 1.02vh, 0.7rem);
  color: rgba(210, 220, 235, 0.82);
}

.footer-email {
  font-size: clamp(0.66rem, 1.1vh, 0.75rem);
  color: var(--text-ivory);
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: var(--gold-bright);
}

.footer-socials-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  width: clamp(26px, 3.2vh, 30px);
  height: clamp(26px, 3.2vh, 30px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  background: rgba(247, 207, 104, 0.2);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
}

.pay-badge {
  height: clamp(22px, 2.8vh, 26px);
  padding: 0 8px;
  border-radius: 5px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.pay-visa {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 0.74rem;
  letter-spacing: -0.02em;
  color: #1a1f71;
}

.pay-wompi {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.68rem;
  color: #2b2369;
  letter-spacing: -0.02em;
}

.pay-wompi span {
  color: #00b894;
}

.footer-secure-col {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-secure-col svg {
  color: var(--gold-bright);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(247, 207, 104, 0.45));
}

/* Franja inferior de copyright con greca maya sutil */
.footer-bottom-bar {
  position: relative;
  text-align: center;
  padding: 5px 16px;
  font-size: clamp(0.62rem, 1.02vh, 0.7rem);
  color: rgba(215, 224, 238, 0.8);
  border-top: 1px solid rgba(247, 207, 104, 0.14);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(247, 207, 104, 0.05) 0px,
      rgba(247, 207, 104, 0.05) 6px,
      transparent 6px,
      transparent 14px
    ),
    #020710;
}

/* ==========================================================================
   VISTA DE CATÁLOGO COMPLETO (TIENDA) Y CONTACTO
   ========================================================================== */
.catalog-page {
  padding: 96px 6% 64px;
  max-width: 1380px;
  margin: 0 auto;
}

.catalog-hero-header {
  text-align: center;
  margin-bottom: 32px;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(8, 20, 42, 0.72);
  border: 1px solid rgba(247, 207, 104, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 28px;
}

.catalog-search-box {
  position: relative;
  flex: 1 1 260px;
  max-width: 380px;
}

.catalog-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-bright);
}

.catalog-search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: 10px;
  border: 1px solid rgba(247, 207, 104, 0.32);
  background: rgba(4, 11, 24, 0.85);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

.catalog-search-input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(247, 207, 104, 0.25);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 207, 104, 0.22);
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  color: #160e03;
  background: linear-gradient(180deg, #ffefa8 0%, #dfa232 100%);
  border-color: var(--gold-bright);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(247, 207, 104, 0.35);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 24, 50, 0.9) 0%, rgba(5, 13, 28, 0.96) 100%);
  border: 1px solid rgba(247, 207, 104, 0.32);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-bright);
  box-shadow: 0 0 26px rgba(247, 207, 104, 0.26), 0 18px 36px rgba(0, 0, 0, 0.6);
}

.product-card-media {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-col {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.product-card-title {
  font-family: var(--font-editorial);
  font-size: 1.32rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(247, 207, 104, 0.16);
}

.product-price {
  font-family: var(--font-brand);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--gold-light);
}

.contact-page {
  padding: 102px 6% 64px;
  max-width: 1060px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  margin-top: 24px;
}

.contact-panel {
  padding: 26px;
  border-radius: 18px;
  background: rgba(8, 20, 42, 0.78);
  border: 1px solid rgba(247, 207, 104, 0.28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(247, 207, 104, 0.28);
  background: rgba(3, 9, 20, 0.82);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px rgba(247, 207, 104, 0.25);
}

/* ==========================================================================
   MODALES, DRAWER DE CARRITO Y TOASTS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 7, 16, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeInView 0.22s ease;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  background: linear-gradient(160deg, #0b1d3d 0%, #050f22 100%);
  border: 1.5px solid rgba(247, 207, 104, 0.52);
  box-shadow: 0 0 40px rgba(247, 207, 104, 0.2), 0 24px 60px rgba(0, 0, 0, 0.78);
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: rgba(247, 207, 104, 0.22);
  color: var(--gold-bright);
}

.piece-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 26px;
  align-items: center;
}

.piece-modal-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(247, 207, 104, 0.6);
  box-shadow: 0 0 24px rgba(247, 207, 104, 0.25);
  aspect-ratio: 4 / 4.4;
}

.piece-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-row {
  display: flex;
  gap: 8px;
  margin: 12px 0 20px;
  flex-wrap: wrap;
}

.size-chip {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(247, 207, 104, 0.32);
  font-size: 0.82rem;
  color: var(--text-ivory);
  transition: all 0.2s ease;
}

.size-chip.active,
.size-chip:hover {
  background: var(--gold-bright);
  color: #160e03;
  font-weight: 700;
  border-color: var(--gold-bright);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  z-index: 220;
  background: linear-gradient(180deg, #091834 0%, #040b18 100%);
  border-left: 1.5px solid rgba(247, 207, 104, 0.35);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.72);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 207, 104, 0.18);
}

.cart-item img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 260;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10264c, #071329);
  border: 1px solid var(--gold-bright);
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 0 24px rgba(247, 207, 104, 0.32), 0 12px 28px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE (TABLET Y MÓVIL — SCROLL NATURAL EN PANTALLAS PEQUEÑAS)
   ========================================================================== */
@media (max-width: 1120px) {
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .footer-vdiv {
    display: none;
  }
}

@media (max-width: 900px) {
  .topbar { padding: 14px 20px; }
  .nav-links { gap: 20px; }
  .hero-stage { padding-top: 72px; }
  .hero-content { margin: 0 auto; }
  .gallery-stage { margin-top: 12px; padding-bottom: 28px; }
  .hanging-orb { display: none; }
  .carousel-wrapper { height: 290px; }
  .carousel-card { width: 235px; height: 240px; }
  .carousel-card[data-offset="-1"] { transform: translate(calc(-50% - 165px), -49%) scale(0.78); }
  .carousel-card[data-offset="1"]  { transform: translate(calc(-50% + 165px), -49%) scale(0.78); }
  .carousel-card[data-offset="-2"],
  .carousel-card[data-offset="2"],
  .carousel-card[data-offset="-3"],
  .carousel-card[data-offset="3"] { opacity: 0; pointer-events: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .piece-modal-grid,
  .contact-grid { grid-template-columns: 1fr; }
}


/* === AJUSTES DE FIDELIDAD 100% A LA PLANTILLA DE INICIO === */
.hero-content {
  max-width: clamp(350px, 31vw, 450px);
  margin-left: 3.2%;
}

.brand-title {
  font-size: clamp(1.7rem, 3.65vh, 2.55rem);
}

.hero-headline {
  font-size: clamp(1.22rem, 2.65vh, 1.88rem);
}

.hero-subtitle {
  font-size: clamp(0.75rem, 1.38vh, 0.9rem);
  max-width: 365px;
}

.gallery-title {
  font-size: clamp(1.85rem, 4.2vh, 3rem);
}

.hanging-orb {
  top: -16%;
}

.hanging-orb .cord {
  width: 1.5px;
  background: linear-gradient(180deg, rgba(247, 207, 104, 0.08) 0%, rgba(255, 224, 130, 0.9) 100%);
  box-shadow: 0 0 6px rgba(247, 207, 104, 0.6);
}

.hanging-orb .orb-img {
  display: block;
  mix-blend-mode: screen;
  filter: saturate(1.12) brightness(1.06) drop-shadow(0 0 18px rgba(255, 190, 60, 0.55));
  margin-top: -4%;
}

.orb-left-lg { left: 1.6%; }
.orb-left-lg .cord { height: 22vh; }
.orb-left-lg .orb-img { width: clamp(68px, 10.6vh, 108px); height: auto; }

.orb-left-sm { left: 7.4%; }
.orb-left-sm .cord { height: 14.5vh; }
.orb-left-sm .orb-img { width: clamp(50px, 7.6vh, 78px); height: auto; }

.orb-right-md { right: 1.8%; }
.orb-right-md .cord { height: 18vh; }
.orb-right-md .orb-img { width: clamp(72px, 11vh, 112px); height: auto; }

.carousel-wrapper {
  height: clamp(220px, 33.5vh, 345px);
}

.carousel-card {
  width: clamp(238px, 36.2vh, 372px);
  height: clamp(206px, 31.2vh, 320px);
  -webkit-box-reflect: below 2px linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.24) 100%);
}

.carousel-card[data-offset="0"] {
  border: 2.5px solid #ffeb9e;
  box-shadow:
    0 0 24px rgba(255, 214, 102, 0.92),
    0 0 58px rgba(240, 168, 36, 0.54),
    0 18px 36px rgba(0, 0, 0, 0.72),
    inset 0 0 14px rgba(255, 238, 178, 0.52);
}

.carousel-card[data-offset="-1"] {
  transform: translate(calc(-50% - clamp(195px, 29vh, 300px)), -49%) scale(0.84) rotateY(7deg);
  border-color: rgba(255, 222, 125, 0.85);
  box-shadow: 0 0 22px rgba(247, 207, 104, 0.42), 0 14px 28px rgba(0, 0, 0, 0.65);
}

.carousel-card[data-offset="1"] {
  transform: translate(calc(-50% + clamp(195px, 29vh, 300px)), -49%) scale(0.84) rotateY(-7deg);
  border-color: rgba(255, 222, 125, 0.85);
  box-shadow: 0 0 22px rgba(247, 207, 104, 0.42), 0 14px 28px rgba(0, 0, 0, 0.65);
}

.carousel-card[data-offset="-2"] {
  transform: translate(calc(-50% - clamp(315px, 46.5vh, 478px)), -48%) scale(0.68) rotateY(12deg);
}

.carousel-card[data-offset="2"] {
  transform: translate(calc(-50% + clamp(315px, 46.5vh, 478px)), -48%) scale(0.68) rotateY(-12deg);
}

.carousel-card[data-offset="-3"] {
  transform: translate(calc(-50% - clamp(395px, 58vh, 595px)), -47%) scale(0.54) rotateY(16deg);
  opacity: 0.74;
}

.carousel-card[data-offset="3"] {
  transform: translate(calc(-50% + clamp(395px, 58vh, 595px)), -47%) scale(0.54) rotateY(-16deg);
  opacity: 0.74;
}

.carousel-arrow.prev { left: 3.4%; }
.carousel-arrow.next { right: 3.4%; }

.floor-glow {
  width: 78%;
  height: 22px;
  margin: -8px auto 0;
  background: radial-gradient(ellipse at center, rgba(255, 206, 94, 0.42) 0%, rgba(28, 76, 152, 0.24) 52%, transparent 78%);
  filter: blur(8px);
}

.carousel-dots {
  margin: 0.6vh 0 1.2vh;
}


/* === REFINAMIENTO PIXEL-A-PIXEL: HERO EXACTO, GLOW INTENSO, MANTAS Y GRECA MAYA === */
.hero-bg-photo {
  height: 55%;
  background-size: cover;
  background-position: center top;
  filter: saturate(1.08) contrast(1.04);
}

/* Viñeta más limpia: deja brillar la manta añil izquierda y a toda la pareja con pirámide */
.hero-vignette {
  height: 58%;
  background:
    radial-gradient(ellipse 30% 42% at 21% 28%, rgba(4, 11, 24, 0.72) 0%, rgba(4, 11, 24, 0.28) 65%, transparent 100%),
    linear-gradient(180deg, rgba(3, 9, 20, 0.36) 0%, rgba(3, 9, 20, 0) 18%, rgba(5, 15, 34, 0.08) 66%, #050f22 98%);
}

.hero-fabric-left {
  display: none;
}

/* Mantas añil en esquinas inferiores */
.corner-fabric {
  position: absolute;
  bottom: 0;
  width: clamp(190px, 21vw, 310px);
  height: auto;
  pointer-events: none;
  z-index: 3;
  opacity: 0.92;
}
.corner-fabric-left { left: 0; }
.corner-fabric-right { right: 0; }

/* Destellos dorados glow en las esquinas inferiores */
.corner-gold-glow {
  position: absolute;
  bottom: -14px;
  width: clamp(220px, 24vw, 360px);
  height: 56px;
  pointer-events: none;
  z-index: 7;
  filter: blur(12px);
}
.corner-gold-left {
  left: -30px;
  background: radial-gradient(ellipse at 25% 100%, rgba(255, 204, 88, 0.78) 0%, rgba(232, 152, 28, 0.35) 48%, transparent 78%);
}
.corner-gold-right {
  right: -30px;
  background: radial-gradient(ellipse at 75% 100%, rgba(255, 204, 88, 0.78) 0%, rgba(232, 152, 28, 0.35) 48%, transparent 78%);
}

/* GLOW DORADO INTENSO ("glow glow") en las orillas de todas las tarjetas del carrusel */
.carousel-card[data-offset="0"] {
  border: 2.5px solid #fff3b5;
  box-shadow:
    0 0 10px rgba(255, 236, 150, 0.98),
    0 0 28px rgba(255, 202, 74, 0.92),
    0 0 64px rgba(242, 162, 26, 0.62),
    0 18px 36px rgba(0, 0, 0, 0.72),
    inset 0 0 16px rgba(255, 242, 185, 0.6);
}

.carousel-card[data-offset="-1"],
.carousel-card[data-offset="1"] {
  border: 2px solid #ffe494;
  box-shadow:
    0 0 8px rgba(255, 226, 128, 0.9),
    0 0 24px rgba(255, 194, 62, 0.72),
    0 0 46px rgba(235, 156, 24, 0.42),
    0 14px 28px rgba(0, 0, 0, 0.68),
    inset 0 0 10px rgba(255, 236, 168, 0.38);
}

.carousel-card[data-offset="-2"],
.carousel-card[data-offset="2"] {
  border: 1.8px solid rgba(255, 218, 114, 0.85);
  box-shadow:
    0 0 8px rgba(255, 212, 96, 0.68),
    0 0 22px rgba(240, 168, 36, 0.45),
    0 12px 24px rgba(0, 0, 0, 0.68);
}

.carousel-card[data-offset="-3"],
.carousel-card[data-offset="3"] {
  border: 1.5px solid rgba(255, 210, 102, 0.72);
  box-shadow:
    0 0 14px rgba(247, 192, 64, 0.42),
    0 10px 20px rgba(0, 0, 0, 0.68);
}

/* Greca geométrica maya auténtica en la franja inferior del footer */
.footer-bottom-bar {
  background-color: #020814;
  background-image:
    radial-gradient(ellipse 36% 120% at 50% 50%, rgba(2, 8, 20, 0.92) 0%, rgba(2, 8, 20, 0.62) 55%, rgba(2, 8, 20, 0.12) 100%),
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='26' viewBox='0 0 64 26'><path d='M0 2 H64 M0 24 H64' stroke='%232c4875' stroke-width='1' opacity='0.55'/><path d='M16 4 L26 13 L16 22 L6 13 Z' fill='none' stroke='%233d5f94' stroke-width='1.15' opacity='0.75'/><path d='M16 8 L21 13 L16 18 L11 13 Z' fill='none' stroke='%238c7646' stroke-width='0.95' opacity='0.55'/><circle cx='16' cy='13' r='1.3' fill='%23c9a456' opacity='0.6'/><path d='M48 4 L58 13 L48 22 L38 13 Z' fill='none' stroke='%233d5f94' stroke-width='1.15' opacity='0.75'/><path d='M48 8 L53 13 L48 18 L43 13 Z' fill='none' stroke='%238c7646' stroke-width='0.95' opacity='0.55'/><circle cx='48' cy='13' r='1.3' fill='%23c9a456' opacity='0.6'/><path d='M28 13 H36 M32 5 L36 13 L32 21 L28 13 Z' fill='none' stroke='%232e4a78' stroke-width='0.9' opacity='0.6'/><path d='M0 13 H4 M60 13 H64' stroke='%232e4a78' stroke-width='0.9' opacity='0.6'/></svg>");
  background-repeat: no-repeat, repeat-x;
  background-position: center center, center center;
  background-size: 100% 100%, 64px 26px;
  padding: 6px 16px;
  border-top: 1px solid rgba(247, 207, 104, 0.22);
  color: rgba(235, 240, 248, 0.92);
  letter-spacing: 0.02em;
}


/* === CALIBRACIÓN FINAL 1:1: ZOOM EXACTO PAREJA, LOGO OFICIAL, DORADO CÁLIDO Y GLOW === */
.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;
}

/* Escala 1:1 exacta del fondo hero sin sobre-zoom */
.hero-bg-photo {
  height: 60%;
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(1.1) contrast(1.05);
}

@media (max-aspect-ratio: 15/10) {
  .hero-bg-photo {
    background-size: cover;
    background-position: 62% top;
  }
}

.hero-vignette {
  height: 62%;
  background:
    radial-gradient(ellipse 28% 40% at 21% 26%, rgba(4, 11, 24, 0.72) 0%, rgba(4, 11, 24, 0.22) 68%, transparent 100%),
    linear-gradient(180deg, rgba(3, 9, 20, 0.34) 0%, rgba(3, 9, 20, 0) 16%, rgba(5, 15, 34, 0.06) 66%, #050f22 96%);
}

/* Bloque Hero izquierdo con logo oficial y tipografía nítida */
.hero-stage {
  padding: clamp(16px, 2.2vh, 26px) 3.5% 0;
}

.hero-content {
  max-width: clamp(330px, 29vw, 430px);
  margin-left: 4.2%;
}

.official-brand-lockup {
  display: flex;
  justify-content: center;
  margin-bottom: 0.4vh;
}

.official-logo-img {
  width: clamp(170px, 23vh, 245px);
  height: auto;
  filter: drop-shadow(0 0 14px rgba(255, 198, 66, 0.45)) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.7));
}

.footer-official-logo {
  width: clamp(86px, 11.5vh, 118px);
  height: auto;
  filter: drop-shadow(0 0 8px rgba(255, 198, 66, 0.32));
  margin-bottom: 2px;
}

/* Dorado cálido vibrante igual a la referencia */
.hero-headline {
  font-size: clamp(1.24rem, 2.7vh, 1.92rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.6vh;
}

.hero-headline .gold-accent {
  background: linear-gradient(180deg, #fff1a8 0%, #ffca3a 52%, #e69512 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 188, 42, 0.42));
}

.hero-subtitle {
  font-size: clamp(0.74rem, 1.32vh, 0.88rem);
  color: rgba(246, 248, 252, 0.94);
  max-width: 350px;
  margin-bottom: 1.25vh;
}

.btn-gold {
  background: linear-gradient(180deg, #fff2a8 0%, #f8c644 48%, #de9318 100%);
  box-shadow:
    0 0 22px rgba(255, 198, 62, 0.62),
    0 6px 16px rgba(0, 0, 0, 0.48),
    inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

/* Título de Galería más grande, nítido y con dorado vivo */
.gallery-stage {
  margin-top: clamp(-46px, -4.4vh, -24px);
}

.gallery-title {
  font-size: clamp(2rem, 4.55vh, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gallery-title .gold-italic {
  background: linear-gradient(180deg, #ffef9e 0%, #ffc432 52%, #df8d0e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 184, 38, 0.45));
}

.gallery-kicker {
  font-size: clamp(0.68rem, 1.22vh, 0.84rem);
  letter-spacing: 0.36em;
  color: #ffffff;
}

.gallery-desc {
  font-size: clamp(0.76rem, 1.38vh, 0.92rem);
  color: rgba(238, 243, 252, 0.94);
}

/* Carrusel 3D: tarjetas centradas con espacio limpio para las flechas < y > por FUERA */
.carousel-wrapper {
  height: clamp(218px, 33vh, 340px);
}

.carousel-card {
  width: clamp(228px, 34.5vh, 355px);
  height: clamp(202px, 30.5vh, 314px);
  border-radius: 17px;
  -webkit-box-reflect: below 3px linear-gradient(to bottom, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, 0.28) 100%);
}

/* GLOW DORADO ULTRA-RADIANTE EN TODAS LAS ORILLAS */
.carousel-card[data-offset="0"] {
  border: 3px solid #fff6c2;
  box-shadow:
    0 0 10px #ffe98a,
    0 0 26px rgba(255, 198, 56, 0.98),
    0 0 62px rgba(247, 166, 22, 0.78),
    0 0 96px rgba(232, 138, 12, 0.42),
    0 18px 36px rgba(0, 0, 0, 0.72),
    inset 0 0 18px rgba(255, 245, 190, 0.7);
}

.carousel-card[data-offset="-1"] {
  transform: translate(calc(-50% - clamp(180px, 27vh, 280px)), -49%) scale(0.84) rotateY(7deg);
}

.carousel-card[data-offset="1"] {
  transform: translate(calc(-50% + clamp(180px, 27vh, 280px)), -49%) scale(0.84) rotateY(-7deg);
}

.carousel-card[data-offset="-1"],
.carousel-card[data-offset="1"] {
  border: 2.2px solid #ffeb99;
  box-shadow:
    0 0 10px rgba(255, 228, 130, 0.95),
    0 0 26px rgba(255, 190, 48, 0.8),
    0 0 52px rgba(238, 152, 18, 0.48),
    0 14px 28px rgba(0, 0, 0, 0.68),
    inset 0 0 12px rgba(255, 240, 175, 0.45);
}

.carousel-card[data-offset="-2"] {
  transform: translate(calc(-50% - clamp(288px, 43vh, 444px)), -48%) scale(0.68) rotateY(12deg);
}

.carousel-card[data-offset="2"] {
  transform: translate(calc(-50% + clamp(288px, 43vh, 444px)), -48%) scale(0.68) rotateY(-12deg);
}

.carousel-card[data-offset="-2"],
.carousel-card[data-offset="2"] {
  border: 2px solid rgba(255, 224, 118, 0.9);
  box-shadow:
    0 0 10px rgba(255, 214, 92, 0.8),
    0 0 26px rgba(242, 168, 30, 0.56),
    0 12px 24px rgba(0, 0, 0, 0.68);
}

.carousel-card[data-offset="-3"] {
  transform: translate(calc(-50% - clamp(358px, 53.5vh, 550px)), -47%) scale(0.54) rotateY(16deg);
}

.carousel-card[data-offset="3"] {
  transform: translate(calc(-50% + clamp(358px, 53.5vh, 550px)), -47%) scale(0.54) rotateY(-16deg);
}

.carousel-card[data-offset="-3"],
.carousel-card[data-offset="3"] {
  opacity: 0.78;
  border: 1.6px solid rgba(255, 214, 102, 0.78);
  box-shadow:
    0 0 16px rgba(250, 192, 58, 0.52),
    0 10px 20px rgba(0, 0, 0, 0.68);
}

/* Flechas < y > claramente POR FUERA de las tarjetas exteriores */
.carousel-arrow.prev { left: 5.2%; }
.carousel-arrow.next { right: 5.2%; }

/* Brillo de suelo reflectivo dorado debajo de las 7 tarjetas */
.floor-glow {
  width: 76%;
  height: 26px;
  margin: -10px auto 0;
  background:
    radial-gradient(ellipse 30% 100% at 50% 50%, rgba(255, 210, 90, 0.55) 0%, transparent 72%),
    radial-gradient(ellipse 72% 95% at 50% 50%, rgba(255, 192, 62, 0.36) 0%, rgba(28, 76, 152, 0.24) 54%, transparent 80%);
  filter: blur(9px);
}


/* === LOGO SVG ORO DIGITALIZADO + SLIDER MÁS GRANDE (SIN SCROLL 100VH) === */
.official-logo-img {
  width: clamp(195px, 26.5vh, 275px);
  height: auto;
  filter: drop-shadow(0 0 14px rgba(255, 196, 56, 0.45));
}

.footer-official-logo {
  width: clamp(96px, 13vh, 132px);
  height: auto;
}

.gallery-stage {
  margin-top: clamp(-52px, -5.2vh, -28px);
  padding-bottom: 1.1vh;
}

.gallery-header {
  margin-bottom: 0.45vh;
}

/* Slider crecido y protagonista */
.carousel-wrapper {
  height: clamp(238px, 36.2vh, 372px);
}

.carousel-card {
  width: clamp(256px, 38.8vh, 400px);
  height: clamp(222px, 33.8vh, 348px);
  border-radius: 18px;
}

.carousel-card[data-offset="-1"] {
  transform: translate(calc(-50% - clamp(202px, 30.2vh, 312px)), -49%) scale(0.84) rotateY(7deg);
}

.carousel-card[data-offset="1"] {
  transform: translate(calc(-50% + clamp(202px, 30.2vh, 312px)), -49%) scale(0.84) rotateY(-7deg);
}

.carousel-card[data-offset="-2"] {
  transform: translate(calc(-50% - clamp(322px, 48vh, 495px)), -48%) scale(0.68) rotateY(12deg);
}

.carousel-card[data-offset="2"] {
  transform: translate(calc(-50% + clamp(322px, 48vh, 495px)), -48%) scale(0.68) rotateY(-12deg);
}

.carousel-card[data-offset="-3"] {
  transform: translate(calc(-50% - clamp(398px, 59vh, 608px)), -47%) scale(0.55) rotateY(16deg);
}

.carousel-card[data-offset="3"] {
  transform: translate(calc(-50% + clamp(398px, 59vh, 608px)), -47%) scale(0.55) rotateY(-16deg);
}

.carousel-arrow.prev { left: 3.4%; }
.carousel-arrow.next { right: 3.4%; }

.carousel-dots {
  margin: 0.35vh 0 0.95vh;
}


/* === ALINEACIÓN EXACTA 100% A GALERÍA TEXTIL AÑIL MAYA(3) === */
.home-viewport {
  background-color: #050f22;
  background-position: center top;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Ocultar capas duplicadas que ahora viven en resolución exacta 1:1 dentro de home-backdrop.jpg?v=sin-duplicados-20261121135936 */
.home-viewport .hero-bg-photo,
.home-viewport .hero-vignette,
.home-viewport .hero-fabric-left,
.home-viewport .light-arcs-svg,
.home-viewport .hanging-orb,
.home-viewport .corner-fabric,
.home-viewport .corner-gold-glow,
.home-viewport .floor-glow {
  display: none !important;
}

.gallery-stage {
  background: none !important;
  margin-top: 0 !important;
  padding: 0 0 1.4vh !important;
  justify-content: flex-end;
}

/* Bloque Hero izquierdo exactamente en x=9.5%..33%, y=1.5%..33% */
.hero-stage {
  padding: 1.5vh 0 0 0 !important;
}

.hero-content {
  margin-left: 8.2% !important;
  max-width: clamp(295px, 24.5vw, 395px) !important;
}

.official-logo-img {
  width: clamp(165px, 21.5vh, 235px) !important;
  margin-bottom: -4px;
}

.hero-headline {
  font-size: clamp(1.08rem, 2.35vh, 1.72rem) !important;
  line-height: 1.15;
  margin-bottom: 0.45vh !important;
}

.ornamental-divider {
  width: clamp(150px, 14vw, 210px) !important;
  margin: 0 auto 0.55vh !important;
}

.hero-subtitle {
  font-size: clamp(0.68rem, 1.18vh, 0.82rem) !important;
  line-height: 1.35;
  max-width: 320px !important;
  margin-bottom: 1.1vh !important;
}

/* Encabezado "Galería Textil Añil Maya" justo en y=31%..43% */
.gallery-header {
  margin-bottom: 0.9vh !important;
}

.gallery-title {
  font-size: clamp(1.9rem, 4.4vh, 3.15rem) !important;
}

.gallery-kicker {
  font-size: clamp(0.64rem, 1.15vh, 0.8rem) !important;
  margin-bottom: 2px;
}

.gallery-desc {
  font-size: clamp(0.72rem, 1.3vh, 0.88rem) !important;
}

/* Carrusel 3D exactamente en y=45%..74% y x=11.5%..88.5% */
.carousel-wrapper {
  height: clamp(216px, 33.8vh, 348px) !important;
}

.carousel-card {
  width: clamp(238px, 36.8vh, 380px) !important;
  height: clamp(202px, 31.2vh, 322px) !important;
  border-radius: 17px !important;
  -webkit-box-reflect: below 3px linear-gradient(to bottom, rgba(0, 0, 0, 0) 78%, rgba(0, 0, 0, 0.25) 100%) !important;
}

.carousel-card[data-offset="-1"] {
  transform: translate(calc(-50% - clamp(188px, 28.8vh, 298px)), -49%) scale(0.84) rotateY(7deg) !important;
}

.carousel-card[data-offset="1"] {
  transform: translate(calc(-50% + clamp(188px, 28.8vh, 298px)), -49%) scale(0.84) rotateY(-7deg) !important;
}

.carousel-card[data-offset="-2"] {
  transform: translate(calc(-50% - clamp(302px, 46vh, 474px)), -48%) scale(0.68) rotateY(12deg) !important;
}

.carousel-card[data-offset="2"] {
  transform: translate(calc(-50% + clamp(302px, 46vh, 474px)), -48%) scale(0.68) rotateY(-12deg) !important;
}

.carousel-card[data-offset="-3"] {
  transform: translate(calc(-50% - clamp(376px, 56.8vh, 586px)), -47%) scale(0.54) rotateY(16deg) !important;
}

.carousel-card[data-offset="3"] {
  transform: translate(calc(-50% + clamp(376px, 56.8vh, 586px)), -47%) scale(0.54) rotateY(-16deg) !important;
}

.carousel-arrow.prev { left: 6.2% !important; }
.carousel-arrow.next { right: 6.2% !important; }

.carousel-dots {
  margin: 0.7vh 0 1.25vh !important;
}

/* Franja de copyright con líneas doradas horizontales flanqueando el texto */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.copyright-line {
  width: clamp(48px, 6.5vw, 95px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 207, 104, 0.82), transparent);
}

@media (max-width: 900px) {
  .home-viewport {
    background-size: cover;
    background-position: 64% top;
  }
  .hero-content {
    margin: 0 auto !important;
    max-width: 90% !important;
  }
}


/* === AJUSTES FINOS FINALES: LOGO PROTAGONISTA, SLIDER MÁS ABAJO, BOTONES AMPLIOS Y FOOTER A ORILLAS === */
.official-logo-img {
  width: clamp(205px, 26.8vh, 295px) !important;
  margin-bottom: -6px !important;
  filter: drop-shadow(0 0 18px rgba(255, 202, 62, 0.55)) !important;
}

.hero-stage {
  padding: 0.9vh 0 0 0 !important;
}

.hero-content {
  margin-left: 7.4% !important;
  max-width: clamp(315px, 26.5vw, 425px) !important;
}

/* Bajar ligeramente el bloque de la galería y el slider del centro */
.gallery-stage {
  padding: 0 0 1.05vh !important;
}

.gallery-header {
  margin-bottom: 1.5vh !important;
}

.carousel-wrapper {
  height: clamp(212px, 32.8vh, 338px) !important;
  margin-top: 0.9vh !important;
}

.carousel-dots {
  margin: 0.55vh 0 1.05vh !important;
}

/* Distribuir más hacia los lados los botones "Ver catálogo completo" y "Conocer esta pieza" */
.gallery-cta-row {
  gap: clamp(42px, 5.2vw, 86px) !important;
}

/* Footer más pegado a las orillas de la pantalla (presencia de marca a la izquierda y sitio seguro a la derecha) */
.footer-main {
  max-width: 100% !important;
  padding: clamp(9px, 1.35vh, 15px) 2vw !important;
  gap: clamp(10px, 1.3vw, 20px) !important;
}

.footer-brand-col {
  align-items: flex-start !important;
  text-align: left !important;
  padding-left: 0.6vw;
}

.footer-official-logo {
  width: clamp(114px, 15.2vh, 156px) !important;
  margin-left: -4px;
}


/* === PROPORCIÓN REAL SIN ESTIRAMIENTO + RENDERIZADO NÍTIDO 4K === */
.home-viewport {
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

.carousel-card img,
.product-card-media img,
.piece-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center 18%;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}


/* === PULIDO DEFINITIVO: ESFERAS ANIMADAS MÁS ABAJO, LOGO FIEL GRANDE, SLIDER ABAJO Y BOTONES A LOS LADOS === */
/* Reactivar las 3 esferas doradas 3D animadas con su movimiento suave */
.home-viewport .hanging-orb {
  display: flex !important;
  top: -6% !important;
  z-index: 9 !important;
  animation: gentleSway 6s ease-in-out infinite !important;
}

.home-viewport .hanging-orb .cord {
  width: 1.5px;
  background: linear-gradient(180deg, rgba(255, 224, 128, 0.05) 0%, rgba(255, 218, 112, 0.9) 100%);
  box-shadow: 0 0 6px rgba(255, 200, 70, 0.65);
}

.home-viewport .hanging-orb .orb-img {
  display: block;
  mix-blend-mode: screen;
  filter: saturate(1.15) brightness(1.08) drop-shadow(0 0 18px rgba(255, 188, 48, 0.65));
  margin-top: -3%;
}

/* Posición más baja y elegante para las 3 esferas */
.home-viewport .orb-left-lg { left: 1.4% !important; animation-delay: 0s !important; }
.home-viewport .orb-left-lg .cord { height: 24.5vh !important; }
.home-viewport .orb-left-lg .orb-img { width: clamp(72px, 11.2vh, 116px) !important; }

.home-viewport .orb-left-sm { left: 7.4% !important; animation-delay: -2.1s !important; }
.home-viewport .orb-left-sm .cord { height: 19vh !important; }
.home-viewport .orb-left-sm .orb-img { width: clamp(52px, 8vh, 84px) !important; }

.home-viewport .orb-right-md { right: 1.5% !important; animation-delay: -1.1s !important; }
.home-viewport .orb-right-md .cord { height: 22.5vh !important; }
.home-viewport .orb-right-md .orb-img { width: clamp(74px, 11.4vh, 118px) !important; }

/* Bloque Hero izquierdo MÁS GRANDE y representativo aprovechando el espacio al mover la pareja a la derecha */
.hero-stage {
  padding: 1vh 0 0 0 !important;
}

.hero-content {
  margin-left: 6.2% !important;
  max-width: clamp(355px, 31vw, 470px) !important;
}

.official-logo-img {
  width: clamp(225px, 29.5vh, 325px) !important;
  margin-bottom: 0.2vh !important;
  filter: drop-shadow(0 0 18px rgba(255, 198, 56, 0.55)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7)) !important;
}

.hero-headline {
  font-size: clamp(1.32rem, 2.85vh, 2.08rem) !important;
  line-height: 1.16 !important;
  margin-bottom: 0.65vh !important;
}

.hero-subtitle {
  font-size: clamp(0.76rem, 1.36vh, 0.92rem) !important;
  max-width: 390px !important;
  margin-bottom: 1.25vh !important;
}

/* Bajar un poco más el slider central */
.gallery-stage {
  padding: 0 0 0.9vh !important;
}

.gallery-header {
  margin-bottom: 1.7vh !important;
}

.carousel-wrapper {
  height: clamp(210px, 32.5vh, 336px) !important;
  margin-top: 1.4vh !important;
}

.carousel-dots {
  margin: 1.45vh 0 0.9vh !important;
}

/* Botones "Ver catálogo completo" y "Conocer esta pieza" bien distribuidos hacia izquierda y derecha */
.gallery-cta-row {
  width: min(82%, 1080px);
  margin: 0 auto;
  justify-content: space-between !important;
  gap: 24px !important;
}

.footer-official-logo {
  width: clamp(120px, 15.8vh, 162px) !important;
  margin-left: 0 !important;
  filter: drop-shadow(0 0 10px rgba(255, 198, 56, 0.4)) !important;
}


/* === AJUSTES RONDA FINAL: NAV BOLD GRANDE, LOGO IZQUIERDO GRANDE Y AL BORDE, ESFERAS GRANDES, ONDAS CONTINUAS Y TEXTO MEDIO LIMPIO === */
/* 1. Inicio, Tienda y Contacto más grandes y bold */
.nav-link {
  font-size: clamp(1.02rem, 1.28vw, 1.18rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

/* 2. Logo superior izquierdo más cerca del borde izquierdo y más grande */
.hero-stage {
  padding: 0.5vh 0 0 0 !important;
}

.hero-content {
  margin-left: 2.8% !important;
  max-width: clamp(390px, 34vw, 515px) !important;
}

.official-logo-img {
  width: clamp(275px, 35.5vh, 395px) !important;
  margin-bottom: -2px !important;
}

.hero-headline {
  font-size: clamp(1.42rem, 3.05vh, 2.24rem) !important;
  line-height: 1.15 !important;
}

.hero-subtitle {
  font-size: clamp(0.82rem, 1.48vh, 0.98rem) !important;
  max-width: 420px !important;
}

/* 3. Reactivar las ondas doradas SVG continuas sin cortes */
.home-viewport .light-arcs-svg {
  display: block !important;
  position: absolute !important;
  top: 7% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 104% !important;
  max-width: none !important;
  height: 74% !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

/* 4. Esferas doradas animadas MÁS GRANDES */
.home-viewport .orb-left-lg { left: 0.8% !important; }
.home-viewport .orb-left-lg .cord { height: 22.5vh !important; }
.home-viewport .orb-left-lg .orb-img { width: clamp(96px, 14.8vh, 156px) !important; }

.home-viewport .orb-left-sm { left: 7.4% !important; }
.home-viewport .orb-left-sm .cord { height: 15.5vh !important; }
.home-viewport .orb-left-sm .orb-img { width: clamp(70px, 10.8vh, 114px) !important; }

.home-viewport .orb-right-md { right: 0.9% !important; }
.home-viewport .orb-right-md .cord { height: 20.5vh !important; }
.home-viewport .orb-right-md .orb-img { width: clamp(100px, 15.2vh, 160px) !important; }

/* 5. Texto del medio MÁS GRANDE, legible y protegido del glow del slider */
.gallery-header {
  position: relative !important;
  z-index: 25 !important;
  margin-bottom: 2.3vh !important;
}

.gallery-title {
  font-size: clamp(2.25rem, 5.15vh, 3.65rem) !important;
  text-shadow: 0 4px 22px rgba(3, 9, 20, 0.95) !important;
}

.gallery-kicker {
  font-size: clamp(0.76rem, 1.38vh, 0.94rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.36em !important;
  text-shadow: 0 2px 12px rgba(3, 9, 20, 0.95) !important;
}

.gallery-desc {
  font-size: clamp(0.84rem, 1.54vh, 1.04rem) !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(3, 9, 20, 0.98), 0 0 8px rgba(3, 9, 20, 0.9) !important;
}

/* 6. Glow del slider intenso en las orillas pero controlado hacia arriba para no invadir el texto del medio */
.carousel-wrapper {
  height: clamp(206px, 31.8vh, 330px) !important;
  margin-top: 0.8vh !important;
}

.carousel-card[data-offset="0"] {
  border: 3px solid #fff6c2 !important;
  box-shadow:
    0 0 9px #ffe98a,
    0 2px 22px rgba(255, 198, 56, 0.92),
    0 10px 44px rgba(247, 166, 22, 0.65),
    0 18px 34px rgba(0, 0, 0, 0.75),
    inset 0 0 16px rgba(255, 245, 190, 0.65) !important;
}


/* === BLOQUEO CERO-COLISIÓN EN ESCRITORIO: HERO FLOTANTE + ESPACIO LIMPIO ENTRE TEXTO CENTRAL, SLIDER Y PUNTOS === */
@media (min-width: 901px) {
  .hero-stage {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: auto !important;
    padding: 0.8vh 0 0 0 !important;
    z-index: 26 !important;
    pointer-events: none;
  }

  .hero-stage .hero-content {
    pointer-events: auto;
    margin-left: 2.6vw !important;
  }

  .gallery-stage {
    height: 100% !important;
    justify-content: flex-end !important;
    padding: 0 0 1.3vh !important;
  }

  .gallery-header {
    margin-bottom: 1.9vh !important;
  }

  .carousel-wrapper {
    height: clamp(202px, 30.8vh, 316px) !important;
    margin-top: 0 !important;
  }

  .carousel-card {
    width: clamp(232px, 35.5vh, 366px) !important;
    height: clamp(192px, 29.2vh, 300px) !important;
  }

  .carousel-dots {
    margin: 1.15vh 0 1.05vh !important;
  }
}


/* === AJUSTE FINO: ESFERAS Y ONDAS MÁS ABAJO, LOGO MÁS DORADO Y GLOW EN LÍNEAS DIVISORIAS === */
/* Bajar las 3 esferas doradas debajo de los botones del Hero y a los costados del carrusel */
.home-viewport .hanging-orb {
  top: 30% !important;
  z-index: 12 !important;
}

.home-viewport .orb-left-lg { left: 1.0% !important; }
.home-viewport .orb-left-lg .cord { height: 22vh !important; }

.home-viewport .orb-left-sm { left: 7.4% !important; }
.home-viewport .orb-left-sm .cord { height: 13.5vh !important; }

.home-viewport .orb-right-md { right: 1.1% !important; }
.home-viewport .orb-right-md .cord { height: 20vh !important; }

/* Alinear las ondas doradas continuas justo sobre los hombros del carrusel (sin cruzar el Hero) */
.home-viewport .light-arcs-svg {
  top: 34% !important;
  height: 54% !important;
}

/* Más dorado y brillo cálido en el logo superior izquierdo y el del footer */
.official-logo-img {
  filter: saturate(1.22) brightness(1.06) drop-shadow(0 0 18px rgba(255, 198, 48, 0.72)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7)) !important;
}

.footer-official-logo {
  filter: saturate(1.25) brightness(1.08) drop-shadow(0 0 14px rgba(255, 198, 48, 0.65)) !important;
}

/* Glow / brillo dorado en las líneas divisorias */
.footer-vdiv {
  width: 1.5px !important;
  background: linear-gradient(180deg, transparent, rgba(255, 224, 120, 0.95), transparent) !important;
  box-shadow: 0 0 8px rgba(255, 200, 62, 0.8), 0 0 16px rgba(242, 162, 24, 0.42) !important;
}

.ornamental-divider .line {
  height: 1.5px !important;
  background: linear-gradient(90deg, transparent, #ffe48a, transparent) !important;
  box-shadow: 0 0 8px rgba(255, 202, 66, 0.82) !important;
}

.copyright-line {
  height: 1.5px !important;
  background: linear-gradient(90deg, transparent, #ffe48a, transparent) !important;
  box-shadow: 0 0 8px rgba(255, 202, 66, 0.78) !important;
}


/* === AJUSTE FINAL V9: ESFERAS MUCHO MÁS ABAJO, CERO CURSIVAS Y DORADO PAREJO === */
/* Quitar cursiva a todo el texto de la tienda */
body, h1, h2, h3, h4, p, span, a, div, button, em,
.hero-headline,
.hero-headline .gold-accent,
.gallery-title,
.gallery-title .gold-italic,
.footer-brand-tagline {
  font-style: normal !important;
}

/* Bajar mucho más las 3 esferas doradas animadas */
.home-viewport .hanging-orb {
  top: 32% !important;
  z-index: 12 !important;
}

.home-viewport .orb-left-lg { left: 1.0% !important; }
.home-viewport .orb-left-lg .cord { height: 32.5vh !important; }

.home-viewport .orb-left-sm { left: 7.4% !important; }
.home-viewport .orb-left-sm .cord { height: 23.5vh !important; }

.home-viewport .orb-right-md { right: 1.1% !important; }
.home-viewport .orb-right-md .cord { height: 30.5vh !important; }

/* Brillo dorado uniforme y limpio en los logos */
.official-logo-img {
  filter: drop-shadow(0 0 14px rgba(255, 200, 56, 0.58)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65)) !important;
}

.footer-official-logo {
  filter: drop-shadow(0 0 10px rgba(255, 200, 56, 0.5)) !important;
}


/* === TIENDA 4 COLUMNAS, LOGO OFICIAL EN BARRA SUPERIOR Y OPTIMIZACIÓN GENERAL === */
.topbar-official-logo {
  height: clamp(32px, 4.4vh, 42px);
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 200, 56, 0.52));
}

.catalog-page {
  max-width: 1520px !important;
  padding: 92px 2.8vw 64px !important;
}

.catalog-controls {
  padding: 14px 20px !important;
  gap: 14px !important;
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.product-card {
  contain: layout style;
  will-change: transform;
}

.product-card-media {
  height: 248px !important;
}

.product-card-body {
  padding: 15px 16px 16px !important;
}

.product-card-title {
  font-size: 1.18rem !important;
}

.product-card-desc {
  font-size: 0.81rem !important;
  margin-bottom: 14px !important;
}

.product-price {
  font-size: 1.02rem !important;
}

.carousel-card,
.hanging-orb {
  will-change: transform;
}

@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .catalog-grid {
    grid-template-columns: 1fr !important;
  }
}


/* === TIENDA 5 FICHAS POR FILA EN ESCRITORIO === */
.catalog-page {
  max-width: 1660px !important;
  padding: 88px 1.8vw 60px !important;
}

.catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.product-card-media {
  height: 215px !important;
}

.product-card-body {
  padding: 13px 14px 14px !important;
}

.product-card-col {
  font-size: 0.64rem !important;
  letter-spacing: 0.16em !important;
}

.product-card-title {
  font-size: 1.06rem !important;
  margin-bottom: 6px !important;
}

.product-card-desc {
  font-size: 0.76rem !important;
  line-height: 1.42 !important;
  margin-bottom: 12px !important;
}

.product-card-footer {
  gap: 6px !important;
  padding-top: 10px !important;
}

.product-price {
  font-size: 0.92rem !important;
  white-space: nowrap;
}

.product-card-footer .btn-glass,
.product-card-footer .btn-gold {
  padding: 6px 9px !important;
  font-size: 0.72rem !important;
  border-radius: 7px !important;
}

@media (max-width: 1260px) {
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: 1fr !important;
  }
}


/* === LOGO VECTORIAL NÍTIDO EN BARRA SUPERIOR (TIENDA Y CONTACTO) === */
.topbar-vector-logo {
  height: clamp(32px, 4.2vh, 40px);
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 200, 56, 0.45));
}


/* === FIX V10: LOGO VECTORIAL SUPERIOR SIEMPRE VISIBLE + 5 FICHAS EN TIENDA DESDE 1024PX === */
.topbar-vector-logo {
  width: 210px !important;
  height: 38px !important;
  min-width: 185px;
  flex-shrink: 0;
  display: block !important;
  filter: drop-shadow(0 0 8px rgba(255, 200, 56, 0.5));
}

@media (min-width: 1024px) {
  .catalog-page {
    max-width: 1700px !important;
    padding: 86px 1.6vw 60px !important;
  }

  .catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .product-card-media {
    height: 198px !important;
  }

  .product-card-body {
    padding: 12px 12px 13px !important;
  }

  .product-card-title {
    font-size: 1rem !important;
  }

  .product-card-desc {
    font-size: 0.74rem !important;
  }

  .product-price {
    font-size: 0.88rem !important;
  }

  .product-card-footer .btn-glass,
  .product-card-footer .btn-gold {
    padding: 5px 8px !important;
    font-size: 0.7rem !important;
  }
}


/* === FIX V11: FICHAS DE TIENDA EN MEDIDA ORIGINAL (5 POR LÍNEA) + FOOTER ANCLADO AL FONDO EN CONTACTO === */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.view-section.active {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Centrar verticalmente la página de Contacto para que el footer quede pegado exactamente al borde inferior */
.view-section[data-view="contacto"].active {
  justify-content: center;
}

.contact-page {
  width: 100%;
  padding: 96px 6% 44px !important;
}

/* Tienda: 5 fichas por fila con sus dimensiones originales amplias de ancho, alto y tipografía */
@media (min-width: 1024px) {
  .catalog-page {
    width: 100%;
    max-width: 100% !important;
    padding: 90px 1.25vw 64px !important;
  }

  .catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .product-card-media {
    height: 280px !important;
  }

  .product-card-body {
    padding: 18px 18px 18px !important;
  }

  .product-card-col {
    font-size: 0.7rem !important;
    letter-spacing: 0.18em !important;
  }

  .product-card-title {
    font-size: 1.26rem !important;
    margin-bottom: 8px !important;
  }

  .product-card-desc {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }

  .product-card-footer {
    gap: 8px !important;
    padding-top: 12px !important;
  }

  .product-price {
    font-size: 1.05rem !important;
  }

  .product-card-footer .btn-glass,
  .product-card-footer .btn-gold {
    padding: 8px 11px !important;
    font-size: 0.77rem !important;
    border-radius: 9px !important;
  }
}


/* === ORGANIZACIÓN, TAMAÑOS Y ZOOM EXACTOS DE GALERÍA TEXTIL AÑIL MAYA(4) (SOLO INICIO) === */
@media (min-width: 901px) {
  .hero-stage {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    padding: 1.3vh 0 0 0 !important;
    z-index: 26 !important;
  }

  .hero-stage .hero-content {
    margin-left: 8.6vw !important;
    max-width: clamp(290px, 24.5vw, 385px) !important;
  }

  .official-logo-img {
    width: clamp(168px, 21.5vh, 232px) !important;
    margin-bottom: -2px !important;
  }

  .hero-headline {
    font-size: clamp(1.12rem, 2.35vh, 1.7rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 0.45vh !important;
  }

  .hero-subtitle {
    font-size: clamp(0.68rem, 1.2vh, 0.82rem) !important;
    max-width: 325px !important;
    margin-bottom: 1.05vh !important;
  }

  /* Esferas doradas animadas en las posiciones exactas de (4).png */
  .home-viewport .hanging-orb {
    top: 23% !important;
    z-index: 12 !important;
  }

  .home-viewport .orb-left-lg { left: 1.7% !important; }
  .home-viewport .orb-left-lg .cord { height: 22vh !important; }
  .home-viewport .orb-left-lg .orb-img { width: clamp(78px, 11.8vh, 120px) !important; }

  .home-viewport .orb-left-sm { left: 7.7% !important; }
  .home-viewport .orb-left-sm .cord { height: 13vh !important; }
  .home-viewport .orb-left-sm .orb-img { width: clamp(56px, 8.4vh, 86px) !important; }

  .home-viewport .orb-right-md { right: 1.8% !important; }
  .home-viewport .orb-right-md .cord { height: 19.5vh !important; }
  .home-viewport .orb-right-md .orb-img { width: clamp(82px, 12.2vh, 124px) !important; }

  /* Ondas doradas exactamente sobre los hombros del carrusel */
  .home-viewport .light-arcs-svg {
    top: 34% !important;
    height: 48% !important;
  }

  /* Encabezado central, carrusel y botones centrados exactamente como en (4).png */
  .gallery-stage {
    padding: 0 0 1.4vh !important;
  }

  .gallery-header {
    margin-bottom: 1.15vh !important;
  }

  .gallery-title {
    font-size: clamp(1.95rem, 4.35vh, 3.1rem) !important;
  }

  .gallery-kicker {
    font-size: clamp(0.66rem, 1.18vh, 0.82rem) !important;
  }

  .gallery-desc {
    font-size: clamp(0.75rem, 1.32vh, 0.9rem) !important;
  }

  .carousel-wrapper {
    height: clamp(220px, 33.4vh, 344px) !important;
    margin-top: 0 !important;
  }

  .carousel-card {
    width: clamp(240px, 36.8vh, 380px) !important;
    height: clamp(204px, 31.2vh, 322px) !important;
  }

  .carousel-arrow.prev { left: 6.1% !important; }
  .carousel-arrow.next { right: 6.1% !important; }

  .carousel-dots {
    margin: 0.9vh 0 1.25vh !important;
  }

  /* Botones inferiores centrados lado a lado como en (4).png */
  .gallery-cta-row {
    width: auto !important;
    justify-content: center !important;
    gap: 22px !important;
  }

  /* Footer con distribución equilibrada como en (4).png */
  .footer-main {
    padding: clamp(9px, 1.35vh, 14px) 3.2vw !important;
  }

  .footer-brand-col {
    align-items: center !important;
    text-align: center !important;
    padding-left: 0 !important;
  }

  .footer-official-logo {
    width: clamp(104px, 13.8vh, 140px) !important;
  }
}


/* === V11: 4 ESFERAS MÁS GRANDES Y BAJAS, LOGO SUPERIOR IZQUIERDO MÁS GRANDE Y RESPONSIVIDAD COMPLETA === */
/* 1. Logo superior izquierdo más grande (Inicio y barra superior de Tienda/Contacto) */
.official-logo-img {
  width: clamp(310px, 40vh, 448px) !important;
  margin-bottom: -4px !important;
}

.topbar-vector-logo {
  width: 248px !important;
  height: 44px !important;
}

/* 2. Esferas más grandes, más bajas y simétricas (2 izquierda + 2 derecha) */
.home-viewport .hanging-orb {
  top: 34% !important;
  z-index: 12 !important;
}

.home-viewport .orb-left-lg { left: 0.4% !important; animation-delay: 0s !important; }
.home-viewport .orb-left-lg .cord { height: 35.5vh !important; }
.home-viewport .orb-left-lg .orb-img { width: clamp(114px, 17.6vh, 184px) !important; }

.home-viewport .orb-left-sm { left: 7.6% !important; animation-delay: -2.1s !important; }
.home-viewport .orb-left-sm .cord { height: 26.5vh !important; }
.home-viewport .orb-left-sm .orb-img { width: clamp(82px, 12.6vh, 134px) !important; }

.home-viewport .orb-right-md { right: 0.5% !important; animation-delay: -1.1s !important; }
.home-viewport .orb-right-md .cord { height: 34.5vh !important; }
.home-viewport .orb-right-md .orb-img { width: clamp(116px, 18vh, 188px) !important; }

.home-viewport .orb-right-sm { right: 7.7% !important; animation-delay: -3.0s !important; }
.home-viewport .orb-right-sm .cord { height: 25.5vh !important; }
.home-viewport .orb-right-sm .orb-img { width: clamp(82px, 12.6vh, 134px) !important; }

/* 3. Responsividad completa: Laptop compacta, Tablet y Móvil */
@media (max-width: 1200px) and (min-width: 901px) {
  .official-logo-img {
    width: clamp(230px, 31vh, 320px) !important;
  }
  .home-viewport .orb-left-lg .orb-img,
  .home-viewport .orb-right-md .orb-img {
    width: clamp(86px, 13vh, 125px) !important;
  }
  .home-viewport .orb-left-sm .orb-img,
  .home-viewport .orb-right-sm .orb-img {
    width: clamp(62px, 9.5vh, 92px) !important;
  }
}

@media (max-width: 900px) {
  body.view-inicio {
    height: auto !important;
    overflow-y: auto !important;
    display: block !important;
  }

  .topbar {
    grid-template-columns: auto 1fr auto !important;
    padding: 12px 16px !important;
    gap: 10px !important;
    background: rgba(4, 11, 24, 0.92) !important;
    backdrop-filter: blur(12px) !important;
  }

  .topbar-vector-logo {
    width: 150px !important;
    height: 28px !important;
    min-width: 120px !important;
  }

  .nav-links {
    justify-content: center !important;
    gap: 16px !important;
  }

  .nav-link {
    font-size: 0.92rem !important;
  }

  .topbar-actions {
    gap: 6px !important;
  }

  .home-viewport {
    min-height: auto !important;
    padding-top: 64px !important;
    background-size: cover !important;
    background-position: 68% top !important;
  }

  .hero-stage {
    position: relative !important;
    padding: 20px 18px 10px !important;
  }

  .hero-content {
    margin: 0 auto !important;
    max-width: 94% !important;
  }

  .official-logo-img {
    width: clamp(210px, 56vw, 310px) !important;
  }

  .hero-headline {
    font-size: clamp(1.3rem, 5.2vw, 1.85rem) !important;
  }

  .hero-subtitle {
    font-size: 0.88rem !important;
    max-width: 95% !important;
  }

  .home-viewport .hanging-orb,
  .home-viewport .light-arcs-svg {
    display: none !important;
  }

  .gallery-stage {
    padding: 18px 0 32px !important;
  }

  .gallery-title {
    font-size: clamp(1.65rem, 6.5vw, 2.35rem) !important;
  }

  .carousel-wrapper {
    height: 310px !important;
    margin-top: 8px !important;
  }

  .carousel-card {
    width: min(74vw, 290px) !important;
    height: 270px !important;
  }

  .carousel-card[data-offset="-1"] {
    transform: translate(calc(-50% - 58vw), -49%) scale(0.8) !important;
    opacity: 0.65 !important;
  }

  .carousel-card[data-offset="1"] {
    transform: translate(calc(-50% + 58vw), -49%) scale(0.8) !important;
    opacity: 0.65 !important;
  }

  .carousel-card[data-offset="-2"],
  .carousel-card[data-offset="2"],
  .carousel-card[data-offset="-3"],
  .carousel-card[data-offset="3"] {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .carousel-arrow.prev { left: 10px !important; }
  .carousel-arrow.next { right: 10px !important; }

  .gallery-cta-row {
    width: 92% !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .catalog-page {
    padding: 84px 16px 48px !important;
  }

  .catalog-controls {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .catalog-search-box {
    max-width: 100% !important;
  }

  .filter-pills {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    flex-shrink: 0 !important;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    padding: 20px 18px !important;
  }

  .footer-vdiv {
    display: none !important;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    align-items: center !important;
    text-align: center !important;
  }
}

@media (max-width: 540px) {
  .topbar-mini-brand {
    display: none !important;
  }

  .topbar {
    grid-template-columns: 1fr auto !important;
  }

  .nav-links {
    justify-content: flex-start !important;
    gap: 14px !important;
  }

  .footer-main {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .footer-links-stack,
  .footer-support-col,
  .footer-socials-col,
  .footer-secure-col,
  .payment-badges {
    align-items: center !important;
    justify-content: center !important;
  }

  .footer-support-row {
    justify-content: center;
  }
}


/* === GALERÍA REAL DE ESTUDIO (SIN RECORTES EN PRENDAS + MINIATURAS MULTI-ÁNGULO) === */
.studio-media-light,
.carousel-card.studio-card-light {
  background: #ffffff !important;
}

.studio-media-dark,
.carousel-card.studio-card-dark {
  background: #000000 !important;
}

.product-card-media.studio-media-light img,
.product-card-media.studio-media-dark img,
.piece-modal-img.studio-media-light img,
.piece-modal-img.studio-media-dark img {
  object-fit: contain !important;
  object-position: center center !important;
  padding: 8px;
}

.carousel-card.studio-card-light img,
.carousel-card.studio-card-dark img {
  object-fit: contain !important;
  object-position: center 22% !important;
  padding: 6px 6px 26px;
}

.angle-count-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(5, 15, 34, 0.82);
  border: 1px solid rgba(247, 207, 104, 0.65);
  color: #ffe89e;
  font-size: 0.66rem;
  font-weight: 600;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-thumb {
  width: 58px;
  height: 58px;
  border-radius: 9px;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid rgba(247, 207, 104, 0.28);
  padding: 3px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-thumb.active,
.modal-thumb:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}


/* === VISOR MULTI-IMAGEN DIRECTO DENTRO DE CADA FICHA DE TIENDA === */
.product-card-media.has-multi {
  padding-bottom: 42px;
}

.product-card-media.has-multi .card-main-photo {
  cursor: pointer;
}

.card-img-nav {
  position: absolute;
  top: calc(50% - 18px);
  transform: translateY(-50%);
  z-index: 6;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(5, 15, 34, 0.78);
  border: 1px solid rgba(247, 207, 104, 0.78);
  color: #ffe89e;
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.card-img-nav:hover {
  opacity: 1;
  background: #f5c344;
  color: #160e03;
  transform: translateY(-50%) scale(1.08);
}

.card-img-nav.prev { left: 6px; }
.card-img-nav.next { right: 6px; }

.card-mini-thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 6px;
  background: linear-gradient(180deg, rgba(5, 15, 34, 0.08) 0%, rgba(5, 15, 34, 0.88) 100%);
}

.card-mini-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  padding: 2px;
  flex-shrink: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-mini-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
}

.card-mini-thumb.active,
.card-mini-thumb:hover {
  border-color: #ffdd73;
  box-shadow: 0 0 8px rgba(255, 204, 72, 0.75);
  transform: translateY(-1px);
}

/* ANIL-MAYA-RESPONSIVE-PORTRAIT-DESKTOP-V1
   Escritorio solicitado desde un navegador en orientación vertical.
   Evita que la portada se estire hasta una altura virtual excesiva. */
@media (min-width: 901px) and (max-aspect-ratio: 4/5) {
  body.view-inicio {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  body.view-inicio .view-section[data-view="inicio"].active {
    flex: none !important;
    display: block !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  body.view-inicio .home-viewport {
    flex: none !important;
    height: clamp(640px, 71vw, 800px) !important;
    min-height: 640px !important;
    max-height: 800px !important;
    display: flex !important;
    background-size: cover !important;
    background-position: center top !important;
  }
  body.view-inicio .hero-stage {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    padding: 14px 0 0 !important;
  }
  body.view-inicio .hero-stage .hero-content {
    max-width: clamp(270px, 27vw, 345px) !important;
    margin-left: 6vw !important;
  }
  body.view-inicio .official-logo-img {
    width: clamp(175px, 21vw, 230px) !important;
  }
  body.view-inicio .hero-headline {
    font-size: clamp(18px, 2.1vw, 24px) !important;
  }
  body.view-inicio .hero-subtitle {
    font-size: clamp(11px, 1.1vw, 13px) !important;
  }
  body.view-inicio .gallery-stage {
    margin-top: 0 !important;
    padding-bottom: 14px !important;
  }
  body.view-inicio .gallery-title {
    font-size: clamp(28px, 3.2vw, 39px) !important;
  }
  body.view-inicio .gallery-kicker,
  body.view-inicio .gallery-desc {
    font-size: 12px !important;
  }
  body.view-inicio .carousel-wrapper {
    height: clamp(238px, 26vw, 292px) !important;
    margin-top: 0 !important;
  }
  body.view-inicio .carousel-card {
    width: clamp(240px, 28vw, 310px) !important;
    height: clamp(205px, 23vw, 252px) !important;
  }
  body.view-inicio .gallery-cta-row {
    gap: 20px !important;
  }
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* ANIL-MAYA-MODAL-MOVIL-V1: ficha compacta, desplazamiento accesible */
@media screen and (max-width: 600px) {
  #pieceModal {
    padding: 10px;
    align-items: center;
  }
  #pieceModal .modal-card {
    max-width: 480px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    padding: 14px;
  }
  #pieceModal .modal-close {
    position: sticky;
    top: 0;
    right: auto;
    z-index: 5;
    margin: 0 0 -36px auto;
    width: 36px;
    height: 36px;
    background: rgba(3, 9, 20, 0.88);
    border: 1px solid rgba(247, 207, 104, 0.55);
  }
  #pieceModal .piece-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  #pieceModal .piece-modal-grid > div {
    min-width: 0;
  }
  #pieceModal .piece-modal-img {
    width: 100%;
    height: clamp(160px, 29vh, 245px);
    height: clamp(160px, 29dvh, 245px);
    aspect-ratio: auto;
  }
  #pieceModal .piece-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
  }
  #pieceModal .modal-thumbs {
    margin-top: 7px;
    gap: 7px;
  }
  #pieceModal .modal-thumb {
    width: 46px;
    height: 46px;
  }
  #pieceModalBody h2 {
    font-size: clamp(1.22rem, 5vw, 1.5rem) !important;
    line-height: 1.25;
    margin-bottom: 6px !important;
  }
  #pieceModalBody .product-price {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
    white-space: normal;
  }
  #pieceModalBody p {
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
  }
  #pieceModalBody .size-row {
    margin: 8px 0 12px;
  }
  #pieceModalBody .size-chip {
    min-height: 40px;
  }
  #pieceModalBody #modalAddToCartBtn,
  #pieceModalBody #modalGoCatalogBtn {
    min-height: 44px;
    font-size: 0.82rem;
  }
}


/* ANIL-MAYA-RESPONSIVE-OVERFLOW-V2 */
@media screen and (max-width: 900px) {
  .view-section[data-view="tienda"].active {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .catalog-page {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .catalog-hero-header,
  .catalog-controls,
  .catalog-grid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .catalog-search-box {
    flex: 0 0 auto !important;
    width: 100%;
    min-width: 0;
    max-width: 100% !important;
  }
  .catalog-search-input {
    width: 100%;
    min-width: 0;
  }
  .filter-pills {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .product-card {
    min-width: 0;
  }
}
@media screen and (max-width: 600px) {
  .topbar,
  .topbar.scrolled {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    justify-items: center;
    gap: 6px !important;
    padding: 9px 12px !important;
  }
  .topbar-left {
    display: none !important;
  }
  .nav-links {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: clamp(8px, 3vw, 16px) !important;
  }
  .nav-link {
    font-size: clamp(0.75rem, 3vw, 0.9rem) !important;
  }
  .topbar-actions {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: center !important;
    gap: 10px !important;
  }
  .catalog-page {
    padding-top: 104px !important;
  }
  .catalog-hero-header .gallery-title {
    font-size: clamp(1.65rem, 6vw, 2.2rem) !important;
  }
  .catalog-hero-header .gallery-kicker {
    font-size: clamp(0.62rem, 2.2vw, 0.8rem);
    letter-spacing: 0.15em;
    overflow-wrap: anywhere;
  }
}


/* ANIL-MAYA-FILTROS-RESPONSIVE-V3 */
@media screen and (max-width: 900px) {
  .catalog-controls {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    flex-direction: column !important;
    align-items: stretch !important;
    box-sizing: border-box;
  }

  .catalog-controls .catalog-search-box {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0;
    max-width: 100% !important;
  }

  .catalog-controls .catalog-search-input {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .catalog-controls .filter-pills {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    padding: 0 !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    box-sizing: border-box;
  }

  .catalog-controls .filter-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 6px;
    flex-shrink: 1 !important;
    font-size: clamp(0.76rem, 2.3vw, 0.88rem);
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    touch-action: manipulation;
  }

  .catalog-controls .filter-pill:focus-visible {
    outline: 2px solid #f7cf68;
    outline-offset: 2px;
  }
}

@media screen and (max-width: 600px) {
  .catalog-controls {
    padding: 12px !important;
    gap: 12px !important;
  }

  .catalog-controls .filter-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ANIL-MAYA-INICIO-AUTO-V1 */
.home-viewport > .home-backdrop-alternate {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-size: inherit;
    background-position: inherit;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1200ms ease-in-out;
}

.home-viewport > .home-backdrop-alternate.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .home-viewport > .home-backdrop-alternate {
        transition: none;
    }
}

/* ANIL-MAYA-TRANSICION-FONDOS-V2 */
.home-viewport > .home-backdrop-alternate {
    background-size: inherit !important;
    background-position: inherit !important;
    background-repeat: no-repeat !important;
    filter: none !important;
    image-rendering: auto;
    transition: opacity 650ms ease-in-out !important;
}

@media (prefers-reduced-motion: reduce) {
    .home-viewport > .home-backdrop-alternate {
        transition: none !important;
    }
}

/* ANIL-MAYA-HOME-BACKGROUNDS-V3:START */
.home-viewport {
    position: relative;
    isolation: isolate;
}

.home-viewport > .home-backdrop-alternate {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    filter: none !important;
    image-rendering: auto;
    opacity: 0;
    transition: opacity 650ms ease-in-out;
}

.home-viewport > .home-backdrop-alternate.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .home-viewport > .home-backdrop-alternate {
        transition: none !important;
    }
}
/* ANIL-MAYA-HOME-BACKGROUNDS-V3:END */

/* ANIL-HERO-FONDOS-CALIBRADOS:START */
/* Fotografias calibradas, sin zoom adicional de pruebas anteriores. */
#inicio .home-viewport > .home-backdrop-alternate {
    background-image: url('../assets/img/escena_portada_final_anil_maya_4k.jpg?v=hero-calibrado-20261122-140635') !important;
}

@media screen and (min-width: 901px) {
    #inicio > .home-viewport {
        background-image: url('../assets/img/home-backdrop.jpg?v=hero-calibrado-20261122-140635') !important;
        background-size: cover !important;
        background-position: 50% 88% !important;
        background-repeat: no-repeat !important;
    }

    #inicio > .home-viewport > .home-backdrop-alternate {
        background-size: cover !important;
        background-position: 50% 88% !important;
        background-repeat: no-repeat !important;
    }
}
/* ANIL-HERO-FONDOS-CALIBRADOS:END */

/* ANIL-CAPAS-FONDO-1:START */
@media screen and (min-width: 901px) {

    html body.view-inicio main#inicio > div.home-viewport {

        background-image:
            url('../assets/img/anil-modelos-frente-calibrados.png?v=piramide-capas-20261122-150012'),
            url('../assets/img/anil-piramide-original.webp?v=piramide-capas-20261122-150012') !important;

        background-size:
            cover,
            92% auto !important;

        background-position:
            center 88%,
            right top !important;

        background-repeat:
            no-repeat,
            no-repeat !important;

        background-color: #071523 !important;
    }
}
/* ANIL-CAPAS-FONDO-1:END */

/* ANIL-INICIO-LIMPIO-V1:START */

/* 1. Eliminar esferas, cuerdas y arcos luminosos */
html body.view-inicio #inicio .home-viewport .hanging-orb,
html body.view-inicio #inicio .home-viewport .light-arcs-svg,
html body.view-inicio #inicio .home-viewport .corner-gold-glow {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    animation: none !important;
}

/* 2. Mover la marca completa hacia el borde izquierdo */
/* Solo escritorio: responsive movil conservado */
@media screen and (min-width: 901px) {

    html body.view-inicio main#inicio .hero-stage {
        left: 0 !important;
        padding-left: 8px !important;
        transform: none !important;
    }

    html body.view-inicio main#inicio .hero-stage .hero-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }
}

/* ANIL-INICIO-LIMPIO-V1:END */

/* ANIL-SLIDER-INFERIOR-V2:START */

/* Ocultar puntos sin eliminarlos del DOM */
#inicio .carousel-dots {
    display: none !important;
}

/* Ajustes para escritorio */
@media screen and (min-width: 1100px) and (min-height: 700px) {

    body.view-inicio #inicio .gallery-stage {
        --anil-side-anchor: clamp(125px, 9.4%, 155px);
        padding-bottom: 0 !important;
        justify-content: flex-end !important;
    }

    /* Encabezado: conservar tipografia aprobada */
    body.view-inicio #inicio .gallery-header {
        margin-bottom: 4px !important;
        flex-shrink: 0 !important;
    }

    /* Carrusel mas ancho y bajo */
    body.view-inicio #inicio .carousel-wrapper {
        position: relative !important;
        width: 100% !important;
        max-width: 1540px !important;
        height: clamp(288px, 40vh, 352px) !important;
        flex: 0 0 auto !important;
        margin: 0 auto !important;
    }

    /* Tarjetas mas anchas y altas */
    body.view-inicio #inicio .carousel-card {
        width: clamp(285px, 43.5vh, 385px) !important;
        height: clamp(260px, 37vh, 328px) !important;
    }

    /* Separaciones del carrusel 3D */
    body.view-inicio #inicio .carousel-card[data-offset="-1"] {
        transform: translate(
            calc(-50% - clamp(215px, 32vh, 335px)),
            -49%
        ) scale(0.84) rotateY(7deg) !important;
    }

    body.view-inicio #inicio .carousel-card[data-offset="1"] {
        transform: translate(
            calc(-50% + clamp(215px, 32vh, 335px)),
            -49%
        ) scale(0.84) rotateY(-7deg) !important;
    }

    body.view-inicio #inicio .carousel-card[data-offset="-2"] {
        transform: translate(
            calc(-50% - clamp(330px, 49vh, 505px)),
            -48%
        ) scale(0.68) rotateY(12deg) !important;
    }

    body.view-inicio #inicio .carousel-card[data-offset="2"] {
        transform: translate(
            calc(-50% + clamp(330px, 49vh, 505px)),
            -48%
        ) scale(0.68) rotateY(-12deg) !important;
    }

    body.view-inicio #inicio .carousel-card[data-offset="-3"] {
        transform: translate(
            calc(-50% - clamp(400px, 60vh, 620px)),
            -47%
        ) scale(0.54) rotateY(16deg) !important;
    }

    body.view-inicio #inicio .carousel-card[data-offset="3"] {
        transform: translate(
            calc(-50% + clamp(400px, 60vh, 620px)),
            -47%
        ) scale(0.54) rotateY(-16deg) !important;
    }

    /* Flechas laterales */
    body.view-inicio #inicio .carousel-arrow.prev {
        left: var(--anil-side-anchor) !important;
    }

    body.view-inicio #inicio .carousel-arrow.next {
        right: var(--anil-side-anchor) !important;
    }

    /* Franja de botones, junto al borde del footer */
    body.view-inicio #inicio .gallery-cta-row {
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        bottom: 5px !important;
        width: min(1540px, 100%) !important;
        height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateX(-50%) !important;
        pointer-events: none !important;
        z-index: 45 !important;
    }

    /* Propiedades compartidas de los botones */
    body.view-inicio #inicio .gallery-cta-row #btnVerCatalogo,
    body.view-inicio #inicio .gallery-cta-row #btnConocerPieza {
        position: absolute !important;
        bottom: 0 !important;
        min-height: 40px !important;
        padding: 9px 14px !important;
        font-size: 0.84rem !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        transform: translateX(-50%) !important;
        pointer-events: auto !important;
    }

    /* Boton bajo la flecha izquierda */
    body.view-inicio #inicio #btnVerCatalogo {
        left: var(--anil-side-anchor) !important;
        right: auto !important;
    }

    /* Boton bajo la flecha derecha */
    body.view-inicio #inicio #btnConocerPieza {
        left: calc(100% - var(--anil-side-anchor)) !important;
        right: auto !important;
    }
}

/* ANIL-SLIDER-INFERIOR-V2:END */

/* ANIL-CUATRO-ZONAS-V5:START */

@media screen and (min-width: 1100px) and (min-height: 700px) {

  /* 1. IZQUIERDA: NO CAMBIAR EL LOGO */
  /* Solo separar y mejorar los textos inferiores */

  html body.view-inicio main#inicio
  .hero-content > .hero-headline {
    margin-top: 10px !important;
    margin-bottom: 7px !important;
  }

  html body.view-inicio main#inicio
  .hero-content > .hero-subtitle {
    font-size: clamp(12px, 1.65vh, 14px) !important;
    line-height: 1.45 !important;
    margin-top: 4px !important;
    margin-bottom: 10px !important;
    color: #f7f8fc !important;
    text-shadow: 0 2px 7px rgba(0,0,0,.8) !important;
  }

  /* 2. BOTONES SUPERIORES: IGUALES Y DORADOS */

  html body.view-inicio main#inicio .cta-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  html body.view-inicio main#inicio .cta-row
  #btnExplorarGaleria,
  html body.view-inicio main#inicio .cta-row
  #btnConoceMas {
    width: 164px !important;
    min-width: 164px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 7px 9px !important;
    font-size: .76rem !important;
    font-weight: 700 !important;
    border-radius: 9px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
  }

  /* 3. EMBLEMA CENTRAL OFICIAL EN VECTOR */

  html body.view-inicio main#inicio .gallery-lotus-row {
    display: block !important;
    width: 44px !important;
    height: 36px !important;
    min-height: 0 !important;
    margin: 0 auto 3px !important;
    overflow: hidden !important;
    background-image: url('../assets/img/logo-anil-maya.svg') !important;
    background-repeat: no-repeat !important;
    background-size: 176px auto !important;
    background-position: center -2px !important;
    filter: none !important;
  }

  /* Ocultar el simbolo generico anterior */
  html body.view-inicio main#inicio
  .gallery-lotus-row > * {
    display: none !important;
  }

  /* Titulo central: aumento moderado */

  html body.view-inicio main#inicio
  .gallery-stage .gallery-title {
    font-size: clamp(2.08rem, 4.8vh, 3.35rem) !important;
    line-height: 1.06 !important;
    margin-bottom: 4px !important;
    text-shadow:
      0 2px 5px rgba(0,0,0,.9),
      0 4px 12px rgba(2,8,20,.7) !important;
  }

  html body.view-inicio main#inicio
  .gallery-stage .gallery-title .gold-italic {
    -webkit-text-stroke: .3px rgba(57,35,7,.55);
    filter:
      drop-shadow(0 1px 2px rgba(0,0,0,.95))
      drop-shadow(0 2px 5px rgba(0,0,0,.65)) !important;
  }

  html body.view-inicio main#inicio
  .gallery-stage .gallery-kicker {
    font-size: clamp(.74rem, 1.27vh, .88rem) !important;
  }

  html body.view-inicio main#inicio
  .gallery-stage .gallery-desc {
    font-size: clamp(.78rem, 1.5vh, .96rem) !important;
    line-height: 1.4 !important;
    color: #fffaf0 !important;
    text-shadow: 0 2px 7px rgba(0,0,0,.85) !important;
  }

  /* 4. BOTONES INFERIORES: MAS CERCA DE LAS ORILLAS */

  html body.view-inicio main#inicio
  .gallery-stage .gallery-cta-row {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 5px !important;
    width: calc(100% - 28px) !important;
    max-width: none !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
    z-index: 45 !important;
  }

  html body.view-inicio main#inicio
  .gallery-cta-row #btnVerCatalogo,
  html body.view-inicio main#inicio
  .gallery-cta-row #btnConocerPieza {
    position: absolute !important;
    bottom: 0 !important;
    width: 190px !important;
    min-width: 190px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 7px 9px !important;
    font-size: .76rem !important;
    font-weight: 700 !important;
    border-radius: 9px !important;
    white-space: nowrap !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    pointer-events: auto !important;
  }

  html body.view-inicio main#inicio
  .gallery-cta-row #btnVerCatalogo {
    left: 0 !important;
    right: auto !important;
  }

  html body.view-inicio main#inicio
  .gallery-cta-row #btnConocerPieza {
    right: 0 !important;
    left: auto !important;
  }

  /* UN MISMO ACABADO DORADO PARA LOS CUATRO */

  html body.view-inicio main#inicio #btnExplorarGaleria,
  html body.view-inicio main#inicio #btnConoceMas,
  html body.view-inicio main#inicio #btnVerCatalogo,
  html body.view-inicio main#inicio #btnConocerPieza {
    background:
      linear-gradient(180deg,
        #fff0a8 0%,
        #f5cb62 46%,
        #d99b26 100%) !important;
    color: #201606 !important;
    border: 1px solid rgba(255,223,140,.9) !important;
    box-shadow:
      0 5px 14px rgba(0,0,0,.42),
      inset 0 1px 1px rgba(255,255,255,.75) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ANIL-CUATRO-ZONAS-V5:END */


/* Sombra suave ENTRE los modelos y la piramide.
   No altera el tamano ni posicion de ninguna capa. */
@media screen and (min-width:901px) {
  html body.view-inicio main#inicio > div.home-viewport {
    background-image:
      url('../assets/img/anil-modelos-frente-calibrados.png'),
      linear-gradient(
        rgba(14,24,31,.15),
        rgba(14,24,31,.15)
      ),
      url('../assets/img/anil-piramide-original.webp')
      !important;

    background-size:
      cover,
      cover,
      92% auto
      !important;

    background-position:
      center 88%,
      center,
      right top
      !important;

    background-repeat: no-repeat !important;
  }
}

/* Atenuacion localizada del segundo fondo.
   Se desvanece antes de llegar a los modelos. */
@media screen and (min-width:901px) {
  html body.view-inicio #inicio
  .home-viewport > .home-backdrop-alternate::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(
        90deg,
        rgba(12,23,32,.15) 0%,
        rgba(12,23,32,.10) 48%,
        transparent 70%
      );
  }
}

/* ANIL-ORO-CORREGIDO-V8:START */

/* Paleta calida basada en la marca original */
.topbar, #inicio, #tienda, .site-footer {
  --gold-light: #fff0bd;
  --gold-bright: #e8b65a;
  --gold-mid: #d79c3c;
  --gold-deep: #aa6e21;
  --gold-glow: rgba(232,182,90,.35);
  --gold-glow-soft: rgba(232,182,90,.18);
  --border-subtle: rgba(232,182,90,.28);
}

/* Logos: NO se modifican ancho, alto ni ubicacion */
#inicio .official-logo-img,
.site-footer .footer-official-logo {
  filter:
    drop-shadow(0 2px 5px rgba(0,0,0,.58))
    drop-shadow(0 0 5px rgba(231,176,76,.18))
    !important;
}

/* Navegacion: oro metalico uniforme */
.topbar #navGoldEven stop:nth-child(1) {
  stop-color: #fff3c7 !important;
}
.topbar #navGoldEven stop:nth-child(2) {
  stop-color: #e7b14e !important;
}
.topbar #navGoldEven stop:nth-child(3) {
  stop-color: #ad7126 !important;
}

.topbar .nav-link:hover,
.topbar .nav-link.active {
  color: #f0c779 !important;
  text-shadow: 0 1px 5px rgba(0,0,0,.45) !important;
}

.topbar .nav-link.active::after {
  background:
    linear-gradient(90deg,transparent,#e6b45d,transparent)
    !important;
  box-shadow: 0 0 7px rgba(230,180,93,.28) !important;
}

/* Textos dorados claros, sin marron oscuro */
#inicio .hero-headline .gold-accent,
#inicio .gallery-title .gold-italic,
#tienda .catalog-hero-header .gallery-title .gold-italic {
  background:
    linear-gradient(
      180deg,
      #fff7df 0%,
      #ffe39c 45%,
      #f0c470 100%
    ) !important;

  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;

  filter:
    drop-shadow(0 2px 2px rgba(0,5,14,.85))
    !important;

  text-shadow: none !important;
  -webkit-text-stroke: .15px rgba(75,48,8,.25) !important;
}

#inicio .gallery-title {
  text-shadow: 0 2px 8px rgba(1,8,19,.88) !important;
}

/* Lineas doradas sobrias */
#inicio .ornamental-divider .line,
#inicio .gallery-lotus-row .short-line {
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(232,182,90,.75),
      transparent
    ) !important;
  box-shadow: none !important;
}

/* Botones: mismo acabado, sin cambiar dimensiones */
#inicio #btnExplorarGaleria,
#inicio #btnConoceMas,
#inicio #btnVerCatalogo,
#inicio #btnConocerPieza,
#tienda .product-card-footer .btn-gold {
  background:
    linear-gradient(
      180deg,
      #fff1bc 0%,
      #f0c776 38%,
      #dca244 74%,
      #bf822b 100%
    ) !important;
  color: #221608 !important;
  border: 1px solid #e3bb70 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 4px 10px rgba(0,0,0,.27)
    !important;
}

/* Flechas del carrusel */
#inicio .carousel-arrow {
  color: #efd08a !important;
  border-color: #d6aa59 !important;
  box-shadow: 0 1px 7px rgba(0,0,0,.4) !important;
}

/* Categorias de Tienda */
#tienda .filter-pill {
  border-color: rgba(228,178,87,.4) !important;
}

#tienda .filter-pill:hover,
#tienda .filter-pill.active {
  background:
    linear-gradient(
      180deg,
      #fff1bc 0%,
      #eec274 48%,
      #cb9036 100%
    ) !important;
  border-color: #e3bb70 !important;
  color: #211507 !important;
  box-shadow: 0 2px 9px rgba(0,0,0,.2) !important;
}

#tienda .featured-ribbon {
  background:
    linear-gradient(135deg,#ffeab4,#e7b453) !important;
  color: #241704 !important;
}

/* SOLO aumentar el titulo central de Tienda */
#tienda .catalog-hero-header .gallery-title {
  font-size: clamp(2.3rem,2.7vw,2.95rem) !important;
  line-height: 1.09 !important;
  margin-bottom: 5px !important;
}

/* Reparacion real del pie de cada ficha */
#tienda .product-card-footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-width: 0 !important;
}

/* Precio en primera fila */
#tienda .product-card-footer .product-price {
  display: block !important;
  width: 100% !important;
  font-size: clamp(.83rem,1vw,1.02rem) !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  color: #f0c87b !important;
}

/* Dos botones completos en segunda fila */
#tienda .product-card-footer > div {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 7px !important;
  flex-wrap: nowrap !important;
}

#tienda .product-card-footer > div > button {
  flex: 1 1 0 !important;
  width: 50% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 8px 6px !important;
  font-size: clamp(.72rem,.8vw,.8rem) !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#tienda .product-card-footer .btn-glass {
  border-color: rgba(228,178,87,.55) !important;
}

/* Pie de pagina armonizado */
.site-footer .footer-vdiv {
  background:
    linear-gradient(180deg,transparent,#c89440,transparent)
    !important;
  box-shadow: 0 0 5px rgba(222,172,75,.18) !important;
}

.site-footer .footer-link svg,
.site-footer .footer-support-row svg {
  color: #e4b45e !important;
  stroke: #e4b45e !important;
}

/* ANIL-ORO-CORREGIDO-V8:END */
/* Sombra suave ENTRE los modelos y la piramide.
   No altera el tamano ni posicion de ninguna capa. */
@media screen and (min-width:901px) {
  html body.view-inicio main#inicio > div.home-viewport {
    background-image:
      url('../assets/img/anil-modelos-frente-calibrados.png'),
      linear-gradient(
        rgba(14,24,31,.15),
        rgba(14,24,31,.15)
      ),
      url('../assets/img/anil-piramide-original.webp')
      !important;

    background-size:
      cover,
      cover,
      92% auto
      !important;

    background-position:
      center 88%,
      center,
      right top
      !important;

    background-repeat: no-repeat !important;
  }
}

/* Atenuacion localizada del segundo fondo.
   Se desvanece antes de llegar a los modelos. */
@media screen and (min-width:901px) {
  html body.view-inicio #inicio
  .home-viewport > .home-backdrop-alternate::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(
        90deg,
        rgba(12,23,32,.15) 0%,
        rgba(12,23,32,.10) 48%,
        transparent 70%
      );
  }
}

/* ANIL-HOME-GOLD-MIN-V11:START */
/* Ajuste mínimo:
   - Inicio solamente
   - Dorado uniforme
   - Sin cambios de layout
   - Sin tocar Contacto
   - Sin tocar JS ni temporizadores
*/

:root{
  --am-gold-hi:   #f7e6a6;
  --am-gold-mid:  #e3b24a;
  --am-gold-deep: #b77716;
  --am-gold-soft: #f0d182;
  --am-gold-line: rgba(227,178,74,.72);
  --am-gold-glow: rgba(227,178,74,.24);
  --am-gold-glow-soft: rgba(227,178,74,.14);
  --am-gold-ink:  #241605;
}

/* ===== SOLO HOME ===== */
body.view-inicio .official-logo-img,
body.view-inicio .footer-official-logo{
  filter:
    saturate(1.06)
    contrast(1.04)
    brightness(1.02)
    drop-shadow(0 0 8px rgba(227,178,74,.14));
}

/* NAV visible */
body.view-inicio .nav-link{
  color: var(--am-gold-mid) !important;
  text-shadow: 0 0 10px rgba(227,178,74,.10);
}
body.view-inicio .nav-link:hover,
body.view-inicio .nav-link.active{
  color: var(--am-gold-hi) !important;
  text-shadow: 0 0 12px rgba(227,178,74,.16);
}
body.view-inicio .nav-link::after,
body.view-inicio .nav-link.active::after{
  background: linear-gradient(90deg, transparent 0%, var(--am-gold-mid) 50%, transparent 100%) !important;
  box-shadow: 0 0 10px rgba(227,178,74,.18) !important;
}

body.view-inicio .icon-btn,
body.view-inicio .icon-btn svg{
  color: var(--am-gold-mid) !important;
}
body.view-inicio .cart-badge{
  background: linear-gradient(180deg, var(--am-gold-hi) 0%, var(--am-gold-mid) 55%, var(--am-gold-deep) 100%) !important;
  color: var(--am-gold-ink) !important;
  box-shadow: 0 0 10px rgba(227,178,74,.18) !important;
}

/* Logo lateral / copy lateral */
body.view-inicio .gold-accent{
  color: var(--am-gold-mid) !important;
}
body.view-inicio .ornamental-divider,
body.view-inicio .ornamental-divider .diamond{
  color: var(--am-gold-mid) !important;
}
body.view-inicio .ornamental-divider .line{
  background: linear-gradient(90deg, transparent, var(--am-gold-mid), transparent) !important;
  box-shadow: 0 0 10px rgba(227,178,74,.14);
}

/* Botones: mismo dorado */
body.view-inicio .hero-content .btn-gold,
body.view-inicio .hero-content .btn-glass,
body.view-inicio .gallery-cta-row .btn-gold,
body.view-inicio .gallery-cta-row .btn-glass{
  background: linear-gradient(180deg, var(--am-gold-hi) 0%, var(--am-gold-mid) 52%, var(--am-gold-deep) 100%) !important;
  color: var(--am-gold-ink) !important;
  border: 1px solid rgba(255,244,196,.78) !important;
  box-shadow:
    0 8px 18px rgba(0,0,0,.16),
    0 0 0 1px rgba(227,178,74,.18),
    inset 0 1px 0 rgba(255,251,225,.55) !important;
  text-shadow: none !important;
}
body.view-inicio .hero-content .btn-gold:hover,
body.view-inicio .hero-content .btn-glass:hover,
body.view-inicio .gallery-cta-row .btn-gold:hover,
body.view-inicio .gallery-cta-row .btn-glass:hover{
  background: linear-gradient(180deg, #fbefba 0%, #e6b84f 50%, #bf7d17 100%) !important;
  box-shadow:
    0 10px 22px rgba(0,0,0,.18),
    0 0 18px rgba(227,178,74,.20),
    inset 0 1px 0 rgba(255,251,225,.65) !important;
}

/* Título central y detalles dorados */
body.view-inicio .gallery-lotus-row .short-line{
  background: linear-gradient(90deg, transparent, var(--am-gold-mid), transparent) !important;
  box-shadow: 0 0 10px rgba(227,178,74,.12);
}
body.view-inicio .gallery-lotus-row svg path{
  stroke: var(--am-gold-mid) !important;
}

body.view-inicio .gallery-title,
body.view-inicio .gallery-title .gold-italic{
  color: var(--am-gold-soft) !important;
  text-shadow:
    0 1px 0 rgba(255,248,220,.18),
    0 0 14px rgba(227,178,74,.16) !important;
}
body.view-inicio .gallery-kicker{
  color: var(--am-gold-hi) !important;
  text-shadow: 0 0 10px rgba(227,178,74,.12);
}
body.view-inicio .gallery-desc{
  color: #f1d895 !important;
  text-shadow: 0 0 8px rgba(0,0,0,.22);
}

/* Flechas del slider */
body.view-inicio .carousel-arrow{
  color: var(--am-gold-mid) !important;
  border-color: var(--am-gold-line) !important;
  background: rgba(7,18,40,.38) !important;
  box-shadow:
    0 0 0 1px rgba(227,178,74,.22),
    0 0 16px rgba(227,178,74,.12) !important;
}
body.view-inicio .carousel-arrow:hover{
  color: var(--am-gold-hi) !important;
  border-color: rgba(247,230,166,.82) !important;
  background: rgba(7,18,40,.52) !important;
  box-shadow:
    0 0 0 1px rgba(247,230,166,.30),
    0 0 20px rgba(227,178,74,.18) !important;
}

/* Marcos / brillo del slider */
body.view-inicio .carousel-track > *{
  border-color: var(--am-gold-line) !important;
  box-shadow:
    0 0 0 1px rgba(227,178,74,.24),
    0 10px 22px rgba(0,0,0,.22) !important;
}
body.view-inicio .carousel-track > *.active,
body.view-inicio .carousel-track > *.current,
body.view-inicio .carousel-track > *.center,
body.view-inicio .carousel-track > *.is-active,
body.view-inicio .carousel-track > *[data-active="true"]{
  border-color: rgba(247,230,166,.86) !important;
  box-shadow:
    0 0 0 1px rgba(247,230,166,.28),
    0 0 28px rgba(227,178,74,.22),
    0 16px 28px rgba(0,0,0,.24) !important;
}

/* Dots del slider */
body.view-inicio .carousel-dots button,
body.view-inicio .carousel-dots .dot{
  background: rgba(227,178,74,.42) !important;
  border-color: rgba(247,230,166,.55) !important;
}
body.view-inicio .carousel-dots button.active,
body.view-inicio .carousel-dots .dot.active,
body.view-inicio .carousel-dots button[aria-current="true"],
body.view-inicio .carousel-dots .dot[aria-current="true"]{
  background: var(--am-gold-hi) !important;
  box-shadow: 0 0 12px rgba(227,178,74,.22) !important;
}

/* Footer visible del inicio: solo acentos */
body.view-inicio .site-footer .footer-col-title,
body.view-inicio .site-footer .footer-link,
body.view-inicio .site-footer .footer-email,
body.view-inicio .site-footer .footer-support-row svg,
body.view-inicio .site-footer .footer-secure-col svg{
  color: var(--am-gold-mid) !important;
}
body.view-inicio .site-footer .social-btn{
  color: var(--am-gold-mid) !important;
  border-color: rgba(227,178,74,.46) !important;
  box-shadow: 0 0 10px rgba(227,178,74,.10) !important;
}
body.view-inicio .site-footer .footer-vdiv,
body.view-inicio .site-footer .copyright-line{
  background: linear-gradient(180deg, transparent 0%, var(--am-gold-mid) 50%, transparent 100%) !important;
  opacity: .72 !important;
}
body.view-inicio .site-footer .footer-brand-tagline,
body.view-inicio .site-footer .footer-support-sub{
  color: #f0d9a0 !important;
}

/* ===== BAJAR FUERTE EL AMARILLO / BLUR DE LA PIRAMIDE ===== */
/* No toca modelos, solo fondos y brillos del home */
body.view-inicio .hero-bg-photo{
  filter: saturate(.82) brightness(.87) contrast(1.03) !important;
  box-shadow: inset 0 0 0 9999px rgba(8,16,33,.06) !important;
}
body.view-inicio .hero-bg-photo::after{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(8,16,33,.05) 0%, rgba(8,16,33,.10) 100%),
    radial-gradient(120% 90% at 62% 18%, rgba(7,18,40,.20) 0%, rgba(7,18,40,.10) 40%, rgba(7,18,40,0) 70%) !important;
}
body.view-inicio .hero-vignette{
  opacity: .58 !important;
}
body.view-inicio .corner-gold-glow,
body.view-inicio .floor-glow{
  opacity: .46 !important;
  filter: saturate(.84) brightness(.88) !important;
}

/* Asegurar que no se mueva nada */
body.view-inicio .hero-content,
body.view-inicio .gallery-stage,
body.view-inicio .carousel-wrapper,
body.view-inicio .gallery-cta-row{
  transform: none !important;
}

/* ANIL-HOME-GOLD-MIN-V11:END */

/* ANIL-ORO-SELECTIVO-V12:START */

/* ===========================================
   1. NAVEGACION: BLANCO / ORO SELECCIONADO
   =========================================== */

/* Estado normal: siempre blanco */
html body .topbar a.nav-link[data-nav]:not(.active),
html body .topbar a.nav-link[data-nav]:not(.active):hover {
    color: #f8f8fa !important;
    -webkit-text-fill-color: #f8f8fa !important;
    background-image: none !important;
    text-shadow: none !important;
}

/* Estado seleccionado: oro */
html body .topbar a.nav-link[data-nav].active {
    color: #f6cf75 !important;
    -webkit-text-fill-color: #f6cf75 !important;
    background-image: none !important;
    text-shadow:
        0 1px 4px rgba(0,0,0,.55),
        0 0 9px rgba(244,188,73,.24) !important;
}

/* Solo la pestaña seleccionada tiene subrayado */
html body .topbar a.nav-link[data-nav]:not(.active)::after {
    content: none !important;
}

html body .topbar a.nav-link[data-nav].active::after {
    content: "" !important;
    position: absolute !important;
    left: -10px !important;
    right: -10px !important;
    bottom: -4px !important;
    height: 2px !important;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #e6ab43 35%,
        #ffe5a3 50%,
        #e6ab43 65%,
        transparent 100%
    ) !important;
    box-shadow: 0 0 10px rgba(237,182,69,.38) !important;
}

/* ===========================================
   2. TITULO CENTRAL: SOLO LAS LETRAS DORADAS
   =========================================== */

html body.view-inicio #inicio
.gallery-title .gold-italic {
    background: linear-gradient(
        180deg,
        #fff8d6 0%,
        #ffe7a6 24%,
        #f2c669 48%,
        #c68a2c 72%,
        #efc576 100%
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;

    text-shadow: none !important;
    -webkit-text-stroke: .15px rgba(64,38,5,.4) !important;

    filter:
        drop-shadow(0 1px 2px rgba(0,0,0,.8))
        drop-shadow(0 0 3px rgba(230,174,69,.2))
        !important;
}

/* ===========================================
   3. MARCOS DEL CARRUSEL: ORO DEFINIDO
   =========================================== */

/* Tarjetas laterales */
html body.view-inicio #inicio
.carousel-track > .carousel-card:not([data-offset="0"]) {
    border-color: rgba(236,188,88,.9) !important;
    box-shadow:
        0 0 0 1px rgba(246,205,116,.28),
        0 0 13px rgba(222,164,54,.32),
        0 10px 24px rgba(0,0,0,.4)
        !important;
}

/* Tarjeta central destacada */
html body.view-inicio #inicio
.carousel-track > .carousel-card[data-offset="0"] {
    border-color: #ffda88 !important;
    box-shadow:
        0 0 0 1px rgba(255,235,178,.5),
        0 0 16px rgba(244,190,76,.65),
        0 0 32px rgba(220,158,46,.32),
        0 14px 30px rgba(0,0,0,.5)
        !important;
}

/* Flechas: dorado coherente */
html body.view-inicio #inicio .carousel-arrow {
    color: #f5d184 !important;
    border-color: #e6b55d !important;
    box-shadow:
        0 0 10px rgba(222,162,50,.28),
        inset 0 0 5px rgba(237,190,96,.08)
        !important;
}

/* ANIL-ORO-SELECTIVO-V12:END */

/* ANIL-MOTION-SMOOTH-V13:START */

/* Fondo alternativo: conserva el encuadre existente */
html body.view-inicio #inicio
.home-viewport > .home-backdrop-alternate {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;

    background-size: inherit !important;
    background-position: inherit !important;
    background-repeat: no-repeat !important;

    opacity: 0 !important;
    pointer-events: none !important;

    transition:
        opacity 1600ms cubic-bezier(.4, 0, .2, 1)
        !important;

    will-change: opacity;
}

html body.view-inicio #inicio
.home-viewport > .home-backdrop-alternate.is-visible {
    opacity: 1 !important;
}

/* Carrusel: desplazamiento 3D progresivo y fluido */
html body.view-inicio #inicio
.carousel-track > .carousel-card {
    transition:
        transform 1050ms cubic-bezier(.22, .61, .36, 1),
        opacity 950ms cubic-bezier(.22, .61, .36, 1),
        filter 950ms ease,
        border-color 850ms ease,
        box-shadow 1050ms ease
        !important;

    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Imagen de cada ficha: suavizar efecto hover */
html body.view-inicio #inicio
.carousel-card img {
    transition:
        transform 1050ms cubic-bezier(.22, .61, .36, 1)
        !important;
}

/* Marco dorado de las tarjetas laterales */
html body.view-inicio #inicio
.carousel-track > .carousel-card:not([data-offset="0"]) {
    border-color: rgba(231, 180, 85, .88) !important;

    box-shadow:
        0 0 0 1px rgba(238, 194, 105, .25),
        0 0 13px rgba(217, 162, 65, .32),
        0 12px 25px rgba(0, 0, 0, .42)
        !important;
}

/* Marco central de oro luminoso, sin halo amarillo excesivo */
html body.view-inicio #inicio
.carousel-track > .carousel-card[data-offset="0"] {
    border-color: #f3d28d !important;

    box-shadow:
        0 0 0 1px rgba(255, 232, 165, .55),
        0 0 20px rgba(230, 172, 68, .48),
        0 0 30px rgba(198, 132, 37, .20),
        0 16px 30px rgba(0, 0, 0, .48)
        !important;
}

/* Accesibilidad: respetar movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    html body.view-inicio #inicio
    .carousel-track > .carousel-card,
    html body.view-inicio #inicio
    .home-viewport > .home-backdrop-alternate {
        transition-duration: 1ms !important;
    }
}

/* ANIL-MOTION-SMOOTH-V13:END */

/* ANIL-INTEGRAL-V15:START */

/* BACKGROUND: DESVANECIDO FANTASMA */
html body.view-inicio #inicio
.home-viewport > .home-backdrop-alternate {
    opacity: 0 !important;
    transition:
        opacity 2000ms cubic-bezier(.42,0,.18,1)
        !important;
    pointer-events: none !important;
    will-change: opacity;
}

html body.view-inicio #inicio
.home-viewport > .home-backdrop-alternate.is-visible {
    opacity: 1 !important;
}

/* NAV: BLANCO POR DEFECTO, ORO SOLO SELECCIONADO */
html body .topbar .nav-link[data-nav]:not(.active) {
    color: #f8f8fa !important;
    -webkit-text-fill-color: #f8f8fa !important;
    text-shadow: none !important;
}

html body .topbar .nav-link[data-nav].active {
    color: #f5cd76 !important;
    -webkit-text-fill-color: #f5cd76 !important;
    text-shadow: 0 0 9px rgba(232,181,80,.22) !important;
}

html body .topbar .nav-link[data-nav]:not(.active)::after {
    content: none !important;
}

html body .topbar .nav-link[data-nav].active::after {
    content: "" !important;
    background:
        linear-gradient(90deg,transparent,#e4b15a,transparent)
        !important;
    box-shadow: 0 0 9px rgba(230,176,74,.32) !important;
}

/* ENCABEZADO CENTRAL */
@media (min-width:1100px) and (min-height:700px) {
    html body.view-inicio #inicio .gallery-header {
        position: relative !important;
        top: -12px !important;
        z-index: 25 !important;
    }

    html body.view-inicio #inicio .gallery-title {
        font-size:
            clamp(2.35rem,5.25vh,3.42rem)
            !important;
        line-height: 1.06 !important;
    }

    html body.view-inicio #inicio .gallery-kicker {
        font-size:
            clamp(.76rem,1.48vh,.95rem)
            !important;
        letter-spacing: .32em !important;
    }

    html body.view-inicio #inicio .gallery-desc {
        font-size:
            clamp(.84rem,1.72vh,1.03rem)
            !important;
        color: #ffffff !important;
        text-shadow:
            0 2px 7px rgba(0,0,0,.85)
            !important;
    }

    /* TARJETAS: AMPLIACION PROPORCIONAL MODERADA */
    html body.view-inicio #inicio
    .carousel-track > .carousel-card {
        width: clamp(290px,47.2vh,424px) !important;
        height: clamp(278px,39.9vh,358px) !important;
        top: calc(50% - 10px) !important;
    }
}

/* TITULO: SOLO PALABRAS QUE YA TIENEN DORADO */
html body.view-inicio #inicio
.gallery-title .gold-italic {
    background: linear-gradient(
        180deg,
        #fff8d9 0%,
        #ffe5a0 24%,
        #efbf59 51%,
        #bf8128 76%,
        #ebbd66 100%
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-shadow: none !important;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.65)) !important;
}

/* CARRUSEL: ANIMACION DE MOVIMIENTO FLUIDO */
html body.view-inicio #inicio
.carousel-track > .carousel-card {
    transition:
        transform 1350ms cubic-bezier(.42,.08,.22,1),
        opacity 1250ms ease-in-out,
        border-color 750ms ease,
        box-shadow 750ms ease
        !important;

    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* MARCOS LATERALES: ORO REAL Y DEFINIDO */
html body.view-inicio #inicio
.carousel-track > .carousel-card:not([data-offset="0"]) {
    border: 2px solid #dba84b !important;
    box-shadow:
        0 0 0 1px rgba(251,213,124,.55),
        0 0 13px rgba(217,155,48,.36),
        0 10px 23px rgba(0,0,0,.42)
        !important;
}

/* MARCO CENTRAL: MAS ORO, SIN HALO AMARILLO GIGANTE */
html body.view-inicio #inicio
.carousel-track > .carousel-card[data-offset="0"] {
    border: 3px solid #f1c166 !important;
    box-shadow:
        0 0 0 1px rgba(255,227,151,.68),
        0 0 14px rgba(233,174,59,.65),
        0 0 27px rgba(203,139,34,.28),
        0 14px 28px rgba(0,0,0,.48)
        !important;
}

/* SUPERIOR DERECHA: QUITAR COMPLETAMENTE LA FICHA */
html body.view-inicio .topbar .topbar-actions {
    position: relative !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    isolation: isolate;
    overflow: visible !important;
}

/* BRUMA OSCURA RADIAL SIN BORDES RECTANGULARES */
html body.view-inicio .topbar .topbar-actions::before {
    content: "" !important;
    position: absolute !important;
    right: -20px !important;
    top: 50% !important;
    width: 195px !important;
    height: 83px !important;
    transform: translateY(-50%) !important;

    background:
        radial-gradient(
            ellipse at 57% 50%,
            rgba(5,13,28,.68) 0%,
            rgba(7,16,31,.43) 40%,
            rgba(7,16,31,.15) 65%,
            transparent 84%
        ) !important;

    border: none !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    filter: blur(14px) !important;

    pointer-events: none !important;
    z-index: -1 !important;
}

/* ICONOS BIEN DEFINIDOS SIN PANEL */
html body.view-inicio .topbar
.topbar-actions .icon-btn {
    position: relative !important;
    z-index: 1 !important;
    color: #f6d48b !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter:
        drop-shadow(0 1px 2px rgba(0,0,0,.82))
        !important;
}

html body.view-inicio .topbar
.topbar-actions .icon-btn svg {
    width: 21px !important;
    height: 21px !important;
    stroke-width: 2.2 !important;
}

html body.view-inicio .topbar
.topbar-actions .icon-btn:hover {
    color: #ffe5a4 !important;
}

/* FOOTER: LOGO VECTORIAL SIN DESENFOQUE */
html body.view-inicio .site-footer
.footer-official-logo {
    height: auto !important;
    object-fit: contain !important;
    image-rendering: auto !important;
    filter:
        drop-shadow(0 1px 1px rgba(0,0,0,.5))
        !important;
}

/* LEMA INFERIOR BLANCO */
html body.view-inicio .site-footer
.footer-brand-tagline {
    color: #ffffff !important;
    text-shadow:
        0 1px 2px rgba(0,0,0,.65)
        !important;
}

/* ACCESIBILIDAD */
@media (prefers-reduced-motion:reduce) {
    html body.view-inicio #inicio
    .carousel-track > .carousel-card,
    html body.view-inicio #inicio
    .home-viewport > .home-backdrop-alternate {
        transition-duration: 1ms !important;
    }
}

/* ANIL-INTEGRAL-V15:END */

/* ANIL-VISUAL-V16:START */

/* =========================================
   1. ENCABEZADO CENTRAL
   ========================================= */

@media (min-width: 1100px) and (min-height: 700px) {

  html body.view-inicio #inicio .gallery-header {
    position: relative !important;
    top: -38px !important;
    z-index: 25 !important;
  }

  html body.view-inicio #inicio .gallery-title {
    font-size: clamp(2.45rem, 5.7vh, 3.55rem) !important;
    line-height: 1.04 !important;
    font-weight: 700 !important;
    letter-spacing: -.012em !important;
    margin-bottom: 5px !important;
  }

  html body.view-inicio #inicio .gallery-kicker {
    font-size: clamp(.76rem, 1.45vh, .94rem) !important;
  }

  html body.view-inicio #inicio .gallery-desc {
    font-size: clamp(.86rem, 1.75vh, 1.05rem) !important;
    color: #ffffff !important;
    text-shadow:
      0 2px 5px rgba(0,0,0,.85) !important;
  }
}

/* Titulo anterior sustituido por la correccion V17. */

/* Emblema central */
html body.view-inicio #inicio
.gallery-lotus-row svg {
  filter:
    drop-shadow(0 1px 2px rgba(0,0,0,.6))
    !important;
}

/* =========================================
   2. MARCOS: ORO METALICO, NO AMARILLO
   ========================================= */

/* Todas las tarjetas */
/* Marcos dorados con resplandor permanente */

html body.view-inicio #inicio .carousel-card {
    border-color: #d5a150 !important;

    box-shadow:
        0 0 0 1px rgba(255,227,159,.66),
        0 0 15px rgba(233,181,85,.65),
        0 0 30px rgba(184,119,35,.36),
        0 12px 26px rgba(0,0,0,.48)
        !important;
}

/* Marco central: glow dorado intenso */
html body.view-inicio #inicio
.carousel-card[data-offset="0"] {
    border-color: #f2cb7d !important;

    box-shadow:
        0 0 0 1px rgba(255,238,186,.94),
        0 0 17px rgba(246,199,110,.88),
        0 0 35px rgba(226,162,61,.67),
        0 0 48px rgba(183,111,28,.34),
        0 16px 34px rgba(0,0,0,.55),
        inset 0 0 10px rgba(244,210,147,.21)
        !important;
}

/* Marcos laterales: mismo oro, menor intensidad */
html body.view-inicio #inicio
.carousel-card[data-offset="-1"],
html body.view-inicio #inicio
.carousel-card[data-offset="1"] {
    border-color: #e2b36a !important;

    box-shadow:
        0 0 0 1px rgba(251,219,157,.72),
        0 0 14px rgba(235,181,87,.69),
        0 0 28px rgba(190,125,40,.43),
        0 12px 26px rgba(0,0,0,.48)
        !important;
}

/* Etiqueta PIEZA DESTACADA */
html body.view-inicio #inicio .featured-ribbon {
  background: linear-gradient(
    180deg,
    #f6e2b0 0%,
    #d7a653 46%,
    #ae762b 100%
  ) !important;

  color: #2a1b0a !important;

  border-bottom:
    1px solid rgba(115,68,21,.46) !important;

  box-shadow:
    0 3px 7px rgba(0,0,0,.3)
    !important;
}

/* =========================================
   3. ICONOS: BRUMA SIN PARCHES
   ========================================= */

/* Eliminar completamente la ficha rectangular */
html body.view-inicio .topbar .topbar-actions {
  position: relative !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;

  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  isolation: isolate !important;
  overflow: visible !important;
}

/* Bruma radial localizada.
   Los bordes se pierden en el fondo. */

html body.view-inicio .topbar
.topbar-actions::before {
  content: "" !important;

  position: absolute !important;
  right: -12px !important;
  top: 50% !important;

  width: 205px !important;
  height: 86px !important;

  transform: translateY(-50%) !important;

  background: radial-gradient(
    ellipse at center,
    rgba(5,13,27,.45) 0%,
    rgba(5,13,27,.27) 35%,
    rgba(5,13,27,.08) 58%,
    transparent 76%
  ) !important;

  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 20%,
    transparent 76%
  ) !important;

  mask-image: radial-gradient(
    ellipse at center,
    black 20%,
    transparent 76%
  ) !important;

  filter: blur(13px) !important;

  border: none !important;
  border-radius: 50% !important;
  box-shadow: none !important;

  pointer-events: none !important;
  z-index: -1 !important;
}

html body.view-inicio .topbar
.topbar-actions::after {
  content: none !important;
  display: none !important;
}

/* Iconos definidos sobre la bruma */
html body.view-inicio .topbar
.topbar-actions .icon-btn {
  color: #e5bc72 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  filter:
    drop-shadow(0 1px 2px rgba(0,0,0,.8))
    !important;
}

html body.view-inicio .topbar
.topbar-actions .icon-btn svg {
  stroke: currentColor !important;
  stroke-width: 2.15 !important;
}

html body.view-inicio .topbar
.topbar-actions .icon-btn:hover {
  color: #f8dfa5 !important;
}

/* =========================================
   4. CORTE VERTICAL DEL BACKGROUND
   ========================================= */

/* Difuminar visualmente la union de la franja
   izquierda con la piramide, sin redimensionar
   las imagenes ni alterar el zoom de los modelos. */

@media (min-width: 1100px) {

  html body.view-inicio #inicio
  .home-viewport::after {
    content: "" !important;

    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;

    width: clamp(185px, 19vw, 365px) !important;
    height: 100% !important;

    background: linear-gradient(
      90deg,
      rgba(5,16,32,.98) 0%,
      rgba(5,16,32,.93) 35%,
      rgba(5,16,32,.70) 55%,
      rgba(5,16,32,.28) 76%,
      transparent 100%
    ) !important;

    pointer-events: none !important;
    z-index: 2 !important;
  }

  /* Mantener las capas existentes.
     Solo suavizar su borde izquierdo. */

  html body.view-inicio #inicio
  .home-backdrop-alternate {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.85) 10%,
      black 17%,
      black 100%
    ) !important;

    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,.85) 10%,
      black 17%,
      black 100%
    ) !important;
  }
}

/* No se alteran las posiciones de modelos,
   la escala del fondo ni el temporizador. */

/* ANIL-V17-FLUIDEZ:START */

/* El contenedor ya no pinta un segundo degradado */
html body.view-inicio #inicio
.gallery-header h2.gallery-title {
    background: none !important;
    background-image: none !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;

    color: #f5cf83 !important;
    -webkit-text-fill-color: #f5cf83 !important;

    filter: none !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

/* Oro IDENTICO para ambas frases */
html body.view-inicio #inicio
.gallery-header h2.gallery-title > span.anil-gallery-gold-part,

html body.view-inicio #inicio
.gallery-header h2.gallery-title > span.gold-italic {

    background-image: linear-gradient(
        180deg,
        #fffbea 0%,
        #f9e4ad 16%,
        #edbe6c 32%,
        #fff2cb 49%,
        #e2aa54 66%,
        #f7da9d 83%,
        #d59b46 100%
    ) !important;

    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;

    background-clip: text !important;
    -webkit-background-clip: text !important;

    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;

    filter:
        drop-shadow(0 2px 2px rgba(0,0,0,.76))
        drop-shadow(0 0 4px rgba(243,191,92,.24))
        !important;

    opacity: 1 !important;
}

/* Animar solo propiedades de composicion.
   Los marcos y su glow se CONSERVAN. */

html body.view-inicio #inicio
.carousel-track > article.carousel-card[data-offset] {

    transition:
        transform 1200ms cubic-bezier(.35,.02,.22,1),
        opacity 1100ms ease-in-out
        !important;

    transition-delay: 0ms !important;

    will-change: transform, opacity !important;
    backface-visibility: hidden !important;
}

/* No renderizar reflejos de tarjetas invisibles */
html body.view-inicio #inicio
.carousel-track > article.carousel-card[data-offset="hidden"] {
    -webkit-box-reflect: unset !important;
}

/* No se modifica el box-shadow ni el border-color.
   Los marcos dorados siguen teniendo su glow. */

/* ANIL-V17-FLUIDEZ:END */
/* ANIL-VISUAL-V16:END */

/* ANIL-V18-ORO-CENTRAL:START */

/* Ajuste fino: SOLO hacer mas oro el bloque central */
html body.view-inicio #inicio .gallery-header .section-emblem,
html body.view-inicio #inicio .gallery-header .section-emblem svg,
html body.view-inicio #inicio .gallery-header .section-emblem img {
    filter:
        brightness(1.08)
        saturate(1.12)
        drop-shadow(0 1px 1px rgba(0,0,0,.55))
        drop-shadow(0 0 7px rgba(246,198,92,.28))
        !important;
}

html body.view-inicio #inicio
.gallery-header h2.gallery-title > span.anil-gallery-gold-part,

html body.view-inicio #inicio
.gallery-header h2.gallery-title > span.gold-italic {

    background-image: linear-gradient(
        180deg,
        #fffdf4 0%,
        #fff4cf 10%,
        #f9df9b 22%,
        #efc46f 34%,
        #fff6d8 48%,
        #f5cd7b 60%,
        #dfa64d 76%,
        #f7dda0 88%,
        #c9852b 100%
    ) !important;

    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 0 !important;

    filter:
        drop-shadow(0 2px 2px rgba(0,0,0,.78))
        drop-shadow(0 0 5px rgba(245,196,88,.22))
        !important;

    text-shadow: none !important;
    opacity: 1 !important;
}

/* NO tocar subtitulo ni frase inferior.
   NO tocar tamanos ni posiciones. */

/* ANIL-V18-ORO-CENTRAL:END */
