body#tinymce.wp-editor { 
    font-family: 'Roboto',Arial; 
    margin: 10px; 
}

body#tinymce.wp-editor a {
    color: #5E5340;
}
.woocommerce .products ul,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
}

.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    display: none !important;
}

.custom-hero-text p  {
    font-family: 'Rubik', 'Poppins', sans-serif !important;
}

.sitenav ul li a {
        font-family: 'Rubik', 'Poppins', sans-serif !important;
}

html,
body,
body * {
    font-family: 'Rubik', 'Poppins', sans-serif !important;
}

.woocommerce,
.woocommerce * {
    font-family: 'Rubik', 'Poppins', sans-serif !important;
}
.wp-block,
.wp-block * {
    font-family: 'Rubik', 'Poppins', sans-serif !important;
}

h1,h2,h3,h4,h5,h6{
font-family:'Rubik','Poppins',sans-serif !important;
font-weight:700;
}

body{
font-family:'Rubik','Poppins',sans-serif !important;
font-weight:400;
}

/* Убираем фиксированные ширины WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}

/* карточка товара */
.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

/* заголовок товара */
.woocommerce-loop-product__title {
    min-height: 48px !important;
    display: flex !important;
    align-items: center;
}

.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .add_to_cart_button, .woocommerce ul.products li.product .ajax_add_to_cart_button {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px;
}

.woocommerce .woosq-btn {
    margin-right: 0 !important;
    width: max-content !important;
    margin-left: 20px;
}

.woocommerce .woosq-btn {
    position: absolute;
    left: 20px;
    bottom: 20px;
    margin-left: 0;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    margin-bottom: 40px;
}


.site-footer {
    background: linear-gradient(180deg, #1f2430 0%, #171b24 100%);
    color: #fff;
    margin-top: 50px;
    padding: 0;
}

.site-footer .footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 50px 20px 25px;
}

.site-footer .footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.site-footer .footer-brand {
    max-width: 420px;
}

.site-footer .footer-logo {
    margin: 0 0 14px;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
}

.site-footer .footer-desc {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
}

.site-footer .footer-title {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.site-footer .footer-text,
.site-footer .footer-copy,
.site-footer .footer-note {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
}

.site-footer .footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer .footer-phone,
.site-footer .footer-whatsapp,
.site-footer .footer-map,
.site-footer .footer-menu-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    text-decoration: none;
    transition: 0.25s ease;
}

.site-footer .footer-phone {
    font-size: 22px;
    font-weight: 800;
    color: #ff7a00;
}

.site-footer .footer-phone:hover {
    color: #ffa24d;
}

.site-footer .footer-whatsapp,
.site-footer .footer-map,
.site-footer .footer-menu-link {
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 600;
}

.site-footer .footer-whatsapp:hover,
.site-footer .footer-map:hover,
.site-footer .footer-menu-link:hover {
    background: #ff7a00;
    color: #fff;
}

.site-footer .footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer .social-link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    transition: 0.25s ease;
    text-decoration: none;
}

.site-footer .social-link:hover {
    background: #ff7a00;
    transform: translateY(-2px);
}

.site-footer .social-icon {
    fill: #fff;
    display: block;
}

.site-footer .footer-bottom {
    margin-top: 35px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .site-footer .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .site-footer .footer-container {
        padding: 40px 16px 22px;
    }

    .site-footer .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer .footer-logo {
        font-size: 28px;
    }

    .site-footer .footer-phone {
        font-size: 20px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .site-footer .footer-whatsapp,
    .site-footer .footer-map,
    .site-footer .footer-menu-link {
        width: 100%;
        justify-content: center;
    }
}

/* Планшет */
@media screen and (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .toggle {
        margin-top: 35px !important;
    }
}

/* Мобильный */
@media screen and (max-width: 767px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .woocommerce .woosq-btn {
        left: 10px !important;
    }
    .woocommerce ul.products li.product .button, .woocommerce ul.products li.product .add_to_cart_button, .woocommerce ul.products li.product .ajax_add_to_cart_button  {
        right: 10px !important;
    }
    .container, .content-area {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .head-count .clear {
        display: none;
    }

    /* контейнер меню */
.sitenav{
    position: fixed !important;
    top: 157px !important;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: #fff;
    z-index: 9999;

    transform: translateX(-100%);
    transition: transform .3s ease;
}

/* когда тема включает display:block */
.sitenav[style*="display: block"]{
    transform: translateX(0);
}

/* список */
.sitenav ul{
    display: block !important;
    width: 100%;
    padding: 100px 25px 25px;
}

/* пункты */
.sitenav li{
    width: 100%;
    margin-bottom: 20px;
}

.sitenav a{
    display:block;
    font-size:20px;
}
.toggle {
    width: min-content !important;
}
.logo img {
    max-width: 180px !important;
}

body.wp-custom-logo .logo {
    padding: 0 !important;
    margin: 0 !important;
}
.toggle {
    margin: 0 !important;
}
.head-count {
    padding: 10px 10px !important;
}
.toggleMenu {
    width: 40px !important;
    height: 40px !important;
}
.custom-hero-slider {
    margin: 0 10px;
}
}


.header {
    margin-top: 15px;
    background: linear-gradient(135deg, #fff7f1 0%, #fff 100%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-radius: 18px;
}

.custom-hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff7f1 0%, #fff 100%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.custom-hero-track {
    position: relative;
    min-height: 420px;
}

.custom-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    padding: 40px;
    box-sizing: border-box;
}

.custom-hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.custom-hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: center;
    min-height: 340px;
}

.custom-hero-text h2 {
    margin: 0 0 16px;
    font-size: 42px;
    line-height: 1.15;
    color: #1f2430;
    font-weight: 800;
}

.custom-hero-text p {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.6;
    color: #4c5563;
    max-width: 520px;
}

.custom-hero-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 122, 0, 0.12);
    color: #ff7a00;
    font-size: 14px;
    font-weight: 700;
}

.custom-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    background: #ff7a00;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.25s ease;
}

.custom-hero-btn:hover {
    background: #e96f00;
    transform: translateY(-2px);
}

.custom-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-hero-image img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.custom-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    font-size: 28px;
    line-height: 1;
    color: #1f2430;
    cursor: pointer;
    z-index: 5;
    transition: 0.25s ease;
}

.custom-hero-arrow:hover {
    background: #ff7a00;
    color: #fff;
}

.custom-hero-arrow.prev {
    left: 16px;
}

.custom-hero-arrow.next {
    right: 16px;
}

.custom-hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 0 22px;
}

.custom-hero-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(31, 36, 48, 0.2);
    cursor: pointer;
    transition: 0.25s ease;
}

.custom-hero-dot.active {
    width: 28px;
    border-radius: 999px;
    background: #ff7a00;
}

@media (max-width: 991px) {
    .custom-hero-slide {
        padding: 30px 24px;
    }

    .custom-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .custom-hero-text p {
        max-width: 100%;
    }

    .custom-hero-text h2 {
        font-size: 34px;
    }

    .custom-hero-btn {
        margin: 0 auto;
    }

    .custom-hero-track {
        min-height: 560px;
    }

    .custom-hero-image img {
        max-width: 360px;
    }
}

@media (max-width: 767px) {
    .custom-hero-slider {
        margin: 15px auto 25px;
        border-radius: 18px;
    }

    .custom-hero-slide {
        padding: 22px 16px 18px;
    }

    .custom-hero-track {
        min-height: 500px;
    }

    .custom-hero-text h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .custom-hero-text p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .custom-hero-badge {
        font-size: 12px;
        padding: 7px 12px;
    }

    .custom-hero-btn {
        min-height: 46px;
        padding: 0 18px;
        font-size: 15px;
    }

    .custom-hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .custom-hero-arrow.prev {
        left: 10px;
    }

    .custom-hero-arrow.next {
        right: 10px;
    }

    .custom-hero-image img {
        max-width: 280px;
    }
}





/* ==================================================
   CART + CHECKOUT FIX
   ================================================== */

/* фон */
.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-page {
    background: #f8f5f1 !important;
}

/* убираем сайдбар темы на корзине и оформлении */
body.woocommerce-cart #sidebar,
body.woocommerce-checkout #sidebar,
body.woocommerce-cart .sidebar,
body.woocommerce-checkout .sidebar,
body.woocommerce-cart aside,
body.woocommerce-checkout aside,
body.woocommerce-cart .wp-block-latest-posts,
body.woocommerce-checkout .wp-block-latest-posts,
body.woocommerce-cart .widget-area,
body.woocommerce-checkout .widget-area {
    display: none !important;
}

/* контент на всю ширину */
body.woocommerce-cart .container,
body.woocommerce-checkout .container,
body.woocommerce-cart .page_content,
body.woocommerce-checkout .page_content,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* заголовки */
body.woocommerce-cart h1,
body.woocommerce-checkout h1,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
    font-size: 56px !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    color: #18233a !important;
    margin: 20px 0 28px !important;
    letter-spacing: -0.02em;
}

/* ===== КОРЗИНА ===== */

.wc-block-cart {
    max-width: 100% !important;
    margin: 0 !important;
}

.wc-block-cart__main,
.wc-block-cart__sidebar {
    background: #fffaf6 !important;
    border: 1px solid rgba(255, 122, 0, 0.08) !important;
    border-radius: 28px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05) !important;
    padding: 28px !important;
    box-sizing: border-box !important;
}

.wc-block-cart__main {
    min-width: 0 !important;
}

.wc-block-cart__sidebar {
    min-width: 320px !important;
}

/* сетка desktop */
.wc-block-cart__main .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) auto !important;
    gap: 18px !important;
    align-items: start !important;
    padding: 22px 0 !important;
    border-bottom: 1px solid rgba(24, 35, 58, 0.08) !important;
    background: transparent !important;
}

/* таблица без лишних обводок */
.wc-block-cart-items,
.wc-block-cart-items tbody,
.wc-block-cart-items tr,
.wc-block-cart-items td {
    border: none !important;
    background: transparent !important;
}

/* картинка */
.wc-block-cart-item__image,
.wc-block-cart-item__image a {
    display: block !important;
    width: 92px !important;
}

.wc-block-cart-item__image img {
    width: 92px !important;
    height: 92px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* название товара */
.wc-block-components-product-name,
.wc-block-cart-item__wrap .wc-block-components-product-name {
    display: block !important;
    color: #18233a !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    margin: 0 0 10px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* скрываем цену за 1 шт */
.wc-block-cart-item__prices {
    display: none !important;
}

/* описание / состав */
.wc-block-components-product-metadata,
.wc-block-components-product-details,
.wc-block-components-product-details__description {
    color: #5c6678 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin-top: 6px !important;
    word-break: break-word !important;
}

/* количество */
.wc-block-cart-item__quantity {
    margin-top: 14px !important;
}

.wc-block-components-quantity-selector {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 46px !important;
    border: 1px solid rgba(24, 35, 58, 0.12) !important;
    border-radius: 14px !important;
    background: #fff !important;
    overflow: hidden !important;
}

.wc-block-components-quantity-selector input {
    min-width: 42px !important;
    border: none !important;
    background: transparent !important;
    color: #18233a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.wc-block-components-quantity-selector {
    width: auto !important;
}

.wc-block-components-quantity-selector button {
    min-width: 40px !important;
    height: 46px !important;
    border: none !important;
    background: #fff !important;
    color: #18233a !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.wc-block-components-quantity-selector button:hover {
    background: #fff3e8 !important;
    color: #ff7a00 !important;
}

/* удалить */
.wc-block-cart-item__remove-link {
    display: inline-block !important;
    margin-top: 10px !important;
    color: #c55b5b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.wc-block-cart-item__remove-link:hover {
    color: #ff7a00 !important;
}

/* итоговая цена позиции */
.wc-block-cart-item__total,
.wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    min-width: 140px !important;
}

.wc-block-cart-item__total .wc-block-formatted-money-amount,
.wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-formatted-money-amount {
    color: #18233a !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

/* сайдбар корзины */
.wc-block-cart__sidebar .wc-block-components-sidebar-layout {
    display: block !important;
}

.wc-block-components-sidebar {
    background: transparent !important;
}

.wc-block-components-totals-wrapper,
.wc-block-cart__sidebar .wc-block-components-panel {
    background: transparent !important;
}

.wc-block-components-totals-item {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(24, 35, 58, 0.08) !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
    color: #18233a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.wc-block-components-totals-footer-item {
    margin-top: 10px !important;
    padding-top: 16px !important;
    border-top: 2px solid rgba(255, 122, 0, 0.14) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #18233a !important;
}

.wc-block-cart__main .wc-block-cart-items td {
    width: 300px;
}

/* купон */
.wc-block-components-panel__button,
.wc-block-components-panel__button:hover {
    color: #18233a !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* кнопка */
.wc-block-cart__submit-button,
.wc-block-components-button {
    min-height: 56px !important;
    border: none !important;
    border-radius: 18px !important;
    background: #ff7a00 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.22) !important;
    transition: all .25s ease !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-button:hover {
    background: #ea6f00 !important;
    transform: translateY(-2px) !important;
}

/* ===== ОФОРМЛЕНИЕ ЗАКАЗА ===== */

.wc-block-checkout,
.wp-block-woocommerce-checkout {
    max-width: 100% !important;
}

.wc-block-components-sidebar-layout,
.wc-block-checkout__main,
.wc-block-checkout__sidebar {
    min-width: 0 !important;
}

.wc-block-checkout__main,
.wc-block-checkout__sidebar {
    background: #fffaf6 !important;
    border: 1px solid rgba(255, 122, 0, 0.08) !important;
    border-radius: 28px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05) !important;
    padding: 28px !important;
    box-sizing: border-box !important;
}

.wc-block-checkout__sidebar {
    position: sticky !important;
    top: 20px !important;
}

/* карточки блоков формы */
.wc-block-components-checkout-step,
.wc-block-components-checkout-return-to-cart-button,
.wc-block-components-order-summary,
.wc-block-components-totals-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* поля */
.wc-block-components-text-input input,
.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-combobox-control .components-combobox-control__input,
.wc-block-components-address-form input,
.wc-block-components-address-form select,
.wc-block-components-textarea textarea {
    min-height: 52px !important;
    border: 1px solid rgba(24, 35, 58, 0.12) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 0 14px !important;
    font-size: 16px !important;
}

.wc-block-components-textarea textarea {
    min-height: 100px !important;
    padding-top: 14px !important;
}

.wc-block-components-checkbox label,
.wc-block-components-radio-control__option {
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #18233a !important;
}

/* методы доставки */
.wc-block-components-radio-control-accordion-option,
.wc-block-components-shipping-rates-control__package {
    border: 1px solid rgba(24, 35, 58, 0.08) !important;
    border-radius: 18px !important;
    background: #fff !important;
    overflow: hidden !important;
}

.wc-block-components-radio-control__option {
    padding: 16px !important;
}

/* товары в сайдбаре checkout */
.wc-block-components-order-summary .wc-block-components-product-name,
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #18233a !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* цена в summary */
.wc-block-components-order-summary-item__total-price,
.wc-block-components-order-summary .wc-block-formatted-money-amount {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #18233a !important;
    white-space: nowrap !important;
}

/* кнопка place order */
.wc-block-components-checkout-place-order-button {
    min-height: 58px !important;
    border-radius: 18px !important;
    background: #ff7a00 !important;
    color: #fff !important;
    border: none !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.22) !important;
}

.wc-block-components-checkout-place-order-button:hover {
    background: #ea6f00 !important;
}

/* ==================================================
   TABLET
   ================================================== */
@media (max-width: 1024px) {
    body.woocommerce-cart h1,
    body.woocommerce-checkout h1,
    body.woocommerce-cart .entry-title,
    body.woocommerce-checkout .entry-title {
        font-size: 42px !important;
    }

    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-checkout__main,
    .wc-block-checkout__sidebar {
        padding: 22px !important;
        border-radius: 22px !important;
    }

    .wc-block-cart-item__total .wc-block-formatted-money-amount,
    .wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-formatted-money-amount {
        font-size: 20px !important;
    }
}

/* ==================================================
   MOBILE
   ================================================== */
@media (max-width: 767px) {

    body.woocommerce-cart .container,
    body.woocommerce-checkout .container,
    body.woocommerce-cart .page_content,
    body.woocommerce-checkout .page_content {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.woocommerce-cart h1,
    body.woocommerce-checkout h1,
    body.woocommerce-cart .entry-title,
    body.woocommerce-checkout .entry-title {
        font-size: 32px !important;
        margin: 14px 0 20px !important;
    }

    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-checkout__main,
    .wc-block-checkout__sidebar {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    /* корзина в 1 колонку */
    .wc-block-cart__main .wc-block-cart-items__row {
        grid-template-columns: 64px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 16px 0 !important;
    }

    .wc-block-cart-item__image,
    .wc-block-cart-item__image a {
        width: 64px !important;
    }

    .wc-block-cart-item__image img {
        width: 64px !important;
        height: 64px !important;
        border-radius: 12px !important;
    }

    .wc-block-components-product-name,
    .wc-block-cart-item__wrap .wc-block-components-product-name {
        font-size: 17px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }

    .wc-block-components-product-metadata,
    .wc-block-components-product-details,
    .wc-block-components-product-details__description {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .wc-block-cart-item__total,
    .wc-block-cart-item__total-price-and-sale-badge-wrapper {
        grid-column: 2 / 3 !important;
        justify-content: flex-start !important;
        margin-top: 8px !important;
    }

    .wc-block-cart-item__total .wc-block-formatted-money-amount,
    .wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-formatted-money-amount {
        font-size: 20px !important;
    }

    .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
    .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
        font-size: 22px !important;
    }

    .wc-block-cart__submit-button,
    .wc-block-components-checkout-place-order-button,
    .wc-block-components-button {
        min-height: 50px !important;
        font-size: 16px !important;
        border-radius: 14px !important;
    }

    /* checkout stack */
    .wc-block-components-sidebar-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .wc-block-checkout__sidebar {
        position: static !important;
        top: auto !important;
        order: 2 !important;
    }

    .wc-block-checkout__main {
        order: 1 !important;
    }

    .wc-block-components-order-summary .wc-block-components-product-name,
    .wc-block-components-order-summary-item__description .wc-block-components-product-name {
        font-size: 16px !important;
    }

    .wc-block-components-order-summary-item__total-price,
    .wc-block-components-order-summary .wc-block-formatted-money-amount {
        font-size: 18px !important;
    }

    .wc-block-components-text-input input,
    .wc-block-components-form .wc-block-components-text-input input,
    .wc-block-components-combobox-control .components-combobox-control__input,
    .wc-block-components-address-form input,
    .wc-block-components-address-form select,
    .wc-block-components-textarea textarea {
        min-height: 48px !important;
        font-size: 15px !important;
        border-radius: 14px !important;
    }
}



.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control .wc-block-components-radio-control__input {
    display: none;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    box-shadow: inset 0 0 0 1.5px rgb(255, 94, 0);
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    border-radius: 17px;
}

.wc-block-components-product-metadata__description {
    margin: 20px 0;
}
.wc-block-cart-items__row {
    position: relative;
}

.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total, .is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total, .is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    position: absolute;
    right: -131px;
    bottom: 12px;
}


.wc-block-cart-item__total, .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    align-items: flex-end !important;
    min-width: 240px !important;
}


/* =========================================
   XOO CP QUICK CART — STYLE FIX
   ========================================= */

/* затемнение */
.xoo-cp-modal::before,
.xoo-cp-opac {
    background: rgba(24, 35, 58, 0.45) !important;
    backdrop-filter: blur(3px);
}

/* окно */
.xoo-cp-container {
    width: calc(100vw - 24px) !important;
    max-width: 520px !important;
    border: 1px solid rgba(255, 122, 0, 0.1) !important;
    border-radius: 24px !important;
    background: #fffaf6 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16) !important;
    padding: 18px !important;
    overflow: hidden !important;
}

/* внутренняя часть */
.xoo-cp-inner,
.xoo-cp-content,
.xoo-cp-outer {
    background: transparent !important;
}

/* крестик */
.xoo-cp-close {
    top: 10px !important;
    right: 10px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid rgba(24, 35, 58, 0.12) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    color: #18233a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.xoo-cp-close:hover {
    background: #ff7a00 !important;
    color: #fff !important;
    border-color: #ff7a00 !important;
}

/* уведомление */
.xoo-cp-notice,
.xoo-cp-success,
.xoo-cp-msg {
    border-radius: 14px !important;
    border: none !important;
    background: #eef8ea !important;
    color: #2f7a37 !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
}

/* карточка товара */
.xoo-cp-pdetails,
.xoo-cp-product,
.xoo-cp-row {
    background: #fff !important;
    border: 1px solid rgba(24, 35, 58, 0.06) !important;
    border-radius: 18px !important;
    padding: 14px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04) !important;
}

/* если в попапе несколько строк */
.xoo-cp-pdetails + .xoo-cp-pdetails,
.xoo-cp-product + .xoo-cp-product {
    margin-top: 12px !important;
}

/* картинка */
.xoo-cp-pimg img,
.xoo-cp-img img,
.xoo-cp-product img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* название */
.xoo-cp-pname,
.xoo-cp-pname a,
.xoo-cp-name {
    color: #18233a !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* цена */
.xoo-cp-ptotal,
.xoo-cp-pprice,
.xoo-cp-price,
.xoo-cp-totamt {
    color: #18233a !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

/* количество */
.xoo-cp-qty,
.xoo-cp-qtybox,
.xoo-cp-qty-wrap {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(255, 122, 0, 0.35) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #fff !important;
}

.xoo-cp-qty input,
.xoo-cp-qtybox input,
.xoo-cp-qty-wrap input {
    width: 46px !important;
    height: 48px !important;
    border: none !important;
    background: transparent !important;
    color: #18233a !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-shadow: none !important;
}

.xoo-cp-qty button,
.xoo-cp-qtybox button,
.xoo-cp-qty-wrap button,
.xoo-cp-qty .plus,
.xoo-cp-qty .minus,
.xoo-cp-qtybox .plus,
.xoo-cp-qtybox .minus {
    width: 40px !important;
    height: 48px !important;
    border: none !important;
    background: #fff !important;
    color: #ff7a00 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.xoo-cp-qty button:hover,
.xoo-cp-qtybox button:hover,
.xoo-cp-qty-wrap button:hover {
    background: #fff3e8 !important;
}

/* разделитель */
.xoo-cp-divider,
.xoo-cp-ptotal-wrap,
.xoo-cp-ftotal {
    border-color: rgba(24, 35, 58, 0.08) !important;
}

/* итог */
.xoo-cp-ftotal,
.xoo-cp-totals {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(24, 35, 58, 0.08) !important;
}

.xoo-cp-ftotal td,
.xoo-cp-totals td,
.xoo-cp-ftotal span,
.xoo-cp-totals span {
    color: #18233a !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}

/* блок кнопок */
.xoo-cp-btns {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 16px !important;
    display: grid !important;
    gap: 12px !important;
}

/* кнопки */
.xoo-cp-btns a,
.xoo-cp-btns button,
.xoo-cp-btns .button,
.xoo-cp-btns .btn {
    min-height: 52px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    border-radius: 16px !important;
    border: none !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    transition: all .25s ease !important;
    box-sizing: border-box !important;
}

/* главная кнопка */
.xoo-cp-btn-checkout,
.xoo-cp-btns a.checkout,
.xoo-cp-btns .checkout-button {
    background: #ff7a00 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.22) !important;
}

.xoo-cp-btn-checkout:hover,
.xoo-cp-btns a.checkout:hover,
.xoo-cp-btns .checkout-button:hover {
    background: #ea6f00 !important;
    transform: translateY(-2px) !important;
}

/* вторичные кнопки */
.xoo-cp-btn-cart,
.xoo-cp-btns a.cart,
.xoo-cp-btns .view-cart,
.xoo-cp-btns .continue {
    background: #fff !important;
    color: #18233a !important;
    border: 1px solid rgba(24, 35, 58, 0.12) !important;
}

.xoo-cp-btn-cart:hover,
.xoo-cp-btns a.cart:hover,
.xoo-cp-btns .view-cart:hover,
.xoo-cp-btns .continue:hover {
    background: #fff3e8 !important;
    color: #ff7a00 !important;
    border-color: rgba(255, 122, 0, 0.35) !important;
}

/* мобильная адаптация */
@media (max-width: 767px) {

    .wc-block-cart__main .wc-block-cart-items td {
        width: 100%;
    }
    .xoo-cp-container {
        width: calc(100vw - 16px) !important;
        max-width: none !important;
        border-radius: 20px !important;
        padding: 14px !important;
    }

    .xoo-cp-pname,
    .xoo-cp-pname a,
    .xoo-cp-name {
        font-size: 17px !important;
    }

    .xoo-cp-pimg img,
    .xoo-cp-img img,
    .xoo-cp-product img {
        width: 58px !important;
        height: 58px !important;
        border-radius: 12px !important;
    }

    .xoo-cp-qty input,
    .xoo-cp-qtybox input,
    .xoo-cp-qty-wrap input {
        width: 40px !important;
        height: 44px !important;
        font-size: 16px !important;
    }

    .xoo-cp-qty button,
    .xoo-cp-qtybox button,
    .xoo-cp-qty-wrap button,
    .xoo-cp-qty .plus,
    .xoo-cp-qty .minus,
    .xoo-cp-qtybox .plus,
    .xoo-cp-qtybox .minus {
        width: 36px !important;
        height: 44px !important;
        font-size: 22px !important;
    }

    .xoo-cp-btns a,
    .xoo-cp-btns button,
    .xoo-cp-btns .button,
    .xoo-cp-btns .btn {
        min-height: 48px !important;
        font-size: 15px !important;
        border-radius: 14px !important;
    }

    .xoo-cp-ftotal td,
    .xoo-cp-totals td,
    .xoo-cp-ftotal span,
    .xoo-cp-totals span {
        font-size: 18px !important;
    }
    .wc-block-cart-item__total, .wc-block-cart-item__total-price-and-sale-badge-wrapper {
        min-width: 0 !important;
    }
    .is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total, .is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total, .is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
        right: -7px;
        bottom: 12px;
            width: min-content !important;
    }
}


.mobile-floating-cart{
    display:none;
}

@media (max-width: 768px){

    .mobile-floating-cart{
        display:block !important;
        position:fixed;
        right:14px;
        bottom:14px;
        z-index:99999;
        width:auto;
        max-width:calc(100vw - 28px);
    }

    .mobile-floating-cart .wpmenucart-contents{
        display:flex !important;
        align-items:center;
        gap:10px;
        min-height:58px;
        padding:10px 14px;
        background:linear-gradient(135deg, #ff8a1f 0%, #ff6f00 100%);
        color:#fff !important;
        border-radius:20px;
        text-decoration:none !important;
        box-shadow:0 14px 30px rgba(255,122,0,.28);
        border:1px solid rgba(255,255,255,.16);
        font-family:'Rubik','Poppins',sans-serif !important;
        transition:transform .2s ease, box-shadow .2s ease;
        white-space:nowrap;
    }

    .mobile-floating-cart .wpmenucart-contents:hover,
    .mobile-floating-cart .wpmenucart-contents:active{
        transform:translateY(-2px);
        box-shadow:0 18px 34px rgba(255,122,0,.34);
    }

    .mobile-floating-cart .wpmenucart-contents::before{
        content:none !important;
        display:none !important;
    }

    .mobile-floating-cart .wpmenucart-icon-shopping-cart-0{
        position:static !important;
        transform:none !important;
        width:40px;
        height:40px;
        min-width:40px;
        display:flex !important;
        align-items:center;
        justify-content:center;
        border-radius:14px;
        background:rgba(255,255,255,.18);
        color:#fff !important;
        font-size:18px;
        line-height:1;
        flex-shrink:0;
    }

    .mobile-floating-cart .cartcontents{
        display:flex;
        flex-direction:column;
        justify-content:center;
        min-width:62px;
        color:#fff !important;
        font-size:11px;
        line-height:1.05;
        font-weight:500;
    }

    .mobile-floating-cart .cartcontents::before{
        content:"Корзина";
        display:block;
        margin-bottom:3px;
        font-size:13px;
        line-height:1.1;
        font-weight:800;
        color:#fff;
    }

    .mobile-floating-cart .amount{
        color:#fff !important;
        font-size:16px;
        line-height:1;
        font-weight:800;
        letter-spacing:-0.02em;
        margin-left:2px;
        white-space:nowrap;
    }

    .sitenav .wpmenucartli{
        display:none !important;
        top: 129px !important;
    }
}

@media (max-width: 768px){
    .mobile-floating-cart .wpmenucart-contents{
        animation:cartFloatPulse 2.2s ease-in-out infinite;
    }

    @keyframes cartFloatPulse{
        0%{ transform:translateY(0); }
        50%{ transform:translateY(-2px); }
        100%{ transform:translateY(0); }
    }
}







.toggle a.toggleMenu.active {
    background-image: url(https://xn--d1acdipatnc.xn--p1ai/wp-content/uploads/2026/03/Group-56.png) !important;
}



.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
    width: min-content !important;
}

.wc-block-components-form .wc-block-components-text-input input:-webkit-autofill+label, .wc-block-components-form .wc-block-components-text-input.is-active label, .wc-block-components-text-input input:-webkit-autofill+label, .wc-block-components-text-input.is-active label {
    top: -6px !important;
}

.checkout-order-summary-block-fill {
    border: none !important;
}