:root {
    --color-primario: #2c3e50;
    --color-secundario: #e74c3c;
    --gris-claro: #f8f9fa;
    --sombra-suave: 0 4px 12px rgba(0, 0, 0, 0.1);
    --sombra-media: 0 8px 24px rgba(0, 0, 0, 0.15);
    --sombra-fuerte: 0 12px 36px rgba(0, 0, 0, 0.2);
    --transicion-rapida: all 0.2s ease;
    --transicion-media: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transicion-lenta: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --borde-redondeado: 16px;
    --borde-redondeado-pequeno: 8px;
}

/* Reset y estilos base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* Tipografía mejorada */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}


/* Botón flotante mejorado */
.floating-want-btn {
    position: absolute;
    top: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: var(--sombra-media);
    z-index: 3;
    transition: var(--transicion-media);
    border: 2px solid white;
    opacity: 0.9;
    transform: translateY(0);
	
}
.floating-want-btn i {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.floating-want-btn:hover i {
    transform: scale(1.2) rotate(15deg);
}
/* Animación de latido */
@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}
.floating-want-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: var(--sombra-fuerte);
}

/* Promo banner mejorado */
.promo-banner {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: var(--borde-redondeado);
    margin: 30px auto;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--sombra-suave);
}

.promo-item {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--borde-redondeado);
    padding: 15px 25px;
    min-width: 220px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion-media);
    flex: 1;
    min-width: 200px;
}

.promo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
    background: rgba(255, 255, 255, 0.9);
}

.emoji {
    font-size: 2rem;
    line-height: 1;
    min-width: 40px;
    text-align: center;
}

.text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primario);
}

.text small {
    font-weight: 400;
    font-size: 0.8rem;
    color: #777;
    display: block;
    margin-top: 4px;
}

/* Promo badge mejorado */
.promo-badge.star {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #FFC107, #FF5722, #FF9800, #FFC107);
    background-size: 300% 300%;
    color: #111;
    clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--sombra-media);
    animation: pulse 1.5s infinite, colorShift 6s ease infinite;
    font-family: 'Arial Black', Arial, sans-serif;
    z-index: 2;
    transition: var(--transicion-media);
}

.promo-badge.star:hover {
    transform: rotate(15deg) scale(1.1);
}

.promo-badge.star span {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    transform: translateY(-5px);
}

.promo-badge.star span .oferta {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.promo-badge.star span .precio {
    font-size: 1.1rem;
    font-weight: 900;
    margin-top: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Layout de productos */
.magazine-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: var(--borde-redondeado);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion-media);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--sombra-fuerte);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 480px;
    cursor: zoom-in;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicion-lenta);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    will-change: opacity;
}

.product-image.active {
    opacity: 1;
}

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

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-primario);
    position: relative;
    display: inline-block;
}

.product-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-secundario);
    transition: var(--transicion-media);
}

.product-card:hover .product-title::after {
    width: 70px;
}

/* Variantes y chips */
.variants-section {
    margin-top: 15px;
}

.variants-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.variants-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.size-chip {
    padding: 6px 12px;
    background: var(--gris-claro);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
    transition: var(--transicion-rapida);
}

.size-chip:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Chips de color mejorados */
.color-chip {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #f8f8f8;
    box-shadow: var(--sombra-suave);
    display: inline-block;
    margin: 0 3px;
    transition: var(--transicion-media);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

.multi-color-chip {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #f8f8f8;
    box-shadow: var(--sombra-suave);
    display: inline-block;
    margin: 0 3px;
    transition: var(--transicion-media);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}

.color-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transform-origin: center;
}

.color-chip:hover, .multi-color-chip:hover {
    transform: scale(1.3);
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.color-chip::after, .multi-color-chip::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: var(--borde-redondeado-pequeno);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transicion-rapida);
    margin-bottom: 8px;
}

.color-chip:hover::after, .multi-color-chip:hover::after {
    opacity: 1;
}

/* Controles de imagen */
.photo-count {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
    backdrop-filter: blur(2px);
}

.image-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.image-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transicion-rapida);
    will-change: transform, background;
}

.image-control:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.8);
}

.image-control.active {
    background: white;
    transform: scale(1.3);
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    color: #999;
    font-size: 1.1rem;
}

/* Lightbox mejorado */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
    transition: opacity 0.5s ease;
}

.lightbox.show {
    opacity: 1;
    display: flex;
}
.lightbox.active {
    opacity: 1;
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: row;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: var(--borde-redondeado);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#lightbox-img {
    max-height: 80vh;
    max-width: 60%;
    object-fit: contain;
    transition: transform 0.3s ease;
    touch-action: none;
    transform-origin: center center;
    background-color: #f8f8f8;
}

.lightbox-description-container {
    max-width: 40%;
    padding: 30px;
    overflow-y: auto;
    background: white;
}

.lightbox-product-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.lightbox-product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secundario);
    margin-bottom: 15px;
}

.lightbox-product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-top: 15px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: var(--transicion-media);
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    z-index: 1;
}

.lightbox-prev, .lightbox-next {
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicion-media);
    opacity: 0.7;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    opacity: 1;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    backdrop-filter: blur(2px);
}

.floating-whatsapp-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: var(--sombra-media);
    z-index: 2;
    transition: var(--transicion-media);
    border: none;
}

.floating-whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-icons a {
    font-size: 1.5rem;
    color: #555;
    background: white;
    padding: 12px;
    border-radius: 50%;
    text-align: center;
	    text-decoration: none !important;

    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion-media);
}

.social-icons a:hover {
    transform: scale(1.15);
    color: white;
}

.social-icons .whatsapp:hover { background: #25D366; }
.social-icons .facebook:hover { background: #1877F2; }
.social-icons .instagram:hover { 
    background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5);
}
.social-icons .tiktok:hover { background: #000; }

/* Fondo animado */
.nature-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #a8ffcf 0%, #fe8dff 100%);
    overflow: hidden;
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0.3;
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 15s infinite linear;
    will-change: transform;
}

/* Animaciones */
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

@keyframes colorShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes colorChange {
    0% { 
        filter: 
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1))
            brightness(1.1)
            saturate(1.8);
        opacity: 0.95;
    }
    20% { 
        filter: 
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
            sepia(0.5) 
            saturate(2.5) 
            hue-rotate(30deg)
            brightness(1.15)
            contrast(0.9);
    }
    40% { 
        filter: 
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4))
            sepia(0.4) 
            saturate(2.8) 
            hue-rotate(120deg)
            brightness(1.18)
            contrast(0.85);
    }
    60% { 
        filter: 
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))
            sepia(0.3) 
            saturate(3) 
            hue-rotate(210deg)
            brightness(1.2)
            contrast(0.8);
    }
    80% { 
        filter: 
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))
            sepia(0.2) 
            saturate(3.2) 
            hue-rotate(300deg)
            brightness(1.22)
            contrast(0.75);
    }
    100% { 
        filter: 
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
            brightness(1.1)
            saturate(1.8);
    }
}

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

@keyframes floatLogo {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateY(5deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .magazine-layout {
        gap: 25px;
        padding: 0 20px;
    }
    
    .product-image-container {
        height: 340px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (max-width: 768px) {
    .logo-pastel {
        height: 60px;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .promo-banner {
        gap: 12px;
        padding: 15px;
    }
    
    .promo-item {
        padding: 10px 15px;
        min-width: 160px;
    }
    
    .magazine-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .product-image-container {
        height: 300px;
    }
    
    .lightbox-content {
        flex-direction: column;
        max-width: 95%;
        max-height: 95%;
    }
    
    #lightbox-img {
        max-width: 100%;
        max-height: 50vh;
    }
    
    .lightbox-description-container {
        max-width: 100%;
        margin-left: 0;
        padding: 20px;
        max-height: 40vh;
    }
    
    .lightbox-prev, .lightbox-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-pastel {
        height: 50px;
    }
    
    .promo-banner {
        flex-direction: column;
        gap: 8px;
    }
    
    .promo-item {
        width: 100%;
        min-width: auto;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .floating-want-btn {
        width: 50px;
        height: 50px;
        font-size: 0.8rem;
    }
    
    .promo-badge.star {
        width: 60px;
        height: 60px;
    }
}
/* Estilos Swiper */
.swiper-container {
  position: relative;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  opacity: 1 !important; /* Fuerza visibilidad */
  transform: none !important; /* Elimina transformaciones conflictivas */
}


/* Paginación personalizada */
.swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: white;
  transform: scale(1.2);
}

/* Ajustes para mantener tus elementos existentes */
.floating-want-btn,
.promo-badge,
.photo-count {
  position: absolute;
  z-index: 3; /* Asegura que estén sobre el Swiper */
}

/* Añade a tu product-card */
.product-card.hot-sale-item {
  position: relative;
  overflow: hidden;
}

.product-card.hot-sale-item::before {
  content: "HOT SALE";
  position: absolute;
  top: 15px;
  right: -30px;
  background: #FF4757;
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hot-sale-confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%23FF4757"/></svg>');
  background-size: 350px 350px, 335px 335px;
  animation: confettiMove 10s linear infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 0.1;
}

@keyframes confettiMove {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 1000px 1000px, 500px 500px; }
}

.hot-sale-banner {
  position: relative;
  background: linear-gradient(135deg, #ff5e57, #ff884d);
  padding: 40px 20px;
  text-align: center;
  color: white;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 3rem;
  letter-spacing: 3px;
  overflow: hidden;
  z-index: 5;
  border-radius: var(--borde-redondeado);
  margin: 40px auto 20px;
  max-width: 1200px;
  box-shadow: var(--sombra-fuerte);
  animation: pulseGlow 2s infinite ease-in-out;
}

.hot-sale-text {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hot-sale-fire {
  position: absolute;
  top: -40px;
  left: 20px;
  width: 80px;
  height: 80px;
  background-image: url('🔥'); /* puedes reemplazar por una imagen real */
  background-size: contain;
  background-repeat: no-repeat;
  animation: flicker 1s infinite;
  z-index: 1;
  filter: drop-shadow(0 0 10px #ff4500);
}
.hot-sale-fire.right {
  left: auto;
  right: 20px;
  animation-delay: 0.2s;
}

/* Animaciones */
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.1) rotate(3deg); opacity: 0.8; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 25px rgba(255, 87, 34, 0.5); }
  50% { box-shadow: 0 0 45px rgba(255, 87, 34, 0.9); }
}

/* Estilos para el nuevo header */


/* ========================= */
/*         HEADER            */
/* ========================= */

/* Contenedor principal del header */
.header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* Top header con marquee */
.top-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: var(--sombra-suave);
    padding: 10px 0;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Logo */
.logo-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-pastel {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease, filter 0.4s ease;
    border-radius: 12px;
}

.logo-pastel:hover {
    transform: scale(1.05);
}


.desktop-menu {
    display: none; /* Por defecto, oculto para móviles */
    gap: 20px;
}

.menu-item-desktop {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primario);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--borde-redondeado-pequeno);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-item-desktop:hover {
    background-color: var(--color-primario);
    color: white;
}

.sandwich-btn {
    display: none; /* Por defecto, oculto para escritorio */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
    z-index: 1001;
}
:root {
    --color-primario: #2c3e50;
    --color-secundario: #e74c3c;
    --gris-claro: #f8f9fa;
    --sombra-suave: 0 4px 12px rgba(0, 0, 0, 0.1);
    --sombra-media: 0 8px 24px rgba(0, 0, 0, 0.15);
    --sombra-fuerte: 0 12px 36px rgba(0, 0, 0, 0.2);
    --transicion-rapida: all 0.2s ease;
    --transicion-media: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transicion-lenta: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --borde-redondeado: 16px;
    --borde-redondeado-pequeno: 8px;
}

/* Reset y estilos base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
    background-color: #f8f9fa;
}

h1, h2, h3 {
    color: var(--color-primario);
}

/* ------------------------------------------------------------------- */
/* ENCABEZADO Y MENÚ DE ESCRITORIO */
/* ------------------------------------------------------------------- */
.top-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: var(--sombra-suave);
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-pastel {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo-pastel:hover {
    transform: scale(1.05);
}


.desktop-menu {
    display: none; /* Por defecto, oculto para móviles */
    gap: 20px;
}

.menu-item-desktop {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primario);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--borde-redondeado-pequeno);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-item-desktop:hover {
    background-color: var(--color-primario);
    color: white;
}

/* ------------------------------------------------------------------- */
/* MENÚ CINEMÁTICO (SOLO PARA MÓVILES) Y BOTÓN SÁNDWICH */
/* ------------------------------------------------------------------- */

.sandwich-btn {
    display: none; /* Por defecto, oculto para escritorio */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.sandwich-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-primario);
    transition: all 0.3s ease;
}

.sandwich-btn:hover {
    transform: scale(1.1);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.4s ease-in-out, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0s 0.4s;
    /* Ajustes para centrar el contenido y evitar desbordes */
    overflow-y: auto;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.4s ease-in-out, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0s;
}

.menu-container {
    text-align: center;
    padding: 20px;
    /* Nuevo: Centrado y scroll */
    max-height: 100vh;
    overflow-y: auto;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
}

.menu-item {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primario);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    letter-spacing: 2px;
}

.menu-item:hover {
    color: var(--color-secundario);
    transform: translateX(10px);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--color-primario);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1002;
    padding: 10px;
}

.close-btn:hover {
    transform: rotate(90deg);
}

/* ------------------------------------------------------------------- */
/* MEDIA QUERIES (Reglas de visualización) */
/* ------------------------------------------------------------------- */

@media (min-width: 768px) {
    .sandwich-btn {
        display: none;
    }
    
    .desktop-menu {
        display: flex;
    }

    .top-header {
        justify-content: space-between;
    }
    
    .menu-overlay {
        display: none;
    }
}

@media (max-width: 767px) {
    .sandwich-btn {
        display: flex;
    }
    
    .desktop-menu {
        display: none;
    }
}

/* Animación del marquee */
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Accesibilidad: reducir animación si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation: none;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .top-header {
        background: #e8f5e9;
    }
}

/* Estilos para el slider de productos destacados */
.featured-products-slider {
    padding: 20px 0;
    position: relative;
}

.slider-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    position: relative;
}

.slider-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    margin: 10px auto 0;
}

.featured-swiper {
    padding: 0 40px;
}

.featured-slide {
    padding: 10px;
    transition: transform 0.3s ease;
}

.featured-slide:hover {
    transform: translateY(-5px);
}

.featured-product {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-product:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.featured-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.featured-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-info h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.featured-price {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 16px;
}

.swiper-button-next, .swiper-button-prev {
    color: #ff6b6b !important;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
    }
    
    .logo-pastel {
        margin-bottom: 15px;
    }
    
    .promo-banner {
        margin: 0;
        width: 100%;
    }
    
    .marquee-content span {
        margin: 0 20px;
        font-size: 12px;
		
    }
    
    .featured-swiper {
        padding: 0 20px;
    }
    
    .featured-image {
        height: 120px;
    }
}

/* stylescat.css - Añadir estas reglas al final */

/* Carrito Flotante */
.carrito-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transition: all 0.3s ease;
}

.carrito-flotante:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.carrito-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #333;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Sidebar del Carrito */
.carrito-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.carrito-sidebar.abierto {
    right: 0;
}

.carrito-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrito-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #333;
}

.close-carrito {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.carrito-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.carrito-vacio {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.carrito-vacio i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ddd;
}

.carrito-vacio p {
    margin-bottom: 20px;
}

.btn-seguir-comprando {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-seguir-comprando:hover {
    background: #ff5252;
}

.carrito-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.carrito-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.item-imagen {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

.item-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-imagen .no-image {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #999;
    font-size: 0.8rem;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    margin: 0 0 5px;
    font-size: 0.95rem;
    color: #333;
}

.item-variantes {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.color-chip {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid #eee;
}

.talle {
    font-size: 0.8rem;
    color: #666;
}

.item-precio {
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 8px;
}

.item-cantidad {
    display: flex;
    align-items: center;
}

.cantidad-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    color: #666;
}

.cantidad-btn.menos {
    border-radius: 4px 0 0 4px;
}

.cantidad-btn.mas {
    border-radius: 0 4px 4px 0;
}

.cantidad {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.eliminar-item {
    background: none;
    border: none;
    color: #999;
    margin-left: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.eliminar-item:hover {
    color: #ff6b6b;
}

.carrito-resumen {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.resumen-linea {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.resumen-linea.envio {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.resumen-linea.total {
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-finalizar-compra {
    width: 100%;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-finalizar-compra:hover {
    background: #ff5252;
}

/* Checkout */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkout-header h1 {
    margin: 0;
    color: #333;
}

.seguir-comprando {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
}

.seguir-comprando:hover {
    text-decoration: underline;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.checkout-form h2, .checkout-resumen h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.5rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-error ul {
    margin: 0;
    padding-left: 20px;
}

.resumen-items {
    margin-bottom: 20px;
}

.resumen-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.resumen-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.resumen-item .item-imagen {
    width: 70px;
    height: 70px;
    margin-right: 15px;
    flex-shrink: 0;
}

.resumen-item .item-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.resumen-item .item-info h4 {
    margin: 0 0 5px;
    font-size: 0.95rem;
}

.resumen-item .item-variantes {
    margin-bottom: 5px;
}

.resumen-item .item-cantidad-precio {
    font-size: 0.9rem;
    color: #666;
}

.resumen-item .precio {
    font-weight: bold;
    color: #333;
}

.resumen-totales {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.total-linea {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-linea.total {
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.btn-confirmar-compra {
    width: 100%;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirmar-compra:hover {
    background: #ff5252;
}

.metodos-pago {
    margin-top: 20px;
}

.metodos-pago h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #555;
}

.metodos-icons {
    display: flex;
    gap: 10px;
}

.metodos-icons i {
    font-size: 1.8rem;
    color: #666;
}

/* Confirmación */
.confirmacion-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

.confirmacion-header {
    text-align: center;
    margin-bottom: 40px;
}

.confirmacion-header i {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 15px;
}

.confirmacion-header h1 {
    margin: 0 0 10px;
    color: #333;
}

.confirmacion-header p {
    color: #666;
    font-size: 1.1rem;
}

.confirmacion-detalles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.detalle-orden, .detalle-envio {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detalle-orden h2, .detalle-envio h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.3rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.orden-info p, .envio-info p {
    margin: 0 0 10px;
    color: #555;
}

.orden-items {
    margin-top: 20px;
}

.orden-item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.orden-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.item-nombre {
    flex: 0 0 100%;
    font-weight: 500;
    margin-bottom: 5px;
}

.item-variante {
    font-size: 0.9rem;
    color: #666;
    margin-right: 15px;
}

.item-cantidad {
    font-size: 0.9rem;
    color: #333;
}

.envio-estado {
    margin-top: 30px;
}

.envio-estado h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.estado-progreso {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.estado-progreso:before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.estado-paso {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}

.paso-icono {
    width: 30px;
    height: 30px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #999;
    font-weight: bold;
}

.paso-texto {
    font-size: 0.8rem;
    color: #999;
}

.estado-paso.activo .paso-icono {
    background: #4caf50;
    color: white;
}

.estado-paso.activo .paso-texto {
    color: #333;
    font-weight: 500;
}

.confirmacion-acciones {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-volver, .btn-contactar {
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-volver {
    background: white;
    color: #333;
    border: 1px solid #ddd;
}

.btn-volver:hover {
    background: #f5f5f5;
}

.btn-contactar {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-contactar:hover {
    background: #128C7E;
}

/* Responsive */
@media (max-width: 768px) {
    .carrito-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .confirmacion-detalles {
        grid-template-columns: 1fr;
    }
    
    .confirmacion-acciones {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-volver, .btn-contactar {
        width: 100%;
        text-align: center;
    }
}
// CSS para notificación

/* Carrito Flotante */
.carrito-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1999;
    transition: all 0.3s ease;
}

.carrito-flotante:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.carrito-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #333;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Sidebar del Carrito */
.carrito-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.carrito-sidebar.abierto {
    right: 0;
}

.carrito-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrito-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #333;
}

.close-carrito {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.carrito-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.carrito-vacio {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.carrito-vacio i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ddd;
}

.carrito-vacio p {
    margin-bottom: 20px;
}

.btn-seguir-comprando {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-seguir-comprando:hover {
    background: #ff5252;
}

.carrito-resumen {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.resumen-linea {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.resumen-linea.envio {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.resumen-linea.total {
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-finalizar-compra {
    width: 100%;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-finalizar-compra:hover {
    background: #ff5252;
}

/* Notificación */
.notificacion-carrito {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notificacion-carrito.mostrar {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .carrito-sidebar {
        width: 100%;
        right: -100%;
    }
}
.variante-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    font-size: 16px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.variante-select:focus {
    border-color: #6c5ce7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.swal2-popup .swal2-content {
    text-align: left !important;
}

@keyframes nyanSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Estilo para la notificación sobre el gif */
.swal2-popup.swal2-toast {
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border: 2px solid #ffffff;
    z-index: 10001 !important;
}

/* En tu archivo CSS */
.variantes-container {
    display: grid;
    gap: 10px;
    max-height: 60vh;
    overflow-y: auto;
}

.variante-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.variante-option:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.variante-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 10px;
}

.color {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.talle {
    font-weight: 600;
    color: #333;
}
/* Estilos para el botón de agregar al carrito */
.btn-add-to-cart {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #51c02b;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--sombra-media);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicion-media);
    z-index: 3;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
	border: 2px solid white;

}

.btn-add-to-cart i {
    transition: transform 0.3s ease;
}

.btn-add-to-cart:hover {
    background: #FFC300;
	color: #1f8032;

}

.btn-add-to-cart:hover i {
    transform: scale(1.2);
}

/* Ocultar texto en móviles */
@media (max-width: 768px) {
    .btn-add-to-cart span {
        display: none;
    }
    .btn-add-to-cart i {
        font-size: 1.2rem;
    }
}



@keyframes carritoEstela {
  0% {
    box-shadow: 0 0 0 rgba(0, 200, 255, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.7);
    transform: scale(1.3);
  }
  100% {
    box-shadow: 0 0 0 rgba(0, 200, 255, 0);
    transform: scale(1);
  }
}



@keyframes badgeBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(2.7);
    }
    100% {
        transform: scale(1);
    }
}

.carrito-animado {
    animation: carritoEstela 3.6s ease;
	
}

.badge-animado {
    animation: badgeBounce 2.4s ease;
}

/* Añadimos esta animación */
@keyframes carritoEntraEnBadge {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  60% {
    transform: translate(10px, -10px) scale(0.4);
    opacity: 0.5;
  }
  100% {
    transform: translate(10px, -10px) scale(0);
    opacity: 0;
  }
}

.carrito-entra {
    animation: carritoEntraEnBadge 0.6s ease forwards;
}


.viewers-counter {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #111;
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
}
.viewers-icon {
    margin-right: 8px;
}
.combo-contenedor {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff66c4, #ffcc70);
    padding: 30px 40px;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    animation: scaleUp 0.5s ease-out;
    overflow: hidden;
}

.combo-titulo {
    font-size: 28px;
    color: white;
    text-shadow: 1px 1px 3px black;
    animation: pop 0.6s ease-in-out;
    text-align: center;
    margin: 0 0 10px;
}

.combo-descripcion {
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

@keyframes pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes scaleUp {
    0% { transform: translateX(-50%) scale(0.5); opacity: 0; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

.combo-particulas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: visible;
}
.combo-particula {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.8;
    animation: flotar 1s ease-out forwards;
}

@keyframes flotar {
    to {
        transform: translateY(-100px) translateX(var(--desvio));
        opacity: 0;
    }
}
.promo-cantidad-banner {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    background: #00c853;
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}
.promo-cantidad-banner.visible {
    opacity: 1;
}
.promo-cantidad-animacion {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 167, 69, 0.2); /* verde suave */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.promo-cantidad-animacion.visible {
    opacity: 1;
    pointer-events: auto;
}

.promo-banner {
    background: #ffffff;
    padding: 30px 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    animation: scaleIn 0.4s ease forwards;
}

.promo-titulo {
    font-size: 32px;
    color: #28a745;
    font-weight: bold;
    margin-bottom: 10px;
}

.promo-descuento {
    font-size: 22px;
    color: #155724;
    font-weight: 600;
}

@keyframes scaleIn {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.btn-condiciones-flotante {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-condiciones {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.modal-contenido {
    background: white;
    max-width: 800px;
    width: 90%;
    height: 80%;
    padding: 0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-contenido iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.cerrar-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    color: #444;
}





/* ========================= */
/*         DARK MODE         */
/* ========================= */
body.dark-mode {
    background-color: #3D3D3D;
    color: #e0e0e0;
}

body.dark-mode .header-container {
    background: linear-gradient(135deg, #000 0%, #3D3D3D 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

body.dark-mode .product-card,
body.dark-mode .detalle-orden,
body.dark-mode .detalle-envio,
body.dark-mode .featured-product {
    background: #1e1e1e;
    color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .product-title,
body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3 {
    color: #f5f5f5;
}

body.dark-mode .promo-banner,
body.dark-mode .promo-item {
    background-color: rgba(34, 34, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .size-chip {
    background: #2c2c2c;
    color: #ddd;
}

body.dark-mode .floating-want-btn,
body.dark-mode .floating-whatsapp-btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.darkmode-toggle {
    background: #ff6b6b;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    cursor: pointer;
    box-shadow: var(--sombra-media);
    transition: var(--transicion-media);
}

.darkmode-toggle:hover {
    background: #ff5252;
    transform: scale(1.1);
}
/* Fondo del lightbox */
body.dark-mode .lightbox {
    background: rgba(0, 0, 0, 0.98);
}

body.dark-mode .lightbox-content {
    background: #1e1e1e;
}

body.dark-mode #lightbox-img {
    filter: brightness(0.95); /* evita que sea muy brillante */
}

body.dark-mode .lightbox-product-name,
body.dark-mode .lightbox-product-price,
body.dark-mode .lightbox-product-description {
    color: #f5f5f5;
}

body.dark-mode .lightbox-close,
body.dark-mode .lightbox-prev,
body.dark-mode .lightbox-next {
    color: white;
}

/* Botones de navegación del lightbox */
body.dark-mode .lightbox-prev:hover,
body.dark-mode .lightbox-next:hover {
    background: #333;
}

/* Contador del lightbox */
body.dark-mode .lightbox-counter {
    background: rgba(0, 0, 0, 0.7);
}

/* Social icons en modo oscuro */
body.dark-mode .social-icons a {
    color: #bbb;
    background: #2c2c2c;
}

body.dark-mode .social-icons a:hover {
    color: white;
}

/* Formularios (checkout) */
body.dark-mode .checkout-container,
body.dark-mode .confirmacion-container {
    color: #e0e0e0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #1e1e1e;
    color: #f5f5f5;
    border-color: #444;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

/* Alertas */
body.dark-mode .alert-error {
    background: #4a1414;
    color: #ff8a8a;
}

/* Carrito sidebar */
body.dark-mode .carrito-sidebar {
    background: #1e1e1e;
}

body.dark-mode .carrito-header,
body.dark-mode .carrito-resumen,
body.dark-mode .carrito-items {
    color: #e0e0e0;
    border-color: #333;
}

body.dark-mode .carrito-vacio {
    color: #aaa;
}

/* Botones de carrito */
body.dark-mode .btn-finalizar-compra,
body.dark-mode .btn-confirmar-compra {
    background: #ff6b6b;
}

body.dark-mode .btn-finalizar-compra:hover,
body.dark-mode .btn-confirmar-compra:hover {
    background: #ff5252;
}

/* Confirmación */
body.dark-mode .confirmacion-container,
body.dark-mode .detalle-orden,
body.dark-mode .detalle-envio {
    background: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode .orden-info p,
body.dark-mode .envio-info p {
    color: #ddd;
}

/* Estado de envío */
body.dark-mode .estado-progreso:before {
    background: #444;
}

body.dark-mode .paso-icono {
    background: #333;
    color: #999;
}

body.dark-mode .paso-texto {
    color: #999;
}

body.dark-mode .estado-paso.activo .paso-icono {
    background: #4caf50;
    color: white;
}

body.dark-mode .estado-paso.activo .paso-texto {
    color: #fff;
}

/* Botones de acción */
body.dark-mode .btn-volver {
    background: #2c2c2c;
    color: #eee;
    border-color: #555;
}

body.dark-mode .btn-volver:hover {
    background: #333;
}

/* Notificaciones */
body.dark-mode .notificacion-carrito {
    background: #388e3c;
}

/* Combos y promos */
body.dark-mode .combo-contenedor {
    background: linear-gradient(135deg, #c750a0, #d4a017);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .combo-titulo,
body.dark-mode .combo-descripcion {
    color: white;
    text-shadow: 1px 1px 3px black;
}

body.dark-mode .promo-cantidad-banner {
    background: #007f36;
}

body.dark-mode .promo-banner {
    background: #1e1e1e;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .promo-titulo {
    color: #66bb6a;
}

body.dark-mode .promo-descuento {
    color: #43a047;
}

/* Fondo animado (ocultar o adaptar) */
body.dark-mode .nature-bg {
    background: linear-gradient(135deg, #1e1e1e 0%, #000 100%);
}

body.dark-mode .floating-element {
    opacity: 0.2;
}

/* Scrollbars (opcional, pero recomendado en modo oscuro) */
body.dark-mode ::-webkit-scrollbar {
    width: 8px;
}

body.dark-mode ::-webkit-scrollbar-track {
    background: #121212;
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* ========================= */
/*       LIGHTBOX DARK       */
/* ========================= */

body.dark-mode .lightbox {
    background: rgba(0, 0, 0, 0.98);
}

body.dark-mode .lightbox-content {
    background: #1e1e1e;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

body.dark-mode #lightbox-img {
    background-color: #121212; /* evita halo blanco */
}

body.dark-mode .lightbox-description-container {
    background: #1e1e1e;
    color: #e0e0e0;
}

/* Texto del producto */
body.dark-mode .lightbox-product-name {
    color: #f5f5f5;
}

body.dark-mode .lightbox-product-price {
    color: #ff6b6b; /* mantiene el color primario de oferta */
}

body.dark-mode .lightbox-product-description {
    color: #ddd;
}

/* Botón de cerrar */
body.dark-mode .lightbox-close {
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

body.dark-mode .lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

/* Navegación (prev/next) */
body.dark-mode .lightbox-prev,
body.dark-mode .lightbox-next {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 0.8;
}

body.dark-mode .lightbox-prev:hover,
body.dark-mode .lightbox-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.15);
    opacity: 1;
}

/* Contador de imágenes */
body.dark-mode .lightbox-counter {
    background: rgba(0, 0, 0, 0.7);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrollbar en descripción (opcional pero recomendado) */
body.dark-mode .lightbox-description-container {
    scrollbar-width: thin;
    scrollbar-color: #444 #1e1e1e;
}

body.dark-mode .lightbox-description-container::-webkit-scrollbar {
    width: 6px;
}

body.dark-mode .lightbox-description-container::-webkit-scrollbar-track {
    background: #1e1e1e;
}

body.dark-mode .lightbox-description-container::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

body.dark-mode .lightbox-description-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ========================= */
/*        CARRITO DARK       */
/* ========================= */

body.dark-mode .carrito-sidebar {
    background: #1e1e1e;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    border-left: 1px solid #333;
}

body.dark-mode .carrito-header h3 {
    color: #f5f5f5;
}

body.dark-mode .close-carrito {
    color: #ccc;
    opacity: 0.8;
}

body.dark-mode .close-carrito:hover {
    color: white;
    opacity: 1;
}

/* Items del carrito */
body.dark-mode .carrito-items {
    background: #1e1e1e;
}

body.dark-mode .carrito-vacio {
    color: #aaa;
}

body.dark-mode .carrito-vacio p {
    color: #999;
}

body.dark-mode .carrito-item {
    border-bottom: 1px solid #333;
}

body.dark-mode .carrito-item:last-child {
    border-bottom: none;
}

body.dark-mode .item-info h4 {
    color: #f5f5f5;
}

body.dark-mode .talle {
    color: #bbb;
}

body.dark-mode .item-precio {
    color: #ff6b6b;
}

/* Controles de cantidad */
body.dark-mode .cantidad-btn {
    background: #2c2c2c;
    border-color: #444;
    color: #ddd;
}

body.dark-mode .cantidad-btn:hover {
    background: #333;
    color: white;
}

body.dark-mode .eliminar-item {
    color: #999;
}

body.dark-mode .eliminar-item:hover {
    color: #ff5252;
}

/* Resumen del carrito */
body.dark-mode .carrito-resumen {
    background: #1a1a1a;
    border-top: 1px solid #333;
}

body.dark-mode .resumen-linea {
    color: #e0e0e0;
}

body.dark-mode .resumen-linea.envio {
    border-bottom: 1px solid #444;
}

body.dark-mode .resumen-linea.total {
    color: #f5f5f5;
}

/* Botón de finalizar compra */
body.dark-mode .btn-finalizar-compra {
    background: #ff6b6b;
    color: white;
}

body.dark-mode .btn-finalizar-compra:hover {
    background: #ff5252;
}

/* Botón "seguir comprando" */
body.dark-mode .btn-seguir-comprando {
    background: #555;
    color: white;
}

body.dark-mode .btn-seguir-comprando:hover {
    background: #666;
}

/* Badge del carrito flotante */
body.dark-mode .carrito-badge {
    background: #333;
    color: white;
}

/* Carrito flotante */
body.dark-mode .carrito-flotante {
    background: #ff6b6b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

body.dark-mode .carrito-flotante:hover {
    background: #ff5252;
}

/* Animaciones de badge (opcional) */
body.dark-mode .badge-animado {
    animation: badgeBounce 2.4s ease;
}

/* Notificación de carrito */
body.dark-mode .notificacion-carrito {
    background: #43a047;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ========================= */
/*     HEADER - DARK MODE    */
/* ========================= */

body.dark-mode .header-container {
    background: linear-gradient(135deg, #1e1e1e 0%, #000000 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .top-header {
    background: linear-gradient(135deg, #1e1e1e 0%, #000 100%);
    backdrop-filter: blur(22px);
    border-radius: 0 0 20px 20px;
}

body.dark-mode .promo-marquee {
    color: #e0e0e0;
}

body.dark-mode .marquee-content span {
    color: #ff6b6b;
}

body.dark-mode .marquee-content span i {
    color: #ff6b6b;
}

body.dark-mode .logo-pastel {
    filter: brightness(0.9) saturate(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

body.dark-mode .logo-pastel:hover {
    filter: brightness(1.05) saturate(1.3) drop-shadow(0 4px 8px rgba(255, 107, 107, 0.3));
}
/* ========================= */
/*       RESPONSIVE          */
/* ========================= */

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
    }

    .logo-section {
        order: -1;
        margin-bottom: 10px;
    }

    .logo-pastel {
        height: 50px;
    }

    .promo-banner {
        width: 100%;
        padding: 6px 0;
    }

    .marquee-content span {
        font-size: 13px;
        gap: 8px;
    }

    .marquee-content span i {
        font-size: 1rem;
    }
}
/* ========================= */
/*     SWEETALERT2 DARK      */
/* ========================= */

/* Fondo del popup (overlay) */
body.dark-mode .swal2-popup {
  background-color: #1e1e1e !important;
  color: #f5f5f5 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7) !important;
  border: 1px solid #333 !important;
  backdrop-filter: blur(12px);
}

/* Títulos y texto */
body.dark-mode .swal2-title {
  color: #f5f5f5 !important;
}

body.dark-mode .swal2-html-container {
  color: #ddd !important;
  text-align: left !important;
  line-height: 1.5;
}

/* Botones */
body.dark-mode .swal2-confirm,
body.dark-mode .swal2-cancel {
  background-color: #ff6b6b !important;
  color: white !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

body.dark-mode .swal2-confirm:hover,
body.dark-mode .swal2-cancel:hover {
  background-color: #ff5252 !important;
  transform: scale(1.05) !important;
}

/* Input, select (en formularios de swal) */
body.dark-mode .swal2-input,
body.dark-mode .swal2-select,
body.dark-mode .swal2-textarea {
  background-color: #2c2c2c !important;
  color: #f5f5f5 !important;
  border-color: #444 !important;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2) !important;
}

body.dark-mode .swal2-input:focus,
body.dark-mode .swal2-select:focus,
body.dark-mode .swal2-textarea:focus {
  border-color: #6c5ce7 !important;
  outline: none !important;
}

/* Iconos (success, error, warning, etc.) */
body.dark-mode .swal2-success {
  border-color: #4caf50 !important;
}

body.dark-mode .swal2-success-ring {
  border-color: #4caf50 transparent #4caf50 !important;
}

body.dark-mode .swal2-error {
  border-color: #f44336 !important;
}

body.dark-mode .swal2-error-ring {
  border-color: #f44336 transparent #f44336 !important;
}

/* Toasts (notificaciones flotantes) */
body.dark-mode .swal2-toast {
  background-color: #2c2c2c !important;
  color: #f5f5f5 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  border: 1px solid #444 !important;
}

body.dark-mode .swal2-toast .swal2-title {
  color: #f5f5f5 !important;
}

body.dark-mode .swal2-toast .swal2-icon {
  border-color: #555 !important;
}

/* Animaciones de entrada/salida */
body.dark-mode .swal2-popup.swal2-show {
  animation: swalFadeInDark 0.4s ease-out !important;
}

body.dark-mode .swal2-popup.swal2-hide {
  animation: swalFadeOutDark 0.2s ease-in !important;
}

/* Animaciones personalizadas */
@keyframes swalFadeInDark {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes swalFadeOutDark {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* ========================= */
/*   BOTONES EN LIGHTBOX     */
/* ========================= */

.lightbox-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.lightbox-add-to-cart {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: var(--sombra-media);
    transition: all 0.3s ease;
    border: 2px solid white;
    opacity: 0.9;
}

.lightbox-add-to-cart {
    background: #51c02b;
    color: white;
}

.lightbox-add-to-cart:hover {
    background: #FFC300;
    color: #1f8032;
    transform: scale(1.1);
}

.floating-whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.floating-whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Dark mode */
body.dark-mode .lightbox-add-to-cart {
    background: #51c02b;
}

body.dark-mode .lightbox-add-to-cart:hover {
    background: #FFC300;
    color: #1f8032;
}

/* === SECCIÓN DE COMBOS - TEMA VERDE PASTEL BRUMAIKA === */
/* Estilos para la sección completa */
.combos-section {
    padding: 0; /* Elimina el padding para que la imagen llegue a los bordes */
    text-align: center;
    /*background-color: #f0f0f0; */
    color: #333;
    /* Las siguientes líneas son clave para el ancho completo */
    border-radius: 0; /* Elimina el borde redondeado */
    margin: 40px 0; /* Márgenes solo arriba y abajo */
    /* Las siguientes líneas son las que le dan el estilo de "header" o "hero" */
    box-shadow: none; /* Elimina la sombra para un diseño más plano */
    max-width: 100%; /* Asegura que ocupe todo el ancho disponible */
    position: relative;
    overflow: hidden;
}

/* El resto de los estilos se mantienen */

.combos-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.combos-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 30px;
    z-index: 2;
}

/* Estilos para las tarjetas de combo */
.combo-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    color: #333;
    position: relative;
    cursor: pointer;
}

/* Ajustes para el efecto hover */
.combo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Contenedor de la imagen, aquí el ajuste es crucial */
.combo-image-container {
    height: 600px; /* Aumenta la altura para que parezca un hero-slider */
    max-height: 80vh; /* Limita la altura para pantallas grandes */
    overflow: hidden;
}

.combo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efecto al pasar el mouse sobre la imagen */
.combo-card:hover .combo-image {
    transform: scale(1.05);
}

/* Estilos de la promoción y el botón */
.combo-promo {
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #CDDC39);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin: 12px 0;
    display: inline-block;
    font-weight: 600;
}

.btn-combo {
    display: block;
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-combo:hover {
    background: #0056b3;
}
.promo-tag {
    font-weight: bold;
    margin-right: 5px;
}

.combo-price {
    margin: 10px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2e7d32;
}

.btn-combo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2E7D32;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.3s ease;
    font-size: 1.95rem;
}

.btn-combo:hover {
    background: #1B5E20;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .combos-title {
        font-size: 2rem;
    }
    .combos-grid {
        grid-template-columns: 1fr;
    }
}
/* Contenedor principal */
.tallas-grid {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 15px;
    justify-content: center;
}

/* Estilo base del botón */
.talle-option {
    position: relative;
    width: 60px; /* Cuadrado perfecto */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color, #495057);
    background: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
}

/* Hover efect */
.talle-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color, #4CAF50);
}

/* Estado seleccionado */
.talle-option.seleccionado {
    border-color: var(--primary-color, #4CAF50);
    background: var(--primary-color, #4CAF50);
    color: white;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

/* Check de confirmación */
.talle-option.seleccionado::after {
    content: "✓";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color, #4CAF50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    z-index: 2;
}

/* Efecto de presión al tocar */
.talle-option:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Ocultar el input radio */
.talle-option input[type="radio"] {
    display: none;
}

/* Ajuste para talles con texto más largo */
.talle-option.largo {
    font-size: 0.85rem;
}

/* Contenedor principal */
.tallas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 15px;
}

/* Estilo base del botón de talle */
.talle-option {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    font-size: 1rem;
    color: #495057;
    background: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* Hover efect */
.talle-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color, #4CAF50);
}

/* Estado seleccionado */
.talle-option.seleccionado {
    border-color: var(--primary-color, #4CAF50);
    background: var(--primary-color, #4CAF50);
    color: white;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

/* Check de confirmación */
.talle-option.seleccionado::after {
    content: "✓";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color, #4CAF50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    z-index: 2;
}

/* Efecto de presión al tocar */
.talle-option:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Ocultar el input radio */
.talle-option input[type="radio"] {
    display: none;
}

/* Ajuste para talles con texto más largo */
.talle-option.largo {
    font-size: 0.85rem;
}

/* Estilos para el modo cinemático */
.cinematic-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.95)), 
                url('https://images.unsplash.com/photo-1523381210434-271e8be1f52b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cinematic-container:not(.hidden) {
    display: flex;
}

.hidden {
    display: none !important;
}

body.cinematic-mode {
    overflow: hidden; /* Desactivar scroll en el body */
    touch-action: none; /* Desactivar desplazamiento táctil */
}

.cinematic-scene {
    text-align: center;
    color: white;
    max-width: 800px;
    width: 90%;
    animation: fadeIn 1.5s ease-in-out;
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cinematic-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 1s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.cinematic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cinematic-image:hover {
    transform: scale(1.1);
}

.cinematic-price-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in-out;
}

.cinematic-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cinematic-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.cinematic-cta {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.cinematic-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

.cinematic-cta:active {
    transform: translateY(0) scale(0.98);
}

.close-cinematic {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.close-cinematic:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}

.cinematic-container {
    animation: fadeIn 1s ease-in-out;
}

.cinematic-container.hidden {
    animation: fadeOut 1s ease-in-out;
}

/* ================================== */
/* Slider Home Moderno y Grande       */
/* ================================== */

.hero-slider-section {
    position: relative;
    width: 100%;
    height: 90vh; /* slider alto que ocupa la mayor parte de la pantalla */
    max-height: 1000px;
    overflow: hidden;
    background-color: transparent;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover; /* Cambia 'contain' por 'cover' */
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
/* El degradado sobre la imagen se ajusta para usar el '::after' */
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* El resto del código de contenido y botones se mantiene igual */
.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    padding: 20px;
    max-width: 900px;
    animation: fadeInContent 1.5s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    margin-bottom: 30px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
    line-height: 1.5;
}

.btn-hero {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-secundario);
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 6px 20px rgba(231,76,60,0.5);
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(231,76,60,0.7);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    background-color: rgba(0,0,0,0.35);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    opacity: 0.85;
    transition: all 0.3s ease;
    z-index: 10;
}


.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    opacity: 1;
    background-color: rgba(0,0,0,0.65);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 22px;
    font-weight: bold;
}

.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--color-secundario);
    opacity: 1;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    min-height: inherit; /* opcional para heredar la altura del padre */
}
@media (max-width: 768px) {
    .hero-slider-section {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
    .hero-content p {
        font-size: clamp(1rem, 3vw, 1.4rem);
    }
    .btn-hero {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes popIn {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes toCorner {
  0% { transform: scale(1) translate(0, 0); bottom: auto; right: auto; }
  100% {
    transform: scale(0.3) translate(100vw, 100vh);
    opacity: 1;
  }
}

/* Contenedor del teléfono en el frontend (visualización) */
.reviews-phone-container {
    width: 300px; /* Tamaño real del teléfono en el frontend */
    height: 600px;
    border: 10px solid #333;
    border-radius: 40px;
    background-color: #000;
    position: relative; /* Clave para el posicionamiento absoluto de las capturas */
    margin: 50px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Esto oculta las partes de las imágenes que se salen del marco */
}

/* Estilos para las capturas que "flotan" */
.review-screenshot {
    position: absolute; /* Clave para el efecto de superposición */
    width: 85%; /* Las imágenes ocupan la mayor parte del teléfono */
    max-height: 95%; 
    object-fit: contain; /* Asegura que la captura se vea completa */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    /* La transición hace que la manipulación con JavaScript sea suave, aunque aquí usamos PHP */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out; 
}