.product-popup__text-wrap{
    max-height: 623px;
}

.product-popup__info{
    flex: 0 0 auto;
}

.product-popup__table{
    flex: 1 1 auto;
}

.product-popup__buy button[type="submit"] {
    border: 2px solid #EEE7D6 !important;
}

.product-popup__buy button[type="submit"]:hover {
    border: 2px solid #272625 !important;
}

.qty-minus:hover, .qty-plus:hover{
    color: #E6AB30;
    border-color: #E6AB30 !important;
}

.match__image img{
    aspect-ratio: 4 / 5;
    width: 100%;
}

.match__image{
    border-radius: 10px;
    overflow: hidden;
}

.comparison__oil {
    background: #FEFEFD!important;
}

@media (min-width: 992px) {
    .comparison__oil {
        background: linear-gradient(163.63deg, #FEFEFE 8.94%, #F4F0EA 216.06%)!important;
     }
}


.section__checkout .woocommerce-checkout-payment .wc_payment_method.payment_method_cod.wrap__radio input{
    display: block!important;
}

.section__about-factory .about-factory__image video{
    height: 480px;
    width: 384px;
    aspect-ratio: 4 / 5;
}

@media (min-width: 992px) {
    .section__about-factory .about-factory__image {
        justify-content: center;
    }
}

.rights__header{
    font-size: 28px;
}

@media (min-width: 992px) {
    .rights__header {
        font-size: 48px;
    }
}

.section__rights .rights__header {
    margin-top: 80px;
}

@media (min-width: 992px) {
    .section__rights .rights__header {
        margin-top: 110px;
    }
}


#video-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 140px !important;
    height: 250px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    z-index: 1000;
    transform: none !important;
    transition: none !important;
}
#video-widget img,
#video-widget iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
/* Затемняем превью */
#video-preview {
    filter: brightness(80%);
    cursor: pointer;
}
/* Сам iframe под видео сначала скрыт */
#video-iframe {
    display: none;
    border: none;
}
/* Кнопка закрытия */
#video-close-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    border-radius: 10%;
    cursor: pointer;
    z-index: 1002;
}
/* Кнопка «Дивитись відео» */
#video-play-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 1002;
}
@media (min-width: 768px) {
    #video-widget {
        width: 200px !important;
        height: 356px !important;
    }
}