/* ============================================================
       Tenant Checkout — dedicated customer-facing UI
       This page intentionally does not use Bootstrap utility classes.
       ============================================================ */
    body:has(.bsh-checkout-page) {
        background: #f3faf6 !important;
        color: #111827 !important;
    }

    body:has(.bsh-checkout-page) > header,
    body:has(.bsh-checkout-page) > footer {
        display: none !important;
    }

    body:has(.bsh-checkout-page) > main {
        display: block !important;
        min-height: 100vh !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .bsh-checkout-page,
    .bsh-checkout-page * {
        box-sizing: border-box;
    }

    .bsh-checkout-page {
        --bsh-green: #0b8f45;
        --bsh-green-dark: #08733a;
        --bsh-green-soft: #eaf9f0;
        --bsh-border: #dfe7e3;
        --bsh-text: #101828;
        --bsh-muted: #667085;
        --bsh-bg: #f3faf6;
        width: 100%;
        min-height: 100vh;
        background:
            radial-gradient(circle at 12% 20%, rgba(22,163,74,.07), transparent 30%),
            radial-gradient(circle at 90% 82%, rgba(34,197,94,.07), transparent 28%),
            var(--bsh-bg);
        font-family: var(--font-family), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .bsh-checkout-header {
        background: linear-gradient(135deg, #087b3b 0%, #10a34d 100%);
        color: #fff;
        box-shadow: 0 8px 30px rgba(6, 95, 47, .14);
    }

    .bsh-header-inner {
        width: min(1240px, calc(100% - 40px));
        margin: 0 auto;
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 28px;
    }

    .bsh-brand {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        color: #fff !important;
        text-decoration: none !important;
        min-width: 0;
    }

    .bsh-brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        background: rgba(255,255,255,.16);
        border: 1px solid rgba(255,255,255,.24);
        display: grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .bsh-brand-copy strong {
        display: block;
        font-size: 22px;
        line-height: 1.1;
        font-weight: 800;
        letter-spacing: -.3px;
    }

    .bsh-brand-copy span {
        display: block;
        margin-top: 3px;
        font-size: 12px;
        color: rgba(255,255,255,.82);
    }

    .bsh-header-trust {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 28px;
        flex-wrap: wrap;
    }

    .bsh-trust-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 700;
        color: rgba(255,255,255,.95);
        white-space: nowrap;
    }

    .bsh-page-wrap {
        width: min(1240px, calc(100% - 40px));
        margin: 0 auto;
        padding: 22px 0 46px;
    }

    .bsh-breadcrumbs {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #667085;
        font-size: 13px;
        font-weight: 600;
        margin: 0 0 18px;
    }

    .bsh-breadcrumbs a {
        color: #475467 !important;
        text-decoration: none !important;
    }

    .bsh-breadcrumbs .current {
        color: var(--bsh-green-dark);
    }

    .bsh-checkout-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(350px, .85fr);
        gap: 24px;
        align-items: start;
    }

    .bsh-card {
        background: rgba(255,255,255,.98);
        border: 1px solid rgba(222,231,226,.85);
        border-radius: 22px;
        box-shadow: 0 16px 45px rgba(16,24,40,.07);
    }

    .bsh-form-card {
        padding: 30px;
    }

    .bsh-section-head {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 22px;
    }

    .bsh-step {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--bsh-green);
        color: #fff;
        display: grid;
        place-items: center;
        font-size: 17px;
        font-weight: 800;
        flex: 0 0 auto;
        box-shadow: 0 7px 18px rgba(11,143,69,.22);
    }

    .bsh-section-head h1,
    .bsh-section-head h2 {
        margin: 0;
        color: var(--bsh-text);
        font-size: 22px;
        line-height: 1.25;
        font-weight: 800;
        letter-spacing: -.35px;
    }

    .bsh-section-head p {
        margin: 5px 0 0;
        color: var(--bsh-muted);
        font-size: 14px;
        line-height: 1.65;
    }

    .bsh-field {
        margin-bottom: 18px;
    }

    .bsh-field label {
        display: block;
        margin: 0 0 8px;
        color: #344054;
        font-size: 14px;
        line-height: 1.3;
        font-weight: 800;
    }

    .bsh-required {
        color: #d92d20;
    }

    .bsh-input-wrap {
        position: relative;
    }

    .bsh-field-icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #667085;
        pointer-events: none;
    }

    .bsh-input,
    .bsh-textarea {
        width: 100%;
        border: 1px solid #d0d5dd !important;
        background: #fff !important;
        color: #101828 !important;
        border-radius: 13px !important;
        outline: none !important;
        box-shadow: none !important;
        font: inherit;
        font-size: 15px;
        transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .bsh-input {
        min-height: 52px;
        padding: 0 16px 0 46px !important;
    }

    .bsh-textarea {
        min-height: 116px;
        padding: 14px 16px !important;
        resize: vertical;
        line-height: 1.55;
    }

    .bsh-input::placeholder,
    .bsh-textarea::placeholder {
        color: #98a2b3;
    }

    .bsh-input:focus,
    .bsh-textarea:focus {
        border-color: var(--bsh-green) !important;
        box-shadow: 0 0 0 4px rgba(11,143,69,.10) !important;
    }

    .bsh-phone-note {
        margin: 7px 0 0 46px;
        color: #667085;
        font-size: 12px;
        line-height: 1.5;
    }

    .bsh-address-count {
        text-align: right;
        margin-top: 5px;
        color: #98a2b3;
        font-size: 12px;
    }

    .bsh-divider {
        height: 1px;
        background: #edf1ef;
        margin: 28px 0;
    }

    .bsh-delivery-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 14px;
    }

    .bsh-delivery-option {
        position: relative;
    }

    .bsh-delivery-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .bsh-delivery-label {
        min-height: 92px;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px;
        border: 1px solid #d9e1dc;
        border-radius: 15px;
        cursor: pointer;
        background: #fff;
        transition: all .18s ease;
    }

    .bsh-delivery-label:hover {
        border-color: #8fd0aa;
        transform: translateY(-1px);
    }

    .bsh-delivery-option input:checked + .bsh-delivery-label {
        border-color: var(--bsh-green);
        background: #effaf3;
        box-shadow: 0 0 0 3px rgba(11,143,69,.08);
    }

    .bsh-radio {
        width: 21px;
        height: 21px;
        border-radius: 50%;
        border: 2px solid #98a2b3;
        display: grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .bsh-delivery-option input:checked + .bsh-delivery-label .bsh-radio {
        border-color: var(--bsh-green);
    }

    .bsh-delivery-option input:checked + .bsh-delivery-label .bsh-radio::after {
        content: "";
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--bsh-green);
    }

    .bsh-truck-icon {
        color: var(--bsh-green);
        flex: 0 0 auto;
    }

    .bsh-delivery-copy strong {
        display: block;
        color: #101828;
        font-size: 15px;
        font-weight: 800;
    }

    .bsh-delivery-copy span {
        display: block;
        margin-top: 4px;
        color: #667085;
        font-size: 13px;
    }

    .bsh-weight-note {
        margin-top: 12px;
        padding: 10px 12px;
        border-radius: 11px;
        background: #f2f8ff;
        border: 1px solid #d9eaff;
        color: #344054;
        font-size: 12px;
        line-height: 1.5;
    }

    .bsh-submit {
        width: 100%;
        min-height: 58px;
        margin-top: 22px;
        border: 0 !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #10a34d, #07853f) !important;
        color: #fff !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 17px !important;
        font-weight: 800 !important;
        cursor: pointer;
        box-shadow: 0 12px 25px rgba(11,143,69,.20);
        transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    }

    .bsh-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 15px 30px rgba(11,143,69,.25);
        opacity: 1 !important;
    }
    .bsh-submit-main{
        min-width:0;
        display:inline-flex;
        align-items:center;
        justify-content:flex-start;
        gap:10px;
        flex:1 1 auto;
    }

    .bsh-submit-amount{
        flex:0 0 auto;
        min-width:104px;
        display:flex;
        flex-direction:column;
        align-items:flex-end;
        justify-content:center;
        padding-left:14px;
        border-left:1px solid rgba(255,255,255,.28);
        line-height:1.1;
    }

    .bsh-submit-amount small{
        display:block;
        color:rgba(255,255,255,.82);
        font-size:10px;
        font-weight:700;
        white-space:nowrap;
    }

    .bsh-submit-amount strong{
        display:block;
        margin-top:3px;
        color:#fff;
        font-size:16px;
        font-weight:900;
        white-space:nowrap;
    }


    .bsh-secure-note {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 12px;
        color: #667085;
        font-size: 12px;
        font-weight: 600;
    }

    .bsh-error {
        margin: 0 0 18px;
        padding: 13px 15px;
        border-radius: 12px;
        background: #fff1f0;
        border: 1px solid #fecdca;
        color: #b42318;
        font-size: 13px;
        font-weight: 700;
    }

    .bsh-summary {
        position: sticky;
        top: 22px;
        overflow: hidden;
    }

    .bsh-summary-inner {
        padding: 26px;
    }

    .bsh-summary-title {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .bsh-summary-icon {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #e7f8ee;
        color: var(--bsh-green);
        display: grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .bsh-summary-title h2 {
        margin: 0;
        color: #101828;
        font-size: 20px;
        font-weight: 800;
    }

    .bsh-product {
        display: grid;
        grid-template-columns: 92px minmax(0,1fr);
        gap: 14px;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #edf1ef;
    }

    .bsh-product-image {
        width: 92px;
        height: 92px;
        border-radius: 15px;
        background: #f4f7f5;
        border: 1px solid #e4ebe7;
        overflow: hidden;
        display: grid;
        place-items: center;
    }

    .bsh-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .bsh-product-image-placeholder {
        color: #98a2b3;
        font-size: 12px;
        text-align: center;
    }

    .bsh-product-name {
        color: #101828;
        font-size: 15px;
        line-height: 1.45;
        font-weight: 800;
    }

    .bsh-product-meta {
        margin-top: 6px;
        color: #667085;
        font-size: 12px;
        line-height: 1.6;
    }

    .bsh-selected-variant-summary {
        margin-top: 5px;
        color: #475467;
        font-size: 12px;
        line-height: 1.5;
    }

    .bsh-selected-variant-summary span {
        display: inline-block;
        margin-right: 9px;
    }

    .bsh-selected-variant-summary strong {
        color: #344054;
        font-weight: 800;
    }

    .bsh-product-quantity {
        display: inline-flex;
        align-items: center;
        width: max-content;
        height: 34px;
        margin-top: 9px;
        border: 1px solid #dfe7e3;
        border-radius: 9px;
        overflow: hidden;
        background: #fff;
    }

    .bsh-product-quantity button {
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        background: #f7faf8;
        color: #08733a;
        font-size: 20px;
        line-height: 1;
        font-weight: 800;
        cursor: pointer;
    }

    .bsh-product-quantity button:hover {
        background: #eaf9f0;
    }

    .bsh-product-quantity input {
        width: 38px;
        height: 32px;
        padding: 0;
        border: 0;
        border-left: 1px solid #edf1ef;
        border-right: 1px solid #edf1ef;
        outline: 0;
        background: #fff;
        color: #101828;
        font-size: 14px;
        font-weight: 800;
        text-align: center;
        appearance: textfield;
        -moz-appearance: textfield;
    }

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

    .bsh-product-price {
        margin-top: 6px;
        color: var(--bsh-green-dark);
        font-size: 20px;
        font-weight: 900;
    }

    .bsh-price-lines {
        padding: 18px 0 4px;
    }

    .bsh-price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 0;
        color: #475467;
        font-size: 14px;
    }

    .bsh-price-row strong {
        color: #101828;
        font-weight: 800;
    }

    /* Checkout delivery row: label left, free badge centered, amount right. */
    .bsh-delivery-charge-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 16px;
    }

    .bsh-delivery-charge-row > span:first-child {
        justify-self: start;
    }

    .bsh-delivery-charge-row > strong {
        justify-self: end;
        white-space: nowrap;
    }

    .bsh-free-delivery-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 40px;
        padding: 7px 16px;
        border: 1px solid #b9ead0;
        border-radius: 999px;
        background: #eefbf4;
        color: #0b8f45;
        font-size: 15px;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
    }

    .bsh-free-delivery-badge svg {
        flex: 0 0 auto;
    }

    .bsh-total {
        margin-top: 8px;
        padding: 17px 16px;
        border-radius: 15px;
        background: #eefaf4;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .bsh-total span {
        color: #101828;
        font-size: 16px;
        font-weight: 800;
    }

    .bsh-total strong {
        color: #08733a;
        font-size: 25px;
        font-weight: 900;
        letter-spacing: -.5px;
    }

    .bsh-cod {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-top: 16px;
        padding: 15px;
        border-radius: 14px;
        background: #e8f8ef;
        border: 1px solid #c9eed8;
    }

    .bsh-cod > .bsh-cod-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
        margin: 0;
        border-radius: 50%;
        background: #0b8f45;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        flex: 0 0 38px;
        line-height: 0;
        box-sizing: border-box;
        box-shadow: 0 3px 9px rgba(8, 115, 58, .16);
    }

    .bsh-cod > .bsh-cod-icon svg {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        display: block;
        margin: 0;
        padding: 0;
        position: static;
        transform: none;
        flex: 0 0 18px;
        overflow: visible;
    }

    .bsh-cod > span:not(.bsh-cod-icon) {
        display: block;
        margin-top: 0;
        color: #4b6356;
        font-size: 12px;
        line-height: 1.5;
    }

    .bsh-cod > span:not(.bsh-cod-icon) > strong {
        display: block;
        margin: 0;
        color: #08733a;
        font-size: 14px;
        font-weight: 900;
    }

    .bsh-cod > span:not(.bsh-cod-icon) > span {
        display: block;
        margin-top: 3px;
        color: #4b6356;
        font-size: 12px;
        line-height: 1.5;
    }

    .bsh-benefits {
        display: grid;
        grid-template-columns: repeat(4, minmax(0,1fr));
        gap: 10px;
        margin-top: 18px;
    }

    .bsh-benefit {
        text-align: center;
        color: #667085;
        font-size: 11px;
        line-height: 1.35;
    }

    .bsh-benefit-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 7px;
        border-radius: 50%;
        background: #effaf4;
        color: #0b8f45;
        display: grid;
        place-items: center;
    }

    .bsh-checkout-footer {
        width: min(1240px, calc(100% - 40px));
        margin: 0 auto;
        padding: 22px 0 34px;
        color: #667085;
        font-size: 12px;
        text-align: center;
    }

    .bsh-footer-line {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .bsh-footer-heart {
        color: #0b8f45;
    }

    /* ============================================================
       DESKTOP CHECKOUT BALANCE — scoped to desktop only
       Keeps all existing mobile checkout rules unchanged.
       ============================================================ */
    @media (min-width: 981px) {
        .bsh-checkout-grid {
            grid-template-columns: minmax(0, 1.18fr) minmax(430px, 1fr);
            gap: 22px;
        }

        .bsh-form-card {
            padding: 26px;
        }

        .bsh-summary-inner {
            padding: 28px;
        }

        /* Desktop: keep the confirmation action on the left form column
           and keep it visible as a fixed viewport CTA while scrolling. */
        .bsh-form-card > .bsh-submit {
            display: none;
        }

        .bsh-desktop-sticky-rail {
            position: fixed;
            left: 50%;
            bottom: 18px;
            transform: translateX(-50%);
            width: min(1240px, calc(100% - 40px));
            display: grid;
            grid-template-columns: minmax(0, 1.18fr) minmax(430px, 1fr);
            gap: 22px;
            z-index: 1000;
            pointer-events: none;
        }

        .bsh-desktop-sticky-submit {
            grid-column: 1;
            width: 100%;
            min-height: 66px;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto minmax(104px, 1fr);
            align-items: center;
            padding: 0 18px;
            border-radius: 14px;
            box-shadow: 0 14px 34px rgba(11,143,69,.28);
            pointer-events: auto;
        }

        .bsh-desktop-sticky-submit .bsh-submit-main {
            grid-column: 2;
            justify-self: center;
            justify-content: center;
            flex: 0 0 auto;
            white-space: nowrap;
        }

        .bsh-desktop-sticky-submit .bsh-submit-amount {
            grid-column: 3;
            justify-self: end;
        }

        .bsh-submit-main {
            grid-column: 2;
            justify-self: center;
            flex: 0 0 auto;
            justify-content: center;
            white-space: nowrap;
        }

        .bsh-submit-amount {
            grid-column: 3;
            justify-self: end;
        }
    }

    @media (max-width: 980px) {
        .bsh-desktop-sticky-submit {
            display: none !important;
        }

        .bsh-checkout-grid {
            grid-template-columns: 1fr;
        }

        .bsh-summary {
            position: static;
        }
    }

    @media (max-width: 700px) {
        .bsh-header-inner,
        .bsh-page-wrap,
        .bsh-checkout-footer {
            width: min(100% - 24px, 1240px);
        }

        .bsh-header-inner {
            min-height: 68px;
        }

        .bsh-header-trust {
            display: none;
        }

        .bsh-brand-copy strong {
            font-size: 19px;
        }

        .bsh-brand-copy span {
            font-size: 10px;
        }

        .bsh-page-wrap {
            padding-top: 14px;
        }

        .bsh-form-card,
        .bsh-summary-inner {
            padding: 20px;
        }

        .bsh-delivery-options {
            grid-template-columns: 1fr;
        }

        .bsh-product {
            grid-template-columns: 78px minmax(0,1fr);
        }

        .bsh-product-image {
            width: 78px;
            height: 78px;
        }

        .bsh-benefits {
            grid-template-columns: repeat(2, minmax(0,1fr));
            gap: 16px 10px;
        }

        .bsh-submit{padding-left:14px;padding-right:14px;}
        .bsh-submit-amount{min-width:92px;padding-left:10px;}
        .bsh-submit-amount strong{font-size:14px;}
    }

    .bsh-mobile-inline-total {
        display: none;
    }

    @media (max-width: 440px) {
        /* MOBILE CHECKOUT VIEWPORT FIT — scoped only to the checkout form */
        .bsh-form-card {
            padding: 12px;
        }

        .bsh-section-head {
            gap: 8px;
            margin-bottom: 9px;
        }

        .bsh-step {
            width: 34px;
            height: 34px;
            font-size: 15px;
        }

        .bsh-section-head h1,
        .bsh-section-head h2 {
            font-size: 16px;
            line-height: 1.15;
            letter-spacing: -.2px;
        }

        .bsh-section-head p {
            margin-top: 1px;
            font-size: 10.5px;
            line-height: 1.28;
        }

        .bsh-field {
            margin-bottom: 8px;
        }

        .bsh-field label {
            margin-bottom: 4px;
            font-size: 12px;
            line-height: 1.2;
        }

        .bsh-input {
            min-height: 42px;
            padding: 0 12px 0 40px !important;
            font-size: 13px;
        }

        .bsh-field-icon {
            left: 12px;
        }

        .bsh-field-icon svg {
            width: 18px;
            height: 18px;
        }

        .bsh-textarea {
            min-height: 60px;
            height: 60px !important;
            padding: 7px 9px !important;
            font-size: 12.5px;
            line-height: 1.3;
        }

        .bsh-address-count {
            display: none !important;
        }

        .bsh-divider {
            margin: 9px 0;
        }

        .bsh-delivery-options {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
        }

        .bsh-delivery-label {
            min-height: 58px;
            gap: 6px;
            padding: 7px;
            border-radius: 11px;
        }

        .bsh-radio {
            width: 18px;
            height: 18px;
            border-width: 2px;
        }

        .bsh-delivery-option input:checked + .bsh-delivery-label .bsh-radio::after {
            width: 7px;
            height: 7px;
        }

        .bsh-truck-icon svg {
            width: 22px;
            height: 22px;
        }

        .bsh-delivery-copy strong {
            font-size: 11.5px;
            line-height: 1.15;
        }

        .bsh-delivery-copy span {
            margin-top: 1px;
            font-size: 9.5px;
            line-height: 1.2;
        }

        /* FINAL MOBILE SUMMARY FIT — preserve existing checkout UI */
        .bsh-mobile-inline-total {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 46px;
            margin-top: 8px;
            padding: 6px 7px;
            gap: 4px;
            border: 1px solid #dcefe4;
            border-radius: 11px;
            background: #f1faf5;
            box-sizing: border-box;
            overflow: hidden;
        }

        .bsh-mobile-inline-item {
            min-width: 0;
            flex: 1 1 0;
            display: flex;
            align-items: baseline;
            justify-content: center;
            gap: 2px;
            white-space: nowrap;
            overflow: hidden;
        }

        .bsh-mobile-inline-item > span {
            color: #667085;
            font-size: 9px;
            font-weight: 700;
            letter-spacing: -.15px;
            white-space: nowrap;
        }

        .bsh-mobile-inline-item > strong {
            color: #344054;
            font-size: 11px;
            font-weight: 900;
            white-space: nowrap;
        }

        .bsh-mobile-inline-plus {
            flex: 0 0 auto;
            color: #0b8f45;
            font-size: 11px;
            font-weight: 900;
        }

        .bsh-mobile-inline-separator {
            width: 1px;
            height: 22px;
            flex: 0 0 1px;
            background: #cfe4d7;
            margin: 0;
        }

        .bsh-mobile-inline-grand {
            flex: 1 1 0;
            gap: 2px;
        }

        .bsh-mobile-inline-grand > span {
            color: #344054;
        }

        .bsh-mobile-inline-grand > strong {
            color: #0b8f45;
            font-size: 11px;
        }

        .bsh-submit {
            min-height: 44px;
            margin-top: 8px;
            border-radius: 11px !important;
            gap: 6px;
            font-size: 13px !important;
        }

        .bsh-submit-main {
            flex: 0 0 auto;
            justify-content: center;
            gap: 7px;
        }

        .bsh-submit-main svg {
            width: 18px;
            height: 18px;
        }

        .bsh-submit-amount {
            display: none !important;
        }

        .bsh-breadcrumbs {
            font-size: 12px;
        }
    }

/*
 * BSH Checkout CTA Stability Fix V5
 * Keep the desktop CTA visible and fixed; reserve footer space so the CTA
 * does not cover footer content at the end of the page.
 * Mobile continues to use the existing inline submit button.
 */
@media (min-width: 981px) {
    .bsh-desktop-sticky-rail {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        bottom: 18px !important;
        top: auto !important;
        transform: translateX(-50%) !important;
        width: min(1240px, calc(100% - 40px)) !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1.18fr) minmax(430px, 1fr) !important;
        gap: 22px !important;
        z-index: 1000 !important;
        pointer-events: none !important;
        margin: 0 !important;
    }

    .bsh-desktop-sticky-rail .bsh-desktop-sticky-submit {
        position: static !important;
        grid-column: 1 !important;
        width: 100% !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 980px) {
    .bsh-desktop-sticky-rail {
        display: none !important;
    }
}



/* BSH Checkout CTA Stability Fix V5 — footer clearance */
@media (min-width: 981px) {
    .bsh-checkout-footer {
        padding-bottom: 110px !important;
    }
}


/* BSH Desktop Checkout Form Redesign V1
 * Desktop-only presentation changes. Mobile rules and checkout business logic remain untouched.
 */
@media (min-width: 981px) {
    .bsh-checkout-grid {
        grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr) !important;
        gap: 26px !important;
        align-items: start;
    }

    .bsh-form-card {
        padding: 32px !important;
        border-radius: 20px;
        border-color: #dce9df;
        box-shadow: 0 12px 32px rgba(19, 68, 39, .065);
    }

    .bsh-summary {
        position: static !important;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 12px 32px rgba(19, 68, 39, .065);
    }

    .bsh-summary-inner {
        padding: 30px !important;
    }

    /* Use the real submit button inside the form; no cloned/fixed CTA rail. */
    .bsh-form-card > .bsh-submit {
        display: grid !important;
        position: static !important;
        width: 100%;
        margin-top: 26px;
        min-height: 68px;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(11, 143, 69, .18);
    }

    .bsh-desktop-sticky-rail,
    .bsh-desktop-sticky-submit {
        display: none !important;
    }

    .bsh-section-head {
        gap: 16px;
        margin-bottom: 26px;
    }

    .bsh-section-head h1,
    .bsh-section-head h2 {
        letter-spacing: -.015em;
    }

    .bsh-field {
        margin-bottom: 20px;
    }

    .bsh-input,
    .bsh-textarea {
        border-radius: 11px;
    }

    .bsh-delivery-options {
        gap: 14px;
    }

    .bsh-delivery-option {
        border-radius: 14px;
    }

    .bsh-checkout-footer {
        padding-bottom: 32px !important;
    }
}


/* BSH Multi-cart summary containment fix V3 */
.bsh-checkout-page .bsh-checkout-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;align-items:start!important}
.bsh-checkout-page .bsh-summary{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.bsh-checkout-page .bsh-cart-checkout-items{min-width:0!important;width:100%!important}
.bsh-checkout-page .bsh-cart-checkout-items .bsh-product{display:grid!important;grid-template-columns:72px minmax(0,1fr) minmax(92px,auto)!important;gap:12px!important;width:100%!important;min-width:0!important}
.bsh-checkout-page .bsh-cart-checkout-items .bsh-product-image{width:72px!important;min-width:0!important;flex:none!important}
.bsh-checkout-page .bsh-cart-checkout-items .bsh-product-image img{display:block;width:72px!important;height:72px!important;max-width:100%!important;object-fit:cover}
.bsh-checkout-page .bsh-cart-checkout-items .bsh-product-name{min-width:0!important;overflow-wrap:anywhere!important}
.bsh-checkout-page .bsh-cart-checkout-items .bsh-product>strong{display:block!important;text-align:right!important;white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important}
.bsh-checkout-page .bsh-price-row{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;min-width:0!important}
.bsh-checkout-page .bsh-price-row span{min-width:0!important;overflow-wrap:anywhere!important}
.bsh-checkout-page .bsh-price-row strong{text-align:right!important;white-space:nowrap!important;flex:0 0 auto!important}
@media(min-width:981px){.bsh-checkout-page .bsh-checkout-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important}}
@media(max-width:980px){.bsh-checkout-page .bsh-checkout-grid{grid-template-columns:minmax(0,1fr)!important}.bsh-checkout-page .bsh-summary{width:100%!important}}
@media(max-width:520px){.bsh-checkout-page .bsh-cart-checkout-items .bsh-product{grid-template-columns:56px minmax(0,1fr) 84px!important;gap:8px!important}.bsh-checkout-page .bsh-cart-checkout-items .bsh-product-image{width:56px!important}.bsh-checkout-page .bsh-cart-checkout-items .bsh-product-image img{width:56px!important;height:56px!important}.bsh-checkout-page .bsh-cart-checkout-items .bsh-product>strong{font-size:13px!important}}


/* BSH Multi-cart layout correction V4: scoped to the cart checkout only. */
.bsh-checkout-page .bsh-summary { box-sizing:border-box!important; min-width:0!important; max-width:100%!important; }
.bsh-checkout-page .bsh-summary > .bsh-section-head,
.bsh-checkout-page .bsh-summary > .bsh-cart-checkout-items,
.bsh-checkout-page .bsh-summary > .bsh-price-lines,
.bsh-checkout-page .bsh-summary > .bsh-summary-cart-link { margin-left:20px!important; margin-right:20px!important; }
.bsh-checkout-page .bsh-summary > .bsh-section-head { margin-top:20px!important; }
.bsh-checkout-page .bsh-summary > .bsh-cart-checkout-items { width:auto!important; min-width:0!important; }
.bsh-checkout-page .bsh-cart-checkout-items .bsh-product { display:grid!important; grid-template-columns:72px minmax(0,1fr) minmax(78px,max-content)!important; gap:12px!important; width:100%!important; min-width:0!important; box-sizing:border-box!important; }
.bsh-checkout-page .bsh-cart-checkout-items .bsh-product > div:nth-child(2) { min-width:0!important; overflow-wrap:anywhere!important; }
.bsh-checkout-page .bsh-cart-checkout-items .bsh-product > strong { min-width:0!important; max-width:100%!important; justify-self:end!important; text-align:right!important; white-space:nowrap!important; overflow-wrap:normal!important; font-size:14px!important; }
.bsh-checkout-page .bsh-summary > .bsh-price-lines { width:auto!important; min-width:0!important; box-sizing:border-box!important; }
.bsh-checkout-page .bsh-summary-cart-link { display:inline-block!important; margin-bottom:18px!important; overflow-wrap:anywhere!important; }
@media(max-width:520px) {
 .bsh-checkout-page .bsh-summary > .bsh-section-head,
 .bsh-checkout-page .bsh-summary > .bsh-cart-checkout-items,
 .bsh-checkout-page .bsh-summary > .bsh-price-lines,
 .bsh-checkout-page .bsh-summary > .bsh-summary-cart-link { margin-left:12px!important; margin-right:12px!important; }
 .bsh-checkout-page .bsh-cart-checkout-items .bsh-product { grid-template-columns:56px minmax(0,1fr) 76px!important; gap:8px!important; }
 .bsh-checkout-page .bsh-cart-checkout-items .bsh-product > strong { font-size:12px!important; }
}


/* Shared checkout/cart/wishlist header and quantity badge */
.bsh-header-right{display:flex;align-items:center;justify-content:flex-end;gap:20px;min-width:0}
.bsh-header-cart{position:relative;display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:10px 13px;border:1px solid rgba(255,255,255,.38);border-radius:12px;background:rgba(255,255,255,.12);color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:800;white-space:nowrap}
.bsh-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#ef233c;color:#fff;font-size:11px;line-height:1;font-weight:900;box-shadow:0 0 0 2px #0b8f45}
@media(max-width:820px){.bsh-header-inner{width:calc(100% - 28px);gap:12px;min-height:70px}.bsh-header-right{gap:10px}.bsh-header-trust{gap:10px}.bsh-trust-item{font-size:11px}.bsh-header-cart{padding:9px 10px}}
@media(max-width:560px){.bsh-header-inner{align-items:center;padding:12px 0;flex-wrap:nowrap}.bsh-brand{flex:1 1 auto;min-width:0}.bsh-brand-copy{min-width:0}.bsh-brand-copy strong,.bsh-brand-copy span{overflow-wrap:anywhere}.bsh-brand-copy strong{font-size:18px}.bsh-brand-mark{width:38px;height:38px;flex:0 0 auto}.bsh-header-right{width:auto;flex:0 0 auto;justify-content:flex-end}.bsh-header-trust{display:none}.bsh-trust-item{font-size:10px}.bsh-header-cart{font-size:12px;padding:7px 9px}}

/* BSH Cart Mobile App UI V1 — mobile-only, isolated from desktop and checkout */
@media (max-width: 760px) {
    .bsh-checkout-page .bsh-cart-page {
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto !important;
        padding: 14px 12px 26px !important;
        color: #172033;
    }
    .bsh-checkout-page .bsh-cart-title {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 3px 0 16px !important;
        font-size: 23px !important;
        line-height: 1.2;
        letter-spacing: -.45px;
        font-weight: 900 !important;
    }
    .bsh-checkout-page .bsh-cart-title::before {
        content: "";
        display: inline-block;
        width: 5px;
        height: 27px;
        flex: 0 0 5px;
        border-radius: 99px;
        background: #16a34a;
    }
    .bsh-checkout-page .bsh-cart-alert {
        border: 1px solid #bbf7d0;
        border-radius: 12px;
        font-size: 13px;
        line-height: 1.45;
    }
    .bsh-checkout-page .bsh-cart-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 13px !important;
    }
    .bsh-checkout-page .bsh-cart-card,
    .bsh-checkout-page .bsh-cart-summary {
        min-width: 0;
        padding: 13px !important;
        border: 1px solid #e5eee8 !important;
        border-radius: 17px !important;
        background: #fff;
        box-shadow: 0 5px 18px rgba(16, 45, 28, .045);
    }
    .bsh-checkout-page .bsh-cart-card {
        order: 1 !important;
    }
    .bsh-checkout-page .bsh-cart-summary {
        order: 2 !important;
    }
    .bsh-checkout-page .bsh-cart-row {
        position: relative;
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        align-items: start;
        gap: 11px !important;
        padding: 13px 0 !important;
        border-bottom: 1px solid #edf2ee !important;
    }
    .bsh-checkout-page .bsh-cart-row:first-child {
        padding-top: 0 !important;
    }
    .bsh-checkout-page .bsh-cart-row:last-child {
        padding-bottom: 0 !important;
        border-bottom: 0 !important;
    }
    .bsh-checkout-page .bsh-cart-row > a:first-child {
        display: block;
        width: 82px;
        height: 82px;
        overflow: hidden;
        border: 1px solid #edf2ee;
        border-radius: 13px;
        background: #f7faf8;
    }
    .bsh-checkout-page .bsh-cart-row img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        border-radius: 12px !important;
    }
    .bsh-checkout-page .bsh-cart-name {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 14px;
        line-height: 1.4;
        font-weight: 850;
        overflow-wrap: anywhere;
    }
    .bsh-checkout-page .bsh-cart-muted {
        margin-top: 4px;
        font-size: 11.5px;
        line-height: 1.4;
        color: #667085;
    }
    .bsh-checkout-page .bsh-cart-price {
        grid-column: 2;
        justify-self: start;
        margin-top: -2px;
        color: #087f3c;
        font-size: 15px;
        line-height: 1.3;
        font-weight: 900;
        text-align: left !important;
    }
    .bsh-checkout-page .bsh-cart-controls {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start !important;
        gap: 7px !important;
        margin-top: 9px !important;
    }
    .bsh-checkout-page .bsh-cart-controls form {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px !important;
        min-width: 0;
    }
    .bsh-checkout-page .bsh-cart-controls label {
        display: none;
    }
    .bsh-checkout-page .bsh-cart-controls input[type="number"] {
        width: 54px !important;
        min-height: 35px;
        padding: 5px 4px !important;
        border: 1px solid #d7e4da !important;
        border-radius: 9px !important;
        background: #f9fcfa;
        color: #172033;
        font-size: 13px;
        font-weight: 800;
        text-align: center;
    }
    .bsh-checkout-page .bsh-cart-btn {
        min-height: 37px;
        padding: 8px 11px !important;
        border-radius: 10px !important;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 850;
        white-space: nowrap;
    }
    .bsh-checkout-page .bsh-cart-light {
        border: 1px solid #e4ebe6;
        background: #f5f8f6;
        color: #344054;
    }
    .bsh-checkout-page .bsh-cart-remove {
        min-height: 32px;
        padding: 4px 6px !important;
        font-size: 11.5px;
        font-weight: 750;
    }
    .bsh-checkout-page .bsh-cart-summary h2 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 8px !important;
        font-size: 16px !important;
        font-weight: 900 !important;
    }
    .bsh-checkout-page .bsh-cart-summary h2::before {
        content: "";
        width: 20px;
        height: 20px;
        border-radius: 6px;
        background: #e9f8ef;
        box-shadow: inset 0 0 0 5px #e9f8ef, inset 0 0 0 6px #16a34a;
    }
    .bsh-checkout-page .bsh-cart-total {
        align-items: center;
        padding: 12px 0 9px !important;
        font-size: 13px;
    }
    .bsh-checkout-page .bsh-cart-total strong,
    .bsh-checkout-page .bsh-cart-total > span:last-child {
        color: #087f3c;
        font-size: 20px;
        font-weight: 950;
        white-space: nowrap;
    }
    .bsh-checkout-page .bsh-cart-summary > .bsh-cart-muted {
        margin: 0 0 13px !important;
        font-size: 11.5px;
    }
    .bsh-checkout-page .bsh-cart-summary > a {
        min-height: 46px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
    }
    .bsh-checkout-page .bsh-cart-summary > a.bsh-cart-green {
        box-shadow: 0 6px 14px rgba(22, 163, 74, .18);
        font-size: 14px;
    }
    .bsh-checkout-page .bsh-cart-empty {
        padding: 35px 18px !important;
    }
    .bsh-checkout-page .bsh-cart-empty h2 {
        margin-top: 0;
    }
}
@media (max-width: 380px) {
    .bsh-checkout-page .bsh-cart-page { padding-left: 9px !important; padding-right: 9px !important; }
    .bsh-checkout-page .bsh-cart-card,
    .bsh-checkout-page .bsh-cart-summary { padding: 10px !important; }
    .bsh-checkout-page .bsh-cart-row { grid-template-columns: 70px minmax(0,1fr) !important; gap: 9px !important; }
    .bsh-checkout-page .bsh-cart-row > a:first-child { width: 70px; height: 70px; }
    .bsh-checkout-page .bsh-cart-name { font-size: 13px; }
    .bsh-checkout-page .bsh-cart-price { font-size: 14px; }
    .bsh-checkout-page .bsh-cart-controls { gap: 5px !important; }
    .bsh-checkout-page .bsh-cart-controls input[type="number"] { width: 48px !important; }
    .bsh-checkout-page .bsh-cart-btn { padding: 7px 9px !important; font-size: 11.5px; }
}
