/* Night mode toggle (замена WP-плагина) */
.wpnm-button.style-1 {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
    background: #e7e7e7;
    border-radius: 22px;
    cursor: pointer;
    vertical-align: middle;
}
.wpnm-button.style-1 .wpnm-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.wpnm-button.style-1.active .wpnm-slider {
    transform: translateX(22px);
    background-color: #fff;
}
.box_svich_cur .form-select {
    width: 90px;
    font-size: 13px;
    border-radius: 50px;
    border: 1px solid #cecece;
    padding: 6px 12px;
    background-color: #fff;
}


.box_svich_lang {
    margin-right: 12px;
    position: relative;
}

.lang-selector__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 118px;
    padding: 6px 14px 6px 12px;
    border: 1px solid #cecece;
    border-radius: 25px;
    background: #f4f4f4;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lang-selector__trigger:hover,
.lang-selector.is-open .lang-selector__trigger {
    border-color: #dba844;
}

.lang-selector__flag,
.lang-dropdown__flag {
    font-size: 16px;
    line-height: 1;
}

.lang-selector__name {
    flex: 1;
    text-align: left;
    white-space: nowrap;
}

.lang-selector__chevron {
    flex-shrink: 0;
    color: #666;
    transition: transform 0.2s ease;
}

.lang-selector.is-open .lang-selector__chevron {
    transform: rotate(180deg);
    color: #dba844;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1050;
    min-width: 190px;
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.lang-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-dropdown__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-dropdown__link:hover {
    background: #f7f2e8;
    color: #000;
}

.lang-dropdown__link.active {
    background: #f7f2e8;
    color: #dba844;
    font-weight: 600;
}

.of_mobilenav .box_svich_lang {
    margin-right: 0;
    margin-bottom: 8px;
}

.of_mobilenav .lang-selector__trigger {
    min-width: 140px;
}

.wp-night-mode-on .lang-selector__trigger {
    border-color: #282c36;
    background: #333945;
    color: #ebedee;
}

.wp-night-mode-on .lang-selector__trigger:hover,
.wp-night-mode-on .lang-selector.is-open .lang-selector__trigger {
    border-color: #dba844;
}

.wp-night-mode-on .lang-selector__chevron {
    color: #a8adb8;
}

.wp-night-mode-on .lang-dropdown {
    border-color: #282c36;
    background: #2e333d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.wp-night-mode-on .lang-dropdown__link {
    color: #ebedee;
}

.wp-night-mode-on .lang-dropdown__link:hover,
.wp-night-mode-on .lang-dropdown__link.active {
    background: #3b414f;
    color: #dba844;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.of_mobilenav .offcanvas-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.header_main,
.header_main .container,
.header_main .toplevel_head,
.userbars_head,
.box_svich_lang.lang-selector {
    overflow: visible;
}

.lang-selector.is-open .lang-dropdown {
    display: block;
}

.lang-dropdown[hidden] {
    display: none !important;
}

/* Currency switcher (как WPCS на старом сайте) */
.currency-selector {
    position: relative;
    margin-right: 16px;
}

.currency-selector__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 90px;
    padding: 6px 12px;
    border: 1px solid #cecece;
    border-radius: 25px;
    background: #f4f4f4;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.2;
}

.currency-selector__trigger:hover,
.currency-selector.is-open .currency-selector__trigger {
    border-color: #dba844;
}

.currency-selector__chevron {
    color: #666;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.currency-selector.is-open .currency-selector__chevron {
    transform: rotate(180deg);
    color: #dba844;
}

.currency-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1050;
    min-width: 90px;
    max-height: 280px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.currency-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.currency-dropdown__option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #000;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.currency-dropdown__option:hover {
    background: #f7f2e8;
}

.currency-dropdown__option.active {
    background: #f7f2e8;
    color: #dba844;
    font-weight: 600;
}

.currency-dropdown__code {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.currency-dropdown__desc {
    font-size: 11px;
    color: #888;
    line-height: 1.2;
}

.currency-selector.is-open .currency-dropdown {
    display: block;
}

.currency-dropdown[hidden] {
    display: none !important;
}

.wp-night-mode-on .currency-selector__trigger {
    border-color: #282c36;
    background: #333945;
    color: #ebedee;
}

.wp-night-mode-on .currency-selector__trigger:hover,
.wp-night-mode-on .currency-selector.is-open .currency-selector__trigger {
    border-color: #dba844;
}

.wp-night-mode-on .currency-dropdown {
    border-color: #282c36;
    background: #2e333d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.wp-night-mode-on .currency-dropdown__option {
    color: #ebedee;
}

.wp-night-mode-on .currency-dropdown__option:hover,
.wp-night-mode-on .currency-dropdown__option.active {
    background: #3b414f;
    color: #dba844;
}

.wp-night-mode-on .currency-dropdown__desc {
    color: #a8adb8;
}

/* Submit request in catalog */
.sandzayavk.quote-request-trigger {
    cursor: pointer;
}

/* Catalog product images */
.product .imnsf_wrpa > a {
    display: block;
    width: 100%;
    height: 250px;
}

.product .imnsf_wrpa img.product-image--grid {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
}

.product .imnsf_wrpa img.product-image--placeholder {
    object-fit: contain;
    padding: 48px 24px;
    box-sizing: border-box;
    opacity: 0.85;
}

.wp-night-mode-on .product .imnsf_wrpa img.product-image--placeholder {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.catalog-table__img img.product-image--table {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.catalog-table__img img.product-image--placeholder {
    padding: 8px;
    box-sizing: border-box;
    opacity: 0.85;
}

.img_gallery_main img.product-image--detail,
.img_gallery_main img.product-image--placeholder {
    width: 100%;
    min-height: 280px;
    object-fit: contain;
}

.img_gallery_main img.product-image--placeholder {
    padding: 64px 32px;
    box-sizing: border-box;
}

/* Equal card height: clamp product title */
.products .product .box_context_prod .woocommerce-loop-product__title {
    min-height: 64px;
    max-height: 64px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products .product .box_context_prod .woocommerce-loop-product__title a {
    display: block;
}

.cartlinckmini {
    position: relative;
}
.cartlinckmini .cart-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #dba844;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 600;
}

/* --- Cart page (WooCommerce parity) --- */
.cartpagers .woocommerce-error {
    margin-bottom: 1rem;
    padding: 1em 1.25em;
    color: #424242;
}

.cartcontent .product-thumbnail img.product-image--thumb,
.cartcontent .product-thumbnail img.product-image--placeholder {
    display: block;
    width: 100%;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.cartcontent .product-thumbnail img.product-image--placeholder {
    padding: 12px;
    box-sizing: border-box;
    opacity: 0.85;
}

.cartcontent table.shop_table th {
    font-weight: 600;
    color: #212529;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 14px !important;
}

.cartcontent table.shop_table th.product-subtotal {
    text-align: right;
}

.cartcontent table.shop_table th.product-quantity,
.cartcontent table.shop_table td.product-quantity {
    text-align: center;
}

.cartcontent td.product-quantity .qty {
    text-align: center;
}

.cartcontent .product-remove .remove {
    display: inline-block;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #212529;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    text-align: center;
}

.cartcontent .product-remove .remove:hover {
    color: #dba844;
}

.cartcontent .actions {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px !important;
}

.cartcontent table.shop_table td .boxbtmsert button[name="update_cart"],
.cartcontent table.shop_table td .boxbtmsert .gocheckioy {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 45px;
    min-width: 170px;
    padding: 0 20px !important;
    border: 0;
    border-radius: 13px;
    background: #dba844 !important;
    color: #fff !important;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    width: auto !important;
    max-width: none !important;
    text-align: center;
    white-space: nowrap;
}

.cartcontent table.shop_table td .boxbtmsert .gocheckioy {
    margin-left: 15px;
}

.cartcontent table.shop_table td .boxbtmsert button[name="update_cart"]:hover,
.cartcontent table.shop_table td .boxbtmsert .gocheckioy:hover {
    background: #cb952b !important;
    color: #fff !important;
}

.cartcontent .return-to-shop {
    margin-top: 1rem;
}

.cartcontent .return-to-shop .gocheckioy {
    display: inline-block;
    text-decoration: none;
}

.wp-night-mode-on .cartcontent table.shop_table th {
    color: #ebedee;
    border-bottom-color: #2a2f39;
}

.wp-night-mode-on .cartcontent .product-remove .remove {
    color: #ebedee;
}

.wp-night-mode-on .cartcontent .actions {
    border-top-color: #2a2f39;
}

@media (max-width: 768px) {
    .cartcontent table.shop_table_responsive thead {
        display: none;
    }

    .cartcontent table.shop_table_responsive tbody tr.cart_item {
        display: block;
        position: relative;
        margin-bottom: 1.5em;
        padding: 12px 12px 12px 36px;
        border: 1px solid #e0e0e0;
        border-radius: 16px;
        background: #fff;
    }

    .cartcontent table.shop_table_responsive tbody tr.actions {
        display: block;
        border: 0;
        padding: 0;
        margin-bottom: 0;
        background: transparent;
    }

    .cartcontent table.shop_table_responsive tr td {
        display: block;
        text-align: right !important;
        padding: 8px 0 !important;
        border: 0 !important;
    }

    .cartcontent table.shop_table_responsive tr td::before {
        content: attr(data-title) ": ";
        font-weight: 600;
        float: left;
        color: #212529;
    }

    .cartcontent table.shop_table_responsive tr td.product-remove::before,
    .cartcontent table.shop_table_responsive tr td.product-thumbnail::before {
        content: none;
    }

    .cartcontent table.shop_table_responsive tr td.product-remove {
        position: absolute;
        top: 8px;
        left: 8px;
        padding: 0 !important;
        text-align: left !important;
    }

    .cartcontent table.shop_table_responsive tr td.product-thumbnail {
        text-align: center !important;
        padding-bottom: 12px !important;
    }

    .cartcontent table.shop_table_responsive tr td.product-thumbnail a {
        display: inline-block;
    }

    .cartcontent table.shop_table_responsive tr td.product-name {
        text-align: left !important;
        padding-top: 0 !important;
    }

    .cartcontent table.shop_table_responsive tr td.product-name::before {
        display: block;
        float: none;
        margin-bottom: 6px;
    }

    .cartcontent table.shop_table_responsive tr td.product-quantity {
        text-align: center !important;
    }

    .cartcontent table.shop_table_responsive tr td.product-quantity .qty {
        margin-left: auto;
        margin-right: auto;
    }

    .cartcontent table.shop_table_responsive tr td.actions::before {
        content: none;
    }

    .cartcontent .boxbtmsert {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cartcontent table.shop_table td .boxbtmsert button[name="update_cart"],
    .cartcontent table.shop_table td .boxbtmsert .gocheckioy {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        height: 45px;
        white-space: nowrap;
    }

    .wp-night-mode-on .cartcontent table.shop_table_responsive tbody tr.cart_item {
        background: #333945;
        border-color: #2a2f39;
    }

    .wp-night-mode-on .cartcontent table.shop_table_responsive tr td::before {
        color: #ebedee;
    }
}

/* WooCommerce checkout layout (plugin CSS parity for icsecs theme) */
.woocommerce-checkout form.checkout::after,
.boxdatasloger .woocommerce-billing-fields__field-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.boxdatasloger .woocommerce-billing-fields__field-wrapper .form-row {
    margin: 0 0 16px;
    padding: 0;
}

.boxdatasloger .form-row-first,
.boxdatasloger .form-row-last {
    width: 48%;
    float: left;
}

.boxdatasloger .form-row-last {
    float: right;
}

.boxdatasloger .form-row-wide {
    clear: both;
    width: 100%;
    float: none;
}

.boxdatasloger .form-row label {
    display: block;
    width: 100%;
}

.boxdatasloger .form-row .input-text,
.boxdatasloger .form-row select {
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.checkout-back-link {
    margin: 0 0 1rem;
}

.checkout-back-link a {
    color: #212529;
    text-decoration: none;
}

.checkout-back-link a:hover {
    color: #dba844;
}

.conrenewse .woocommerce-checkout-review-order-table {
    width: 100%;
    border: 0;
    margin: 0 0 20px;
    border-collapse: collapse;
}

.conrenewse .woocommerce-checkout-review-order-table th,
.conrenewse .woocommerce-checkout-review-order-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    vertical-align: top;
}

.conrenewse .woocommerce-checkout-review-order-table thead th {
    font-weight: 600;
}

.conrenewse .woocommerce-checkout-review-order-table .product-total,
.conrenewse .woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
}

.conrenewse .woocommerce-checkout-review-order-table tfoot th {
    text-align: left;
    font-weight: 600;
}

.conrenewse .woocommerce-checkout-review-order-table .product-name .product-quantity {
    font-weight: 600;
    white-space: nowrap;
}

.conrenewse .woocommerce-checkout-review-order-table .order-total-amount {
    font-weight: 700;
}

.conrenewse .woocommerce-checkout-review-order-table .order-total th,
.conrenewse .woocommerce-checkout-review-order-table .order-total td {
    font-size: 18px;
    border-bottom: 0;
}

.conrenewse .woocommerce-checkout-payment {
    padding: 15px;
}

.conrenewse .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.conrenewse .wc_payment_method {
    margin: 0;
}

.conrenewse .wc_payment_method label {
    font-weight: 500;
    margin: 0;
}

.conrenewse .woocommerce-privacy-policy-text {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
    color: #666;
}

.conrenewse .woocommerce-privacy-policy-text p {
    margin: 0;
}

.conrenewse .place-order #place_order,
.conrenewse .place-order #place_order.button.alt {
    margin-top: 20px;
    width: 100%;
    background: #dba844 !important;
    height: 45px;
    border: 0 !important;
    border-radius: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-size: 16px;
    line-height: 45px;
    padding: 0 16px;
    color: #fff !important;
    box-shadow: none !important;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    white-space: nowrap;
}

.conrenewse .place-order #place_order:hover,
.conrenewse .place-order #place_order:focus {
    background: #cb952b !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

.boxdatasloger .form-row select {
    border: 1px solid #cecece !important;
    height: 45px;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 7px !important;
}

.conrenewse .box_erenecblock {
    padding: 0 10px 10px;
}

.wp-night-mode-on .checkout-back-link a {
    color: #ebedee;
}

.wp-night-mode-on .conrenewse .woocommerce-checkout-review-order-table th,
.wp-night-mode-on .conrenewse .woocommerce-checkout-review-order-table td {
    border-bottom-color: #373d4a;
}

.wp-night-mode-on .conrenewse .woocommerce-privacy-policy-text {
    color: #c8ccd0;
}

@media (max-width: 768px) {
    .boxdatasloger .form-row-first,
    .boxdatasloger .form-row-last {
        width: 100%;
        float: none;
    }
}

/* Auth pages — Ultimate Member card style (sies.kg) */
.auth-page.cont_bodu_acc {
    padding: 20px 30px 30px;
}

.auth-page .auth-alert {
    max-width: 520px;
    margin: 0 auto 16px;
}

.auth-page .um-login,
.auth-page .um-register {
    max-width: 520px;
    margin: 50px auto 20px;
    background: #f4f4f4;
    padding: 24px 24px 20px;
    border-radius: 13px;
    box-shadow: 4px 3px 6px 0 rgb(0 0 0 / 15%);
}

.auth-form-row {
    margin: 0 0 16px;
}

.auth-form-row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 6px;
    color: #232323;
}

.auth-form-row label .auth-optional {
    font-weight: 400;
    color: #888;
    font-size: 12px;
}

.auth-form-row label .required {
    color: #dba844;
    margin-left: 2px;
}

.auth-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cecece !important;
    height: 45px;
    background: #fff;
    padding: 10px 12px;
    border-radius: 7px !important;
    font-size: 14px;
}

.auth-form-row--half {
    width: 48%;
    float: left;
}

.auth-form-row--last {
    float: right;
}

.auth-form-clear {
    clear: both;
}

.auth-consent {
    margin-top: 8px;
}

.auth-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400 !important;
    cursor: pointer;
}

.auth-consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #dba844;
}

.auth-consent-label a {
    color: #dba844;
    text-decoration: underline;
}

.auth-form-actions {
    margin: 24px 0 8px;
}

.auth-page .um-button.auth-submit {
    display: block;
    width: 100%;
    border: none !important;
    background: #dba844 !important;
    color: #fff !important;
    padding: 0 20px;
    border-radius: 13px !important;
    height: 45px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    box-shadow: none;
}

.auth-page .um-button.auth-submit:hover {
    background: #c19338 !important;
    color: #fff !important;
}

.auth-switch {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
}

.auth-switch a {
    color: #dba844;
    font-weight: 600;
}

.wp-night-mode-on .auth-page .um-login,
.wp-night-mode-on .auth-page .um-register {
    background: #2a2d31;
    box-shadow: 4px 3px 6px 0 rgb(0 0 0 / 35%);
}

.wp-night-mode-on .auth-form-row label {
    color: #ebedee;
}

.wp-night-mode-on .auth-input {
    background: #1e2124;
    border-color: #4a4f56 !important;
    color: #ebedee;
}

.box_rght_bar li a.active {
    color: #dba844;
    font-weight: 600;
}

@media (max-width: 768px) {
    .auth-page .um-login,
    .auth-page .um-register {
        margin-top: 24px;
        padding: 18px 16px;
    }

    .auth-form-row--half,
    .auth-form-row--last {
        width: 100%;
        float: none;
    }
}

/* Account area — box_insetts edit-account (icsecs my-account template) */
.cont_bodu_acc .box_insetts.account-form {
    border: 2px solid #d5d5d5;
    padding: 15px;
    border-radius: 13px;
    margin-bottom: 20px;
    background: transparent;
}

.cont_bodu_acc .account-form .title_boxue {
    font-size: 20px;
    display: block;
    margin-bottom: 20px;
    font-weight: 700;
}

.cont_bodu_acc .account-form .woocommerce-form-row {
    margin: 0 0 16px;
}

.cont_bodu_acc .account-form .woocommerce-form-row label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 5px;
}

.cont_bodu_acc .account-form .woocommerce-Input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cecece !important;
    height: 45px;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 7px !important;
    font-size: 14px;
}

.cont_bodu_acc .account-form .woocommerce-Input:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.cont_bodu_acc .account-form .form-row-first,
.cont_bodu_acc .account-form .form-row-last {
    width: 48%;
    float: left;
}

.cont_bodu_acc .account-form .form-row-last {
    float: right;
}

.cont_bodu_acc .account-form .form-row-wide {
    clear: both;
    width: 100%;
    float: none;
}

.cont_bodu_acc .account-form .form-clear {
    clear: both;
}

.cont_bodu_acc .account-form .account-form-actions {
    clear: both;
    margin: 8px 0 0;
}

body .cont_bodu_acc .account-form .woocommerce-Button {
    border: none !important;
    background: #dba844 !important;
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 13px !important;
    display: block;
    text-align: center;
    height: 45px;
    min-width: 180px;
    margin: 20px auto 10px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: none;
}

body .cont_bodu_acc .account-form .woocommerce-Button:hover {
    background: #b58323 !important;
    color: #fff !important;
}

.cont_bodu_acc .woocommerce-message,
.cont_bodu_acc .woocommerce-error {
    margin-bottom: 16px;
}

/* Account sidebar nav icons */
.box_rght_bar li .myoffers .myuicin {
    background: url(/theme/wp-uploads/2022/08/vector.svg) no-repeat;
    background-size: contain;
    background-position: left center;
}

.box_rght_bar li .mysettings .myuicin {
    background: url(/theme/wp-uploads/2022/08/vector-4.svg) no-repeat;
    background-size: contain;
    background-position: left center;
}

.box_rght_bar li .mylogout .myuicin {
    background: url(/theme/wp-uploads/2022/08/vector-5.svg) no-repeat;
    background-size: contain;
    background-position: left center;
}

.menublockregf {
    margin-top: 0;
}

.wp-night-mode-on .cont_bodu_acc .box_insetts.account-form {
    border-color: #4a4f56;
}

.wp-night-mode-on .cont_bodu_acc .account-form .woocommerce-Input {
    background: #1e2124;
    border-color: #4a4f56 !important;
    color: #ebedee;
}

.wp-night-mode-on .cont_bodu_acc .account-form .woocommerce-form-row label {
    color: #ebedee;
}

@media (max-width: 768px) {
    .cont_bodu_acc .account-form .form-row-first,
    .cont_bodu_acc .account-form .form-row-last {
        width: 100%;
        float: none;
    }

    .menublockregf {
        margin-top: 10px;
    }
}

/* Thank-you / order receipt (woocommerce thankyou template) */
.thanktable .woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.thanktable .woocommerce-order-overview li {
    text-align: center;
    font-size: 14px;
    color: #444;
}

.thanktable .woocommerce-order-overview strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
    color: #232323;
}

.thanktable .woocommerce-order-details__title,
.thanktable .woocommerce-column__title {
    display: block;
    font-size: 20px;
    margin: 30px 0 16px;
    font-weight: 700;
}

.thanktable .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.thanktable .woocommerce-table--order-details th,
.thanktable .woocommerce-table--order-details td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    font-size: 14px;
}

.thanktable .woocommerce-table--order-details thead th {
    background: #f4f4f4;
    font-weight: 600;
}

.thanktable .woocommerce-table--order-details tfoot th {
    text-align: right;
    font-weight: 600;
}

.thanktable .woocommerce-table--order-details .product-quantity {
    text-align: center;
    width: 80px;
}

.thanktable .woocommerce-table--order-details .product-total {
    text-align: right;
    width: 120px;
}

.thanktable .woocommerce-customer-details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin-top: 8px;
}

.thanktable .woocommerce-column {
    flex: 1 1 280px;
}

.thanktable .order-address {
    font-style: normal;
    line-height: 1.6;
    font-size: 14px;
}

.thanktable .thankyou-actions {
    text-align: center;
    margin: 24px 0 8px;
}

.thanktable .sku {
    color: #888;
    font-size: 12px;
}

.wp-night-mode-on .thanktable .woocommerce-order-overview li,
.wp-night-mode-on .thanktable .woocommerce-order-overview strong {
    color: #ebedee;
}

.wp-night-mode-on .thanktable .woocommerce-table--order-details th,
.wp-night-mode-on .thanktable .woocommerce-table--order-details td {
    border-color: #4a4f56;
}

.wp-night-mode-on .thanktable .woocommerce-table--order-details thead th {
    background: #2a2d31;
}

/* Exchange rates page */
.exchange-rates-page .exchange-rates-panel {
    padding-top: 4px;
}

.exchange-rates-intro,
.exchange-rates-meta,
.exchange-rates-footnote {
    margin: 0 0 12px;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
}

.exchange-rates-meta {
    margin-bottom: 18px;
    color: #888;
    font-size: 12px;
}

.exchange-rates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .exchange-rates-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.exchange-rates-section + .exchange-rates-section {
    margin-top: 0;
}

.exchange-rates-section__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.exchange-rates-base-line {
    margin: 0 0 10px;
    color: #777;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.exchange-rates-list {
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.exchange-rates-item {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.exchange-rates-item:last-child {
    border-bottom: 0;
}

.exchange-rates-item:hover {
    background: #fffdf8;
}

.exchange-rates-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.exchange-rates-code {
    font-weight: 700;
    color: #222;
    letter-spacing: 0.03em;
}

.exchange-rates-value {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #111;
}

.exchange-rates-name {
    margin: 4px 0 0;
    color: #888;
    font-size: 12px;
    line-height: 1.4;
}

.wp-night-mode-on .exchange-rates-intro,
.wp-night-mode-on .exchange-rates-meta,
.wp-night-mode-on .exchange-rates-footnote,
.wp-night-mode-on .exchange-rates-base-line {
    color: #c8c8c8;
}

.wp-night-mode-on .exchange-rates-section__title {
    color: #f2f2f2;
}

.wp-night-mode-on .exchange-rates-list {
    border-color: #3a3a3a;
    background: #1f1f1f;
}

.wp-night-mode-on .exchange-rates-item {
    border-bottom-color: #333;
}

.wp-night-mode-on .exchange-rates-item:hover {
    background: #2a261f;
}

.wp-night-mode-on .exchange-rates-code,
.wp-night-mode-on .exchange-rates-value {
    color: #f2f2f2;
}

.wp-night-mode-on .exchange-rates-name {
    color: #aaa;
}

/* Catalog sidebar filters */
.box_filtr_wrp.catalog-filters {
    overflow: hidden;
}

.catalog-filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.catalog-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.catalog-filter-label {
    display: block;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #232323;
    line-height: 1.3;
}

.catalog-filter-input {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    background: #fff;
    color: #232323;
    font-size: 14px;
    line-height: 1.4;
}

.catalog-filter-input:focus {
    outline: none;
    border-color: #dba844;
    box-shadow: 0 0 0 2px rgba(219, 168, 68, 0.15);
}

.catalog-filter-submit {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    margin-top: 4px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: #dba844;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.catalog-filter-submit:hover {
    background: #cb952b;
}

.wp-night-mode-on .catalog-filter-label {
    color: #ebedee;
}

.wp-night-mode-on .catalog-filter-input {
    background: #1e2124;
    border-color: #4a4f56;
    color: #ebedee;
}

.wp-night-mode-on .catalog-filter-input::placeholder {
    color: #8a9099;
}

.wp-night-mode-on .catalog-filter-input:focus {
    border-color: #dba844;
}

.box_rght_bar li .myfavorite .myuicin {
    background: url(/theme/wp-uploads/2022/08/vector-2.svg) no-repeat;
    background-size: contain;
    background-position: left center;
}

.btm_fav .wishlist-toggle.is-active {
    opacity: 1;
}

.btm_fav .wishlist-toggle.is-active .yith-wcwl-icon {
    color: #c0392b;
}

.box_rght_bar li .mybalance .myuicin {
    background: url(/theme/wp-uploads/2022/08/vector-1.svg) no-repeat;
    background-size: contain;
    background-position: left center;
}

.box_myacc_gfix .box_btm_add.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.box_myacc_gfix .wallet-phase-note {
    margin-top: 20px;
    margin-bottom: 0;
}

.wallet-total-balance {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.wallet-total-label {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #787878;
}

.wallet-total-value {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.wp-night-mode-on .wallet-total-label {
    color: #b0b0b0;
}

.wp-night-mode-on .wallet-total-value {
    color: #f2f2f2;
}

/* --- Wishlist page (YITH / WooCommerce parity) --- */
.favorpage .product-thumbnail img.product-image--thumb,
.favorpage .product-thumbnail img.product-image--placeholder {
    display: block;
    width: 100%;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.favorpage .product-thumbnail img.product-image--placeholder {
    padding: 12px;
    box-sizing: border-box;
    opacity: 0.85;
}

.favorpage .product-thumbnail {
    max-width: 110px;
}

.favorpage .product-remove {
    max-width: 28px;
}

.favorpage .product-remove .remove {
    display: inline-block;
    width: 24px;
    height: 24px;
    color: #212529;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.favorpage .product-remove .remove:hover {
    color: #dba844;
}

.favorpage .product-add-to-cart form {
    margin: 0;
}

.favorpage .product-add-to-cart .add_to_cart,
.favorpage .product-add-to-cart .button.alt {
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dba844;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}

.favorpage .product-add-to-cart .add_to_cart:hover,
.favorpage .product-add-to-cart .button.alt:hover {
    color: #b58323;
}

.wp-night-mode-on .favorpage .product-remove .remove {
    color: #ebedee;
}

.wp-night-mode-on .favorpage .product-add-to-cart .add_to_cart,
.wp-night-mode-on .favorpage .product-add-to-cart .button.alt {
    color: #dba844;
}

@media (max-width: 768px) {
    .favorpage table.shop_table_responsive thead {
        display: none;
    }

    .favorpage table.shop_table_responsive tbody tr {
        display: block;
        position: relative;
        margin-bottom: 15px;
        padding: 12px 12px 12px 36px;
        border: 1px solid #e0e0e0;
        border-radius: 16px;
        background: #fff;
    }

    .favorpage table.shop_table_responsive tr td {
        display: block;
        text-align: right !important;
        padding: 8px 0 !important;
        border: 0 !important;
    }

    .favorpage table.shop_table_responsive tr td::before {
        content: attr(data-title) ": ";
        font-weight: 600;
        float: left;
        color: #212529;
    }

    .favorpage table.shop_table_responsive tr td.product-remove::before,
    .favorpage table.shop_table_responsive tr td.product-thumbnail::before {
        content: none;
    }

    .favorpage table.shop_table_responsive tr td.product-remove {
        position: absolute;
        top: 8px;
        left: 8px;
        padding: 0 !important;
        text-align: left !important;
        margin-top: -30px;
    }

    .favorpage table.shop_table_responsive tr td.product-thumbnail {
        text-align: left !important;
        padding-bottom: 12px !important;
    }

    .favorpage table.shop_table_responsive tr td.product-thumbnail a {
        display: inline-block;
    }

    .favorpage table.shop_table_responsive tr td.product-name a {
        color: #000;
        font-size: 18px;
    }

    .favorpage table.shop_table_responsive tr td .additional-info {
        display: none;
    }

    .favorpage table.shop_table_responsive tr td.product-add-to-cart {
        text-align: left !important;
    }

    .favorpage table.shop_table_responsive tr td.product-add-to-cart::before {
        float: none;
        display: block;
        margin-bottom: 4px;
    }

    .wp-night-mode-on .favorpage table.shop_table_responsive tbody tr {
        background: #333945;
        border-color: #2a2f39;
    }

    .wp-night-mode-on .favorpage table.shop_table_responsive tr td::before {
        color: #ebedee;
    }

    .wp-night-mode-on .favorpage table.shop_table_responsive tr td.product-name a {
        color: #f2f2f2;
    }
}

.hidedblock_ball_test,
.hidedblock_invoices {
    display: block;
}

.wallet-action-buttons .box_btm_add.active {
    background: #b58323;
    color: #fff;
}

.test_balance_form_container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.test_form_field {
    margin-bottom: 18px;
    text-align: left;
}

.test_form_label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}

.test_form_input,
.test_balance_form_container .checkcurensy {
    width: 100%;
    max-width: none;
    border: 1px solid #cecece;
    border-radius: 7px;
    background: #f4f4f4;
    min-height: 45px;
    padding: 8px 12px;
    box-sizing: border-box;
    font-size: 16px;
}

.test_form_button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.test_invoice_message {
    display: none;
    margin-top: 16px;
    text-align: center;
    color: #dba844;
    font-weight: 600;
}

.test_invoice_message:not([hidden]) {
    display: block;
}

.wallet-invoices-list .easy-invoice-table {
    width: 100%;
    margin-top: 20px;
}

.wallet-invoices-list .easy-invoice-table th,
.wallet-invoices-list .easy-invoice-table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.wallet-invoices-list .easy-invoice-table th {
    background: #f5f5f5;
}

.wallet-invoices-list .easy-invoice-table td a {
    color: #dba844;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .wallet-invoices-list .easy-invoice-table thead {
        display: none;
    }

    .wallet-invoices-list .easy-invoice-table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #ddd;
        border-radius: 12px;
        overflow: hidden;
    }

    .wallet-invoices-list .easy-invoice-table td {
        display: block;
        text-align: right;
        border: 0;
        border-bottom: 1px solid #eee;
    }

    .wallet-invoices-list .easy-invoice-table td:last-child {
        border-bottom: 0;
    }

    .wallet-invoices-list .easy-invoice-table td::before {
        content: attr(data-title) ": ";
        float: left;
        font-weight: 600;
    }
}

.form-honeypot,.auth-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none;}
.catalog-active-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem;align-items:center;}
.catalog-active-filters__chip{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .55rem;border-radius:999px;background:#f4f4f4;font-size:.875rem;}
.catalog-active-filters__chip a{color:#dba844;text-decoration:none;}

.conrenewse .wc_payment_method.is-disabled label {
    color: #666;
}

.conrenewse .payment-method-hint {
    margin: 0.35rem 0 0 1.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #666;
}

.conrenewse .payment-method-hint a {
    color: var(--accent-color, #0073aa);
    text-decoration: underline;
}

.wp-night-mode-on .conrenewse .payment-method-hint,
.wp-night-mode-on .conrenewse .wc_payment_method.is-disabled label {
    color: #aaa;
}
