/* =============================================================
   Shambala Custom Checkout — checkout.css  v1.2
   Two-column layout via .shambala-checkout-wrap
   ============================================================= */

/* ---------- CSS Tokens --------------------------------------- */
body.shambala-custom-checkout {
    --midnight-lake: #223240;
    --forest-green:  #7C9070;
    --warm-white:    #F7F6F3;
    --white:         #FFFFFF;
    --muted-gray:    #6B6B6B;
    --soft-gray:     #8E8E93;
    --sand:          #C9B8A8;
    --font-display:  'Fraunces', serif;
    --font-body:     'Plus Jakarta Sans', sans-serif;
    background: var(--warm-white);
    font-family: var(--font-body);
}

/* ---------- Page wrapper ------------------------------------- */
body.shambala-custom-checkout .woocommerce {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Neutralise Elementor — only inside the WC checkout content area,
   NOT in header/footer which need their own flex-direction intact */
body.shambala-custom-checkout .woocommerce .elementor-widget-container,
body.shambala-custom-checkout .woocommerce .e-con-inner,
body.shambala-custom-checkout .woocommerce .elementor-section .elementor-container,
body.shambala-custom-checkout .woocommerce .e-con,
body.shambala-custom-checkout .woocommerce .e-con-full,
body.shambala-custom-checkout .woocommerce-page .entry-content .elementor-widget-container,
body.shambala-custom-checkout .woocommerce-page .entry-content .e-con-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ---------- TWO-COLUMN GRID ---------------------------------- */
div.shambala-checkout-wrap,
body.shambala-custom-checkout div.shambala-checkout-wrap,
.woocommerce-checkout div.shambala-checkout-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 40px !important;
    max-width: 1310px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 40px 80px !important;
    box-sizing: border-box !important;
}

div.shambala-checkout-left,
body.shambala-custom-checkout div.shambala-checkout-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    display: block !important;
    overflow: hidden !important;
}

div.shambala-checkout-right,
body.shambala-custom-checkout div.shambala-checkout-right {
    width: 420px;
    min-width: 380px;
    flex: 0 0 420px;
    display: block !important;
    position: sticky;
    top: 40px;
    align-self: flex-start;
}

/* WooCommerce col2-set: billing + additional info stacked vertically */
body.shambala-custom-checkout .col2-set {
    display: block !important;
    width: 100% !important;
    float: none !important;
}
body.shambala-custom-checkout .col2-set .col-1,
body.shambala-custom-checkout .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
}

/* ---------- Progress Stepper --------------------------------- */
.shambala-stepper-hero {
    background: var(--warm-white);
    padding: 32px 0 40px;
    border-bottom: 1px solid rgba(34,50,64,0.06);
    margin-bottom: 40px;
}
.shambala-stepper-hero-inner {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    position: relative;
}

.shambala-stepper-back {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--soft-gray);
    text-decoration: none;
    transition: color 0.2s;
    position: absolute;
    left: 40px;
    top: 0;
}
.shambala-stepper-back:hover { color: var(--midnight-lake); }

.shambala-stepper {
    display: flex;
    align-items: center;
    max-width: 600px;
    width: 100%;
}

.shambala-step {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.shambala-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    font-family: var(--font-body);
}
.shambala-step.completed .shambala-step-circle { background: var(--forest-green); color: #fff; }
.shambala-step.active    .shambala-step-circle { background: var(--midnight-lake); color: #fff; }
.shambala-step.inactive  .shambala-step-circle { background: #E5E5E5; color: var(--soft-gray); }
.shambala-step-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--midnight-lake);
    font-family: var(--font-body);
}
.shambala-step.completed .shambala-step-label { color: var(--forest-green); }
.shambala-step.inactive  .shambala-step-label { color: var(--soft-gray); }
.shambala-step-line {
    flex: 1;
    height: 2px;
    margin: 0 16px;
    background: #E5E5E5;
    min-width: 40px;
}
.shambala-step-line.done { background: var(--forest-green); }

/* Contact Information heading (was Billing Details) + Additional Notes heading */
body.shambala-custom-checkout .woocommerce-billing-fields h3,
body.shambala-custom-checkout .woocommerce-additional-fields h3 {
    display: none !important;
}
/* Our explicit heading */
body.shambala-custom-checkout .shambala-contact-heading {
    font-family: 'Fraunces', serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    color: #223240 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: none !important;
}
/* Additional Notes heading rendered by WC */
body.shambala-custom-checkout .woocommerce-additional-fields > h3 {
    display: block !important;
    font-family: 'Fraunces', serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    color: #223240 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: none !important;
}

/* Hide the hr that WooCommerce renders above the billing heading */
body.shambala-custom-checkout .woocommerce-billing-fields > h3:first-child,
body.shambala-custom-checkout #customer_details hr,
body.shambala-custom-checkout .col-1 hr,
body.shambala-custom-checkout .col-2 hr,
body.shambala-custom-checkout .shambala-checkout-left hr {
    display: none !important;
}

/* Form field labels */
body.shambala-custom-checkout .form-row label,
body.shambala-custom-checkout .woocommerce-form__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--soft-gray);
    font-family: var(--font-body);
}

/* Form inputs */
body.shambala-custom-checkout .form-row input.input-text,
body.shambala-custom-checkout .form-row select,
body.shambala-custom-checkout .form-row textarea,
body.shambala-custom-checkout .woocommerce-checkout input.input-text,
body.shambala-custom-checkout .woocommerce-checkout select,
body.shambala-custom-checkout .woocommerce-checkout textarea,
body.shambala-custom-checkout .shambala-custom-fields input,
body.shambala-custom-checkout .shambala-custom-fields select,
body.shambala-custom-checkout .shambala-custom-fields textarea {
    padding: 14px 16px !important;
    height: 52px !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #223240 !important;
    background: #fff !important;
    outline: none !important;
    width: 100% !important;
    box-shadow: none !important;
    transition: border-color 0.2s !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
}
/* Textarea overrides height to auto */
body.shambala-custom-checkout .form-row textarea,
body.shambala-custom-checkout .shambala-custom-fields textarea {
    height: auto !important;
    min-height: 100px !important;
}
/* Select: custom arrow */
body.shambala-custom-checkout .form-row select,
body.shambala-custom-checkout .shambala-native-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238e8e93' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
    cursor: pointer !important;
}
/* Placeholder state — muted color when nothing selected */
body.shambala-custom-checkout .shambala-native-select.is-placeholder {
    color: #BEBEBE !important;
}
body.shambala-custom-checkout .shambala-native-select {
    display: block !important;
    width: 100% !important;
    min-height: 52px !important;
    line-height: 1.5 !important;
}
body.shambala-custom-checkout .shambala-native-select option {
    color: #223240 !important;
}
body.shambala-custom-checkout .shambala-native-select option[value=""] {
    color: #BEBEBE !important;
}
.shambala-select-wrap {
    display: block;
    position: relative;
    width: 100%;
}
body.shambala-custom-checkout .form-row input.input-text:focus,
body.shambala-custom-checkout .form-row select:focus,
body.shambala-custom-checkout .form-row textarea:focus {
    border-color: var(--forest-green) !important;
    box-shadow: 0 0 0 3px rgba(124,144,112,0.12) !important;
}
body.shambala-custom-checkout .form-row input.input-text::placeholder,
body.shambala-custom-checkout .form-row textarea::placeholder {
    color: #BEBEBE !important;
}
/* Select placeholder option (first empty value) */
body.shambala-custom-checkout .form-row select option[value=""] {
    color: #BEBEBE !important;
}
/* When select has no value selected, show placeholder color on the select itself */
body.shambala-custom-checkout .form-row select:not([data-val]):has(option[value=""]:checked),
body.shambala-custom-checkout .shambala-custom-fields select {
    color: #223240 !important;
}
body.shambala-custom-checkout .shambala-custom-fields select option[value=""] {
    color: #BEBEBE !important;
}
body.shambala-custom-checkout .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

body.shambala-custom-checkout .form-row {
    margin-bottom: 16px !important;
}

/* Side-by-side first/last rows */
body.shambala-custom-checkout .form-row-first,
body.shambala-custom-checkout .form-row-last {
    width: calc(50% - 8px) !important;
    float: left !important;
}
body.shambala-custom-checkout .form-row-first { clear: left !important; }
body.shambala-custom-checkout .form-row-last  { float: right !important; }
body.shambala-custom-checkout .form-row-wide  { clear: both !important; }

/* Custom fields section */
.shambala-custom-fields {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(34,50,64,0.07);
    clear: both;
}

/* ---------- Payment section ---------------------------------- */
body.shambala-custom-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 32px;
}
body.shambala-custom-checkout #payment ul.payment_methods {
    padding: 0 !important;
    border-bottom: none !important;
}
body.shambala-custom-checkout #payment ul.payment_methods li {
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
    margin-bottom: 12px !important;
    list-style: none !important;
    background: #fff !important;
    transition: border-color 0.2s;
}
body.shambala-custom-checkout #payment ul.payment_methods li.active,
body.shambala-custom-checkout #payment ul.payment_methods li:has(input:checked) {
    border-color: var(--forest-green) !important;
}
body.shambala-custom-checkout #payment ul.payment_methods li label {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--midnight-lake) !important;
    font-family: var(--font-body) !important;
    cursor: pointer !important;
}
body.shambala-custom-checkout #payment ul.payment_methods li input[type="radio"] {
    accent-color: var(--forest-green) !important;
    margin-right: 10px !important;
}
body.shambala-custom-checkout #payment .payment_box {
    background: transparent !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid rgba(34,50,64,0.07) !important;
    margin-top: 16px !important;
    font-size: 13px !important;
    color: var(--muted-gray) !important;
    font-family: var(--font-body) !important;
}

/* Place order button */
body.shambala-custom-checkout #place_order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--forest-green) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 18px 32px !important;
    border-radius: 28px !important;
    border: none !important;
    width: 100% !important;
    font-family: var(--font-body) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: background 0.2s, transform 0.2s !important;
    margin-top: 0 !important;
    cursor: pointer !important;
}
body.shambala-custom-checkout #place_order:hover {
    background: #6a7e60 !important;
    transform: scale(1.01) !important;
}

/* Hide the place order button that lives inside #order_review in the left col —
   we render it in the sidebar via woocommerce_checkout_payment() */
body.shambala-custom-checkout .shambala-payment-only #payment .place-order {
    display: none !important;
}

/* Place order wrapper in sidebar */
.shambala-place-order {
    margin-top: 16px;
}
.shambala-submit-btn,
body.shambala-custom-checkout #place_order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--forest-green) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 18px 32px !important;
    border-radius: 28px !important;
    border: none !important;
    width: 100% !important;
    font-family: var(--font-body) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: background 0.2s, transform 0.2s !important;
    margin-top: 0 !important;
    cursor: pointer !important;
    text-align: center !important;
}
.shambala-submit-btn:hover,
body.shambala-custom-checkout #place_order:hover {
    background: #6a7e60 !important;
    transform: scale(1.01) !important;
}
/* Hide duplicate payment block in sidebar if woocommerce_checkout_payment was called */
.shambala-place-order #payment {
    display: none !important;
}

/* ---------- WC native order review table in sidebar ---------- */
.shambala-order-card .woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
}
.shambala-order-card .woocommerce-checkout-review-order-table thead {
    display: none !important;
}
.shambala-order-card .woocommerce-checkout-review-order-table tbody tr td,
.shambala-order-card .woocommerce-checkout-review-order-table tfoot tr td,
.shambala-order-card .woocommerce-checkout-review-order-table tfoot tr th {
    padding: 8px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(34,50,64,0.06) !important;
    vertical-align: middle !important;
    font-family: var(--font-body) !important;
}
.shambala-order-card .woocommerce-checkout-review-order-table .product-name {
    color: var(--midnight-lake) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}
.shambala-order-card .woocommerce-checkout-review-order-table .product-total {
    text-align: right !important;
    font-weight: 600 !important;
    color: var(--midnight-lake) !important;
    white-space: nowrap !important;
}
.shambala-order-card .woocommerce-checkout-review-order-table tfoot .order-total th,
.shambala-order-card .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--midnight-lake) !important;
    border-bottom: none !important;
    padding-top: 12px !important;
}
.shambala-order-card .woocommerce-checkout-review-order-table tfoot tr:not(.order-total) td,
.shambala-order-card .woocommerce-checkout-review-order-table tfoot tr:not(.order-total) th {
    font-size: 12px !important;
    color: var(--soft-gray) !important;
    font-weight: 400 !important;
}

/* ---------- Form layout fixes -------------------------------- */
/* First/Last name side-by-side properly */
body.shambala-custom-checkout .woocommerce-billing-fields__field-wrapper,
body.shambala-custom-checkout #billing_fields {
    display: flow-root;
}
body.shambala-custom-checkout .form-row-first,
body.shambala-custom-checkout .form-row-last {
    width: calc(50% - 8px) !important;
    float: left !important;
    display: inline-block !important;
    vertical-align: top !important;
}
body.shambala-custom-checkout .form-row-first { 
    clear: left !important;
    margin-right: 16px !important;
}
body.shambala-custom-checkout .form-row-last { 
    float: right !important;
    clear: none !important;
    margin-right: 0 !important;
}
body.shambala-custom-checkout .form-row-wide { 
    clear: both !important;
    width: 100% !important;
    float: none !important;
}

/* Hide WooCommerce's default coupon toggle above the form — we have our own */
body.shambala-custom-checkout .woocommerce-form-coupon-toggle,
body.shambala-custom-checkout .checkout_coupon.woocommerce-form-coupon {
    display: none !important;
}

/* Hide WC's built-in terms, newsletter, and place-order from the payment section —
   we render our own in the sidebar */
body.shambala-custom-checkout .shambala-payment-only .woocommerce-terms-and-conditions-wrapper,
body.shambala-custom-checkout .shambala-payment-only .place-order,
body.shambala-custom-checkout .shambala-payment-only #woocommerce-subscribe-to-newsletter,
body.shambala-custom-checkout .shambala-payment-only .woocommerce-checkout-review-order-table {
    display: none !important;
}

/* Also hide the order review table WC injects inside #order_review */
body.shambala-custom-checkout #order_review .woocommerce-checkout-review-order-table {
    display: none !important;
}

/* ---------- Coupon section (after Additional Notes) ---------- */
.shambala-coupon-section {
    margin: 0 0 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(34,50,64,0.07);
    clear: both;
}
/* "Discount Code" label — small uppercase label style */
.shambala-coupon-section .shambala-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #8e8e93 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: none !important;
}
.shambala-coupon-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.shambala-coupon-input {
    flex: 1 !important;
    height: 52px !important;
    padding: 14px 16px !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #223240 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box !important;
}
.shambala-coupon-input::placeholder {
    color: #BEBEBE !important;
}
.shambala-coupon-input:focus {
    border-color: var(--forest-green) !important;
    box-shadow: 0 0 0 3px rgba(124,144,112,0.12) !important;
}
.shambala-coupon-btn,
body.shambala-custom-checkout .shambala-coupon-btn,
body.shambala-custom-checkout .shambala-coupon-section .shambala-coupon-btn,
body.shambala-custom-checkout button.shambala-coupon-btn {
    background: transparent !important;
    color: #223240 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 14px 24px !important;
    border-radius: 28px !important;
    border: 1.5px solid #E5E5E5 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: border-color 0.2s, background 0.2s !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    align-self: center !important;
    height: 52px !important;
    box-sizing: border-box !important;
}
.shambala-coupon-btn:hover,
body.shambala-custom-checkout .shambala-coupon-btn:hover,
body.shambala-custom-checkout button.shambala-coupon-btn:hover {
    border-color: #223240 !important;
    background: #f7f6f3 !important;
    color: #223240 !important;
}

/* ---------- Right sidebar: Order Summary Card ---------------- */
.shambala-order-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(34,50,64,0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* Order Summary heading — exact spec */
h3.shambala-order-title,
.shambala-order-title {
    font-family: 'Fraunces', serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #223240 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    border: none !important;
}
.shambala-order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.shambala-order-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(34,50,64,0.06);
}
.shambala-order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.shambala-order-item-thumb-wrap {
    position: relative;
    flex-shrink: 0;
}
.shambala-order-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(34,50,64,0.08);
}
.shambala-order-item-qty {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--midnight-lake);
    border-radius: 10px;
    padding: 2px 6px;
    font-family: var(--font-body);
    line-height: 1.2;
}
.shambala-order-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px;
}
.shambala-order-item-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #223240 !important;
    line-height: 1.3 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    display: block;
}
/* Delete text link */
.shambala-remove-item {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px !important;
    color: #8e8e93 !important;
    transition: color 0.2s !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1 !important;
    display: inline !important;
    text-align: left !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.shambala-remove-item:hover {
    color: #cc4444 !important;
    background: none !important;
    transform: none !important;
}
.shambala-order-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    padding-top: 2px;
}
.shambala-order-item-price,
.shambala-order-item-price .woocommerce-Price-amount,
.shambala-order-item-price bdi {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #223240 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    white-space: nowrap !important;
}
.shambala-order-item-vat {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #8e8e93 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    white-space: nowrap;
}

/* Fee rows (eco discount) */
.shambala-order-fees {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.shambala-order-fee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-family: var(--font-body);
}
.shambala-order-fee-name {
    color: var(--muted-gray);
}
.shambala-order-fee-amount {
    font-weight: 600;
    color: var(--forest-green);
}
.shambala-order-divider {
    height: 1px;
    background: rgba(34,50,64,0.07);
}
.shambala-order-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.shambala-order-total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--midnight-lake);
    font-family: var(--font-body);
}
.shambala-order-total-price,
.shambala-order-total-price .woocommerce-Price-amount,
.shambala-order-total-price bdi {
    font-family: var(--font-display) !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    color: var(--midnight-lake) !important;
}
.shambala-order-vat {
    font-size: 12px;
    color: var(--soft-gray);
    text-align: right;
    margin: -4px 0 0;
    font-family: var(--font-body);
}
.shambala-order-cancel {
    font-size: 12px;
    color: var(--soft-gray);
    text-align: center;
    line-height: 1.6;
    font-family: var(--font-body);
    margin: 4px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(34,50,64,0.06);
}

/* ---------- Eco Laundry Checkbox ----------------------------- */
.shambala-eco-check {
    padding: 20px;
    background: var(--warm-white);
    border-radius: 12px;
    margin-top: 14px;
    border: 1.5px solid transparent;
}
.shambala-eco-message {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted-gray);
    font-family: var(--font-body);
    margin: 0;
}

/* ---------- Terms + Newsletter checkboxes -------------------- */
.shambala-checkout-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}
.shambala-optin {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--warm-white);
    border-radius: 12px;
    border: 1.5px solid transparent;
    transition: border-color 0.2s;
}
.shambala-optin input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--forest-green);
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
}
.shambala-optin-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.shambala-optin-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--midnight-lake);
    font-family: var(--font-body);
}
.shambala-optin-text p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted-gray);
    margin: 0;
    font-family: var(--font-body);
}
.shambala-optin-text a {
    color: var(--forest-green);
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- WC notices -------------------------------------- */
body.shambala-custom-checkout .woocommerce-error,
body.shambala-custom-checkout .woocommerce-message,
body.shambala-custom-checkout .woocommerce-info {
    border-radius: 10px;
    font-family: var(--font-body);
    margin-bottom: 24px;
}

/* ---------- Responsive -------------------------------------- */
@media (max-width: 1024px) {
    div.shambala-checkout-wrap,
    body.shambala-custom-checkout div.shambala-checkout-wrap {
        padding: 0 24px 80px !important;
        gap: 28px !important;
    }
    div.shambala-checkout-right,
    body.shambala-custom-checkout div.shambala-checkout-right {
        width: 300px !important;
        min-width: 300px !important;
        flex: 0 0 300px !important;
    }
    .shambala-stepper-hero-inner { padding: 0 24px; }
    .shambala-stepper-back { left: 24px; }
}

@media (max-width: 768px) {
    div.shambala-checkout-wrap,
    body.shambala-custom-checkout div.shambala-checkout-wrap {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        padding: 0 16px 60px !important;
        gap: 24px !important;
        overflow: visible !important;
        height: auto !important;
    }
    /* Sidebar below form on mobile */
    div.shambala-checkout-right,
    body.shambala-custom-checkout div.shambala-checkout-right,
    body.shambala-custom-checkout .shambala-checkout-wrap .shambala-checkout-right {
        order: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        position: static !important;
        top: auto !important;
        align-self: auto !important;
        display: block !important;
        height: auto !important;
    }
    div.shambala-checkout-left,
    body.shambala-custom-checkout div.shambala-checkout-left {
        order: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        overflow: visible !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .shambala-stepper-hero-inner { padding: 0 16px; }
    .shambala-stepper-back { position: static; align-self: flex-start; }
    .shambala-stepper-hero { padding: 20px 0 28px; }
    .shambala-step-label { display: none; }
    body.shambala-custom-checkout .form-row-first,
    body.shambala-custom-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
    .shambala-order-card {
        padding: 24px 20px !important;
    }
    /* Ensure all form sections are visible */
    body.shambala-custom-checkout .col2-set,
    body.shambala-custom-checkout .col2-set .col-1,
    body.shambala-custom-checkout .col2-set .col-2,
    body.shambala-custom-checkout .woocommerce-billing-fields,
    body.shambala-custom-checkout .woocommerce-additional-fields,
    body.shambala-custom-checkout .shambala-custom-fields,
    body.shambala-custom-checkout #customer_details,
    body.shambala-custom-checkout .shambala-coupon-section,
    body.shambala-custom-checkout #order_review {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* ---------- Applied Coupons in sidebar ---------------------- */
.shambala-applied-coupons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.shambala-applied-coupon {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--warm-white);
    border-radius: 12px;
    border: 1.5px solid transparent;
    font-family: var(--font-body);
}
.shambala-coupon-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--midnight-lake);
    font-family: var(--font-body);
    flex: 1;
}
.shambala-coupon-discount {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-gray);
    font-family: var(--font-body);
}
.shambala-remove-coupon {
    background: var(--midnight-lake);
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}
.shambala-remove-coupon:hover {
    background: #e2401c;
}


/* ---------- Order Confirmation (Thank You) Page ------------- */
.woocommerce-order,
.woocommerce-order p,
.woocommerce-order table {
    font-family: var(--font-body) !important;
}

/* "Thank you. Your order has been received." */
.woocommerce-thankyou-order-received {
    font-family: var(--font-display) !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    color: var(--forest-green) !important;
    margin-bottom: 20px !important;
}

/* Order overview meta (order number, date, email, total) */
.woocommerce-order-overview.woocommerce-thankyou-order-details {
    background: #fff !important;
    border: 1.5px solid #f0eeeb !important;
    border-radius: 16px !important;
    padding: 20px 28px !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 0 !important;
    margin: 0 0 32px !important;
}
.woocommerce-order-overview li {
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    color: var(--muted-gray) !important;
    border-right: 1px solid #e5e5e5 !important;
    padding: 0 24px 0 0 !important;
    margin: 0 24px 0 0 !important;
}
.woocommerce-order-overview li:last-child {
    border-right: none !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
}
.woocommerce-order-overview li strong {
    display: block !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--midnight-lake) !important;
    margin-top: 3px !important;
}

/* "Order details" heading */
.woocommerce-order-details h2,
.woocommerce-order-details__title,
.shambala-thankyou-booking-details h2 {
    font-family: var(--font-display) !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    color: var(--midnight-lake) !important;
    margin: 32px 0 16px !important;
}

/* Order table */
.woocommerce-order .woocommerce-table,
.woocommerce-order .shop_table {
    border: 1.5px solid #f0eeeb !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    font-family: var(--font-body) !important;
}
.woocommerce-order .woocommerce-table thead th,
.woocommerce-order .shop_table thead th {
    background: var(--warm-white) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: var(--soft-gray) !important;
    padding: 14px 20px !important;
    border-bottom: 1.5px solid #f0eeeb !important;
}
.woocommerce-order .woocommerce-table tbody td,
.woocommerce-order .woocommerce-table tbody th,
.woocommerce-order .shop_table tbody td,
.woocommerce-order .shop_table tbody th {
    padding: 14px 20px !important;
    font-size: 14px !important;
    color: var(--midnight-lake) !important;
    border-bottom: 1px solid #f5f4f1 !important;
    vertical-align: middle !important;
}
.woocommerce-order .woocommerce-table tbody tr:last-child td,
.woocommerce-order .woocommerce-table tbody tr:last-child th {
    border-bottom: none !important;
}
.woocommerce-order .woocommerce-table tfoot td,
.woocommerce-order .woocommerce-table tfoot th,
.woocommerce-order .shop_table tfoot td,
.woocommerce-order .shop_table tfoot th {
    padding: 14px 20px !important;
    font-size: 14px !important;
    border-top: 1.5px solid #f0eeeb !important;
    color: var(--midnight-lake) !important;
}
.woocommerce-order .woocommerce-table tfoot tr:last-child td,
.woocommerce-order .woocommerce-table tfoot tr:last-child th {
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Product name link */
.woocommerce-order .woocommerce-table .product-name a {
    color: var(--midnight-lake) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}
.woocommerce-order .woocommerce-table .product-name a:hover {
    color: var(--forest-green) !important;
}

/* Booking Details section */
.shambala-thankyou-booking-details {
    margin-top: 32px;
}
.shambala-thankyou-booking-details .shop_table th {
    width: 40%;
    font-weight: 600 !important;
    color: var(--soft-gray) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}
