/* { 
    zoom: 0.998; 
    -moz-transform: scale(0.998); 
    -moz-transform-origin: 0 0;
} */


div[title='Двойной щелчок - Добавить включаемую область текущего раздела'] {
    min-width: 13px;
    min-height: 13px;
}
.owl-carousel .owl-item img, .products-list .item-img img, .products-list .ih-img img {
    max-height: 222px;
}

.product-page .product-gallery #card-pager a {
    text-align: center;
}


.fphr-favorites a.active {
    color: #02a7e7;
}
.fphr-favorites a.active span {
    border-bottom-color: #02a7e7;
}
.fphr-favorites a.active .i-square {
    border-color: #02a7e7;
}
.fphr-favorites a.active span {
    border-bottom-color: #02a7e7;
}
.fphr-favorites a.active .i-square {
    border-color: #02a7e7;
}
.fphr-favorites a.active .i-square:after {
    opacity: 1;
}
.product-info-right a.active {
    color: #02a7e7;
}

.product-info-right a.active span {
    border-bottom-color: #02a7e7;
}

.product-info-right a.active .i-square {
    border-color: #02a7e7;
}

.product-info-right a.active .i-square:after {
    opacity: 1;
}


#add_review_popup {
    width: 990px; }
#add_review_popup .popup-container {
    text-align: center;
    padding: 50px 75px 0; }
#add_review_popup .popup-container .popup-container-content {
    text-align: left;
}
#add_review_popup h3 {
    margin: 35 0 25px; }
#add_review_popup .owl-nav {
    position: static; }
#add_review_popup .owl-prev, #add_review_popup .owl-next {
    width: 17px;
    height: 60px;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    border: none; }
#add_review_popup .owl-prev:before, #add_review_popup .owl-prev:after, #add_review_popup .owl-next:before, #add_review_popup .owl-next:after {
    display: none; }
#add_review_popup .owl-prev {
    left: -40px;
    background: url(../img/prev.png) no-repeat center center; }
#add_review_popup .owl-next {
    right: -40px;
    background: url(../img/next.png) no-repeat center center; }
#add_review_popup .owl-carousel {
    text-align: left; }
#add_review_popup .mailcheck {
    display: none;
}



.no-margin {
    margin: 0;
}
.margin-bottom-10 {
    margin-bottom: 10px;
}
.margin-bottom-20 {
    margin-bottom: 20px;
}
.margin-bottom-30 {
    margin-bottom: 30px;
}
.margin-bottom-40 {
    margin-bottom: 40px;
}

.news-list .news-item .date, .news-detail .date {
    display: block;
    color: #1da5de;
    font-weight: bold;
}
.news-list .news-item .news-img {
    /* min-height: 181px; */
}

.filter-item{
    margin: 0px;
}
.filter-item-count {
    color: #1da5de;
}

.form-label {
    float: left;
    width: 25%;
    padding-top: 10px;
}

.bx-authform form {
    max-width: 930px;
}

.bx-authform {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: content-box;
}

.bx-authform h3 {
    border-bottom: solid 1px #cac9c9;
    margin: 85px 0 50px 0;
    line-height: 1.3;
}

.full-width {
    width: 100%;
}


td.table-delimiter {
    border: none;
}
.sale-order-list-container td, .sale-order-list-container th {
    vertical-align: middle;
}
.sale-order-list-container #payButton,
.thanks-after-order #payButton {
    background: #02aaeb;
    background: linear-gradient(to bottom, #02abed, #02a4e3, #0493cc);
    color: white !important;

    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    height: 38px;
    line-height: 38px;
    padding: 0 26px;
    border-radius: 4px;
    font-size: 13.75px;
    font-weight: bold;
    font-family: Raleway, sans-serif;
    font-display: swap;
    transition: all 0.3s ease-out;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    text-align: center;
}
.sale-order-list-container .order-sum {

    vertical-align: middle;
    padding: 15px 0;
}

.filter-item a {
  color: #1a1a18;
}

.filter-item span {
  color: #1a1a18;
}

.no_events_loading {
    opacity: 0.3;
}
.item-horizontal{
    padding-top: 30px;
}
.item-label-wrapper{
    width: 52%;
    display: inline-block;
    position: relative;
}

.item-label-wrapper.item-label-wrapper-horizontal{
    position: absolute;
    display: flex;
    left: 12px;
    top: 12px;
    min-width: 270px;
}

.item-label-wrapper.item-label-wrapper-horizontal .item-label{
    width: 30%;
    display: inline-block;
}

.item-label-wrapper-big .item-label{
    width: 40%;
    padding: 12px 0;
    font-size: 16px;
    max-width: 130px;
}

.item-label{
    color: #fff;
    font-size: 12px;
    padding: 7px 0;
    display: block;
    margin-bottom: 10px;
    text-align: center;
    width: 80%;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid;
    cursor: default;
    max-width: 100px;
}

.item-newproduct{
    background-color: #b6c939;
}

.item-aktsionnyy-tovar{
    background-color: #c22328;
}

.item-saleleader{
    background-color: #fcc000;
}

@media (min-width:1600px) {
    .item-label-wrapper-big .item-label{
        width: 36%;
        padding: 10px 0;
    }
}

/*
@media (min-width:1200px) {
    html {
        zoom: 90%;
        -moz-transform: scale(0.9);
        -moz-transform-origin: 50% 0;
        overflow-x: hidden;
    }
    #full-page {
        max-width: none;
        !*zoom: 90%;*!
        !*-moz-transform: scale(0.9);*!
        !*-moz-transform-origin: 0 0;*!
    }

}*/
@media (max-width:400px) {
    #added_to_cart_popup .popup-container {
        padding: 10px 5px 0;
    }

    #added_to_cart_popup .popup-container p {
        height: 42px;
    }

}

/*таблица отзывов с iframe - yandex, google*/
.otzyvy-iframes{

}
.otzyvy-iframes th{
    min-width: 200px;

}
.otzyvy-iframes td{
    padding: 16px;
}
.otzyvy-iframes .wrapper-frame {

}
.otzyvy-iframes-wrapper-mobile, .otzyvy-iframes-wrapper-mobile *  {
    overflow: hidden;
    min-width: auto;
}


.otzyvy-iframes .wrapper-frame iframe {
    width: 90%;
    height: 600px;
    min-width: 400px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-sizing: border-box
}
.otzyvy-iframes-wrapper-mobile .wrapper-frame-google iframe {
    height: 400px;
}

@media (min-width:960px) {
    .otzyvy-iframes-wrapper {
        display: block;
    }
    .otzyvy-iframes-wrapper-mobile {
        display: none;
    }
}
@media (max-width:960px) {
    .otzyvy-iframes-wrapper-mobile {
        display: block;
    }
    .otzyvy-iframes-wrapper {
        display: none;
    }
}
@media (max-width:560px) {
    .otzyvy-iframes .wrapper-frame iframe {
        min-width: 100%;
    }
}
/* Fix for default product images */
.products-list .item-img img[src*="no-photo"] {
    max-height: 222px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Fix product card height alignment */
.products-list .item-img {
    height: 222px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Restore 5 items per row layout for search pages */
.products-list--tile-view .item-outer {
    width: 20% !important;
    float: left !important;
    padding: 0 12px !important;
}

.products-list--tile-view .item-outer:nth-child(3n+1) {
    clear: none !important;
}

.products-list--tile-view .item-outer:nth-child(4n+1) {
    clear: none !important;
}

.products-list--tile-view .item-outer:nth-child(5n+1) {
    clear: both !important;
}

.products-list--tile-view .item-outer:nth-child(6n+1) {
    clear: none !important;
}

.products-list--tile-view {
    margin: 35px -12px !important;
}

/* Override media queries */
@media screen and (max-width: 1800px) {
    .products-list .item-outer {
        width: 20% !important;
    }
    .products-list .item-outer:nth-child(4n+1) {
        clear: none !important;
    }
    .products-list .item-outer:nth-child(5n+1) {
        clear: both !important;
    }
}

@media screen and (max-width: 1400px) {
    .products-list .item-outer {
        width: 20% !important;
    }
    .products-list .item-outer:nth-child(3n+1) {
        clear: none !important;
    }
    .products-list .item-outer:nth-child(5n+1) {
        clear: both !important;
    }
}

/* Исправление выравнивания изображений в блоке "Недавно вы смотрели" */
/* Добавлено 22.09.2025 для корректного центрирования изображений Servfaces */
.item-image,
.item-img {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden;
}

.item-image img,
.item-img img {
    flex-shrink: 0;
    min-width: auto;
    min-height: auto;
    object-fit: contain !important;
    object-position: center center !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Специальная корректировка для блока недавно просмотренных */
.viewed-products .item-image img,
.viewed-products .item-img img,
[id*="viewed"] .item-image img,
[class*="viewed"] .item-image img {
    transform: translateX(0) !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
}


/* MOBILE FIX - MAXIMUM PRIORITY */
@media screen and (max-width: 768px) {
    .products-list--tile-view .item-outer {
        width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        min-width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
        float: none !important;
        margin: 0 0 10px 0 !important;
        display: block !important;
    }
    
    .products-list--tile-view {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 0 10px !important;
        justify-content: flex-start !important;
    }
    
    .products-list--tile-view .item {
        width: 100% !important;
    }
}
