﻿#intro {
    position: relative;
}

    #intro .control-box {
        position: absolute;
        bottom: 120px;
        left: 0;
        width: 100%;
        padding: 15px;
        display: none;
    }

        #intro .control-box .control ul.slick-dots {
            margin: 0;
            padding: 0;
            list-style: none;
        }

            #intro .control-box .control ul.slick-dots li {
                display: inline-block;
                margin: 3px;
            }

                #intro .control-box .control ul.slick-dots li button {
                    width: 14px;
                    height: 14px;
                    background: #ddd;
                    border-radius: 100%;
                    overflow: hidden;
                    text-indent: 30px;
                    border: none !important;
                    padding: 0;
                    outline: none !important;
                }

                #intro .control-box .control ul.slick-dots li.slick-active button {
                    background: #ccc;
                }



.boxCaptcha {
    background: url(/content/view/img/bgcaptcha.png);
    text-align: center;
    width: 140px;
    font-weight: bold;
    color: #000;
    font-family: monospace, monospace;
    font-size: 19pt;
    text-transform: uppercase;
    position: relative;
    z-index: 0;
    margin-bottom: 15px;
}

    .boxCaptcha span {
        font-family: var(--font-utm-avo);
        font-size: var(--font-size-30px-22-5pt);
    }

    .boxCaptcha .over {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .boxCaptcha a {
        z-index: 1;
        width: 30px;
        height: 24px;
        display: block;
        display: block;
        position: absolute;
        top: 50%;
        margin-top: -12px;
        right: -32px;
        color: inherit !important;
        text-align: center;
    }

.info_box {
    height: 100%;
}

@media(min-width:992px) {
    .sigma_header-controls,
    .sigma_header .aside-toggle, .sigma_header .aside-toggle.desktop-toggler {
        display: none;
    }
}


/* Container */
.owl-carousel-wrapper {
    position: relative;
    padding: 0 70px; /* Tạo khoảng trống cho nút */
}

.owl-carousel {
    position: relative;
}

/* Navigation */
.owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 140px); /* Bù cho padding */
    left: -70px;
    display: flex;
    justify-content: space-between;
}

    .owl-nav div[class*="owl"] {
        pointer-events: auto;
        width: 40px;
        height: 40px;
        background: #3B6FB5;
        color: #fff;
        border-radius: 3px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

        .owl-nav div[class*="owl"]:hover {
            background: #333;
            color: #fff;
            border-color: #333;
            transform: scale(1.05);
        }

        .owl-nav div[class*="owl"].disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }



/* SCROLL TO TOP */
#scrollToTop {
    position: fixed;
    bottom: 85px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #1e5ba8;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    #scrollToTop:hover {
        background: #164a8e;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    #scrollToTop:active {
        transform: translateY(0);
    }

    /* Icon mũi tên */
    #scrollToTop i {
        position: absolute;
        top: 0;
        left: 5px;
        color: #fff;
        font-size: 24pt;
        width: 34px;
        display: block;
    }

    /* Text TOP */
    #scrollToTop .text {
        color: white;
        font-size: 10px;
        font-weight: bold;
        font-family: Arial, sans-serif;
        letter-spacing: 0.5px;
        display: block;
        margin-top: 17px;
    }
/* /SCROLL TO TOP */


.bg-white {
    background: #fff;
}


.accordion {
    --bs-accordion-border-color: #D4D4D4;
    --bs-accordion-border-width: 1px;
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-active-bg: #0063D1;
    --bs-accordion-btn-bg: #0063D1;
    --bs-accordion-active-color: #fff;
    --bs-accordion-btn-color: #fff;
    --bs-accordion-btn-padding-y: 12px;
    --bs-accordion-btn-padding-x: 12px;
}

.accordion-item {
    border: none;
    margin-bottom: 2px;
}

    .accordion-item .accordion-collapse {
        border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
    }

.accordion-button {
    outline: none;
    font-size: 10pt;
    gap: 10px;
}

    .accordion-button::after {
        flex-shrink: 0;
        width: 1.25rem;
        height: 1.25rem;
        margin-left: auto;
        background-repeat: no-repeat;
        background-size: 1.25rem;
        transition: transform 0.2s ease-in-out;
    }

    /* Icon + (collapsed) - MÀU TRẮNG */
    .accordion-button.collapsed::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z'/%3e%3c/svg%3e");
    }

    /* Icon - (expanded) - MÀU TRẮNG */
    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8Z'/%3e%3c/svg%3e");
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(255,255,255,.2);
    }

    .accordion-button i {
        width: 24px;
        height: 24px;
        border-radius: 100%;
        line-height: 24px;
        text-align: center;
        font-size: 13pt;
    }

.accordion-body {
    font-size: 10pt;
    color: #282828;
}

    .accordion-body p {
        font-size: inherit;
        line-height: 20px;
    }

/* Product Gallery Container */
.product-gallery {
    display: flex;
    gap: 10px;
    width: 100%;
    height: auto;
}

/* Thumbnail Slider (Bên trái) */
.thumbnail-slider {
    width: 60px;
    flex-shrink: 0;
}

    .thumbnail-slider > div {
        margin-bottom: 8px;
        cursor: pointer;
        transition: all 0.3s;
        overflow: hidden;
    }

        .thumbnail-slider > div:hover {
            border-color: #007bff;
        }

        .thumbnail-slider .slick-slide.slick-current > div,
        .thumbnail-slider > div.active {
            border-color: #007bff;
        }

    .thumbnail-slider img {
        width: 100%;
        object-fit: cover;
        display: block;
        margin-bottom: 3px;
        border: 1px solid #BFBFBF;
    }

/* Video Thumbnail Icon */
.video-thumbnail {
    position: relative;
}

    .video-thumbnail::before {
        content: '▶';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 24px;
        color: white;
        background: rgba(0, 0, 0, 0.6);
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        z-index: 1;
    }



/* ===== Arrows ===== */
.thumb-prev,
.thumb-next {
    width: 100%;
    height: 35px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s;
    flex-shrink: 0;
}

    .thumb-prev:hover,
    .thumb-next:hover {
        background: #000;
    }

/* ===== Thumbnail Slider Wrapper ===== */
.thumbnail-slider-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* ✅ VERTICAL TRANSFORMATION */

.thumbnail-slider .owl-stage-outer {
    height: 100%;
}

.thumbnail-slider .owl-stage {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    width: 100% !important;
}

.thumbnail-slider .owl-item {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 10px;
}

    .thumbnail-slider .owl-item:last-child {
        margin-bottom: 0;
    }

/* ===== Thumbnail Items ===== */
.thumbnail-slider .item {
    position: relative;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 1px solid #BFBFBF;
    border-radius: 0;
    overflow: hidden;
}

    .thumbnail-slider .item:hover {
    }

    .thumbnail-slider .item.active {
        opacity: 1;
        border-color: #007bff;
    }

    .thumbnail-slider .item img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Thumbnail Icons */
.thumbnail-slider .thumb-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

/* Main Slider (Ảnh lớn) */
.main-slider {
    flex: 1;
    width: calc(100% - 90px);
}

    .main-slider > div {
        position: relative;
        width: 100%;
    }

    .main-slider img {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
        display: block;
        background-color: #f8f9fa;
    }

/* 360 View Badge */
.view-360 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.3s;
}

    .view-360:hover {
        background: #007bff;
        color: white;
        transform: scale(1.05);
    }

/* Slick Slider Custom Styles */
.thumbnail-slider .slick-list {
    margin: 0;
}

.thumbnail-slider .slick-track {
    display: flex;
    flex-direction: column;
}

.thumbnail-slider .slick-slide {
    margin: 0 0 3px 0;
}

.thumbnail-slider .slick-arrow {
    display: none !important;
}

/* Main Slider Navigation */
.main-slider .slick-prev,
.main-slider .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 10;
}

    .main-slider .slick-prev:hover,
    .main-slider .slick-next:hover {
        background: rgba(0, 0, 0, 0.8);
    }

.main-slider .slick-prev {
    left: 10px;
}

.main-slider .slick-next {
    right: 10px;
}

    .main-slider .slick-prev:before,
    .main-slider .slick-next:before {
        font-size: 24px;
    }

.viewer-360-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    pointer-events: none;
    animation: fadeInOut 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 991px) {
    .product-gallery {
    }

    /* Hide scrollbar */
    .thumbnail-slider::-webkit-scrollbar {
        height: 4px;
    }

    .thumbnail-slider::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }
}

@media (max-width: 575px) {
    .thumbnail-slider > div {
        width: 60px;
    }

    .thumbnail-slider img {
        height: 60px;
    }

    .main-slider img {
        max-height: 300px;
    }

    .view-360 {
        padding: 6px 10px;
        font-size: 12px;
        bottom: 10px;
        left: 10px;
    }

    .sigma_product-detail-title {
        font-size: 18pt;
    }

    .sigma_product-detail-headline {
        margin: 30px 0 0;
    }
}

/* View Video Button */
.view-video-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .view-video-btn:hover {
        background: rgba(220, 53, 69, 1);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    }

    .view-video-btn i {
        font-size: 18px;
    }

/* Video Modal Custom Styles */
#videoModal .modal-content {
    background: #000;
    border: none;
}

#videoModal .modal-header {
    background: #000;
    color: white;
    border-bottom: 1px solid #333;
}

#videoModal .modal-body {
    padding: 0;
    background: #000;
}

#videoModal .btn-close {
    filter: invert(1);
    opacity: 1;
}

    #videoModal .btn-close:hover {
        opacity: 0.7;
    }

/* Video Thumbnail Play Icon */
.video-thumbnail {
    position: relative;
}

    .video-thumbnail::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 34px;
        height: 34px;
        background: rgba(220, 53, 69, 0.9);
        border-radius: 50%;
        z-index: 1;
    }

    .video-thumbnail::after {
        content: '▶';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-40%, -50%);
        font-size: 20px;
        color: white;
        z-index: 2;
    }

/* Responsive */
@media (max-width: 575px) {
    .view-video-btn {
        padding: 8px 15px;
        font-size: 12px;
        bottom: 10px;
        left: 10px;
    }

        .view-video-btn i {
            font-size: 14px;
        }
}
