@media (min-width: 992px) {
    .sticky-gallery-col {
        position: sticky !important;
        top: 130px !important;
        align-self: flex-start !important;
    }
}

.detail-gallery {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.slider-nav-thumbnails-custom {
    width: 70px;
    flex-shrink: 0;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider-nav-thumbnails-custom::-webkit-scrollbar {
    display: none;
}

.slider-nav-thumbnails-custom .thumb-wrapper {
    width: 70px;
    height: 70px;
    cursor: pointer;
    flex-shrink: 0;
}

.box-main-gallery {
    flex-grow: 1;
    width: calc(100% - 85px);
    position: relative;
}

.item-thumb {
    cursor: pointer;
    border: 1px solid #e2e2e2;
    margin-bottom: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease-in-out;
    height: 100%;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.item-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.item-thumb.active-thumb {
    border-color: #a2228e !important;
    border-width: 2.5px !important;
    box-shadow: 0 0 0 2px rgba(162, 34, 142, 0.15);
}

.video-thumb-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(162, 34, 142, 0.85);
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease;
}

.item-thumb:hover .video-thumb-overlay {
    background: rgba(162, 34, 142, 1);
}

@media (max-width: 991px) {
    .detail-gallery {
        flex-direction: column-reverse !important;
        gap: 12px;
    }

    .slider-nav-thumbnails-custom {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: center;
        overflow-x: auto;
        padding: 4px 0;
    }

    .slider-nav-thumbnails-custom .thumb-wrapper {
        width: 60px;
        height: 60px;
    }

    .box-main-gallery {
        width: 100% !important;
    }
}

/* Fullscreen Modal CSS */
.fullscreen-modal .modal-content {
    border-radius: 8px;
    overflow: hidden;
    height: 90vh;
}

.fullscreen-modal .modal-header {
    border-bottom: 1px solid #e7e7e7;
    padding: 15px 24px 0;
    background: #fff;
}

.fullscreen-modal .nav-tabs {
    border-bottom: none;
    gap: 20px;
}

.fullscreen-modal .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #0f1111;
    font-weight: 700;
    padding: 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif !important;
    letter-spacing: 0.5px;
}

.fullscreen-modal .nav-tabs .nav-link.active {
    border-bottom-color: #007185;
    color: #007185;
    background: transparent;
}

.fullscreen-modal .modal-body {
    background: #fff;
    padding: 0;
    display: flex;
    height: calc(90vh - 60px);
}

.fullscreen-gallery-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.gallery-main-view {
    flex: 1;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.gallery-main-view img,
.gallery-main-view video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-sidebar {
    width: 300px;
    border-left: 1px solid #e7e7e7;
    background: #fff;
    overflow-y: auto;
    padding: 20px;
}

.gallery-sidebar-title {
    font-weight: 700;
    font-size: 16px;
    color: #0f1111;
    margin-bottom: 15px;
}

.gallery-thumb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumb-item {
    display: flex;
    gap: 10px;
    cursor: pointer;
    padding: 5px;
    border: 2px solid transparent;
    border-radius: 4px;
}

.gallery-thumb-item.active {
    border-color: #e77600;
    background: #fef8f2;
}

.gallery-thumb-item img {
    width: 80px;
    height: 60px;
    object-fit: contain;
    background: #f0f0f0;
    border: 1px solid #e7e7e7;
}

.gallery-thumb-title {
    font-size: 13px;
    color: #0f1111;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.thumb-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 10px;
    text-align: center;
    padding: 2px 0;
    font-weight: 700;
}

/* background: rgba(162, 34, 142, 0.8);
color: #fff;
border-radius: 50%;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
z-index: 2;
} */

.pincode-checker {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pincode-input-group {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.pincode-input-group input {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    flex-grow: 1;
    font-size: 14px;
}

.pincode-input-group .btn-check-pincode {
    background: #a2228e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.pincode-input-group .btn-check-pincode:hover {
    background: #8e1d7c;
}

.size-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a2228e;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 18px;
    border: 1px dashed #a2228e;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    font-size: 14px;
}

.size-guide-link:hover {
    background: rgba(162, 34, 142, 0.05);
    color: #a2228e;
    border-style: solid;
}

.sidebar-product-details {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

.sidebar-detail-item {
    margin-bottom: 20px;
}

.sidebar-detail-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-youtube {
    background: #FF0000;
    color: white !important;
    border-radius: 8px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #FF0000;
}

.btn-youtube:hover {
    background: #cc0000;
    border-color: #cc0000;
    color: white !important;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.review-section-main {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.review-header {
    margin-bottom: 30px;
}

.product-image-slider .slick-prev,
.product-image-slider .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
    background: #fff !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    transition: all 0.3s;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    /* Hide by default */
    visibility: hidden;
}

.box-main-gallery:hover .slick-prev,
.box-main-gallery:hover .slick-next {
    opacity: 1;
    /* Show on hover */
    visibility: visible;
}

.product-image-slider .slick-prev {
    left: 15px;
}

.product-image-slider .slick-next {
    right: 15px;
}

.product-image-slider .slick-prev:hover,
.product-image-slider .slick-next:hover {
    background: #a2228e !important;
    border-color: #a2228e;
}

.product-image-slider .slick-prev i,
.product-image-slider .slick-next i {
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-slider .slick-prev:hover i,
.product-image-slider .slick-next:hover i {
    color: #fff;
}

@media (max-width: 991px) {
    .detail-gallery {
        flex-direction: column;
    }

    .slider-nav-thumbnails-custom {
        width: 100%;
        margin-top: 15px;
    }

    .box-main-gallery {
        width: 100%;
    }

    .slider-nav-thumbnails-custom .slick-slide {
        padding: 0 5px;
    }
}

/* Sidebar Details Styling */
.sidebar-product-details {
    margin-top: 25px;
}

.sidebar-detail-item {
    margin-bottom: 25px;
    background: #fff;
}

.sidebar-detail-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.sidebar-detail-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 2px;
    background: #a2228e;
}

.product-details-table {
    width: 100%;
    border-collapse: collapse;
}

.product-details-table tr {
    border-bottom: 1px solid #f4f4f4;
    transition: background 0.2s;
}

.product-details-table tr:hover {
    background: #fafafa;
}

.product-details-table tr:last-child {
    border-bottom: none;
}

.product-details-table td {
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.4;
}

.product-details-table .label-cell {
    font-weight: 600;
    color: #555;
    width: 35%;
    padding-right: 15px;
}

.product-details-table .value-cell {
    font-weight: 500;
    color: #111;
}

.description-content {
    line-height: 1.6;
    color: #444;
    font-size: 14px;
}