/*
Theme Name: Neo Media
Theme URI: https://neomedia.io.vn/
Description: Neo Media Theme
Author: Neo Media
Template: bricks
Version: 1.0.1
Text Domain: neomedia
*/

body.bricks-is-frontend :focus-visible, *:focus {outline: none;}

a:hover {
    color: var(--color-primary);
    transition: all linear .3s;
}

.pricing-table-title {
    width: 100%;
}

.brxe-post-content ul li {
    margin-bottom: 10px;
}

.brxe-post-sharing {
    gap: 10px;
}

.wp-block-accordion-heading {
    font-size: 18px;
    background: #949366;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all linear .3s;
}
.wp-block-accordion-panel {
    background: #efefef78;
    padding: 20px;
    border-radius: 12px;
}
.is-open .wp-block-accordion-heading {
    background: #DCE25A;
    color: #333
}
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {text-decoration: none !important;}

.bricks-mobile-menu-wrapper {padding-top: 20px;}

.single-content h2, .single-content h3, .single-content h4 {padding-top: 10px;}

blockquote {
    font-family: 'Work Sans';
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    margin: 32px 0;
    padding: 28px 32px 28px 72px;
    border-left: 5px solid #6bbf59;
    background: linear-gradient(135deg, #f4fbf2 0%, #ffffff 100%);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(31, 74, 45, 0.1);
    color: #243829;
    font-size: 20px;
    line-height: 1.7;
    font-weight: 500;
}

blockquote::before {
    content: "\201C";
    position: absolute;
    top: 12px;
    left: 24px;
    font-size: 76px;
    line-height: 1;
    color: #6bbf59;
    font-family: Georgia, serif;
    opacity: 0.35;
}

blockquote p {
    margin: 0;
}

blockquote cite {
    display: block;
    margin-top: 16px;
    color: #5f7f68;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
}
.sub-menu {padding-top: 15px;padding-bottom: 15px;}

.product-card:hover .actions {transform: scale(1);}
.ug-gallery-wrapper {font-family: inherit !important;}

.woocommerce-notices-wrapper {
    margin-bottom: 0;
}
.woocommerce-message {
    margin-top: 20px;
    border-radius: 12px;
    font-size: 14px;
    padding: 10px 10px 10px 20px;
}
.woocommerce-message .button {
    border-radius: 7px;
    font-weight: 600;
}
.added_to_cart.wc-forward {display: none;}

.nm-coupon-labels {
    display: grid;
    grid-template-columns: repeat(var(--nm-coupon-labels-columns, 3), minmax(0, 1fr));
    gap: 8px;
}

.nm-coupon-labels__item {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: url(assets/images/coupon_svg.png) no-repeat center center;
    min-width: 120px;
    background-size: 100% 100%;
    height: 44px;
    padding: 0 15px;
    justify-content: center;
    width: 100%;
}

.nm-coupon-labels-canvas .brx-offcanvas-inner {
    width: min(420px, 92vw);
    padding: 24px;
    background: #fff;
    flex-direction: column;
}

.nm-coupon-labels-canvas__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.nm-coupon-labels-canvas__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.nm-coupon-labels-canvas__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f0f1f2;
    color: #202124;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.nm-coupon-labels-canvas__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nm-coupon-labels-canvas__coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
}

.nm-coupon-labels-canvas__coupon-main {
    min-width: 0;
}

.nm-coupon-labels-canvas__code {
    font-weight: 700;
    line-height: 1.35;
}

.nm-coupon-labels-canvas__description {
    margin-top: 4px;
    color: #5f6368;
    font-size: 14px;
    line-height: 1.45;
}

.nm-coupon-labels-canvas__copy {
    flex: 0 0 auto;
    border: 0;
    border-radius: 6px;
    padding: 8px 12px;
    background: #202124;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.nm-coupon-labels-canvas__copy.is-copied {
    background: #138a72;
}

.nm-coupon-tooltip {
    position: absolute;
    z-index: 99999;
    max-width: min(320px, calc(100vw - 32px));
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(32, 33, 36, .96);
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -100%);
    transition: opacity .16s ease;
}

.nm-coupon-tooltip.is-visible {
    opacity: 1;
}

.single_add_to_cart_button + .nm-buy-now-button,
.nm-buy-now-button {
    background: var(--color-primary);
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 99px;
    flex: 1;
}

.nm-buy-now-button.is-loading {
    cursor: wait;
    opacity: .72;
}

.section-videos .splide__slide {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: .45;
    transform: scale(.95);
    transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}

.section-videos .splide__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: rgba(0, 0, 0, .34);
    transition: opacity .25s ease;
}

.section-videos .splide__slide video {
    display: block;
    width: 100%;
    height: auto;
}

.section-videos .splide__slide.is-active {
    z-index: 3;
    opacity: 1;
    transform: scale(1);
    filter: none;
}

.section-videos .splide__slide.is-active::after {
    opacity: 0;
}

.variations_form table.variations,
.variations_form table.variations tbody,
.variations_form table.variations tr,
.variations_form table.variations th,
.variations_form table.variations td {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.variations_form table.variations tr {
    margin: 0 0 18px;
}

.variations_form table.variations th.label {
    display: none;
}

.variations_form table.variations td.value {
    padding: 0;
}

.variations_form .nm-variation-select-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    border: 0 !important;
}

.nm-variation-cards {
    width: 100%;
}

.nm-variation-cards__label {
    margin: 10px 0 15px;
    color: #383838;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.nm-variation-cards__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.nm-variation-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    gap: 10px;
    padding: 10px 14px;
    overflow: hidden;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    background: #fff;
    color: #242424;
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.nm-variation-card:hover {
    border-color: #12998e;
    box-shadow: 0 2px 10px rgba(18, 153, 142, .12);
}

.nm-variation-card.is-selected {
    border-color: #000;
}

.nm-variation-card.is-disabled {
    cursor: not-allowed;
    opacity: .48;
}

.nm-variation-card__image {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border-radius: 4px;
    background: #f3f4f5;
}

.nm-variation-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nm-variation-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.nm-variation-card__title {
    color: #252525;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.nm-variation-card__price {
    color: var(--color-danger);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.nm-variation-card__check {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    transform: translate(8px, 8px);
    border-radius: 8px 0 0 0;
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.nm-variation-card.is-selected .nm-variation-card__check {
    transform: translate(0, 0);
    opacity: 1;
}

.variations_form .reset_variations {
    display: none;
}

.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: nowrap;
}

.woocommerce div.product form.cart .quantity {
    display: flex;
    flex: 0 0 auto;
    height: 48px;
    margin: 0;
}

.woocommerce div.product form.cart .quantity input.qty,
.woocommerce div.product form.cart .quantity button,
.woocommerce div.product form.cart .quantity .minus,
.woocommerce div.product form.cart .quantity .plus {
    height: 48px;
    min-height: 48px;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 68px;
    border: 1px solid #dedede;
    background: #fff;
    color: #222;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.woocommerce div.product form.cart .quantity .minus,
.woocommerce div.product form.cart .quantity .plus {
    width: 44px;
    border: 1px solid #dedede;
    background: #fff;
    color: #222;
    font-size: 16px;
    line-height: 1;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    height: 48px;
    margin: 0;
    padding: 0 28px;
    border: 1px solid #000;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:focus {
    border-color: #222;
    background: #222;
    color: #fff;
}

.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled {
    background: #777;
    border-color: #777;
    color: #fff;
    opacity: .7;
}
.woocommerce-tabs {border-bottom: none;}
.woocommerce-tabs .woocommerce-Tabs-panel {padding-bottom: 0;}

.brxe-product-add-to-cart form.cart:not(.variations_form),
.brxe-product-add-to-cart form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.brxe-product-add-to-cart form.cart .quantity, .brxe-product-add-to-cart form.cart .single_add_to_cart_button, .single_add_to_cart_button + .nm-buy-now-button, .nm-buy-now-button {
    height: 52px;
    min-height: 52px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
}

.brxe-product-add-to-cart form.cart .quantity {
    display: flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    border: 1px solid var(--color-primary);
    border-radius: 99px;
    overflow: hidden;
    background: #ddf0f0;
}

.brxe-product-add-to-cart form.cart .quantity input.qty,
.brxe-product-add-to-cart form.cart .quantity button,
.brxe-product-add-to-cart form.cart .quantity .minus,
.brxe-product-add-to-cart form.cart .quantity .plus {
    height: 51px;
    min-height: 52px;
    width: 48px;
}

.brxe-product-add-to-cart form.cart .quantity .minus,
.brxe-product-add-to-cart form.cart .quantity .plus {
    background: none;
    opacity: 1;
    border: none;
}

.brxe-product-add-to-cart form.cart .quantity input.qty:focus-visible {
    outline: none;
}

.brxe-product-add-to-cart form.cart .quantity input.qty {
    width: 70px;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 18px;
}

.brxe-product-add-to-cart form.cart .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    padding: 0 30px;
    border: 1px solid var(--color-primary);
    background: none;
    line-height: 1;
    color: var(--color-primary);
    border-radius: 99px;
    text-transform: uppercase;
    flex: 1;
}

.brxe-product-add-to-cart form.cart .single_add_to_cart_button:hover,
.brxe-product-add-to-cart form.cart .single_add_to_cart_button:focus {
    border-color: #222 !important;
    background: #222 !important;
    color: #fff !important;
}

table {
    width: 100%;
    margin: 18px 0 26px;
    overflow: hidden;
    border: 1px solid #d9dde1;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    background: #fff;
    color: #2f3337;
    font-size: 15px;
    line-height: 1.55;
}

table th,
table td {
    padding: 14px 16px;
    border-right: 1px solid #e4e7ea;
    border-bottom: 1px solid #e4e7ea;
    vertical-align: top;
}

table th:last-child,
table td:last-child {
    border-right: 0;
}

table tr:last-child th,
table tr:last-child td {
    border-bottom: 0;
}

table tr:nth-child(even) {
    background: #fafbfc;
}

table h3,
table h4 {
    margin: 0;
    padding: 0;
    color: #111;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
}
table h3 b,
table h3 strong {
    font-weight: 700;
    font-size: 20px;
}
table h3 {
    font-size: 18px;
}

table h4 {
    font-size: 15px;
}

table p,
table ul,
table ol {
    margin-top: 0;
    margin-bottom: 8px;
}

table p:last-child,
table ul:last-child,
table ol:last-child {
    margin-bottom: 0;
}

table ul,
table ol {
    padding-left: 18px;
}

.woocommerce-variation.single_variation {margin-bottom: 10px;}

.single_variation_wrap .woocommerce-Price-amount {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-danger);
}

.single_variation_wrap .woocommerce-variation-price .price,
.woocommerce div.product .summary .price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    color: #111;
}

.single_variation_wrap .woocommerce-variation-price .price del,
.woocommerce div.product .summary .price del {
    color: #111;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    opacity: 1;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.single_variation_wrap .woocommerce-variation-price .price del .woocommerce-Price-amount,
.woocommerce div.product .summary .price del .woocommerce-Price-amount {
    color: #111;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: inherit;
}

.single_variation_wrap .woocommerce-variation-price .price ins,
.woocommerce div.product .summary .price ins {
    color: var(--color-danger);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.single_variation_wrap .woocommerce-variation-price .price ins .woocommerce-Price-amount,
.woocommerce div.product .summary .price ins .woocommerce-Price-amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .woocommerce-Tabs-panel table,
    .brxe-post-content table,
    .single-content table {
        display: block;
        overflow-x: auto;
        border-radius: 6px;
        font-size: 14px;
    }

    .woocommerce-Tabs-panel table th,
    .woocommerce-Tabs-panel table td,
    .brxe-post-content table th,
    .brxe-post-content table td,
    .single-content table th,
    .single-content table td {
        min-width: 160px;
        padding: 12px;
    }
}

/* Checkout / cart */
.woocommerce-checkout .woocommerce,
.woocommerce-cart .woocommerce {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 20px;
}

.woocommerce .before-cart {padding: 0;}

.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce .wc-empty-cart-message {
    margin: 0;
    padding: 14px 18px;
    border: 1px solid #d7ddd8;
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
    background: #fff;
    color: #222;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
    font-size: 16px;
}

.woocommerce .wc-empty-cart-message {
    padding:0;
    background: none;
    border: none;
}

.woocommerce .wc-empty-cart-message p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.woocommerce .return-to-shop {
    margin: 0;
}

.woocommerce .return-to-shop .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid #111;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.woocommerce-checkout h1 {
    text-align: center;
    padding-top: 50px;
    font-weight: 800;
    margin-top: 0;
}

.woocommerce .return-to-shop .button:hover,
.woocommerce .return-to-shop .button:focus {
    background: #222;
    border-color: #222;
    color: #fff;
    transform: translateY(-1px);
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
    width: 100%;
    border: 1px solid #dde2e6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
    overflow: hidden;
    margin: 0;
}

.woocommerce-cart table.shop_table button[name="update_cart"],
.woocommerce-checkout table.shop_table button[name="update_cart"] {
    font-weight: 600;
    background: black;
    color: white;
    height: 44px;
    border-radius: 7px;
}

.woocommerce-cart-form .coupon {gap: 10px;}

.woocommerce-cart-form .coupon input {
    height: 44px;
    border-radius: 7px;
}

form.cart .quantity, form.woocommerce-cart-form .quantity {
    width: 150px;
}

.woocommerce-cart-form .coupon button {
    height: 44px;
    background: black;
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: 600;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
    padding: 16px 18px;
    border-left: none;
    border-right: none;
    vertical-align: middle;
}

.woocommerce-checkout table.shop_table td.product-thumbnail {width: 100px;}

.woocommerce-checkout table.shop_table .product-name a {font-size: 16px;}

.woocommerce-cart-form .product-thumbnail img {width: 80px;border-radius: 7px;}

.woocommerce-cart table.shop_table thead th,
.woocommerce-checkout table.shop_table thead th {
    background: #f7f8f9;
    color: #1c1f23;
    font-weight: 900;
    border: none;
    font-size: 20px;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon {
    border: 1px solid #dde2e6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.woocommerce-cart .cart-collaterals {
    padding: 18px;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon {
    margin-bottom: 18px;
    padding: 16px 18px;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
    margin: 0 0 14px;
    color: #111;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    margin-bottom: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    border-top: 1px solid #edf1f3;
    font-weight: 600;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper .form-row-wide {
    grid-column: span 2;
}

.woocommerce-checkout form .form-row label {
    display: block;
    margin: 0 0 8px;
    color: #20252a;
    font-size: 16px;
    font-weight: 600;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .select2-container .select2-selection--single,
.woocommerce-checkout form .select2-container .select2-selection--multiple {
    min-height: 48px;
    border: 1px solid #d6dbe0;
    border-radius: 7px;
    background: #fff;
    color: #1b1f23;
    box-shadow: none;
}

.woocommerce-checkout form .form-row textarea {
    min-height: 120px;
    padding-top: 12px;
}

.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row textarea:focus,
.woocommerce-checkout form .select2-container--focus .select2-selection--single,
.woocommerce-checkout form .select2-container--focus .select2-selection--multiple {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.woocommerce-checkout .woocommerce-shipping-fields {
    border-top: 1px dashed #ebebeb;
    margin-top: 0;
    border-bottom: 1px dashed #ebebeb;
}

.woocommerce-checkout .woocommerce-checkout-payment {
    border: 0;
    background: transparent;
}

.woocommerce-checkout #place_order,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .actions .button,
.woocommerce-cart .actions .coupon .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid #111;
    border-radius: 7px;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    text-transform: uppercase;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-checkout #place_order:focus,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus,
.woocommerce-cart .actions .button:hover,
.woocommerce-cart .actions .button:focus,
.woocommerce-cart .actions .coupon .button:hover,
.woocommerce-cart .actions .coupon .button:focus {
    background: #222;
    border-color: #222;
    color: #fff;
    transform: translateY(-1px);
}

.woocommerce-checkout #payment {
    padding: 0;
    border: 0;
    background: transparent;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
    border-bottom: 1px solid #edf1f3;
}

.woocommerce-checkout #payment .place-order {
    margin-top: 15px;
    padding: 0;
    margin-bottom: 0;
}

.woocommerce-cart .cart-empty {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

/* Checkout layout refinement */
.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    align-items: start;
    padding: 0 0 50px;
}

.woocommerce-checkout form.checkout::before,
.woocommerce-checkout form.checkout::after,
.woocommerce-checkout #customer_details::before,
.woocommerce-checkout #customer_details::after,
.woocommerce-checkout .col2-set::before,
.woocommerce-checkout .col2-set::after {
    display: none;
    content: none;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none;
    width: 100%;
}
form.woocommerce-checkout > div {
    min-width: 0;
    padding: 24px;
    border: 1px solid #dde2e6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.woocommerce-checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 15px;
    padding: 0;
}

.woocommerce-checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    position: sticky;
    top: 24px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last {
    grid-column: span 1;
    width: 100%;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper .form-row-wide {
    grid-column: span 2;
}

.woocommerce-checkout .form-row {
    margin: 0 0 20px;
    padding: 0;
}

.woocommerce-checkout .form-row.notes {margin: 0;}

.woocommerce-checkout .select2-container {
    width: 100% !important;
    height: 48px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    height: 40px;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 16px;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .select2-container .select2-selection--single,
.woocommerce-checkout form .select2-container .select2-selection--multiple {
    width: 100%;
    padding: 0 14px;
    font-size: 16px;
}

.brxe-woocommerce-mini-cart .cart-detail li:not(:last-child) {
    padding-bottom: 15px;
    border-bottom: 1px dashed #d9d9d9;
}

.brxe-woocommerce-mini-cart .cart-detail li a {
    display: block;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.brxe-woocommerce-mini-cart .cart-detail img {
    width: 80px;
    border-radius: 7px;
}

.brxe-woocommerce-mini-cart .cart-detail li .quantity {
    font-size: 16px;
    color: #333;
}

.brxe-woocommerce-mini-cart .cart-detail li .quantity .amount {
    font-weight: bold;
    color: var(--color-primary);
}

.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__buttons a {
    background: var(--color-primary);
    color: white;
    height: 48px;
    line-height: 50px;
    border-radius: 7px;
}

.brxe-woocommerce-mini-cart .cart-detail.off-canvas.right .woocommerce-mini-cart__total .amount {
    color: var(--color-primary);
    font-weight: bold;
}

.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__buttons a:first-child {display: none;}

.select2-results__options {font-size: 16px;}

.woocommerce-checkout form .form-row textarea {padding: 10px 14px;}

.woocommerce-checkout form .select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 34px;
    padding-left: 0;
    line-height: 46px;
}

.woocommerce-checkout form .select2-container .select2-selection--single .select2-selection__arrow {
    height: 48px;
}

.woocommerce-checkout .woocommerce-additional-fields h3 {
    margin-top: 22px;
}

.woocommerce-checkout .woocommerce-shipping-fields h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0;
    font-size: 18px;
}

.woocommerce-checkout .woocommerce-shipping-fields h3 label {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
}

.woocommerce-checkout .woocommerce-shipping-fields h3 input {
    flex: 0 0 auto;
}

.woocommerce-checkout #payment .payment_methods li {
    margin: 0;
    padding: 12px 0;
}

.woocommerce-checkout #payment .payment_methods label {
    font-weight: 700;
}

.woocommerce-checkout #payment div.payment_box {
    margin: 10px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f5f6f7;
    color: #34383d;
}

.woocommerce-checkout #place_order {
    width: 100%;
    margin-top: 10px;
}

.woocommerce-privacy-policy-text {font-size: 16px;}

.shipping__table--multiple tbody, .shipping__table--multiple td, .shipping__table--multiple th, .shipping__table--multiple tr {
    display: block;
    padding-left: 0;
    text-align: left;
}

.woocommerce-checkout #order_review table.shop_table:not(.shipping__table) th:first-child,
.woocommerce-checkout #order_review table.shop_table:not(.shipping__table) td:first-child {
    width: 68%;
}

.woocommerce-checkout #order_review table.shop_table:not(.shipping__table) th:last-child,
.woocommerce-checkout #order_review table.shop_table:not(.shipping__table) td:last-child {
    width: 32%;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping {
    display: block;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping th,
.woocommerce-checkout #order_review table.shop_table tr.shipping td {
    display: block;
    width: 100% !important;
    padding-right: 14px;
    padding-left: 14px;
    border-right: 0;
    text-align: left;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping th {
    padding-bottom: 8px;
    color: #34383d;
    font-size: 14px;
    font-weight: 700;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping td {
    padding-top: 0;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping .woocommerce-shipping-methods,
.woocommerce-checkout #order_review table.shop_table tr.shipping ul#shipping_method {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping .woocommerce-shipping-methods li,
.woocommerce-checkout #order_review table.shop_table tr.shipping ul#shipping_method li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    padding: 12px;
    border: 1px solid #dde2e6;
    border-radius: 4px;
    background: #fff;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping .woocommerce-shipping-methods li:has(input:checked),
.woocommerce-checkout #order_review table.shop_table tr.shipping ul#shipping_method li:has(input:checked) {
    border-color: #bfc8d1;
    background: #f9fafb;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping input[type="radio"] {
    flex: 0 0 auto;
    margin: 2px 0 0;
}

.woocommerce-checkout #order_review table.shop_table tr.shipping label {
    display: block;
    margin: 0;
    color: #1f2429;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}

.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tfoot {
    display: block;
    width: 100%;
}

.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr:not(.shipping) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    align-items: center;
    width: 100%;
    background: none;
}

.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr:not(.shipping) th,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr:not(.shipping) td {
    display: block;
    width: auto !important;
    min-width: 0;
    border-right: 0;
}

.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr:not(.shipping) th:last-child,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr:not(.shipping) td:last-child {
    text-align: right;
}

.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.shipping {
    display: block !important;
    width: 100% !important;
}

.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.shipping td {padding-top: 15px;}

.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.shipping th,
.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.shipping td {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.shipping td {
    padding-bottom: 16px;
}

.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table tr.shipping ul#shipping_method li {
    width: 100%;
    box-sizing: border-box;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #333 transparent transparent transparent;
}

.woobt-products .woobt-product:last-child {border: none;}

.woobt-wrap .woobt-products {
    margin: 20px 0;
    background: white;
    padding: 10px 20px;
    border-radius: 12px;
}

.woobt-wrap .amount {
    color: var(--color-danger);
    font-weight: 600;
}

.woobt-wrap .woobt-total .amount {font-size: 22px;}

.woobt-products .woobt-product .woobt-title {font-size: 14px;}

.woobt-wrap .woobt-products .woobt-checkbox {
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid #b7b7b7;
    border-radius: 3px;
    background: #fff;
    box-shadow: inset 0 0 0 3px #fff;
    padding: 0;
}

.woobt-wrap .woobt-products .woobt-checkbox:checked {
    border-color: black;
    background: black;
}
.before-checkout {display: none;}

@media screen and (max-width: 1024px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        grid-column: auto;
        grid-row: auto;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order {
        position: static;
    }
}
@media screen and (max-width: 991px) {
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
    .woocommerce-checkout .woocommerce-additional-fields__field-wrapper .form-row-wide {
        grid-column: auto;
    }
}

@media screen and (max-width: 767px) {
    .woocommerce-checkout .woocommerce,
    .woocommerce-cart .woocommerce {
        padding: 0;
    }

    .woocommerce .wc-empty-cart-message {
        flex-direction: column;
        align-items: flex-start;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order,
    .woocommerce-cart .cart-collaterals {
        padding: 14px;
    }

    .woocommerce-cart table.shop_table th,
    .woocommerce-cart table.shop_table td,
    .woocommerce-checkout table.shop_table th,
    .woocommerce-checkout table.shop_table td {
        padding: 12px 14px;
    }
    .woocommerce-checkout table.shop_table td.product-thumbnail {border: none;}
    form.woocommerce-checkout > div, .woocommerce-cart table.shop_table, .woocommerce-checkout table.shop_table {border-radius: 0;border-left: honeydew;border-right: none;}
    .woocommerce-checkout table.shop_table td.product-remove {
        position: absolute;
        border: none;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: black;
        top: 12px;
        color: white;
        right: 0;
    }
    .woocommerce-cart-form .product-remove a {font-size: 26px;}
    .nm-variation-cards__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .woocommerce .before-cart {padding: 0 20px;}
}
@media screen and (max-width: 640px) {
    .woocommerce-checkout #customer_details {
        padding: 16px;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
    .woocommerce-checkout .woocommerce-additional-fields__field-wrapper .form-row-wide {
        grid-column: auto;
    }
}

@media screen and (max-width: 420px) {
    .nm-variation-cards__list {
        grid-template-columns: 1fr;
    }

    .woocommerce div.product form.cart:not(.variations_form),
    .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
        flex-wrap: wrap;
    }

    .woocommerce div.product form.cart .single_add_to_cart_button {
        flex: 1 1 100%;
    }
}
