﻿.product-gallery {
    height: 440px;
    background: #fafafa;
    border-radius: 20px
}

    .product-gallery .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center
    }

    .product-gallery .swiper-zoom-container, .product-gallery .swiper-zoom-container img {
        width: 100%;
        height: 100%
    }

        .product-gallery .swiper-zoom-container img {
            object-fit: contain;
            padding: 16px
        }

.product-gallery-empty {
    height: 440px;
    background: #fafafa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #d4d4d4
}

.product-gallery-thumb {
    margin-top: 10px
}

    .product-gallery-thumb .swiper-slide {
        height: 78px;
        border: 1px solid #e5e5e5;
        border-radius: 14px;
        background: #fff;
        padding: 5px;
        cursor: pointer;
        opacity: .65
    }

    .product-gallery-thumb .swiper-slide-thumb-active {
        border-color: #b20c19;
        opacity: 1
    }

    .product-gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain
    }

.product-gallery .swiper-button-next, .product-gallery .swiper-button-prev {
    color: #b20c19
}

.product-gallery .swiper-pagination-bullet-active {
    background: #b20c19
}

.product-badge {
    border-radius: 20px;
    padding: 6px 11px;
    font-size: 12px
}

.product-short {
    color: #5f5f5f;
    line-height: 1.9
}

.variant-group {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 9px
}

.variant-option {
    min-height: 42px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #fff;
    padding: 7px 14px;
    transition: .18s
}

    .variant-option:hover {
        border-color: #b20c19
    }

    .variant-option.active {
        color: #fff;
        background: #111;
        border-color: #111
    }

    .variant-option:disabled {
        opacity: .35;
        cursor: not-allowed
    }

.variant-color {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 50%;
    vertical-align: middle;
    margin-inline-end: 6px
}

.quantity-control {
    display: flex;
    width: max-content;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

    .quantity-control button {
        width: 40px;
        height: 40px;
        border: 0;
        background: #fff;
        font-size: 20px
    }

    .quantity-control input {
        width: 48px;
        border: 0;
        text-align: center;
        background: #fff
    }

.product-tab-content {
    min-height: 170px
}

.product-tab-empty {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center
}

    .product-tab-empty i {
        font-size: 40px;
        color: #c8c8c8
    }

.spec-table th {
    width: 30%;
    background: #fafafa
}

.related-products-slider .swiper-slide {
    height: auto
}

.related-products-slider .product-box {
    height: 100%
}

@media(max-width:767.98px) {
    .product-gallery, .product-gallery-empty {
        height: 320px
    }

    .spec-table th {
        width: 40%
    }
}
