
html:not(.favorite-ready) .header-shop-add{
    visibility:hidden;
}

.favorite-move-wrapper {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    flex-shrink: 0!important;
}



 /* Убираем дерганье сайта при загрузке страниц */
.block_width {
    width: 100%;
    max-width: 1738px;
    margin: 0 auto;
}


    /* Убираем подчеркивание у ссылок в меню */
    .header-navigation a,
    .header-menu a,
    .menu-default a,
    .menu-top a,
    .menu_f_l a {
        text-decoration: none !important;
    }
    
    /* Убираем подчеркивание при наведении и фокусе */
    .header-navigation a:hover,
    .header-navigation a:focus,
    .header-menu a:hover,
    .header-menu a:focus,
    .menu-default a:hover,
    .menu-default a:focus,
    .menu-top a:hover,
    .menu-top a:focus,
    .menu_f_l a:hover,
    .menu_f_l a:focus {
        text-decoration: none !important;
    }
    

    /* Убираем подчеркивание у ссылок с классом normal */
    .normal {
        text-decoration: none !important;
    }
    
    /* Убираем border-bottom, если он появляется как подчеркивание */
    .header-navigation a,
    .header-menu a,
    .menu-default a,
    .menu-top a {
        border-bottom: none !important;
    }






/* ===== ДЕСКТОП ===== */
@media (min-width: 1261px) {
    .favorite-move-wrapper {
        margin-left: 20px!important;
        flex: 0 1 auto!important;
    }
    .favorite-move-wrapper .gr-btn-icon-left-2 span {
        font-size: 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    /* ===== ВОЗВРАЩАЕМ ОРИГИНАЛЬНЫЙ РАЗМЕР СЕРДЕЧКА (24px) ===== */
    .favorite-move-wrapper .gr-svg-icon {
        width: 24px !important;
        height: 24px !important;
    }
    .favorite-move-wrapper .favorite-count {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 8px !important;
        padding: 0 10px !important;
        min-width: 28px !important;
        height: 28px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-align: center !important;
        background: #5B35B5 !important;
        border-radius: 6px !important;
        color: #ffffff !important;
        position: static !important;
    }
    .favorite-move-wrapper .favorite-block.is-null .favorite-count {
        display: none !important;
    }
    .favorite-move-wrapper .favorite-block:not(.is-null) .favorite-count {
        display: inline-flex !important;
    }
}

/* ===== ПЛАНШЕТЫ ===== */
@media (min-width: 641px) and (max-width: 1260px) {
    .favorite-move-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 5px !important;
        margin-right: 5px !important;
    }
    .favorite-move-wrapper .favorite-block {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 54px !important;
        height: 54px !important;
        position: relative !important;
    }
    .favorite-move-wrapper .header-favorite .favorite-block a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 54px !important;
        height: 54px !important;
        position: relative !important;
        text-decoration: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .favorite-move-wrapper .gr-btn-icon-left-2 span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 54px !important;
        height: 54px !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        font-size: 0 !important;
        gap: 0 !important;
    }
    .favorite-move-wrapper .gr-btn-icon-left-2 span i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 54px !important;
        height: 54px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        left: 0 !important;
    }
    .favorite-move-wrapper .gr-svg-icon {
        width: 36px !important;
        height: 36px !important;
        display: block !important;
        position: relative !important;
        z-index: 1 !important;
        margin: 0 auto !important;
    }
    .favorite-move-wrapper .favorite-count {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: none !important;
        min-width: 24px !important;
        height: 24px !important;
        padding: 0 4px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        font-style: normal !important;
        line-height: 24px !important;
        text-align: center !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        color: #ffffff !important;
        z-index: 2 !important;
        text-shadow: 0 0 4px rgba(0,0,0,0.6) !important;
        pointer-events: none !important;
        margin: 0 !important;
    }
    .favorite-move-wrapper .favorite-block:not(.is-null) .favorite-count {
        display: inline-block !important;
    }
    .favorite-move-wrapper .favorite-block.is-null .favorite-count {
        display: none !important;
    }
    .header-cart {
        margin-left: 5px !important;
    }
}

/* ===== МОБИЛЬНЫЕ ===== */
@media (max-width: 640px) {
    .favorite-move-wrapper .favorite-block,
    .favorite-move-wrapper .header-favorite .favorite-block a,
    .favorite-move-wrapper .gr-btn-icon-left-2 span,
    .favorite-move-wrapper .gr-btn-icon-left-2 span i {
        width: 44px !important;
        height: 44px !important;
    }
    .favorite-move-wrapper .gr-btn-icon-left-2 span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        font-size: 0 !important;
        gap: 0 !important;
    }
    .favorite-move-wrapper .gr-btn-icon-left-2 span i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        left: 0 !important;
    }
    .favorite-move-wrapper .gr-svg-icon {
        width: 30px !important;
        height: 30px !important;
        display: block !important;
        position: relative !important;
        z-index: 1 !important;
        margin: 0 auto !important;
    }
    .favorite-move-wrapper .favorite-count {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: none !important;
        min-width: 20px !important;
        height: 20px !important;
        padding: 0 4px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        font-style: normal !important;
        line-height: 20px !important;
        text-align: center !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        color: #ffffff !important;
        z-index: 2 !important;
        text-shadow: 0 0 4px rgba(0,0,0,0.6) !important;
        pointer-events: none !important;
        margin: 0 !important;
    }
    .favorite-move-wrapper .favorite-block:not(.is-null) .favorite-count {
        display: inline-block !important;
    }
    .favorite-move-wrapper .favorite-block.is-null .favorite-count {
        display: none !important;
    }
    .header-cart {
        margin-left: 3px !important;
    }
}

/* ===== ОТКЛЮЧАЕМ АНИМАЦИЮ ПРИ ИЗМЕНЕНИИ СОСТОЯНИЯ ===== */
.favorite-move-wrapper .gr-svg-icon,
.favorite-move-wrapper .gr-svg-icon *,
.favorite-move-wrapper .favorite-block,
.favorite-move-wrapper .favorite-block * {
    transition: none !important;
    animation: none !important;
}

.favorite-move-wrapper .header-favorite .favorite-block a:active .gr-svg-icon,
.favorite-move-wrapper .header-favorite .favorite-block a:focus .gr-svg-icon,
.favorite-move-wrapper .header-favorite .favorite-block a:hover .gr-svg-icon {
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
}

/* ===== КАСТОМНОЕ СЕРДЕЧКО ===== */
.favorite-move-wrapper .gr-svg-icon use{display:none!important}
.favorite-move-wrapper .gr-svg-icon{background-size:contain!important;background-repeat:no-repeat!important;background-position:center center!important;display:inline-block!important;vertical-align:middle!important;flex-shrink:0!important}
.favorite-move-wrapper .favorite-block.is-null .gr-svg-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff69b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")!important}
.favorite-move-wrapper .favorite-block.is-null:hover .gr-svg-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4081' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")!important}
.favorite-move-wrapper .favorite-block:not(.is-null) .gr-svg-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff69b4' stroke='%23ff69b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")!important}
.favorite-move-wrapper .favorite-block:not(.is-null):hover .gr-svg-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e91e63' stroke='%23e91e63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")!important}




/* ============================================================
   КНОПКА "ПАРАМЕТРЫ" — синхронизированный hover
   ============================================================ */

:root{--d:.25s;--dd:.15s}

.product-item .gr-product-options .gr-options-more .gr-options-more__btn,
.product-item .gr-product-options .gr-options-container{transition:all .25s ease}
.product-item .gr-product-options .gr-options-more .gr-options-more__btn{display:flex!important;align-items:center!important;padding:8px 40px 8px 14px!important;min-height:36px!important;border-radius:3px!important;border:1px solid rgba(91,53,181,.4)!important;background:#f8f9fa!important;position:relative!important;cursor:pointer!important;width:100%!important;box-sizing:border-box!important}
.product-item .gr-product-options .gr-options-more .gr-options-more__btn:hover{background:#f0f1f3!important}

/* ----- Текст (все состояния) с синхронизацией ----- */
.product-item .gr-product-options .gr-options-more .gr-options-more__btn ins,
.product-item .gr-product-options .gr-options-more .gr-options-more__btn:focus ins,
.product-item .gr-product-options .gr-options-more .gr-options-more__btn:active ins{display:inline-block!important;flex:0 0 auto!important;font:500 13px/1.2 #8A75C9!important;color:#8A75C9!important;text-decoration:none!important;white-space:nowrap!important;font-style:normal!important;transition:opacity var(--d) cubic-bezier(.4,0,.2,1)!important}

/* ----- Текст до наведения (тусклый) ----- */
.product-item .gr-product-options .gr-options-more .gr-options-more__btn ins{opacity:.6!important}

/* ----- Текст при наведении (ярче) ----- */
.product-item .gr-product-options .gr-options-more .gr-options-more__btn:hover ins{opacity:.8!important}

.product-item .gr-product-options .gr-options-more .gr-options-more__btn i{position:absolute!important;top:50%!important;right:12px!important;transform:translateY(-50%)!important;width:19px!important;height:19px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;will-change:transform!important}

.product-item .gr-product-options .gr-options-more .gr-options-more__btn i::before,
.product-item .gr-product-options .gr-options-more .gr-options-more__btn i::after{content:""!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%) scale(1)!important;width:11px!important;height:11px!important;flex-shrink:0!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;will-change:transform,opacity!important;transition:all var(--d) cubic-bezier(.4,0,.2,1)!important}

.product-item .gr-product-options .gr-options-more .gr-options-more__btn i::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 26' fill='none'%3E%3Cpath d='M6 6 L20 20 C22.5 22.5 27.5 22.5 30 20 L44 6' stroke='%238A75C9' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;opacity:.6!important}
.product-item .gr-product-options .gr-options-more .gr-options-more__btn i::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 26' fill='none'%3E%3Cpath d='M6 20 L20 6 C22.5 3.5 27.5 3.5 30 6 L44 20' stroke='%238A75C9' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;opacity:0!important;transform:translate(-50%,-50%) scale(0)!important;transition-delay:0s!important}

.product-item .gr-product-options .gr-options-more .gr-options-more__btn.active i::before{transform:translate(-50%,-50%) scale(0)!important;opacity:0!important}
.product-item .gr-product-options .gr-options-more .gr-options-more__btn.active i::after{transform:translate(-50%,-50%) scale(1)!important;opacity:.6!important;transition-delay:var(--dd)!important;transition-timing-function:cubic-bezier(.34,1.56,.64,1)!important}

.product-item .gr-product-options .gr-options-more .gr-options-more__btn:not(.active) i::after{transform:translate(-50%,-50%) scale(0)!important;opacity:0!important;transition-delay:0s!important}
.product-item .gr-product-options .gr-options-more .gr-options-more__btn:not(.active) i::before{transform:translate(-50%,-50%) scale(1)!important;opacity:.6!important;transition-delay:var(--dd)!important;transition-timing-function:cubic-bezier(.34,1.56,.64,1)!important}

/* ----- Hover для текста и стрелок (синхронизировано) ----- */
.product-item .gr-product-options .gr-options-more .gr-options-more__btn:hover ins,
.product-item .gr-product-options .gr-options-more .gr-options-more__btn:hover i::before,
.product-item .gr-product-options .gr-options-more .gr-options-more__btn:hover i::after{opacity:.8!important}

.product-item .gr-product-options .gr-options-more .gr-options-more__btn svg{display:none!important}

.product-item .gr-product-options .gr-options-container{transition:opacity .25s ease,max-height .3s ease!important;opacity:0!important;max-height:0!important;overflow:hidden!important}
.product-item .gr-product-options .gr-options-container[style*="display: block"]{opacity:1!important;max-height:500px!important;padding-top:12px!important}

/* Перестановка копирайта и кнопки вверх */
html:not(.footer-ready) .footer-copy,
html:not(.footer-ready) .link-top-btn { visibility: hidden; }
.footer-info__right .link-top-btn { display: flex; justify-content: flex-end; align-items: center; height: 100%; }
.footer-counters { display: flex; justify-content: center; align-items: center; }
.footer-copy { margin: 0; }
.footer-copy .copyright-box { width: auto !important; padding: 0 !important; background: transparent !important; }
.footer-copy img { display: block; }
.site-footer .footer-bottom__inner { padding: 15px 0 !important; }
.site-footer .footer-text + .footer-counters { padding-top: 15px !important; }
.site-footer .footer-info__inner { padding: 15px 0 !important; }
.site-footer .footer-add__inner { padding: 20px 0 !important; }
.footer-info__right .link-top-btn { position: relative; display: inline-flex; }



/* ============================================
   Стили для SEO-текстов внутри folder-desc-bottom
   ============================================ */

.folder-desc-bottom {
    margin-top: 30px;
    padding: 20px 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #c0392b;
}

.folder-desc-bottom p {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.folder-desc-bottom p:last-child {
    margin-bottom: 0;
}

.folder-desc-bottom strong {
    font-weight: 700;
    color: #222;
}

.folder-desc-bottom a {
    color: #c0392b;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(192, 57, 43, 0.3);
    transition: border-color 0.25s ease;
}

.folder-desc-bottom a:hover {
    border-bottom-color: transparent;
}

/* Скрытие на мобильных */
@media (max-width: 768px) {
    .folder-desc-bottom {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
        background: transparent !important;
        border-left: none !important;
        border-radius: 0 !important;
    }
}

/* Слайд ВК карусели на десктопе не показываем блок кнопки */
.site-slider__text .mobile-slider-text-box,
.site-slider__text .mobile-slider-btn {
    display: none;
}

/* Слайд ВК карусели на мобильных включаем блок кнопки*/
@media (max-width: 1023px) {
    .site-slider__text .mobile-slider-text-box,
    .site-slider__text .mobile-slider-btn {
        display: block;
    }

}


/* =====================================
   Стили чекбоксов и форм страницы оформления заказа
   ===================================== */
/* =====================================
   ЗАТЕМНЕНИЕ ОКАНТОВКИ
   ===================================== */

/* Радиокнопки - неактивные */
.shop2-order-options.shop2-delivery > .options-list .option-type .option-label span:before,
.shop2-delivery > .options-list .option-type .option-label span:before {
    box-shadow: 0 0 0 1px rgba(0,0,0,0), inset 0 0 0 1px #B8B8B8 !important;
}

/* Радиокнопки - активные */
.shop2-order-options.shop2-delivery > .options-list .option-type .option-label input[type="radio"]:checked + span:before,
.shop2-delivery > .options-list .option-type .option-label input[type="radio"]:checked + span:before {
    border: none !important;
    box-shadow: inset 0 0 0 7px var(--gr_primary, #5B35B5) !important;
    background: var(--gr_bg, #ffffff) !important;
}

/* Чекбоксы - неактивные */
body .mg-styler-label--checkbox:before {
    box-shadow: 0 0 0 1px rgba(0,0,0,0), inset 0 0 0 1px #B8B8B8 !important;
}

/* Чекбоксы - активные */
body .mg-styler-label--checkbox input[type="checkbox"]:checked + span:before,
body .mg-styler-label--checkbox input[type="checkbox"]:checked ~ span:before {
    box-shadow: 0 0 0 1px rgba(0,0,0,0), inset 0 0 0 1px var(--gr_primary, #5B35B5) !important;
    background: var(--gr_primary, #5B35B5) !important;
}

/* Поля ввода */
.shop2-input, .shop2-textarea,
.form-item input[type="text"], .form-item input[type="email"],
.form-item input[type="tel"], .form-item input[type="number"],
.form-item textarea, .gr-select-wrapper select, .form-item select,
.option-details .option-item input, .option-details .option-item textarea {
    box-shadow: inset 0 0 0 1px #B8B8B8 !important;
    border: none !important;
}

/* =====================================
   ФОКУС ПОЛЕЙ ВВОДА
   ===================================== */

.shop2-input:focus,
.shop2-textarea:focus,
.form-item input[type="text"]:focus,
.form-item input[type="email"]:focus,
.form-item input[type="tel"]:focus,
.form-item input[type="number"]:focus,
.form-item textarea:focus,
.gr-select-wrapper select:focus,
.form-item select:focus,
.option-details .option-item input:focus,
.option-details .option-item textarea:focus {
    box-shadow: inset 0 0 0 1.5px var(--gr_primary, #5B35B5), 0 0 0 3px rgba(91, 53, 181, 0.15) !important;
    border: none !important;
    outline: none !important;
}



/* =====================================
   СООБЩЕНИЕ
   ===================================== */

.form-item-submit {
    position: relative;
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.checkout-consent-error-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-consent-error-wrapper.expanded {
    grid-template-rows: 1fr;
}

.checkout-consent-error-inner {
    min-height: 0;
    width: 100%;
    overflow: hidden;
    padding: 5px 0 15px;
}

.checkout-consent-error {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 5px;
    border: none;
    color: #2E2F38;
    background: rgba(255, 96, 78, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 96, 78, 0.2);
    font: 15px/1.4 'Rubik', Arial, Helvetica, sans-serif;
    padding: 15px 25px 15px 70px;
    margin: 0;
    width: 100%;
    max-width: 480px;
    opacity: 0;
    transition: opacity 0.3s ease;
    word-wrap: break-word;
    box-sizing: border-box;
}

.checkout-consent-error-wrapper.expanded .checkout-consent-error {
    opacity: 1;
}

/* Иконка */
.checkout-consent-error::before {
    content: '!';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FF604E;
    color: #fff;
    font: 700 20px/1 Arial, Helvetica, sans-serif;
    flex-shrink: 0;
}

/* Заголовок */
.checkout-consent-error .error-title {
    font-weight: 700;
    color: #FF604E;
    margin-right: 4px;
}

/* Стрелка */
.checkout-consent-error::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(255, 96, 78, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkout-consent-error-wrapper.expanded .checkout-consent-error::after {
    opacity: 1;
}

/* =====================================
   ВОЛНЫ
   ===================================== */

.mg-styler-label--checkbox {
    position: relative !important;
    display: inline-block !important;
}

.checkbox-wave-wrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: visible;
}

.checkbox-wave {
    position: absolute !important;
    width: 22px;
    height: 22px;
    border: 2.5px solid #55bce9;
    border-radius: 50%;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0) scale(0.5);
    animation: wave 0.85s ease-out forwards;
    opacity: 0;
    background: rgba(85, 188, 233, 0.13);
    margin: 0;
    padding: 0;
    will-change: transform, opacity;
}

.checkbox-wave.second {
    animation-delay: 0.22s;
}

@keyframes wave {
    0% { opacity: .9; transform: translate3d(-50%, -50%, 0) scale(.5); }
    100% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(2.6); }
}

.checkbox-wave-anchor {
    display: none !important;
}

/* =====================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ===================================== */

@media (max-width: 768px) {
    .checkout-consent-error-inner { padding-bottom: 12px; }
    .checkout-consent-error {
        font-size: 14px;
        padding: 12px 18px 12px 56px;
        max-width: 100%;
    }
    .checkout-consent-error::before {
        width: 26px;
        height: 26px;
        font-size: 16px;
        left: 16px;
    }
    .checkout-consent-error::after {
        bottom: -14px;
        border-width: 7px;
    }
}

@media (max-width: 480px) {
    .checkout-consent-error-inner { padding-bottom: 10px; }
    .checkout-consent-error {
        padding: 10px 14px 10px 48px;
        font-size: 13px;
    }
    .checkout-consent-error::before {
        width: 22px;
        height: 22px;
        font-size: 14px;
        left: 14px;
    }
    .checkout-consent-error::after {
        bottom: -12px;
        border-width: 6px;
    }
    .checkbox-wave {
        width: 18px !important;
        height: 18px !important;
        border-width: 2px !important;
    }
    @keyframes wave {
        0% { opacity: .9; transform: translate3d(-50%, -50%, 0) scale(.5); }
        100% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(2.3); }
    }
}


/* Стили текста чекбокса ознакомления с условиями доставки  */
.order-form-options .mg-styler-label--checkbox span {
    display: inline !important;
    color: var(--on_gr_bg_sec_text_8, #67697E) !important;
    text-decoration: none !important;
    cursor: default !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.order-form-options .mg-styler-label--checkbox span:hover {
    color: var(--on_gr_bg_sec_text_8, #67697E) !important;
    text-decoration: none !important;
}

/* Стили для ссылки - подчеркивание исчезает при наведении */
.order-form-options .mg-styler-label--checkbox span a {
    color: var(--on_gr_bg_link, #008EFC) !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

.order-form-options .mg-styler-label--checkbox span a:hover {
    color: var(--on_gr_bg_link, #008EFC) !important;
    text-decoration: none !important;
}


/* ===========================================================
   ПОПУЛЯРНЫЕ РАЗДЕЛЫ
   Оформление карточек
   =========================================================== */

.site-folders__link{
    display:flex;
    flex-direction:column;
    height:100%;
    align-self:stretch;
    padding:8px !important;
    box-sizing:border-box;
}

.site-folders__image{
    position:relative;
    overflow:hidden;
    width:100%;
    padding-top:100%;
}

.site-folders__image img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    margin:auto;
    object-fit:contain !important;
    transition:transform .25s ease;
}

@media (hover:hover){
    .site-folders__link:hover .site-folders__image img{
        transform:scale(1.04);
    }
}

.site-folders__name{
    display:flex !important;
    justify-content:center;
    align-items:center;
    flex:0 0 auto;
    min-height:3.2em;
    margin-top:8px !important;
    padding:0;
    text-align:center;
    font-size:15px !important;
    font-weight:600;
    line-height:1.25;
}

@media (max-width:1260px){
    .site-folders__link{
        padding:7px !important;
    }
    .site-folders__name{
        font-size:14px !important;
        line-height:1.2;
    }
}

@media (max-width:640px){
    .site-folders__link{
        padding:6px !important;
    }
    .site-folders__image{
        padding-top:102%;
    }
    .site-folders__image img{
        width:99%;
        height:99%;
    }
    .site-folders__name{
        margin-top:6px !important;
        font-size:13px !important;
        line-height:1.18;
    }
}

@media (max-width:400px){
    .site-folders__link{
        padding:5px !important;
    }
    .site-folders__name{
        font-size:12px !important;
        line-height:1.15;
    }
}

@media (hover:none) and (pointer:coarse){
    .site-folders__link,
    .site-folders__link:hover,
    .site-folders__link:active,
    .site-folders__link:focus{
        text-decoration:none !important;
        box-shadow:inherit !important;
        outline:none !important;
        -webkit-tap-highlight-color:transparent !important;
    }

    .site-folders__name,
    .site-folders__link:hover .site-folders__name,
    .site-folders__link:active .site-folders__name,
    .site-folders__link:focus .site-folders__name{
        color:#2E2F38 !important;
        transition:none !important;
    }

    .site-folders__link:hover .site-folders__image img,
    .site-folders__link:active .site-folders__image img{
        transform:none !important;
    }
}

.site-folders__items{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}



/* ===========================================================
   INNER-FOLDERS — ПЕРЕОПРЕДЕЛЕНИЕ ВИДА ПЛИТОК ПОДКАТАЛОГОВ
   =========================================================== */

/* ---------- ОСНОВНЫЕ СТИЛИ ---------- */

.inner-folders {
    padding: 0 0 15px !important;
    margin: 0 -3px 15px !important;
    overflow: visible !important;
}

.inner-folders__list {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 -3px !important;
    align-items: stretch !important;
}

.inner-folders__list li {
    flex: 0 0 calc(16.666% - 6px) !important;
    max-width: calc(16.666% - 6px) !important;
    margin: 0 3px 6px !important;
    list-style: none !important;
    display: flex !important;
    align-items: stretch !important;
    width: auto !important;
}

.inner-folders__list li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100% !important;
    width: 100% !important;
    padding: 4px 4px 6px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04) !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

@media (hover: hover) {
    .inner-folders__list li a:hover {
        border-color: var(--gr_primary, #5B35B5) !important;
        box-shadow: 0 4px 12px rgba(91, 53, 181, 0.1) !important;
        transform: translateY(-2px) !important;
    }
}

/* ---------- ИЗОБРАЖЕНИЕ ---------- */

.inner-folders__img {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
    position: relative !important;
    padding-top: 0 !important;
}

.inner-folders__img img {
    width: 90% !important;
    height: 90% !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.3s ease !important;
    margin: 0 !important;
    position: relative !important;
    inset: auto !important;
}

@media (hover: hover) {
    .inner-folders__list li a:hover .inner-folders__img img {
        transform: scale(1.06) !important;
    }
}

/* ---------- ТЕКСТ ---------- */

.inner-folders__text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 3px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: var(--on_gr_bg_acc_text, #2E2F38) !important;
    text-align: center !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: keep-all !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    min-height: 2.2em !important;
    padding: 0 2px !important;
    transition: color 0.2s ease !important;
    white-space: normal !important;
    text-overflow: clip !important;
    flex: 1 1 auto !important;
}

@media (hover: hover) {
    .inner-folders__list li a:hover .inner-folders__text {
        color: var(--gr_primary, #5B35B5) !important;
    }
}

/* ===== ДЕСКТОП И ПЛАНШЕТЫ (>=641px) ===== */
/* Стили наследуются из основных, ничего не меняем */

/* ===== МОБИЛЬНЫЕ (<=640px) ===== */

@media (max-width: 640px) {
    .inner-folders {
        padding: 0 0 15px !important;
        margin: 0 0 10px !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        -ms-overflow-style: auto !important;
    }
    
    .inner-folders::-webkit-scrollbar {
        -webkit-appearance: none !important;
        display: block !important;
        width: 3px !important;
        height: 3px !important;
    }
    
    .inner-folders::-webkit-scrollbar-track {
        background: #e8e8e8 !important;
        border-radius: 2px !important;
    }
    
    .inner-folders::-webkit-scrollbar-thumb {
        background: var(--gr_primary, #5B35B5) !important;
        border-radius: 2px !important;
    }

    .inner-folders__list {
        display: flex !important;
        flex-wrap: nowrap !important;
        list-style: none !important;
        padding: 0 4px 0 !important;
        margin: 0 !important;
        gap: 8px !important;
        min-width: max-content !important;
        align-items: stretch !important;
    }

    .inner-folders__list li {
        flex: 0 0 120px !important;
        max-width: 120px !important;
        min-width: 120px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: stretch !important;
    }

    .inner-folders__list li a {
        padding: 6px 6px 8px !important;
        border-radius: 6px !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
    }

    .inner-folders__img {
        border-radius: 4px !important;
        flex-shrink: 0 !important;
    }
    
    .inner-folders__img img {
        width: 100% !important;
        height: 100% !important;
    }

    .inner-folders__text {
        font-size: 11px !important;
        margin-top: 4px !important;
        line-height: 1.2 !important;
        min-height: 2.4em !important;
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .inner-folders__list li a:active,
    .inner-folders__list li a *:active {
        background-color: transparent !important;
        opacity: 1 !important;
        transform: none !important;
        color: inherit !important;
    }

    .inner-folders__list li a,
    .inner-folders__list li a * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        outline: none !important;
    }

    /* Маленькие телефоны (<=480px) */
    @media (max-width: 480px) {
        .inner-folders__list li {
            flex: 0 0 100px !important;
            max-width: 100px !important;
            min-width: 100px !important;
        }

        .inner-folders__list li a {
            padding: 4px 4px 6px !important;
            border-radius: 5px !important;
        }
        
        .inner-folders__img img {
            width: 100% !important;
            height: 100% !important;
        }

        .inner-folders__text {
            font-size: 10px !important;
            margin-top: 3px !important;
            line-height: 1.15 !important;
            min-height: 2.3em !important;
        }
    }

    /* Очень маленькие телефоны (<=360px) */
    @media (max-width: 360px) {
        .inner-folders__list li {
            flex: 0 0 85px !important;
            max-width: 85px !important;
            min-width: 85px !important;
        }

        .inner-folders__list li a {
            padding: 3px 3px 5px !important;
        }
        
        .inner-folders__img img {
            width: 100% !important;
            height: 100% !important;
        }

        .inner-folders__text {
            font-size: 9px !important;
            margin-top: 2px !important;
            min-height: 2.2em !important;
        }
    }
}