body {
    font-family: 'Inter', sans-serif;
}

/* h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
} */

.home, .page {
    padding-top: 150px;
}

h2 {
    font-size: 28px;
}

.col-20 {
    width: 20%;
    padding: 0 8px;
}

.downloadButton {
    color: #333333;
    border: 2px solid #161616;
    background-color: #ffffff;
    transition: 0.15s;
    justify-content: initial;
    width: 100%;
    margin-bottom: 8px;
}

.downloadButton:hover {
    background: #1e1e1e;
    color: #ffffff;
}

.downloadButton svg {
    width: 20px;
    right: 20px;
    position: absolute;
}

.downloadButton img {
    width: 20px;
    margin-right: 10px;
}

.distribution-page .product-image img {
    width: inherit;
    height: inherit;
    object-fit: contain;
    padding: 20px;
}

.page.page-acticle .box-text:not(.article-products) img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d1d1;
    box-shadow: 7px 14px 11px 2px #d9d9d9;
}

hr {
    border-top: 1px solid #fbfbfb;
}

.page-acticle .box-text li {
    font-size: 18px;
}

.fancybox-slide:before {
    display: none !important;
}

.fancybox-is-open .fancybox-toolbar {
    visibility: visible;
    opacity: 1;
}

.table, table {
    box-shadow: 1px 2px 5px 2px #00000012;
}

.table thead tr, table thead tr {
    background: #f5f5f5;
}

.page-acticle .box-text a,
.page-acticle .box-text b {
    display: inline;
}

.page-acticle .box-text:not(.article-products) a {
    display: initial;
    text-decoration: underline;
    color: #7C0DC6;
    text-decoration: underline;
}

.page-acticle .box-text b {
    font-weight: 500;
}


.page-acticle .box-text p,
.page-acticle .box-text li {
    line-height: 28px;
}

.page-acticle .box-text table td {
    padding: 4px 12px;
    font-size: 14px;
}

.page-acticle .box-text .btn.btn-accent {
    text-decoration: none;
    margin-top: 15px;
}

/* Стили для оценки статей */
.article-rating-btn.active {
    opacity: 1;
    position: relative;
}

.article-rating-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #f19c3e;
    border-radius: 50%;
}

.article-rating-btn {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.article-rating-btn:hover {
    opacity: 1;
}


.page-news .news-box-max img {
    width: fit-content;
}

.page-news .news-box-max {
    background: linear-gradient(to right, rgba(245, 223, 255, 0.2), rgba(157, 207, 252, 0.2));
}


.page-news .news-box-max .price {
    margin-top: 15px;
}

.page-news .news-box-max .promo-label-list {
    margin-bottom: 15px;
}

/* Стили для выравнивания элементов в блоке price */
.news-box-max .price {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.news-box-max .price .new-price {
    margin-right: 20px;
}

.news-box-max .price > div {
    display: flex;
    align-items: left;
}

/* Стили для тегов статей */
.article-tags {
    margin: 30px 0;
}

.article-tags__title {
    font-weight: 500;
    margin-right: 15px;
    font-size: 16px;
}

.list-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.list-tags li {
    margin: 0 10px 10px 0;
}

.list-tags a {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    background: #F8F3FC;
    color: #7C0DC6;
    font-size: 14px;
    transition: all 0.3s ease;
}

.list-tags a:hover {
    background: #7C0DC6;
    color: #fff;
    text-decoration: none;
}


/* Стили для тегов статей */
.article-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tag {
    display: inline-block;
    padding: 3px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: background 0.2s;
}

.article-tag:hover {
    background: #e0e0e0;
    color: #333;
}

.article-tag-more {
    display: inline-block;
    padding: 3px 8px;
    background: #eaeaea;
    border-radius: 4px;
    font-size: 12px;
    color: #777;
}

/* Стили для блока с популярными тегами */
.tags-cloud {
    margin-bottom: 30px;
}

.tags-cloud-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag-cloud-item,
.list-tags a.tag-cloud-item {
    display: inline-block;
    padding: 5px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-cloud-item:hover,
.list-tags a.tag-cloud-item:hover {
    background: #e8e8e8;
}

.tag-count {
    display: inline-block;
    margin-left: 5px;
    font-size: 11px;
    color: #777;
}

.recommended {
    overflow: hidden;
}

.distribution-page h2 {
    font-size: 18px;
    margin: 20px 0;
    font-weight: 500;
    line-height: 24px;
}

.distribution-page h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    margin: 10px 0;
}

.distribution-page h4 {
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
    margin: 10px 0;
}

.distribution-page .disctribution-content .box-text p,
.distribution-page .disctribution-content .box-text ul,
.distribution-page .disctribution-content .box-text ol {
    font-size: 14px;
}
.page-product h1 {
    font-size: 22px;
    font-weight: 500;
    color: #161616;
}

.about-in-numbers-box {
    padding: 32px 18px;
}


.panel_heading .block_title {
    padding: 12px 20px;
}

.panel_heading.in .block_title {
    padding: 12px 20px;
}

.block_hover {
    padding: 0 24px 15px
}

.shiny-gold-button {
    position: relative;
    overflow: hidden;
}

.shiny-gold-button::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    background: -webkit-gradient(linear, left top, right top, color-stop(10%, hsla(0, 0%, 100%, .1)), color-stop(20%, hsla(0, 0%, 100%, .2)), to(hsla(0, 0%, 100%, .6)));
    background: linear-gradient(90deg, hsla(0, 0%, 100%, .1) 10%, hsla(0, 0%, 100%, .2) 20%, hsla(0, 0%, 100%, .6));
    width: 20px;
    -webkit-transform: skewX(-45deg);
    transform: skewX(-45deg);
    left: -20%;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    -webkit-animation-name: blick;
    animation-name: blick;
    -webkit-animation-duration: 5s;
    animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}


@keyframes blick {
    15%, to {
        left: 110%
    }
}

.optimal-template .checkout-box {
    top: 140px
}

.checkout-box-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.checkout-box-wrap .old-price {
    font-size: 20px;
}

.checkout-box-wrap .sale-price {
    font-size: 32px;
}

.checkout-box-wrap .price {
    font-size: 32px;
}

.checkout-box-wrap .shiny-gold-button {
    min-width: 360px;
}

.checkout-box .old-price {
    font-weight: 800;
    color: #767676;
}

.page-product .col-55 h1 {
    font-size: 24px;
}

.page-product .col-45 .product-image-wrapper {
    padding-right: 40px;
}


.page-product .col-55 .checkout-column {
    display: none;
}


.subtitle-product {
    width: 100%;
    display: block;
}

.distribution-page.page-product .col-55 h1 {
    font-size: 20px;
    padding-bottom: 20px;
}

.product-info-box__head {
    margin: 12px 0 0;
}

.delivery-instant img {
    width: 36px;
}

.page-acticle .box-text .copy-line {
    margin: 8px 0 10px;
    background-color: #252525;
    color: #cfcfcf;
}


.checkout-box .sale-price {
    color: #363636;
    font-weight: 800;
}

.product-info-box .list-characteristics li::before {
    border-bottom: 2px dotted #d9d9d9;
    background: none;
}

.product-info-box__head {
    justify-content: space-between;
}

.product-info-box__head .ya-share2 {
    height: 25px;
}

.optimal-template .product-info-box__head.d-pc .list-rating {
    color: #F2994A;
    font-weight: 700;
    font-size: 14px;
}

.list-rating li svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
}

.optimal-template .product-info-box__head.d-pc .list-rating li svg {
    width: 17px;
    height: 17px;
    min-width: 12px;
}

.optimal-template .product-info-box__head.d-pc .list-rating li span {
    font-size: 16px;
    font-weight: 900;
}

.reviews-product-box {
    border: 1px solid #e6e6e6;
}

.reviews-product-box .list-rating li span {
    color: #717171;
    font-weight: 900;
    font-size: 14px;
}

/*.optimal-template .product-info-box__head.d-pc .rating-value {*/
/*    text-decoration: underline;*/
/*    border-bottom: none;*/
/*    font-size: 14px;*/
/*}*/

.product-info-box .list-characteristics li span,
.product-info-box .list-characteristics li a {
    font-size: 14px;
    font-weight: 600;
}

.optimal-template .product-image {
    width: 100%;
    height: auto;
}

.optimal-template .tabs__content .box-text p,
.optimal-template.page-product .box-text ul,
.optimal-template.page-product .box-text ol,
.faq .tabs__content .box-text p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 10px;
}

.optimal-template .attention-box {
    max-width: 100%;
    width: 100%;
    margin: 15px 0 25px;
    padding: 24px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(90deg, #18181b 0, #342a41 100%);
    border: none;
    position: relative;
}

.optimal-template .attention-box:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;

    width: 204px;
    height: 127px;
    background: url(../img/decor-bg2.svg) no-repeat center;
    background-size: 100%;
}

.page-product .attention-box .box-text a {
    color: #fff;
    text-decoration: underline;
}

/* Стили для информационной плашки о ключах */
.key-info-box {
    width: 100%;
    margin: 20px 0;
    border-radius: 16px;
    background-color: #eff7fe;
    border: 1px solid #bdd4e5;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    box-shadow: none;
    transition: none;
}

 /* Базовые стили для информационного баннера */
 .key-info-box.info-banner {
     max-width: 310px;
     width: 100%;
     margin: 20px 0 20px auto;
 }

 /* Цветовые схемы для информационного баннера */
 .info-banner--hot {
     background-color: #ff980012;
     border-color: #ff980024;
 }

 .info-banner--new {
     background-color: #1e9b1812;
     border-color: #1e9b1824;
 }

 .info-banner--sale {
     background-color: #f4433612;
     border-color: #f4433624;
 }

 .info-banner--popular {
     background-color: #2196f312;
     border-color: #2196f324;
 }

 .info-banner--limited {
     background-color: #9c27b012;
     border-color: #9c27b024;
 }

 /* Обратная совместимость */
 .key-info-box.popular-product-info {
     background-color: #1e9b1812;
     border: 1px solid #1e9b1824;
     max-width: 310px;
     width: 100%;
     margin: 20px 0 20px auto;
 }
.key-info-box.key-info-box.mobile {
    display: none;
}



.key-info-box__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.key-info-box__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #333333;
}

.key-info-box__icon-inline {
    display: inline-block;
    vertical-align: top;
    margin-right: 6px;
}

.key-info-box__icon-inline svg {
    width: 14px;
    height: 14px;
    color: #007aff;
}

.key-info-box__button {
    margin-top: 5px;
    background-color: #434343;
    color: #ffffff !important;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
}

.key-info-box__button:hover {
    background-color: #3e3e3e;
}

.key-info-box__button:active {
    transform: scale(0.98);
}

.key-info-box__button svg {
    width: 12px;
    height: 12px;
}


/* Мобильная адаптация */
@media (max-width: 767px) {
    .key-info-box {
        padding: 12px 16px;
        margin: 16px 0;
    }

    .key-info-box__icon-inline svg {
        width: 14px;
        height: 14px;
    }

    .key-info-box__text {
        font-size: 13px;
    }

    .key-info-box__button {
        font-size: 12px;
        padding: 5px 10px;
    }
}

.checkout-box .new-price {
    font-weight: 800;
}

.checkout-box .sale-value {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 4px 5px;
}

.checkout-box .availability-in-stock {
    color: #1e9b18;
    font-weight: 800;
}

.checkout-box .availability-out-stock {
    color: #FF0000;
    font-weight: 800;
}

.checkout-box .list-loyalty li img {
    width: 20px;
    margin-right: 5px;
}

.checkout-box .list-loyalty.list-characteristics li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkout-box .list-loyalty.list-characteristics span {
    font-size: 13px;
    text-align: left;
    font-weight: 800;
    color: #7a7a7a;
}


.availability-status {
    display: flex; /* Располагает кружок и текст в один ряд */
    align-items: center; /* Выравнивает их по центру вертикально */
    /* Добавьте другие стили для позиционирования этого блока, если нужно */
    /* Например, отступы: margin-bottom: 10px; */
}

.pulsating-dot {
    width: 10px; /* Размер кружка */
    height: 10px; /* Размер кружка */
    background-color: #1E9B18; /* Зеленый цвет (можете выбрать свой оттенок) */
    border-radius: 50%; /* Делает его круглым */
    margin-right: 8px; /* Отступ справа от текста */
    animation: pulse 1.5s infinite ease-in-out;
}

.phone-link, .mail-link {
    margin-bottom: 8px;
}


/* Анимация пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3); /* Немного увеличиваем размер в середине анимации */
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.ordered-product {
    border-radius: 0;
    border: none;
}
/* Стили для текста, если нужно (необязательно) */
.availability-text {
    font-size: 14px; /* Пример размера шрифта */
    color: #1E9B18; /* Пример цвета текста */
    font-weight: 800;
}

.black .availability-text {
    color: #35ec2c;
}

.black .pulsating-dot {
    background-color: #35ec2c; /* Зеленый цвет (можете выбрать свой оттенок) */
}

.reviews-gallery__photo {
    border: 1px solid #e6e6e6;
    margin: 0 13px 8px 0;
}

.article-author__img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #b7b7b7;
    margin-right: 5px;
}

.article-menu {
    top: 150px
}

.article-menu__link {
    font-size: 14px;
    line-height: 18px;
}

.page-acticle .box-text p,
.page-acticle .box-text li,
.seo-section .box-text p {
    font-size: 16px;
    line-height: 24px;
}

.page-acticle h2,
.page-acticle .h2,
.seo-section h2 {
    font-size: 20px;
}

.article-card,
.product-card__title,
.reviews .box-text {
    font-size: 16px;
}

.block_title h3 {
    font-size: 16px;
    line-height: 32px;
}

.product-card__img {
    padding: 0;
    border: none;
}

.header-top {
    padding: 15px 0;
}

.header-pre_top {
    height: 40px;
    display: flex;
    border-bottom: 1px solid #ededed;
}

.header-pre_top .mail-link__icon {
    margin-right: 5px;
}

.header-pre_top .list-social a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    color: #585858;
}

.header-pre_top .list-social a img {
    width: 15px;
    margin-right: 5px;
}

.header-pre_top a,
.header-pre_top .menu li a,
.nav-menu .menu li a {
    color: #585858;
    transition: 0.15s;
}

.header-pre_top .menu li a:hover,
.nav-menu .menu li a:hover,
.header-pre_top .list-social a:hover {
    color: #1c1c1c;
}

.header-pre_top .menu li {
    margin: 0 16px 0 0;
}

header {
    border-bottom: none;
    box-shadow: -1px 4px 7px 0px #00000008;
}

/* ============ НОВЫЕ СТИЛИ ДЛЯ ДИСТРИБУТИВОВ ============ */

/* Сетка для карточек дистрибутивов */
.distribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 12px;
    margin: 0 0 40px 0;
}

/* Карточка дистрибутива */
.distribution-card {
    display: flex;
    align-items: center;
    padding: 20px;
    width: 100%;
    box-shadow: none;
    background-color: #f8f8f8;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    text-decoration: none;
    color: #363636;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.distribution-card:hover {
    color: #7C0DC6;
    box-shadow: 0 4px 12px rgba(124, 13, 198, 0.1);
}

.distribution-card:hover .distribution-card__arrow {
    transform: translateX(2px);
}

/* Иконка */
.distribution-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    margin-right: 16px;
    padding: 10px;
}

.distribution-card__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Контент */
.distribution-card__content {
    flex: 1;
    min-width: 0;
}

.distribution-card__title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: #161616;
    line-height: 1.3;
}

.distribution-card:hover .distribution-card__title {
    color: #7C0DC6;
}

.distribution-card__description {
    font-size: 14px;
    color: #767676;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Метаинформация */
.distribution-card__meta {
    display: flex;
    align-items: center;
}

.distribution-card__count {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #767676;
    font-weight: 500;
}

.distribution-card__count svg {
    margin-right: 6px;
    opacity: 0.7;
}

/* Стрелка */
.distribution-card__arrow {
    flex-shrink: 0;
    margin-left: 16px;
    color: #767676;
    transition: all 0.3s ease;
}

.distribution-card:hover .distribution-card__arrow {
    color: #7C0DC6;
}

/* ============ АДАПТИВНОСТЬ ============ */

/* Планшеты */
@media (max-width: 1024px) {
    .distribution-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 10px;
    }
    
    .distribution-card {
        padding: 16px;
    }
    
    .distribution-card__title {
        font-size: 17px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .distribution-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .distribution-card {
        padding: 14px;
    }
    
    .distribution-card__icon {
        width: 48px;
        height: 48px;
        margin-right: 14px;
    }
    
    .distribution-card__title {
        font-size: 16px;
    }
    
    .distribution-card__description {
        font-size: 13px;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
    
    .distribution-card__arrow {
        margin-left: 12px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .distribution-card {
        padding: 12px;
    }
    
    .distribution-card__icon {
        width: 44px;
        height: 44px;
        margin-right: 12px;
    }
    
    .distribution-card__title {
        font-size: 15px;
    }
    
    .distribution-card__count {
        font-size: 11px;
    }
}

/* ============ СТИЛИ ДЛЯ ДЕТАЛЬНОЙ СТРАНИЦЫ ДИСТРИБУТИВА ============ */

/* Блок "Официальный дистрибутив" вместо проверки на вирусы */
.official-distrib-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 14px;
    background: rgba(34, 197, 94, 0.08);
    border: none;
    /*border-left: 3px solid #16a34a;*/
    border-radius: 6px;
    margin: 0 0 20px 0;
    color: #16a34a;
    font-weight: 500;
    font-size: 13px;
}

.official-distrib-box__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.official-distrib-box__icon svg {
    width: 16px;
    height: 16px;
    color: #16a34a;
}

.official-distrib-box__text {
    line-height: 1.2;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .official-distrib-box {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .official-distrib-box__icon {
        margin-right: 6px;
    }
    
    .official-distrib-box__icon svg {
        width: 14px;
        height: 14px;
    }
}

/* ============ СТИЛИ ДЛЯ ПЛАШКИ НАДЕЖНОСТИ НА СТРАНИЦЕ ТОВАРА ============ */

.warranty-box-product {
    width: 100%;
    margin: 20px 0;
    border-radius: 16px;
    background-color: #f8f8f8;
    /*border: 1px solid #e6e6e6;*/
    display: flex;
    align-items: center;
    padding: 12px 16px;
    box-shadow: none;
    transition: 0.15s;
}
.warranty-box-product:hover {
    box-shadow: 0px 3px 14px 0px #9a9a9a;
}

.warranty-box-product__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.warranty-box-product__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
    color: #f1f1f1;
}

.warranty-box-product__icon-inline {
    display: inline-block;
    vertical-align: top;
    margin-right: 3px;
}

.warranty-box-product__icon-inline svg {
    width: 14px;
    height: 14px;
    color: #16a34a;
}

.warranty-box-product__button {
    margin-top: 5px;
    background-color: #434343;
    color: #ffffff !important;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
}

.warranty-box-product__button:hover {
    background-color: #3e3e3e;
}

.warranty-box-product__button:active {
    transform: scale(0.98);
}

.warranty-box-product__button svg {
    width: 12px;
    height: 12px;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .warranty-box-product {
        padding: 12px 16px;
        margin: 16px 0;
    }

    .warranty-box-product__icon-inline svg {
        width: 14px;
        height: 14px;
    }

    .warranty-box-product__text {
        font-size: 13px;
    }

    .warranty-box-product__button {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ============ СТИЛИ ДЛЯ СТРАНИЦЫ РАЗДЕЛА ДИСТРИБУТИВОВ ============ */

/* Обновляем стили для product-line чтобы соответствовали новым карточкам */
.product-line {
    box-shadow: none !important;
    background-color: #f8f8f8 !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 16px !important;
}

/* Стили для distribution-line (наследует от product-line) */
.distribution-line {
    box-shadow: none !important;
    background-color: #f8f8f8 !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 16px !important;
}

/* Белый фон для иконки в distribution-line */
.distribution-line .distribution-box__icon {
    background: #fff !important;
    border-radius: 12px !important;
}

/* ============ НОВЫЙ ДИЗАЙН ПЛАШЕК ДИСТРИБУТИВОВ ============ */

.distribution-line-new {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #363636 !important;
    transition: all 0.3s ease !important;
    padding: 20px !important;
    margin: 16px 0 !important;
}

.distribution-line-new:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.distribution-line-new:hover .distribution-line__arrow {
    transform: translateX(2px);
}

/* Иконка */
.distribution-line__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    margin-right: 20px;
    padding: 12px;
}

.distribution-line__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Контент */
.distribution-line__content {
    flex: 1;
    min-width: 0;
}

.distribution-line__main {
    margin-bottom: 12px;
}

.distribution-line__title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: #161616;
    line-height: 1.3;
}

.distribution-line__developer {
    font-size: 14px;
    color: #767676;
    margin: 0 0 8px 0;
}

.distribution-line__badge {
    display: inline-block;
    background: linear-gradient(to right, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Детали */
.distribution-line__details {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.distribution-line__size,
.distribution-line__sources,
.distribution-line__reviews,
.distribution-line__updated {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #767676;
    font-weight: 500;
}

.distribution-line__size svg,
.distribution-line__sources svg,
.distribution-line__reviews svg,
.distribution-line__updated svg {
    margin-right: 6px;
    opacity: 0.7;
}

/* Особые стили для рейтинга */
.distribution-line__reviews {
    /*color: #f59e0b;*/
    font-weight: 600;
}

.distribution-line__reviews svg {
    color: #f59e0b;
    opacity: 1;
}

/* Стрелка */
.distribution-line__arrow {
    flex-shrink: 0;
    margin-left: 20px;
    color: #767676;
    transition: all 0.3s ease;
}

.distribution-line-new:hover .distribution-line__arrow {
    color: #525252;
}

/* ============ АДАПТИВНОСТЬ ДЛЯ НОВЫХ ПЛАШЕК ============ */

@media (max-width: 768px) {
    .distribution-line-new {
        padding: 16px !important;
        flex-wrap: wrap;
    }
    
    .distribution-line__icon {
        width: 56px;
        height: 56px;
        margin-right: 16px;
    }
    
    .distribution-line__content {
        width: calc(100% - 72px - 40px);
    }
    
    .distribution-line__details {
        gap: 16px;
        margin-top: 8px;
    }
    
    .distribution-line__title {
        font-size: 16px;
    }
    
    .distribution-line__arrow {
        margin-left: 16px;
    }
}

@media (max-width: 480px) {
    .distribution-line-new {
        padding: 14px !important;
    }
    
    .distribution-line__icon {
        width: 48px;
        height: 48px;
        margin-right: 14px;
    }
    
    .distribution-line__content {
        width: calc(100% - 62px - 34px);
    }
    
    .distribution-line__details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .distribution-line__title {
        font-size: 15px;
    }
    
    .distribution-line__badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}


.product-card__avialability {
    font-size: 14px;
}


.ya-share2__list.ya-share2__list_direction_horizontal {
    margin: 0 auto 30px;
    display: block;
    text-align: center;
}

.star-rating label svg {
    fill: #ffa500;
}

.star-rating input:checked + label ~ label svg {
    fill: #e0e3e6;
}

.label-file {
    border: 1px dashed #959595;
}


/* ab-test */
.product-info-box__head.d-pc .rating-value {
    color: #363636;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    margin-left: 5px;
    border-bottom: none;
}

.product-info-box__head.d-pc .rating-value:hover {
    color: #676767;
}

.o-style .sale-value {
    position: absolute;
    top: 15px;
    right: 15px;
}

.o-style .btn-blue {
    background: #005bff;
    color: #fff;
    transition: 0.15s;
}

.o-style .btn-blue:hover {
    background-color: #0152e3;
}

.o-style .checkout-box .sale-price,
.o-style .checkout-box .new-price {
    color: #ffffff;
    font-weight: 800;
    background-color: #10c44c;
    padding: 10px 15px;
    border-radius: 10px;
}

.o-style .checkout-box .old-price {
    font-weight: 600;
    color: #767676;
}

.product-content-wrapper {
    padding-left: 10px;
}


.reviews-head {
    font-size: 14px;
    margin-bottom: 40px
}

.reviews-head .box-text {
    font-size: 14px;
    max-width: 350px
}

.rating-product {
    display: flex;
    align-items: flex-end;
    margin-bottom: 14px;
    line-height: 22px;
}

.rating-product p {
    font-size: 14px;
}

.rating-product__value {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    padding-right: 5px;
    box-sizing: border-box;
    width: 110px;
    text-align: right;
    line-height: 40px;
}

.rating-product__text {
    font-size: 12px;
}

.rating-product__stars {
    display: flex;
    align-items: center;
    margin: 4px 0 0;
    fill: #cda337;
    padding-left: 0;
}

.rating-product__stars li {
    width: 16px;
    height: 16px;
    min-width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px 0 0
}

.rating-product__stars li:last-child {
    margin: 0
}

.rating-product__stars li.star0 {
    fill: #b7b7b7
}

.rating-product .d-mobile {
    display: none
}

.rating-details {
    width: 100%;
    font-size: 14px;
    margin-bottom: 15px;
}

.rating-details-row {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0 0 5px
}

.rating-details-row:last-child {
    margin: 0
}

.rating-details-row__number {
    min-width: 32px;
    display: flex;
    align-items: center;
    width: 120px;
    justify-content: flex-end;
}

.rating-details-row__number svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    fill: gray
}

.rating-details-row__line {
    width: 100%;
    height: 7px;
    background: #e0e0e0;
    margin: 0 8px;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.rating-details-row__line-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #ffa500;
    border-radius: 10px;
}


.rating-details-row__line-bg.bg-60 {
    width: 60%
}

.rating-details-row__line-bg.bg-20 {
    width: 20%
}

.rating-details-row__value {
    min-width: 38px;
    font-size: 12px;
    font-weight: 600;
    color: #363636;
}


.fancybox-navigation {
    display: none;
}

.reviews-modal-slider .reviews-box__user-avatar {
    display: none;
}

.reviews-modal-slider .reviews-product-box__head {
    flex-wrap: wrap;
}

.fancybox-stage .fancybox-slide {
    padding-left: 5px;
    padding-right: 5px;
}

.fancybox-slide .modal__wrapper {
    padding: 10px;
}

.fancybox-stage .fancybox-slide {
    padding: 5px;
}

.fancybox-slide .modal__wrapper {
    padding: 15px;
}



/* Стили для сворачивания отзывов - применяются только внутри .reviews-product-slider */
.reviews-product-slider .reviews-product-box__body .box-text {
    font-size: 16px;
    line-height: 1.5;
    max-width: none;
}

.reviews-product-slider .reviews-product-box__body.collapsed {
    max-height: 120px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.reviews-product-slider .reviews-product-box__body.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(180deg, rgba(248, 248, 248, 0) 0%, rgba(248, 248, 248, 1) 100%);
    pointer-events: none;
    z-index: 2;
}

.reviews-product-slider .reviews-product-box__body.expanded {
    max-height: none;
    overflow: visible;
}

.reviews-product-slider .reviews-product-box__body.expanded::after {
    display: none;
}

.reviews-product-slider .reviews-product-box .show-all-text {
    display: inline-block;
    margin-top: 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    /* Fallback цвет для браузеров без поддержки background-clip */
    color: #7C0DC6;
    background: linear-gradient(135deg, #7C0DC6 0%, #976EFC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Для браузеров с поддержкой background-clip делаем цвет прозрачным */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .reviews-product-slider .reviews-product-box .show-all-text {
        color: transparent;
    }
}

.reviews-product-slider .reviews-product-box .show-all-text:hover {
    background: linear-gradient(135deg, #976EFC 0%, #7C0DC6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline;
    text-decoration-color: #7C0DC6;
}

.reviews-product-slider .reviews-product-box .show-all-text:active {
    transform: scale(0.98);
}
.reviews-product__head h1 {
    margin-bottom: 10px;
}

.reviews-product__head .box-text {
    font-size: 14px;
}

/* Уведомление о куки */
.cookie-notice {
    position: fixed;
    bottom: 16px;
    right: 116px;
    box-shadow: none;
    background-color: #f8f8f8;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    color: #333333;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.4;
    z-index: 10000;
    max-width: 380px;
    display: none;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
}

.cookie-notice.show {
    display: flex !important;
    animation: cookieSlideIn 0.3s ease-out;
}

.cookie-notice__content {
    flex-grow: 1;
}

.cookie-notice__text {
    margin: 0;
}

.cookie-notice__link {
    color: #333333;
    text-decoration: underline;
    transition: color 0.2s ease;
    display: inline;
}

.cookie-notice__link:hover {
    color: #333333;
}

.cookie-notice__btn--accept {
    margin-top: 5px;
    background-color: #434343;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.cookie-notice__btn--accept:hover {
    background-color: #3e3e3e;
}

.cookie-notice__btn--accept:active {
    transform: scale(0.98);
}

.feedback_page h1 {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .cookie-notice {
        left: 0;
        right: 0;
        top: 54px;
        bottom: auto;
        max-width: none;
        border-radius: 0;
        padding: 10px 12px;
        font-size: 12px;
        border-left: none;
        border-right: none;
        border-top: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    body.has-cookie-notice {
        padding-top: 85px;
        padding-bottom: 0;
    }

    .cookie-notice__btn--accept {
        width: 100%;
        padding: 10px 12px;
        font-size: 13px;
    }

    @keyframes cookieSlideIn {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }

    @keyframes cookieSlideOut {
        from {
            transform: translateY(0);
        }
        to {
            transform: translateY(-100%);
        }
    }
}

/* Десктопные анимации (если мобильные выше не переопределили их полностью для @keyframes cookieSlideIn/Out) */
/* Если мобильные @keyframes уже есть, эти можно удалить или убедиться, что они не конфликтуют */
@media (min-width: 768px) {
    @keyframes cookieSlideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes cookieSlideOut {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(20px);
        }
    }
}

/* только на десктопах */
@media only screen and (min-width: 1200px) {
    .checkout-box {
        box-shadow: none;
        background-color: #f8f8f8;
        border: 1px solid #e6e6e6;
    }

    .o-style .checkout-box {
        box-shadow: 0 20px 12px -16px rgba(0, 30, 85, .1), 0 8px 24px 18px rgba(0, 30, 85, .05);
        background-color: #fff;
    }

    .checkout-box.black {
        background-color: #1d1d1d;
        color: #ffffff;
    }

    .checkout-box.black h3,
    .checkout-box.black .new-price,
    .checkout-box.black .sale-price,
    .checkout-box.black .list-loyalty.list-characteristics span {
        color: #ffffff;
    }

    .checkout-box .list-loyalty.list-characteristics {
        margin-bottom: 0;
    }
}

.reviews-modal-slide__photo img {
    border: 1px solid #e6e6e6;
}

/* только на мобильных */
@media only screen and (max-width: 1200px) {

    .page-product .col-40 .product-image-wrapper {
        padding-right: 0px;
    }

    .page-product .col-55 h1 {
        font-size: 28px;
    }

    .checkout-box .list-characteristics .d-pc,
    .checkout-box .list-loyalty.list-characteristics li.d-pc,
    .checkout-box-wrap,
    .checkout-box .sale-value {
        display: none;
    }

    .page-product .col-55 .checkout-column {
        display: block;
    }

    .product-info-box__head .rating {
        margin: -12px 0 12px;
    }

    .optimal-template .sale-value {
        display: none;
    }

    .product-card__img {
        height: auto;
    }
    .discount-section .product-card__img {
        width: 180px;
    }

    .col-20 {
        width: 50%;
    }

    .header-pre_top {
        display: none;
    }

    .col-40, .col-60 {
        width: 100%;
    }

    .product-image__preview {
        display: none !important;
    }

    .optimal-template .checkout-box {
        top: 0px
    }

    .optimal-template .popular-product-info,
    .optimal-template .info-banner:not(.mobile) {
        display: none;
    }
    
    .info-banner.mobile {
        display: block;
        max-width: 100%;
        margin: 15px 0;
    }
    .optimal-template .key-info-box.mobile {
        display: block !important;
        width: 100%;
        margin: 0;
        max-width: fit-content;
    }


    .home, .page {
        padding-top: 80px;
    }

    .rating-value {
        border-bottom: none;
        margin-left: 5px;
        font-weight: 700;
    }


    .fancybox-navigation {
        display: none;
    }

    .reviews-modal-slider .reviews-box__user-avatar {
        display: none;
    }

    .reviews-modal-slider .reviews-product-box__head {
        flex-wrap: wrap;
    }

    .fancybox-stage .fancybox-slide {
        padding-left: 5px;
        padding-right: 5px;
    }

    .fancybox-slide .modal__wrapper {
        padding: 10px;
    }

    .fancybox-stage .fancybox-slide {
        padding: 5px;
    }

    .fancybox-slide .modal__wrapper {
        padding: 15px;
    }

    .rating-details {
        padding: 0;
    }

    .rating-product {
        padding-top: 15px;
    }

    .rating-product__value {
        margin-left: 0px;
        width: 83px;
    }
    .discount-section .product-card, .discount-section .timer-card {
        min-width: auto;
    }
    .article-card, .product-card__title, .reviews .box-text, .reviews-product-slider .reviews-product-box__body .box-text {
        font-size: 14px;
    }
}

.js-rating-filter {
    cursor: pointer;
}

.js-rating-filter.active .rating-details-row__number {
    background-color: #e9ecef; /* Пример цвета для выделения */
    border-radius: 4px;
}

/* Можно добавить эффект при наведении на строки фильтра */
.js-rating-filter .rating-details-row__number:hover {
    background-color: #f8f9fa;
}

.grecaptcha-badge { 
    visibility: hidden !important; 
}

/* Реакции на отзывы */
.reviews-reactions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.reactions-display {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    /* Убираем flex: 1 чтобы кнопка не прижималась вправо */
}

.reaction-item {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.reaction-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 32px;
    line-height: 32px;
    background: #fff;
    color: #7a8082;
    border: 1px solid #e9ecef;
    border-radius: 32px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s ease;
    flex-shrink: 0;
    /* Кнопка будет в списке реакций последней */
}
.reaction-add-btn:hover {
    background: #e9ecef;
    border-color: #6c757d;
}

.reaction-item:hover {
    background: #e9ecef;
    border-color: #6c757d;
    /*transform: translateY(-1px);*/
}

.reaction-item.user-reaction {
    background: #e8f5e8;
    border-color: #28a745;
    color: #155724;
}

.reaction-item.user-reaction .reaction-count {
    font-weight: bold;
}

.reaction-item.user-reaction:hover {
    background: #d4edda;
    border-color: #1e7e34;
}

.reaction-emoji {
    font-size: 16px;
}

.reaction-count {
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
}



.reaction-add-btn .loading {
    font-size: 14px;
    color: #6c757d;
}

/* Стили для кнопки "Показать еще" */
.btn-toggle-reviews.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-toggle-reviews.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Тултип с выбором реакций */
.reaction-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px;
    min-width: 320px;
    max-width: 320px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.reaction-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background: #f8f8f8;
    border-radius: 16px;
    padding: 10px;
}

.reaction-tooltip-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    max-height: 200px;
    overflow: hidden;
}

.reaction-tooltip-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    background: #f8f9fa;
    /*border: 1px solid #e9ecef;*/
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
    user-select: none;
}

.reaction-tooltip-option:hover {
    background: #e9ecef;
    border-color: #6f42c1;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {

    .reactions-display {
        gap: 6px;
        justify-content: flex-start;
        min-width: 0;
    }
    
    .reaction-item {
        height: 28px;
        padding: 4px 8px;
        font-size: 14px;
    }
    
    .reaction-emoji {
        font-size: 14px;
    }
    
    .reaction-count {
        font-size: 11px;
    }
    
    .reaction-add-btn {
        width: 48px;
        height: 28px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .reaction-tooltip {
        min-width: 280px;
        max-width: 280px;
        padding: 12px;
        position: fixed;
        z-index: 9999;
    }
    
    .reaction-tooltip-content {
        gap: 6px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .reaction-tooltip-option {
        min-width: 50px;
        height: 40px;
        font-size: 18px;
        min-width: 40px;
        min-height: 32px;
    }
    
    /* Дополнительные стили для очень маленьких экранов */
    @media (max-width: 480px) {
        .reaction-tooltip {
            min-width: 240px;
            max-width: 240px;
            padding: 8px;
        }
        
        .reaction-tooltip-content {
            gap: 4px;
        }
        
        .reaction-tooltip-option {
            width: 45px;
            height: 35px;
            font-size: 16px;
            min-width: 35px;
            min-height: 28px;
        }
    }
}

/* Стили для отдельной плашки популярности товара */
.popular-product-column {
    margin-top: 15px;
}

.popular-product-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.social-proof {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
    padding: 12px 15px;
    text-align: center;
    margin: 0;
}

.social-proof .recent-purchase {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #e65100;
    margin-bottom: 4px;
}

.social-proof small {
    font-size: 12px;
    color: #bf360c;
    opacity: 0.8;
    line-height: 1.3;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .popular-product-column {
        margin-top: 10px;
    }
    
    .social-proof {
        padding: 10px 12px;
    }
    
    .social-proof .recent-purchase {
        font-size: 13px;
    }
    
    .social-proof small {
        font-size: 11px;
    }
}

/* Стили для товаров в статьях */
.article-products .product-card__img {
    height: auto;
}

.article-products .product-card__title {
    font-size: 14px;
    line-height: 18px;
}

