.product-carousel-section {
    background: var(--bs-secondary-bg);
    /* position: relative; */
    padding: 10px;
    border-radius: 6px;
    box-shadow: rgba(var(--bs-body-color-rgb), 0.7) 0px 0px 8px 4px;
    margin-bottom: 15px;
}
@media (max-width: 1199px) {
    .container.product-carousel-section{
        width: 95%;
    }
}
@media (max-width: 1199px) {
    .container.product-carousel-section.product-detail {
        width: 100%;
    }
}
/* Style Card Produk */
.card-product {
    border: 1px solid var(--bs-body-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    background: var(--bs-body-bg);
    overflow: hidden;
}
.card-product:hover {
    box-shadow: 3px 3px 5px rgba(var(--bs-body-color-rgb), 0.75);
}

.card-product .img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #fff;
    padding: 5px;
    aspect-ratio: 1 / 1;
}

.card-product .img-wrapper img {
    object-fit: contain;
    transition: transform 0.3s ease;
}
/*
.card-product:hover .img-wrapper img {
    transform: scale(1.05);
}
*/
.product-img{
    height: 95%;           /* Memberi dimensi pasti agar aspect-ratio berfungsi */
    width: auto;
    max-height: 95%;
    max-width: 95%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    /*
    max-height: 95%;
    width: auto;
    */
}
.card-product .badge-left {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #26941a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}
.card-product .badge-right {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #26941a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.card-product .card-body {
    padding: 10px;
}

.card-product .product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-body-color);
    text-decoration: none;
    margin-bottom: 0px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /*height: 2.6em;*/
}

.card-product .product-desc {
    font-size: 0.8rem;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /*height: 2.7em;*/
}

.swiper-link.active{
    display: block;
}

.product-header{
    position: relative;
    background: var(--bs-body-bg);
    padding: 0.5rem;
    border-radius: 6px;
    box-shadow: 3px 3px 5px rgba(var(--bs-body-color-rgb), 0.25);
    border: 1px solid var(--bs-body-color);
}
.product-title:hover{
    color: rgba(var(--bs-link-color-rgb));
}
.product-price{
    margin-top: .5rem !important;
}
.productSwiper,
.productSwiperSmall {
    padding: 0px 5px 0px 5px;;
}
.card-product .price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d6efd;
}

.price-old {
    color: var(--bs-body-color);
    position: relative;
    width: fit-content;
}
.price-old::before {
    border-top: 2px solid;
    border-color: inherit;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: rotate(-7deg);
}
.btn-nego{
    width: 65%;
    padding: 0.4rem 0.2rem 0.4rem 0.2rem;
}
.btn-share{
    width: 30%;
    padding: 0.4rem 0.2rem 0.4rem 0.2rem;
}
@media (max-width: 575px) {
    .btn-nego,
    .btn-share {
        font-size: 0.8rem;
    }
}
/* Kustomisasi Navigasi Swiper */

.swiper-button-next{
    right: var(--swiper-navigation-sides-offset, 10px) !important;
}
.swiper-button-prev{
    left: var(--swiper-navigation-sides-offset, 10px) !important;
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(var(--bs-body-color-rgb), 0.5);
    border-radius: 50%;
    color: var(--bs-body-bg);
    ::slotted(svg), svg{
        padding: 8px !important;
    }
}
.swiper-button-next:hover,
.swiper-button-prev:hover{
    background: rgba(var(--bs-body-color-rgb), 0.75);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 10px;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background-color: #0d6efd;
}

/* Product Detail Preview Img */
/* Semua style di-scope khusus di dalam .preview-img */
.preview-img .swiper-slide img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 0.5rem;
}

/* Thumbnail Utama */
.preview-img .thumbs-slider {
    height: 40px;
    margin-top: 10px;
}

.preview-img .thumbs-slider .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: opacity 0.3s;
    text-align: center;
}

.preview-img .thumbs-slider .swiper-slide-thumb-active {
    opacity: 1;
    /*border: 2px solid #0d6efd;*/
}

.preview-img .thumbs-slider img {
    height: 100%;
    object-fit: cover;
}

/* Modal Fullscreen Scope */
.preview-img-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.95);
}

.preview-img-modal .main-modal-slider .swiper-slide img {
    height: 70vh;
    object-fit: contain;
}

.preview-img-modal .thumbs-modal-slider {
    height: 80px;
    margin-top: 20px;
}

.preview-img-modal .thumbs-modal-slider .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
}

.preview-img-modal .thumbs-modal-slider .swiper-slide-thumb-active {
    opacity: 1;
    /*border: 2px solid #0d6efd;*/
}

.preview-img-modal .thumbs-modal-slider img {
    height: 100%;
    object-fit: cover;
}

.container.product-info{
    padding-left: 0px;
}