/* Custom CSS for 5-Column Layout */
[class*="col-5"]-item {
    flex: 0 0 auto;
    width: 20%;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .col-sm-5-item {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .col-md-5-item {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .col-lg-5-item {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .col-xl-5-item {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .col-xxl-5-item {
        flex: 0 0 auto;
        width: 20%;
    }
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    visibility: hidden;
}
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    visibility: visible;
}

.pagination {
    gap: 9px;
    .page-item {
        .page-link {
            border-radius: 100%;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
}

.btn-add-cart i {
    margin-right: 3px;
}
/* @media screen and (max-width: 768px) { */
    html {
        font-size: 14px;
    }
    .btn-add-cart {
        font-size: 12px;
    }
/* } */
@media screen and (max-width: 768px) {
    li.page-item,
    li.disabled,
    .page-item:first-child {
        display: none;
    }
    .page-item:nth-child(2),
    .page-item:nth-last-child(2),
    .page-item.active,
    .page-item:nth-child(2):has(.active) + .page-item + .page-item,
    .page-item.before-active,
    .page-item.active + .page-item,
    .page-item.disabled {
        display: block;
    }
}
