
.modal-content {
    max-width: 800px;
    margin: 50px auto 0;
}

.modal-body {
    padding: 20px;
}

.modal .btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
}

.modal-dialog {
    max-width: 900px;
    width: 90%;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.product .thumb img {
    object-fit: contain;
}
/* =========================================================
   FINISHING SIDEBAR KATEGORI
========================================================= */

/* Hilangkan icon bawaan yang tidak diperlukan */
.sidebar-widget-category > i,
.sidebar-widget > i {
    display: none !important;
}


/* Judul */
.sidebar-title {
    position: relative;
    margin-bottom: 24px !important;
    padding-bottom: 14px !important;

    font-size: 22px !important;
    font-weight: 700 !important;

    color: #333 !important;

    border-bottom: 1px solid #e7e7e7 !important;
}

.sidebar-title::before,
.sidebar-title::after {
    display: none !important;
}


/* List */
.sidebar-widget-category ul {
    padding: 0 !important;
    margin: 0 !important;

    list-style: none !important;
}


/* Item */
.sidebar-widget-category ul li {
    position: relative;

    margin-bottom: 7px !important;
}


/* Link */
.sidebar-widget-category ul li a {
    position: relative;

    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    width: 100%;

    min-height: 50px;

    padding: 10px 0 10px 16px !important;

    color: #555 !important;

    background: transparent !important;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}


/* Hilangkan panah bawaan */
.sidebar-widget-category ul li a span:first-child::before {
    display: none !important;
}


/* Garis kecil kiri */
.sidebar-widget-category ul li a::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 4px;
    height: 0;

    background: #ff6b00;

    border-radius: 5px;

    transform: translateY(-50%);

    transition: height .25s ease;
}


/* Hover */
.sidebar-widget-category ul li a:hover {
    color: #ff6b00 !important;

    transform: translateX(4px);
}

.sidebar-widget-category ul li a:hover::before {
    height: 24px;
}


/* Active */
.sidebar-widget-category ul li a.active {
    color: #ff6b00 !important;

    font-weight: 700 !important;
}

.sidebar-widget-category ul li a.active::before {
    height: 30px;
}


/* Badge jumlah */
.sidebar-widget-category ul li a span:last-child {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 28px;

    padding: 0 10px;

    border-radius: 20px;

    background: #f2f2f2 !important;

    color: #777 !important;

    font-size: 12px;
    font-weight: 700;

    transition: all .25s ease;
}


/* Badge active */
.sidebar-widget-category ul li a.active span:last-child {
    background: #ff6b00 !important;

    color: #fff !important;

    box-shadow: 0 5px 12px rgba(255, 107, 0, .18);
}
/* =========================================================
   PRODUCT CARD PREMIUM FINISHING
========================================================= */

.product {
    position: relative;

    border-radius: 14px;

    overflow: hidden;

    border: 1px solid #ececec;

    background: #fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


/* Hover card */
.product:hover {
    transform: translateY(-6px);

    border-color: #f0d8c7;

    box-shadow:
        0 18px 35px rgba(0, 0, 0, .10);
}


/* Gambar */
.product .thumb {
    overflow: hidden;

    background: #fff;
}

.product .thumb img {
    display: block;

    width: 100%;

    transition: transform .4s ease;
}


/* Zoom halus */
.product:hover .thumb img {
    transform: scale(1.04);
}


/* Konten */
.product-content {
    padding-top: 8px;
}


/* Nama kategori */
.product-content .pro-category {
    margin-bottom: 8px;

    color: #888;

    font-size: 13px;

    font-weight: 500;
}


/* Nama produk */
.product-content h5,
.product-content .title {
    font-weight: 700;

    transition: color .25s ease;
}

.product:hover .product-content h5,
.product:hover .product-content .title {
    color: #ff6b00;
}


/* Harga */
.product-content .price {
    color: #333;

    font-size: 18px;

    font-weight: 700;
}


/* Badge BARU */
.product .new {
    border-radius: 7px;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, .10);
}
@media (max-width: 767px) {

    .product:hover {
        transform: none;
    }

    .product:hover .thumb img {
        transform: none;
    }

}
/* =========================================================
   FIX GAMBAR PRODUK
   Hilangkan zoom dan gambar terpotong
========================================================= */

/* Container gambar */
.product .thumb,
.product .product-image,
.product .product-img,
.product-image {
    overflow: hidden;
}

/* Gambar produk */
.product .thumb img,
.product .product-image img,
.product .product-img img,
.product-image img {
    width: 100% !important;
    height: 280px !important;

    object-fit: contain !important;
    object-position: center center !important;

    transform: none !important;
    -webkit-transform: none !important;

    transition: none !important;
}

/* Saat hover / active tetap normal */
.product:hover .thumb img,
.product:hover .product-image img,
.product:hover .product-img img,
.product:hover img,
.product.active .thumb img,
.product.active .product-image img,
.product.active img {
    transform: none !important;
    -webkit-transform: none !important;

    scale: 1 !important;
}

/* Pastikan container produk tidak memotong gambar */
.product:hover,
.product.active {
    overflow: visible;
}

/* Responsive */
@media (max-width: 991px) {

    .product .thumb img,
    .product .product-image img,
    .product .product-img img,
    .product-image img {
        height: 240px !important;
    }

}

@media (max-width: 575px) {

    .product .thumb img,
    .product .product-image img,
    .product .product-img img,
    .product-image img {
        height: 220px !important;
    }

}
/* =========================================================
   CLEAN SIDEBAR KATEGORI
   HILANGKAN SEMUA KOTAK PEMBUNGKUS
========================================================= */

.shop-sidebar-wrap,
.shop-sidebar-wrap::before,
.shop-sidebar-wrap::after,

.sidebar-widget,
.sidebar-widget::before,
.sidebar-widget::after,

.sidebar-widget-category,
.sidebar-widget-category::before,
.sidebar-widget-category::after {

    background: transparent !important;

    border: none !important;

    outline: none !important;

    box-shadow: none !important;

    border-radius: 0 !important;
}


/* Wrapper utama */
.shop-sidebar-wrap {
    padding: 0 !important;
    margin: 0 !important;
}


/* Widget */
.sidebar-widget {
    padding: 0 !important;
    margin: 0 !important;
}


/* Area kategori */
.sidebar-widget-category {
    padding: 20px 0 !important;
    margin: 0 !important;
}


/* Hilangkan kemungkinan border dari UL */
.sidebar-widget-category ul {
    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}