/* Default Woocommerce styles */
form.woocommerce-checkout.hanzo-stepped-checkout {
    display: block;
}

/* Only hide the Bricks form while the payment-plan step is active. */
body.hanzo-has-plan.hanzo-checkout-step-1 form.bricks-default-checkout,
body.hanzo-has-plan.hanzo-checkout-step-1 form.woocommerce-checkout.bricks-default-checkout {
    display: none !important;
}

/* Non-shear carts skip the plan step and must show the form immediately. */
body:not(.hanzo-has-plan) form.woocommerce-checkout,
body:not(.hanzo-has-plan) form.woocommerce-checkout.bricks-default-checkout {
    display: block !important;
}

.woocommerce-message { display: none; }

.woocommerce-checkout-review-order-table {
    display: none;
}

.form-row label {
    display: none;
}

.form-row input {
    background: #19191c;
    border-color: #3c3c3c;
    border-radius: 5px;
}

.form-row-first, .form-row-last {
    /* float: left; */
    box-sizing: border-box;
    width: 50%;
    margin: 0 0 1.2em !important;
}

#billing_state, #shipping_state {
    background-color: #000;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
}

.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address input {
    left: 0; 
    right: auto !important;
}

.woocommerce-checkout .woocommerce-shipping-fields {
    margin-top: 20px !important;
}

.woocommerce-shipping-fields > h3 > label > span {
    margin-left: 25px;
    font-weight: 600;
}

.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address {
    margin-bottom: 20px !important;
}

.woocommerce-checkout #order_review {     
    overflow: auto;
    display: block;
    background-color: #19191c;
    border: none !important;
    border-radius: 10px;
}

.woocommerce-checkout #payment .payment_methods .payment_box {
    padding: 0px !important;
    background-color: transparent !important;
}

.woocommerce fieldset {
    border: none !important;
}

#place_order {
    background-image: linear-gradient(#0fb7f1, #5943dd);
    align-items: center;
    background-color: #e4e7e9;
    border-width: 0;
    color: currentcolor;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    padding: 0px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
}

#place_order.hanzo-place-order-busy,
#place_order:disabled {
    cursor: wait;
    opacity: 0.85;
    pointer-events: none;
}

.top-3col {
    width: 30%;
}

.top-4col {
    width: 25%;
}

form.woocommerce-checkout {
    margin-top: 40px;
}

.woocommerce-checkout .select2-container {     
    height: 42px;
    border: 1px solid #3c3c3c;
    border-color: #3c3c3c !important;
    border-radius: 5px;
}
.woocommerce-checkout .select2-dropdown { background: #000; border-color: #3c3c3c !important; }
.woocommerce-checkout .select2-search__field { color: #fff; background: #000; }
.woocommerce-checkout .select2-selection {
    background: #000 !important;
    border: none !important;
    border-radius: 5px !important;
}
.woocommerce-checkout .select2-selection__rendered { color: #fff !important; }

.woocommerce-checkout #customer_details { width: 65% !important; margin-right: 2% !important; float: left; }
.woocommerce-checkout .cart-items { overflow: auto; float: left; width: 33%; }

/* .woocommerce-checkout #order_review { width: 65% !important; float: none !important; clear: both; } */

.woocommerce-billing-fields h3,
.cart-items h3 {
	font-size: 22px;
	text-transform: capitalize;
	min-height: 40px; 
}

#order_review_heading {  
	display: none;
}

#wc-af-recaptcha-checkout {
    margin-bottom: 20px; 
  }
  
  p.woocommerce-form-row { margin: 0; }
  
  .woocommerce-SavedPaymentMethods { padding: 0px 20px; }
  
  .wc-payment-form { padding: 0; }

/* Default Bricks Styles */
body.bricks-is-frontend :focus { outline: none !important; }



/* Checkout Styles */
.checkout-container { }



.payments-box-container { margin-top: 50px; display: flex; gap: 20px; align-items: center; }

.payments-box-container > span {
    font-weight: 700;
}

.payments-box-container .pif-box, .payments-box-container .pp-box {
    background: #19191c;
    border-radius: 5px;
    padding: 15px;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.box-active { background-image: url('https://hanzo.com/wp-content/uploads/2023/10/gradient-bg.jpg') !important; background-size: cover !important; background-position: bottom center !important; }

.payments-box-container .pif-box-header, .payments-box-container .pp-box-header {
    padding: 10px;
    border-bottom: 1px solid;
    border-color: #3c3c3c;
    font-size: 21px;
}

.payments-box-container .pif-box-header label, .payments-box-container .pp-box-header label {
    display: flex;
    gap: 15px;
    align-items: center;
    background-image: linear-gradient(270deg, #5a40dc, #0fb7f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    text-transform: uppercase;
    font-family: "ITC Avant Grade STD";
    font-size: 25px;
}

.payments-box-container .pif-box-body, .payments-box-container .pp-box-body {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.payments-box-container .pif-box-body {
    gap: 10px;
}

.payments-box-container .pif-box-body .pif-box-body-start h3, .payments-box-container .pp-box-body .pp-box-body-start h3 {
    font-size: 20px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.payments-box-container .pif-box-body .pif-box-body-start p, .payments-box-container .pp-box-body .pp-box-body-start p {
    margin-bottom: 15px;
}

.payments-box-container .pif-box-body .pif-box-body-end div, .payments-box-container .pp-box-body .pp-box-body-end > div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid;
    border-color: #3c3c3c;
    padding: 8px 0px 5px 0px;
    align-items: center;
}

.pp-box-body-end > div > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.payments-box-container .pif-box-body div span, .payments-box-container .pp-box-body div span {
    font-weight: 700;
}

.payments-box-container .pif-box-footer, .payments-box-container .pp-box-footer {
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.payment-period {
    border: 0px;
    height: 39px;
    background-color: #000;
    padding: 0 25px 0px 10px;
}

.btn-next {
    background-image: linear-gradient(#0fb7f1, #5943dd);
    align-items: center;
    background-color: #e4e7e9;
    border-width: 0;
    color: currentcolor;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    padding: 15px 20px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    margin: 40px auto 20px;
}

.btn-next:hover {
    background-image: linear-gradient(#5943dd, #0fb7f1);
    color: #fff;
}

.cart-item {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    background-color: #19191c;
    min-height: 95px;
}

.cart-item-image {
    text-align: center;
    width: 25%;
}

.cart-item-info h3 {
    font-size: 14px;
    text-transform: capitalize;
}

.cart-item-info p {
    margin: 0;
    font-size: 14px;
}

.review-items {
    background-color: #19191c;
    overflow: auto;
    padding: 10px 20px 20px;
    border-radius: 10px;
		width: 33%;
		float: right;
}

.review-items + div {
	float: left;
	width: 65%;
}

.review-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px solid #000000;
    padding: 10px 0px;
    border-color: #3c3c3c !important;
}

.review-item h3 {
    font-size: 14px;
    text-transform: capitalize;
}

.cart-review-container { width: 33%; }

.checkout-cart-mobile-container { display: none; background-color: #19191c; padding: 15px; cursor: pointer; margin-bottom: 20px; border-radius: 10px; }
.cart-mobile-header { display: flex; justify-content: space-between; align-items: center; }
.cart-mobile-header h3 { font-size: 18px; text-transform: capitalize; }

.cart-mobile-header > div { display: flex; align-items: center; gap: 6px; }
.cart-mobile-header > div > span { font-size: 22px; }

.cart-mobile-header .cart-item { margin-bottom: 0px; }
.cart-mobile-header .review-items { padding-top: 0px; }

/* Thank You Page */
.thankyou-container {
    max-width: 850px;
    margin: 0 auto;
}

.thankyou-header {
    text-align: center;
}

.thankyou-content {
    padding: 20px;
    background: #19191c;
    border-radius: 15px;
    margin-top: 20px;
}

.thankyou-content-top {
}

.thankyou-content-top h3 {
    font-size: 22px;
    text-transform: capitalize;
    text-align: center;
}

.thankyou-content-top-info {
    display: flex;
    justify-content: space-between;
    margin: 20px 0px;
    padding: 20px;
    border: 1px solid #3c3c3c;
    border-radius: 15px;
    border-color: #3c3c3c !important;
    flex-wrap: wrap;
}

.top-3col {
    width: 30%;
}

.top-4col {
    width: 25%;
}

.thankyou-content-top-info-row {
    margin-bottom: 15px;
}

.thankyou-content-top-info-row p:first-child {
    margin: 0;
    opacity: 0.7;
    text-transform: capitalize;
    font-size: 90%;
}

.thankyou-summary-container {
}

.thankyou-summary-container h3 {
    font-size: 22px;
    text-align: center;
    text-transform: capitalize;
}

.thankyou-summary {
    margin: 20px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.thankyou-summary-row {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid;
    border-color: #3c3c3c !important;
    border-radius: 15px;
    width: 45%;
    padding: 10px;
    margin-bottom: 20px;
}

.thankyou-summary-row-image {
    width: 30%;
}

.thankyou-summary-row-info {
    font-size: 14px;
}

.thankyou-summary-row-info h3 {
    font-size: 15px;
    margin-bottom: 10px;
    text-transform: capitalize;
    text-align: left;
}

.thankyou-content-right h3 {
    text-align: center;
    font-size: 22px;
    text-transform: capitalize;
}

.thankyou-content-right-info {
    border: 1px solid #3c3c3c;
    border-radius: 15px;
    margin: 20px 0px;
    padding: 15px;
    border-color: #3c3c3c !important;
}

.woocommerce-thankyou-order-received, .woocommerce-order-received .woocommerce-thankyou-order-details { display: none !important; }
.woocommerce-order-received .woocommerce-order-details, .woocommerce-order-received .woocommerce-customer-details { display: none; }

/* Cart Page */
form.woocommerce-cart-form {
    background: #19191c;
    border: 1px solid;
    border-color: #3c3c3c !important;
    padding: 15px;
    border-radius: 15px;
    margin-top: 40px;
}

.woocommerce-cart #coupon_code {
    background: transparent;
    border: 1px solid;
    border-color: #3c3c3c !important;
    border-radius: 5px;
}

.woocommerce-cart button[name="apply_coupon"] {
    background-color: #000;
}

.woocommerce-cart button[name="update_cart"] {
    background-image: linear-gradient(#0fb7f1, #5943dd);
    border-radius: 5px;
}

.cart-collaterals {
    margin-top: 20px;
    border: 1px solid;
    border-color: #3c3c3c !important;
    padding: 15px;
    border-radius: 15px;
}

.cart-collaterals .cart_totals h2 {
    font-size: 22px;
    text-transform: capitalize;
}

.cart-collaterals table {
    border-color: #3c3c3c !important;
}

.woocommerce-cart .woocommerce-cart-form thead, .woocommerce-cart-form tbody tr {
    border-color: #3c3c3c !important;
}

.cart-collaterals table tbody th { width: 20%; }

.woocommerce-cart .checkout-button {
    width: 100%;
    background-image: linear-gradient(#0fb7f1, #5943dd);
    border-radius: 5px;
    padding: 0px !important;
    text-transform: capitalize;
}

.woocommerce-cart .shipping-calculator-button { display: none; }

.woocommerce-checkout .select2-container {     
    height: 42px;
    border: 1px solid #3c3c3c;
    border-color: #3c3c3c !important;
    border-radius: 5px;
}
.woocommerce-checkout .select2-dropdown { background: #000; border-color: #3c3c3c !important; }
.woocommerce-checkout .select2-search__field { color: #fff; background: #000; }
.woocommerce-checkout .select2-selection {
    background: #000 !important;
    border: none !important;
    border-radius: 5px !important;
}
.woocommerce-checkout .select2-selection__rendered { color: #fff !important; }

.wc-empty-cart-message .cart-empty {
    background: none !important;
    color: #fff;
}

.return-to-shop a {
    font-family: "Inter Tight";
    font-weight: 400 !important;
    background: #fff !important;
    color: #000 !important;
    border-radius: 50px;
    margin-top: 15px;
}

.woocommerce-checkout-payment { border: none !important; }

.cart-mobile-body { overflow: auto; }

#sms_consent_checkbox {
	margin-top: 10px;
}

#sms_consent_field span.optional {
	display: none;
}

#sms_consent_checkbox h3 {
	display: none;
} 

#sms_consent_field label {
	display: block;
	font-weight: 400;
	font-size: 14px;
}

@media only screen and (max-width: 992px) {

    .checkout-cart-mobile-container { display: block; }

    .payments-box-container { flex-direction: column; }

    .woocommerce-checkout #customer_details { width: 100% !important; }
    .woocommerce-checkout > .cart-items,
    .woocommerce-checkout > .review-items { display: none; }
    #order_review_heading { display: none; }
    .review-items { width: 100%; }
    .woocommerce-checkout #order_review { width: 100% !important; margin-top: 20px; }

    .top-3col { width: 45%; }
    .top-4col { width: 45%; }

    .thankyou-summary-row { width: 100%; }
    .woocommerce-cart-form .product-thumbnail img {
        width: 50% !important;
        margin-left: auto;
        margin-top: -50px;
    }

    .payments-box-container .pif-box-header label, .payments-box-container .pp-box-header label {
        font-size: 20px;
    }

		.review-items + div {
			width: 100%;
			float: none;
		}
}

@keyframes hanzo-spin {
    to { transform: rotate(360deg); }
}

/* Multi-step checkout */
.hanzo-step-heading h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 24px;
}

.hanzo-step-heading p {
    margin: 0 0 20px;
    color: #aaa;
}

.hanzo-step-heading .hanzo-step-kicker {
    color: #52b9ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.hanzo-step-1-actions {
    clear: both;
    margin-top: 20px;
    max-width: 640px;
}

.hanzo-step-next,
.hanzo-step-1-next,
.hanzo-step-identity-next,
.hanzo-step-plan-next {
    background-image: linear-gradient(#0fb7f1, #5943dd);
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 12px 24px;
    width: 100%;
    max-width: 250px;
		text-align: center;
}

.hanzo-step-identity-next {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 220px;
}

.hanzo-step-error {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid #ff6b6b;
    border-radius: 8px;
    color: #ff6b6b;
    margin-bottom: 12px;
    padding: 10px 12px;
}

.hanzo-step-loader {
    text-align: center;
    padding: 32px 16px;
    color: #fff;
}

.hanzo-spinner {
    border: 3px solid #3c3c3c;
    border-top-color: #0fb7f1;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: hanzo-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

#hanzo_salutation_field select {
    width: 100%;
    background: #19191c;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    color: #fff;
    margin-bottom: 20px;
}

.hanzo-stepped-checkout #billing_email_field {
    margin-right: 16px !important;
    width: calc(50% - 8px);
}

.woocommerce .form-row-first, .woocommerce .form-row-last {
    width: calc(50% - 8px);
}

.hanzo-show-label label,
#hanzo_salutation_field label {
    display: block !important;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 600;
}

/* Payment plan step (step 1 when cart has shears) */
body.hanzo-has-plan.hanzo-checkout-step-1 form.woocommerce-checkout {
    display: none !important;
}

body.hanzo-has-plan.hanzo-checkout-step-1 .hanzo-step-2 {
    display: block !important;
}

/* Contact-information step: form left, cart summary right. */
body.hanzo-has-plan.hanzo-checkout-step-2 .hanzo-step-2,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .hanzo-step-2 {
    display: none !important;
}

body.hanzo-has-plan.hanzo-checkout-step-2 .hanzo-field-step-3,
body.hanzo-has-plan.hanzo-checkout-step-2 #customer_details .col-2,
body.hanzo-has-plan.hanzo-checkout-step-2 .woocommerce-shipping-fields,
body.hanzo-has-plan.hanzo-checkout-step-2 .woocommerce-additional-fields,
body.hanzo-has-plan.hanzo-checkout-step-2 #sms_consent_checkbox,
body.hanzo-has-plan.hanzo-checkout-step-2 #order_review_heading,
body.hanzo-has-plan.hanzo-checkout-step-2 #order_review,
body.hanzo-has-plan.hanzo-checkout-step-2 .hanzo-step-heading-address,
body.hanzo-has-plan.hanzo-checkout-step-2 .hanzo-step-heading-payment,
body.hanzo-has-plan.hanzo-checkout-step-2 .woocommerce-billing-fields > h3,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .hanzo-field-step-3,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 #customer_details .col-2,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .woocommerce-shipping-fields,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .woocommerce-additional-fields,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 #sms_consent_checkbox,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 #order_review_heading,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 #order_review,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .hanzo-step-heading-address,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .hanzo-step-heading-payment,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .woocommerce-billing-fields > h3 {
    display: none !important;
}

body.hanzo-has-plan.hanzo-checkout-step-2 .hanzo-field-step-1,
body.hanzo-has-plan.hanzo-checkout-step-2 #hanzo_salutation_field,
body.hanzo-has-plan.hanzo-checkout-step-2 .hanzo-step-1-actions,
body.hanzo-has-plan.hanzo-checkout-step-2 .cart-items,
body.hanzo-has-plan.hanzo-checkout-step-2 .review-items,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .hanzo-field-step-1,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 #hanzo_salutation_field,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .hanzo-step-1-actions,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .cart-items,
body:not(.hanzo-has-plan).hanzo-checkout-step-1 .review-items {
    display: block !important;
}

/* Hide identity on plan step */
body.hanzo-has-plan.hanzo-checkout-step-1 .hanzo-field-step-1,
body.hanzo-has-plan.hanzo-checkout-step-1 #hanzo_salutation_field,
body.hanzo-has-plan.hanzo-checkout-step-1 .hanzo-step-1-actions {
    display: none !important;
}

/* Billing + payment step: both remain left of the persistent cart summary. */
body.hanzo-has-plan.hanzo-checkout-step-3 .hanzo-field-step-1,
body.hanzo-has-plan.hanzo-checkout-step-3 #hanzo_salutation_field,
body.hanzo-has-plan.hanzo-checkout-step-3 .hanzo-step-1-actions,
body.hanzo-has-plan.hanzo-checkout-step-3 .hanzo-step-2,
body.hanzo-has-plan.hanzo-checkout-step-3 #customer_details .col-2,
body.hanzo-has-plan.hanzo-checkout-step-3 .woocommerce-shipping-fields,
body.hanzo-has-plan.hanzo-checkout-step-3 .woocommerce-additional-fields,
body.hanzo-has-plan.hanzo-checkout-step-3 .woocommerce-billing-fields > h3,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 .hanzo-field-step-1,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 #hanzo_salutation_field,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 .hanzo-step-1-actions,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 .hanzo-step-2,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 #customer_details .col-2,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 .woocommerce-shipping-fields,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 .woocommerce-additional-fields,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 .woocommerce-billing-fields > h3 {
    display: none !important;
}

body.hanzo-has-plan.hanzo-checkout-step-3 .hanzo-field-step-3,
body.hanzo-has-plan.hanzo-checkout-step-3 #sms_consent_checkbox,
body.hanzo-has-plan.hanzo-checkout-step-3 .cart-items,
body.hanzo-has-plan.hanzo-checkout-step-3 .review-items,
body.hanzo-has-plan.hanzo-checkout-step-3 #order_review,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 .hanzo-field-step-3,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 #sms_consent_checkbox,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 .cart-items,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 .review-items,
body:not(.hanzo-has-plan).hanzo-checkout-step-2 #order_review {
    display: block !important;
}

/* Conditional OTP step between contact information and checkout. */
body.hanzo-stepped-checkout-page.hanzo-otp-active .hanzo-field-step-1,
body.hanzo-stepped-checkout-page.hanzo-otp-active #hanzo_salutation_field,
body.hanzo-stepped-checkout-page.hanzo-otp-active .hanzo-step-1-actions,
body.hanzo-stepped-checkout-page.hanzo-otp-active .hanzo-field-step-3,
body.hanzo-stepped-checkout-page.hanzo-otp-active #customer_details .col-2,
body.hanzo-stepped-checkout-page.hanzo-otp-active .woocommerce-shipping-fields,
body.hanzo-stepped-checkout-page.hanzo-otp-active .woocommerce-additional-fields,
body.hanzo-stepped-checkout-page.hanzo-otp-active #sms_consent_checkbox,
body.hanzo-stepped-checkout-page.hanzo-otp-active #order_review,
body.hanzo-stepped-checkout-page.hanzo-otp-active .hanzo-step-heading-identity,
body.hanzo-stepped-checkout-page.hanzo-otp-active .hanzo-step-heading-address,
body.hanzo-stepped-checkout-page.hanzo-otp-active .hanzo-step-heading-payment {
    display: none !important;
}

body.hanzo-stepped-checkout-page.hanzo-otp-active .hanzo-otp-step,
body.hanzo-stepped-checkout-page.hanzo-otp-active .hanzo-otp-step .hanzo-step-heading,
body.hanzo-stepped-checkout-page.hanzo-otp-active .cart-items,
body.hanzo-stepped-checkout-page.hanzo-otp-active .review-items {
    display: block !important;
}

.hanzo-otp-step {
    clear: left;
    width: 100%;
}

.hanzo-otp-step #hanzo_checkout_otp {
    background: #19191c;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    color: #fff;
    font-size: 22px;
    letter-spacing: .25em;
    text-align: center;
    width: 60%;
}

.hanzo-otp-resend-row {
    margin: 14px 0 0;
    text-align: left;
}

.hanzo-otp-resend {
    background: transparent;
    border: 0;
    color: #52b9ff;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: underline;
}

.hanzo-otp-resend:disabled {
    color: #888;
    cursor: default;
    text-decoration: none;
}

.hanzo-otp-status {
    display: block;
    margin-bottom: 6px;
}

.hanzo-otp-status-success {
    color: #6fdc8c;
}

.hanzo-existing-account-overlay {
    background: rgba(0, 0, 0, 0.75);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.hanzo-existing-account-popup {
    background: #19191c;
    border: 1px solid #3c3c3c;
    border-radius: 15px;
    color: #fff;
    display: none;
    left: 50%;
    max-width: 440px;
    padding: 28px 24px 24px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    z-index: 1000;
}

.hanzo-existing-account-popup h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 20px;
    text-transform: none;
}

.hanzo-existing-account-error {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid #ff6b6b;
    border-radius: 8px;
    color: #ff6b6b;
    margin-bottom: 16px;
    padding: 10px 12px;
}

.hanzo-existing-account-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hanzo-existing-account-login {
    max-width: none;
    width: 100%;
}

.hanzo-existing-account-guest {
    align-self: center;
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: #b8b8bd;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    padding: 4px 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
    width: auto;
}

.hanzo-existing-account-guest:hover {
    color: #fff;
}

.hanzo-existing-account-guest:focus-visible {
    outline: 2px solid #52b9ff;
    outline-offset: 2px;
}

.hanzo-existing-account-login:disabled,
.hanzo-existing-account-guest[aria-disabled="true"] {
    cursor: default;
    opacity: .7;
}

@media (min-width: 769px) {
    body.hanzo-has-plan.hanzo-checkout-step-3 #order_review,
    body:not(.hanzo-has-plan).hanzo-checkout-step-2 #order_review {
        clear: left;
        float: left !important;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hanzo-stepped-checkout #billing_email_field,
    .hanzo-stepped-checkout #billing_phone_field {
        float: none;
        margin-right: 0 !important;
        width: 100%;
    }

    .hanzo-stepped-checkout #billing_city_field,
    .hanzo-stepped-checkout #billing_state_field,
    .hanzo-stepped-checkout #billing_postcode_field,
    .hanzo-stepped-checkout #shipping_city_field,
    .hanzo-stepped-checkout #shipping_state_field,
    .hanzo-stepped-checkout #shipping_postcode_field {
        clear: both;
        float: none;
        margin-right: 0 !important;
        width: 100%;
    }

    .hanzo-stepped-checkout #billing_first_name_field,
    .hanzo-stepped-checkout #billing_last_name_field,
    .hanzo-authorize-net-fields .form-row-first,
    .hanzo-authorize-net-fields .form-row-last {
        clear: none;
        float: left;
        width: calc(50% - 8px);
    }

    .hanzo-stepped-checkout #billing_first_name_field,
    .hanzo-authorize-net-fields .form-row-first {
        margin-right: 16px !important;
    }

    .hanzo-stepped-checkout #billing_last_name_field,
    .hanzo-authorize-net-fields .form-row-last {
        float: right;
        margin-right: 0 !important;
    }

    body.hanzo-stepped-checkout-page .woocommerce-checkout > .cart-items,
    body.hanzo-stepped-checkout-page .woocommerce-checkout > .review-items {
        display: none !important;
    }

    body.hanzo-has-plan.hanzo-checkout-step-3 #order_review,
    body:not(.hanzo-has-plan).hanzo-checkout-step-2 #order_review {
        clear: both;
        float: none !important;
        width: 100% !important;
    }
}

.hanzo-step-2 .payments-box-container {
    margin-top: 20px;
}

.hanzo-step-2-title {
    color: #fff;
    font-size: 24px;
    margin: 0 0 8px;
}

.hanzo-authorize-net-fields .form-row {
    margin-bottom: 12px;
}

.hanzo-authorize-net-fields label {
    color: #fff;
    display: block;
    margin-bottom: 6px;
}

.hanzo-authorize-net-fields label[for="hanzo_authorize_card_number"] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.hanzo-card-icons {
    align-items: center;
    display: inline-flex;
    gap: 4px;
}

.hanzo-card-icons img {
    height: 25px;
    object-fit: contain;
    width: 32px;
}

.hanzo-authorize-net-fields .input-text {
    width: 100%;
}

.hanzo-authorize-net-fields .hanzo-authorize-field-invalid .input-text {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 1px #ff6b6b;
}

.hanzo-authorize-net-error {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid #ff6b6b;
    border-radius: 8px;
    color: #ff6b6b;
    margin-top: 12px;
    padding: 10px 12px;
}

.hanzo-step-heading-payment h2 {
	display: none;
}

.hanzo-authorize-net-fields {
	margin-top: 20px;
}

.woocommerce-checkout .place-order {
	width: 100%;
}

/* Centered checkout processing overlay (replaces top-of-form blockUI spinner). */
form.woocommerce-checkout > .blockUI.blockOverlay,
form.checkout > .blockUI.blockOverlay {
	background: rgba(10, 10, 12, 0.72) !important;
	opacity: 1 !important;
	cursor: wait !important;
}

form.woocommerce-checkout > .blockUI.blockMsg,
form.checkout > .blockUI.blockMsg {
	background: #19191c !important;
	border: 1px solid #3c3c3c !important;
	border-radius: 14px !important;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45) !important;
	color: #fff !important;
	cursor: wait !important;
	left: 50% !important;
	padding: 28px 32px !important;
	position: fixed !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: auto !important;
	z-index: 1000100 !important;
}

form.woocommerce-checkout > .blockUI.blockMsg img,
form.checkout > .blockUI.blockMsg img {
	display: none !important;
}

.hanzo-checkout-loader {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 14px;
	justify-content: center;
	min-width: 180px;
	text-align: center;
}

.hanzo-checkout-loader .hanzo-spinner {
	border-color: rgba(255, 255, 255, 0.18);
	border-top-color: #0fb7f1;
	height: 42px;
	margin: 0;
	width: 42px;
}

.hanzo-checkout-loader-text {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin: 0;
}

.woocommerce-form-coupon-toggle {
	display: none;
}