.product-gallery {
    position: sticky;
    top: 20px;
}

.main-image-wrapper {
    position: relative;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    height: 500px;
}

.main-img {
    padding: 20px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.badge-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    z-index: 10;
}

.badge-overlay img {
    width: 100%;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.thumbnails-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
    flex-shrink: 0;
    background: #fff;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-item.active, .thumb-item:hover {
    border-color: #d4af37;
    opacity: 0.8;
}

.product-title-detail {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #333;
}

.product-price-large {
    font-family: Roboto;
    font-size: 26px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.product-meta p {
    margin-bottom: 5px;
    color: #555;
    font-size: 15px;
}

.product-variants {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}


.btn-variant {
    padding: 8px 25px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    border-radius: 12px;
}

.btn-variant.active, .btn-variant:hover {
    border-color: #333;
    background: #333;
    color: #fff;
}

.add-to-cart-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    height: 45px;
}

.quantity-input {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
}

.quantity-input input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 500;
    outline: none;
    font-size: 20px;
}

.pd-qty-btn {
    width: 40px;
    background: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #000000;
    transition: background 0.2s;
}

.pd-qty-btn:hover {
    background: #f5f5f5;
}

.btn-add-now {
    flex-grow: 1;
    background-color: #3e1515;
    color: #fff;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 12px;
    font-size: 15px;
    letter-spacing: 1px;
}

.btn-add-now:hover {
    background-color: #2b0a0a;
}

.product-accordion {
    border-top: 1px solid #eee;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #333;
    user-select: none;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: #000;
}

.icon-toggle {
    position: relative;
    width: 14px;
    height: 14px;
}

.icon-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    transform: translateY(-50%);
}

.icon-toggle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 2px;
    background-color: #333;
    transform: translateX(-50%);
    transition: transform 0.3s ease;
}

.accordion-item.active .icon-toggle::after {
    transform: translateX(-50%) rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.inner-content {
    padding-bottom: 20px;
}

.feature-slider-section {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    background-color: #fff;
}

.feature-banner-card {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.feature-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.swiper-slide-active .feature-banner-card {
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 1px solid #eee;
}

.swiper-pagination-bullet-active {
    background-color: #3e1515 !important;
}

@media (max-width: 768px) {
        .main-image-wrapper {
            height: 350px;
        }

        .product-title-detail {
            font-size: 22px;
        }

        .product-gallery {
            position: static;
        }

        .feature-slider-section {
            padding: 20px 0;
        }

        .breadcrumb{
            margin-left: 10px;
        }

        .product-detail-top{
            padding: 10px;
        }
}

.related-title {
    font-family: Roboto;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.related-products-section .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .related-products-section .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .related-products-section .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .related-products-section .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .product-card-detail {
        padding: 10px;
        border-radius: 12px;
    }
    .product-img-wrap-detail {
        height: 160px;
    }
    .product-img-detail {
        max-width: 100%;
        max-height: 100%;
    }
    .product-title-card {
        font-size: 13px;
    }
    .product-price-card {
        font-size: 15px;
    }
    .btn-add-to-cart-detail {
        font-size: 12px;
        padding: 5px 0;
    }
}
