﻿/*#btn-openFilter-mobile {
    width: 50px;
    height: 50px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    position: sticky;
    z-index: 10;
    right: 8px;
    font-size: 30px;
    padding: 7px 0 0 0 !important
}

.product-filter {
    border: 1px solid black;
    border-radius: 12px
}

    .product-filter .line {
        width: 100%;
        height: 1px;
        background: black
    }

    .product-filter .product-filter-title {
        font-weight: 600;
        margin-top: 8px
    }

.price-filter {
    margin-top: 16px;
    border: 1px solid black;
    border-radius: 12px
}
.square-radio input {
    display: none;
}


.square-radio {
    display: inline-block;
}

    .square-radio span {
        position: relative;
    }

        .square-radio span:before,
        .square-radio span:after {
            content: '';
        }

        .square-radio span:before {
            border: 1px solid #222021;
            width: 14px;
            height: 14px;
            margin-right: 10px;
            display: inline-block;
            vertical-align: baseline;
            border-radius: 3px;
        }

        .square-radio span:after {
            background: #4CAF50;
            width: 10px;
            height: 10px;
            position: absolute;
            top: 3px;
            left: 2.2px;
            transition: 300ms;
            opacity: 0;
            border-radius: 2px;
        }

    .square-radio input:checked + span:after {
        opacity: 1;
        color: #4CAF50;
    }

.priceRangeControl {
    align-items: center;
}

.btn-filter-animating {
    animation: btnFilterRotate 0.6s linear infinite alternate;
}

.gallery-wrapper {
    margin: auto;
    position: relative;
}

.main-image {
    pointer-events: auto !important;
    position: relative;
}

    .main-image img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        transition: opacity .3s;
        display: block;
    }*/

/* Nút điều hướng nằm đè lên hình */
/*.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

    .nav-btn i {
        width: 17px;
        height: 21.5px
    }

.gallery-wrapper:hover .nav-btn {
    opacity: 1;
    pointer-events: auto;
}

.nav-btn:hover {
    background: #28a745;
    color: white;
}

.prev-btn {
    left: 10px;
}

    .prev-btn i {
        width: 24px;
        height: 20px;
    }

.next-btn {
    right: 10px;
}

    .next-btn i {
        width: 12px;
        height: 21.5px;
    }*/


/* Thumbnail */
/*.thumbs {
    display: flex;
    gap: 10px;
    padding-top: 5px;
    padding-left: 5px;
    margin-top: 5 px;
    overflow-x: hidden;
    padding-bottom: 5px;
    scroll-behavior: smooth;
}

    .thumbs img {
        width: 100px;
        aspect-ratio: 1/1;
        object-fit: cover;
        border-radius: 8px;
        z-index: 20;
        cursor: pointer !important;
        transition: all .3s;
        border: 2px solid transparent;
        flex-shrink: 0;
        user-select: none;
        pointer-events: auto !important;
    }

        .thumbs img:last-child {
            margin-right: 5px
        }

        .thumbs img.active {
            border-color: #28a745;
            transform: scale(1.05);
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

.product-detail-page .product-input {
    width: 142px;
    height: 42px
}

.product-detail-page .btn-priceNow {
    height: 60px
}

.product-detail-page .btn-addCart {
    height: 60px
}

.btn-priceNow-detail {
    height: 60px;
    border-radius: 8px
}

.btn-addCart-detail  {
    height: 60px;
    border-radius: 8px
}

.product-detail-page .nav-tabs {
    border-bottom: 1px solid #ddd;
}

    .product-detail-page .nav-tabs .nav-link {
        color: #555;
        font-weight: 500;
        padding: 10px 18px;
        border: none;
        transition: 0.3s;
    }

        .product-detail-page .nav-tabs .nav-link.active {
            color: #27ae60 !important;
            border-bottom: 2px solid #27ae60;
            background-color: transparent;
        }

        .product-detail-page .nav-tabs .nav-link:hover {
            color: #2ecc71;
        }


@media (max-width:992px) {
    .product-filter {
        border: none;
        border-radius: 0px
    }

    .square-radio span:after {
        top: -0.5px;
        left: 2.45px;
    }

    .square-radio span {
        font-size: 14px;
        padding-bottom: 2px
    }

        .square-radio span:before {
            width: 12px;
            height: 12px;
            margin-right: 6px;
        }

        .square-radio span:after {
            width: 8px;
            height: 8px;
            top: 3px;
            left: 2.2px;
            opacity: 0;
        }

    .price-filter {
        margin-top: 0px;
        border: none;
        border-radius: 0px
    }
}

@media (max-width:758px) {
    .next-btn i {
        width: 15px;
        height: 15.5px;
    }

    .prev-btn i {
        width: 14px;
        height: 22.5px;
    }
}*/
/*product begin */
.product-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.product-overlay-buttons {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 0.4s ease;
    opacity: 0;
}
.product-card:hover .product-overlay-buttons {
    right: 15px;
    opacity: 1;
}

.product-img-holder img {
    height: 180px;
    object-fit: contain;
}
.pagination .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s;
}

.pagination .page-item.active .page-link {
    background-color: #198754;
    color: white;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
}
/*product end*/
/*product detail begin*/
.section-product-detail {
    padding: 20px 94px;
}
.img-product {
    width: 600px;
    border-radius: 20px;
}
.swiper-wrapper-product-detail {
    height:450px;
}
.swiper-slide img {
    max-width: 100%;
    height: 422px;
    border-radius: 20px;
}

.thumbs-slider .swiper-slide-thumb-active img {
    border: 4px solid #094533;
}
.thumbs-slider .swiper-slide img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.thumbs-slider .swiper-slide {
    opacity: 0.8;
}

.thumbs-slider .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}
.swiper-button-prev,
.swiper-button-next {
    color: #094533;
}
.summary-detail {
    font-size: 20px;
    line-height: 2;
}
.name-product {
    color: var(--color-default);
    font-weight: bold;
}
.desc-product {

}
.spec-product {
    font-size:16px;
}
.buy-number-product {
    display:inline;
}
.price-product {
    display: inline;
}
.price-product-origial {
    text-decoration: line-through;
    color: #ccc;
}
.btn-buy-number {
    background: none;
    color: #000;
    border: 1px solid #ccc;
    margin: 12px;
    padding: 0px 30px;
}
/*product detail end*/
