/* Digioto homepage slider - Toco-like responsive carousel */

.digioto-toco-hero {
    background: #ffffff;
    padding: 30px 0 34px;
    overflow: hidden;
}

.digioto-toco-hero .container {
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.digioto-toco-carousel {
    position: relative;
}

.digioto-toco-carousel .owl-stage-outer {
    overflow: hidden !important;
}

.digioto-toco-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.digioto-toco-carousel .owl-item {
    display: flex;
    align-items: center;
}

.digioto-toco-slide {
    width: 100%;
}

.digioto-toco-banner {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    line-height: 0;
}

.digioto-toco-banner > a,
.digioto-toco-banner picture {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    line-height: 0;
}

.digioto-toco-banner img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 14px;
    transform: none !important;
}

/* Dots */
.digioto-toco-carousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
}

.digioto-toco-carousel .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    border-radius: 999px;
    background: #d9d9d9 !important;
    transition: all .2s ease;
}

.digioto-toco-carousel .owl-dot.active span {
    width: 20px;
    background: #f51e28 !important;
}

/* Desktop besar */
@media (min-width: 1400px) {
    .digioto-toco-hero .container {
        max-width: 1160px !important;
    }
}

/* Laptop */
@media (max-width: 1199px) {
    .digioto-toco-hero .container {
        max-width: 1020px !important;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .digioto-toco-hero {
        padding-top: 22px;
        padding-bottom: 26px;
    }

    .digioto-toco-hero .container {
        max-width: 780px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .digioto-toco-hero {
        padding-top: 14px;
        padding-bottom: 18px;
    }

    .digioto-toco-hero .container {
        max-width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .digioto-toco-banner {
        border-radius: 10px;
    }

    .digioto-toco-banner img {
        border-radius: 10px;
    }

    .digioto-toco-carousel .owl-dots {
        margin-top: 10px;
        gap: 6px;
    }

    .digioto-toco-carousel .owl-dot span {
        width: 6px;
        height: 6px;
    }

    .digioto-toco-carousel .owl-dot.active span {
        width: 18px;
    }
}
