.sk-ofertas-wrapper {
    margin: 40px 0;
    overflow: hidden;
    padding: 10px 0;
}
.sk-ofertas-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}
.sk-ofertas-swiper {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 50px;
    padding-left: 50px;
    padding-right: 50px;
}
.sk-ofertas-wrapper .swiper-pagination {
    bottom: 0px;
}
.sk-ofertas-wrapper .swiper-pagination-bullet-active {
    background: #000;
}
.sk-oferta-card {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 130%; /* Aspect ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none !important;
}

/* Desktop styling for active/inactive slides */
@media (min-width: 1024px) {
    .sk-oferta-slide .sk-oferta-card-wrapper {
        transform: scale(0.9);
        opacity: 0.85;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }
    .sk-oferta-slide.swiper-slide-active .sk-oferta-card-wrapper {
        transform: scale(1.08);
        opacity: 1;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        z-index: 10;
    }
}

/* Static Grid for 4 or fewer cards */
.sk-ofertas-static.swiper {
    padding-left: 0;
    padding-right: 0;
}
.sk-ofertas-static .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Default/Mobile Static Grid */
.sk-ofertas-static .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
}
.sk-ofertas-static .sk-oferta-card-wrapper {
    transform: scale(1) !important;
    opacity: 1 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
}
.sk-ofertas-static .swiper-button-next,
.sk-ofertas-static .swiper-button-prev {
    display: none !important;
}

@media (min-width: 1024px) {
    .sk-ofertas-static .swiper-wrapper {
        display: flex !important;
        justify-content: center !important;
        gap: 15px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }
    .sk-ofertas-static .swiper-slide {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: 320px !important;
    }
}

@media (max-width: 1023px) {
    .sk-oferta-card-wrapper:hover {
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    .sk-ofertas-wrapper .swiper-button-next,
    .sk-ofertas-wrapper .swiper-button-prev {
        display: none !important;
    }
    .sk-ofertas-swiper {
        padding-top: 10px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 30px;
    }
    .sk-ofertas-wrapper {
        margin-top: 15px;
    }
}

/* Smaller Swiper Arrows */
.sk-ofertas-wrapper .swiper-button-next,
.sk-ofertas-wrapper .swiper-button-prev {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-top: -17px;
}
.sk-ofertas-wrapper .swiper-button-prev {
    left: 5px;
}
.sk-ofertas-wrapper .swiper-button-next {
    right: 5px;
}
.sk-ofertas-wrapper .swiper-button-next::after,
.sk-ofertas-wrapper .swiper-button-prev::after {
    font-size: 14px;
    color: #111;
    font-weight: bold;
}
/* Card wrapper: holds countdown bar + image card */
.sk-oferta-card-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

/* Countdown top bar */
.sk-oferta-countdown-bar {
    width: 100%;
    background: rgb(255, 98, 210);
    color: #fff;
    text-align: center;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}
.sk-countdown-val {
    font-variant-numeric: tabular-nums;
    min-width: 18px;
    text-align: center;
    display: inline-block;
}
@media (max-width: 768px) {
    .sk-oferta-countdown-bar {
        padding: 6px 8px;
        font-size: 11px;
    }
}

