body {
    background-color: #f3f3f3;
}

.byno-seperate-cart-page {
    display: -webkit-grid;
    display: grid;
    -webkit-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 5px;
    padding-bottom: 175px;
}

.byno-grid-cart-page {
    display: -webkit-grid;
    display: grid;
    -webkit-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 10px;
}

.woocommerce-cart-item-byno {
    display: flex;
    flex-direction: row;
    gap: 15px;
    background: var(--byno-var-color-light-dark-bg);
    padding: 10px;
    border-radius: 25px;
}

.inner-image-cart-item-woo-byno {
    display: flex;
    background: var(--byno-var-color-light-dark-opacity-bg);
    border-radius: 20px;
    padding: 8px;
    height: fit-content;
    width: 100%;
    margin: auto;
    max-width: 110px;
}

.inner-image-cart-item-woo-byno>a,
.inner-image-cart-item-woo-byno>a img {
    border-radius: 15px;
    width: 100%;
    height: fit-content;
    display: flex;
    margin: auto;
    justify-content: center;
}

.title-quantity-item-cart-woo-byno {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
    justify-content: space-around;
    flex: 1;
    padding-left: 5px;
}

.title-quantity-item-cart-woo-byno>a {
    font-size: 16px;
    font-weight: bold;
}

.price-item-cart-woo-byno {
    font-size: 18px;
    font-weight: bold;
}

.price-item-cart-old-byno {
    font-size: 13px;
    text-decoration: line-through;
    opacity: 0.65;
}

.price-item-cart-discount-byno {
    font-size: 12px;
    color: var(--byno-var-main-color);
}

.quantity-remove-btn-byno {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    width: 100%;
}

.quantity-remove-btn-byno .remove {
    background: #ff3b3b1f;
    display: flex !important;
    padding: 7px;
    border-radius: 7px !important;
    width: fit-content !important;
    height: fit-content !important;
}

.quantity-remove-btn-byno .remove:hover {
    background: #ff3b3b1f !important;
}

.byno-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--byno-var-color-light-dark-opacity-bg);
    border-radius: 10px;
    padding: 6px 8px;
    width: fit-content;
}

.byno-quantity button {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: var(--byno-var-color-light-dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--byno-var-color-light-dark-text);
    transition: all 0.2s;
    padding: 0;
}

.byno-quantity button:hover {
    background: var(--byno-var-main-color);
    transform: scale(1.05);
}

.byno-quantity button:hover svg path {
    stroke: #fff;
}

.byno-quantity button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: scale(1);
}

.byno-quantity .quantity-input {
    text-align: center;
    width: 40px !important;
    border: none !important;
    background: transparent !important;
    color: var(--byno-var-color-light-dark-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 8px !important;
    height: auto !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

.byno-quantity .quantity-input::-webkit-outer-spin-button,
.byno-quantity .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.byno-quantity .quantity-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    margin: 10px auto;
}

.byno-seperate-cart-page .cart-collaterals {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 15px 12px;
    background: var(--byno-var-color-light-dark-bg);
    border-radius: 15px;
    max-width: calc(100vw - 24px);
    margin: auto;
}

.byno-totals-cart-table div>span:first-child {
    font-weight: bold;
}

.byno-seperate-cart-page .cart-collaterals .cart_totals {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100% !important;
}

.byno-seperate-cart-page .cart-collaterals .cart_totals .wc-proceed-to-checkout {
    display: none;
}

.byno-cart-summary-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 4px;
}

.byno-cart-summary-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.byno-cart-summary-subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--byno-var-color-light-dark-text);
    opacity: 0.72;
}

.byno-totals-cart-table {
    width: 100%;
    margin: auto !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.byno-totals-cart-table>div,
.byno-totals-cart-table>form {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
}

.byno-summary-row {
    align-items: center;
    background: var(--byno-var-color-light-dark-opacity-bg);
    border-radius: 12px;
    padding: 12px;
}

.byno-summary-row>span:last-child {
    font-weight: 600;
}

.byno-discount-total {
    border: 1px solid color-mix(in srgb, var(--byno-var-main-color) 35%, transparent);
}

.byno-discount-total>span:last-child {
    color: var(--byno-var-main-color);
}

.byno-totals-cart-table .cart-subtotal {
    width: 100%;
    margin: auto;
}

.wrapper-opener-coupon-cart-byno {
    background: var(--byno-var-color-light-dark-opacity-bg);
    border-radius: 12px;
    padding: 12px;
    gap: 10px;
}

.coupon-opener-cart-byno {
    width: 100%;
    text-align: right;
    font-weight: 600;
}

.cart-coupon-byno {
    width: 100%;
}

.byno-totals-cart-table .shipping-methods {
    text-align: end;
}

.cart-shipping {
    border-radius: 12px;
    padding: 12px;
}

.cart-shipping .shipping-header {
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-shipping .shipping-method {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-shipping .shipping-methods-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-shipping .shipping-methods-list li {
    margin: 0;
}

.cart-shipping .shipping-destination {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.8;
}

.popup-nav-woo-byno .order-total {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 2px;
}

.popup-nav-woo-byno .order-total>span:first-child {
    font-size: 13px;
    opacity: 0.65;
}

.popup-nav-woo-byno .order-total>span:last-child {
    font-size: 20px;
    font-weight: 700;
    color: var(--byno-var-main-color);
}

.popup-nav-woo-byno {
    display: flex;
    flex-direction: column;
    width: 95%;
    background: var(--byno-var-color-light-dark-bg);
    align-items: stretch;
    padding: 14px 16px 16px;
    position: fixed;
    bottom: 12px;
    left: 50%;
    gap: 12px;
    z-index: 99;
    border-radius: 28px;
    transform: translateX(-50%);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 28px -8px rgba(0, 0, 0, .22);
}

.checkout-btn-proceed-byno {
    background: var(--byno-var-main-color) !important;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 17px 10px !important;
    color: #fff !important;
    font-size: 17px !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 20px -6px var(--byno-var-main-color);
    transition: opacity .18s, transform .12s;
}

.checkout-btn-proceed-byno:active {
    transform: scale(0.975);
    opacity: 0.88;
}

.checkout-btn-proceed-byno svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.checkout-hint-byno {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: -4px 0 0;
    font-size: 11px;
    opacity: 0.6;
    text-align: center;
}

button#place_order.checkout-btn-proceed-byno {
    padding: 17px 10px !important;
    width: 100%;
    font-size: 17px !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    margin: auto !important;
}

/* ─── Progress steps ─── */
.item-order-roadmap-byno {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    position: relative;
    z-index: 2;
    background: none;
}

.item-order-roadmap-byno:not(.active) {
    opacity: 0.4;
}

.step-num-byno {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    font-style: normal;
    background: var(--byno-var-color-light-dark-opacity-bg);
    transition: background .25s, color .25s, transform .25s;
}

.item-order-roadmap-byno.active .step-num-byno {
    background: var(--byno-var-main-color);
    color: #fff;
    transform: scale(1.1);
}

.title-step-woo-byno {
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    position: static;
    margin: 0;
    transition: color .25s;
}

.item-order-roadmap-byno.active .title-step-woo-byno {
    color: var(--byno-var-main-color);
    font-weight: 600;
}

.theme-buyno.woocommerce-checkout .order-total {
    display: none;
}

/* ─── Top roadmap bar ─── */
.byno-woo-top-roadmap {
    width: 100%;
    background: var(--byno-var-color-light-dark-bg);
    padding: 15px 18px;
    max-width: 93vw;
    margin: 15px auto;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.byno-woo-top-roadmap .order-roadmap-woo-byno-wrapper {
    margin: 0;
    width: 100%;
}

.order-roadmap-woo-byno-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0;
    margin: 2px 0;
    position: relative;
}

.step-connector-byno {
    flex: 2;
    height: 2px;
    border-radius: 2px;
    background: var(--byno-var-color-light-dark-opacity-bg);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.step-connector-byno::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--byno-var-main-color);
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .35s ease;
}

/* fill first connector on checkout page */
.theme-buyno.woocommerce-checkout .order-roadmap-woo-byno-wrapper>.step-connector-byno:nth-child(2)::after {
    transform: scaleX(1);
}

/* fill both connectors on order-received page */
.theme-buyno.woocommerce-order-received .order-roadmap-woo-byno-wrapper>.step-connector-byno::after {
    transform: scaleX(1);
}

.theme-buyno.woocommerce-order-received .woo-step-cart-byno,
.theme-buyno.woocommerce-order-received .woo-step-checkout-byno,
.theme-buyno.woocommerce-order-received .woo-step-thankyou-byno {
    opacity: 1;
}

.theme-buyno.woocommerce-order-received .woo-step-thankyou-byno .step-num-byno {
    background: var(--byno-var-main-color);
    color: #fff;
    transform: scale(1.1);
}

.theme-buyno.woocommerce-order-received .woo-step-thankyou-byno .title-step-woo-byno {
    color: var(--byno-var-main-color);
    font-weight: 600;
}

.cart-coupon-byno {
    display: none;
    flex-direction: column;
    padding: 0;
    gap: 10px;
    max-width: 100%;
    margin: auto;
    width: 100%;
    min-height: 55px;
}

.cart-coupon-byno>p {
    margin-bottom: 10px;
    text-align: start;
}

.cart-coupon-byno .byno-label {
    padding: 0;
    border-radius: 12px;
    position: relative;
    height: 55px;
    flex: 1;
    border: 1.5px solid var(--byno-var-main-color);
    background: var(--byno-var-color-light-dark-bg);
    color: var(--byno-var-main-color);
    display: flex;
}

.form-checkout-byno .byno-label {
    padding: 0;
    border-radius: 12px;
    position: relative;
    height: fit-content;
    min-height: 55px;
    justify-content: center;
    align-items: center;
    flex: 1;
    border: 1.5px solid var(--byno-var-main-color);
    background: transparent;
    color: var(--byno-var-main-color);
    display: flex;
}

.form-checkout-byno .byno-label input,
.cart-coupon-byno .byno-label input {
    width: 100%;
    height: 100%;
    margin: auto;
    border-radius: 12px;
    padding: 12px 18px 0;
    background: transparent;
}

span.woocommerce-Price-currencySymbol {
    margin-right: 1px;
}

.cart-coupon-byno .byno-label input:focus,
.cart-coupon-byno .byno-label input:not(:placeholder-shown),
.form-checkout-byno .byno-label input:focus,
.form-checkout-byno .byno-label input:not(:placeholder-shown) {
    border-color: var(--byno-var-main-color);
}

.form-checkout-byno .inner-label-input-byno,
.cart-coupon-byno .inner-label-input-byno {
    position: absolute;
    left: 18px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    transition: all 0.2s ease-in-out;
    color: var(--byno-var-main-color);
}

.form-checkout-byno .byno-label input:not(:placeholder-shown)+.inner-label-input-byno,
.form-checkout-byno .byno-label input:focus+.inner-label-input-byno,
.cart-coupon-byno .byno-label input:not(:placeholder-shown)+.inner-label-input-byno,
.cart-coupon-byno .byno-label input:focus+.inner-label-input-byno {
    top: 24%;
    transform: scale(0.8) translate(-14%, -50%);
    color: var(--byno-var-main-color);
}

.form-checkout-byno .woocommerce-LostPassword.lost_password>a,
.cart-coupon-byno .woocommerce-LostPassword.lost_password>a {
    color: var(--byno-var-main-color);
    font-size: 15px;
}

.form-checkout-byno button.button,
.cart-coupon-byno button.button {
    background: var(--byno-var-main-color) !important;
    padding: 11px !important;
    font-size: 14px !important;
    color: #fff !important;
    border-radius: 8px !important;
    width: fit-content;
    white-space: nowrap;
    margin: 4px !important;
    font-weight: 500 !important;
}

.coupon-opener-cart-byno {
    border-radius: 12px;
    position: relative;
    border: 1.5px solid var(--byno-var-main-color);
    background: transparent;
    color: var(--byno-var-main-color);
    min-height: 55px;
    align-items: center;
    text-align: center;
    justify-content: center !important;
    width: 100%;
}

.wrapper-opener-coupon-cart-byno {
    flex-direction: column !important;
}

.byno-coupon-notices {
    width: 100%;
    margin-top: 8px;
}

.byno-coupon-notices .inner-popup-wrapper-woo-byno {
    width: 100% !important;
    padding: 10px 12px !important;
    margin-top: -12px;
}

.byno-coupon-notices .woocommerce-error,
.byno-coupon-notices .woocommerce-info,
.byno-coupon-notices .woocommerce-message {
    margin: 0;
    width: 100%;
}

.byno-coupon-notices-checkout {
    margin-top: 0;
}

.byno-coupon-notices-checkout:empty {
    display: none;
}

.coupon_cart__checkbox_opener,
.byno-grid-cart-page button[name="update_cart"],
#coupon-cart-opener:checked+label {
    display: none;
}

#coupon-cart-opener:checked~.cart-coupon-byno {
    display: flex;
}

.woocommerce-form-login-toggle>a {
    border-radius: 12px;
    position: relative;
    border: 1.5px solid var(--byno-var-main-color);
    background: transparent;
    color: var(--byno-var-main-color);
    min-height: 55px;
    align-items: center;
    text-align: center;
    justify-content: center !important;
    width: 100%;
    display: flex;
    margin: 15px auto;
}

.woocommerce-form-coupon-toggle {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.woocommerce-form-coupon-toggle>a {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    color: var(--byno-var-main-color);
}

.woocommerce-form-coupon-toggle>a svg path {
    fill: var(--byno-var-main-color);
}

div#payment.woocommerce-checkout-payment {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: transparent;
}

div#payment.woocommerce-checkout-payment .form-row.place-order {
    margin-bottom: 40px;
}

div#payment.woocommerce-checkout-payment .form-row.place-order,
.wrapper-payment-methods-byno {
    background: var(--byno-var-color-light-dark-bg);
    border-radius: 15px;
    text-align: start;
}

.wrapper-payment-methods-byno .payment_methods.methods {
    border: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods.methods::before,
.woocommerce-checkout #payment div.payment_box::before,
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods.methods::after {
    display: none;
}

.wrapper-payment-methods-byno ul.payment_methods li {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100% !important;
    flex: 1;
}

.wrapper-payment-methods-byno ul.payment_methods li label {
    flex: 1;
    padding: 12px;
    display: flex;
    gap: 12px;
}

.wrapper-product-review-woo-byno {
    display: none;
}

.show-order-byno {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
}

.label-show-order-byno {
    color: var(--byno-var-main-color);
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

input.show-order-byno:checked~.wrapper-product-review-woo-byno {
    display: flex;
}

input.show-order-byno:checked+label .label-show-order-byno svg {
    transform: rotate(180deg);
}

.wrapper-payment-methods-byno ul.payment_methods li:not(:last-child) {
    border-bottom: 1px solid var(--byno-var-color-light-dark-border);
}

.wrapper-payment-methods-byno ul.payment_methods li input:checked+label {
    color: var(--byno-var-main-color);
}

.wrapper-payment-methods-byno li.wc_payment_method .payment_box {
    max-width: 90vw;
    margin: auto !important;
    background: var(--byno-var-color-light-dark-bg) !important;
    border: 1px solid;
    border-radius: 15px !important;
    visibility: hidden;
    display: none !important;
}

.wrapper-payment-methods-byno ul.payment_methods li input[type=radio] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wrapper-payment-methods-byno li.wc_payment_method input[type=radio]:checked~.payment_box {
    display: block !important;
    visibility: visible;
}

.wrapper-payment-methods-byno {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wrapper-payment-methods-byno ul.payment_methods li input[type=radio]:focus-visible+label {
    outline: 2px solid color-mix(in srgb, var(--byno-var-main-color) 65%, transparent);
    outline-offset: 2px;
    border-radius: 12px;
}

.wrapper-payment-methods-byno ul.payment_methods li input:checked+label svg {
    fill: var(--byno-var-main-color);
}

.wrapper-payment-methods-byno ul.payment_methods li input:checked+label svg path:last-child {
    stroke: #fff;
}

.wrapper-payment-methods-byno ul.payment_methods li input:checked+label svg path:first-child {
    stroke: var(--byno-var-main-color);
}

.wrapper-payment-methods-byno ul.payment_methods li input:not(:checked)+label svg path:last-child {
    stroke: transparent;
}

.woocommerce form.checkout_coupon.cart-coupon-byno {
    background: var(--byno-var-color-light-dark-bg);
    border: none !important;
    padding: 0 !important;
    max-width: 90vw;
    margin: 10px auto auto !important;
}

form.checkout.woocommerce-checkout {
    max-width: 93vw;
    margin: auto;
}

.wrapper-shipping-methods-checkout-byno {
    background: var(--byno-var-color-light-dark-bg);
    border-radius: 15px;
    border: 1px solid var(--byno-var-color-light-dark-border);
    padding: 14px 12px;
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}

.wrapper-shipping-methods-list-checkout-byno {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

div#order_review .wrapper-shipping-methods-checkout-byno .cart-shipping {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 12px;
    padding: 12px;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-header {
    font-weight: 600;
    font-size: 13px;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-methods-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-method {
    position: relative;
    display: block;
    width: 100%;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-method input[type=radio] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-method label {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "main"
        "meta";
    align-items: start;
    gap: 6px;
    width: 100%;
    border: 1px solid var(--byno-var-color-light-dark-border);
    border-radius: 10px;
    padding: 10px 12px;
    min-height: 76px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .2s ease;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-method label .shipping-method-label-main {
    grid-area: main;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    order: 1 !important;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-method label .shipping-method-label-main>* {
    max-width: 100%;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-method label .shipping-method-meta {
    grid-area: meta;
    display: block !important;
    width: 100%;
    order: 2 !important;
    margin-top: 0;
    font-size: 13px;
    opacity: 0.88;
    text-align: right;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-method label .shipping-method-meta>* {
    margin: 0;
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-method input[type=radio]:checked+label {
    border-color: var(--byno-var-main-color);
    color: var(--byno-var-main-color);
    background: color-mix(in srgb, var(--byno-var-main-color) 7%, transparent);
}

div#order_review .wrapper-shipping-methods-checkout-byno .shipping-destination,
div#order_review .wrapper-shipping-methods-checkout-byno .shipping-not-enabled,
div#order_review .wrapper-shipping-methods-checkout-byno .shipping-may-be-available,
div#order_review .wrapper-shipping-methods-checkout-byno .no-shipping-available,
div#order_review .wrapper-shipping-methods-checkout-byno .cart-no-shipping-available {
    font-size: 12px;
    opacity: 0.85;
}

.woocommerce-checkout-review-order-table {
    position: relative;
    overflow: hidden;
}

#order_review.is-loading .woocommerce-checkout-review-order-table>*,
.woocommerce-checkout-review-order-table.is-loading>* {
    opacity: 0.45;
    pointer-events: none;
}

#order_review.is-loading .woocommerce-checkout-review-order-table::before,
.woocommerce-checkout-review-order-table.is-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--byno-var-color-light-dark-bg) 82%, transparent);
    z-index: 4;
}

#order_review.is-loading .woocommerce-checkout-review-order-table::after,
.woocommerce-checkout-review-order-table.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid color-mix(in srgb, var(--byno-var-main-color) 22%, transparent);
    border-top-color: var(--byno-var-main-color);
    border-radius: 50%;
    animation: bynoOrderReviewSpin 0.8s linear infinite;
    z-index: 5;
}

@keyframes bynoOrderReviewSpin {
    to {
        transform: rotate(360deg);
    }
}

.wrapper-coupon-checkout-form-byno {
    background: var(--byno-var-color-light-dark-bg);
    padding: 15px 12px;
    max-width: 93vw;
    margin: 15px auto;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkout div#customer_details {
    background: var(--byno-var-color-light-dark-bg);
    padding: 15px 12px;
    max-width: 93vw;
    margin: auto;
    border-radius: 15px;
    text-align: start;
}

.form-checkout-byno .byno-label,
.form-checkout-byno .inner-label-input-byno {
    border-color: var(--byno-var-color-light-dark-text);
    color: var(--byno-var-color-light-dark-text);
}

.checkout-section-title-byno {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
}

.checkout-payment-help-byno {
    margin: 0;
    opacity: 0.75;
    font-size: 13px;
}

.checkout div#customer_details .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 18px;
}

.wrapper-product-review-woo-byno {
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.item-product-review-woo-byno {
    display: flex;
    width: 100%;
    box-shadow: 0 0 5px -2px var(--byno-var-color-light-dark-shadow);
    border-radius: 15px;
    padding: 15px;
    gap: 15px;
}

.item-product-review-woo-byno img.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
}

.item-product-review-woo-byno .product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.woocommerce-additional-fields {
    margin-top: 15px;
}

.checkout #billing_country_field,
.checkout #billing_state_field,
.checkout #billing_city_field,
.checkout #shipping_country_field,
.checkout #shipping_state_field,
.checkout #shipping_city_field {
    position: relative;
}

.checkout #billing_country_field>label,
.checkout #billing_state_field>label,
.checkout #billing_city_field>label,
.checkout #shipping_country_field>label,
.checkout #shipping_state_field>label,
.checkout #shipping_city_field>label {
    position: absolute;
    right: 18px;
    top: 12px;
    z-index: 3;
    font-size: 12px;
    line-height: 1;
    transform: scale(0.86);
    transform-origin: right center;
    color: var(--byno-var-main-color);
    opacity: 0.95;
    pointer-events: none;
}

.checkout #billing_country_field .select2-container .select2-selection--single,
.checkout #billing_state_field .select2-container .select2-selection--single,
.checkout #billing_city_field .select2-container .select2-selection--single,
.checkout #shipping_country_field .select2-container .select2-selection--single,
.checkout #shipping_state_field .select2-container .select2-selection--single,
.checkout #shipping_city_field .select2-container .select2-selection--single {
    min-height: 55px;
    display: flex;
    padding: 20px 12px 8px;
    border-radius: 12px;
    border: 1.5px solid var(--byno-var-color-light-dark-text);
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.checkout #billing_country_field select,
.checkout #billing_state_field select,
.checkout #billing_city_field select,
.checkout #shipping_country_field select,
.checkout #shipping_state_field select,
.checkout #shipping_city_field select {
    min-height: 55px;
    padding: 20px 12px 8px;
    border-radius: 12px;
    border: 1.5px solid var(--byno-var-color-light-dark-text);
    background: transparent;
    width: 100%;
}

.checkout #billing_country_field .select2-selection__rendered,
.checkout #billing_state_field .select2-selection__rendered,
.checkout #billing_city_field .select2-selection__rendered,
.checkout #shipping_country_field .select2-selection__rendered,
.checkout #shipping_state_field .select2-selection__rendered,
.checkout #shipping_city_field .select2-selection__rendered {
    padding-top: 2px;
}

.checkout #billing_country_field .select2-container--focus .select2-selection--single,
.checkout #billing_state_field .select2-container--focus .select2-selection--single,
.checkout #billing_city_field .select2-container--focus .select2-selection--single,
.checkout #shipping_country_field .select2-container--focus .select2-selection--single,
.checkout #shipping_state_field .select2-container--focus .select2-selection--single,
.checkout #shipping_city_field .select2-container--focus .select2-selection--single {
    border-color: var(--byno-var-main-color) !important;
}

h3#order_review_heading {
    display: none;
}

.checkout textarea#order_comments,
.woocommerce-input-wrapper input {
    padding: 10px 15px;
    border-radius: 12px;
    position: relative;
    height: fit-content;
    min-height: 55px;
    border: 1px solid var(--byno-var-color-light-dark-text);
}

.checkout textarea#order_comments:focus,
.woocommerce-input-wrapper input:focus,
.checkout .select2-container--focus .select2-selection--single {
    outline: none;
    border-color: var(--byno-var-main-color) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--byno-var-main-color) 20%, transparent);
}

.checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
}

.label-show-order-byno svg path {
    fill: var(--byno-var-main-color);
}

.item-product-review-woo-byno strong.product-quantity {
    position: relative;
    color: var(--byno-var-main-color);
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    min-width: 20px;
    height: auto;
    min-height: 20px;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
}

.item-product-review-woo-byno strong.product-quantity:before {
    content: "";
    background: var(--byno-var-main-color);
    opacity: 0.3;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    border-radius: 10px;
}

.item-product-review-woo-byno .product-name {
    display: flex;
    gap: 15px;
    align-content: start;
    justify-content: start;
    text-align: start;
    flex-wrap: wrap;
}

button#place_order.checkout-btn-proceed-byno.is-loading {
    position: relative;
    opacity: 0.85;
}

button#place_order.checkout-btn-proceed-byno.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    margin-inline-start: 8px;
    animation: bynoCheckoutSpin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes bynoCheckoutSpin {
    to {
        transform: rotate(360deg);
    }
}

.theme-buyno.woocommerce-checkout .blockUI.blockOverlay {
    display: none !important;
    background: transparent !important;
    opacity: 0 !important;
}

.theme-buyno.woocommerce-checkout .blockUI.blockOverlay::before,
.theme-buyno.woocommerce-checkout .blockUI.blockOverlay::after {
    display: none !important;
}

.woocommerce-checkout .popup-notice-woo-byno .inner-popup-wrapper-woo-byno {
    align-items: stretch;
    text-align: start;
    gap: 10px;
}

.woocommerce-checkout .popup-notice-woo-byno .item-popup-notice-woo-byno.woocommerce-error {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    line-height: 1.9;
    padding: 10px 12px !important;
    text-align: start;
    word-break: normal;
    overflow-wrap: anywhere;
    border-radius: 12px;
    border: 1px solid #fecaca !important;
    background: #fef2f2 !important;
}

.woocommerce-checkout .popup-notice-woo-byno .close-popup-byno {
    align-self: center;
}

@media only screen and (min-width: 1040px) {
    .byno-woo-page-wrapper {
        max-width: 600px;
        margin-right: auto;
        margin-left: auto;
    }

    .byno-woo-page-wrapper .byno-mobile-header.byno-except-desktop {
        display: flex !important;
        width: 102%;
        margin-right: -1%;
        margin-left: -1%;
        height: 65px;
    }

    .byno-woo-page-wrapper .byno-mobile-header>.right-box-m-header-byno img,
    .byno-woo-page-wrapper .byno-mobile-header>.right-box-m-header-byno svg {
        max-height: 34px;
        width: fit-content;
        margin: auto 2px;
    }

    .popup-nav-woo-byno {
        width: 612px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.byno-woo-page-wrapper .banner-top-header-buyno {
    display: none !important;
}

.theme-buyno.woocommerce-order-received .woocommerce-order {
    max-width: 1180px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 36px;
    width: 100%;
}

.byno-thankyou-hero,
.byno-thankyou-card,
.theme-buyno.woocommerce-order-received .woocommerce-order-details,
.theme-buyno.woocommerce-order-received .woocommerce-customer-details {
    background: var(--byno-var-color-light-dark-bg);
    border: 1px solid var(--byno-var-color-light-dark-border);
    border-radius: 15px;
    box-shadow: 0 8px 24px -24px var(--byno-var-color-light-dark-shadow);
    padding: 16px 14px;
}

.byno-thankyou-hero .woocommerce-notice {
    margin: 0;
}

.byno-thankyou-title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.8;
}

.byno-thankyou-hero .byno-thankyou-title {
    margin-bottom: 5px;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    color: var(--byno-var-color-light-dark-text);
    font-weight: 500;
    text-align: start;
    line-height: 1.85;
    font-size: 14px;
    opacity: 0.9;
}

.byno-thankyou-subtitle {
    margin: 0 0 10px;
    font-size: 0.9rem;
    line-height: 1.9;
    opacity: 0.78;
}

.theme-buyno.woocommerce-order-received .byno-order-customer-grid,
.byno-thankyou-layout {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.checkout-section-title-byno {
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 10px;
}

.byno-order-overview-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.byno-order-overview-grid li {
    align-content: start;
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: 12px;
    border-radius: 12px;
    background: var(--byno-var-color-light-dark-opacity-bg);
}

.byno-order-overview-label {
    opacity: 0.72;
    font-size: 0.8rem;
    line-height: 1.45;
}

.byno-order-overview-grid li strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--byno-var-color-light-dark-text);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.byno-thankyou-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.byno-thankyou-secondary-btn,
.woocommerce a.byno-thankyou-secondary-btn {
    min-height: 52px;
    width: 100%;
    border-radius: 14px;
    border: 1.5px solid var(--byno-var-main-color);
    color: var(--byno-var-main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    background: #fff;
}

.byno-thankyou-state-failed .woocommerce-thankyou-order-failed {
    margin: 8px 0 0;
    background: #ff3b3b14;
    border: 1px solid #ff3b3b3d;
    border-radius: 12px;
    padding: 12px;
    color: #c62d2d;
}

.theme-buyno.woocommerce-order-received .woocommerce-order-details {
    margin: 0;
}

.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--byno-var-color-light-dark-border);
    border-radius: 12px;
    overflow: hidden;
}

.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table thead th,
.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tbody td,
.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tfoot th,
.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tfoot td {
    border: 0;
    border-bottom: 1px solid var(--byno-var-color-light-dark-border);
    background: transparent;
    padding: 10px 12px;
    text-align: start;
}

.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table thead th {
    background: var(--byno-var-body-light-dark-bg);
    color: var(--byno-var-color-light-dark-text);
    font-size: 0.84rem;
    font-weight: 800;
}

.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tbody td {
    color: var(--byno-var-color-light-dark-text);
    font-size: 0.87rem;
}

.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tbody .product-total,
.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tfoot td {
    font-weight: 700;
}

.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tbody tr:last-child td,
.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tfoot tr:last-child th,
.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tfoot tr:last-child td {
    border-bottom: 0;
}

.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tfoot tr:last-child th,
.theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tfoot tr:last-child td {
    color: var(--byno-var-main-color);
    font-weight: 700;
}

.theme-buyno.woocommerce-order-received .woocommerce-customer-details {
    margin: 0;
}

.theme-buyno.woocommerce-order-received .woocommerce ul.order_details li {

}
.theme-buyno.woocommerce-order-received .byno-order-customer-card {
    background: var(--byno-var-body-light-dark-bg);
    border: 1px solid var(--byno-var-color-light-dark-border);
    padding: 15px;
    border-radius: 15px;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.theme-buyno.woocommerce-order-received .woocommerce ul.order_details li {
    margin: 0 !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: none !important;
    padding: 14px;
}

.theme-buyno.woocommerce-order-received .woocommerce ul.order_details {
    margin: 0 !important;

}
.theme-buyno.woocommerce-order-received .woocommerce ul.order_details::after, .theme-buyno.woocommerce-order-received .woocommerce ul.order_details::before {
    content: none !important;
    display: none !important;
}

.theme-buyno.woocommerce-order-received .byno-thankyou-payment-note-content > :first-child {
    margin-top: 0;
}

.theme-buyno.woocommerce-order-received .byno-thankyou-payment-note-content > :last-child {
    margin-bottom: 0;
}

.theme-buyno.woocommerce-order-received .byno-thankyou-payment-note-content p {
    background: var(--byno-var-body-light-dark-bg);
    border: 1px dashed var(--byno-var-color-light-dark-border);
    border-radius: 12px;
    color: var(--byno-var-color-light-dark-text);
    line-height: 1.9;
    margin: 0;
    padding: 10px 12px;
}

@media only screen and (max-width: 1024px) {
    .theme-buyno.woocommerce-order-received .woocommerce-order {
        max-width: 94vw;
    }

    .byno-thankyou-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .byno-order-overview-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media only screen and (max-width: 640px) {
    .theme-buyno.woocommerce-order-received .woocommerce-order {
        gap: 10px;
        max-width: 100%;
        padding-bottom: 22px;
    }

    .byno-thankyou-hero,
    .byno-thankyou-card,
    .theme-buyno.woocommerce-order-received .woocommerce-order-details,
    .theme-buyno.woocommerce-order-received .woocommerce-customer-details {
        border-radius: 13px;
        padding: 12px;
    }

    .byno-thankyou-title {
        font-size: 1rem;
    }

    .theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table thead th,
    .theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tbody td,
    .theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tfoot th,
    .theme-buyno.woocommerce-order-received .woocommerce-order-details .woocommerce-table tfoot td {
        padding: 9px 10px;
    }

}