/*
Theme Name: armada
Author: Alex
Version: 1.0
*/

body>div:before {
    content: none !important;
    background: none !important;
}

/* ===================== Пустая корзина ===================== */
section.content > .container > .row {
    display: flex !important;
    flex-direction: column !important;
    margin-left: 0;
    margin-right: 0;
}

section.content > .container > .row > .wp-h1,
section.content > .container > .row > .content-single-page {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
}

body.woocommerce-cart .content .row > .wp-h1 {
    margin-bottom: 24px;
}

body.woocommerce-cart .content-single-page {
    margin-bottom: 12px;
}

/* Уведомление «товар добавлен в корзину» заменено состоянием кнопки и не нужно в корзине. */
body.woocommerce-cart .woocommerce-message {
    display: none !important;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 760px;
    min-height: 64px;
    margin: 0 auto 24px;
    padding: 16px 22px;
    box-sizing: border-box;
    border: 0;
    border-top: 4px solid #8baa14;
    border-radius: 0;
    background: #f7f6f8;
    color: #495057;
    font-size: 17px;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before {
    position: static;
    flex: 0 0 auto;
    margin: 0;
    color: #8baa14;
}

.armada-empty-cart {
    max-width: 760px;
    margin: 0 auto 54px;
    padding: 42px 30px 40px;
    box-sizing: border-box;
    border: 1px solid rgba(171, 0, 20, .12);
    border-top: 4px solid #ab0014;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    text-align: center;
}

.armada-empty-cart__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #ab0014;
    color: #fff;
}

.armada-empty-cart__icon svg {
    display: block;
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.armada-empty-cart h2 {
    margin: 0 0 12px;
    color: #111;
    font-size: 32px;
    line-height: 1.2;
}

.armada-empty-cart p {
    margin: 0 auto 26px;
    color: #6c757d;
    font-size: 18px;
    line-height: 1.5;
}

.armada-empty-cart__button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 22px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #ab0014 !important;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
}

.armada-empty-cart__button:hover,
.armada-empty-cart__button:focus {
    background: #820010 !important;
    color: #fff !important;
}

@media screen and (max-width: 767px) {
    body.woocommerce-cart .content .row > .wp-h1 {
        margin-bottom: 18px;
    }

    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .woocommerce-error {
        align-items: flex-start;
        margin-bottom: 18px;
        padding: 14px 16px;
        font-size: 16px;
    }

    .armada-empty-cart {
        margin-bottom: 36px;
        padding: 34px 20px 30px;
    }

    .armada-empty-cart h2 {
        font-size: 28px;
    }

    .armada-empty-cart p {
        font-size: 16px;
    }
}

/* ===================== Корзина и оформление заказа ===================== */
.armada-floating-cart {
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 9px 15px 9px 17px;
    border: 1px solid rgba(171, 0, 20, 0.12);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    color: #111;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transform: translateY(-50%);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.armada-floating-cart:hover,
.armada-floating-cart:focus {
    color: #111;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    transform: translateY(calc(-50% - 2px));
}

.armada-floating-cart__icon {
    display: block;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    fill: currentColor;
}

.armada-floating-cart .armada-cart-count {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 16px;
}

.armada-floating-cart .armada-cart-total {
    color: #ab0014;
    font-size: 18px;
    white-space: nowrap;
}

.armada-floating-cart {
    display: none !important;
}

.armada-desktop-menu-row {
    align-items: center;
    flex-wrap: nowrap;
}

.armada-desktop-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-left: 22px;
    padding: 7px 11px 7px 12px;
    border: 1px solid rgba(171, 0, 20, .12);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
    color: #111 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
}

.armada-desktop-cart:hover,
.armada-desktop-cart:focus {
    color: #111 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.armada-desktop-cart__icon {
    display: block;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    fill: currentColor;
}

.armada-desktop-cart .armada-cart-count {
    min-width: 30px;
    height: 30px;
    font-size: 15px;
}

.armada-mobile-cart {
    display: none;
}

@media screen and (max-width: 767px) {
    .wp-menu-wrap .navbar {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .wp-menu-wrap .navbar-brand {
        flex: 1 1 auto;
        width: auto;
        max-width: calc(100% - 190px);
    }

    .armada-mobile-cart {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        margin: 0 7px 0 auto;
        color: #111 !important;
        text-decoration: none !important;
    }

    .armada-mobile-cart__icon {
        display: block;
        width: 24px;
        height: 24px;
        fill: currentColor;
    }

    .armada-mobile-cart .armada-cart-count {
        position: absolute;
        top: 0;
        right: -3px;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        font-size: 12px;
        line-height: 20px;
    }

    .wp-menu-wrap .navbar-toggler {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .armada-desktop-cart {
        display: none !important;
    }
}

.armada-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ab0014;
    color: #fff;
    font-size: 13px;
}

.armada-cart-total .amount {
    color: #ab0014;
}

.armada-add-to-cart {
    display: inline-block;
    margin-top: 12px;
    border: 0;
    border-radius: 6px;
    background: #ab0014 !important;
    color: #fff !important;
    line-height: 1.2;
    text-decoration: none !important;
}

.armada-add-to-cart:hover,
.armada-add-to-cart:focus {
    background: #820010 !important;
    color: #fff !important;
}

.wp-card-product .armada-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 16px;
    box-sizing: border-box;
    border-radius: 12px !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35 !important;
    text-align: center;
    white-space: normal;
}

.wp-card-product .added_to_cart {
    display: none !important;
}

.armada-product-actions .added_to_cart {
    display: none !important;
}

.armada-product-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
}

.armada-product-actions form.cart {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.armada-product-actions form.cart .single_add_to_cart_button,
.armada-product-actions .armada-view-cart {
    border-radius: 12px;
    align-self: center;
    margin: 0 !important;
}

.armada-product-actions .quantity {
    display: inline-flex !important;
    align-items: center;
    margin: 0 10px 0 0;
    vertical-align: middle;
}

.armada-product-actions .quantity label {
    display: none;
}

.armada-product-actions .quantity input.qty {
    display: block;
    width: 58px;
    height: 44px;
    margin: 0;
    padding: 0 !important;
    border: 1px solid #adb5bd;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 42px;
    text-align: center !important;
}

.armada-product-actions .quantity input[type='number']::-webkit-inner-spin-button,
.armada-product-actions .quantity input[type='number']::-webkit-outer-spin-button,
.woocommerce-cart-form__contents .product-quantity input[type='number']::-webkit-inner-spin-button,
.woocommerce-cart-form__contents .product-quantity input[type='number']::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.armada-product-actions .quantity input[type='number'],
.woocommerce-cart-form__contents .product-quantity input[type='number'] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.armada-product-quantity-minus,
.armada-product-quantity-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 44px;
    padding: 0;
    border: 1px solid #adb5bd;
    background: #f8f9fa;
    color: #343a40;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.armada-product-quantity-minus {
    border-radius: 7px 0 0 7px;
}

.armada-product-quantity-plus {
    border-left: 0;
    border-radius: 0 7px 7px 0;
}

.armada-product-quantity-minus:hover,
.armada-product-quantity-plus:hover,
.armada-product-quantity-minus:focus,
.armada-product-quantity-plus:focus {
    background: #e9ecef;
}

.armada-product-actions .single_add_to_cart_button {
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 7px;
    background: #ab0014 !important;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

.armada-product-actions .single_add_to_cart_button:hover,
.armada-product-actions .single_add_to_cart_button:focus {
    background: #820010 !important;
    color: #fff !important;
}

.armada-product-actions .armada-view-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.armada-product-actions.has-cart-item form.cart .single_add_to_cart_button {
    display: none !important;
}

.armada-product-actions.has-cart-item .armada-server-view-cart {
    display: inline-flex;
    border-radius: 12px;
}

.woocommerce-cart-form .actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.woocommerce-cart-form .coupon {
    flex: 1 1 100%;
}

.woocommerce-cart-form__contents {
    width: 100%;
    margin: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-cart-form__contents th,
.woocommerce-cart-form__contents td {
    padding: 14px 10px;
    vertical-align: middle;
}

.woocommerce-cart-form__contents .product-remove {
    width: 34px;
    text-align: center;
}

.woocommerce-cart-form__contents .product-thumbnail {
    width: 62px;
    text-align: center;
}

.woocommerce-cart-form__contents .product-thumbnail img {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.woocommerce-cart-form__contents .product-name {
    width: 36%;
    overflow-wrap: anywhere;
}

.woocommerce-cart-form__contents .product-price,
.woocommerce-cart-form__contents .product-subtotal {
    width: 112px;
    white-space: nowrap;
    text-align: right;
}

.woocommerce-cart-form__contents .product-quantity {
    width: 154px;
    white-space: nowrap;
    text-align: center;
}

.woocommerce-cart-form__contents .product-quantity .input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
}

.woocommerce-cart-form__contents .product-quantity .quantity {
    flex: 0 0 58px;
    width: 58px;
    margin: 0;
}

.woocommerce-cart-form__contents .product-quantity .qty {
    display: block;
    width: 58px;
    height: 44px;
    margin: 0;
    padding: 0 !important;
    border: 1px solid #adb5bd;
    border-radius: 0;
    line-height: 42px;
    text-align: center !important;
}

.woocommerce-cart-form__contents .product-quantity .armada-quantity-minus,
.woocommerce-cart-form__contents .product-quantity .armada-quantity-plus {
    display: inline-flex !important;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 44px;
    padding: 0;
    margin: 0 !important;
    border: 1px solid #adb5bd;
    border-radius: 0;
    background: #f8f9fa;
    color: #343a40;
    font-size: 22px;
    line-height: 1;
}

.woocommerce-cart-form__contents .product-quantity .armada-quantity-minus {
    border-radius: 7px 0 0 7px;
}

.woocommerce-cart-form__contents .product-quantity .armada-quantity-plus {
    flex-basis: 42px;
    border-left: 0;
    border-radius: 0 7px 7px 0;
}

.woocommerce-cart-form__contents .product-quantity .armada-quantity-minus:hover,
.woocommerce-cart-form__contents .product-quantity .armada-quantity-plus:hover,
.woocommerce-cart-form__contents .product-quantity .armada-quantity-minus:focus,
.woocommerce-cart-form__contents .product-quantity .armada-quantity-plus:focus {
    background: #e9ecef;
}

.woocommerce-cart-form__contents .product-quantity .quantity input.qty:focus {
    position: relative;
    z-index: 1;
    outline: none;
}

.woocommerce-cart-form__contents td.actions {
    display: table-cell;
    padding: 0;
}

.armada-cart-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
}

.armada-cart-actions .coupon {
    flex: 1 1 100%;
}

.armada-cart-actions > .button,
.armada-cart-actions > .btn {
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 9px 16px;
    line-height: 1.25;
}

.woocommerce-cart-form button[name="update_cart"] {
    display: none !important;
}

.cart_totals {
    width: 100%;
    margin: 0;
}

.cart_totals h2 {
    margin: 0 0 28px;
    color: #000;
    font-size: 32px;
    line-height: 1.2;
}

.cart_totals .shop_table {
    width: 100%;
    margin: 0 0 28px;
    border: 1px solid #d2d2d2;
    border-radius: 8px;
    border-spacing: 0;
    overflow: hidden;
}

.cart_totals .shop_table th,
.cart_totals .shop_table td {
    padding: 14px;
    border-bottom: 1px solid #d2d2d2;
    vertical-align: middle;
}

.cart_totals .shop_table tr:last-child th,
.cart_totals .shop_table tr:last-child td {
    border-bottom: 0;
}

.cart_totals .shop_table td {
    text-align: right;
}

body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.cart_totals .checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0;
    padding: 11px 26px;
    border: 0;
    border-radius: 8px;
    background: #ab0014 !important;
    color: #fff !important;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus,
body.woocommerce-cart .cart_totals .checkout-button:hover,
body.woocommerce-cart .cart_totals .checkout-button:focus {
    background: #820010 !important;
    color: #fff !important;
}

.armada-cart-export,
.armada-cart-clear {
    margin-top: 0;
}

.armada-cart-export {
    border-color: #adb5bd !important;
    background: #fff !important;
    color: #6c757d !important;
}

.armada-cart-export:hover,
.armada-cart-export:focus {
    border-color: #6c757d !important;
    background: #f1f3f5 !important;
    color: #343a40 !important;
}

.armada-payment-note {
    margin: 0 0 20px;
    padding: 14px 18px;
    border-left: 4px solid #ab0014;
    background: #f7f7f7;
}

.armada-order-download {
    margin-top: 24px;
}

/* ===================== Оформление заказа ===================== */
body.woocommerce-checkout form.checkout {
    margin: 0;
}

body.woocommerce-checkout #customer_details {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 28px;
    margin: 0 0 38px;
}

body.woocommerce-checkout #customer_details::before,
body.woocommerce-checkout #customer_details::after {
    display: none;
}

body.woocommerce-checkout #customer_details > .col-1,
body.woocommerce-checkout #customer_details > .col-2 {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 26px 28px 10px;
    border: 1px solid rgba(171, 0, 20, .12);
    border-top: 4px solid #ab0014;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
    margin: 0 0 22px;
    color: #111;
    font-size: 26px;
    line-height: 1.25;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    margin: 0;
}

body.woocommerce-checkout .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

body.woocommerce-checkout .woocommerce form .form-row,
body.woocommerce-checkout form .form-row {
    display: block;
    width: 100% !important;
    max-width: 100%;
    float: none;
    margin: 0 0 17px;
    padding: 0;
}

body.woocommerce-checkout form .form-row label {
    display: block;
    margin: 0 0 7px;
    color: #343a40;
    font-size: 15px;
    line-height: 1.3;
}

body.woocommerce-checkout form .form-row label .required {
    color: #ab0014;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px;
    padding: 10px 13px;
    box-sizing: border-box;
    border: 1px solid #adb5bd;
    border-radius: 8px;
    background: #fff;
    color: #212529;
    font-size: 16px;
    line-height: 1.35;
}

body.woocommerce-checkout form .form-row textarea {
    min-height: 112px;
    resize: vertical;
}

body.woocommerce-checkout form .form-row input.input-text:focus,
body.woocommerce-checkout form .form-row select:focus,
body.woocommerce-checkout form .form-row textarea:focus {
    outline: none;
    border-color: #ab0014;
    box-shadow: 0 0 0 3px rgba(171, 0, 20, .12);
}

body.woocommerce-checkout #order_review_heading {
    margin-bottom: 18px;
}

body.woocommerce-checkout #order_review {
    overflow: hidden;
    border: 1px solid #d2d2d2;
    border-radius: 10px;
    background: #fff;
}

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

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #d2d2d2;
    vertical-align: middle;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
    color: #111;
    font-weight: 700;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table td:last-child,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    white-space: nowrap;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child td {
    border-bottom: 0;
    font-size: 17px;
}

body.woocommerce-checkout #payment {
    margin-top: 20px;
    padding: 20px 22px;
    border-radius: 0 0 10px 10px;
    background: #f7f6f8;
}

body.woocommerce-checkout #payment .armada-payment-note {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-left: 4px solid #ab0014;
    background: #fff;
    color: #495057;
    line-height: 1.5;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text {
    margin: 0 0 16px;
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
}

body.woocommerce-checkout #place_order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border: 0;
    border-radius: 8px;
    background: #ab0014 !important;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus {
    background: #820010 !important;
}

@media screen and (max-width: 767px) {
    body.woocommerce-checkout #customer_details {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin-bottom: 28px;
    }

    body.woocommerce-checkout #customer_details > .col-1,
    body.woocommerce-checkout #customer_details > .col-2 {
        padding: 22px 18px 8px;
    }

    body.woocommerce-checkout #customer_details h3,
    body.woocommerce-checkout #order_review_heading {
        font-size: 24px;
    }

    body.woocommerce-checkout #payment {
        padding: 16px;
    }
}

@media screen and (max-width: 767px) {
    .wp-product-single-header {
        padding: 14px 16px 18px;
    }

    .armada-product-purchase {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .armada-product-actions,
    .armada-product-actions form.cart {
        width: 100%;
    }

    .armada-product-actions form.cart {
        justify-content: space-between;
    }

    .armada-product-actions .single_add_to_cart_button {
        flex: 1 1 auto;
    }
}

@media screen and (max-width: 767px) {
    .armada-floating-cart {
        top: auto;
        right: 14px;
        bottom: 16px;
        min-height: 50px;
        padding: 8px 13px 8px 15px;
        font-size: 16px;
        transform: none;
    }

    .armada-floating-cart:hover,
    .armada-floating-cart:focus {
        transform: translateY(-2px);
    }

    .armada-floating-cart .armada-cart-total {
        font-size: 16px;
    }

    .woocommerce-cart-form .actions {
        align-items: stretch;
    }

    .armada-cart-actions > .button,
    .armada-cart-actions > .btn {
        flex: 1 1 calc(50% - 10px);
        width: auto;
    }

    .armada-cart-actions > .armada-cart-clear {
        flex-basis: 100%;
    }

    .cart_totals h2 {
        margin-bottom: 18px;
        font-size: 28px;
    }

    .armada-product-actions .quantity {
        width: auto;
        margin: 0;
    }

    .armada-product-actions .single_add_to_cart_button {
        width: auto;
        margin: 0;
    }
}

/* Мобильная корзина: вместо сжатой таблицы — понятная карточка товара. */
@media screen and (max-width: 767px) {
    body.woocommerce-cart .woocommerce-cart-form {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-right: 0;
        padding-left: 0;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents {
        display: block !important;
        width: 100%;
        table-layout: auto;
        border: 1px solid #d2d2d2;
        border-radius: 8px;
        overflow: hidden;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents thead {
        display: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tbody {
        display: block;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 10px 14px 12px;
        border-bottom: 1px solid #d2d2d2;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td {
        display: flex !important;
        align-items: center;
        width: auto !important;
        min-width: 0;
        padding: 10px 0;
        border: 0;
        text-align: left !important;
        white-space: normal;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td[data-title]::before {
        flex: 0 0 96px;
        margin-right: 8px;
        color: #111;
        content: attr(data-title) ':';
        font-weight: 700;
        line-height: 1.35;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-remove {
        display: flex !important;
        justify-content: flex-start;
        min-height: 24px;
        padding: 0 0 4px;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-remove::before,
    body.woocommerce-cart .woocommerce-cart-form__contents .product-thumbnail {
        display: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-name {
        overflow-wrap: anywhere;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-name a {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-price,
    body.woocommerce-cart .woocommerce-cart-form__contents .product-subtotal {
        justify-content: flex-start;
        width: auto !important;
        text-align: left !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-quantity {
        justify-content: flex-start;
        width: auto !important;
        white-space: normal;
        text-align: left !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-quantity .input-group {
        flex: 0 0 auto;
        width: 160px;
        max-width: 160px;
        margin: 0;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-quantity .armada-quantity-minus,
    body.woocommerce-cart .woocommerce-cart-form__contents .product-quantity .armada-quantity-plus {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-quantity .quantity,
    body.woocommerce-cart .woocommerce-cart-form__contents .product-quantity .qty {
        flex: 0 0 64px;
        width: 64px;
        height: 48px;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.armada-cart-actions-row {
        display: block !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.armada-cart-actions-row > td.actions {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
    }

    body.woocommerce-cart .armada-cart-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 14px;
    }

    body.woocommerce-cart .armada-cart-actions > .button,
    body.woocommerce-cart .armada-cart-actions > .btn {
        width: 100%;
        min-width: 0;
        flex: none;
        box-sizing: border-box;
    }
}

.wp-h1 {
    color: #000;
    line-height: 1.25;
    margin: 0 0 2rem;
}

.wp-h2 {
    font-size: 40px;
    font-weight: 700;
    color: #000;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.wp-product-single .breadcrumb {
    height: 48px;
    margin: -24px 0 0;
}

.breadcrumb-item a {
    color: #828282;
}

.wp-menu-wrap {
    background-color: rgba(246, 246, 246, .7);
    border-bottom: 1px solid #D2D2D2;
}

.wp-menu-wrap .header-main a {
    color: #000;
    transition: .5s ease all;
}

.wp-menu-wrap .header-main a:hover {
    opacity: .8;
}

.wp-menu-wrap .wp-address {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.wp-main-block {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    gap: 300px;
}

.wp-main-block-second {
    gap: 40px;
    background-position: top !important;
    background-size: auto !important;
}

.wp-main-block-second .wp-main-block-right {
    padding-top: 20px;
}

.wp-product-single-slider {
    margin-top: 8px;
}

.wp-main-block-right .wp-h3 {
    margin-top: 60px;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
}

.wp-main-block-left {
    max-width: 350px;
    flex: none;
}

.question {
    background: url(resource/img/bg-contact-form.png);
}

.contacts {
    background-position: 0 70px;
    padding-top: 250px;
}

.wp-main-block-left label {
    background: #fff;
    box-shadow: 0 0 15px rgb(0 0 0 / 25%);
    padding: 13px 90px 13px 20px;
    width: 100%;
    border-radius: 60px;
    display: flex;
    gap: 10px;
}

.wp-main-block-left input {
    font-size: 18px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none !important;
}

.wp-main-block-left ul {
    margin-top: 30px;
    background: #F7F7F7;
    border-radius: 20px;
    box-shadow: 0 0 15px rgb(0 0 0 / 25%);
    list-style: none;
    padding: 5px 0;
    overflow: hidden;
}

.wp-main-block-left ul li {
    text-align: center;
    padding: 0 30px;
    transition: .5s ease all;
}

.wp-main-block-left ul li:hover {
    background: rgba(200, 197, 197, 0.15);
}

.wp-main-block-left ul a {
    display: block;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-decoration: none !important;
    border-bottom: 1px solid #C8C5C5;
}

.wp-main-block-left ul a.active {
    color: #A70000;
}

.wp-main-block-left ul li:last-child a {
    border-bottom: none;
}

.wp-request-call {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    height: 70px;
    background: linear-gradient(to bottom, #ff4d4d, #cc0000);
    font-family: Arial;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 30px 20px;
    border: none;
    border-radius: 40px;
    cursor: pointer;

    /* Внутренний блеск */
    box-shadow: 0 0 15px #e01e1e;

    /* Лёгкое свечение текста */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);

    transition: all 0.5s ease;
}

.wp-request-call:before {
    content: "";
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 50%;
    border-radius: 50px;

    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0));

    filter: blur(1px);
}

.wp-request-call:hover {
    background: linear-gradient(to bottom, #ff6666, #e60000);
}

.wp-delivery-slogan {
    font-size: 50px;
    font-weight: 700;
    font-family: 'Roboto';
    line-height: 50px;
    width: max-content;
}

.wp-delivery-img {
    max-width: 549px;
    margin-bottom: 40px;
}

.wp-bg-grey {
    background-color: rgba(242, 241, 241, 0.40);
}

.wp-bg-img {
    background: url(resource/img/logo-grey.png);
    background-position: center;
    background-size: auto 110%;
    background-repeat: no-repeat;
}

.block-cachestva {
    padding: 118px 0;
}

.block-cachestva h2 {
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    padding: 0 0 32px;
    margin-bottom: 24px;
}

.block-cachestva-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 40px;
}

.block-cachestva-item {
    min-width: calc(33% - 25px);
    max-width: calc(33% - 25px);
}

.block-cachestva-header {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 18px;
    height: 50px;
}

.block-cachestva-header span:first-child {
    font-family: 'Roboto Slab';
    font-size: 64px;
    color: #C20803;
}

.block-cachestva-body {
    font-size: 14px;
    line-height: 15px;
    color: #212529;
}

.block-action {
    padding: 50px 0;
}

.block-action .container {
    display: flex;
    gap: 50px;
}

.block-action-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.block-action-left-item {
    width: 252px;
}

.block-action-left-item h3 {
    font-size: 32px;
    font-weight: 700;
    color: #A70000;
}

.wp-card-product {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    padding: 0 10px 15px;
    box-shadow: 0 0 15px rgb(0 0 0 / 25%);
}

.wp-card-product img {
    height: 190px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.wp-card-product > a:first-child {
    display: block;
    width: calc(100% + 20px);
    margin: 0 -10px;
}

.wp-card-product > a:first-child img {
    width: 100%;
    margin: 0;
}

.wp-card-product .wp-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
    line-height: 18px;
    font-weight: 600;
    margin: 10px 0;
    height: 40px;
}

.wp-card-product > p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #828282;
    font-size: 14px;
    line-height: 1;
}

.wp-card-product > a.wp-more {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    color: #000;
    height: 30px;
    border-radius: 10px;
    background: #D9D9D9;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 1s ease all;
}

.wp-card-product > a.wp-more:hover {
    opacity: .75;
}

.block-action-right {
    width: 100%;
    min-width: 0;
}

.block-action-right .slider, .block-action-right .slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.block-action-right .slick-arrow {
    z-index: 1;
    top: 50%;
    left: 10px !important;
}

.block-action-right .arrow-right {
    left: auto !important;
    right: 10px !important;
}

.block-action-right .wp-h2 {
    color: #C20803;
    margin-bottom: 15px;
    padding: 0;
}

.block-action-right .slider {
    margin-bottom: 20px;
}

.block-action-right .slider-wrapper {
    height: auto;
}

.block-action-right .slick-track {
    height: 500px;
}

.block-action-right .slick-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    padding: 0px;
}

.wp-desc {
    font-size: 17px;
    font-weight: 600;
    white-space: pre-line;
}

.block-catalog {
    padding: 50px 0;
}

.wp-catalog-header {
    position: relative;
    margin-bottom: 60px;
}

.wp-catalog-header .wp-request-call {
    position: absolute;
    right: 10px;
    top: -15px;
    max-width: 200px;
    font-size: 16px;
    height: 60px;
}

.wp-catalog-header .wp-h2 {
    text-align: center;
    padding: 0 200px;
}

.block-catalog .slider-wrapper {
    width: 100%;
}

.block-catalog .slider-wrapper {
    height: 100%;
}

.block-catalog .slick-slide {
    border-radius: 20px !important;
    height: 280px;
    object-fit: cover;
    padding: 0;
    margin: 0 7.5px;
    border: 1px solid #000;
}

.block-catalog .slick-arrow {
    z-index: 1;
    top: 120px;
    left: -80px !important;
}

.block-catalog .arrow-right {
    left: auto !important;
    right: -80px !important;
}

.block-catalog .wp-desc {
    padding: 0 7.5px;
}

.wp-catalog-products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.wp-catalog-products .wp-card-product {
    max-width: calc(50% - 10px);
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
}

.wp-catalog-products .wp-card-product .armada-add-to-cart {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

.wp-header-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 10px;
}

.wp-header-product .wp-title {
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wp-header-product .wp-price {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 600;
    color: #A70000;
}

.pagination {
    min-width: 100%;
    display: flex;
    gap: 15px;
}

.pagination .page-item span, .pagination .page-item a {
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    color: #000;
}

.pagination .page-item span {
    background: #F2F1F1;
}

.wp-main-block-left .block-action-left {
    margin-top: 60px;
}

.wp-main-block-left .block-action-left h3 {
    font-size: 25px;
}

.wp-news-list {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wp-news-list > div {
    width: calc(100% / 3 - 8px);
}

figure.wp-block-gallery.has-nested-images {
    display: flex;
    gap: 10px;
}

.wp-block-image {
    border-radius: 20px;
    overflow: hidden;
}

.wp-block-image img {
    width: 100%;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    font-size: 18px;
    font-weight: 600;
}

.block-catalog .slider-img-wrap {
    overflow: hidden;
    position: relative;
}

.block-catalog .slider-img-wrap img {
    padding: 0;
    padding: 0;
    width: 100%;
    object-fit: cover;
}

.block-catalog .slider-img-wrap span {
    background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent);
    bottom: 0;
    color: #fff;
    font-size: 18px;
    left: 0;
    margin-bottom: 0;
    max-height: 60%;
    overflow: auto;
    padding: 8px;
    position: absolute;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.content-single-page h2 {
    color: #000;
    padding: 0;
}

.wp-catalog-products .wp-card-product img {
    height: 220px;
}

.wp-product-single-slider {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 15px rgb(0 0 0 / 25%);
}

.wp-product-single-header {
    display: block;
    padding: 10px 20px;
}

.armada-product-info {
    min-width: 0;
}

.armada-product-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 14px;
}

.wp-product-single-header .wp-h1 {
    font-size: 30px;
    margin-bottom: 0;
}

.armada-product-price {
    flex: 0 0 auto;
    color: #A70000;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.wp-product-desc {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 15px rgb(0 0 0 / 25%);
    padding: 20px;
}

.wp-product-desc .wp-h2 {
    font-size: 20px;
    color: #000;
}

.armada-recommended-products {
    margin-top: 24px;
    padding: 0;
    background: transparent;
}

.armada-recommended-products__title {
    margin: 0 0 18px;
    color: #000;
    font-size: 24px;
    line-height: 1.2;
}

.armada-recommended-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.armada-recommended-grid .wp-card-product {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.armada-recommended-grid .wp-card-product .wp-header-product {
    flex: 0 0 auto;
}

.armada-recommended-grid .wp-card-product .armada-add-to-cart {
    width: 100%;
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

.armada-page-product-blocks {
    margin-top: 24px;
}

.armada-page-product-blocks .wp-block-woocommerce-product-collection {
    width: 100%;
}

.armada-page-product-blocks .wp-block-woocommerce-product-collection .wp-block-post-template,
.armada-page-product-blocks .wp-block-woocommerce-product-collection .wc-block-product-template,
.armada-page-product-blocks .wp-block-woocommerce-product-collection .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.armada-page-product-blocks .wp-block-woocommerce-product-collection .wp-block-post-template > *,
.armada-page-product-blocks .wp-block-woocommerce-product-collection .wc-block-product-template > *,
.armada-page-product-blocks .wp-block-woocommerce-product-collection .wc-block-grid__products > * {
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 10px 15px !important;
    overflow: hidden;
    border-radius: 20px;
    background: #fff !important;
    box-shadow: 0 0 15px rgb(0 0 0 / 25%) !important;
    box-sizing: border-box;
}

.armada-page-product-blocks .wp-block-woocommerce-product-collection li {
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 10px 15px !important;
    overflow: hidden;
    border-radius: 20px;
    background: #fff !important;
    box-shadow: 0 0 15px rgb(0 0 0 / 25%) !important;
    box-sizing: border-box;
}

.armada-page-product-blocks .wp-block-woocommerce-product-image,
.armada-page-product-blocks .wc-block-components-product-image,
.armada-page-product-blocks .wc-block-grid__product-image {
    width: calc(100% + 20px);
    margin: 0 -10px;
}

.armada-page-product-blocks .wp-block-woocommerce-product-image img,
.armada-page-product-blocks .wc-block-components-product-image img,
.armada-page-product-blocks .wc-block-grid__product-image img {
    display: block;
    width: 100%;
    height: 220px;
    max-width: none;
    object-fit: cover;
}

.armada-page-product-blocks .wp-block-post-title,
.armada-page-product-blocks .wc-block-components-product-title,
.armada-page-product-blocks .wc-block-product-title,
.armada-page-product-blocks .wc-block-grid__product-title {
    display: -webkit-box;
    min-height: 40px;
    margin: 10px 0;
    overflow: hidden;
    color: #111;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.armada-page-product-blocks .wp-block-post-title a,
.armada-page-product-blocks .wc-block-components-product-title a,
.armada-page-product-blocks .wc-block-product-title a,
.armada-page-product-blocks .wc-block-grid__product-title a {
    color: #111 !important;
    text-decoration: none !important;
}

.armada-page-product-blocks .wp-block-woocommerce-product-price,
.armada-page-product-blocks .wc-block-components-product-price,
.armada-page-product-blocks .wc-block-grid__product-price {
    margin: 0 0 10px;
    color: #a70000;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
}

.armada-page-product-blocks .wp-block-woocommerce-product-button,
.armada-page-product-blocks .wc-block-components-product-button,
.armada-page-product-blocks .wc-block-grid__product-add-to-cart {
    width: 100%;
    margin-top: auto;
}

.armada-page-product-blocks .wp-block-woocommerce-product-button .wp-block-button,
.armada-page-product-blocks .wp-block-woocommerce-product-button .wp-block-button__link,
.armada-page-product-blocks .wc-block-components-product-button__button,
.armada-page-product-blocks .wc-block-grid__product-add-to-cart .wp-block-button__link,
.armada-page-product-blocks .wc-block-grid__product-add-to-cart a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px !important;
    background: #ab0014 !important;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
}

.armada-page-product-blocks .wp-block-woocommerce-product-button .wp-block-button__link:hover,
.armada-page-product-blocks .wc-block-grid__product-add-to-cart a:hover {
    background: #820010 !important;
    color: #fff !important;
}

@media screen and (max-width: 767px) {
.armada-page-product-blocks .wp-block-woocommerce-product-collection .wp-block-post-template,
.armada-page-product-blocks .wp-block-woocommerce-product-collection .wc-block-product-template,
.armada-page-product-blocks .wp-block-woocommerce-product-collection .wc-block-grid__products {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .armada-page-product-blocks .wp-block-woocommerce-product-image img,
    .armada-page-product-blocks .wc-block-components-product-image img,
    .armada-page-product-blocks .wc-block-grid__product-image img {
        height: 150px;
    }
}

.block-photo .slider-img-wrap {
    overflow: hidden;
    position: relative;
    border-radius: 20px !important;
    height: 280px;
    object-fit: cover;
    padding: 0;
    border: 1px solid #000;
}

.wp-news-list > div {
    width: calc(100% / 3 -10px);
}

.block-photo .slider-img-wrap img {
    padding: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-photo .slider-img-wrap span {
    background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent);
    bottom: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.1;
    left: 0;
    margin-bottom: 0;
    max-height: 60%;
    overflow: auto;
    padding: 8px;
    position: absolute;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.wp-main-block-left form {
    position: relative;
}

.wp-main-block-left label + button {
    position: absolute;
    top: 50%;
    right: 15px;
    border-radius: 20px;
    border: 1px solid #d2d2d2;
    transform: translate(0, -50%);
    padding: 0 10px 3px;
    background: #a5000a;
    color: #fff;
    display: flex;
}

.wp-block-gallery .wp-block-image {
    width: calc(100% / 3);
    position: relative;
}

.wp-block-gallery .wp-block-image figcaption {
    background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent);
    bottom: 0;
    color: #fff;
    font-size: 18px;
    left: 0;
    margin-bottom: 0;
    max-height: 60%;
    overflow: auto;
    padding: 8px;
    position: absolute;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {
    .wp-menu-wrap .navbar {
        background-color: rgb(249 249 249);
        border-bottom: 1px solid #D2D2D2;
        padding: 0 10px;
        box-shadow: 0 0 15px rgb(0 0 0 / 25%);
    }

    .wp-menu-wrap {
        border: none;
    }

    .navbar-light .navbar-toggler {
        outline: none !important;
        border: none;
        padding: 0;
    }

    .navbar-light .navbar-toggler .navbar-toggler-icon {
        width: 40px;
        height: 40px;
    }

    .navbar-nav.text-right {
        flex-direction: column !important;
        padding-bottom: 20px;
    }

    .navbar-nav.text-right > div {
        display: flex;
        flex-direction: column;
    }

    .navbar-light .navbar-nav .nav-link {
        font-weight: 600;
        color: #000;
    }

    .wp-main-block {
        gap: 60px;
        flex-direction: column;
    }

    .wp-main-block-left {
        width: 100%;
        max-width: 100%;
    }

    .wp-main-block-left ul {
        display: flex;
        flex-wrap: wrap;
        border: none;
        border-radius: 0;
        padding: 0;
        background: transparent;
        gap: 10px;
        box-shadow: none;
    }

    .wp-main-block-left ul li {
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        border: 1px solid rgb(0 0 0 / 25%);
        background: #fff;
        border-radius: 20px;
        padding: 0;
    }

    .wp-main-block-left ul li a {
        border: none;
        font-size: 14px;
        padding: 0px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 60px;
    }


    img.wp-delivery-img {
        display: none;
    }

    p.wp-delivery-slogan {
        font-size: 30px;
        line-height: 1.1;
    }

    .block-cachestva h2 {
        font-size: 28px;
    }

    .block-cachestva-wrap {
        gap: 40px 20px;
    }

    .block-cachestva-item {
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .block-cachestva-header {
        font-size: 14px;
    }

    .block-cachestva-header span:first-child {
        font-size: 44px;
    }

    .block-cachestva-body {
        font-size: 12px;
    }

    .block-cachestva {
        padding: 60px 0;
    }

    .block-action .container {
        flex-direction: column;
    }

    .block-action-left-item {
        width: 50%;
    }

    .block-action-left {
        flex-direction: row;
        gap: 10px;
    }

    .block-action-left-item h3 {
        height: 60px;
        font-size: 22px !important;
        display: flex;
        align-items: end;
    }

    .slick-slide {
        margin: 0 !important;
    }

    .block-action-right .slick-track {
        height: 280px;
    }

    .slider img.slick-arrow {
        width: 49px;
        height: 27px;
    }

    .block-action-right .slick-arrow {
        left: 0 !important;
    }

    .block-action-right .slick-arrow.arrow-right {
        left: auto !important;
        right: 0 !important;
    }

    .wp-desc {
        font-size: 15px;
    }

    .wp-catalog-header .wp-h2 {
        padding: 0;
        font-size: 28px;
    }

    .has-large-font-size strong {
        width: 100%;
        display: block;
        font-size: 28px;
        line-height: 1.2;
    }

    .has-large-font-size {
        font-size: 28px;
        line-height: 1.2;
    }

    .wp-catalog-header .wp-request-call {
        position: relative;
        top: auto;
        right: auto;
        margin: auto;
        height: 50px;
    }

    .wp-catalog-header {
        margin-bottom: 30px;
    }

    .block-catalog .slider {
        margin: 0 -15px;
    }

    .block-catalog .slick-slide {
        height: 250px;
    }

    .block-catalog .slick-arrow {
        display: none !important;
    }

    .wp-news-list > div {
        width: calc(100% / 2 - 5px);
    }

    .armada-recommended-products {
        padding: 0;
    }

    .armada-recommended-products__title {
        font-size: 22px;
    }

    .armada-recommended-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .wp-card-product img {
        height: 150px !important;
    }

.block-photo .slider-img-wrap {
        height: 180px;
    }

}

/* Финальная компоновка строки товара на мобильных экранах. */
@media screen and (max-width: 767px) {
    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item {
        grid-template-columns: 62px minmax(0, 1fr) !important;
        column-gap: 10px;
        padding: 12px 16px 16px !important;
        background: #fff;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td {
        box-sizing: border-box;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-remove {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-content: flex-end;
        min-height: 24px;
        padding: 0 0 6px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-thumbnail {
        display: flex !important;
        grid-column: 1;
        grid-row: 2;
        align-items: flex-start;
        justify-content: center;
        width: auto !important;
        padding: 8px 0 0 !important;
        text-align: center !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-thumbnail::before {
        display: none !important;
        content: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents .product-thumbnail img {
        display: block;
        width: 56px;
        height: 56px;
        margin: 0;
        object-fit: cover;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-name {
        grid-column: 2;
        grid-row: 2;
        align-items: flex-start;
        padding: 8px 0 12px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-name::before {
        flex: 0 0 54px;
        margin-right: 8px;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-name a {
        display: block;
        line-height: 1.45;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-price,
    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-quantity,
    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-subtotal {
        grid-column: 1 / -1;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-price {
        grid-row: 3;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-quantity {
        grid-row: 4;
    }

    body.woocommerce-cart .woocommerce-cart-form__contents tr.cart_item > td.product-subtotal {
        grid-row: 5;
        padding-bottom: 2px !important;
    }
}

/* Галерея изображений в записях: три ровные колонки на компьютере. */
.content-single-page figure.wp-block-gallery.has-nested-images {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch;
}

.content-single-page figure.wp-block-gallery.has-nested-images > figure.wp-block-image,
.content-single-page figure.wp-block-gallery.has-nested-images > .wp-block-image {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    height: 100% !important;
}

.content-single-page figure.wp-block-gallery.has-nested-images > figure.wp-block-image img,
.content-single-page figure.wp-block-gallery.has-nested-images > .wp-block-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .content-single-page figure.wp-block-gallery.has-nested-images {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* ===================== Юридические документы ===================== */
.armada-legal-document {
    width: 100%;
    max-width: 1040px;
    margin: 0 0 50px;
    color: #212529;
    font-size: 16px;
    line-height: 1.65;
}

.armada-legal-document h2 {
    margin: 34px 0 14px;
    color: #111;
    font-size: 25px;
    line-height: 1.3;
}

.armada-legal-document p {
    margin: 0 0 13px;
}

.armada-legal-document a:not(.armada-button),
.armada-footer-legal-links a,
.armada-checkout-consent a,
.armada-cookie-notice a {
    color: #ab0014;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.armada-legal-document__download {
    margin-top: 34px !important;
}

.armada-legal-document__download .armada-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 8px;
    background: #ab0014;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.armada-footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 14px;
}

.armada-footer-legal-links a {
    color: #fff !important;
    font-weight: 500;
    line-height: 1.4;
    text-decoration-color: rgba(255, 255, 255, .65);
}

.armada-footer-legal-links a:hover,
.armada-footer-legal-links a:focus {
    color: #f2b8bf !important;
    text-decoration-color: currentColor;
}

/* ===================== Согласия при оформлении заказа ===================== */
body.woocommerce-checkout .armada-checkout-consents {
    display: grid;
    gap: 12px;
    margin: 0 0 20px;
    padding: 17px 18px;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: #fff;
}

body.woocommerce-checkout .armada-checkout-consent {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin: 0 !important;
    color: #343a40;
    font-size: 14px !important;
    line-height: 1.5 !important;
    cursor: pointer;
}

body.woocommerce-checkout .armada-checkout-consent__checkbox {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: #ab0014;
    cursor: pointer;
}

body.woocommerce-checkout .armada-checkout-consent .required {
    margin-left: 3px;
    color: #ab0014;
    text-decoration: none;
}

/* ===================== Уведомление о cookie ===================== */
.armada-cookie-notice {
    position: fixed;
    z-index: 10050;
    right: 24px;
    bottom: 24px;
    display: none;
    width: min(560px, calc(100vw - 48px));
    padding: 25px 28px 23px;
    box-sizing: border-box;
    border: 1px solid rgba(171, 0, 20, .16);
    border-top: 4px solid #ab0014;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .22);
    color: #343a40;
}

.armada-cookie-notice.is-visible {
    display: block;
}

.armada-cookie-notice p {
    margin: 0 26px 18px 0;
    font-size: 16px;
    line-height: 1.55;
}

.armada-cookie-notice__accept {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 48px;
    padding: 10px 24px;
    border: 0;
    border-radius: 8px;
    background: #ab0014;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.armada-cookie-notice__accept:hover,
.armada-cookie-notice__accept:focus {
    background: #820010;
}

.armada-cookie-notice__close {
    position: absolute;
    top: 10px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6c757d;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .armada-legal-document {
        font-size: 15px;
        line-height: 1.55;
    }

    .armada-legal-document h2 {
        margin-top: 28px;
        font-size: 21px;
    }

    .armada-footer-legal-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    body.woocommerce-checkout .armada-checkout-consents {
        padding: 15px;
    }

    .armada-cookie-notice {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 22px 18px 18px;
        border-radius: 14px;
    }

    .armada-cookie-notice p {
        margin-right: 24px;
        font-size: 14px;
    }

    .armada-cookie-notice__accept {
        width: 100%;
    }
}
