/* ============================================
   SLIDER DE PROMOCIONES - RESPONSIVE
   Sistema dinámico de promociones con contador regresivo
   Paleta de colores armonizada con la tienda
============================================ */

:root {
    --promo-primary-gold: #D4AF37;
    --promo-secondary-gold: #F4E4BC;
    --promo-accent-rose: #D4A574;
    --promo-dark-navy: #1a1f36;
    --promo-medium-navy: #2d3561;
    --promo-cream: #FAF8F5;
}

.promociones-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 60px;
    margin: 2rem auto;
    max-width: 1400px;
}

.promociones-slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 0;
}

.promo-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
}

.promo-slide.active {
    display: block;
    opacity: 1;
    animation: fadeInScale 0.6s ease-in-out;
    margin: 0;
    position: relative;
    visibility: visible;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Banner de Ofertas Base - Gradiente Dorado Premium */
.banner-ofertas {
    background: linear-gradient(135deg, #D4AF37 0%, #E8C468 50%, #F4E4BC 100%);
    border-radius: 24px;
    padding: 2.8rem 3.5rem;
    box-shadow:
        0 12px 45px rgba(212, 175, 55, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    margin: 0;
    display: block;
}

.banner-ofertas:hover {
    box-shadow:
        0 15px 50px rgba(212, 175, 55, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Overlay sutil para profundidad */
.banner-ofertas::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.1) 0%,
        transparent 40%,
        rgba(244, 228, 188, 0.15) 100%);
    pointer-events: none;
    z-index: 0;
}

.banner-ofertas::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatCircle 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-20px, 20px);
    }
}

.banner-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.oferta-icono {
    background: linear-gradient(135deg, #1a1f36, #2d3561);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: #D4AF37;
    flex-shrink: 0;
    box-shadow:
        0 10px 25px rgba(26, 31, 54, 0.45),
        inset 0 2px 10px rgba(255, 255, 255, 0.12);
    border: 3px solid rgba(212, 175, 55, 0.35);
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 8px 20px rgba(26, 31, 54, 0.4),
            inset 0 2px 8px rgba(255, 255, 255, 0.1),
            0 0 0 0 rgba(212, 175, 55, 0);
    }
    50% {
        transform: scale(1.08);
        box-shadow:
            0 12px 30px rgba(26, 31, 54, 0.5),
            inset 0 2px 8px rgba(255, 255, 255, 0.15),
            0 0 20px 5px rgba(212, 175, 55, 0.3);
    }
}

.oferta-texto {
    flex: 1;
    padding: 0.5rem 2rem;
}

.oferta-texto h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.35;
    color: #1a1f36;
    text-shadow:
        2px 2px 5px rgba(255, 255, 255, 0.85),
        1px 1px 3px rgba(255, 255, 255, 0.65),
        0 2px 4px rgba(26, 31, 54, 0.25);
    font-family: 'Playfair Display', serif;
    word-spacing: 3px;
}

.oferta-texto p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3561;
    line-height: 1.6;
    letter-spacing: 0.3px;
    word-spacing: 2px;
    text-shadow:
        1px 1px 3px rgba(255, 255, 255, 0.75),
        0 1px 2px rgba(26, 31, 54, 0.18);
}

.oferta-contador {
    display: flex;
    gap: 1.4rem;
    flex-shrink: 0;
}

.contador-item {
    background: linear-gradient(135deg, #1a1f36, #2d3561);
    border: 2px solid rgba(212, 175, 55, 0.42);
    border-radius: 18px;
    padding: 1.4rem 1.7rem;
    text-align: center;
    min-width: 105px;
    box-shadow:
        0 8px 24px rgba(26, 31, 54, 0.4),
        inset 0 1px 4px rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contador-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contador-item:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow:
        0 8px 25px rgba(26, 31, 54, 0.45),
        inset 0 1px 3px rgba(255, 255, 255, 0.15),
        0 0 15px rgba(212, 175, 55, 0.3);
}

.contador-item:hover::before {
    opacity: 1;
}

.contador-numero {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #D4AF37;
    line-height: 1;
    margin-bottom: 0.4rem;
    text-shadow:
        0 3px 10px rgba(212, 175, 55, 0.45),
        0 1px 4px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

.contador-label {
    display: block;
    font-size: 0.75rem;
    color: #F4E4BC;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

/* Flechas de Navegación */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #1a1f36, #2d3561);
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow:
        0 8px 24px rgba(26, 31, 54, 0.45),
        inset 0 1px 4px rgba(255, 255, 255, 0.12);
}

.slider-arrow:hover {
    background: linear-gradient(135deg, #D4AF37, #E8C468);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-50%) scale(1.12);
    box-shadow:
        0 8px 25px rgba(212, 175, 55, 0.5),
        inset 0 1px 3px rgba(255, 255, 255, 0.2),
        0 0 20px rgba(212, 175, 55, 0.3);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow i {
    font-size: 1.5rem;
    color: #D4AF37;
    font-weight: 900;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}

.slider-arrow:hover i {
    color: #1a1f36;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}

.slider-arrow-prev {
    left: 0;
}

.slider-arrow-next {
    right: 0;
}

/* Indicadores (Dots) */
.promociones-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.promo-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(26, 31, 54, 0.45);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(26, 31, 54, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.promo-dot:hover {
    background: rgba(212, 175, 55, 0.65);
    transform: scale(1.3);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.35);
}

.promo-dot.active {
    background: linear-gradient(135deg, #D4AF37, #E8C468);
    width: 42px;
    border-radius: 11px;
    border-color: #D4AF37;
    box-shadow:
        0 4px 14px rgba(212, 175, 55, 0.45),
        0 0 18px rgba(212, 175, 55, 0.25);
}

/* Responsive Design */
@media (max-width: 992px) {
    .promociones-slider-container {
        padding: 0 40px;
    }

    .slider-arrow {
        width: 45px;
        height: 45px;
    }

    .slider-arrow i {
        font-size: 1.2rem;
    }

    .banner-contenido {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .oferta-icono {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .oferta-texto h3 {
        font-size: 1.5rem;
    }

    .oferta-texto p {
        font-size: 1rem;
    }

    .oferta-contador {
        gap: 0.8rem;
    }

    .contador-item {
        min-width: 80px;
        padding: 0.8rem 1rem;
    }

    .contador-numero {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .promociones-slider-container {
        padding: 0 35px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow i {
        font-size: 1.1rem;
    }

    .banner-ofertas {
        padding: 1.8rem 1.2rem;
        border-radius: 16px;
    }

    .banner-contenido {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }

    .oferta-icono {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
        margin: 0 auto;
    }

    .oferta-texto h3 {
        font-size: 1.35rem;
        letter-spacing: 1.5px;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .oferta-texto p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .oferta-contador {
        justify-content: center;
        gap: 0.6rem;
        width: 100%;
        flex-wrap: nowrap;
    }

    .contador-item {
        min-width: 70px;
        padding: 0.8rem 0.7rem;
        border-radius: 12px;
    }

    .contador-numero {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

    .contador-label {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .promociones-dots {
        margin-top: 1.2rem;
        gap: 0.7rem;
    }

    .promo-dot {
        width: 11px;
        height: 11px;
    }

    .promo-dot.active {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .promociones-slider-container {
        padding: 0 25px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        border-width: 1.5px;
    }

    .slider-arrow i {
        font-size: 0.85rem;
    }

    .banner-ofertas {
        padding: 1rem 0.8rem;
        border-radius: 12px;
        margin: 0 0.3rem;
    }

    .banner-ofertas::before {
        width: 250px;
        height: 250px;
    }

    .banner-contenido {
        gap: 0.8rem;
    }

    .oferta-icono {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        border-width: 2px;
    }

    .oferta-texto h3 {
        font-size: 0.95rem;
        letter-spacing: 0.8px;
        line-height: 1.2;
        margin-bottom: 0.3rem;
    }

    .oferta-texto p {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .oferta-contador {
        gap: 0.35rem;
        margin-top: 0.5rem;
    }

    .contador-item {
        min-width: 52px;
        padding: 0.5rem 0.4rem;
        border-radius: 8px;
        border-width: 1.5px;
    }

    .contador-numero {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }

    .contador-label {
        font-size: 0.55rem;
        letter-spacing: 0.8px;
    }

    .promo-dot {
        width: 8px;
        height: 8px;
    }

    .promo-dot.active {
        width: 20px;
    }

    .promociones-dots {
        margin-top: 0.8rem;
        gap: 0.5rem;
    }
}

@media (max-width: 400px) {
    .promociones-slider-container {
        padding: 0 22px;
    }

    .banner-ofertas {
        padding: 0.9rem 0.7rem;
        margin: 0 0.25rem;
    }

    .banner-contenido {
        gap: 0.7rem;
    }

    .oferta-icono {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .oferta-texto h3 {
        font-size: 0.9rem;
        letter-spacing: 0.6px;
    }

    .oferta-texto p {
        font-size: 0.68rem;
    }

    .contador-item {
        min-width: 48px;
        padding: 0.45rem 0.35rem;
        border-radius: 7px;
    }

    .contador-numero {
        font-size: 1.2rem;
    }

    .contador-label {
        font-size: 0.5rem;
    }
}

@media (max-width: 360px) {
    .promociones-slider-container {
        padding: 0 20px;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
    }

    .slider-arrow i {
        font-size: 0.8rem;
    }

    .banner-ofertas {
        padding: 0.8rem 0.6rem;
    }

    .banner-contenido {
        gap: 0.6rem;
    }

    .oferta-icono {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .oferta-texto h3 {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .oferta-texto p {
        font-size: 0.65rem;
    }

    .oferta-contador {
        gap: 0.3rem;
    }

    .contador-item {
        min-width: 45px;
        padding: 0.4rem 0.3rem;
    }

    .contador-numero {
        font-size: 1.15rem;
    }

    .contador-label {
        font-size: 0.48rem;
    }
}
