/* Checkout: убираем лишние внутренние контейнеры-обертки только на мобильных */
@media (max-width: 768px) {
    body.woocommerce-order-pay article.single-content.card-layout-w {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.woocommerce-order-pay article.single-content.card-layout-w::before,
    body.woocommerce-order-pay article.single-content.card-layout-w::after {
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
    }
    body.woocommerce-order-pay article.single-content.card-layout-w > .single-content-inner {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.woocommerce-order-pay article.single-content.card-layout-w > .single-content-inner > .woocommerce.wp-block-group.alignwide,
    body.woocommerce-order-pay article.single-content.card-layout-w > .single-content-inner > .woocommerce {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    body.woocommerce-checkout article.single-content.card-layout-w > .single-content-inner > .woocommerce.wp-block-group.alignwide,
    body.woocommerce-checkout article.single-content.card-layout-w > .single-content-inner > .woocommerce {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    body.woocommerce-checkout #order_review.woocommerce-checkout-review-order {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body.woocommerce-checkout .fenix-item-meta-list,
    body.woocommerce-order-pay .fenix-item-meta-list {
        text-align: left !important;
        padding: 10px 12px !important;
        gap: 6px !important;
    }
    body.woocommerce-checkout .fenix-item-meta-list .fenix-meta-row,
    body.woocommerce-order-pay .fenix-item-meta-list .fenix-meta-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        justify-content: flex-start !important;
        text-align: left !important;
        column-gap: 6px !important;
        row-gap: 2px !important;
        margin: 0 !important;
    }
    body.woocommerce-checkout .fenix-item-meta-list .fenix-meta-label,
    body.woocommerce-order-pay .fenix-item-meta-list .fenix-meta-label {
        display: inline !important;
        width: auto !important;
        max-width: 100% !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        flex: 0 1 auto !important;
        min-height: 0 !important;
    }
    body.woocommerce-checkout .fenix-item-meta-list .fenix-meta-value,
    body.woocommerce-order-pay .fenix-item-meta-list .fenix-meta-value {
        display: inline !important;
        width: auto !important;
        max-width: 100% !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        flex: 0 1 auto !important;
        min-height: 0 !important;
    }
    body.woocommerce-checkout .fenix-item-meta-list .fenix-meta-value p,
    body.woocommerce-order-pay .fenix-item-meta-list .fenix-meta-value p {
        margin: 0 !important;
        line-height: 1.3 !important;
        display: inline !important;
    }

    /* Личный кабинет -> просмотр заказа: те же стили вариаций, что и checkout */
    body.woocommerce-account .woocommerce-MyAccount-content .fenix-custom-order-details-wrapper .fenix-item-meta-list {
        text-align: left !important;
        padding: 10px 12px !important;
        gap: 6px !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content .fenix-custom-order-details-wrapper .fenix-meta-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        justify-content: flex-start !important;
        text-align: left !important;
        column-gap: 6px !important;
        row-gap: 2px !important;
        margin: 0 !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content .fenix-custom-order-details-wrapper .fenix-meta-label {
        display: inline !important;
        width: auto !important;
        max-width: 100% !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        flex: 0 1 auto !important;
        min-height: 0 !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content .fenix-custom-order-details-wrapper .fenix-meta-value {
        display: inline !important;
        width: auto !important;
        max-width: 100% !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        flex: 0 1 auto !important;
        min-height: 0 !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content .fenix-custom-order-details-wrapper .fenix-meta-value p {
        margin: 0 !important;
        line-height: 1.3 !important;
        display: inline !important;
    }
}

.blogsy-ticker {
    border-bottom: 0px solid var(--pt-border-color);
    padding: 10px 0;
}

.woocommerce form .form-row label.checkbox, .woocommerce-page form .form-row label.checkbox {
		padding: 10px 15px !important;
    background: rgba(0, 0, 0, 0.03) !important;
    border-radius: 8px !important;
    margin: 0 !important;
    display: inline;
}

.woocommerce-order-received .fenix-success-order-wrapper:not(:has(.fenix-success-title, .fenix-failed-title, .fenix-success-text, .fenix-failed-text)) { display: none !important; }
.product_meta, #tab-title-additional_information, #tab-additional_information, table.variations a.reset_variations, .single-author-box-container, .comments-container, .wp-block-woocommerce-checkout-shipping-address-block, .wp-block-woocommerce-checkout-billing-address-block, .wp-block-woocommerce-checkout-shipping-method-block, .wp-block-woocommerce-checkout-shipping-methods-block, .wp-block-woocommerce-checkout-pickup-options-block, .wp-block-woocommerce-checkout-order-summary-shipping-block, .woocommerce-customer-details, .woocommerce-table--order-downloads th.download-remaining, .woocommerce-table--order-downloads th.download-expires, .woocommerce-table--order-downloads td.download-remaining, .woocommerce-table--order-downloads td.download-expires, .woocommerce .woocommerce-product-rating, .blog-archive-title .post-count, .blog-archive-title .blogsy-search-form, .single-page-title, .page-title, .woocommerce-products-header__title, h2.woocommerce-Reviews-title, #tab-description h2, .product-type-variable .summary > p.price, .single-next-prev-posts-title, .woocommerce-checkout #order_review_heading, .woocommerce-checkout .woocommerce-billing-fields > h3, .woocommerce-checkout .woocommerce-additional-fields > h3, .woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 h3, .woocommerce-order-details__title, .woocommerce-order-downloads__title, .woocommerce-column__title, .woocommerce-orders-table thead, .woocommerce-checkout-review-order-table thead, .woocommerce-order-details .shop_table thead, .woocommerce-checkout-review-order-table .product-total, .woocommerce-order-details .shop_table td.product-total, .woocommerce-table__product-total, .shop_table tr.cart-subtotal, .woocommerce-order-details .shop_table tr.cart-subtotal, .woocommerce-orders-table__cell-order-actions::before, p.woocommerce-noreviews, .comment-reply-title, #comment-form-rating-label, .comment-form-comment label, .fenix-toast-close, tr.order-total th, .has-total-label, .woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received, .woocommerce-notice.woocommerce-notice--error.woocommerce-thankyou-order-failed, .woocommerce-notice.woocommerce-notice--error.woocommerce-thankyou-order-failed-actions, ul.woocommerce-order-overview { display: none !important; }
.woocommerce-order-received:has(.fenix-failed-order-wrapper) table.shop_table.order_details, .woocommerce-order-received:has(.fenix-failed-order-wrapper) h2.woocommerce-order-details__title { display: none !important; }
.woocommerce-order-details tbody tr th[scope="row"], .woocommerce-order-details tbody tr th[scope="row"] + td { display: none !important; }
body:not(.single-product) .entry-title { display: none !important; }
.single-product h1.product_title.entry-title { display: block !important; }
@media (max-width: 768px) {
    .single-product h1.product_title.entry-title { text-align: center !important; font-size: 24px !important; margin-bottom: 15px !important; }
}
::-moz-selection { background-color: #4b5767 !important; color: #fff !important; }
::selection { background-color: #4b5767 !important; color: #fff !important; }
*, a, button, input, .button, .woocommerce-button { -webkit-tap-highlight-color: transparent !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; }
button:focus, button:active, a:focus, a:active, .button:focus, .button:active { outline: none !important; }
body .blockUI.blockOverlay, .woocommerce .blockUI.blockOverlay, .blockUI.blockOverlay { background: transparent !important; background-color: transparent !important; opacity: 1 !important; }
body .blockUI.blockOverlay::before, .woocommerce .blockUI.blockOverlay::before, .blockUI.blockOverlay::before { display: none !important; content: none !important; animation: none !important; background: none !important; }
.processing, .woocommerce form.checkout.processing, .woocommerce form.login.processing, .woocommerce form.register.processing, .woocommerce .cart.processing, .woocommerce .woocommerce-orders-table.processing, .woocommerce-cart-form.processing { opacity: 1 !important; }
.processing::before, .processing::after { display: none !important; }
@media (max-width: 768px) {
    .blogsy-topbar, .pt-header-widget__search, .pt-mobile-nav, .pt-header-widget__button, .offcanvas-content .logo-inner, .my-account-mobile-item { display: none !important; }
    .site-header .pt-flex-row, .pt-header-main .pt-flex-row { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; flex-wrap: nowrap !important; width: 100% !important; }
    .pt-logo { display: flex !important; align-items: center !important; margin-right: auto !important; padding-left: 15px !important; }
    .pt-logo img { max-width: 180px !important; height: auto !important; }
    .pt-header-widget__darkmode { display: flex !important; align-items: center !important; margin-left: auto !important; padding-right: 15px !important; }
    .pt-header .blogsy-offcanvas .offcanvas-content { gap: 25px; }
    .offcanvas-content .blogsy-header-v-nav-wrapper, ul#wpbm-nav.wpbm-nav-items { width: 100% !important; }
    .offcanvas-content .blogsy-header-v-nav, ul#wpbm-nav.wpbm-nav-items { list-style: none !important; padding: 0 20px !important; margin: 0 !important; width: 100% !important; box-sizing: border-box !important; }
    .offcanvas-content .blogsy-header-v-nav li, ul#wpbm-nav.wpbm-nav-items li.menu-item { display: block !important; margin-bottom: 12px !important; border: 1px solid var(--pt-border-color, #e9e8ff) !important; border-radius: 10px !important; background: var(--wp--preset--color--card-bg, #fff) !important; transition: all 0.3s ease !important; width: 100% !important; box-sizing: border-box !important; box-shadow: none !important; }
    .offcanvas-content .blogsy-header-v-nav a, ul#wpbm-nav.wpbm-nav-items li.menu-item a { display: block !important; padding: 12px 20px !important; font-size: 20px !important; font-weight: 600 !important; color: var(--wp--preset--color--heading, #333) !important; text-decoration: none !important; text-align: center !important; transition: all 0.3s ease !important; text-transform: uppercase !important; }
    .offcanvas-content .blogsy-header-v-nav li:hover, ul#wpbm-nav.wpbm-nav-items li.menu-item:hover { border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 8px 20px rgba(33, 107, 233, 0.25) !important; transform: translateY(-2px) !important; }
    .offcanvas-content .blogsy-header-v-nav li:hover a, ul#wpbm-nav.wpbm-nav-items li.menu-item:hover a { color: var(--wp--preset--color--accent, #216be9) !important; }
    .offcanvas-content .blogsy-header-v-nav li.current-menu-item, ul#wpbm-nav.wpbm-nav-items li.current-menu-item, ul#wpbm-nav.wpbm-nav-items li.current_page_item { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; }
    .offcanvas-content .blogsy-header-v-nav li.current-menu-item a, ul#wpbm-nav.wpbm-nav-items li.current-menu-item a, ul#wpbm-nav.wpbm-nav-items li.current_page_item a { color: white !important; }
    .wp-bottom-menu-nav-wrapper .wpbm-nav-close { display: block !important; text-align: right !important; font-size: 48px !important; font-weight: 300 !important; color: white !important; margin: 0 !important; cursor: pointer !important; transition: color 0.3s ease !important; }
    .wp-bottom-menu-nav-wrapper .wpbm-nav-close:hover { color: var(--wp--preset--color--accent, #216be9) !important; }
}
body .wp-block-button .wp-block-button__link:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(50, 55, 60, 0.4) !important; color: #fff !important; }
body .wp-block-button.is-style-outline .wp-block-button__link { background: transparent !important; color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: none !important; }
body .wp-block-button.is-style-outline .wp-block-button__link:hover { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; transform: translateY(-3px) !important; }
@media (max-width: 768px) {
    .content-container { padding-left: 15px !important; padding-right: 15px !important; margin-left: auto !important; margin-right: auto !important; width: 100% !important; box-sizing: border-box !important; }
    .wp-block-group.alignfull, .wp-block-group.alignwide { margin: 0 !important; padding: 0 15px !important; width: 100% !important; box-sizing: border-box !important; }
    .wp-block-image img { max-width: 100% !important; height: auto !important; margin: 0 auto !important; display: block !important; }
    .home .wp-block-column, .home h1.wp-block-heading, .home p, .home .wp-block-button, h1.wp-block-heading, .single-product .summary strong, .single-product .summary a { text-align: center !important; display: block !important; margin-left: auto !important; margin-right: auto !important; }
    .single-product .summary p { text-align: left !important; }
    .wp-block-buttons, .wp-block-buttons.is-layout-flex, .wp-container-core-buttons-is-layout-dd8a773d { display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; width: 100% !important; gap: 15px !important; margin-top: 15px !important; margin-bottom: 25px !important; }
    .wp-block-button, .wp-block-button.is-btn-arrow { width: 100% !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center !important; }
    .wp-block-button__link { width: 100% !important; max-width: 280px !important; height: 52px !important; margin: 0 auto !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 18px !important; box-sizing: border-box !important; }
    #blogsy-footer-widgets { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
    #blogsy-footer-widgets .blogsy-footer-column { width: 100%; text-align: center; flex: 0 1 auto; min-width: 200px; }
    #blogsy-footer-widgets .menu { display: block; text-align: center; }
    #blogsy-footer-widgets .menu li { display: inline-block; margin: 0 10px; }
    .default-footer-copyright { text-align: center; margin-top: 20px; }
}
.single-post .content-container { max-width: 800px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.single-post .single-content img, .single-post .single-content .wp-block-image img { max-width: 100%; height: auto; display: block; margin: 20px auto; border-radius: 12px; }
.single-post .single-content .wp-block-image figcaption { margin-top: 10px; font-size: 14px; color: var(--wp--preset--color--body-color, #777); text-align: center; }
.single-post .wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%); color: #fff !important; border: none; border-radius: 10px; font-weight: 700; font-size: 16px; padding: 14px 30px; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25); transition: all 0.3s ease; min-width: 250px; cursor: pointer; }
.single-post .wp-block-button .wp-block-button__link:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(33, 107, 233, 0.35); }
.single-post .wp-block-button.is-style-outline .wp-block-button__link { background: #32373c !important; color: #fff !important; box-shadow: none; }
.single-post .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #32373c !important; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
.single-post .title-animation-underline { background-image: none !important; }
.single-post .single-next-prev-posts { background: var(--wp--preset--color--card-bg, #fff); border: 1px solid var(--wp--preset--color--border-color, #eaeaea); border-radius: 16px; padding: 30px; margin: 40px 0; box-shadow: var(--wp--preset--shadow--subtle, 0 4px 20px rgba(0,0,0,0.05)); }
.single-post .next-prev-row { display: flex; flex-wrap: wrap; gap: 0px; justify-content: space-between; }
.single-post .next-prev-col { flex: 1 1 45%; min-width: 250px; }
.single-post .next-prev-col:empty, .single-post .next-prev-label { display: none !important; }
.single-post .next-prev-col:only-child { flex: 0 1 auto; max-width: 600px; margin: 0 auto; }
.single-post .post-wrapper { background: var(--wp--preset--color--card-bg, #fff); border: 1px solid var(--wp--preset--color--border-color, #eaeaea); border-radius: 12px; transition: all 0.3s; height: 100%; overflow: hidden; }
.single-post .post-wrapper:hover { transform: translateY(-3px); border-color: var(--wp--preset--color--accent, #216be9); box-shadow: 0 8px 20px rgba(33, 107, 233, 0.15); }
.single-post .post-wrapper .title a { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; height: 100%; padding: 20px; font-size: 18px; font-weight: 600; color: var(--wp--preset--color--heading, #333); text-decoration: none; box-sizing: border-box; }
html[scheme="dark"] { --pt-body-color: #e3e7ed; --pt-body-bg-color: #1f2328; --pt-headings-color: #fff; --soft-white: #ffffff0f; --soft-black: #0000000f; --soft-black-2: #31384030; --pt-shadow-soft: none; --pt-card-bg: #272c31; --pt-border-color: hsla(0, 0%, 73%, .3); color-scheme: dark !important; }
html[scheme="dark"] select, html[scheme="dark"] option { background-color: #272c31 !important; color: #fff !important; }
ul.products li.product { display: flex !important; flex-direction: column !important; height: 100% !important; }
ul.products li.product .woocommerce-LoopProduct-link { display: flex !important; flex-direction: column !important; flex-grow: 1 !important; text-align: center !important; align-items: center !important; text-decoration: none !important; }
ul.products li.product .woocommerce-loop-product__title { font-size: 18px !important; font-weight: 700 !important; color: var(--wp--preset--color--heading) !important; margin-top: 15px !important; margin-bottom: 0 !important; padding: 0 5px !important; flex-grow: 1 !important; display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; }
ul.products li.product .price { margin-top: auto !important; padding: 15px 0 20px 0 !important; display: block !important; width: 100% !important; font-size: 24px !important; font-weight: 600 !important; color: var(--wp--preset--color--accent) !important; }
ul.products li.product .price .woocommerce-Price-amount { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; }
ul.products li.product .add_to_cart_button, ul.products li.product .button { display: none !important; }
ul.products li.product img { margin-bottom: 10px !important; flex-shrink: 0 !important; }
.related.products h2 { text-align: left !important; font-size: 26px !important; margin-bottom: 25px !important; }
@media (max-width: 768px) {
    ul.products { display: flex !important; flex-direction: column !important; align-items: center !important; }
    ul.products li.product { width: 100% !important; max-width: 320px !important; margin-left: auto !important; margin-right: auto !important; }
    .related.products h2 { text-align: center !important; }
}
.woocommerce-product-gallery { display: flex !important; flex-direction: column !important; max-width: 100% !important; overflow: hidden !important; }
/* Защита от переполнения: даже если flexslider не успел инициализироваться
   (не повесил класс .flexslider / .flex-viewport), широкая лента слайдов
   в .__wrapper не должна растягивать страницу шире вьюпорта — иначе на
   мобильных включается зум и фикс-меню уезжает за край экрана. */
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { order: 1 !important; width: 100% !important; max-width: 100% !important; overflow: hidden !important; }
.woocommerce-product-gallery .flex-viewport { order: 1 !important; width: 100% !important; max-width: 100% !important; margin-bottom: 20px !important; background: transparent !important; border: none !important; border-radius: 16px !important; overflow: hidden !important; }
/* После инициализации flexslider враппер лежит внутри .flex-viewport
   (overflow:hidden), и ему НЕОБХОДИМА широкая инлайновая ширина flexslider
   (width:400% и т.п.), чтобы слайды стояли в ряд по горизонтали. Раньше здесь
   стоял width:auto !important — он схлопывал ленту до ширины одного слайда,
   из-за чего второй и последующие слайды переносились вниз и обрезались
   (показывался только первый, остальные — белый фон). Ширину не трогаем. */
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper { max-width: none !important; }
.woocommerce-product-gallery .woocommerce-product-gallery__image { min-height: 450px !important; display: flex !important; align-items: center !important; justify-content: center !important; border-radius: 16px !important; overflow: hidden !important; }
.woocommerce-product-gallery .woocommerce-product-gallery__image a { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 100% !important; border-radius: 16px !important; overflow: hidden !important; }
.woocommerce-product-gallery .woocommerce-product-gallery__image img { max-height: 450px !important; width: auto !important; height: auto !important; display: block !important; margin: 0 auto !important; box-shadow: none !important; border: none !important; border-radius: 16px !important; }
.woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs { position: static !important; order: 2 !important; display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 10px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li { width: calc(25% - 8px) !important; margin: 0 !important; float: none !important; }
.woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li img { height: 135px !important; object-fit: cover !important; border: 2px solid transparent !important; border-radius: 8px !important; opacity: 0.6 !important; transition: all 0.3s ease !important; }
.woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li img.flex-active, .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li img:hover { opacity: 1 !important; border-color: var(--wp--preset--color--accent) !important; }
/* Поиск: первая картинка товара вписывается целиком в блок (без обрезки
   верх/низ). Источник подменён на непорезанный размер (см. functions.php). */
.search .post-wrapper-inner .image-container img,
.search-results .post-wrapper-inner .image-container img,
.image-container img.fenix-search-fit { object-fit: contain !important; object-position: center !important; width: 100% !important; height: 100% !important; }
/* Скрытый нативный <select> после инициализации selectWoo/select2.
   Штатный клиппинг select2 иногда не догружается (оптимизатор CSS) —
   тогда оригинальный <select> атрибута вариации висит абсолютом во всю
   ширину опций и растягивает страницу вправо (горизонтальный скролл на
   десктопе). Дублируем эталонное правило select2, чтобы select был
   гарантированно «спрятан» в 1×1px независимо от загрузки его CSS. */
.select2-hidden-accessible,
table.variations select.select2-hidden-accessible,
body.single-product table.variations select.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    width: 1px !important;
    min-width: 0 !important;
    max-width: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: -1px !important;
    position: absolute !important;
    white-space: nowrap !important;
    background-image: none !important;
}
@media (max-width: 768px) {
    .woocommerce-product-gallery .woocommerce-product-gallery__image { min-height: 300px !important; }
    .woocommerce-product-gallery .woocommerce-product-gallery__image img { max-height: 300px !important; }
    .woocommerce-product-gallery ol.flex-control-nav.flex-control-thumbs li img { height: 70px !important; }
    /* Жёсткая защита от горизонтального переполнения на карточке товара:
       страница не должна быть шире вьюпорта (иначе мобильный браузер
       разрешает пинч-зум, верстка «съезжает» в полу-десктопный вид, а
       фикс-меню wp-bottom-menu уезжает вправо за край). */
    body.single-product { overflow-x: hidden !important; max-width: 100vw !important; }
    body.single-product .woocommerce-product-gallery,
    body.single-product .woocommerce-product-gallery__wrapper,
    body.single-product .woocommerce-product-gallery .flex-viewport,
    body.single-product div.product,
    body.single-product .summary,
    body.single-product .pt-container,
    body.single-product .content-container,
    body.single-product .single-content-inner { max-width: 100% !important; }
    body.single-product .woocommerce-product-gallery__image,
    body.single-product .woocommerce-product-gallery__image a,
    body.single-product .woocommerce-product-gallery__image img { max-width: 100% !important; }
    /* Длинные ссылки/URL в описании товара не должны выходить за контейнер
       контента на мобильных — переносим по символам при необходимости. */
    body.single-product .woocommerce-Tabs-panel,
    body.single-product .woocommerce-product-details__short-description,
    body.single-product .single-content-inner,
    body.single-product .summary { overflow-wrap: anywhere !important; word-break: break-word !important; }
    body.single-product .woocommerce-Tabs-panel a,
    body.single-product .woocommerce-Tabs-panel a strong,
    body.single-product .woocommerce-product-details__short-description a { overflow-wrap: anywhere !important; word-break: break-word !important; }
}
.single_variation_wrap .woocommerce-variation-price, .product-type-simple p.price, .product-type-external p.price { display: flex !important; margin: 40px 0 !important; padding: 10px 14px !important; background: linear-gradient(145deg, rgba(33, 107, 233, 0.08) 0%, rgba(33, 107, 233, 0.18) 100%) !important; border-radius: 16px !important; border: 3px solid var(--wp--preset--color--accent) !important; align-items: center !important; gap: 155px !important; justify-content: flex-start !important; font-size: 44px !important; font-weight: 600 !important; color: var(--wp--preset--color--heading) !important; backdrop-filter: blur(2px) !important; }
.single_variation_wrap .woocommerce-variation-price *, .product-type-simple p.price * { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; line-height: inherit !important; }
.single_variation_wrap .woocommerce-variation-price span.price { display: contents !important; }
.single_variation_wrap .woocommerce-variation-price del, .product-type-simple p.price del { font-size: 24px !important; font-weight: 500 !important; color: var(--wp--preset--color--body-color, #666) !important; margin-right: 15px !important; opacity: 0.7 !important; }
.woocommerce-variation-add-to-cart, .product-type-simple form.cart { display: flex !important; flex-wrap: wrap !important; align-items: center !important; margin-top: 20px !important; padding: 14px !important; background: var(--wp--preset--color--light) !important; border-radius: 12px !important; border: 1px solid var(--wp--preset--color--border-color) !important; gap: 20px !important; }
.woocommerce-variation-add-to-cart #ppom-box-1 { width: 100% !important; order: 1 !important; margin-bottom: 20px !important; }
.woocommerce-variation-add-to-cart > .quantity, .product-type-simple form.cart .quantity { margin: 0 !important; width: 140px !important; flex-shrink: 0 !important; order: 2 !important; }
.woocommerce-variation-add-to-cart > .single_add_to_cart_button, .product-type-simple form.cart .single_add_to_cart_button { order: 2 !important; margin: 0 !important; }
.quantity .input-text.qty { width: 100% !important; padding: 14px 15px !important; font-size: 18px !important; font-weight: 600 !important; text-align: center !important; background: var(--wp--preset--color--card-bg) !important; border: 2px solid var(--wp--preset--color--border-color) !important; border-radius: 10px !important; color: var(--wp--preset--color--heading) !important; box-shadow: var(--wp--preset--shadow--subtle) !important; height: 54px !important; box-sizing: border-box !important; -moz-appearance: textfield !important; }
.quantity .input-text.qty:focus { outline: none !important; border-color: var(--wp--preset--color--accent) !important; box-shadow: 0 0 0 4px rgba(33, 107, 233, 0.15) !important; }
.quantity .input-text.qty::-webkit-outer-spin-button, .quantity .input-text.qty::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0 !important; }
.single_add_to_cart_button.button { background: linear-gradient(135deg, var(--wp--preset--color--accent) 0%, #1a5cd8 100%) !important; color: white !important; border: none !important; border-radius: 10px !important; font-weight: 600 !important; font-size: 16px !important; transition: all 0.3s ease !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; min-width: 180px !important; height: 54px !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; }
.single_add_to_cart_button.button:hover:not(.disabled) { transform: translateY(-3px) !important; box-shadow: 0 8px 20px rgba(33, 107, 233, 0.35) !important; }
.single_add_to_cart_button.button.disabled { background: #ccc !important; color: #666 !important; cursor: not-allowed !important; box-shadow: none !important; }
table.variations { width: 100% !important; margin: 0 0 15px 0 !important; border-collapse: collapse !important; display: block !important; }
table.variations tbody, table.variations td.value { display: block !important; width: 100% !important; border: none !important; padding: 0 !important; }
table.variations tr { display: block !important; width: 100% !important; border: none !important; padding: 0 !important; margin-bottom: 15px !important; }
table.variations tr:last-child { margin-bottom: 0 !important; }
table.variations th.label { display: block !important; width: 100% !important; margin: 0 0 5px 0 !important; padding: 0 !important; text-align: left !important; font-size: 15px !important; font-weight: 600 !important; text-transform: uppercase !important; }
table.variations select { width: 100% !important; padding: 14px 45px 14px 15px !important; font-size: 14px !important; text-transform: uppercase !important; font-weight: 600 !important; background: var(--wp--preset--color--card-bg) !important; border: 2px solid var(--wp--preset--color--border-color) !important; border-radius: 10px !important; appearance: none !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 15px center !important; background-size: 18px !important; height: 54px !important; box-sizing: border-box !important; }
table.variations select:focus { border-color: var(--wp--preset--color--accent) !important; outline: none !important; }
table.variations td.value .select2-container--default { margin-bottom: 0 !important; }
.woocommerce-variation-description { display: block !important; padding: 15px !important; background: linear-gradient(135deg, rgba(33, 107, 233, 0.05) 0%, rgba(33, 107, 233, 0.1) 100%) !important; border: 2px solid var(--wp--preset--color--border-color) !important; border-radius: 10px !important; margin-bottom: 15px !important; font-weight: 600 !important; min-height: 54px !important; box-sizing: border-box !important; text-align: left !important; }
.woocommerce-variation-description p { margin: 0 !important; padding: 0 !important; font-size: 15px !important; line-height: 1.4 !important; color: var(--wp--preset--color--heading) !important; width: 100% !important; text-align: left !important; }
.woocommerce-variation-description:empty { display: none !important; }
.woocommerce-variation-availability .stock.out-of-stock, .product-type-simple .stock.out-of-stock { display: flex !important; align-items: center !important; margin: 20px 0 !important; padding: 15px 20px !important; background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(220, 53, 69, 0.1) 100%) !important; border: 2px solid #dc3545 !important; border-radius: 12px !important; font-size: 18px !important; font-weight: 700 !important; color: #dc3545 !important; text-transform: uppercase !important; }
@media (max-width: 768px) {
    .single_variation_wrap .woocommerce-variation-price, .product-type-simple p.price { justify-content: center !important; text-align: center !important; font-size: 24px !important; padding: 15px 20px !important; margin: 25px 0 !important; border-width: 2px !important; border-radius: 14px !important; box-shadow: 0 8px 20px -5px rgba(33, 107, 233, 0.25) !important; }
    .woocommerce-variation-add-to-cart, .product-type-simple form.cart { flex-direction: column !important; padding: 20px !important; align-items: stretch !important; gap: 15px !important; }
    table.variations tr { margin-bottom: 15px !important; }
    table.variations tr:last-child { margin-bottom: 0 !important; }
    table.variations select { text-align: left !important; text-align-last: left !important; }
    table.variations th.label { text-align: left !important; }
    .woocommerce-variation-description { display: block !important; text-align: left !important; width: 100% !important; }
    .woocommerce-variation-description p { text-align: left !important; margin: 0 !important; width: 100% !important; }
    /* Ссылки внутри описания вариации (напр. «• Release: May 2026») должны
       оставаться в потоке строки. Правило .single-product .summary a выше
       делает их display:block/center, из-за чего ссылка отрывалась от «•» —
       перебиваем более специфичным селектором. */
    .single-product .summary .woocommerce-variation-description a { display: inline !important; text-align: left !important; margin: 0 !important; }
    .woocommerce-variation-add-to-cart .quantity, .product-type-simple form.cart .quantity, #gsm-dynamic-fields-target { width: 100% !important; max-width: 100% !important; margin: 0 0 15px 0 !important; }
    .quantity .input-text.qty { width: 100% !important; height: 54px !important; text-align: center !important; }
    .single_add_to_cart_button.button { width: 100% !important; margin: 0 !important; }
}
html[scheme="dark"] .single_variation_wrap .woocommerce-variation-price, html[scheme="dark"] .product-type-simple p.price { background: linear-gradient(145deg, rgba(33,107,233, 0.2) 0%, rgba(33,107,233, 0.3) 100%) !important; border-color: var(--wp--preset--color--accent) !important; box-shadow: 0 12px 28px -8px rgba(0,0,0,0.5) !important; }
#gsm-dynamic-fields-target { width: 100% !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box !important; }
#gsm-dynamic-fields-target:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
#gsm-dynamic-fields-target > div { background: transparent !important; padding: 0 !important; margin: 0 !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; }
#gsm-dynamic-fields-target > div > div { margin-bottom: 0 !important; }
#gsm-dynamic-fields-target label { display: block !important; font-size: 15px !important; font-weight: 800 !important; color: var(--wp--preset--color--heading) !important; text-transform: uppercase !important; margin-top: 15px !important; margin-bottom: 2px !important; text-align: left !important; }
#gsm-dynamic-fields-target label span[style*="color:red"] { color: var(--wp--preset--color--accent) !important; font-size: 18px !important; vertical-align: middle !important; }
#gsm-dynamic-fields-target input[type="text"], #gsm-dynamic-fields-target input[type="email"], #gsm-dynamic-fields-target input[type="password"] { width: 100% !important; padding: 14px 20px !important; font-size: 16px !important; font-weight: 600 !important; background: var(--wp--preset--color--card-bg) !important; border: 2px solid var(--wp--preset--color--border-color) !important; border-radius: 12px !important; color: var(--wp--preset--color--heading) !important; height: 54px !important; box-sizing: border-box !important; transition: all 0.3s ease !important; text-align: left !important; }
#gsm-dynamic-fields-target input:focus { outline: none !important; border-color: var(--wp--preset--color--accent) !important; box-shadow: 0 0 0 4px rgba(33, 107, 233, 0.15) !important; background: #fff !important; }
.woocommerce-variation-add-to-cart #gsm-dynamic-fields-target, .product-type-simple form.cart #gsm-dynamic-fields-target, .woocommerce-checkout #gsm-dynamic-fields-target { order: 1 !important; margin-bottom: 0 !important; }
@media (max-width: 768px) {
    #gsm-dynamic-fields-target label { text-align: left !important; } 
    #gsm-dynamic-fields-target input[type="text"], #gsm-dynamic-fields-target input[type="email"], #gsm-dynamic-fields-target input[type="password"] { text-align: center !important; }
}
html[scheme="dark"] #gsm-dynamic-fields-target input, html[scheme="dark"] .woocommerce form .form-row input.input-text, html[scheme="dark"] .lost_reset_password input.input-text, html[scheme="dark"] .woocommerce-EditAccountForm input.input-text { background-color: #333 !important; border-color: #444 !important; color: #eee !important; }
html[scheme="dark"] #gsm-dynamic-fields-target input:focus, html[scheme="dark"] .woocommerce form .form-row input.input-text:focus, html[scheme="dark"] .lost_reset_password input.input-text:focus, html[scheme="dark"] .woocommerce-EditAccountForm input.input-text:focus { background-color: #383838 !important; border-color: var(--wp--preset--color--accent) !important; color: #fff !important; }
.woocommerce-checkout form.checkout { display: flex !important; flex-direction: column !important; align-items: center !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-checkout .col2-set { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-checkout #customer_details { display: none !important; }
.woocommerce-checkout #order_review { width: 100% !important; max-width: 650px !important; background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 0px solid var(--pt-border-color, #e9e8ff) !important; border-radius: 16px !important; padding: 40px 35px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; box-sizing: border-box !important; margin: 0 auto 40px auto !important; display: flex !important; flex-direction: column !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table { background: transparent !important; border: none !important; border-radius: 0 !important; padding: 0 !important; width: 100% !important; margin-bottom: 12px !important; border-collapse: collapse !important; box-sizing: border-box !important; box-shadow: none !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr, .woocommerce-checkout .woocommerce-checkout-review-order-table td, .woocommerce-checkout .woocommerce-checkout-review-order-table th { padding: 15px 0 !important; border: none !important; background: transparent !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; font-weight: 600; font-size: 18px; color: var(--wp--preset--color--heading, #333); }
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name strong.product-quantity { color: var(--wp--preset--color--accent, #216be9); font-weight: 800; margin-top: 5px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total { display: flex !important; width: 100% !important; border-top: 1px solid var(--wp--preset--color--border-color, #eaeaea) !important; margin-top: 10px !important; padding-top: 15px !important; border-bottom: none !important; border-left: none !important; border-right: none !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td { display: flex !important; justify-content: flex-start !important; align-items: center !important; width: 100% !important; text-align: center !important; border: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td *, .shop_table tfoot tr.order-total td * { font-size: 34px !important; font-weight: 800 !important; line-height: 1 !important; color: var(--wp--preset--color--accent) !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td *, .woocommerce-checkout #payment { background: transparent !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; width: 100% !important; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0; margin: 0 0 20px 0; list-style: none; border-bottom: 0px solid var(--wp--preset--color--border-color, #eaeaea); }
.woocommerce-checkout #payment ul.payment_methods li { margin-bottom: 10px; }
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] { display: none !important; }
.woocommerce-checkout #payment ul.payment_methods li label { display: flex; align-items: center; justify-content: center !important; text-align: center !important; text-transform: uppercase !important; padding: 12px 15px; border-radius: 8px; border: 1px solid var(--wp--preset--color--border-color, #eaeaea) !important; font-size: 18px; font-weight: 600; cursor: pointer; transition: all 0.3s ease !important; }
.woocommerce-checkout #payment ul.payment_methods li label:hover { background: rgba(33, 107, 233, 0.05); border-color: var(--wp--preset--color--accent, #216be9) !important; transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.2) !important; }
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked + label { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%); color: #fff; border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25); transform: translateY(0) !important; }
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked + label:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; }
.woocommerce-checkout #payment div.payment_box { background: rgba(33,107,233,0.05); border: 1px solid rgba(33,107,233,0.2); border-radius: 8px; padding: 15px; margin-top: 10px; font-size: 14px; text-align: center !important; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
/* Цены в итогах: пересчёт валюты не должен дёргать соседнюю верстку */
.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-Price-amount,
.woocommerce-checkout .fenix-balance-checkout-block .woocommerce-Price-amount { white-space: nowrap; display: inline-block; }
.woocommerce-checkout #order_review { transition: min-height 0.3s ease; }
.woocommerce-checkout .form-row.place-order { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0px !important; margin-top: 25px !important; padding: 0 !important; transition: opacity 0.2s ease; }
.woocommerce-checkout.processing .form-row.place-order { opacity: 0.6; }
/* Единый блок согласия: чекаут, регистрация, вход — синхронизация с themes/blogsy/assets/css/custom-woocommerce.css */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper,
#customer_login .woocommerce-terms-and-conditions-wrapper {
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    text-align: left !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: var(--wp--preset--color--body-color, #444) !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .validate-required,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required,
#customer_login .woocommerce-terms-and-conditions-wrapper .validate-required {
    margin: 0 !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, rgba(33, 107, 233, 0.05) 0%, rgba(33, 107, 233, 0.1) 100%) !important;
    border: 2px solid var(--wp--preset--color--border-color, #e5e5e5) !important;
    border-radius: 10px !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox,
#customer_login .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    cursor: pointer !important;
    text-align: left !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-transform: none !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .validate-required input[type="checkbox"],
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required input[type="checkbox"],
#customer_login .woocommerce-terms-and-conditions-wrapper .validate-required input[type="checkbox"] {
    margin: 3px 0 0 0 !important;
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text,
#customer_login .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text,
#customer_login .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text {
    flex: 1 !important;
    min-width: 0 !important;
    background: transparent !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a,
#customer_login .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a,
#customer_login .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a {
    color: var(--wp--preset--color--accent, #216be9) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
    -webkit-box-decoration-break: slice !important;
    box-decoration-break: slice !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox abbr.required,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox abbr.required,
#customer_login .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox abbr.required {
    background: transparent !important;
    flex-shrink: 0 !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a:hover,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a:hover,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a:hover,
.woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a:hover,
#customer_login .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a:hover,
#customer_login .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a:hover {
    text-decoration: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
/* Нативный блок текста условий WC под чекбоксом (чекаут) */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 10px 0 !important;
    padding: 12px 14px !important;
    background: rgba(0,0,0,0.04) !important;
    border: 1px solid var(--wp--preset--color--border-color, #e5e5e5) !important;
    border-radius: 8px !important;
    max-height: 200px !important;
    overflow: auto !important;
    text-align: left !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions * {
    text-align: left !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions .aligncenter,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions .has-text-align-center {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
.woocommerce-checkout .woocommerce-privacy-policy-text:empty,
.woocommerce-terms-and-conditions-wrapper > .woocommerce-privacy-policy-text:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: none !important;
    overflow: hidden !important;
}
/* Согласие (#terms): без красной обводки чекбокса и без красного текста подписи (WC .woocommerce-invalid) */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row.woocommerce-invalid.validate-required,
.woocommerce form .form-row.woocommerce-invalid.woocommerce-invalid-required-field:has(#terms),
.woocommerce form .form-row.woocommerce-invalid:has(#terms) {
    border-radius: 10px !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row.woocommerce-invalid.validate-required label,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row.woocommerce-invalid.validate-required label.checkbox,
.woocommerce form .form-row.woocommerce-invalid:has(#terms) label,
.woocommerce form .form-row.woocommerce-invalid:has(#terms) label.checkbox {
    color: inherit !important;
}
.woocommerce-invalid #terms,
.woocommerce form .form-row.woocommerce-invalid #terms,
#terms.woocommerce-invalid {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}
.woocommerce form .form-row.woocommerce-invalid #terms:focus,
.woocommerce form .form-row.woocommerce-invalid #terms:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
/* WooCommerce: дублирующий текст ошибки у чекбокса условий — скрываем в блоке согласия */
.woocommerce-checkout #terms_description.checkout-inline-error-message,
.woocommerce-checkout p#terms_description.checkout-inline-error-message,
.woocommerce-checkout p.checkout-inline-error-message#terms_description {
    display: none !important;
}
.woocommerce-checkout .woocommerce-privacy-policy-text { padding: 10px 15px !important; background: rgba(0,0,0,0.03) !important; border-radius: 8px !important; margin: 0 !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text p { margin: 0 !important; padding: 0 !important; line-height: 1.4 !important; }
.woocommerce-checkout .woocommerce-privacy-policy-link { color: var(--wp--preset--color--accent, #216be9) !important; font-weight: 700 !important; text-decoration: none !important; }
.fenix-custom-email-wrapper { width: 100% !important; margin: 0 !important; }
.woocommerce-checkout .fenix-custom-email-wrapper p.form-row { margin: 0 0 10px 0 !important; padding: 0 !important; }
#place_order { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.fenix-custom-email-wrapper label { display: block !important; margin-bottom: 4px !important; font-size: 14px !important; font-weight: 700 !important; text-transform: uppercase !important; text-align: left !important; }
.fenix-custom-email-wrapper input[type="email"] { width: 100% !important; height: 52px !important; padding: 0 12px !important; border-radius: 10px !important; border: 2px solid var(--wp--preset--color--border-color) !important; background: var(--wp--preset--color--card-bg, #fff) !important; font-size: 16px !important; text-align: left !important; }
.fenix-custom-email-wrapper input[type="email"]:focus { border-color: var(--wp--preset--color--accent) !important; outline: none !important; box-shadow: 0 0 0 4px rgba(33, 107, 233, 0.15) !important; }
#place_order { height: 60px !important; background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important; color: #fff !important; font-size: 16px !important; font-weight: 700 !important; text-transform: uppercase !important; border: none !important; border-radius: 10px !important; cursor: pointer !important; box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25) !important; transition: all 0.2s ease !important; }
#place_order:hover { transform: translateY(-2px) !important; box-shadow: 0 15px 30px rgba(76, 175, 80, 0.25) !important; }
@media (max-width: 768px) {
    .woocommerce-checkout #order_review { padding: 25px 20px !important; }
    .woocommerce-checkout #payment ul.payment_methods li label { flex-direction: column !important; gap: 8px !important; }
    .woocommerce-checkout #payment ul.payment_methods li img { margin-left: 0 !important; }
    .woocommerce-checkout .woocommerce-checkout-review-order-table td, .woocommerce-checkout .woocommerce-checkout-review-order-table th { text-align: center !important; }
    .fenix-custom-email-wrapper label { text-align: left !important; }
    .woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td { justify-content: center !important; text-align: center !important; }
    .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox,
    .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox,
    #customer_login .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox { align-items: flex-start !important; }
}
html[scheme="dark"] .woocommerce-checkout #order_review { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: var(--pt-border-color, #444) !important; box-shadow: none !important; }
html[scheme="dark"] .woocommerce-checkout #payment ul.payment_methods li label { border-color: #444 !important; }
html[scheme="dark"] .woocommerce-checkout #payment ul.payment_methods li label:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--wp--preset--color--accent, #216be9) !important; }
html[scheme="dark"] .woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked + label { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%); color: #fff; border-color: var(--wp--preset--color--accent, #216be9) !important; }

/* Согласие (чекаут / регистрация / вход): тёмная тема — синхронизация с custom-woocommerce.css */
html[scheme="dark"] .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions {
    background: rgba(255,255,255,0.06) !important;
    border-color: #444 !important;
    color: #ddd !important;
}
html[scheme="dark"] .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
html[scheme="dark"] .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper,
html[scheme="dark"] #customer_login .woocommerce-terms-and-conditions-wrapper {
    color: #ccc !important;
}
html[scheme="dark"] .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .validate-required,
html[scheme="dark"] .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required,
html[scheme="dark"] #customer_login .woocommerce-terms-and-conditions-wrapper .validate-required {
    background: linear-gradient(135deg, rgba(33, 107, 233, 0.14) 0%, rgba(33, 107, 233, 0.22) 100%) !important;
    border-color: #444 !important;
}
html[scheme="dark"] .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a,
html[scheme="dark"] .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a,
html[scheme="dark"] .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a,
html[scheme="dark"] .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a,
html[scheme="dark"] #customer_login .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a,
html[scheme="dark"] #customer_login .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a {
    color: #7eb8ff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
    -webkit-box-decoration-break: slice !important;
    box-decoration-break: slice !important;
}
html[scheme="dark"] body.woocommerce-order-received #customer_login.fenix-order-received-auth .woocommerce-terms-and-conditions-wrapper .validate-required,
html[scheme="dark"] body.woocommerce-checkout.woocommerce-order-received #customer_login.fenix-order-received-auth .woocommerce-terms-and-conditions-wrapper .validate-required {
    background: linear-gradient(135deg, rgba(33, 107, 233, 0.14) 0%, rgba(33, 107, 233, 0.22) 100%) !important;
    border-color: #444 !important;
    color: #ccc !important;
}
html[scheme="dark"] body.woocommerce-account #customer_login .woocommerce-terms-and-conditions-wrapper .validate-required {
    background: linear-gradient(135deg, rgba(33, 107, 233, 0.14) 0%, rgba(33, 107, 233, 0.22) 100%) !important;
    border-color: #444 !important;
    color: #ccc !important;
}
html[scheme="dark"] body.woocommerce-account #customer_login .woocommerce-terms-and-conditions-wrapper .fenix-legal-consent-text a {
    color: #7eb8ff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
    -webkit-box-decoration-break: slice !important;
    box-decoration-break: slice !important;
}

#customer_login.u-columns.col2-set { display: flex !important; flex-direction: row !important; align-items: stretch !important; justify-content: space-between !important; width: 100% !important; margin: 40px auto !important; padding: 0 15px !important; gap: 30px !important; box-sizing: border-box !important; }
#customer_login .u-column1, #customer_login .u-column2 { width: 100% !important; max-width: calc(50% - 15px) !important; min-width: auto !important; background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 1px solid var(--pt-border-color, #e9e8ff) !important; border-radius: 16px !important; padding: 40px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; box-sizing: border-box !important; margin: 0 !important; display: flex !important; flex-direction: column !important; }
#customer_login.u-columns.col2-set .u-column2 { display: none !important; }
#customer_login.u-columns.col2-set { justify-content: center !important; gap: 0 !important; }
#customer_login.u-columns.col2-set .u-column1 {
    width: 100% !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.woocommerce-account #customer_login .u-column2,
body.woocommerce-account #customer_login .u-column2.col-2 { display: none !important; }
.woocommerce form.login, .woocommerce form.register { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box !important; border: none !important; box-shadow: none !important; display: flex !important; flex-direction: column !important; flex-grow: 1 !important; }
#customer_login h2 { font-size: 24px !important; font-weight: 800 !important; text-align: center !important; text-transform: uppercase !important; margin-bottom: 30px !important; }
body.woocommerce-account #customer_login.u-columns.col2-set .u-column1 > h2 { display: none !important; }
/* Поля Email/Пароль: не трогаем подпись чекбокса согласия (как на чекауте) */
#customer_login label:not([for="fenix_legal_consent_reg"]):not([for="fenix_legal_consent_login"]),
.lost_reset_password label { font-size: 14px !important; font-weight: 700 !important; text-transform: uppercase !important; margin-bottom: 8px !important; display: block !important; }
#customer_login input.input-text, .lost_reset_password input.input-text { width: 100% !important; height: 54px !important; padding: 0 15px !important; border-radius: 10px !important; border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; background: var(--wp--preset--color--card-bg, #fff) !important; font-size: 16px !important; transition: all 0.3s ease !important; box-sizing: border-box !important; }
#customer_login input.input-text:focus, .lost_reset_password input.input-text:focus { border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 0 0 4px rgba(33, 107, 233, 0.1) !important; outline: none !important; }
.woocommerce-form-register > p:not(.form-row) { text-align: center !important; margin-top: 15px !important; width: 100% !important; }
.woocommerce-form-register .woocommerce-privacy-policy-text { margin-top: auto !important; margin-bottom: 0 !important; text-align: center; font-size: 12px !important; padding: 10px 15px !important; background: rgba(0,0,0,0.03); border-radius: 8px; line-height: 1.3 !important; }
.woocommerce-form-register .woocommerce-privacy-policy-text p { margin: 0 !important; padding: 0 !important; }
.woocommerce-form-register p.form-row:has(button[type="submit"]) { margin-top: 10px !important; margin-bottom: 0 !important; padding-top: 0 !important; }
.woocommerce-form-login p.form-row:has(button[type="submit"]) { margin-top: auto !important; margin-bottom: 0 !important; }
#customer_login button.button, .lost_reset_password button.button { width: 100% !important; height: 54px !important; background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; font-weight: 700 !important; text-transform: uppercase !important; border-radius: 10px !important; border: none !important; box-shadow: 0 4px 15px rgba(33, 107, 233, 0.3) !important; cursor: pointer !important; transition: all 0.3s ease !important; }
#customer_login button.button:hover, .lost_reset_password button.button:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; }
.woocommerce-LostPassword, .lost_password { text-align: center !important; width: 100% !important; margin-top: 15px !important; }
#customer_login .woocommerce-LostPassword, #customer_login .lost_password { display: none !important; }
body.woocommerce-account #customer_login .woocommerce-LostPassword,
body.woocommerce-account #customer_login .lost_password { display: none !important; }
/* Форма входа: сразу финальная вёрстка (без opacity:0 и ожидания footer-JS) */
body.woocommerce-account #customer_login .woocommerce-form-login__rememberme { display: none !important; }
body.woocommerce-account #customer_login .woocommerce-form-login,
body.woocommerce-order-received #customer_login .woocommerce-form-login {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
}
body.woocommerce-account #customer_login .fenix-inline-privacy-block,
body.woocommerce-order-received #customer_login .fenix-inline-privacy-block { order: 5 !important; }
body.woocommerce-account #customer_login .woocommerce-form-login p.form-row:has(button[name="login"]),
body.woocommerce-order-received #customer_login .woocommerce-form-login p.form-row:has(button[name="login"]) { order: 10 !important; }
body.woocommerce-account #customer_login .fenix-inline-register-row,
body.woocommerce-order-received #customer_login .fenix-inline-register-row { order: 15 !important; }
body.woocommerce-account #customer_login .fenix-inline-reset-row,
body.woocommerce-order-received #customer_login .fenix-inline-reset-row { order: 16 !important; }
body.woocommerce-account #customer_login .fenix-inline-register-info-text,
body.woocommerce-order-received #customer_login .fenix-inline-register-info-text { order: 17 !important; }
body.woocommerce-account #customer_login .fenix-inline-privacy-block {
    margin: 0 0 10px 0 !important;
}
body.woocommerce-account #customer_login .fenix-inline-privacy-block .woocommerce-privacy-policy-text {
    margin: 0 !important;
    padding: 10px 15px !important;
    background: rgba(0,0,0,0.03) !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}
body.woocommerce-account #customer_login .fenix-inline-register-info-text {
    margin: 0 0 10px 0 !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #6b7280 !important;
    line-height: 1.35 !important;
}
body.woocommerce-account #customer_login .fenix-inline-reset-row,
body.woocommerce-account #customer_login .fenix-inline-register-row {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}
body.woocommerce-account #customer_login .woocommerce-form-login .fenix-inline-reset-btn {
    width: 100% !important;
    height: 54px !important;
    background: #6b7280 !important;
    color: #fff !important;
    border: 1px solid #6b7280 !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}
body.woocommerce-account #customer_login .woocommerce-form-login .fenix-inline-reset-btn:hover {
    background: #4b5563 !important;
    border-color: #4b5563 !important;
    box-shadow: 0 8px 25px rgba(75,85,99,0.35) !important;
}
body.woocommerce-account #customer_login .fenix-inline-reset-feedback {
    margin-top: 10px !important;
}
body.woocommerce-account #customer_login .fenix-inline-reset-feedback .woocommerce-message,
body.woocommerce-account #customer_login .fenix-inline-reset-feedback .woocommerce-error {
    margin: 0 !important;
    text-align: center !important;
    list-style: none !important;
}
body.woocommerce-account #customer_login .fenix-inline-reset-feedback ul li { margin: 0 !important; }
html[scheme="dark"] body.woocommerce-account #customer_login .fenix-inline-privacy-block .woocommerce-privacy-policy-text {
    background: rgba(255,255,255,0.06) !important;
    color: #ccc !important;
}
.password-input { position: relative !important; display: block !important; width: 100% !important; }
.show-password-input { position: absolute !important; right: 15px !important; top: 50% !important; transform: translateY(-50%) !important; width: 24px !important; height: 24px !important; background: none !important; border: none !important; opacity: 0.6 !important; cursor: pointer !important; padding: 0 !important; margin: 0 !important; }
.show-password-input:hover { opacity: 1 !important; }
.woocommerce-ResetPassword.lost_reset_password { display: flex !important; flex-direction: column !important; max-width: 900px !important; width: 100% !important; margin: 40px auto !important; padding: 56px !important; background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 1px solid var(--pt-border-color, #e9e8ff) !important; border-radius: 16px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; box-sizing: border-box !important; }
.lost_reset_password > p:first-of-type { font-size: 16px !important; text-align: center !important; margin-bottom: 30px !important; }
.woocommerce-ResetPassword.lost_reset_password > p:first-of-type { display: none !important; }
.lost_reset_password .clear, .lost_reset_password .form-row-first { width: 100% !important; float: none !important; margin-right: 0 !important; }
body.woocommerce-account .woocommerce > p {
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
body.woocommerce-account article.single-content.card-layout-w:has(.woocommerce > p) .single-content-inner {
    padding-bottom: 10px !important;
}
@media (max-width: 768px) {
    body.woocommerce-account article.single-content.card-layout-w:has(.woocommerce > p) .single-content-inner {
        padding-bottom: 0 !important;
    }
}
.woocommerce-password-strength { display: block !important; padding: 12px 15px !important; margin: 15px 0 20px 0 !important; border-radius: 10px !important; font-size: 14px !important; font-weight: 700 !important; text-align: center !important; text-transform: uppercase !important; border: 2px solid transparent !important; }
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(220, 53, 69, 0.1) 100%) !important; border-color: #dc3545 !important; color: #dc3545 !important; }
.woocommerce-password-strength.good { background: linear-gradient(135deg, rgba(33, 107, 233, 0.05) 0%, rgba(33, 107, 233, 0.1) 100%) !important; border-color: #216be9 !important; color: #216be9 !important; }
.woocommerce-password-strength.strong { background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.1) 100%) !important; border-color: #28a745 !important; color: #28a745 !important; }
.woocommerce-password-hint { font-size: 13px !important; margin-top: 10px !important; margin-bottom: 20px !important; display: block !important; font-style: italic !important; }
@media (max-width: 768px) {
    #customer_login.u-columns.col2-set { flex-direction: column !important; }
    #customer_login .u-column1, #customer_login .u-column2 { max-width: 100% !important; padding: 25px 20px !important; }
    .woocommerce-ResetPassword.lost_reset_password { padding: 22px 16px !important; margin: 12px 8px !important; max-width: none !important; width: auto !important; }
    .woocommerce-form-register p.form-row-wide { margin-bottom: 0 !important; }
    .woocommerce-form-register > p:not(.form-row) { margin-top: 8px !important; margin-bottom: 30px !important; font-size: 13px !important; line-height: 1.4 !important; }
    .woocommerce-form-register .woocommerce-privacy-policy-text { margin-top: 0 !important; margin-bottom: 10px !important; }
    .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper,
    #customer_login .woocommerce-form-login .woocommerce-terms-and-conditions-wrapper { margin-top: 0 !important; margin-bottom: 10px !important; }
    .woocommerce-form-register p.form-row:has(button[type="submit"]) { margin-top: 0 !important; padding-top: 0 !important; }
}
html[scheme="dark"] #customer_login .u-column1, html[scheme="dark"] #customer_login .u-column2, html[scheme="dark"] .woocommerce-ResetPassword.lost_reset_password { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: var(--pt-border-color, #444) !important; box-shadow: none !important; }
html[scheme="dark"] .woocommerce-privacy-policy-text { background: transparent !important; color: #ccc !important; }
html[scheme="dark"] .show-password-input::before { filter: invert(1) brightness(2); }
html[scheme="dark"] .woocommerce-password-strength.short, html[scheme="dark"] .woocommerce-password-strength.bad { background: rgba(220, 53, 69, 0.15) !important; }
html[scheme="dark"] .woocommerce-password-strength.good { background: rgba(33, 107, 233, 0.15) !important; }
html[scheme="dark"] .woocommerce-password-strength.strong { background: rgba(40, 167, 69, 0.15) !important; }
.woocommerce-account .woocommerce { display: flex; flex-wrap: nowrap; gap: 30px; width: 100% !important; max-width: 100% !important; align-items: flex-start; }
.woocommerce-account .woocommerce-MyAccount-content .fenix-vpn-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-content .fenix-vpn-wrapper > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
body.page-id-5511 .fenix-vpn-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
body.page-id-5511 .fenix-vpn-wrapper > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.woocommerce-MyAccount-navigation { width: 260px !important; flex: 0 0 260px !important; max-width: 260px !important; flex-shrink: 0; background: var(--wp--preset--color--card-bg) !important; border-radius: 12px !important; padding: 20px !important; border: 1px solid var(--wp--preset--color--border-color) !important; box-sizing: border-box !important; margin: 0 !important; }
.woocommerce-MyAccount-navigation ul { list-style: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; }
.woocommerce-MyAccount-navigation ul li { margin-bottom: 12px !important; border: 1px solid var(--wp--preset--color--border-color) !important; border-radius: 10px !important; background: var(--wp--preset--color--card-bg) !important; transition: all 0.3s ease !important; overflow: hidden !important; }
.woocommerce-MyAccount-navigation ul li a { display: block !important; padding: 12px 20px !important; font-size: 16px !important; font-weight: 600 !important; color: var(--wp--preset--color--heading) !important; text-decoration: none !important; transition: all 0.3s ease !important; }
.woocommerce-MyAccount-navigation ul li:hover { border-color: var(--wp--preset--color--accent) !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.15) !important; }
.woocommerce-MyAccount-navigation ul li:hover a { color: var(--wp--preset--color--accent) !important; transform: translateX(8px) !important; }
.woocommerce-MyAccount-navigation ul li.is-active { background: linear-gradient(135deg, var(--wp--preset--color--accent) 0%, #1a5cd8 100%) !important; border-color: var(--wp--preset--color--accent) !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; }
.woocommerce-MyAccount-navigation ul li.is-active a { color: white !important; transform: translateX(0) !important; }
.woocommerce-MyAccount-content { width: auto !important; flex: 1 1 0 !important; max-width: none !important; min-width: 0 !important; padding: 25px !important; background: var(--wp--preset--color--card-bg) !important; border: 1px solid var(--wp--preset--color--border-color) !important; border-radius: 12px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; box-sizing: border-box !important; margin: 0 !important; }
.woocommerce-account .woocommerce-MyAccount-content {
    padding-top: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-content > :first-child {
    margin-top: 0 !important;
}
.woocommerce-MyAccount-content > p:first-of-type { padding: 20px !important; background: linear-gradient(135deg, rgba(33, 107, 233, 0.05) 0%, rgba(33, 107, 233, 0.1) 100%) !important; border: 1px solid var(--wp--preset--color--border-color) !important; border-radius: 12px !important; font-size: 16px !important; text-align: center; margin-bottom: 25px !important; }
.woocommerce-orders-table thead { display: none !important; }
.fenix-orders-search-form, .woocommerce-MyAccount-content .df-search-form { display: flex !important; gap: 10px !important; margin: 0 0 30px 0 !important; position: relative !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
.fenix-orders-search-form #df-search-input, .woocommerce-MyAccount-content .df-search-form #df-search-input { flex: 1 1 auto !important; height: 50px !important; border-radius: 12px !important; border: 2px solid var(--wp--preset--color--border-color, #ddd) !important; padding: 0 20px 0 20px !important; font-size: 16px !important; background: rgba(33, 107, 233, 0.05) !important; color: var(--wp--preset--color--heading, #333) !important; transition: all 0.3s ease !important; width: 100% !important; box-sizing: border-box !important; box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important; text-align: center !important; outline: none !important; }
.fenix-orders-search-form #df-search-input::placeholder, .woocommerce-MyAccount-content .df-search-form #df-search-input::placeholder { text-align: center !important; }
.fenix-orders-search-form #df-search-input:focus, .woocommerce-MyAccount-content .df-search-form #df-search-input:focus { outline: none !important; border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.15) !important; background: #fff !important; transform: translateY(-2px) !important; }
.fenix-orders-search-form .df-search-loader, .woocommerce-MyAccount-content .df-search-form .df-search-loader { display: none !important; position: absolute !important; right: 20px !important; top: 15px !important; width: 20px !important; height: 20px !important; border: 3px solid rgba(33,107,233,0.3) !important; border-top-color: var(--wp--preset--color--accent, #216be9) !important; border-radius: 50% !important; animation: fenix-orders-spin 1s linear infinite !important; pointer-events: none !important; }
@keyframes fenix-orders-spin { to { transform: rotate(360deg); } }
.fenix-orders-category-filter-wrap { width: 100% !important; margin: -10px 0 24px 0 !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 10px !important; }
.fenix-orders-category-filter { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 8px !important; width: 100% !important; }
.fenix-orders-category-btn { border: 1px solid #c5c9d1 !important; background: #f7f8fa !important; color: #424851 !important; border-radius: 999px !important; min-height: 32px !important; padding: 6px 14px !important; font-size: 12px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: .3px !important; cursor: pointer !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease, color .25s ease !important; position: relative !important; box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important; }
.fenix-orders-category-btn:before { content: none !important; display: none !important; }
.fenix-orders-category-btn:hover { border-color: #9ea5b2 !important; color: #2f353e !important; transform: translateY(-2px) !important; background: #eef1f5 !important; box-shadow: 0 8px 18px rgba(0,0,0,0.10) !important; }
.fenix-orders-category-btn.is-active { background: #7c838f !important; border-color: #7c838f !important; color: #fff !important; box-shadow: 0 8px 18px rgba(60,66,76,0.26) !important; }
.fenix-orders-category-btn.is-active:before { content: none !important; box-shadow: none !important; }
.fenix-orders-category-mobile { display: none !important; width: 100% !important; max-width: 100% !important; position: relative !important; }
.fenix-orders-mobile-selected { width: 100% !important; min-height: 42px !important; border-radius: 10px !important; border: 1px solid var(--wp--preset--color--border-color, #d8d8d8) !important; background: var(--wp--preset--color--card-bg, #fff) !important; color: var(--wp--preset--color--heading, #333) !important; font-size: 12px !important; font-weight: 700 !important; cursor: pointer !important; text-align: center !important; padding: 10px 12px !important; line-height: 1.35 !important; }
.fenix-orders-filter-mobile-list { display: none !important; flex-direction: column !important; gap: 8px !important; position: absolute !important; z-index: 10 !important; top: calc(100% + 8px) !important; left: 0 !important; right: 0 !important; padding: 12px !important; background: var(--wp--preset--color--card-bg, #fff) !important; border: 1px solid var(--wp--preset--color--border-color, #d8d8d8) !important; border-radius: 12px !important; box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important; }
.fenix-orders-filter-mobile-list.is-open { display: flex !important; }
.woocommerce-pagination.woocommerce-pagination--without-numbers { display: none !important; }
.tp-pagination,
.df-pagination,
.df-pagination.fenix-orders-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 40px !important;
    flex-wrap: wrap !important;
}
.tp-pagination .page-numbers,
.df-pagination .page-numbers,
.df-pagination.fenix-orders-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    background: #fff !important;
    border: 2px solid var(--wp--preset--color--border-color, #ddd) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
}
.tp-pagination .page-numbers:hover:not(.current):not(.dots),
.df-pagination .page-numbers:hover:not(.current):not(.dots),
.df-pagination.fenix-orders-pagination .page-numbers:hover:not(.current):not(.dots) {
    border-color: var(--wp--preset--color--accent, #216be9) !important;
    color: var(--wp--preset--color--accent, #216be9) !important;
    transform: translateY(-2px) !important;
}
.tp-pagination .page-numbers.current,
.df-pagination .page-numbers.current,
.df-pagination.fenix-orders-pagination .page-numbers.current {
    background: var(--wp--preset--color--accent, #216be9) !important;
    color: #fff !important;
    border-color: var(--wp--preset--color--accent, #216be9) !important;
}
.tp-pagination .page-numbers.dots,
.df-pagination .page-numbers.dots,
.df-pagination.fenix-orders-pagination .page-numbers.dots {
    border: none !important;
    background: transparent !important;
    pointer-events: none !important;
}
.woocommerce-pagination { margin-top: 40px !important; margin-bottom: 20px !important; display: flex !important; justify-content: center !important; width: 100% !important; }
.woocommerce-pagination .page-numbers { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; flex-wrap: wrap !important; border: none !important; }
.woocommerce-pagination .page-numbers li { list-style: none !important; margin: 2px 0 !important; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { min-width: 40px !important; height: 40px !important; border-radius: 8px !important; border: 2px solid var(--wp--preset--color--border-color, #ddd) !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; font-size: 15px !important; font-weight: 700 !important; color: var(--wp--preset--color--heading, #333) !important; text-decoration: none !important; padding: 0 10px !important; background: var(--wp--preset--color--card-bg, #fff) !important; box-sizing: border-box !important; transition: margin 0.2s ease, border-color 0.2s ease, color 0.2s ease !important; }
.woocommerce-pagination .page-numbers a:hover { border-color: var(--wp--preset--color--accent, #216be9) !important; color: var(--wp--preset--color--accent, #216be9) !important; margin-top: -2px !important; margin-bottom: 2px !important; }
.woocommerce-pagination .page-numbers .current { background: var(--wp--preset--color--accent, #216be9) !important; border-color: var(--wp--preset--color--accent, #216be9) !important; color: #fff !important; }
.woocommerce-pagination .page-numbers .dots { border: none !important; background: transparent !important; pointer-events: none !important; }
table.woocommerce-orders-table, .woocommerce-orders-table tbody { display: flex !important; flex-direction: column !important; gap: 15px !important; border: none !important; background: transparent !important; padding: 0 !important; width: 100% !important; }
.woocommerce-orders-table tbody tr { display: flex !important; background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 1px solid var(--wp--preset--color--border-color, #eaeaea) !important; border-radius: 12px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important; transition: all 0.3s ease !important; width: 100% !important; box-sizing: border-box !important; }
.woocommerce-orders-table tbody tr:hover { transform: none !important; box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important; border-color: var(--wp--preset--color--border-color, #eaeaea) !important; transition: none !important; }
.woocommerce-orders-table tbody td, .woocommerce-orders-table tbody th { display: flex !important; align-items: center !important; border: none !important; background: transparent !important; box-sizing: border-box !important; }
.woocommerce-orders-table__cell-order-number a { font-size: 18px !important; font-weight: 800 !important; color: var(--wp--preset--color--heading, #333) !important; text-decoration: none !important; transition: color 0.2s ease !important; display: block !important; }
.woocommerce-orders-table__cell-order-number a:hover { color: var(--wp--preset--color--accent, #216be9) !important; }
.woocommerce-orders-table__cell-order-products { font-size: 16px !important; font-weight: 700 !important; color: var(--wp--preset--color--heading, #333) !important; line-height: 1.4 !important; }
.woocommerce-orders-table__cell-order-products .fenix-order-product-item { display: block !important; width: 100% !important; }
.woocommerce-orders-table__cell-order-products .fenix-order-product-item + .fenix-order-product-item { margin-top: 8px !important; padding-top: 8px !important; border-top: 1px dashed var(--wp--preset--color--border-color, #d8d8d8) !important; }
.woocommerce-orders-table__cell-order-products .fenix-order-product-main { font-size: 16px !important; font-weight: 700 !important; line-height: 1.35 !important; }
.woocommerce-orders-table__cell-order-products .fenix-order-product-link { color: var(--wp--preset--color--heading, #333) !important; text-decoration: none !important; transition: color .2s ease !important; }
.woocommerce-orders-table__cell-order-products .fenix-order-product-link:hover { color: var(--wp--preset--color--accent, #216be9) !important; text-decoration: underline !important; text-underline-offset: 2px !important; }
.woocommerce-orders-table__cell-order-products .fenix-order-product-variation { margin-top: 5px !important; color: #7f7f7f !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.45 !important; }
.woocommerce-orders-table__cell-order-products .fenix-order-product-extra { margin-top: 6px !important; display: flex !important; flex-direction: column !important; gap: 2px !important; }
.woocommerce-orders-table__cell-order-products .fenix-order-product-extra-line { color: #7f7f7f !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.4 !important; display: block !important; }
.woocommerce-orders-table__cell-order-status { padding: 6px 14px !important; border-radius: 40px !important; font-size: 16px !important; font-weight: 800 !important; text-transform: uppercase !important; text-align: center !important; }
.fenix-order-status-wrap { position: relative !important; display: inline-flex !important; flex-direction: column !important; align-items: center !important; gap: 3px !important; }
.fenix-order-status-main { line-height: 1.1 !important; }
.fenix-order-status-timer { font-size: 11px !important; font-weight: 700 !important; text-transform: none !important; opacity: .9 !important; line-height: 1.2 !important; }
.fenix-order-status-timer.is-expired { color: #dc3545 !important; }
.fenix-order-status-hint { position: absolute !important; left: 50% !important; top: calc(100% + 8px) !important; transform: translateX(-50%) !important; min-width: 0 !important; max-width: none !important; width: max-content !important; padding: 6px 4px !important; border-radius: 8px !important; border: 2px solid var(--wp--preset--color--accent, #216be9) !important; font-size: 11px !important; font-weight: 600 !important; line-height: 1.35 !important; text-transform: none !important; color: var(--wp--preset--color--heading, #333) !important; background: #fff !important; box-shadow: 0 8px 20px rgba(33,107,233,0.12) !important; opacity: 0 !important; pointer-events: none !important; visibility: hidden !important; transition: opacity .2s ease, visibility .2s ease !important; z-index: 30 !important; white-space: nowrap !important; }
.fenix-order-status-wrap:hover .fenix-order-status-hint { opacity: 1 !important; visibility: visible !important; }
.woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { background: rgba(40, 167, 69, 0.1) !important; color: #28a745 !important; }
.woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status { background: rgba(255, 193, 7, 0.15) !important; color: #d39e00 !important; }
.woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { background: rgba(33, 107, 233, 0.1) !important; color: var(--wp--preset--color--accent, #216be9) !important; }
.woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status { background: rgba(220, 53, 69, 0.1) !important; color: #dc3545 !important; }
.woocommerce-orders-table__cell-order-actions { gap: 10px !important; flex-wrap: wrap !important; }
.woocommerce-orders-table__cell-order-actions a.button { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 140px !important; box-sizing: border-box !important; height: 42px !important; padding: 0 !important; margin: 0 !important; font-size: 13px !important; font-weight: 700 !important; border-radius: 8px !important; text-decoration: none !important; color: #fff !important; border: none !important; transition: all 0.3s ease !important; text-transform: uppercase !important; }
.woocommerce-orders-table__cell-order-actions a.button.view { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; }
.woocommerce-orders-table__cell-order-actions a.button.order-again { background: #7c838f !important; box-shadow: 0 4px 12px rgba(124, 131, 143, 0.3) !important; }
.woocommerce-orders-table__cell-order-actions a.button.pay { background: linear-gradient(135deg,#10b981 0,#059669 100%) !important; box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25) !important; }
.woocommerce-orders-table__cell-order-actions a.button.cancel { background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important; box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25) !important; }
.woocommerce-orders-table td[data-title]::before, .woocommerce-orders-table th[data-title]::before { display: none !important; content: none !important; }
@media (min-width: 769px) {
    .woocommerce-orders-table tbody tr { flex-direction: row !important; justify-content: space-between !important; padding: 15px 20px !important; }
    .woocommerce-orders-table tbody td, .woocommerce-orders-table tbody th { justify-content: center !important; text-align: center !important; padding: 0 10px !important; }
    .woocommerce-orders-table__cell-order-number { flex: 0 0 15% !important; max-width: 15% !important; }
    .woocommerce-orders-table__cell-order-status { flex: 0 0 18% !important; max-width: 18% !important; }
    table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-products { flex: 0 0 38% !important; max-width: 38% !important; justify-content: flex-start !important; text-align: left !important; padding-left: 10px !important; padding-right: 10px !important; }
    .woocommerce-orders-table__cell-order-actions { flex: 0 0 25% !important; max-width: 25% !important; justify-content: flex-end !important; }
}
@media (max-width: 768px) {
    .woocommerce-orders-table tbody tr { display: flex !important; flex-direction: column !important; padding: 0 20px 20px 20px !important; align-items: center !important; }
    html body table.woocommerce-orders-table tbody tr td, html body table.woocommerce-orders-table tbody tr th, html body table.woocommerce-orders-table tbody tr td.woocommerce-orders-table__cell-order-products { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; align-items: center !important; justify-content: center !important; text-align: center !important; padding: 15px 0 !important; border-bottom: 1px solid var(--wp--preset--color--border-color, #eaeaea) !important; }
    html body table.woocommerce-orders-table tbody tr td:last-child, html body table.woocommerce-orders-table tbody tr th:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
    html body table.woocommerce-orders-table tbody tr td.woocommerce-orders-table__cell-order-products { font-size: 18px !important; }
    .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status { background: transparent !important; padding: 10px 0 !important; border-radius: 0 !important; }
    html body .woocommerce-orders-table__cell-order-actions { flex-direction: column !important; width: 100% !important; margin-top: 15px !important; }
    html body .woocommerce-orders-table__cell-order-actions a.button { width: 100% !important; max-width: 300px !important; height: 50px !important; font-size: 15px !important; margin: 0 auto !important; }
}
.woocommerce-EditAccountForm { display: flex !important; flex-wrap: wrap !important; gap: 20px !important; justify-content: space-between !important; background: transparent !important; border: none !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; box-sizing: border-box !important; width: 100% !important; margin: 0 !important; }
.woocommerce-EditAccountForm .form-row { margin: 0 !important; padding: 0 !important; }
.woocommerce-EditAccountForm .form-row-first, .woocommerce-EditAccountForm .form-row-last { width: calc(50% - 10px) !important; }
.woocommerce-EditAccountForm .form-row-wide, .woocommerce-EditAccountForm fieldset, .woocommerce-EditAccountForm > p:last-of-type { width: 100% !important; }
.woocommerce-EditAccountForm label { display: block !important; font-size: 14px !important; font-weight: 700 !important; text-transform: uppercase !important; margin-bottom: 8px !important; }
.woocommerce-EditAccountForm input.input-text { width: 100% !important; height: 54px !important; padding: 0 15px !important; border-radius: 10px !important; border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; background: var(--wp--preset--color--card-bg, #fff) !important; font-size: 16px !important; transition: all 0.3s ease !important; box-sizing: border-box !important; }
.woocommerce-EditAccountForm input.input-text:focus { border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 0 0 4px rgba(33, 107, 233, 0.1) !important; outline: none !important; }
.woocommerce-EditAccountForm fieldset { border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; border-radius: 12px !important; padding: 25px !important; background: rgba(0,0,0,0.02) !important; margin-top: 15px !important; display: flex !important; flex-direction: column !important; gap: 20px !important; }
.woocommerce-EditAccountForm fieldset legend { font-weight: 800 !important; font-size: 18px !important; text-transform: uppercase !important; padding: 0 10px !important; color: var(--wp--preset--color--heading, #333) !important; }
.woocommerce-EditAccountForm button[name="save_account_details"] { width: 100% !important; height: 54px !important; background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; font-size: 16px !important; font-weight: 700 !important; text-transform: uppercase !important; border: none !important; border-radius: 10px !important; cursor: pointer !important; box-shadow: 0 4px 15px rgba(33, 107, 233, 0.3) !important; transition: all 0.3s ease !important; margin-top: 10px !important; }
.woocommerce-EditAccountForm button[name="save_account_details"]:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; }
.woocommerce-EditAccountForm .clear { display: none !important; }
/* Общий контейнер ЛК: центрирование и симметричные отступы без сдвига вправо */
body.woocommerce-account #main .pt-container {
    width: 100% !important;
    max-width: var(--wp--style--global--wide-size, 1400px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}
@media (min-width: 1201px) {
    /* Симметрично разводим колонки к краям без изменения их ширины */
    body.woocommerce-account .woocommerce {
        gap: 30px !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation {
        margin-left: -10px !important;
        margin-right: 0 !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content {
        margin-left: 0 !important;
        margin-right: -10px !important;
    }
}
body.woocommerce-account #main .page-content-wrapper,
body.woocommerce-account #main .content-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}
/* Внешний контейнер страницы сохраняем, убираем только внутренние "коробки" ЛК */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation {
    padding: 0 !important;
}
body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 0 !important;
}
/* Переопределяем промежуточный планшетный flex из wp_head без смены модели layout */
@media (min-width: 768px) and (max-width: 1200px) {
    body.woocommerce-account .content-container .woocommerce,
    body.woocommerce-account .woocommerce {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation {
        width: clamp(220px, 24vw, 260px) !important;
        flex: 0 0 clamp(220px, 24vw, 260px) !important;
        max-width: 260px !important;
        margin: 0 !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content {
        width: auto !important;
        flex: 1 1 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }
}
@media (max-width: 991px) {
    .woocommerce-MyAccount-navigation { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; margin-bottom: 20px !important; }
    .woocommerce-MyAccount-content { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
}
@media (max-width: 768px) {
    body.woocommerce-account #customer_login.u-columns.col2-set .u-column1 > h2 {
        display: none !important;
    }
body.woocommerce-account #customer_login .woocommerce-form-login__rememberme {
    display: none !important;
}
    .fenix-order-status-hint {
        text-align: center !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        min-width: 0 !important;
        max-width: none !important;
        width: max-content !important;
        padding: 6px 4px !important;
        white-space: nowrap !important;
    }
    /* Единый зазор после хедера: один источник (#main), без дубля на article в ЛК */
    body:not(.woocommerce-cart):not(.woocommerce-checkout) #main.main-wrapper {
        padding-top: 0px !important;
    }
    /* Для повторной оплаты заказа (order-pay) сохраняем такой же мобильный зазор */
    body.woocommerce-order-pay #main.main-wrapper {
        padding-top: 12px !important;
    }
    /* Страница "Забыли пароль": убираем лишние внутренние обертки и расширяем полезную ширину */
    body.woocommerce-account article.single-content.card-layout-w:has(.woocommerce-ResetPassword.lost_reset_password) {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    body.woocommerce-account article.single-content.card-layout-w:has(.woocommerce-ResetPassword.lost_reset_password) .single-content-inner {
        padding: 0 !important;
    }
    body.woocommerce-account #main .pt-container:has(.woocommerce-ResetPassword.lost_reset_password) {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    body.woocommerce-account article.single-content.card-layout-w:has(.woocommerce-ResetPassword.lost_reset_password) .single-page-title {
        margin: 0 0 12px 0 !important;
        padding: 0 4px !important;
    }
    /* Страница логина/регистрации в ЛК: шире контент и без лишних внутренних оберток */
    body.woocommerce-account article.single-content.card-layout-w:has(#customer_login) {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    body.woocommerce-account article.single-content.card-layout-w:has(#customer_login) .single-content-inner {
        padding: 0 !important;
    }
    body.woocommerce-account article.single-content.card-layout-w:has(#customer_login) .single-page-title {
        margin: 0 0 12px 0 !important;
        padding: 0 4px !important;
    }
    body.woocommerce-account #main .pt-container:has(#customer_login) {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    body.woocommerce-account #customer_login.u-columns.col2-set {
        margin: 12px auto !important;
        padding: 0 !important;
        gap: 12px !important;
    }
    body.woocommerce-account #customer_login .u-column1,
    body.woocommerce-account #customer_login .u-column2 {
        padding: 20px 14px !important;
    }
    body.woocommerce-account article.single-content.card-layout-w {
        margin-top: 0 !important;
        background: var(--wp--preset--color--card-bg, #fff) !important;
        border: 1px solid var(--wp--preset--color--border-color, #eaeaea) !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    }
    /* Как у обычных страниц card-layout: полная ширина контейнера (тема иногда сужает ЛК) */
    body.woocommerce-account #main.main-wrapper,
    body.woocommerce-account #main .site-main,
    body.woocommerce-account .content-container,
    body.woocommerce-account #main .content-container,
    body.woocommerce-account article.single-content.card-layout-w {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    body.woocommerce-account #main .pt-container,
    body.woocommerce-account #main.pt-container {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
    body.woocommerce-account .content-container,
    body.woocommerce-account #main .content-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    body.woocommerce-account article.single-content.card-layout-w .single-content-inner {
        padding: 20px !important;
    }
    body.woocommerce-account .woocommerce {
        gap: 16px !important;
        max-width: 100% !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content .fenix-vpn-wrapper {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content .fenix-vpn-wrapper > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .fenix-orders-category-filter { display: none !important; }
    .fenix-orders-category-mobile { display: block !important; }
    .fenix-orders-filter-mobile-list .fenix-orders-category-btn { width: 100% !important; border-radius: 10px !important; min-height: 38px !important; text-transform: none !important; font-size: 13px !important; padding: 8px 12px !important; }
    /* Как в Test Point: на mobile не уменьшаем шрифт поиска */
    .fenix-orders-search-form #df-search-input, .woocommerce-MyAccount-content .df-search-form #df-search-input { font-size: 16px !important; }
    .fenix-orders-search-form #df-search-input::placeholder, .woocommerce-MyAccount-content .df-search-form #df-search-input::placeholder { font-size: 16px !important; }
    .woocommerce-orders-table tbody tr { flex-direction: column !important; align-items: center !important; gap: 0 !important; padding: 0 20px 20px 20px !important; text-align: center !important; }
    .woocommerce-orders-table tbody td, .woocommerce-orders-table tbody th { flex: 0 0 auto !important; max-width: 100% !important; width: 100% !important; align-items: center !important; text-align: center !important; padding: 15px 0 !important; min-height: 56px !important; border-bottom: 1px solid var(--wp--preset--color--border-color, #eaeaea) !important; border-radius: 0 !important; box-sizing: border-box !important; }
    .woocommerce-orders-table tbody td:last-child { border-bottom: none !important; padding-bottom: 0 !important; min-height: auto !important; }
    .woocommerce-orders-table__cell-order-number a { font-size: 18px !important; display: block !important; margin-bottom: 0; }
    table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-products { flex: none !important; width: 100% !important; max-width: 100% !important; align-items: center !important; text-align: center !important; justify-content: center !important; padding: 15px 20px !important; white-space: normal !important; word-wrap: break-word !important; overflow-wrap: break-word !important; word-break: break-word !important; box-sizing: border-box !important; font-size: 18px !important; }
    table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-products .fenix-order-product-main { font-size: 18px !important; }
    table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-products .fenix-order-product-variation { font-size: 12px !important; max-width: 100% !important; }
    .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status { background: transparent !important; padding: 15px 0 !important; border-radius: 0 !important; }
    .woocommerce-orders-table__cell-order-actions { flex-direction: column !important; width: 100% !important; margin-top: 15px !important; gap: 10px !important; }
    .woocommerce-orders-table__cell-order-actions a.button { width: 100% !important; max-width: 280px !important; height: 50px !important; font-size: 15px !important; margin: 0 auto !important; }
    .woocommerce-MyAccount-content > p:first-of-type { text-align: center !important; }
    .woocommerce-EditAccountForm label, .woocommerce-EditAccountForm fieldset legend { text-align: left !important; width: 100% !important; }
    .woocommerce-EditAccountForm .form-row-first, .woocommerce-EditAccountForm .form-row-last { width: 100% !important; }
    .woocommerce-EditAccountForm fieldset { padding: 20px 15px !important; }
}
html[scheme="dark"] .woocommerce-orders-table tbody tr { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: #444 !important; }
html[scheme="dark"] .woocommerce-orders-table tbody td, html[scheme="dark"] .woocommerce-orders-table tbody th { border-bottom-color: #444 !important; }
html[scheme="dark"] .fenix-orders-search-form #df-search-input, html[scheme="dark"] .woocommerce-MyAccount-content .df-search-form #df-search-input { background: rgba(33, 107, 233, 0.1) !important; border-color: #444 !important; color: #fff !important; }
html[scheme="dark"] .fenix-orders-search-form #df-search-input:focus, html[scheme="dark"] .woocommerce-MyAccount-content .df-search-form #df-search-input:focus { background: rgba(33, 107, 233, 0.1) !important; border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.15) !important; }
html[scheme="dark"] .fenix-orders-category-btn, html[scheme="dark"] .fenix-orders-mobile-selected, html[scheme="dark"] .fenix-orders-filter-mobile-list { background: #2a2a2a !important; border-color: #4a4a4a !important; color: #eee !important; }
html[scheme="dark"] .fenix-orders-category-btn:hover { background: #353535 !important; border-color: #686868 !important; color: #fff !important; }
html[scheme="dark"] .fenix-orders-category-btn.is-active { background: #7a808c !important; border-color: #7a808c !important; color: #fff !important; box-shadow: 0 4px 10px rgba(0,0,0,.25) !important; }
html[scheme="dark"] .fenix-orders-category-btn.is-active:before { box-shadow: inset 0 0 0 2px #7a808c !important; }
html[scheme="dark"] .fenix-orders-category-btn:before { border-color: #666 !important; }
html[scheme="dark"] .tp-pagination .page-numbers,
html[scheme="dark"] .df-pagination .page-numbers,
html[scheme="dark"] .df-pagination.fenix-orders-pagination .page-numbers { background: #333 !important; border-color: #555 !important; color: #eee !important; }
html[scheme="dark"] .tp-pagination .page-numbers:hover:not(.current):not(.dots),
html[scheme="dark"] .df-pagination .page-numbers:hover:not(.current):not(.dots),
html[scheme="dark"] .df-pagination.fenix-orders-pagination .page-numbers:hover:not(.current):not(.dots) { border-color: var(--wp--preset--color--accent, #216be9) !important; }
html[scheme="dark"] .tp-pagination .page-numbers.current,
html[scheme="dark"] .df-pagination .page-numbers.current,
html[scheme="dark"] .df-pagination.fenix-orders-pagination .page-numbers.current { background: var(--wp--preset--color--accent, #216be9) !important; border-color: var(--wp--preset--color--accent, #216be9) !important; color: #fff !important; }
html[scheme="dark"] .fenix-order-status-hint { background: #1e2536 !important; border-color: var(--wp--preset--color--accent, #216be9) !important; color: #f2f2f2 !important; box-shadow: 0 8px 20px rgba(33,107,233,0.18) !important; }
html[scheme="dark"] .woocommerce-pagination .page-numbers a, html[scheme="dark"] .woocommerce-pagination .page-numbers span { background: #2a2a2a !important; border-color: #4a4a4a !important; color: #eee !important; }
html[scheme="dark"] .woocommerce-pagination .page-numbers .current { background: #2e69d6 !important; border-color: #2e69d6 !important; color: #fff !important; }
html[scheme="dark"] .woocommerce-orders-table__cell-order-number a, html[scheme="dark"] .woocommerce-orders-table__cell-order-products, html[scheme="dark"] .woocommerce-orders-table__cell-order-total .woocommerce-Price-amount { color: #eee !important; }
html[scheme="dark"] .woocommerce-orders-table__cell-order-products .fenix-order-product-link { color: #f2f2f2 !important; }
html[scheme="dark"] .woocommerce-orders-table__cell-order-products .fenix-order-product-link:hover { color: #7fb1ff !important; }
html[scheme="dark"] .woocommerce-orders-table__cell-order-products .fenix-order-product-variation { color: #b8b8b8 !important; }
html[scheme="dark"] .woocommerce-orders-table__cell-order-products .fenix-order-product-extra-line { color: #b8b8b8 !important; }
html[scheme="dark"] .woocommerce-orders-table__cell-order-products .fenix-order-product-item + .fenix-order-product-item { border-top-color: #4c4c4c !important; }
html[scheme="dark"] .woocommerce-orders-table__cell-order-actions a.button.pay { background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%) !important; box-shadow: none !important; }
html[scheme="dark"] .woocommerce-EditAccountForm fieldset { background: rgba(0,0,0,0.2) !important; border-color: #444 !important; }
html[scheme="dark"] .woocommerce-EditAccountForm label, html[scheme="dark"] .woocommerce-EditAccountForm fieldset legend { color: var(--wp--preset--color--heading, #eee) !important; }
html[scheme="dark"] .woocommerce-MyAccount-navigation ul { background: transparent !important; }
.woocommerce table.shop_table, table.woocommerce-table--order-details.shop_table, .woocommerce-table--order-details.shop_table tbody, .woocommerce-table--order-details.shop_table tr, .woocommerce-table--order-details.shop_table td, .woocommerce-table--order-details.shop_table th { border: none !important; box-shadow: none !important; background: transparent !important; }
.woocommerce-order-details .shop_table { background: var(--wp--preset--color--card-bg) !important; border: 1px solid var(--wp--preset--color--border-color) !important; border-radius: 12px !important; width: 100% !important; margin-bottom: 30px !important; border-collapse: collapse !important; overflow: hidden !important; }
.woocommerce-order-details .shop_table tbody td, .woocommerce-order-details .shop_table tfoot td { padding: 20px 20px !important; }
.woocommerce-order-details .shop_table tbody tr { border-bottom: 1px solid var(--wp--preset--color--border-color) !important; }
.woocommerce-order-details .shop_table .product-name { font-size: 18px !important; font-weight: 600 !important; text-align: left !important; }
.shop_table tfoot tr.order-total, .woocommerce-order-details .shop_table tfoot tr.order-total { display: flex !important; flex-wrap: nowrap !important; width: 100% !important; border-top: 1px solid var(--wp--preset--color--border-color, #eaeaea) !important; background: transparent !important; }
.shop_table tfoot tr.order-total td, .woocommerce-order-details .shop_table tfoot tr.order-total td { display: flex !important; justify-content: flex-start !important; align-items: center !important; width: 100% !important; text-align: left !important; padding: 20px !important; border: none !important; }
.woocommerce-checkout-review-order-table ul.wc-item-meta, .woocommerce-order-details .wc-item-meta, .woocommerce-checkout .woocommerce-checkout-review-order-table dl.variation { margin: 10px 0 0 0 !important; padding: 0 !important; list-style: none !important; display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; justify-content: center !important; }
.woocommerce-checkout-review-order-table ul.wc-item-meta li, .woocommerce-order-details .wc-item-meta li, .woocommerce-checkout .woocommerce-checkout-review-order-table dl.variation dd { display: block !important; margin-bottom: 6px !important; padding: 8px 12px !important; background: rgba(33,107,233,0.05) !important; border-radius: 8px !important; font-size: 14px !important; line-height: 1.5 !important; color: var(--wp--preset--color--body-color, #555) !important; white-space: normal !important; word-wrap: break-word !important; overflow-wrap: break-word !important; text-align: center !important; }
dl.variation { display: block !important; width: 100% !important; }
dl.variation dd { display: block !important; width: 100% !important; box-sizing: border-box !important; font-size: 16px !important; font-weight: 600 !important; }
dl.variation dd p { font-size: 16px !important; font-weight: 600 !important; margin: 0 !important; }
.woocommerce-checkout-review-order-table .wc-item-meta-label, .woocommerce-order-details .wc-item-meta-label, .woocommerce-checkout .woocommerce-checkout-review-order-table dl.variation dt { display: block !important; font-weight: 700 !important; color: var(--wp--preset--color--heading, #333) !important; text-transform: uppercase !important; font-size: 12px !important; margin-bottom: 5px !important; min-width: 0 !important; float: none !important; border: none !important; padding: 0 !important; text-align: center !important; width: 100% !important; }
.wc-item-meta-label::after, dl.variation dt::after { display: none !important; content: none !important; }
.woocommerce-checkout-review-order-table ul.wc-item-meta p, .woocommerce-order-details .wc-item-meta p, .woocommerce-checkout .woocommerce-checkout-review-order-table dl.variation dd p { display: inline !important; margin: 0 !important; padding: 0 !important; }
html body .woocommerce-orders-table__cell-order-actions a.button.order-again:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(124, 131, 143, 0.45) !important; }
html body .woocommerce-orders-table__cell-order-actions a.button.cancel:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4) !important; }
html[scheme="dark"] body .woocommerce-orders-table__cell-order-actions a.button.order-again:hover { box-shadow: 0 8px 20px rgba(124, 131, 143, 0.55) !important; }
html[scheme="dark"] body .woocommerce-orders-table__cell-order-actions a.button.cancel:hover { box-shadow: 0 8px 20px rgba(183, 28, 28, 0.6) !important; }
.woocommerce-order-received .woocommerce-order-details { margin-top: 30px !important; }
.woocommerce-order-received .woocommerce-form-login { max-width: 600px; margin: 0 auto 40px; padding: 40px; background: var(--wp--preset--color--card-bg, #ffffff); border: 1px solid var(--wp--preset--color--border-color, #eaeaea); border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; box-sizing: border-box; }
.woocommerce-order-received .woocommerce-form-login button.woocommerce-button { width: 100%; height: 54px; background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%); color: #fff; font-size: 16px; font-weight: 700; text-transform: uppercase; border: none; border-radius: 10px; cursor: pointer; box-shadow: 0 4px 15px rgba(33, 107, 233, 0.3); }
.woocommerce-order-received .woocommerce-form-login .lost_password { text-align: center; margin-top: 20px; }
@media (max-width: 768px) {
    .woocommerce-order-received .woocommerce-form-login { padding: 30px 20px; margin: 20px 15px; width: auto; max-width: 100%; }
}
.fenix-order-footer-wrapper .fenix-credentials-box, .fenix-order-footer-wrapper .fenix-dhru-result { width: 100% !important; box-sizing: border-box !important; margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width: 768px) {
    .fenix-order-footer-wrapper .fenix-credentials-box, .fenix-order-footer-wrapper .fenix-dhru-result { padding: 20px 15px !important; border-radius: 12px !important; border-width: 2px !important; }
}
.fenix-success-order-wrapper, .fenix-failed-order-wrapper, .fenix-pending-order-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 30px auto; padding: 40px 30px; border-radius: 16px; box-sizing: border-box; text-align: center; background: var(--wp--preset--color--card-bg, #fff); border: 2px solid; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; width: 100% !important; max-width: 100% !important; }
.fenix-success-order-wrapper { border-color: #28a745; background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.1) 100%); }
.fenix-failed-order-wrapper { border-color: #dc3545; background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(220, 53, 69, 0.1) 100%); }
.fenix-pending-order-wrapper { border-color: #ffc107; background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 193, 7, 0.1) 100%); }
.fenix-success-icon svg, .fenix-failed-icon svg, .fenix-pending-icon svg { width: 80px; height: 80px; margin-bottom: 20px; opacity: 0.9; }
.fenix-success-icon svg { stroke: #28a745; } .fenix-failed-icon svg { stroke: #dc3545; } .fenix-pending-icon svg { stroke: #ffc107; }
.fenix-success-title, .fenix-failed-title, .fenix-pending-title { font-size: 28px !important; font-weight: 800 !important; color: var(--wp--preset--color--heading, #333) !important; margin: 0 0 20px 0 !important; line-height: 1.3 !important; text-transform: none !important; }
.fenix-success-text, .fenix-failed-text { font-size: 18px; line-height: 1.6; color: var(--wp--preset--color--body-color, #555); margin-bottom: 30px; width: 100%; max-width: 100%; padding: 20px; border-radius: 12px; white-space: normal !important; word-break: break-word; font-family: inherit; }
.fenix-success-text { background: rgba(40, 167, 69, 0.05); border: 1px solid rgba(40, 167, 69, 0.2); text-align: center !important; }
.fenix-failed-text { background: rgba(220, 53, 69, 0.05); border: 1px solid rgba(220, 53, 69, 0.2); text-align: left; }
.fenix-failed-text p { margin-bottom: 10px !important; }
.fenix-failed-intro { font-weight: 700; margin-bottom: 15px !important; color: var(--wp--preset--color--heading, #333); }
ul.fenix-failed-list { list-style: none !important; padding: 0 !important; margin: 0 0 15px 0 !important; }
ul.fenix-failed-list li { position: relative; padding-left: 25px; margin-bottom: 5px !important; font-weight: 500; }
ul.fenix-failed-list li::before { content: "•"; color: #dc3545; font-weight: bold; font-size: 20px; position: absolute; left: 0; top: -2px; }
.fenix-failed-footer { font-style: italic; opacity: 0.9; margin-top: 15px !important; border-top: 1px solid rgba(220, 53, 69, 0.2); padding-top: 15px; }
.fenix-success-details, .fenix-pending-details { width: 100%; max-width: 100%; margin-bottom: 10px; }
.fenix-order-number { font-size: 18px; color: var(--wp--preset--color--body-color, #555); margin-bottom: 20px !important; }
.fenix-credentials-box { background: var(--wp--preset--color--card-bg, #fff); border: 1px solid var(--wp--preset--color--border-color, #eaeaea); border-radius: 12px; padding: 20px; margin-top: 20px; text-align: left; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.fenix-credentials-title { font-size: 14px; text-transform: uppercase; font-weight: 700; color: var(--wp--preset--color--body-color, #777); margin-bottom: 10px; }
.fenix-credentials-content { font-size: 18px; line-height: 1.6; color: var(--wp--preset--color--heading, #333); }
.fenix-credentials-content strong { font-weight: 800; color: var(--wp--preset--color--heading, #333); }
.fenix-processing-note { font-size: 16px; color: var(--wp--preset--color--body-color, #666); }
.fenix-success-actions, .fenix-failed-actions, .fenix-pending-actions { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; width: 100%; margin-top: 20px; }
.button.fenix-btn-my-account, .button.fenix-btn-primary { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; height: 54px !important; padding: 0 35px !important; border-radius: 10px !important; font-weight: 700 !important; font-size: 16px !important; text-transform: uppercase !important; border: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; min-width: 200px !important; text-decoration: none !important; transition: all 0.3s ease !important; }
.button.fenix-btn-my-account:hover, .button.fenix-btn-primary:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 20px rgba(33, 107, 233, 0.35) !important; }
.button.fenix-btn-secondary { background: transparent !important; color: var(--wp--preset--color--body-color, #555) !important; border: 2px solid var(--wp--preset--color--border-color, #ddd) !important; border-radius: 10px !important; font-weight: 700 !important; font-size: 16px !important; text-transform: uppercase !important; height: 54px !important; padding: 0 35px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; text-decoration: none !important; min-width: 200px !important; transition: all 0.3s ease !important; }
.button.fenix-btn-secondary:hover { border-color: var(--wp--preset--color--accent, #216be9) !important; color: var(--wp--preset--color--accent, #216be9) !important; background: #fff !important; transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.3) !important; }
.fenix-dhru-result { display: block !important; padding: 25px !important; border-radius: 12px !important; margin: 20px 0 !important; border: 2px solid var(--wp--preset--color--accent) !important; font-size: 16px !important; line-height: 1.5 !important; width: 100% !important; box-sizing: border-box !important; color: var(--wp--preset--color--heading) !important; }
.fenix-dhru-result.success { background: linear-gradient(135deg, var(--wp--preset--color--card-bg) 0%, rgba(40, 167, 69, 0.1) 100%) !important; border-color: #28a745 !important; text-align: center !important; }
.fenix-dhru-result.success .dhru-label { display: block !important; font-size: 14px !important; font-weight: 700 !important; color: #28a745 !important; text-transform: uppercase !important; margin-bottom: 10px !important; }
.fenix-dhru-result.success .dhru-code { font-family: 'Courier New', Courier, monospace !important; font-size: 16px !important; font-weight: 500 !important; padding: 15px !important; background: rgba(0, 0, 0, 0.03) !important; border-radius: 8px !important; margin-top: 15px !important; white-space: pre-wrap !important; word-break: break-word !important; text-align: left !important; }
.fenix-dhru-result.failed { background: linear-gradient(135deg, var(--wp--preset--color--card-bg) 0%, rgba(220, 53, 69, 0.1) 100%) !important; border-color: #dc3545 !important; text-align: left !important; }
.fenix-dhru-result.failed strong { color: #dc3545 !important; display: block !important; margin-bottom: 12px !important; font-size: 16px !important; }
.button.fenix-button-order-again { background: linear-gradient(135deg, var(--wp--preset--color--accent) 0%, #1a5cd8 100%) !important; color: white !important; border-radius: 10px !important; font-weight: 700 !important; font-size: 18px !important; text-transform: uppercase !important; padding: 16px 40px !important; height: 54px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; text-decoration: none !important; min-width: 260px !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; }
@media (max-width: 768px) {
    .fenix-success-order-wrapper, .fenix-failed-order-wrapper, .fenix-pending-order-wrapper { padding: 30px 20px !important; margin: 20px 0 !important; border-width: 2px !important; width: 100% !important; max-width: 100% !important; }
    .fenix-success-icon svg, .fenix-failed-icon svg, .fenix-pending-icon svg { width: 60px; height: 60px; }
    .fenix-success-title, .fenix-failed-title, .fenix-pending-title { font-size: 22px !important; }
    .fenix-success-actions, .fenix-failed-actions, .fenix-pending-actions { flex-direction: column; }
    .button.fenix-btn-my-account, .button.fenix-btn-primary, .button.fenix-btn-secondary { width: 100% !important; min-width: 100% !important; }
    .fenix-credentials-box { padding: 15px; }
}
html[scheme="dark"] .fenix-success-order-wrapper, html[scheme="dark"] .fenix-failed-order-wrapper, html[scheme="dark"] .fenix-pending-order-wrapper { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: #444 !important; box-shadow: none !important; }
html[scheme="dark"] .fenix-success-order-wrapper { border-color: rgba(40, 167, 69, 0.5) !important; }
html[scheme="dark"] .fenix-failed-order-wrapper { border-color: rgba(220, 53, 69, 0.5) !important; }
html[scheme="dark"] .fenix-pending-order-wrapper { border-color: rgba(255, 193, 7, 0.5) !important; }
html[scheme="dark"] .fenix-success-text, html[scheme="dark"] .fenix-failed-text, html[scheme="dark"] .fenix-credentials-box { background: rgba(255,255,255,0.05) !important; border-color: rgba(255,255,255,0.1) !important; color: #eee !important; }
html[scheme="dark"] .fenix-success-title, html[scheme="dark"] .fenix-failed-title, html[scheme="dark"] .fenix-pending-title, html[scheme="dark"] .fenix-credentials-content strong { color: #fff !important; }
html[scheme="dark"] .button.fenix-btn-secondary { background: transparent !important; color: #e3e7ed !important; border-color: #444 !important; }
html[scheme="dark"] .button.fenix-btn-secondary:hover { border-color: #216be9 !important; color: #ffffff !important; }
.woocommerce-notices-wrapper:not(:has(.fenix-success-text)):not(:has(.fenix-failed-order-wrapper)):not(:has(.fenix-pending-order-wrapper)):not(:has(.fenix-success-order-wrapper)), .woocommerce-NoticeGroup:not(:has(.fenix-success-text)):not(:has(.fenix-failed-order-wrapper)):not(:has(.fenix-pending-order-wrapper)):not(:has(.fenix-success-order-wrapper)), .woocommerce-error:not(:has(.fenix-success-text)):not(:has(.fenix-failed-order-wrapper)):not(:has(.fenix-pending-order-wrapper)):not(:has(.fenix-success-order-wrapper)), .woocommerce-message:not(:has(.fenix-success-text)):not(:has(.fenix-failed-order-wrapper)):not(:has(.fenix-pending-order-wrapper)):not(:has(.fenix-success-order-wrapper)), .woocommerce-info:not(:has(.fenix-success-text)):not(:has(.fenix-failed-order-wrapper)):not(:has(.fenix-pending-order-wrapper)):not(:has(.fenix-success-order-wrapper)) { display: none !important; }
.woocommerce-notices-wrapper:has(.fenix-success-text), .woocommerce-notices-wrapper:has(.fenix-failed-order-wrapper), .woocommerce-notices-wrapper:has(.fenix-pending-order-wrapper), .woocommerce-notices-wrapper:has(.fenix-success-order-wrapper), .woocommerce-message:has(.fenix-success-text), .woocommerce-message:has(.fenix-success-order-wrapper), .woocommerce-error:has(.fenix-failed-order-wrapper), .woocommerce-info:has(.fenix-pending-order-wrapper) { display: block !important; background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
.woocommerce-message:has(.fenix-success-text)::before, .woocommerce-message:has(.fenix-success-order-wrapper)::before, .woocommerce-error:has(.fenix-failed-order-wrapper)::before, .woocommerce-info:has(.fenix-pending-order-wrapper)::before { display: none !important; }
/* Чекаут: уведомления как #fenix-toast-container (синхронизация с custom-woocommerce.css) */
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-NoticeGroup,
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto 16px auto !important;
    padding: 0 !important;
    max-width: 650px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-message,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-info,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-checkout form.checkout.woocommerce-checkout > .woocommerce-error,
body.woocommerce-checkout form.checkout.woocommerce-checkout > .woocommerce-message,
body.woocommerce-checkout form.checkout.woocommerce-checkout > .woocommerce-info {
    pointer-events: auto !important;
    margin: 0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    list-style: none !important;
    position: relative !important;
    background: #e6f0ff !important;
    border: 2px solid #216be9 !important;
    color: var(--wp--preset--color--heading, #333) !important;
    text-align: center !important;
}
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error::before,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error::before,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info::before,
body.woocommerce-checkout form.checkout.woocommerce-checkout > .woocommerce-error::before,
body.woocommerce-checkout form.checkout.woocommerce-checkout > .woocommerce-message::before,
body.woocommerce-checkout form.checkout.woocommerce-checkout > .woocommerce-info::before {
    display: none !important;
}
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error ul,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-message ul,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-info ul,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error ul,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message ul,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info ul {
    margin: -14px -16px !important;
    padding: 0 !important;
    width: calc(100% + 32px) !important;
    list-style: none !important;
}
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error li,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-message li,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-info li,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error li,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message li,
body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    text-align: center !important;
    width: 100% !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
html[scheme="dark"] body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error,
html[scheme="dark"] body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-message,
html[scheme="dark"] body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-info,
html[scheme="dark"] body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error,
html[scheme="dark"] body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message,
html[scheme="dark"] body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info,
html[scheme="dark"] body.woocommerce-checkout form.checkout.woocommerce-checkout > .woocommerce-error,
html[scheme="dark"] body.woocommerce-checkout form.checkout.woocommerce-checkout > .woocommerce-message,
html[scheme="dark"] body.woocommerce-checkout form.checkout.woocommerce-checkout > .woocommerce-info {
    background: #1e2a4a !important;
    border-color: #216be9 !important;
    color: #ffffff !important;
}
@media (max-width: 768px) {
    body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error,
    body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-message,
    body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-info,
    body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error,
    body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message,
    body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error ul,
    body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-message ul,
    body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-info ul,
    body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error ul,
    body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message ul,
    body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info ul {
        margin: -12px -14px !important;
        width: calc(100% + 28px) !important;
    }
    body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error li,
    body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-message li,
    body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-info li,
    body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error li,
    body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message li,
    body.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info li {
        padding: 12px 14px !important;
    }
}
/* Исключение: на странице входа/регистрации показываем обычные уведомления WooCommerce */
body.woocommerce-account #customer_login ~ .woocommerce-notices-wrapper,
body.woocommerce-account #customer_login .woocommerce-notices-wrapper,
body.woocommerce-account #customer_login .woocommerce-notices-wrapper.fenix-inline-notices,
body.woocommerce-account #customer_login .woocommerce-error,
body.woocommerce-account #customer_login .woocommerce-message,
body.woocommerce-account #customer_login .woocommerce-info,
body.woocommerce-account .fenix-inline-login-feedback .woocommerce-error,
body.woocommerce-account .fenix-inline-reset-feedback .woocommerce-error,
body.woocommerce-account .fenix-inline-reset-feedback .woocommerce-message,
body.woocommerce-account .fenix-inline-reset-feedback .woocommerce-info,
body.woocommerce-account .fenix-inline-notices .woocommerce-error,
body.woocommerce-account .fenix-inline-notices .woocommerce-message,
body.woocommerce-account .fenix-inline-notices .woocommerce-info {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Локальный блок уведомлений выключаем: используем только #fenix-toast-container */
body.woocommerce-account #customer_login .fenix-inline-reset-feedback {
    display: none !important;
}
#fenix-toast-container .woocommerce-error, #fenix-toast-container .woocommerce-message, #fenix-toast-container .woocommerce-info { display: flex !important; }
#fenix-toast-container { position: fixed; top: 30px; left: 50%; transform: translateX(-50%); width: auto; max-width: 600px; z-index: 100000; pointer-events: none; display: flex; flex-direction: column; gap: 10px; }
#fenix-toast-container .woocommerce-info, #fenix-toast-container .woocommerce-message, #fenix-toast-container .woocommerce-error { pointer-events: auto; margin: 0; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); animation: slideInDown 0.3s ease; display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: center !important; gap: 10px !important; padding: 14px 16px !important; border-radius: 12px !important; font-size: 15px !important; font-weight: 700 !important; list-style: none !important; position: relative !important; background: #e6f0ff !important; border: 2px solid #216be9 !important; }
#fenix-toast-container .woocommerce-info::before, #fenix-toast-container .woocommerce-message::before, #fenix-toast-container .woocommerce-error::before { display: none !important; }
#fenix-toast-container .woocommerce-info:focus, #fenix-toast-container .woocommerce-message:focus, #fenix-toast-container .woocommerce-error:focus, #fenix-toast-container .woocommerce-info:focus-visible, #fenix-toast-container .woocommerce-message:focus-visible, #fenix-toast-container .woocommerce-error:focus-visible { outline: none !important; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important; }
#fenix-toast-container .woocommerce-error ul, #fenix-toast-container .woocommerce-info ul, #fenix-toast-container .woocommerce-message ul { margin: -14px -16px !important; padding: 0 !important; width: calc(100% + 32px) !important; }
#fenix-toast-container .woocommerce-error ul, #fenix-toast-container .woocommerce-info ul, #fenix-toast-container .woocommerce-message ul, #fenix-toast-container .woocommerce-error li, #fenix-toast-container .woocommerce-info li, #fenix-toast-container .woocommerce-message li { border: none !important; outline: none !important; box-shadow: none !important; }
#fenix-toast-container .woocommerce-error li, #fenix-toast-container .woocommerce-info li, #fenix-toast-container .woocommerce-message li { display: flex !important; align-items: center !important; justify-content: center !important; flex-wrap: wrap !important; gap: 6px !important; text-align: center !important; width: 100% !important; padding: 14px 16px !important; margin: 0 !important; box-sizing: border-box !important; }
#fenix-toast-container .woocommerce-error, #fenix-toast-container .woocommerce-info, #fenix-toast-container .woocommerce-message { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
#fenix-toast-container a { color: inherit !important; text-decoration: underline !important; font-weight: 600 !important; transition: color 0.2s ease; }
#fenix-toast-container a:not(.button):hover { color: #216be9 !important; }
#fenix-toast-container .button.wc-forward { display: inline-flex !important; align-items: center !important; justify-content: center !important; background: #216be9 !important; color: #ffffff !important; border: none !important; border-radius: 10px !important; font-weight: 600 !important; font-size: 15px !important; padding: 12px 25px !important; text-decoration: none !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; transition: all 0.3s ease !important; min-width: 140px !important; cursor: pointer !important; margin: 0 !important; flex-shrink: 0 !important; }
#fenix-toast-container .button.wc-forward:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 20px rgba(33, 107, 233, 0.35) !important; }
@keyframes slideInDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 768px) {
    #fenix-toast-container { top: 10px; left: 10px; right: 10px; transform: none; width: auto; max-width: none; }
    #fenix-toast-container .woocommerce-info, #fenix-toast-container .woocommerce-message, #fenix-toast-container .woocommerce-error { font-size: 14px; padding: 12px 14px !important; }
    #fenix-toast-container .woocommerce-error ul, #fenix-toast-container .woocommerce-info ul, #fenix-toast-container .woocommerce-message ul { margin: -12px -14px !important; width: calc(100% + 28px) !important; }
    #fenix-toast-container .woocommerce-error li, #fenix-toast-container .woocommerce-info li, #fenix-toast-container .woocommerce-message li { padding: 12px 14px !important; }
    #fenix-toast-container .button.wc-forward { width: 100% !important; min-width: 100% !important; margin-top: 10px !important; }
}
html[scheme="dark"] #fenix-toast-container .woocommerce-info, html[scheme="dark"] #fenix-toast-container .woocommerce-message, html[scheme="dark"] #fenix-toast-container .woocommerce-error { background: #1e2a4a !important; color: #ffffff !important; }
html[scheme="dark"] #fenix-toast-container a:not(.button):hover { color: #7aa7f2 !important; }
html[scheme="dark"] #fenix-toast-container .button.wc-forward { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important; }
#comments { margin-top: 40px !important; padding: 0 !important; }
#comments .woocommerce-Reviews-title { font-size: 24px !important; font-weight: 800 !important; color: var(--wp--preset--color--heading, #333) !important; margin-bottom: 25px !important; text-transform: uppercase !important; text-align: left !important; }
.commentlist { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.commentlist li.review { background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 1px solid var(--pt-border-color, #e9e8ff) !important; border-radius: 16px !important; padding: 25px !important; margin-bottom: 20px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; display: flex !important; flex-direction: column !important; transition: transform 0.3s ease !important; }
.commentlist li.review:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important; }
.comment_container { width: 100% !important; display: flex !important; flex-direction: column !important; border: none !important; padding: 0 !important; margin: 0 !important; }
.comment-text { border: none !important; padding: 0 !important; margin: 0 !important; }
.star-rating { display: block !important; margin-bottom: 10px !important; width: 80px !important; height: 16px !important; background-size: 16px !important; font-family: 'star' !important; color: #FFD700 !important; float: none !important; }
.comment-text .meta { font-size: 14px !important; color: var(--wp--preset--color--body-color, #777) !important; margin-bottom: 15px !important; display: block !important; border: none !important; padding: 0 !important; }
.woocommerce-review__author { font-size: 16px !important; font-weight: 700 !important; color: var(--wp--preset--color--heading, #333) !important; text-transform: uppercase !important; margin-right: 5px !important; }
.description p { font-size: 16px !important; line-height: 1.6 !important; color: var(--wp--preset--color--heading, #444) !important; margin: 0 !important; }
.commentlist li.review img.avatar { display: none !important; }
#review_form_wrapper { padding: 0 !important; border: none !important; box-shadow: none !important; background: transparent !important; margin-top: 30px !important; }
#review_form { background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 1px solid var(--pt-border-color, #e9e8ff) !important; border-radius: 16px !important; padding: 40px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; box-sizing: border-box !important; width: 100% !important; }
.comment-form-rating { display: flex !important; flex-direction: column !important; align-items: center !important; margin-bottom: 25px !important; width: 100% !important; }
p.stars { margin: 0 !important; font-size: 20px !important; }
p.stars a { color: #FFD700 !important; }
.comment-form-comment { margin-bottom: 25px !important; width: 100% !important; }
#comment { width: 100% !important; height: 120px !important; background: var(--wp--preset--color--card-bg, #fff) !important; border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; border-radius: 12px !important; padding: 15px !important; font-size: 16px !important; color: var(--wp--preset--color--heading, #333) !important; transition: all 0.3s ease !important; box-sizing: border-box !important; }
#comment:focus { border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 0 0 4px rgba(33, 107, 233, 0.1) !important; outline: none !important; }
.form-submit { text-align: center !important; }
#submit { display: inline-block !important; background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; font-size: 16px !important; font-weight: 700 !important; text-transform: uppercase !important; border: none !important; border-radius: 10px !important; padding: 15px 40px !important; cursor: pointer !important; box-shadow: 0 4px 15px rgba(33, 107, 233, 0.3) !important; min-width: 200px !important; transition: all 0.3s ease !important; }
#submit:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; }
@media (max-width: 768px) {
    #comments { padding: 0 15px !important; }
    #comments .woocommerce-Reviews-title { text-align: center !important; }
    .commentlist li.review { padding: 25px !important; border-radius: 16px !important; text-align: center !important; align-items: center !important; }
    .comment_container { align-items: center !important; text-align: center !important; }
    .star-rating { margin-left: auto !important; margin-right: auto !important; margin-bottom: 12px !important; }
    .description p { text-align: center !important; }
    #review_form { padding: 25px 20px !important; }
    #submit { width: 100% !important; height: 54px !important; margin: 0 !important; border: none !important; display: block !important; }
    .blogsy-footer-column .widget_block { padding: 0 !important; }
    .wc-block-review-list-item__item { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
    .wc-block-review-list-item__meta { display: flex !important; flex-direction: column !important; align-items: center !important; }
    .wc-block-review-list-item__rating { display: block !important; text-align: center !important; margin-bottom: 10px !important; }
    .wc-block-review-list-item__rating__stars { display: inline-block !important; margin-left: auto !important; margin-right: auto !important; }
    .wc-block-review-list-item__product { text-align: center !important; width: 100% !important; margin-bottom: 10px !important; }
    .wc-block-review-list-item__text { text-align: center !important; width: 100% !important; }
}
html[scheme="dark"] .commentlist li.review, html[scheme="dark"] #review_form { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: var(--pt-border-color, #444) !important; box-shadow: none !important; }
html[scheme="dark"] #comments .woocommerce-Reviews-title, html[scheme="dark"] .woocommerce-review__author, html[scheme="dark"] .description p, html[scheme="dark"] .comment-form-rating label { color: var(--wp--preset--color--heading, #eee) !important; }
html[scheme="dark"] #comment { background: #333 !important; border-color: #444 !important; color: #eee !important; }
html[scheme="dark"] #comment:focus { background: #383838 !important; border-color: var(--wp--preset--color--accent, #216be9) !important; }
/* Воздух перед футером на всех страницах: тема даёт 3.5rem — поднимаем до 5.6rem.
   Без !important: спец-страницы (гостевые заглушки, чат, order-received) перекрывают своими !important-правилами. */
main.main-wrapper { padding-bottom: 5.6rem; }
.driver-card { background-color: var(--wp--preset--color--card-bg, #ffffff) !important; border: 2px solid var(--wp--preset--color--border-color, #444) !important; border-radius: 16px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; margin-bottom: 20px !important; overflow: hidden !important; transition: box-shadow 0.3s ease !important; }
.driver-card:hover { transform: none !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.12) !important; }
.driver-header { background: rgba(33, 107, 233, 0.03) !important; padding: 18px 25px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; border-bottom: 1px solid var(--wp--preset--color--border-color, #eaeaea) !important; }
.driver-title { font-size: 17px !important; margin: 0 !important; font-weight: 800 !important; color: var(--wp--preset--color--accent, #216be9) !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; text-align: left !important; }
.driver-content { padding: 20px !important; display: flex !important; flex-wrap: wrap !important; justify-content: space-between !important; align-items: center !important; }
.driver-description { flex: 1 1 60% !important; min-width: 250px !important; margin-right: 20px !important; margin-bottom: 15px !important; color: var(--wp--preset--color--body-color, #666) !important; text-align: left !important; overflow-wrap: break-word !important; word-wrap: break-word !important; word-break: break-word !important; }
.driver-description p { margin: 0 !important; }
.btn-download { display: inline-flex !important; align-items: center !important; justify-content: center !important; background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #ffffff !important; border: none !important; border-radius: 10px !important; font-weight: 700 !important; font-size: 16px !important; padding: 0 25px !important; height: 42px !important; line-height: 42px !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; text-decoration: none !important; min-width: 140px !important; transition: all 0.3s ease !important; }
.btn-download:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; color: #ffffff !important; }
@media (max-width: 768px) {
    .driver-header { padding: 15px !important; flex-direction: column !important; gap: 10px !important; justify-content: center !important; text-align: center !important; }
    .driver-content { flex-direction: column !important; align-items: stretch !important; }
    .driver-card .driver-title, .driver-description { text-align: center !important; }
    .driver-description { width: 100% !important; min-width: 0 !important; margin-right: 0 !important; flex: none !important; }
    .btn-download { width: 100% !important; max-width: 300px !important; margin-left: auto !important; margin-right: auto !important; }
}
html[scheme="dark"] .driver-card { background-color: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: var(--wp--preset--color--border-color, #444) !important; }
html[scheme="dark"] .driver-card:hover { box-shadow: 0 8px 25px rgba(33, 107, 233, 0.25) !important; }
html[scheme="dark"] .driver-header { background: rgba(255, 255, 255, 0.03) !important; border-bottom-color: var(--wp--preset--color--border-color, #444) !important; }
html[scheme="dark"] .driver-title { color: #7aa7f2 !important; }
html[scheme="dark"] .driver-description { color: var(--wp--preset--color--body-color, #ccc) !important; }
html[scheme="dark"] .btn-download { box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; }
/* Мобильный VPN-блок и типографика VPN-кнопок перенесены в fenix-vpn.php (2026-07-13):
   тут они конфликтовали с собственным (более новым) мобильным CSS плагина — половина
   правил была мёртвой, а .key-buttons{column} глушил row-раскладку плагина. */
.fenix-custom-order-details-wrapper, .fenix-checkout-review-cards { width: 100%; margin: 0 0 12px 0; display: flex !important; flex-direction: column !important; gap: 20px !important; }
.fenix-order-item-card { background: var(--wp--preset--color--card-bg, #ffffff) !important; padding: 20px !important; display: flex; flex-direction: column; gap: 20px; border: 2px solid var(--wp--preset--color--accent, #216be9) !important; border-radius: 16px; }
body:not(.blogsy-disable-page-card-style) .card-layout-w .alignwide, body:not(.blogsy-disable-page-card-style) .pt-container .alignwide .alignfull { max-width: 100%; width: 100%; padding: 25px; }
.single-hero-title .title { border-bottom: 1px solid #dfe1ea; margin: 0; padding: 0 0 1.5rem; word-wrap: break-word; word-break: break-word; }
.fenix-item-header { display: flex; justify-content: space-between; align-items: center; }
.fenix-item-title { font-size: 20px !important; font-weight: 700 !important; color: var(--wp--preset--color--heading, #333) !important; line-height: 1.4; }
.fenix-item-qty { color: var(--wp--preset--color--accent, #216be9) !important; font-weight: 800 !important; margin-left: 8px; font-size: 22px; }
.fenix-item-price { font-size: 30px !important; font-weight: 600 !important; color: var(--wp--preset--color--accent, #216be9) !important; white-space: nowrap; }
.fenix-item-meta-list { display: flex; flex-direction: column; gap: 0px; background: rgba(33, 107, 233, 0.04) !important; padding: 20px !important; border-radius: 12px !important; border: 1px solid rgba(33, 107, 233, 0.1); }
.fenix-meta-row { font-size: 16px !important; line-height: 1.5 !important; color: var(--wp--preset--color--body-color, #555) !important; display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: baseline !important; column-gap: 8px !important; row-gap: 4px !important; }
.fenix-meta-label { font-weight: 800 !important; color: var(--wp--preset--color--heading, #333) !important; text-transform: uppercase !important; font-size: 16px !important; margin-bottom: 0 !important; opacity: 0.8; white-space: normal !important; overflow-wrap: anywhere !important; word-break: break-word !important; }
.fenix-meta-value { text-align: left; font-weight: 600 !important; color: var(--wp--preset--color--heading, #222) !important; word-break: break-word !important; overflow-wrap: anywhere !important; flex: 1 1 240px !important; max-width: 100% !important; min-width: 0 !important; }
.fenix-meta-value p { margin: 0 !important; display: inline !important; }
.fenix-order-again-wrapper { display: flex; justify-content: center; margin-top: 10px; }
.fenix-btn-order-again-large { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; border-radius: 12px !important; font-weight: 800 !important; font-size: 18px !important; text-transform: uppercase !important; padding: 0 40px !important; height: 60px !important; text-decoration: none !important; box-shadow: 0 8px 20px rgba(33, 107, 233, 0.25) !important; transition: all 0.3s ease !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border: none !important; width: 100%; max-width: 400px; }
.fenix-btn-order-again-large:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 25px rgba(33, 107, 233, 0.35) !important; color: #fff !important; }
.fenix-order-again-area { display: none !important; }
.fenix-order-summary-card { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(33, 107, 233, 0.05) 0%, rgba(33, 107, 233, 0.12) 100%) !important; border: 2px solid var(--wp--preset--color--accent, #216be9) !important; border-radius: 16px !important; padding: 25px !important; }
.fenix-summary-total { font-size: 32px !important; font-weight: 800 !important; color: var(--wp--preset--color--accent, #216be9) !important; display: flex; align-items: center; gap: 15px; }
.fenix-summary-total span { color: var(--wp--preset--color--heading, #333) !important; font-size: 24px !important; }
@media (max-width: 768px) {
    .fenix-order-item-card { padding: 20px !important; }
    .fenix-item-header { flex-direction: column; text-align: center; gap: 15px; }
    .fenix-item-title { display: flex; flex-direction: column; align-items: center; gap: 8px; }
    .fenix-item-qty { margin-left: 0; display: inline-block; }
    .fenix-meta-row { text-align: center; align-items: center; justify-content: center !important; }
    .fenix-meta-label, .fenix-meta-value { text-align: center !important; }
    .fenix-btn-order-again-large { width: 100% !important; max-width: 100% !important; }
    .fenix-summary-total { flex-direction: column; font-size: 28px !important; }
}
html[scheme="dark"] .fenix-order-item-card, html[scheme="dark"] .fenix-order-summary-card { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: #444 !important; box-shadow: none !important; }
html[scheme="dark"] .fenix-item-title, html[scheme="dark"] .fenix-meta-label, html[scheme="dark"] .fenix-summary-total span, html[scheme="dark"] .fenix-meta-value { color: #fff !important; }
html[scheme="dark"] .fenix-item-meta-list { background: rgba(255,255,255,0.05) !important; border-color: rgba(255,255,255,0.05) !important; }
html[scheme="dark"] .fenix-item-header { border-bottom-color: #444 !important; }
@media (min-width: 992px) {
    .pt-header-container { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; flex-wrap: nowrap !important; width: 100% !important; position: relative !important; }
    .pt-header-container .pt-logo { flex: 0 0 auto !important; margin: 0 !important; }
    .blogsy-header-nav-wrapper { display: flex !important; justify-content: center !important; align-items: center !important; flex: 1 1 auto !important; width: auto !important; margin: 0 20px !important; transition: opacity 0.3s ease !important; }
    ul#menu-verhnee-menyu-1.blogsy-header-nav, .blogsy-header-nav { display: flex !important; justify-content: center !important; align-items: center !important; flex-wrap: nowrap !important; margin: 0 !important; }
    .blogsy-header-nav > li a { font-weight: 600; letter-spacing: 0.8px; font-size: 18px; line-height: 1.625; }
    .pt-header-widgets { display: flex !important; flex-direction: row !important; align-items: center !important; flex: 0 0 auto !important; gap: 12px !important; }
    .pt-header-widgets .pt-header-widget.pt-header-widget__button { padding-left: 0 !important; }
    .pt-header-widgets .pt-header-widget { margin: 0 !important; padding: 0 !important; }
    .pt-header-widget__search { order: 1 !important; }
    .fenix-lang-widget { order: 2 !important; }
    .pt-header-widget__darkmode { order: 3 !important; }
    .pt-header-widget__button { order: 4 !important; }
}
.popup-search-opener { display: flex !important; align-items: center !important; justify-content: center !important; width: 42px !important; height: 42px !important; border-radius: 50% !important; background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; color: var(--wp--preset--color--heading, #333) !important; cursor: pointer !important; transition: all 0.3s ease !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; }
.dark-mode-switcher { display: flex !important; align-items: center !important; justify-content: center !important; width: 76px !important; height: 42px !important; border-radius: 40px !important; background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; color: var(--wp--preset--color--heading, #333) !important; cursor: pointer !important; transition: all 0.3s ease !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; }
.popup-search-opener:hover, .dark-mode-switcher:hover { border-color: var(--wp--preset--color--accent, #216be9) !important; color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.15) !important; transform: translateY(-2px) !important; }
.popup-search-opener svg, .dark-mode-switcher svg { width: 20px !important; height: 20px !important; display: block !important; }
a.blogsy-btn.button[href*="my-account"], .footer a[href*="my-account"], .pt-header-widget__button .blogsy-btn { height: 42px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; border: none !important; border-radius: 40px !important; font-weight: 600 !important; font-size: 16px !important; padding: 0 20px !important; text-decoration: none !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; transition: all 0.3s ease !important; }
a.blogsy-btn.button[href*="my-account"]:hover, .footer a[href*="my-account"]:hover, .pt-header-widget__button .blogsy-btn:hover { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; }
.popup-search-wrapper { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; pointer-events: none !important; background: transparent !important; z-index: 100 !important; }
.popup-search { width: 100% !important; height: 100% !important; position: relative !important; }
.popup-search .popup-search-container { position: absolute !important; top: 50% !important; left: 46% !important; transform: translate(-50%, -50%) translateY(10px) !important; width: 100% !important; max-width: 750px !important; height: auto !important; background: transparent !important; padding: 0 !important; opacity: 0 !important; visibility: hidden !important; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; pointer-events: auto !important; }
.popup-search.open .popup-search-container { opacity: 1 !important; visibility: visible !important; transform: translate(-50%, -50%) translateY(0) !important; }
.popup-search-content, .popup-search-form, .blogsy-search-form { width: 100% !important; display: block !important; margin: 0 !important; }
input.search-field { text-align: center; width: 100% !important; height: 42px !important; padding: 0 25px !important; font-size: 16px !important; font-weight: 500 !important; background: var(--wp--preset--color--card-bg, #fff) !important; border: 2px solid var(--wp--preset--color--accent, #216be9) !important; border-radius: 40px !important; color: var(--wp--preset--color--heading, #333) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; transition: all 0.3s ease !important; box-sizing: border-box !important; }
input.search-field:focus { outline: none !important; box-shadow: 0 0 0 4px rgba(33, 107, 233, 0.15), 0 10px 30px rgba(0,0,0,0.1) !important; }
.popup-search-close, .blogsy-search-form button.submit { display: none !important; }
html[scheme="dark"] .popup-search-opener, html[scheme="dark"] .dark-mode-switcher { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: var(--pt-border-color, #444) !important; color: #767676 !important; }
html[scheme="dark"] .popup-search-opener:hover, html[scheme="dark"] .dark-mode-switcher:hover { border-color: var(--wp--preset--color--accent, #216be9) !important; color: var(--wp--preset--color--accent, #216be9) !important; }
html[scheme="dark"] input.search-field { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: var(--wp--preset--color--accent, #216be9) !important; color: #eee !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; }
p.has-header-actions-btn { display: flex !important; align-items: center !important; justify-content: space-between !important; text-align: left !important; flex-wrap: nowrap !important; gap: 20px !important; }
.fenix-order-status-text { flex: 1 1 auto; font-size: 16px !important; line-height: 1.5 !important; }
.fenix-order-status-text mark { background: transparent !important; color: var(--wp--preset--color--accent, #216be9) !important; font-weight: 800 !important; }
.fenix-order-header-actions { flex: 0 0 auto; gap: 15px; margin: 0 !important; }
.fenix-btn-order-again-header, .fenix-btn-pay-header { border-radius: 10px !important; font-weight: 700 !important; font-size: 15px !important; text-transform: uppercase !important; padding: 0 25px !important; height: 48px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; text-decoration: none !important; transition: all 0.3s ease !important; border: none !important; white-space: nowrap !important; }
.fenix-btn-order-again-header { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; }
.fenix-btn-order-again-header:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 20px rgba(33, 107, 233, 0.35) !important; color: #fff !important; }
.fenix-btn-pay-header { background: linear-gradient(135deg,#10b981 0,#059669 100%) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25) !important; }
.fenix-btn-pay-header:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 20px rgba(76, 175, 80, 0.35) !important; color: #fff !important; }
@media (max-width: 768px) {
    p.has-header-actions-btn { flex-direction: column !important; justify-content: center !important; text-align: center !important; }
    .fenix-order-header-actions { width: 100% !important; margin-top: 5px !important; flex-direction: column; }
    .fenix-btn-order-again-header, .fenix-btn-pay-header { width: 100% !important; height: 54px !important; font-size: 16px !important; }
}
@media (min-width: 992px) {
    .pt-header .pt-container, .site-header .pt-container { max-width: 1400px !important; width: 100% !important; padding-left: 20px !important; padding-right: 20px !important; }
    .blogsy-header-nav-wrapper { margin: 0 10px !important; }
    .pt-header-widgets .pt-header-widget { margin: 0 !important; padding: 0 !important; }
    .pt-header-widgets .pt-header-widget.pt-header-widget__button { padding-left: 0 !important; }
    .pt-header-widget__search { order: 1 !important; }
    .fenix-lang-widget { order: 2 !important; }
    .pt-header-widget__darkmode { order: 3 !important; }
    .pt-header-widget__button { order: 4 !important; }
}
.fenix-custom-lang-btn { display: flex !important; align-items: center !important; justify-content: center !important; width: 42px !important; height: 42px !important; border-radius: 50% !important; background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; color: var(--wp--preset--color--heading, #333) !important; cursor: pointer !important; transition: all 0.3s ease !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; }
.fenix-custom-lang-btn .lang-text { font-weight: 800 !important; font-size: 14px !important; line-height: 1 !important; font-family: inherit !important; }
.fenix-custom-lang-btn:hover { border-color: var(--wp--preset--color--accent, #216be9) !important; color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.15) !important; transform: translateY(-2px) !important; }
html[scheme="dark"] .fenix-custom-lang-btn { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: var(--pt-border-color, #444) !important; color: #767676 !important; }
html[scheme="dark"] .fenix-custom-lang-btn:hover { border-color: var(--wp--preset--color--accent, #216be9) !important; color: var(--wp--preset--color--accent, #216be9) !important; }
.pt-header-widgets { display: flex !important; align-items: center !important; flex-direction: row !important; gap: 12px !important; }
.pt-header-widgets > .pt-header-widget { margin: 0 !important; padding: 0 !important; flex: 0 0 auto !important; }
.pt-header-widgets .pt-header-widget.pt-header-widget__button { padding-left: 0 !important; }
.pt-header-widget__search { order: 1 !important; }
.fenix-lang-widget { order: 2 !important; margin: 0 !important; }
.pt-header-widget__darkmode { order: 3 !important; }
.pt-header-widget__button { order: 4 !important; }
@media (max-width: 768px) {
    a.fenix-custom-lang-btn, button.fenix-custom-lang-btn.fenix-lang-current { width: 38px !important; height: 38px !important; }
    a.fenix-custom-lang-btn span, button.fenix-custom-lang-btn.fenix-lang-current .lang-text { font-size: 13px !important; }
}
button.fenix-custom-lang-btn.fenix-lang-current { padding: 0 !important; font: inherit !important; }
.fenix-lang-dropdown .fenix-lang-option { width: 100% !important; height: auto !important; min-height: 42px !important; border-radius: 8px !important; border: none !important; box-shadow: none !important; transform: none !important; display: flex !important; }
.fenix-lang-dropdown .fenix-lang-option:hover { transform: none !important; box-shadow: none !important; }
.fenix-lang-switcher { position: relative !important; }
button.fenix-custom-lang-btn.fenix-lang-current, button.fenix-custom-lang-btn.fenix-lang-current .lang-text, button.fenix-custom-lang-btn.fenix-lang-current font, button.fenix-custom-lang-btn.fenix-lang-current span { color: var(--wp--preset--color--heading, #333) !important; }
button.fenix-custom-lang-btn.fenix-lang-current:hover { border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.15) !important; transform: translateY(-2px) !important; }
button.fenix-custom-lang-btn.fenix-lang-current:hover, button.fenix-custom-lang-btn.fenix-lang-current:hover .lang-text { color: var(--wp--preset--color--heading, #333) !important; }
html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current, html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current .lang-text, html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current font, html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current span, html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current:hover, html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current:hover .lang-text, html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current:hover font, html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current:hover span { color: #767676 !important; }
button.fenix-custom-lang-btn.fenix-lang-current .lang-text { font-weight: 800 !important; font-size: 14px !important; line-height: 1 !important; }
.fenix-lang-dropdown { position: absolute !important; top: calc(100% + 8px) !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 2px !important; padding: 6px !important; min-width: 210px !important; max-width: 280px !important; max-height: min(320px, 60vh) !important; overflow-x: hidden !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: thin !important; scrollbar-color: var(--wp--preset--color--accent, #216be9) transparent !important; z-index: 99999 !important; background: var(--wp--preset--color--card-bg, #fff) !important; border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; border-radius: 12px !important; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important; }
.fenix-lang-dropdown::-webkit-scrollbar { width: 6px !important; }
.fenix-lang-dropdown::-webkit-scrollbar-thumb { background: var(--wp--preset--color--accent, #216be9) !important; border-radius: 6px !important; }
.fenix-lang-dropdown[hidden] { display: none !important; }
.fenix-lang-option { display: flex !important; align-items: center !important; gap: 10px !important; width: 100% !important; min-height: 42px !important; padding: 8px 12px !important; border: none !important; border-radius: 8px !important; background: transparent !important; color: var(--wp--preset--color--heading, #333) !important; font: inherit !important; text-align: left !important; cursor: pointer !important; transition: background 0.2s ease, color 0.2s ease !important; box-sizing: border-box !important; }
.fenix-lang-option:hover { background: rgba(33, 107, 233, 0.08) !important; color: var(--wp--preset--color--accent, #216be9) !important; }
.fenix-lang-option.is-active { background: rgba(33, 107, 233, 0.12) !important; color: var(--wp--preset--color--accent, #216be9) !important; }
.fenix-lang-flag { flex-shrink: 0 !important; width: 22px !important; height: 22px !important; border-radius: 50% !important; object-fit: cover !important; box-shadow: 0 0 0 1px var(--wp--preset--color--border-color, #eaeaea) !important; }
.fenix-lang-name { font-size: 14px !important; font-weight: 600 !important; line-height: 1.25 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
html[scheme="dark"] .fenix-lang-dropdown { background: var(--wp--preset--color--card-bg, #272c31) !important; border-color: var(--wp--preset--color--border-color, #444) !important; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45) !important; }
html[scheme="dark"] .fenix-lang-option { color: #e0e0e0 !important; }
html[scheme="dark"] .fenix-lang-option:hover, html[scheme="dark"] .fenix-lang-option.is-active { color: var(--wp--preset--color--accent, #216be9) !important; }
@media (max-width: 768px) {
    .fenix-lang-dropdown { min-width: 190px !important; max-height: min(260px, 50vh) !important; }
    button.fenix-custom-lang-btn.fenix-lang-current .lang-text { font-size: 13px !important; }
}
.gt_switcher_wrapper, #gt_float_wrapper, .gtranslate_wrapper:not(.fenix-lang-switcher-wrap .gtranslate_wrapper) { position: fixed !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; z-index: -1 !important; }
html.fenix-hard-lock .fenix-lang-switcher, html.fenix-hard-lock .fenix-lang-switcher .fenix-lang-dropdown, html.fenix-hard-lock .fenix-lang-switcher .fenix-lang-option, html.fenix-hard-lock .fenix-lang-switcher .fenix-lang-option * { pointer-events: auto !important; }
html.fenix-hard-lock .fenix-lang-switcher .fenix-lang-flag { pointer-events: none !important; }
.select2-container--default { width: 100% !important; margin-bottom: 15px !important; }
.select2-container--default .select2-selection--single { height: 54px !important; background: var(--wp--preset--color--card-bg, #fff) !important; border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; border-radius: 10px !important; display: flex !important; align-items: center !important; padding: 0 15px !important; transition: all 0.3s ease !important; outline: none !important; }
.select2-container--open .select2-selection--single, .select2-container--focus .select2-selection--single { border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 0 0 4px rgba(33, 107, 233, 0.15) !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--wp--preset--color--heading, #333) !important; font-size: 14px !important; font-weight: 600 !important; text-transform: uppercase !important; padding-left: 0 !important; line-height: normal !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px !important; right: 15px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: #666 transparent transparent transparent !important; border-width: 6px 5px 0 5px !important; }
.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent var(--wp--preset--color--accent, #216be9) transparent !important; border-width: 0 5px 6px 5px !important; }
.select2-dropdown { background: var(--wp--preset--color--card-bg, #fff) !important; border: 2px solid var(--wp--preset--color--accent, #216be9) !important; border-radius: 12px !important; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important; overflow: hidden !important; margin-top: 5px !important; z-index: 9999 !important; }
.select2-results__option { padding: 15px 20px !important; font-size: 14px !important; font-weight: 600 !important; text-transform: uppercase !important; color: var(--wp--preset--color--heading, #333) !important; transition: all 0.2s ease !important; border-bottom: 1px solid var(--wp--preset--color--border-color, #f0f0f0) !important; }
.select2-results__option:last-child { border-bottom: none !important; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; padding-left: 25px !important; }
.select2-container--default .select2-results__option[aria-selected="true"] { background: rgba(33, 107, 233, 0.1) !important; color: var(--wp--preset--color--accent, #216be9) !important; }
html[scheme="dark"] .select2-container--default .select2-selection--single, html[scheme="dark"] .select2-dropdown { background: var(--wp--preset--color--card-bg, #272c31) !important; border-color: var(--wp--preset--color--border-color, #444) !important; }
html[scheme="dark"] .select2-container--open .select2-selection--single, html[scheme="dark"] .select2-dropdown { border-color: var(--wp--preset--color--accent, #216be9) !important; }
html[scheme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered, html[scheme="dark"] .select2-results__option { color: #eee !important; }
html[scheme="dark"] .select2-results__option { border-bottom-color: #333 !important; }
html[scheme="dark"] .select2-container--default .select2-results__option[aria-selected="true"] { background: rgba(255, 255, 255, 0.05) !important; }
/* Выпадающий список вариаций (любой атрибут) — ровно 5 полных строк; меньше — по содержимому, 6+ со скроллом.
   Фиксируем высоту строки: line-height 20 + padding 15*2 + border 1 = 51px → 5*51 = 255px. */
.select2-results__option { line-height: 20px !important; }
.select2-results__options { max-height: 255px !important; }
.page-404 { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; margin: 60px auto !important; padding: 60px 30px !important; background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 1px solid var(--wp--preset--color--border-color, #eaeaea) !important; border-radius: 16px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; text-align: center !important; max-width: 650px !important; width: 100% !important; box-sizing: border-box !important; }
.page-404 h1 { font-size: 140px !important; font-weight: 900 !important; line-height: 1 !important; margin: 0 0 20px 0 !important; background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; text-shadow: 0px 15px 30px rgba(33, 107, 233, 0.2) !important; user-select: none !important; }
.page-404 p { font-size: 18px !important; line-height: 1.6 !important; color: var(--wp--preset--color--body-color, #555) !important; margin: 0 !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 30px !important; }
.page-404 p a { background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; height: 54px !important; padding: 0 40px !important; border-radius: 10px !important; font-weight: 700 !important; font-size: 16px !important; text-transform: uppercase !important; border: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; box-shadow: 0 4px 12px rgba(33, 107, 233, 0.25) !important; text-decoration: none !important; transition: all 0.3s ease !important; min-width: 280px !important; }
.page-404 p a:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; color: #fff !important; }
@media (max-width: 768px) {
    .page-404 { margin: 30px 15px !important; padding: 40px 20px !important; max-width: calc(100% - 30px) !important; }
    .page-404 h1 { font-size: 100px !important; }
    .page-404 p { font-size: 16px !important; }
    .page-404 p a { width: 100% !important; min-width: 100% !important; }
}
html[scheme="dark"] .page-404 { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: var(--pt-border-color, #444) !important; box-shadow: none !important; }
html[scheme="dark"] .page-404 p { color: var(--wp--preset--color--body-color, #ccc) !important; }
.woocommerce-order-received form.woocommerce-form-login { max-width: 500px !important; margin: 40px auto !important; padding: 40px !important; background: var(--wp--preset--color--card-bg, #ffffff) !important; border: 1px solid var(--pt-border-color, #e9e8ff) !important; border-radius: 16px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; gap: 15px !important; }
.woocommerce-order-received form.woocommerce-form-login::before { content: "Вход в аккаунт"; display: block; font-size: 24px; font-weight: 800; text-align: center; text-transform: uppercase; color: var(--wp--preset--color--heading, #333); margin-bottom: 10px; }
.woocommerce-order-received form.woocommerce-form-login p.form-row { margin: 0 !important; padding: 0 !important; width: 100% !important; }
.woocommerce-order-received form.woocommerce-form-login label:not(.woocommerce-form__label-for-checkbox) { font-size: 14px !important; font-weight: 700 !important; text-transform: uppercase !important; margin-bottom: 8px !important; display: block !important; color: var(--wp--preset--color--heading, #333) !important; }
.woocommerce-order-received form.woocommerce-form-login input.input-text { width: 100% !important; height: 54px !important; padding: 0 15px !important; border-radius: 10px !important; border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important; background: var(--wp--preset--color--card-bg, #fff) !important; font-size: 16px !important; color: var(--wp--preset--color--heading, #333) !important; transition: all 0.3s ease !important; box-sizing: border-box !important; }
.woocommerce-order-received form.woocommerce-form-login input.input-text:focus { border-color: var(--wp--preset--color--accent, #216be9) !important; box-shadow: 0 0 0 4px rgba(33, 107, 233, 0.1) !important; outline: none !important; }
.woocommerce-order-received form.woocommerce-form-login p.form-row:has(button[type="submit"]) { display: flex !important; flex-direction: column !important; gap: 15px !important; margin-top: 5px !important; }
.woocommerce-order-received form.woocommerce-form-login label.woocommerce-form__label-for-checkbox { display: flex !important; align-items: center !important; gap: 10px !important; font-size: 14px !important; font-weight: 600 !important; color: var(--wp--preset--color--body-color, #555) !important; cursor: pointer !important; margin: 0 !important; }
.woocommerce-order-received form.woocommerce-form-login input[type="checkbox"] { width: 18px !important; height: 18px !important; cursor: pointer !important; margin: 0 !important; }
.woocommerce-order-received form.woocommerce-form-login button.button { width: 100% !important; height: 54px !important; background: linear-gradient(135deg, var(--wp--preset--color--accent, #216be9) 0%, #1a5cd8 100%) !important; color: #fff !important; font-size: 16px !important; font-weight: 700 !important; text-transform: uppercase !important; border: none !important; border-radius: 10px !important; cursor: pointer !important; box-shadow: 0 4px 15px rgba(33, 107, 233, 0.3) !important; transition: all 0.3s ease !important; margin: 0 !important; }
.woocommerce-order-received form.woocommerce-form-login button.button:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; }
.woocommerce-order-received form.woocommerce-form-login .lost_password { text-align: center !important; margin: 10px 0 0 0 !important; padding: 0 !important; }
.woocommerce-order-received form.woocommerce-form-login .lost_password a { font-size: 14px !important; color: var(--wp--preset--color--body-color, #666) !important; text-decoration: underline !important; font-weight: 600 !important; transition: color 0.3s ease !important; }
.woocommerce-order-received form.woocommerce-form-login .lost_password a:hover { color: var(--wp--preset--color--accent, #216be9) !important; }
.woocommerce-order-received form.woocommerce-form-login .password-input { position: relative !important; display: block !important; width: 100% !important; }
.woocommerce-order-received form.woocommerce-form-login .show-password-input { position: absolute !important; right: 15px !important; top: 50% !important; transform: translateY(-50%) !important; width: 24px !important; height: 24px !important; background: none !important; border: none !important; opacity: 0.6 !important; cursor: pointer !important; padding: 0 !important; margin: 0 !important; }
.woocommerce-order-received form.woocommerce-form-login .show-password-input:hover { opacity: 1 !important; }
@media (max-width: 768px) { .woocommerce-order-received form.woocommerce-form-login { padding: 30px 20px !important; margin: 20px 15px !important; width: auto !important; max-width: 100% !important; } }
html[scheme="dark"] .woocommerce-order-received form.woocommerce-form-login { background: var(--wp--preset--color--card-bg, #2a2a2a) !important; border-color: var(--pt-border-color, #444) !important; box-shadow: none !important; }
html[scheme="dark"] .woocommerce-order-received form.woocommerce-form-login::before, html[scheme="dark"] .woocommerce-order-received form.woocommerce-form-login label:not(.woocommerce-form__label-for-checkbox) { color: var(--wp--preset--color--heading, #eee) !important; }
html[scheme="dark"] .woocommerce-order-received form.woocommerce-form-login input.input-text { background: #333 !important; border-color: #444 !important; color: #eee !important; }
html[scheme="dark"] .woocommerce-order-received form.woocommerce-form-login input.input-text:focus { background: #383838 !important; border-color: var(--wp--preset--color--accent, #216be9) !important; }
html[scheme="dark"] .woocommerce-order-received form.woocommerce-form-login label.woocommerce-form__label-for-checkbox, html[scheme="dark"] .woocommerce-order-received form.woocommerce-form-login .lost_password a { color: #aaa !important; }
html[scheme="dark"] .woocommerce-order-received form.woocommerce-form-login .lost_password a:hover { color: var(--wp--preset--color--accent, #7aa7f2) !important; }
html[scheme="dark"] .woocommerce-order-received form.woocommerce-form-login .show-password-input::before { filter: invert(1) brightness(2); }
form.variations_form.cart:has(.stock.out-of-stock) { display: block !important; width: 100% !important; margin: 20px 0 !important; padding: 0 !important; background: transparent !important; border: none !important; box-shadow: none !important; }
form.variations_form .stock.out-of-stock { display: flex !important; align-items: center !important; justify-content: center !important; margin: 0 !important; padding: 20px !important; background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(220, 53, 69, 0.1) 100%) !important; border: 2px solid #dc3545 !important; border-radius: 12px !important; font-size: 18px !important; font-weight: 700 !important; color: #dc3545 !important; text-transform: uppercase !important; text-align: center !important; width: 100% !important; box-sizing: border-box !important; }
form.variations_form .stock.out-of-stock::before { margin-right: 12px !important; font-size: 22px !important; display: inline-block !important; }
@media (max-width: 768px) { form.variations_form .stock.out-of-stock { font-size: 16px !important; padding: 15px !important; flex-direction: column !important; } form.variations_form .stock.out-of-stock::before { margin-right: 0 !important; margin-bottom: 8px !important; font-size: 26px !important; } }
html[scheme="dark"] form.variations_form .stock.out-of-stock { background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.2) 100%) !important; border-color: rgba(220, 53, 69, 0.5) !important; }
#fenix-toast-container .woocommerce-message { background: #e6f0ff !important; background-color: #e6f0ff !important; border-color: #216be9 !important; color: var(--wp--preset--color--heading, #333) !important; justify-content: center !important; }
#fenix-toast-container .woocommerce-message > span { flex: 1 1 auto !important; text-align: center !important; width: 100% !important; }
#fenix-toast-container .woocommerce-message .woocommerce-Price-amount { font-size: 18px !important; font-weight: 800 !important; color: var(--wp--preset--color--accent, #216be9) !important; }
html[scheme="dark"] #fenix-toast-container .woocommerce-message { background: #1e2a4a !important; background-color: #1e2a4a !important; border-color: #216be9 !important; color: #ffffff !important; }
html[scheme="dark"] #fenix-toast-container .woocommerce-message .woocommerce-Price-amount { color: #7aa7f2 !important; }

/* Центрирование всех стандартных уведомлений WooCommerce (не только toast). */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce form .woocommerce-error,
.woocommerce form .woocommerce-message,
.woocommerce form .woocommerce-info {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.woocommerce-notices-wrapper .woocommerce-error li,
.woocommerce-notices-wrapper .woocommerce-message li,
.woocommerce-notices-wrapper .woocommerce-info li,
.woocommerce form .woocommerce-error li,
.woocommerce form .woocommerce-message li,
.woocommerce form .woocommerce-info li {
    text-align: center !important;
}

/* Меню выбора страны валют: скрываем боковую полосу прокрутки (скролл остаётся) */
.fenix-ticker-country-pop {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    overscroll-behavior: contain !important;
}
.fenix-ticker-country-pop::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* ===== Blogsy ticker ===== */
#blogsy-ticker .blogsy-news-ticker-content-wrapper.animation-marquee .blogsy-news-ticker-items {
    animation-duration: 40s !important;
}
#blogsy-ticker .fenix-news-ticker-title-link {
    color: inherit !important;
    text-decoration: none !important;
}
#blogsy-ticker .fenix-news-ticker-title-link:hover {
    text-decoration: underline !important;
}
@media (max-width: 768px) {
    #blogsy-ticker .blogsy-news-ticker-content-wrapper.animation-marquee .blogsy-news-ticker-items {
        animation-duration: 30s !important;
    }
    /* Мобильные: прячем бегущую строку (новостные пункты),
       оставляем по центру только курсы + кнопку «Новости» */
    #blogsy-ticker .blogsy-news-ticker-content-wrapper {
        display: none !important;
    }
    #blogsy-ticker .blogsy-news-ticker-wrapper {
        justify-content: center !important;
    }
    #blogsy-ticker .blogsy-news-ticker-title-wrapper {
        width: fit-content !important;
        max-width: calc(100vw - 24px) !important;
        min-width: 220px !important; /* не уже .fenix-ticker-country-pop */
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        flex-wrap: nowrap !important;
        box-sizing: border-box !important;
    }
    #blogsy-ticker .fenix-ticker-rates,
    #blogsy-ticker .fenix-ticker-country-wrap {
        flex-shrink: 0 !important;
    }
    #blogsy-ticker .fenix-news-ticker-title-link {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
}
.single_variation_wrap .woocommerce-variation-price .price .woocommerce-Price-amount,.product-type-simple .price .woocommerce-Price-amount{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;display:inline-block!important;}.single_variation_wrap .woocommerce-variation-price{overflow:hidden!important;}
.woocommerce-ResetPassword.lost_reset_password{display:flex!important;flex-direction:column!important;gap:14px!important;}.woocommerce-ResetPassword.lost_reset_password>p:first-of-type{display:none!important;}.lost_reset_password .form-row,.lost_reset_password .form-row-first,.lost_reset_password .form-row-last{width:100%!important;float:none!important;margin:0!important;padding:0!important;}.lost_reset_password p.form-row:has(button[type="submit"]){margin-top:0!important;}
.fenix-item-price{display:flex!important;align-items:center!important;justify-content:flex-end!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;flex-shrink:1!important;min-width:0!important;}.fenix-item-price .woocommerce-Price-amount{display:inline-flex!important;align-items:center!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;}@media(max-width:768px){.fenix-item-price{justify-content:center!important;}}
@media(min-width:769px){.wp-block-woocommerce-all-reviews .wc-block-review-list-item__meta{display:flex;flex-direction:column;align-items:flex-start}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__product{order:1}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__rating{order:2;margin:8px 0}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__author{order:3}}@media(max-width:768px){.wp-block-woocommerce-all-reviews .wc-block-review-list-item__meta{display:flex;flex-direction:column;align-items:center}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__product{order:1}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__rating{order:2;margin:8px 0}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__author{order:3}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__item{text-align:center;display:flex;flex-direction:column;align-items:center}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__product,.wp-block-woocommerce-all-reviews .wc-block-review-list-item__author{width:100%}}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__text{margin-bottom:4px!important}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__author{margin-top:0!important}
.wp-block-woocommerce-all-reviews .wc-block-review-list-item__text,.wp-block-woocommerce-all-reviews .wc-block-components-review-list-item__text{margin-bottom:0!important;padding-bottom:0!important}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__author,.wp-block-woocommerce-all-reviews .wc-block-components-review-list-item__author{margin-top:2px!important;padding-top:0!important}.wp-block-woocommerce-all-reviews .wc-block-review-list-item__info{margin-bottom:0!important;padding-bottom:0!important}
.wp-block-woocommerce-all-reviews .wc-block-review-list-item__author,.wp-block-woocommerce-all-reviews .wc-block-components-review-list-item__author{font-weight:bold!important;text-transform:uppercase!important}
@media (max-width: 768px) { body.woocommerce-orders .woocommerce-MyAccount-content:not(:has(.woocommerce-orders-table)) { display: none !important; } }
@media(max-width:768px){#blogsy-footer-widgets ul{padding-left:0!important;padding-right:0!important;text-align:center!important}#blogsy-footer-widgets .wc-block-review-list-item__item{margin:0 auto!important;display:flex!important;flex-direction:column!important;align-items:center!important}}
.woocommerce-table--order-downloads thead{display:none!important;}section.woocommerce-order-downloads,table.woocommerce-table--order-downloads{display:block!important;width:100%!important;background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important;}table.woocommerce-table--order-downloads tbody{display:flex!important;flex-direction:column!important;gap:20px!important;width:100%!important;}table.woocommerce-table--order-downloads tbody tr{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;margin:0!important;padding:20px 25px!important;background:var(--wp--preset--color--card-bg,#fff)!important;border:2px solid var(--wp--preset--color--border-color,#eaeaea)!important;border-radius:16px!important;width:100%!important;box-sizing:border-box!important;box-shadow:0 4px 20px rgba(0,0,0,0.05)!important;transition:transform 0.3s ease,box-shadow 0.3s ease,border-color 0.3s ease!important;}table.woocommerce-table--order-downloads tbody tr:hover{transform:translateY(-5px)!important;box-shadow:0 8px 25px rgba(0,0,0,0.15)!important;border-color:var(--wp--preset--color--accent,#216be9)!important;}table.woocommerce-table--order-downloads td.download-product{flex:1 1 auto!important;text-align:left!important;font-size:18px!important;font-weight:700!important;border:none!important;padding:0!important;}table.woocommerce-table--order-downloads td.download-product a{color:var(--wp--preset--color--heading,#333)!important;text-decoration:none!important;transition:color 0.3s ease!important;display:block!important;width:100%!important;}table.woocommerce-table--order-downloads td.download-product a:hover{color:var(--wp--preset--color--accent,#216be9)!important;}table.woocommerce-table--order-downloads td.download-file{flex:0 0 auto!important;text-align:right!important;border:none!important;padding:0!important;}table.woocommerce-table--order-downloads td.download-file .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,var(--wp--preset--color--accent,#216be9) 0%,#1a5cd8 100%)!important;color:#fff!important;border:none!important;border-radius:10px!important;font-weight:700!important;font-size:16px!important;padding:0 25px!important;height:42px!important;line-height:normal!important;box-shadow:0 4px 12px rgba(33,107,233,0.25)!important;text-decoration:none!important;min-width:160px!important;transition:all 0.3s ease!important;text-transform:uppercase!important;box-sizing:border-box!important;}table.woocommerce-table--order-downloads td.download-file .button:hover{transform:translateY(-3px)!important;box-shadow:0 8px 20px rgba(33,107,233,0.35)!important;color:#fff!important;}
@media (max-width: 768px) {
    .woocommerce-order-details .shop_table tbody tr, .woocommerce-order-details .shop_table tfoot tr { display: flex !important; flex-direction: column !important; align-items: flex-start !important; padding: 15px 0 !important; }
    .woocommerce-order-details .shop_table td, .woocommerce-order-details .shop_table th { padding: 0px 20px !important; text-align: center !important; font-size: 20px; width: 100% !important; }
    .woocommerce-order-details .shop_table .product-name { text-align: center !important; width: 100% !important; display: block !important; }
    .shop_table tfoot tr.order-total td { flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; padding: 25px 0 !important; width: 100% !important; }
    .shop_table tfoot tr.order-total .woocommerce-Price-amount { display: block !important; margin: 0 auto !important; }
    .woocommerce-order-downloads .shop_table td::before{display:none!important;content:none!important;}table.woocommerce-table--order-downloads tbody tr{flex-direction:column!important;padding:25px 20px!important;text-align:center!important;align-items:center!important;justify-content:center!important;}table.woocommerce-table--order-downloads td{display:flex!important;flex-direction:column!important;width:100%!important;text-align:center!important;align-items:center!important;justify-content:center!important;padding:0!important;border:none!important;box-sizing:border-box!important;}table.woocommerce-table--order-downloads td.download-product{margin-bottom:20px!important;font-size:18px!important;box-sizing:border-box!important;word-break:break-word!important;}table.woocommerce-table--order-downloads td.download-product a{text-align:center!important;display:block!important;width:100%!important;box-sizing:border-box!important;}table.woocommerce-table--order-downloads td.download-file{display:flex!important;width:100%!important;justify-content:center!important;align-items:center!important;padding:0!important;box-sizing:border-box!important;}table.woocommerce-table--order-downloads td.download-file .button{width:100%!important;max-width:280px!important;margin:0 auto!important;height:52px!important;box-sizing:border-box!important;white-space:nowrap!important;display:inline-flex!important;}
}
@media (min-width: 769px) {
    html body table.woocommerce-orders-table tbody tr { display: grid !important; grid-template-columns: max-content 160px 1fr auto !important; gap: 25px !important; align-items: center !important; padding: 20px !important; }
    html body table.woocommerce-orders-table tbody td, html body table.woocommerce-orders-table tbody th { display: flex !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
    html body table.woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number { justify-content: flex-start !important; align-items: center !important; }
    html body table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-status { justify-content: center !important; align-items: center !important; width: max-content !important; justify-self: center !important; margin: 0 auto !important; padding: 8px 18px !important; }
    html body table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-products { justify-content: flex-start !important; align-items: center !important; width: 100% !important; min-width: 100% !important; text-align: left !important; white-space: normal !important; word-break: normal !important; overflow-wrap: break-word !important; }
    html body table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-actions { flex-direction: column !important; align-items: flex-end !important; justify-content: center !important; gap: 10px !important; }
}
html body .woocommerce-orders-table__cell-order-actions a.button.view:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(33, 107, 233, 0.4) !important; }
html body .woocommerce-orders-table__cell-order-actions a.button.pay:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4) !important; }
html[scheme="dark"] body .woocommerce-orders-table__cell-order-actions a.button.view:hover { box-shadow: 0 8px 20px rgba(33, 107, 233, 0.6) !important; }
html[scheme="dark"] body .woocommerce-orders-table__cell-order-actions a.button.pay:hover { box-shadow: 0 8px 20px rgba(46, 125, 50, 0.6) !important; }
html[scheme="dark"] table.woocommerce-table--order-downloads tbody tr{background-color:var(--wp--preset--color--card-bg,#2a2a2a)!important;border-color:var(--wp--preset--color--border-color,#444)!important;}html[scheme="dark"] table.woocommerce-table--order-downloads td.download-product a{color:var(--wp--preset--color--heading,#eee)!important;}html[scheme="dark"] table.woocommerce-table--order-downloads td.download-product a:hover{color:var(--wp--preset--color--accent,#7aa7f2)!important;}html[scheme="dark"] table.woocommerce-table--order-downloads td.download-file .button{box-shadow:0 4px 12px rgba(0,0,0,0.5)!important;}

/* ======================================================================
   ЕДИНЫЕ МОБИЛЬНЫЕ ОТСТУПЫ/ИНТЕРВАЛЫ ДЛЯ ВСЕХ СТРАНИЦ
   ====================================================================== */
@media (max-width: 768px) {
    :root {
        --fenix-mobile-gutter: 12px;
        --fenix-mobile-gap: 16px;
        --fenix-mobile-header-gap: 24px;
        --fenix-mobile-footer-gap: 24px;
    }

    html body #main.main-wrapper {
        padding-top: var(--fenix-mobile-header-gap) !important;
        padding-bottom: var(--fenix-mobile-footer-gap) !important;
    }

    html body .pt-container,
    html body .content-container,
    html body .single-content-inner {
        box-sizing: border-box !important;
    }

    html body .pt-container {
        padding-left: var(--fenix-mobile-gutter) !important;
        padding-right: var(--fenix-mobile-gutter) !important;
    }

    html body .content-container {
        padding-left: var(--fenix-mobile-gutter) !important;
        padding-right: var(--fenix-mobile-gutter) !important;
    }

    html body article.single-content.card-layout-w .single-content-inner {
        padding-left: var(--fenix-mobile-gutter) !important;
        padding-right: var(--fenix-mobile-gutter) !important;
    }

    html body .content-wrapper,
    html body .single-content-inner,
    html body .woocommerce-MyAccount-content,
    html body .woocommerce-MyAccount-navigation,
    html body .woocommerce-checkout #order_review,
    html body .fenix-success-order-wrapper,
    html body .fenix-failed-order-wrapper,
    html body .fenix-pending-order-wrapper {
        margin-bottom: var(--fenix-mobile-gap) !important;
    }

    /* Личный кабинет: увеличиваем зазор после панели навигации */
    body.woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 28px !important;
    }
}
.woocommerce-MyAccount-content h2:has(+ .woocommerce-OrderUpdates){display:none!important}ol.woocommerce-OrderUpdates.commentlist.notes{list-style:none!important;padding:0!important;margin:0 0 40px 0!important;display:flex!important;flex-direction:column!important;gap:20px!important}ol.woocommerce-OrderUpdates li.woocommerce-OrderUpdate{background:var(--wp--preset--color--card-bg,#ffffff)!important;border:1px solid var(--wp--preset--color--border-color,#eaeaea)!important;border-radius:12px!important;padding:0!important;margin:0!important;box-shadow:0 4px 20px rgba(0,0,0,0.03)!important;display:block!important;width:100%!important;overflow:hidden!important;box-sizing:border-box!important}.woocommerce-OrderUpdate-inner,.woocommerce-OrderUpdate-text{width:100%!important;box-sizing:border-box!important;display:block!important}.woocommerce-OrderUpdate-text.comment-text{position:relative!important;padding-top:60px!important}.woocommerce-OrderUpdate-text.comment-text::before{content:"Примечание";position:absolute!important;top:0!important;left:0!important;width:100%!important;height:60px!important;background:rgba(33,107,233,0.03)!important;border-bottom:1px solid rgba(0,0,0,0.05)!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:0 25px!important;font-size:17px!important;font-weight:800!important;color:var(--wp--preset--color--accent,#216be9)!important;text-transform:uppercase!important;letter-spacing:0.5px!important;box-sizing:border-box!important;z-index:1!important}.woocommerce-OrderUpdate-meta.meta{position:absolute!important;top:15px!important;right:25px!important;z-index:2!important;font-size:13px!important;color:#777!important;font-weight:600!important;background:rgba(0,0,0,0.05)!important;padding:5px 12px!important;border-radius:6px!important;margin:0!important;line-height:1.5!important;white-space:nowrap!important}.woocommerce-OrderUpdate-description.description{padding:25px!important;box-sizing:border-box!important;width:100%!important}.woocommerce-OrderUpdate-description.description p{font-size:16px!important;line-height:1.7!important;color:var(--wp--preset--color--body-color,#333)!important;margin:0!important}ol.woocommerce-OrderUpdates .clear{display:none!important}@media(max-width:768px){.woocommerce-OrderUpdate-text.comment-text{padding-top:90px!important}.woocommerce-OrderUpdate-text.comment-text::before{height:90px!important;padding:15px!important;align-items:flex-start!important;justify-content:center!important}.woocommerce-OrderUpdate-meta.meta{top:45px!important;right:auto!important;left:50%!important;transform:translateX(-50%)!important}.woocommerce-OrderUpdate-description.description{padding:15px!important;text-align:center!important}}html[scheme="dark"] ol.woocommerce-OrderUpdates li.woocommerce-OrderUpdate{background:var(--wp--preset--color--card-bg,#2a2a2a)!important;border-color:#444!important;box-shadow:none!important}html[scheme="dark"] .woocommerce-OrderUpdate-text.comment-text::before{background:rgba(255,255,255,0.03)!important;border-bottom-color:#444!important;color:#7aa7f2!important}html[scheme="dark"] .woocommerce-OrderUpdate-meta.meta{background:rgba(255,255,255,0.05)!important;color:#ccc!important}html[scheme="dark"] .woocommerce-OrderUpdate-description.description p{color:#eee!important}

/* Синхронизация с custom-woocommerce.css — гость ЛК, согласие у входа/регистрации (высокая специфичность) */
/* ---------------------------------------------------------------------
   Гость на страницах ЛК (в т.ч. /my-account/orders/): колонка .u-column2
   скрыта — согласие фактически только в .fenix-inline-legal-block у формы
   входа. Дублируем оформление как на чекауте с повышенной специфичностью.
   --------------------------------------------------------------------- */
body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper {
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    text-align: left !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: var(--wp--preset--color--body-color, #444) !important;
}
body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper .validate-required,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required {
    margin: 0 !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, rgba(33, 107, 233, 0.05) 0%, rgba(33, 107, 233, 0.1) 100%) !important;
    border: 2px solid var(--wp--preset--color--border-color, #e5e5e5) !important;
    border-radius: 10px !important;
}
body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required label.checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    cursor: pointer !important;
    text-align: left !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper .validate-required input[type="checkbox"],
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required input[type="checkbox"] {
    margin: 3px 0 0 0 !important;
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
}
body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text {
    flex: 1 !important;
    min-width: 0 !important;
    background: transparent !important;
}
body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a {
    color: var(--wp--preset--color--accent, #216be9) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
    -webkit-box-decoration-break: slice !important;
    box-decoration-break: slice !important;
}
body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper abbr.required,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper abbr.required {
    text-decoration: none !important;
    border-bottom: none !important;
    cursor: help !important;
    color: inherit !important;
    font-weight: 700 !important;
    background: transparent !important;
}
html[scheme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper,
html[scheme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper {
    color: #ccc !important;
}
html[scheme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper .validate-required,
html[scheme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .validate-required {
    background: linear-gradient(135deg, rgba(33, 107, 233, 0.14) 0%, rgba(33, 107, 233, 0.22) 100%) !important;
    border-color: #444 !important;
}
html[scheme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .fenix-inline-privacy-block .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a,
html[scheme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a {
    color: #7eb8ff !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
    -webkit-box-decoration-break: slice !important;
    box-decoration-break: slice !important;
}
html[scheme=dark] #back-to-top {
    --pt-accent-color: #216be9;
    --pt-accent-80-color: hsla(0, 0%, 6%, .5);
		border: none;
}

/* /shop/ — promo-блок (EFT / iCloud) в шапке каталога: без верхнего отступа */
body.post-type-archive-product .woocommerce-products-header .wp-block-group.alignfull.has-global-padding.is-layout-constrained,
body.woocommerce-shop .woocommerce-products-header .wp-block-group.alignfull.has-global-padding.is-layout-constrained {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.post-type-archive-product .woocommerce-products-header .page-description > p.wp-block-paragraph,
body.woocommerce-shop .woocommerce-products-header .page-description > p.wp-block-paragraph {
    margin: 0 !important;
    padding: 0 !important;
}
/* === Недостающие тёмные пары (аудит 2026-07-13) === */
html[scheme="dark"] .single-hero-title .title { border-bottom-color: #444; }
html[scheme="dark"] body.woocommerce-account #customer_login .fenix-inline-register-info-text { color: #a9b4c2; }
html[scheme="dark"] .woocommerce form .form-row label.checkbox, html[scheme="dark"] .woocommerce-page form .form-row label.checkbox { background: rgba(255, 255, 255, 0.06) !important; }
html[scheme="dark"] .fenix-dhru-result.success .dhru-code { background: rgba(255, 255, 255, 0.05) !important; }
