/* ==========================================================================
   VJRDEV - ESTILOS ESPECÍFICOS DE LA INVITACIÓN (invitation.css)
   ========================================================================== */

/* 1. ENVELOPE (SOBRE DE ENTRADA)
   ========================================================================== */
.envelope-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--wedding-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  perspective: 1000px;
}

.envelope-wrapper {
  width: 320px;
  height: 220px;
  position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  margin-top: 20px;
}

.envelope-wrapper:hover {
  transform: scale(1.03);
}

.envelope-back {
  width: 100%;
  height: 100%;
  background: #2b2622;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateZ(2px);
}

.envelope-letter {
  width: 90%;
  height: 85%;
  background: #fff8f0;
  border-radius: 4px;
  position: absolute;
  bottom: 5px;
  left: 5%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(0) translateZ(10px);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.envelope-letter h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #8b6f47;
  margin-bottom: 5px;
}

.envelope-letter p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #6e6458;
}

.envelope-letter .wax-stamp-mini {
  width: 30px;
  height: 30px;
  background: #8b263e;
  border-radius: 50%;
  margin-top: 10px;
  opacity: 0.7;
}

.envelope-front {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 160px 110px 160px;
  border-color: transparent transparent #38312b transparent;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  transform: translateZ(20px);
}

.envelope-left {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 110px 0 110px 160px;
  border-color: transparent transparent transparent #3e3730;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  transform: translateZ(20px);
}

.envelope-right {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 110px 160px 110px 0;
  border-color: transparent #3e3730 transparent transparent;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  transform: translateZ(20px);
}

.envelope-flap {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 110px 160px 0 160px;
  border-color: #483f37 transparent transparent transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  transform-origin: top center;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: rotateX(0deg) translateZ(25px);
}

.wax-seal {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 80px;
  left: calc(50% - 30px);
  z-index: 5;
  cursor: pointer;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
  transform: translateZ(30px);
  border-radius: 50%;
}

.wax-seal:hover {
  transform: translateZ(30px) scale(1.1) rotate(5deg);
}

/* Reposicionar sello para sobre tipo libro (lateral) — en la mitad derecha */
.env-style-lateral .wax-seal {
  left: calc(75% - 30px);
  top: 50%;
  transform: translateY(-50%) translateZ(30px);
}
.env-style-lateral .wax-seal:hover {
  transform: translateY(-50%) translateZ(30px) scale(1.1) rotate(5deg);
}

/* Reposicionar sello para sobre tipo funda (slide) — centrado horizontalmente */
.env-style-slide .wax-seal {
  top: 50%;
  left: calc(50% - 30px);
  transform: translateY(-50%) translateZ(30px);
}
.env-style-slide .wax-seal:hover {
  transform: translateY(-50%) translateZ(30px) scale(1.1) rotate(5deg);
}

/* Pétalos de flores / Hojas cayendo */
#petal-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

.envelope-instruction {
  margin-top: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wedding-primary);
  opacity: 0.8;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* 2. PORTADA / HERO
   ========================================================================== */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Solo para iOS: background-attachment:fixed no funciona en Safari/iOS.
   Solución: #hero-fixed-bg con position:fixed confinado con clip-path en el hero. */
@supports (-webkit-touch-callout: none) {
  #hero-fixed-bg {
    display: block !important;
    position: fixed;              /* Fijo a la pantalla */
    top: 0;
    left: 0;
    width: 100%;                  
    height: 100%;                 
    z-index: 0;                   
    background-size: cover;
    background-position: center center;
    pointer-events: none;
  }

  .hero-section {
    background-attachment: scroll !important; 
    background-image: none !important;        
    position: relative;
    overflow: hidden;                         
    clip-path: inset(0);          /* Recorta y confina el fixed al tamaño del hero */
    z-index: 2;
  }
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Paño blanco que se vuelve opaco al final para transicionar al fondo general */
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.40) 40%,
    rgba(255, 255, 255, 0.85) 90%,
    var(--wedding-surface) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 20px;
}

.hero-names {
  font-size: 10rem; /* Aumentado sustancialmente para impacto real en escritorio */
  margin-bottom: 5px;
  color: var(--wedding-primary);
  /* Glow blanco intenso y denso para las iniciales */
  text-shadow: 
    0 0 25px rgba(255, 255, 255, 1),
    0 0 45px rgba(255, 255, 255, 0.9),
    0 0 65px rgba(255, 255, 255, 0.7),
    2px 2px 15px rgba(0, 0, 0, 0.1);
  line-height: 1;
}

.hero-subtitle {
  font-size: 4.5rem; /* Este tamaño te gustó, lo mantengo */
  margin-bottom: 25px;
  font-weight: 300;
  color: var(--wedding-accent);
  /* Glow blanco reforzado para el subtítulo */
  text-shadow: 
    0 0 20px rgba(255, 255, 255, 1),
    0 0 40px rgba(255, 255, 255, 0.9),
    0 0 60px rgba(255, 255, 255, 0.6);
}

.hero-date {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
  color: var(--wedding-text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero-guest-box {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(139, 111, 71, 0.18);
  border-radius: var(--radius-md);
  padding: 15px 25px;
  display: inline-block;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: var(--shadow-sm);
}

.hero-guest-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--wedding-primary);
  margin-bottom: 5px;
}

.hero-guest-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--wedding-text);
}

/* 3. GALERÍA DE FOTOS (KEN BURNS)
   ========================================================================== */
.gallery-section {
  padding: calc(var(--spacing-lg) + 3rem) 0 var(--spacing-lg) 0;
  margin-top: 0;
  background-color: var(--wedding-surface); /* Sólido para evitar que el fondo fijo asome entre secciones */
}

.swiper-container {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

@media (min-width: 992px) {
  .swiper-container {
    height: 650px; /* Más alto en escritorio para mostrar más de la foto y evitar zoom */
  }
}

.swiper-slide {
  overflow: hidden;
  position: relative;
  /* Fondo desenfocado para rellenar espacios en fotos que no son del tamaño del contenedor */
  background-color: var(--wedding-surface);
}

.swiper-slide::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image: var(--slide-bg-image);
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.9);
  opacity: 0.4;
  z-index: 0;
}

.gallery-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Efecto Ken Burns suavizado (solo si se prefiere mantener, pero ahora sobre la foto escalada) */
.swiper-slide-active .gallery-img {
  animation: kenburns 8s ease-out forwards;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); } /* Casi nada de zoom para no perder calidad */
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px var(--spacing-lg) 20px var(--spacing-lg);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
  font-style: italic;
}

/* Dots de navegación */
.swiper-pagination-bullet-active {
  background: var(--wedding-primary) !important;
}

/* 4. ITINERARIO DE EVENTOS
   ========================================================================== */
.itinerary-section {
  padding: var(--spacing-lg) 0;
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-lg) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--wedding-primary) 10%, var(--wedding-primary) 90%, transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
  padding-left: 70px;
  text-align: left;
}

.timeline-icon-box {
  position: absolute;
  left: 15px;
  top: 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wedding-surface);
  border: 1px solid var(--wedding-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wedding-primary);
  z-index: 2;
  font-size: 1.1rem;
}

.timeline-item h4 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.timeline-time {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--wedding-primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-venue {
  font-weight: bold;
  color: var(--wedding-text);
  margin-bottom: 2px;
}

.timeline-address {
  font-size: 0.9rem;
  color: var(--wedding-text-muted);
  margin-bottom: var(--spacing-md);
}

.timeline-actions {
  display: flex;
  gap: 10px;
  margin-top: var(--spacing-sm);
}

.timeline-actions .btn-mini {
  padding: 6px 12px;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

/* 5. MAPA DE UBICACIÓN
   ========================================================================== */
.map-section {
  padding: var(--spacing-lg) 0;
}

.map-container {
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 6. DRESSCODE
   ========================================================================== */
.dresscode-section {
  padding: var(--spacing-lg) 0;
}

.dresscode-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dresscode-colors {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: var(--spacing-lg) 0;
}

.color-swatch {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-md);
  position: relative;
}

.color-swatch::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1px dashed var(--wedding-primary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.color-swatch:hover::after {
  opacity: 0.6;
}

/* Estilo para los colores prohibidos en la invitación (círculo tachado con diagonal roja) */
.color-swatch-avoid {
  position: relative;
  overflow: hidden;
}

.color-swatch-avoid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #dc3545;
  transform: rotate(-45deg);
  transform-origin: center;
  z-index: 2;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.color-swatch-avoid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid #dc3545;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}

/* Soporte para pestañas premium de dresscode */
.dresscode-tabs .btn-outline {
  background: rgba(139, 111, 71, 0.05);
  border: 1px solid rgba(139, 111, 71, 0.2);
  color: var(--wedding-accent);
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.dresscode-tabs .btn-outline:hover {
  background: rgba(139, 111, 71, 0.1);
  border-color: var(--wedding-primary);
}

.dresscode-tabs .btn-outline.active {
  background: var(--wedding-primary);
  border-color: var(--wedding-primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(139, 111, 71, 0.15);
}

.dresscode-reference-img {
  max-width: 250px;
  border-radius: var(--radius-md);
  margin-top: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 576px) {
  .dresscode-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .dresscode-col {
    border-right: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

/* 7. MESA DE REGALOS
   ========================================================================== */
.gifts-section {
  padding: var(--spacing-lg) 0;
}

.gift-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.bank-account-card {
  background: rgba(139, 111, 71, 0.05); /* Color suave de la boda */
  border: 1px solid rgba(139, 111, 71, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center; /* Centrado para elegancia */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bank-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bank-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--wedding-primary);
  font-weight: bold;
}

.account-holder {
  font-size: 0.9rem;
  color: var(--wedding-text-muted);
}

.account-clabe-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.account-clabe {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: var(--wedding-primary);
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 5px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--wedding-primary);
  width: 100%;
  max-width: 280px;
  display: block;
  margin: 0 auto;
  word-wrap: break-word; /* Forzar rotura de palabras si es necesario */
  line-height: 1.2;
}

/* Estilos para los botones de RSVP */
.rsvp-options {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}

.rsvp-option-card {
  flex: 1;
  background: white;
  border: 1px solid rgba(139, 111, 71, 0.2);
  border-radius: var(--radius-md);
  padding: 15px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.rsvp-option-card.selected {
  border-color: var(--wedding-primary);
  background: rgba(139, 111, 71, 0.05);
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.15);
}

.rsvp-option-card i, .rsvp-option-card span:first-child {
  font-size: 1.5rem;
}

.rsvp-option-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wedding-text);
}

.btn-copy-clabe {
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 15px !important;
  display: inline-block;
  margin: var(--spacing-xs) 0;
}

.copy-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--spacing-xs);
}

/* 8. CONFIRMACIÓN DE ASISTENCIA (RSVP)
   ========================================================================== */
.rsvp-section {
  padding: var(--spacing-lg) 0;
}

.rsvp-selection {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--spacing-xl);
}

.rsvp-choice-btn {
  background: white; /* Cambiado a blanco para que resalte */
  border: 1px solid rgba(139, 111, 71, 0.25); /* Borde suave pero visible */
  color: var(--wedding-text);
  border-radius: var(--radius-md);
  padding: 15px 10px;
  flex: 1;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  max-width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06); /* Sombra suave para dar profundidad */
}

.rsvp-choice-btn.selected-yes {
  background: rgba(139, 111, 71, 0.1);
  border-color: var(--wedding-primary);
  border-width: 2px;
  color: var(--wedding-primary);
  box-shadow: 0 6px 15px rgba(139, 111, 71, 0.2);
}

.rsvp-choice-btn.selected-no {
  background: rgba(139, 38, 62, 0.05); /* Tono rojo muy suave */
  border-color: #8b263e;
  border-width: 2px;
  color: #8b263e;
}

.rsvp-seats-container {
  margin-bottom: var(--spacing-lg);
}

.rsvp-seat-selector {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--spacing-sm);
}

.seat-option {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--wedding-text);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.seat-option.selected {
  background: var(--wedding-primary);
  color: #1a1a1a;
  border-color: var(--wedding-primary);
}

/* 9. CUENTA REGRESIVA
   ========================================================================== */
.countdown-section {
  padding: var(--spacing-lg) 0;
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: var(--spacing-lg);
  perspective: 800px;
}

.countdown-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 15px;
  width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.countdown-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.countdown-number {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: var(--font-body);
  color: var(--wedding-primary);
  z-index: 1;
}

.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--wedding-text-muted);
  margin-top: 5px;
}

@keyframes flipCountdownCard {
  0% {
    transform: rotateX(0deg);
  }
  50% {
    transform: rotateX(-90deg);
    opacity: 0.8;
  }
  55% {
    transform: rotateX(90deg);
    opacity: 0.8;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.countdown-card.flip-animate {
  animation: flipCountdownCard 0.4s ease-in-out;
}

/* 10. FOOTER
   ========================================================================== */
.footer-section {
  padding: var(--spacing-xxl) var(--spacing-lg) var(--spacing-xl) var(--spacing-lg);
  background: var(--wedding-surface);
  border-top: 1px solid rgba(139, 111, 71, 0.12);
  text-align: center;
}

#invitation-content {
  display: block;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--wedding-surface);
}

.footer-names {
  font-size: 2.6rem; /* Aumentado ~15% */
  margin-bottom: 8px;
}

.footer-date {
  font-size: 1rem; /* Aumentado ~15% */
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--wedding-text-muted);
  margin-bottom: 35px;
}

.footer-brand {
  font-size: 0.75rem;
  color: var(--wedding-text-muted);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-brand:hover {
  opacity: 1;
  color: var(--wedding-primary);
}

/* 11. EXTRA: POPUPS & REPRODUCTOR MÚSICA SILENCIOSA
   ========================================================================== */
.music-player-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 36px;
  height: 36px;
  background: rgba(26,26,26,0.8);
  border: 1px solid var(--wedding-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--wedding-primary);
  font-size: 0.8rem;
  pointer-events: auto;
  cursor: pointer;
  animation: rotate 6s linear infinite;
  opacity: 0.7;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media(max-width: 500px) {
  .hero-names {
    font-size: 5rem; /* Aumentado drásticamente para móvil */
    text-shadow: 
      0 0 20px rgba(255, 255, 255, 1),
      0 0 40px rgba(255, 255, 255, 0.9),
      0 0 60px rgba(255, 255, 255, 0.7);
  }
  .hero-subtitle {
    font-size: 2.5rem; /* Aumentado para móvil */
    text-shadow: 
      0 0 15px rgba(255, 255, 255, 1),
      0 0 30px rgba(255, 255, 255, 0.9);
  }
  .countdown-container {
    gap: 8px;
  }
  .countdown-card {
    width: 60px;
    padding: 10px 5px;
  }
  .countdown-number {
    font-size: 1.4rem;
  }
  .timeline::before {
    left: 21px;
  }
  .timeline-item {
    padding-left: 50px;
  }
  .timeline-icon-box {
    left: 5px;
  }
}

/* ==========================================================================
   ENVELOPE DESKTOP CUSTOM RESIZING & POSITIONING
   ========================================================================== */
@media (min-width: 768px) {
  .envelope-wrapper {
    width: 600px;
    height: 400px;
    margin-top: 30px;
  }
  .envelope-back {
    border-radius: 8px;
  }
  .envelope-front {
    border-width: 0 300px 200px 300px;
  }
  .envelope-left {
    border-width: 200px 0 200px 300px;
  }
  .envelope-right {
    border-width: 200px 300px 200px 0;
  }
  .envelope-flap {
    border-width: 200px 300px 0 300px;
  }
  .wax-seal {
    width: 80px;
    height: 80px;
    top: 160px;
    left: calc(50% - 40px);
  }
  .envelope-letter {
    padding: 40px;
    border-radius: 8px;
  }
  .envelope-letter h3 {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  .envelope-letter p {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  .envelope-letter .wax-stamp-mini {
    width: 40px;
    height: 40px;
    margin-top: 15px;
  }
}

/* ==========================================================================
   DISEÑOS DE SOBRES PERSONALIZADOS POR PROPUESTA (ELEGANT, OLIVA, MINIMAL, RUSTIC, ROMANTIC)
   ========================================================================== */

/* 1. Elegant (Chocolate & Gold) */
.env-elegant .envelope-back { background: #352e2a; }
.env-elegant .envelope-front { border-color: transparent transparent #413934 transparent; }
.env-elegant .envelope-left { border-color: transparent transparent transparent #4b413c; }
.env-elegant .envelope-right { border-color: transparent #4b413c transparent transparent; }
.env-elegant .envelope-flap { border-color: #554a44 transparent transparent transparent; }
.env-elegant .wax-seal { background: radial-gradient(circle, #f0cf9e, #cfa029); border: 2px solid #b88a16; box-shadow: 0 4px 10px rgba(179,133,21,0.45); }
.env-elegant .wax-seal::after { content: '✨'; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255,255,255,0.9); }

/* 2. Oliva (Sage & Green Olive) */
.env-oliva .envelope-back { background: #d7dcd0; }
.env-oliva .envelope-front { border-color: transparent transparent #c6cdbe transparent; }
.env-oliva .envelope-left { border-color: transparent transparent transparent #b5beaa; }
.env-oliva .envelope-right { border-color: transparent #b5beaa transparent transparent; }
.env-oliva .envelope-flap { border-color: #8c9c7f transparent transparent transparent; }
.env-oliva .wax-seal { background: radial-gradient(circle, #839973, #4a5c3e); border: 2px solid #3c4c31; box-shadow: 0 4px 10px rgba(74,92,62,0.45); }
.env-oliva .wax-seal::after { content: '🍃'; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255,255,255,0.95); }

/* 3. Minimal (Matte Black & Pure White) */
.env-minimal .envelope-back { background: #1c1c1c; }
.env-minimal .envelope-front { border-color: transparent transparent #292929 transparent; }
.env-minimal .envelope-left { border-color: transparent transparent transparent #333333; }
.env-minimal .envelope-right { border-color: transparent #333333 transparent transparent; }
.env-minimal .envelope-flap { border-color: #404040 transparent transparent transparent; }
.env-minimal .wax-seal { background: radial-gradient(circle, #888888, #222222); border: 2px solid #555555; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.env-minimal .wax-seal::after { content: '🔳'; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255,255,255,0.9); }

/* 4. Rustic (Boho Kraft & Terracotta) */
.env-rustic .envelope-back { background: #cbb493; }
.env-rustic .envelope-front { border-color: transparent transparent #c3a985 transparent; }
.env-rustic .envelope-left { border-color: transparent transparent transparent #bfa47d; }
.env-rustic .envelope-right { border-color: transparent #bfa47d transparent transparent; }
.env-rustic .envelope-flap { border-color: #a47e53 transparent transparent transparent; }
.env-rustic .wax-seal { background: radial-gradient(circle, #d98878, #8c4235); border: 2px solid #703328; box-shadow: 0 4px 10px rgba(192,108,92,0.45); }
.env-rustic .wax-seal::after { content: '🌿'; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255,255,255,0.9); }

/* 5. Romantic (Blush Pink & Rose Gold) */
.env-romantic .envelope-back { background: #f7e6e8; }
.env-romantic .envelope-front { border-color: transparent transparent #f2d4d8 transparent; }
.env-romantic .envelope-left { border-color: transparent transparent transparent #ecc4cb; }
.env-romantic .envelope-right { border-color: transparent #ecc4cb transparent transparent; }
.env-romantic .envelope-flap { border-color: #df9ba6 transparent transparent transparent; }
.env-romantic .wax-seal { background: radial-gradient(circle, #fca3b5, #b76e79); border: 2px solid #94535d; box-shadow: 0 4px 10px rgba(183,110,121,0.45); }
.env-romantic .wax-seal::after { content: '❤️'; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255,255,255,0.95); }

/* ==========================================================================
   ESTILOS DE APERTURA DEL SOBRE (env-style-*)
   Cada estilo crea un DISEÑO VISUAL COMPLETAMENTE DIFERENTE del sobre,
   no solo una animación diferente.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CLASSIC (default) — Sobre rombo clásico con solapa triangular superior
      · 4 triángulos que forman un rombo
      · Solapa triangular que se abre hacia atrás (rotateX)
      · Sin cambios estructurales — el base ya lo define
   -------------------------------------------------------------------------- */
/* No se requieren overrides adicionales para classic */


/* --------------------------------------------------------------------------
   2. LATERAL — Sobre tipo libro / folio
      · Sin triángulos internos: sobre rectangular limpio
      · La solapa es la MITAD IZQUIERDA del sobre (portada de libro)
      · Se abre con rotationY desde el borde izquierdo
      · Lomo decorativo vertical en el centro
   -------------------------------------------------------------------------- */

/* Ocultar triángulos internos — diseño rectangular limpio */
.env-style-lateral .envelope-front,
.env-style-lateral .envelope-left,
.env-style-lateral .envelope-right {
  display: none;
}

/* Cuerpo del sobre: aspecto de cuaderno/folio con borde doble */
.env-style-lateral .envelope-back {
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 0 30px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.07),
    0 30px 60px rgba(0,0,0,0.4);
}

/* Lomo decorativo vertical (línea en el centro que simula el pliegue del libro) */
.env-style-lateral .envelope-back::before {
  content: '';
  position: absolute;
  top: 8%;
  left: calc(50% - 1px);
  width: 2px;
  height: 84%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.22) 30%,
    rgba(255,255,255,0.22) 70%,
    transparent 100%
  );
  z-index: 3;
}

/* Solapa = portada izquierda del libro (mitad izquierda, ancho 50%) */
.env-style-lateral .envelope-flap {
  width: 50%;
  height: 100%;
  border: none !important;
  border-width: 0 !important;
  top: 0;
  left: 0;
  border-radius: 6px 0 0 6px;
  transform-origin: left center !important;
  box-shadow: inset -4px 0 12px rgba(0,0,0,0.28), 3px 0 8px rgba(0,0,0,0.35);
}

/* Decoración en la portada: pequeño sello centrado en la mitad izquierda */
.env-style-lateral .envelope-flap::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  opacity: 0.28;
  color: rgba(255,255,255,0.9);
  pointer-events: none;
}

/* Colores de la portada-libro según tema */
.env-style-lateral.env-elegant  .envelope-flap { background: #554a44; }
.env-style-lateral.env-oliva    .envelope-flap { background: #7a8c6e; }
.env-style-lateral.env-minimal  .envelope-flap { background: #3a3a3a; }
.env-style-lateral.env-rustic   .envelope-flap { background: #a47e53; }
.env-style-lateral.env-romantic .envelope-flap { background: #c9848e; }


/* --------------------------------------------------------------------------
   3. SLIDE — Funda moderna minimalista
      · Sin triángulos: sobre rectangular con esquinas redondeadas
      · Solapa = lengüeta rectangular en la parte SUPERIOR (ancho completo)
      · Se desliza hacia arriba y desaparece (y: -120%, opacity: 0)
      · Líneas horizontales decorativas en el cuerpo
   -------------------------------------------------------------------------- */

/* Eliminar todos los triángulos internos */
.env-style-slide .envelope-front,
.env-style-slide .envelope-left,
.env-style-slide .envelope-right {
  display: none;
}

/* Cuerpo: tarjeta rectangular elegante con doble borde */
.env-style-slide .envelope-back {
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow:
    0 0 0 5px rgba(255,255,255,0.04),
    0 0 0 10px rgba(255,255,255,0.02),
    0 30px 70px rgba(0,0,0,0.4);
}

/* Líneas horizontales decorativas en la parte inferior de la funda */
.env-style-slide .envelope-back::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 28px;
  height: 1px;
  background: rgba(255,255,255,0.14);
}
.env-style-slide .envelope-back::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 18px;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* Solapa = lengüeta superior (ocupa el 42% superior, ancho completo) */
.env-style-slide .envelope-flap {
  width: 100%;
  height: 42%;
  border: none !important;
  border-width: 0 !important;
  top: 0;
  left: 0;
  border-radius: 10px 10px 0 0;
  transform-origin: top center !important;
  /* Línea de corte entre lengüeta y cuerpo */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Decoración en la lengüeta: monograma / título */
.env-style-slide .envelope-flap::before {
  content: '❧';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  opacity: 0.35;
  color: rgba(255,255,255,0.85);
  pointer-events: none;
}

/* Colores de la lengüeta superior según tema */
.env-style-slide.env-elegant  .envelope-flap { background: #554a44; }
.env-style-slide.env-oliva    .envelope-flap { background: #7a8c6e; }
.env-style-slide.env-minimal  .envelope-flap { background: #3a3a3a; }
.env-style-slide.env-rustic   .envelope-flap { background: #a47e53; }
.env-style-slide.env-romantic .envelope-flap { background: #c9848e; }


/* --------------------------------------------------------------------------
   4. ZOOM — Sobre medallón circular
      · El sobre es un DISCO CIRCULAR (border-radius: 50%)
      · Triángulos internos ocultos — forma circular perfecta
      · Solapa circular cubre el disco completo
      · Sello de cera grande y prominente en el centro
      · Apertura: zoom out dramático desde el centro del disco
      · Completamente diferente al clásico rombo
   -------------------------------------------------------------------------- */

/* Redimensionar el wrapper para ser un cuadrado (base del círculo) */
.env-style-zoom .envelope-wrapper {
  width: 260px;
  height: 260px;
}

/* Cuerpo circular con anillos concéntricos decorativos */
.env-style-zoom .envelope-back {
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255,255,255,0.08),
    0 0 0 16px rgba(255,255,255,0.05),
    0 0 0 24px rgba(255,255,255,0.03),
    0 30px 70px rgba(0,0,0,0.5);
}

/* Ocultar todos los triángulos del rombo */
.env-style-zoom .envelope-front,
.env-style-zoom .envelope-left,
.env-style-zoom .envelope-right {
  display: none;
}

/* Patrón ornamental en el fondo del círculo */
.env-style-zoom .envelope-back::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  opacity: 0.06;
  color: rgba(255,255,255,0.9);
  pointer-events: none;
}

/* Borde interior decorativo */
.env-style-zoom .envelope-back::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  pointer-events: none;
}

/* Solapa = disco circular completo que hace zoom out */
.env-style-zoom .envelope-flap {
  width: 100%;
  height: 100%;
  border: none !important;
  border-width: 0 !important;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform-origin: center center !important;
}

/* Colores del disco-solapa según tema */
.env-style-zoom.env-elegant  .envelope-flap { background: radial-gradient(circle at 40% 40%, #6a5a50, #352e2a); }
.env-style-zoom.env-oliva    .envelope-flap { background: radial-gradient(circle at 40% 40%, #a0b090, #6b7a5a); }
.env-style-zoom.env-minimal  .envelope-flap { background: radial-gradient(circle at 40% 40%, #505050, #1c1c1c); }
.env-style-zoom.env-rustic   .envelope-flap { background: radial-gradient(circle at 40% 40%, #c9956e, #8b5e3a); }
.env-style-zoom.env-romantic .envelope-flap { background: radial-gradient(circle at 40% 40%, #f0b0bc, #c97888); }

/* Anillo decorativo en la solapa */
.env-style-zoom .envelope-flap::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}

/* Sello de cera más grande y centrado en el medallón */
.env-style-zoom .wax-seal {
  width: 76px;
  height: 76px;
  top: calc(50% - 38px);
  left: calc(50% - 38px);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.55));
}
.env-style-zoom .wax-seal:hover {
  transform: translateZ(30px) scale(1.1) rotate(5deg);
}

/* Carta también circular dentro del medallón */
.env-style-zoom .envelope-letter {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  bottom: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(10px);
  transition: none; /* GSAP controla la transformación */
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.modal-overlay.hidden {
  display: none !important;
  opacity: 0;
}
.modal-container {
  width: 90%;
  max-width: 500px;
  background: var(--wedding-surface);
  border: 1px solid rgba(139, 111, 71, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.3s ease;
}
.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--wedding-text-muted);
  cursor: pointer;
  line-height: 1;
}
.modal-close-btn:hover {
  color: var(--wedding-primary);
}
@keyframes modalFadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Forzar hovers idénticos para botones de Calendario en la invitación */
#btn-add-google-cal:hover, #btn-download-ics-cal:hover {
  background-color: var(--wedding-primary) !important;
  color: #1a1a1a !important;
  border-color: var(--wedding-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(139, 111, 71, 0.3) !important;
}

/* ==========================================================================
   TEMAS DE DISEÑO DE INVITACIÓN - PERSONALIZADOS Y ESTRUCTURALES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tema Clásico Elegant
   -------------------------------------------------------------------------- */
body.theme-elegant {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', sans-serif;
  --radius-md: 8px;
  --radius-lg: 16px;
}
body.theme-elegant .glass-card {
  border: 1px solid rgba(139, 111, 71, 0.25);
  box-shadow: 0 10px 30px rgba(110, 84, 48, 0.05);
}

/* --------------------------------------------------------------------------
   2. Tema Oliva Boda Néctar (Orgánico/Botánico)
   -------------------------------------------------------------------------- */
body.theme-oliva {
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lora', serif;
  --radius-md: 20px;
  --radius-lg: 32px;
}
body.theme-oliva .glass-card {
  border: 1px solid rgba(74, 93, 50, 0.18);
  box-shadow: 0 12px 36px rgba(74, 93, 50, 0.06);
  background: rgba(252, 251, 250, 0.95);
}
/* Estilizaciones de títulos y acentos del tema Oliva */
body.theme-oliva h1, 
body.theme-oliva h2, 
body.theme-oliva h3, 
body.theme-oliva .script-text {
  font-style: italic;
  font-weight: 500;
  letter-spacing: 1px;
}
/* Cuenta regresiva en círculos perfectos */
body.theme-oliva .countdown-card {
  border-radius: 50% !important;
  width: 85px !important;
  height: 85px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(74, 93, 50, 0.3) !important;
  background: rgba(252, 251, 250, 0.9) !important;
  padding: 0 !important;
}
body.theme-oliva .countdown-number {
  font-size: 1.6rem !important;
  line-height: 1 !important;
}

/* --------------------------------------------------------------------------
   3. Tema Minimalista Moderno (Limpio, Recto y Estructura Horizontal)
   -------------------------------------------------------------------------- */
body.theme-minimal {
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-md: 0px; /* Sin bordes redondeados, moderno e industrial */
  --radius-lg: 0px;
}
body.theme-minimal .glass-card {
  border: 1px solid var(--wedding-primary);
  box-shadow: 6px 6px 0px rgba(17, 17, 17, 0.08); /* Sombra plana geométrica */
  background: #ffffff;
}
body.theme-minimal .divider-ornament .divider-dot {
  font-size: 0.8rem;
  content: "■";
}
body.theme-minimal .divider-line {
  background-color: var(--wedding-primary);
}
/* Cuenta regresiva completamente cuadrada */
body.theme-minimal .countdown-card {
  border-radius: 0px !important;
  border: 1px solid var(--wedding-primary) !important;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1) !important;
  background: #ffffff !important;
}
/* ESTRUCTURA HORIZONTAL DEL ITINERARIO */
body.theme-minimal .timeline {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 20px !important;
  max-width: 1000px !important;
  padding: var(--spacing-md) 0 !important;
}
body.theme-minimal .timeline::before {
  display: none !important; /* Ocultar la línea vertical de tiempo */
}
body.theme-minimal .timeline-item {
  width: 100% !important;
  margin: 0 !important;
  padding: 25px 20px !important;
  border: 1px solid var(--wedding-primary) !important;
  background: #ffffff !important;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.05) !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
body.theme-minimal .timeline-item::after {
  display: none !important; /* Ocultar círculo conector */
}
body.theme-minimal .timeline-icon-box {
  position: static !important;
  margin-bottom: 12px !important;
  border-radius: 0px !important;
  border: 1px solid var(--wedding-primary) !important;
  background: #ffffff !important;
  color: var(--wedding-primary) !important;
  transform: none !important;
}
body.theme-minimal .timeline-actions {
  justify-content: center !important;
  width: 100% !important;
}

/* --------------------------------------------------------------------------
   4. Tema Rústico Boho (Cálido y Rústico)
   -------------------------------------------------------------------------- */
body.theme-rustic {
  --font-display: 'Bitter', serif;
  --font-body: 'Lato', sans-serif;
  --radius-md: 10px;
  --radius-lg: 20px;
}
body.theme-rustic .glass-card {
  border: 1px solid rgba(192, 108, 92, 0.25);
  box-shadow: 0 10px 25px rgba(60, 42, 37, 0.07);
  background: rgba(250, 246, 240, 0.96);
}
body.theme-rustic .divider-dot {
  font-size: 1.3rem;
  color: var(--wedding-primary);
}
/* Detalles rústicos en la línea de tiempo */
body.theme-rustic .timeline::before {
  background: var(--wedding-primary) !important;
}
body.theme-rustic .timeline-item {
  border: 1px dashed rgba(192, 108, 92, 0.4) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  padding: 20px 20px 20px 70px !important;
}
body.theme-rustic .timeline-icon-box {
  background: var(--wedding-primary) !important;
  color: #fff !important;
  border-radius: 4px !important; /* Iconos semi-cuadrados rústicos */
}

/* --------------------------------------------------------------------------
   5. Tema Romántico Blush (Rosa y curvas suaves)
   -------------------------------------------------------------------------- */
body.theme-romantic {
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --radius-md: 25px;
  --radius-lg: 40px;
}
body.theme-romantic .glass-card {
  border: 1px solid rgba(183, 110, 121, 0.2);
  box-shadow: 0 15px 40px rgba(183, 110, 121, 0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.99), rgba(250,241,242,0.99));
}
body.theme-romantic .script-text {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2rem;
  letter-spacing: 0px;
}
/* Cuenta regresiva en óvalos románticos */
body.theme-romantic .countdown-card {
  border-radius: 35px 10px 35px 10px !important; /* Forma asimétrica tipo pétalo */
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(183, 110, 121, 0.3) !important;
  box-shadow: 0 8px 20px rgba(183, 110, 121, 0.08) !important;
}
body.theme-romantic .timeline-item {
  border-radius: var(--radius-md) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(183, 110, 121, 0.15) !important;
  padding: 20px 20px 20px 70px !important;
}
body.theme-romantic .timeline-icon-box {
  background: linear-gradient(135deg, var(--wedding-primary), var(--wedding-accent)) !important;
  color: #fff !important;
  border-radius: 50% !important;
}

/* ==========================================================================
   ESTILOS DE SWATCHES DE COLOR DE DRESSCODE POR TEMA
   ========================================================================== */

/* 1. Elegant (Círculos clásicos con borde fino) */
body.theme-elegant .color-swatch {
  border-radius: 50% !important;
  border: 1px solid rgba(139, 111, 71, 0.35) !important;
}

/* 2. Oliva (Gota botánica girada) */
body.theme-oliva .color-swatch {
  border-radius: 50% 0 50% 50% !important;
  transform: rotate(45deg);
  border: 1px solid rgba(74, 93, 50, 0.25) !important;
  box-shadow: 2px 2px 8px rgba(74, 93, 50, 0.12) !important;
}

/* 3. Minimal (Cuadrados minimalistas marcados) */
body.theme-minimal .color-swatch {
  border-radius: 0px !important;
  border: 1px solid var(--wedding-primary) !important;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.08) !important;
}

/* 4. Rustic (Bordes redondeados de costura) */
body.theme-rustic .color-swatch {
  border-radius: 8px !important;
  border: 1.5px dashed rgba(192, 108, 92, 0.45) !important;
}

/* 5. Romantic (Pétalo de flor romántico) */
body.theme-romantic .color-swatch {
  border-radius: 50% 50% 50% 0 !important;
  transform: rotate(-45deg);
  border: 1px solid rgba(183, 110, 121, 0.25) !important;
  box-shadow: 2px 2px 8px rgba(183, 110, 121, 0.1) !important;
}



