.ra-foundation-body--commerce .ra-commerce-template {
    padding-top: clamp(16px, 2vw, 32px);
    padding-bottom: clamp(24px, 3vw, 48px);
}

.ra-commerce-template > .ra-shell {
    box-sizing: border-box;
    width: calc(100% - 28px);
    max-width: 1400px;
    margin-inline: auto;
}

.ra-commerce-template__title {
    margin: 0 0 clamp(20px, 2.5vw, 34px);
}

.ra-commerce-template .woocommerce-notices-wrapper,
.ra-commerce-template .woocommerce-error,
.ra-commerce-template .woocommerce-info,
.ra-commerce-template .woocommerce-message {
    grid-column: 1 / -1;
}

.ra-commerce-template .woocommerce-error,
.ra-commerce-template .woocommerce-info,
.ra-commerce-template .woocommerce-message {
    box-sizing: border-box;
    margin: 0 0 18px !important;
    padding: 12px 20px !important;
    border: 0 !important;
    border-radius: 999px;
    background: #4a94d0 !important;
    color: #fff !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}
.ra-commerce-template .woocommerce-notices-wrapper:empty { display: none !important; }
.ra-commerce-template :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) :is(a, .restore-item) {
    color: #fff !important;
    font-weight: 700 !important;
}
.ra-commerce-template--account .woocommerce-info { display: flex !important; flex-flow: row nowrap !important; align-items: center !important; justify-content: space-between !important; gap: 20px; }
.ra-commerce-template--account .woocommerce-info > .button { order: 2; flex: 0 0 auto !important; width: auto !important; max-width: none !important; min-height: 34px !important; padding: 0 40px !important; float: none !important; margin: 0 0 0 auto !important; }
.ra-commerce-template--account .woocommerce-info > .button:hover,
.ra-commerce-template--account .woocommerce-info > .button:focus-visible { background: #eef0f3 !important; color: var(--ra-text, #303a50) !important; }

/* Account: native WooCommerce endpoints presented through the shared shell. */
.ra-commerce-template--account > .ra-shell { display: grid !important; box-sizing: border-box; width: calc(100% - 28px) !important; max-width: 1400px !important; margin-inline: auto !important; gap: clamp(18px, 2vw, 28px); }
.ra-commerce-template--account .ra-commerce-template__title { margin-bottom: 0; }
.ra-commerce-template--account .woocommerce { display: grid; gap: clamp(22px, 2.5vw, 36px); min-width: 0; }
/* Woo/Divi's clearfix pseudo-elements become empty grid rows in Account. */
.ra-commerce-template--account .woocommerce::before,
.ra-commerce-template--account .woocommerce::after { content: none !important; display: none !important; }
.ra-commerce-template--account .woocommerce:has(> .ra-account-endpoint-heading) { grid-template-columns: max-content minmax(0, 1fr); align-items: center; }
.ra-commerce-template--account .woocommerce:has(> .ra-account-endpoint-heading) > .ra-account-endpoint-heading { grid-column: 1; margin: 0 !important; padding: 0 !important; }
.ra-commerce-template--account .woocommerce:has(> .ra-account-endpoint-heading) > .woocommerce-MyAccount-navigation { grid-column: 2; }
.ra-commerce-template--account .woocommerce:has(> .ra-account-endpoint-heading) > :is(.woocommerce-notices-wrapper, .woocommerce-MyAccount-content) { grid-column: 1 / -1; }
.ra-commerce-template--account .woocommerce-MyAccount-navigation { display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 18px; float: none !important; width: 100% !important; margin: 0 !important; }
.ra-commerce-template--account .woocommerce-MyAccount-navigation ul { display: flex; flex: 1 1 auto; clear: none !important; min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ra-commerce-template--account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; }
.ra-commerce-template--account .woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 12px; border: 1px solid #cfd5dd; border-radius: 999px; background: #fff; color: var(--ra-text, #303a50); font-size: 12px; line-height: 1; font-weight: 600; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.ra-commerce-template--account .woocommerce-MyAccount-navigation a:hover,
.ra-commerce-template--account .woocommerce-MyAccount-navigation a:focus-visible { border-color: #d9dde3; background: #eef0f3; color: var(--ra-text, #303a50); }
.ra-commerce-template--account .woocommerce-MyAccount-navigation .is-active a { border-color: #0872ba; background: #0872ba; color: #fff; }
.ra-commerce-template--account .woocommerce-MyAccount-content { float: none; width: 100%; min-width: 0; }
.ra-commerce-template--account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.ra-commerce-template--account .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
.ra-commerce-template--account .woocommerce-MyAccount-content > p { max-width: 920px; line-height: 1.5; }
.ra-commerce-template--account .woocommerce-MyAccount-content > p a:not(.button),
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-Address a { color: var(--ra-primary, #0271ba); font-weight: 600; }
.ra-commerce-template--account .woocommerce-Addresses { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); width: 100% !important; margin: 0 !important; }
.ra-commerce-template--account .woocommerce-Addresses :is(.col-1, .col-2, .woocommerce-Address) { float: none !important; width: auto !important; margin: 0 !important; }
.ra-commerce-template--account .woocommerce-Address { box-sizing: border-box; min-width: 0; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--ra-border, #d4dbe3); border-radius: var(--ra-radius-card, 18px); background: #fff; }
.ra-commerce-template--account .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0 0 14px; }
.ra-commerce-template--account .woocommerce-Address-title h3 { margin: 0; }
.ra-commerce-template--account .woocommerce-Address-title .edit { float: none; }
.ra-commerce-template--account .woocommerce-Address address { margin: 0; font-style: normal; line-height: 1.55; }
.ra-commerce-template--account :is(.woocommerce-form-login, .woocommerce-form-register, form.woocommerce-ResetPassword, form.edit-account, form.woocommerce-EditAccountForm, form.woocommerce-address-fields) { box-sizing: border-box; width: 100%; max-width: none; margin: 0; padding: 16px; border: 1px solid var(--ra-border, #d4dbe3); border-radius: var(--ra-radius-card, 18px); background: #fff; }
.ra-commerce-template--account .u-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 42px); }
/* Legacy Divi account rules decorate #customer_login through ::before and use
 * float-based .col2-set columns. They are intentionally neutralised only in
 * the managed Account body. */
.ra-commerce-template--account #customer_login.u-columns { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: start !important; gap: clamp(24px, 3vw, 42px) !important; width: 100% !important; margin: 0 !important; }
.ra-commerce-template--account #customer_login.u-columns::before,
.ra-commerce-template--account #customer_login.u-columns::after { content: none !important; display: none !important; }
.ra-commerce-template--account .u-column1,
.ra-commerce-template--account .u-column2,
.ra-commerce-template--account #customer_login > :is(.u-column1, .u-column2, .col-1, .col-2) { float: none !important; grid-column: auto !important; width: auto !important; min-width: 0 !important; margin: 0 !important; }
.ra-commerce-template--account :is(.u-column1, .u-column2) > h2,
.ra-commerce-template--account .woocommerce-ResetPassword-heading { margin: 0 0 6px !important; padding-bottom: 0 !important; }
/* Recovery is a direct Account grid item; cancel that grid gap so it matches Login/Register. */
.ra-commerce-template--account .woocommerce-ResetPassword-heading { margin-bottom: calc(6px - clamp(22px, 2.5vw, 36px)) !important; }
.ra-commerce-template--account .form-row label.woocommerce-form__label-for-checkbox,
.ra-commerce-template--account .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center !important; gap: 8px; margin: 0 0 0 12px; color: var(--ra-text-muted, #5e6e84); font-size: 13px; font-weight: 400 !important; line-height: 1.15; vertical-align: middle; }
.ra-commerce-template--account .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) { display: flex !important; align-items: center !important; gap: 12px; }
.ra-commerce-template--account .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme)::before,
.ra-commerce-template--account .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme)::after { content: none !important; display: none !important; }
.ra-commerce-template--account .woocommerce-form-login .woocommerce-form-login__submit { order: 1; float: none !important; margin: 0 !important; }
.ra-commerce-template--account .woocommerce-form-login .woocommerce-form-login__rememberme { order: 2; margin: 0 !important; }
.ra-commerce-template--account .woocommerce-form-login__rememberme input,
.ra-commerce-template--account .form-row input[type="checkbox"] { width: auto; min-height: 0; margin: 0; }
.ra-commerce-template--account .lost_password { margin: 14px 0 0; }
.ra-commerce-template--account .lost_password a { color: var(--ra-primary, #0271ba); font-weight: 600; }
.ra-commerce-template--account .woocommerce-MyAccount-content .shop_table { overflow: hidden; border: 1px solid var(--ra-border, #d4dbe3); border-radius: var(--ra-radius-card, 18px); border-collapse: separate; border-spacing: 0; background: #fff; }
.ra-commerce-template--account .woocommerce-MyAccount-content .shop_table :is(th, td) { padding: 13px 14px; }
.ra-commerce-template--account .woocommerce-MyAccount-content .shop_table thead th { background: #f4f5f6; color: var(--ra-text, #303a50); font-size: 13px; font-weight: 700; }
.ra-commerce-template--account .woocommerce-MyAccount-content .shop_table .button { min-height: 36px !important; padding: 7px 14px !important; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders { width: 100%; table-layout: fixed; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders thead tr { background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td) { border: 0 !important; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders thead th { padding: 16px 14px; background: transparent; color: var(--ra-text, #303a50); font-size: 13px; line-height: 1.2; font-weight: 700; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody td { padding: 18px 14px; color: var(--ra-text-muted, #5e6e84); font-size: 15px; line-height: 1.4; vertical-align: middle; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-number { width: 14%; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-date { width: 19%; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-status { width: 17%; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-total { width: 26%; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-actions { width: 24%; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number a { color: var(--ra-primary, #0271ba); font-size: inherit !important; line-height: inherit !important; font-weight: 600; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(.woocommerce-orders-table__cell-order-total, .woocommerce-orders-table__cell-order-actions) { white-space: nowrap; }
.ra-commerce-template--account .woocommerce-order-details,
.ra-commerce-template--account .woocommerce-customer-details { margin: 0 0 24px; }
.ra-commerce-template--account .woocommerce-order-details:last-child,
.ra-commerce-template--account .woocommerce-customer-details:last-child { margin-bottom: 0; }
.ra-commerce-template--account .woocommerce-customer-details address { box-sizing: border-box; padding: 18px; border: 1px solid var(--ra-border, #d4dbe3); border-radius: var(--ra-radius-card, 18px); background: #fff; font-style: normal; line-height: 1.55; }
.ra-commerce-template--account .ra-account-order-item { display: flex; align-items: center; gap: 20px; min-width: 0; }
.ra-commerce-template--account .ra-account-order-item__image { display: block; flex: 0 0 auto; width: 104px !important; height: 104px !important; margin: 0; border-radius: 12px; object-fit: contain; }
.ra-commerce-template--account .ra-account-order-item__name { min-width: 0; overflow-wrap: anywhere; color: var(--ra-text, #303a50); font-size: 15px; line-height: 1.4; font-weight: 500; }
.ra-commerce-template--account .ra-account-order-item__name a { color: inherit; font-weight: 500; }
.ra-commerce-template--account .woocommerce-order-details .product-quantity { font-weight: 600; }

@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce:has(> .ra-account-endpoint-heading) { grid-template-columns: minmax(0, 1fr); }
    .ra-commerce-template--account .woocommerce:has(> .ra-account-endpoint-heading) > :is(.ra-account-endpoint-heading, .woocommerce-MyAccount-navigation) { grid-column: 1; }
    .ra-commerce-template--account #customer_login.u-columns,
    .ra-commerce-template--account .u-columns { grid-template-columns: minmax(0, 1fr) !important; }
    .ra-commerce-template--account #customer_login > :is(.u-column1, .u-column2, .col-1, .col-2) { grid-column: 1 !important; }
}

/* Account Orders v0.8.158: Cart notice control is the canonical close control.
 * Account retains native notice text/action markup, with only the same direct
 * dismiss button appended by Components. */
.ra-commerce-template--account :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    position: relative;
    padding-right: 48px !important;
}
.ra-commerce-template--account .ra-cart-notice-close {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    display: inline-grid !important;
    place-items: center;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    cursor: pointer;
    box-shadow: none !important;
}
.ra-commerce-template--account .ra-cart-notice-close:hover,
.ra-commerce-template--account .ra-cart-notice-close:focus-visible {
    background: rgb(255 255 255 / 16%) !important;
    color: #fff !important;
    outline: 0;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 5px 48px 5px 20px !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward {
    order: 2;
    flex: 0 0 auto !important;
    margin: 0 20px 0 auto !important;
    background: var(--ra-primary-light, #48a0dc) !important;
    color: #fff !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward:hover,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward:focus-visible,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward:active {
    background: #eef0f3 !important;
    color: var(--ra-text, #303a50) !important;
}

/* Compact native Orders rows around their actual information density.  The
 * action area deliberately receives the unused width so multi-action orders
 * remain visible and evenly spaced. */
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders thead th {
    padding: 11px 14px;
}
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody td {
    padding: 8px 14px;
}
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-number { width: 10%; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-date { width: 16%; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-status { width: 14%; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-total { width: 22%; }
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(th, td).woocommerce-orders-table__cell-order-actions {
    width: 38%;
    white-space: normal;
}
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions .button {
    min-height: 30px !important;
    padding: 4px 13px !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce-MyAccount-navigation {
        flex-wrap: wrap !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation .ra-account-navigation-toggle {
        margin-left: auto !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation .ra-account-navigation-toggle ~ ul {
        display: none !important;
        flex: 0 0 100%;
        width: 100% !important;
        min-width: 0 !important;
        margin: 4px 0 0 !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.is-open .ra-account-navigation-toggle ~ ul {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 6px;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
        display: flex !important;
        flex-flow: column nowrap !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 8px 16px !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward {
        width: calc(100% - 32px) !important;
        margin: 0 32px 0 0 !important;
    }
}

/* Account Orders v0.8.155 - one endpoint header row and a purpose-built mobile order card.
 * This is intentionally limited to native My Account output; WooCommerce continues to
 * render the endpoint data, links and actions. */
.ra-commerce-template--account .woocommerce:has(.ra-account-endpoint-heading) {
    row-gap: 12px !important;
}
.ra-commerce-template--account .woocommerce:has(.ra-account-endpoint-heading) > .woocommerce-notices-wrapper,
.ra-commerce-template--account .woocommerce:has(.ra-account-endpoint-heading) > .woocommerce-MyAccount-content {
    margin: 0 !important;
}
.ra-commerce-template--account .woocommerce-MyAccount-navigation:has(.ra-account-endpoint-heading) {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
    row-gap: 0;
}
.ra-commerce-template--account .woocommerce-MyAccount-navigation .ra-account-endpoint-heading {
    grid-column: 1;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}
.ra-commerce-template--account .woocommerce-MyAccount-navigation:has(.ra-account-endpoint-heading) ul {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
}
.ra-account-navigation-toggle { display: none; }

/* Keep the confirmation notice compact and level with its action on desktop. */
.ra-commerce-template--account .woocommerce-info {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 5px 20px !important;
    border-radius: 18px !important;
}
.ra-commerce-template--account .woocommerce-info > .button {
    min-height: 34px !important;
    margin: 0 0 0 auto !important;
}
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody td,
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number a {
    font-size: 15px !important;
    line-height: 1.4 !important;
}
.ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number a {
    font-family: inherit !important;
    font-weight: 500 !important;
}

@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce:has(.ra-account-endpoint-heading) {
        row-gap: 14px !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation:has(.ra-account-endpoint-heading) {
        grid-template-columns: minmax(0, 1fr) 40px;
        column-gap: 10px;
        width: 100% !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation .ra-account-endpoint-heading {
        font-size: 22px !important;
        line-height: 1.1 !important;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle {
        grid-column: 2;
        grid-row: 1;
        display: inline-grid !important;
        place-items: center;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: var(--ra-text, #303a50);
        cursor: pointer;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle:hover,
    .ra-commerce-template--account .ra-account-navigation-toggle:focus-visible {
        background: #eef0f3;
        color: var(--ra-primary, #0872ba);
        outline: 0;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle__icon,
    .ra-commerce-template--account .ra-account-navigation-toggle__icon::before,
    .ra-commerce-template--account .ra-account-navigation-toggle__icon::after {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        content: "";
        transition: transform 160ms ease;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle__icon { position: relative; }
    .ra-commerce-template--account .ra-account-navigation-toggle__icon::before { position: absolute; top: -7px; left: 0; }
    .ra-commerce-template--account .ra-account-navigation-toggle__icon::after { position: absolute; top: 7px; left: 0; }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation:has(.ra-account-endpoint-heading) ul {
        display: none !important;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        width: 100%;
        margin-top: 4px;
        padding: 10px;
        border: 1px solid var(--ra-border, #d4dbe3);
        border-radius: 14px;
        background: #fff;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.is-open:has(.ra-account-endpoint-heading) ul {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.is-open .ra-account-navigation-toggle__icon { background: transparent; }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.is-open .ra-account-navigation-toggle__icon::before { top: 0; transform: rotate(45deg); }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.is-open .ra-account-navigation-toggle__icon::after { top: 0; transform: rotate(-45deg); }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation:has(.ra-account-endpoint-heading) li,
    .ra-commerce-template--account .woocommerce-MyAccount-navigation:has(.ra-account-endpoint-heading) a { width: 100%; }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation:has(.ra-account-endpoint-heading) a { justify-content: flex-start; min-height: 38px; padding-inline: 14px; }

    /* Native responsive-table rules are replaced by a compact, readable order card. */
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders,
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody,
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tr,
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders td {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders thead { display: none !important; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody tr {
        box-sizing: border-box;
        padding: 18px !important;
        border: 0 !important;
        border-radius: 18px;
        background: #fff;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody td {
        display: grid !important;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: baseline;
        gap: 12px;
        padding: 0 !important;
        color: var(--ra-text-muted, #5e6e84);
        font-size: 15px !important;
        line-height: 1.4 !important;
        text-align: right !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody td + td { margin-top: 13px; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody td::before {
        content: attr(data-title) !important;
        float: none !important;
        width: auto !important;
        color: var(--ra-text, #303a50);
        font-size: 15px !important;
        font-weight: 700 !important;
        text-align: left !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number a {
        font-size: 15px !important;
        line-height: 1.4 !important;
        text-align: right;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        text-align: left !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions .button {
        min-height: 34px !important;
        padding: 0 26px !important;
    }
    .ra-commerce-template--account .woocommerce-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 12px 16px !important;
        border-radius: 18px !important;
    }
    .ra-commerce-template--account .woocommerce-info > .button {
        align-self: stretch !important;
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Cart */
.ra-commerce-template--cart .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
    align-items: start;
    gap: clamp(24px, 3vw, 42px);
}

.ra-commerce-template--cart .woocommerce-cart-form,
.ra-commerce-template--cart .cart-collaterals,
.ra-commerce-template--checkout form.checkout .col2-set,
.ra-commerce-template--checkout form.checkout #order_review {
    box-sizing: border-box;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
}

.ra-commerce-template--cart .woocommerce-cart-form { padding: clamp(16px, 2vw, 26px); }
.ra-commerce-template--cart .cart-collaterals { position: sticky; top: var(--ra-sticky-offset, 24px); padding: clamp(18px, 2vw, 28px); }
.ra-commerce-template--cart .cart-collaterals .cart_totals { float: none; width: 100%; }
.ra-commerce-template--cart .cart-collaterals h2 { margin-top: 0; }
.ra-commerce-template--cart .cross-sells { display: none !important; }
.ra-commerce-template--cart .cart-empty,
.ra-commerce-template--cart .return-to-shop { grid-column: 1 / -1; }
.ra-commerce-template--cart .cart-empty { margin: 0 !important; text-align: center; }
.ra-commerce-template--cart .return-to-shop { margin: 0; text-align: center; }

.ra-commerce-template table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.ra-commerce-template table.shop_table th,
.ra-commerce-template table.shop_table td {
    padding: 14px 10px;
    border: 0;
    border-bottom: 1px solid var(--ra-border, #d4dbe3);
    vertical-align: middle;
}

.ra-commerce-template table.shop_table tr:last-child th,
.ra-commerce-template table.shop_table tr:last-child td { border-bottom: 0; }
.ra-commerce-template .product-thumbnail img { width: 82px; border-radius: 12px; }
.ra-commerce-template .product-name a { color: var(--ra-text, #303a50); font-weight: 600; }
.ra-commerce-template .quantity .qty { min-height: 42px; }
.ra-commerce-template .coupon { display: flex; gap: 10px; }
.ra-commerce-template .coupon .input-text { min-width: 0; }

/* Checkout */
.ra-commerce-template--checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
    align-items: start;
    gap: clamp(20px, 2vw, 28px);
}

.ra-commerce-template--checkout > .ra-shell {
    display: grid;
    row-gap: clamp(10px, 1vw, 14px);
}
.ra-commerce-template--checkout .ra-commerce-template__title { margin-bottom: 0; }

.ra-commerce-template--checkout form.checkout > .col2-set {
    grid-column: 1;
    width: 100%;
    display: grid;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.ra-commerce-template--checkout form.checkout > .col2-set .col-1,
.ra-commerce-template--checkout form.checkout > .col2-set .col-2 {
    float: none;
    width: 100%;
}

.ra-commerce-template--checkout .ra-checkout-field-section {
    display: grid;
    gap: 0;
}
.ra-commerce-template--checkout .ra-checkout-field-section--delivery { margin-top: 18px; }
.ra-commerce-template--checkout .ra-checkout-field-section .ra-checkout-section-heading {
    margin: 0 0 7px !important;
    padding: 0 14px !important;
}
.ra-commerce-template--checkout .ra-checkout-section-heading {
    margin: 0 !important;
    padding: 0 8px !important;
    color: var(--ra-commerce-rail-heading-color, #0872ba) !important;
    font-size: var(--ra-commerce-rail-heading-size, 16px) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}
.ra-commerce-template--checkout .ra-checkout-field-card {
    box-sizing: border-box;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
}
.ra-commerce-template--checkout .ra-checkout-field-card > :last-child { margin-bottom: 0 !important; }
.ra-commerce-template--checkout .ra-checkout-field-card [hidden] { display: none !important; }
.ra-commerce-template--checkout #ship-to-different-address { margin: 0 0 14px !important; padding: 0 !important; font-size: 14px !important; line-height: 1.3 !important; }
.ra-commerce-template--checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.ra-commerce-template--checkout .ra-commerce-template__credibility { margin-top: 0; }
.ra-commerce-template--checkout .ra-checkout-right-column {
    grid-column: 2;
    position: sticky;
    top: var(--ra-sticky-offset, 24px);
    display: grid;
    gap: 18px;
    min-width: 0;
}
.ra-commerce-template--checkout .ra-checkout-order-section,
.ra-commerce-template--checkout .ra-checkout-payment-section {
    display: grid;
    gap: 0;
    min-width: 0;
}
.ra-commerce-template--checkout .ra-checkout-order-section > .ra-checkout-section-heading,
.ra-commerce-template--checkout .ra-checkout-payment-section > .ra-checkout-section-heading {
    margin: 0 0 7px !important;
    padding: 0 14px !important;
}
.ra-commerce-template--checkout .ra-checkout-order-section > #order_review_heading { margin: 0 0 7px !important; }
.ra-commerce-template--checkout #order_review {
    display: contents;
    border: 0;
    background: transparent;
}
.ra-commerce-template--checkout #order_review_heading { margin: 0 !important; }
.ra-commerce-template--checkout .woocommerce-checkout-review-order-table {
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
}

.ra-commerce-template--checkout .ra-checkout-order-items-card {
    overflow: hidden;
    margin-bottom: 0 !important;
    padding: 0;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: var(--ra-radius-card, 18px) !important;
    background: #fff !important;
    border-collapse: separate !important;
    table-layout: fixed;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card :is(th, td) { border: 0 !important; }
.ra-commerce-template--checkout .ra-checkout-order-items-card thead tr {
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card thead th { padding: 12px 14px; background: transparent; color: var(--ra-text, #303a50); font-size: 13px; }
.ra-commerce-template--checkout .ra-checkout-order-items-card thead th:first-child { font-weight: 700 !important; }
.ra-commerce-template--checkout .ra-checkout-order-items-card thead th:last-child,
.ra-commerce-template--checkout .ra-checkout-order-items-card td.product-total { text-align: right; }
.ra-commerce-template--checkout .ra-checkout-order-items-card thead th:first-child,
.ra-commerce-template--checkout .ra-checkout-order-items-card td.product-name { width: 70%; }
.ra-commerce-template--checkout .ra-checkout-order-items-card thead th:last-child,
.ra-commerce-template--checkout .ra-checkout-order-items-card td.product-total { width: 30%; }
.ra-commerce-template--checkout .ra-checkout-order-items-card tbody tr {
    border: 0 !important;
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tbody tr:last-child { background: none; }
.ra-commerce-template--checkout .ra-checkout-order-items-card tbody td { padding: 13px 14px; }
.ra-commerce-template--checkout .ra-checkout-order-items-card .product-name { color: var(--ra-text, #303a50); font-size: 13px; line-height: 1.4; font-weight: 500; }
.ra-commerce-template--checkout .ra-checkout-order-items-card .product-quantity { font-weight: 600; }
.ra-commerce-template--checkout .ra-checkout-order-items-card .product-total { color: var(--ra-text-muted, #5e6e84); font-size: 13px; }
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot tr {
    border: 0 !important;
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot tr:last-child { background: none; }
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot :is(th, td) {
    padding: 12px 14px !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    vertical-align: middle;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot th { width: 42%; text-align: left; font-weight: 500 !important; }
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot td { text-align: right; }
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot .amount {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot .woocommerce-shipping-totals :is(th, td) {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot #shipping_method {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot #shipping_method li {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    list-style: none !important;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot #shipping_method label {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot #shipping_method input { margin: 0 6px 0 0 !important; }
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot .order-total :is(th, td) { font-weight: 600 !important; }
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot .order-total .amount {
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot .order-total .includes_tax { display: none; }

.ra-commerce-template--checkout .ra-checkout-summary-section { display: grid; gap: 7px; }
.ra-commerce-template--checkout .ra-checkout-summary-card {
    box-sizing: border-box;
    overflow: hidden;
    padding: 16px 14px 12px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
}
.ra-commerce-template--checkout .ra-checkout-summary-card :is(table, tbody, tr) { display: block; width: 100%; margin: 0 !important; }
.ra-commerce-template--checkout .ra-checkout-summary-card :is(th, td) { border: 0 !important; background: transparent !important; }
.ra-commerce-template--checkout .ra-checkout-summary-card--subtotal th,
.ra-commerce-template--checkout .ra-checkout-summary-card--delivery th,
.ra-commerce-template--checkout .ra-checkout-summary-card--total th { display: none; }
.ra-commerce-template--checkout .ra-checkout-summary-card td { display: block; width: 100%; padding: 0; }
.ra-commerce-template--checkout .ra-checkout-summary-card--subtotal td { text-align: right; }
.ra-commerce-template--checkout .ra-checkout-summary-card--subtotal .cart-subtotal .amount { color: var(--ra-text, #303a50); font-size: 22px; line-height: 1; font-weight: 600; }
.ra-commerce-template--checkout .ra-checkout-tax-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-top: 8px; color: var(--ra-text, #303a50); font-size: 15px; }
.ra-commerce-template--checkout .ra-checkout-tax-row strong { font-weight: 600; }
.ra-commerce-template--checkout .ra-checkout-summary-card--delivery td { text-align: left; }
.ra-commerce-template--checkout .ra-checkout-summary-card--delivery #shipping_method { margin: 0; padding: 0; }
.ra-commerce-template--checkout .ra-checkout-summary-card--delivery #shipping_method label { color: var(--ra-text, #303a50); font-size: 14px; font-weight: 600; }
.ra-commerce-template--checkout .ra-checkout-summary-card--total { padding: 16px 14px 14px; }
.ra-commerce-template--checkout .ra-checkout-summary-card--total td { text-align: center; }
.ra-commerce-template--checkout .ra-checkout-summary-card--total .order-total .amount { color: var(--ra-text, #303a50); font-size: 24px; line-height: 1; font-weight: 600; }
.ra-commerce-template--checkout .ra-checkout-summary-card--total .includes_tax { display: none; }

.ra-commerce-template--checkout .ra-checkout-coupon-section {
    display: grid;
    gap: 0;
}
.ra-commerce-template--checkout .ra-checkout-coupon-section > .ra-checkout-section-heading {
    margin: 0 0 7px !important;
    padding: 0 14px !important;
}
.ra-commerce-template--checkout .ra-checkout-coupon-card {
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #f4f5f6;
}
.ra-commerce-template--checkout .ra-checkout-coupon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.ra-commerce-template--checkout .ra-checkout-coupon-row input {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-button-radius, 999px);
    background: #fff;
    color: var(--ra-text, #303a50);
    font-size: 13px;
}
.ra-commerce-template--checkout .ra-checkout-coupon-row button { box-sizing: border-box !important; height: 42px !important; min-height: 42px !important; padding: 8px 26px !important; border: 0 !important; border-radius: var(--ra-button-radius, 999px) !important; background: #4a94d0 !important; color: #fff !important; font-family: var(--ra-font-family, Montserrat, sans-serif) !important; font-size: 13px !important; line-height: 1.15 !important; font-weight: var(--ra-weight-button, 600) !important; cursor: pointer !important; box-shadow: none !important; }
.ra-commerce-template--checkout .ra-checkout-coupon-row button:hover,
.ra-commerce-template--checkout .ra-checkout-coupon-row button:focus-visible { padding: 8px 26px !important; background: var(--ra-primary, #0271ba) !important; box-shadow: none !important; }

.ra-commerce-template--checkout .woocommerce-form-coupon-toggle,
.ra-commerce-template--checkout .woocommerce-form-login-toggle,
.ra-commerce-template--checkout form.checkout_coupon,
.ra-commerce-template--checkout form.login {
    margin-bottom: 18px;
}
.ra-commerce-template--checkout .woocommerce-form-coupon-toggle,
.ra-commerce-template--checkout form.checkout_coupon { display: none !important; }

.ra-commerce-template--checkout form.checkout_coupon,
.ra-commerce-template--checkout form.login {
    padding: 18px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: 14px;
}

.ra-commerce-template .form-row { box-sizing: border-box; margin-bottom: 16px; }
.ra-commerce-template .form-row label { display: block; margin-bottom: 6px; color: var(--ra-text-muted, #5e6e84); font-weight: 600; }
.ra-commerce-template .form-row .required { color: #ff0066; }
.ra-commerce-template input.input-text,
.ra-commerce-template textarea,
.ra-commerce-template select,
.ra-commerce-template .select2-container .select2-selection--single {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: 12px;
    background: #f4f5f6;
}
.ra-commerce-template input.input-text,
.ra-commerce-template textarea,
.ra-commerce-template select { padding: 10px 12px; }
.ra-commerce-template textarea { min-height: 110px; }
.ra-commerce-template .select2-container .select2-selection__rendered { line-height: 44px; padding-left: 12px; }
.ra-commerce-template .select2-container .select2-selection__arrow { height: 44px; }

.ra-commerce-template--checkout .ra-checkout-field-card :is(input.input-text, textarea, select, .select2-container, .select2-selection--single),
.ra-commerce-template--account :is(.woocommerce-form-login, .woocommerce-form-register, form.woocommerce-ResetPassword, form.edit-account, form.woocommerce-EditAccountForm, form.woocommerce-address-fields) :is(input.input-text, input[type="email"], input[type="password"], input[type="text"], input[type="tel"], textarea, select, .select2-container, .select2-selection--single) { width: 100% !important; max-width: none !important; }
/* Shared Checkout and Account field contract. Account endpoints must inherit this,
 * never restyle native Woo fields as an independent variation. */
.ra-commerce-template--checkout .ra-checkout-field-card :is(input.input-text, select, .select2-selection--single),
.ra-commerce-template--account :is(.woocommerce-form-login, .woocommerce-form-register, form.woocommerce-ResetPassword, form.edit-account, form.woocommerce-EditAccountForm, form.woocommerce-address-fields) :is(input.input-text, input[type="email"], input[type="password"], input[type="text"], input[type="tel"], select, .select2-selection--single) {
    height: 46px !important;
    min-height: 46px !important;
    padding: 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    background: #f4f5f6 !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 14px !important;
    line-height: 26px !important;
    box-shadow: none !important;
}
.ra-commerce-template--checkout .ra-checkout-field-card textarea,
.ra-commerce-template--account :is(.woocommerce-form-login, .woocommerce-form-register, form.woocommerce-ResetPassword, form.edit-account, form.woocommerce-EditAccountForm, form.woocommerce-address-fields) textarea {
    min-height: 110px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    background: #f4f5f6 !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    box-shadow: none !important;
}
.ra-commerce-template--checkout .ra-checkout-field-card .select2-selection__rendered { padding: 0 !important; color: var(--ra-text, #303a50) !important; line-height: 26px !important; }
.ra-commerce-template--checkout .ra-checkout-field-card .select2-selection__arrow { top: 0 !important; right: 8px !important; height: 44px !important; }

.ra-commerce-template #payment {
    box-sizing: border-box;
    margin: 0;
    padding: 8px 16px 16px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
}
.ra-commerce-template #payment ul.payment_methods,
.ra-commerce-template--checkout #payment > ul.payment_methods { margin: 0 !important; padding: 10px 0 0 !important; border: 0; }
.ra-commerce-template #payment ul.payment_methods > li {
    position: relative;
    display: block;
    padding: 8px 0;
    border: 0 !important;
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) 30px bottom / calc(100% - 244px) 1px no-repeat;
}
.ra-commerce-template #payment ul.payment_methods > li:last-child { border-bottom: 0; background: none; }
.ra-commerce-template #payment ul.payment_methods > li > input[type="radio"] {
    position: absolute !important;
    top: 16px;
    left: 0;
    width: 16px;
    height: 16px;
    margin: 0 !important;
}
.ra-commerce-template #payment ul.payment_methods > li > label { display: flex; align-items: center; gap: 9px; box-sizing: border-box; width: 100%; min-width: 0; min-height: 32px; margin: 0 !important; padding: 0 210px 0 30px; color: var(--ra-text, #303a50); font-weight: 600; line-height: 1.25; }
.ra-commerce-template #payment ul.payment_methods > li.payment_method_bacs > label { padding-right: 14px; }
.ra-commerce-template #payment ul.payment_methods input[type="radio"],
.ra-commerce-template #payment input[type="checkbox"] { accent-color: #0872ba; }
.ra-commerce-template #payment ul.payment_methods img { display: inline-block; width: auto !important; max-width: 150px; max-height: 32px; margin-left: 8px; object-fit: contain; vertical-align: middle; }
.ra-commerce-template #payment .payment_box {
    margin: 10px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f4f5f6 !important;
    color: var(--ra-text, #303a50) !important;
}
.ra-commerce-template #payment .payment_box::before { border-bottom-color: #f4f5f6 !important; }
.ra-commerce-template--checkout #payment ul.payment_methods > li.ra-checkout-gateway-row {
    display: grid !important;
    grid-template-columns: 64px 18px minmax(0, 1fr);
    grid-template-rows: 38px auto;
    column-gap: 4px;
    align-items: center;
    width: 100% !important;
    min-height: 46px;
    padding: 4px 0;
    background-position: 90px bottom;
    background-size: calc(100% - 90px) 1px;
}
.ra-commerce-template--checkout #payment ul.payment_methods > li.ra-checkout-gateway-row:last-child { background: none; }
.ra-commerce-template--checkout #payment ul.payment_methods > li.ra-checkout-gateway-row > input[type="radio"] {
    position: static !important;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}
.ra-commerce-template--checkout #payment ul.payment_methods > li.ra-checkout-gateway-row > label {
    grid-column: 3;
    grid-row: 1;
    min-height: 0;
    padding: 0;
}
.ra-commerce-template--checkout #payment .ra-checkout-gateway-logo-cell {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    place-items: center start;
    width: 64px;
    height: 38px;
}
.ra-commerce-template--checkout #payment .ra-checkout-gateway-logo-cell--empty { visibility: hidden; }
.ra-commerce-template--checkout #payment .ra-checkout-gateway-logo {
    display: block !important;
    width: 64px !important;
    height: 38px !important;
    max-width: 64px !important;
    max-height: 38px !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: right center;
}
.ra-commerce-template--checkout #payment ul.payment_methods > li.ra-checkout-gateway-row > .payment_box {
    grid-column: 1 / -1;
    grid-row: 2;
}
.ra-commerce-template--checkout #payment .woocommerce-privacy-policy-text,
.ra-commerce-template--checkout #payment .woocommerce-privacy-policy-text p,
.ra-commerce-template--account .woocommerce-form-register .woocommerce-privacy-policy-text,
.ra-commerce-template--account .woocommerce-form-register .woocommerce-privacy-policy-text p {
    font-size: 12px !important;
    line-height: 1.35 !important;
}

/* Woo may use either class for the Checkout shipping row. Normalize both at
   the final cascade boundary so nested list styles cannot enlarge the row. */
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot :is(tr.shipping, tr.woocommerce-shipping-totals) > :is(th, td) {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    vertical-align: middle !important;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot :is(tr.shipping, tr.woocommerce-shipping-totals) td > :is(ul, ol),
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot :is(tr.shipping, tr.woocommerce-shipping-totals) #shipping_method {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot :is(tr.shipping, tr.woocommerce-shipping-totals) #shipping_method li {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}
.ra-commerce-template #payment .place-order { padding: 18px 0 0; }
.ra-commerce-template--checkout #place_order { margin-top: 14px !important; }
.ra-commerce-template #place_order { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.ra-commerce-template .payment_method_bacs img { display: none !important; }

.ra-commerce-template--checkout .ra-checkout-reassurance {
    display: grid;
    gap: 18px;
}
.ra-commerce-template--checkout .ra-checkout-reassurance__section {
    display: grid;
    gap: 0;
}
.ra-commerce-template--checkout .ra-checkout-reassurance__section > h2 {
    margin: 0 0 7px !important;
    padding: 0 14px !important;
    color: var(--ra-checkout-support-heading-color, #0872ba) !important;
    font-size: var(--ra-checkout-support-heading-size, 16px) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}
.ra-commerce-template--checkout .ra-checkout-reassurance__card {
    min-width: 0;
    padding: 10px 14px 12px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 12px);
    background: var(--ra-checkout-payment-background, #fff);
}
.ra-commerce-template--checkout .ra-checkout-reassurance__card .ra-payment-methods__icons {
    display: grid;
    grid-template-columns: repeat(var(--ra-checkout-payment-columns, 3), minmax(0, 1fr));
    gap: var(--ra-checkout-payment-gap, 8px);
}
.ra-commerce-template--checkout .ra-checkout-reassurance__card .ra-payment-methods__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}
.ra-commerce-template--checkout .ra-checkout-reassurance__card .ra-payment-methods__item img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; object-fit: contain; }

.ra-commerce-template--checkout .ra-checkout-place-order-spinner {
    display: none;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ra-checkout-button-spin .7s linear infinite;
}
.ra-commerce-template--checkout #place_order.is-loading .ra-checkout-place-order-spinner { display: inline-block; }
.ra-commerce-template--checkout #place_order.is-loading { pointer-events: none; }
@keyframes ra-checkout-button-spin { to { transform: rotate(360deg); } }

/* Protected WooCommerce retry-payment page: reuse Checkout's two-column order/payment surface. */
.ra-commerce-template--checkout form#order_review.ra-order-pay-form { display:grid; grid-template-columns:minmax(0, 3fr) minmax(320px, 2fr); align-items:start; gap:clamp(20px, 2vw, 28px); }
.ra-commerce-template--checkout .ra-order-pay-form__details,
.ra-commerce-template--checkout .ra-order-pay-form__payment { min-width:0; }
.ra-commerce-template--checkout .ra-order-pay-form__payment > h2 { margin:0 0 7px!important; padding:0 14px!important; color:var(--ra-commerce-rail-heading-color,#0872ba)!important; font-size:var(--ra-commerce-rail-heading-size,16px)!important; font-weight:500!important; }
.ra-commerce-template--checkout .ra-order-pay-form__payment #payment { margin:0; }
.ra-commerce-template--checkout .ra-order-pay-form #place_order { width:100%; }
@media (max-width:980px) { .ra-commerce-template--checkout .ra-order-pay-form { grid-template-columns:minmax(0,1fr); } }

/* Order confirmation / gateway return. Preview and live WooCommerce output use
   the same three-column composition and the approved Checkout design tokens. */
.ra-commerce-template--checkout .ra-order-confirmation__preview-flag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 9px 14px;
    border-radius: var(--ra-button-radius, 999px);
    background: #f4f5f6;
    color: var(--ra-text, #303a50);
    font-size: 12px;
    line-height: 1.35;
}
.ra-commerce-template--checkout .woocommerce-order {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 20px;
    padding: 0 !important;
}
.ra-commerce-template--checkout .ra-order-confirmation__summary {
    grid-column: 2;
    grid-row: 3;
    min-width: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.ra-commerce-template--checkout .woocommerce-order:has(> :is(.woocommerce-bacs-bank-details, .ra-order-confirmation__payment-instructions)) > .ra-order-confirmation__summary {
    grid-column: 2;
    grid-row: 3;
}
.ra-commerce-template--checkout .ra-order-confirmation__summary-card {
    min-width: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.ra-commerce-template--checkout .woocommerce-order > .woocommerce-notice,
.ra-commerce-template--checkout .woocommerce-order > .ra-order-confirmation__message,
.ra-commerce-template--checkout .woocommerce-order > .ra-order-confirmation__failure-actions {
    grid-column: 1 / -1;
}
.ra-commerce-template--checkout .woocommerce-order > .woocommerce-notice {
    display: flex;
    align-items: center;
    gap: 18px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 8px 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #0872ba !important;
    font-size: clamp(18px, 1.4vw, 22px) !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}
.ra-commerce-template--checkout .ra-order-confirmation__status-icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--ra-success, #8cc63f);
}
.ra-commerce-template--checkout .ra-order-confirmation__status-icon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ra-commerce-template--checkout .ra-order-confirmation__status-circle,
.ra-commerce-template--checkout .ra-order-confirmation__status-check,
.ra-commerce-template--checkout .ra-order-confirmation__status-cross {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ra-commerce-template--checkout .ra-order-confirmation__status-circle {
    stroke-linecap: butt;
    stroke-dasharray: 145px;
    stroke-dashoffset: 145px;
    animation: ra-confirmation-circle .65s ease-out forwards;
}
.ra-commerce-template--checkout .ra-order-confirmation__status-check {
    stroke-width: 7;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ra-confirmation-mark .42s .48s ease-out forwards;
}
.ra-commerce-template--checkout .ra-order-confirmation__status-cross { display: none; }
.ra-commerce-template--checkout .woocommerce-thankyou-order-failed .ra-order-confirmation__status-icon { color: var(--rightair-pink, #ed0080); }
.ra-commerce-template--checkout .woocommerce-thankyou-order-failed .ra-order-confirmation__status-check { display: none; }
.ra-commerce-template--checkout .woocommerce-thankyou-order-failed .ra-order-confirmation__status-cross {
    display: block;
    stroke-width: 7;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ra-confirmation-mark .42s .48s ease-out forwards;
}
@keyframes ra-confirmation-circle { to { stroke-dashoffset: 0; } }
@keyframes ra-confirmation-mark { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
    .ra-commerce-template--checkout .ra-order-confirmation__status-circle,
    .ra-commerce-template--checkout .ra-order-confirmation__status-check,
    .ra-commerce-template--checkout .ra-order-confirmation__status-cross {
        animation: none;
        stroke-dashoffset: 0;
    }
}
.ra-commerce-template--checkout .woocommerce-order > .ra-order-confirmation__message {
    margin: -8px 0 0;
    padding: 0 14px;
    color: var(--ra-text-muted, #5e6e84);
    font-size: 13px;
    line-height: 1.5;
}
.ra-commerce-template--checkout .woocommerce-order .woocommerce-thankyou-order-failed {
    background: transparent !important;
    color: #0872ba !important;
}
.ra-commerce-template--checkout .ra-order-confirmation__failure-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
}
.ra-commerce-template--checkout .ra-order-confirmation__failure-actions .button { width: 100%; min-width: 0; text-align: center; }

/* Payment reference and amount lead the unified confirmation summary. */
.ra-commerce-template--checkout .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 0;
    background: #fff;
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-summary {
    margin: 0;
    padding: 0;
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6;
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-summary .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 !important;
    background: transparent;
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-summary .woocommerce-order-overview li {
    grid-row: 1;
    width: auto !important;
    padding: 14px !important;
    border-right: 0 !important;
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-summary .woocommerce-order-overview li:first-child {
    grid-column: 1;
    position: relative;
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-summary .woocommerce-order-overview li:first-child::after {
    position: absolute;
    top: 14px;
    right: 0;
    bottom: 14px;
    width: 1px;
    content: '';
    background: var(--ra-border, #d4dbe3);
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-summary .woocommerce-order-overview li:nth-child(2) { grid-column: 2; border-right: 0 !important; }
.ra-commerce-template--checkout .ra-order-confirmation__payment-instructions--payfast .ra-order-confirmation__payment-summary .woocommerce-order-overview {
    grid-template-columns: minmax(0, 1fr);
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-instructions--online-gateway .ra-order-confirmation__payment-summary .woocommerce-order-overview li:first-child::after { display: none; }
.ra-commerce-template--checkout .woocommerce-order-overview li {
    display: grid !important;
    align-content: center;
    gap: 5px;
    float: none !important;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 16px 14px !important;
    border: 0 !important;
    border-right: 1px solid var(--ra-border, #d4dbe3) !important;
    color: var(--ra-text-muted, #5e6e84);
    font-size: 12px !important;
    line-height: 1.3;
    text-transform: none !important;
}
.ra-commerce-template--checkout .woocommerce-order-overview li:nth-child(even) { border-right: 0 !important; }
.ra-commerce-template--checkout .woocommerce-order-overview .woocommerce-order-overview__payment-method { display: none !important; }
.ra-commerce-template--checkout .woocommerce-order-overview li strong {
    overflow-wrap: anywhere;
    color: var(--ra-text, #303a50);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
}

/* EFT/BACS follows the established heading-outside-card pattern. */
.ra-commerce-template--checkout .woocommerce-bacs-bank-details,
.ra-commerce-template--checkout .ra-order-confirmation__payment-instructions {
    grid-column: 1;
    grid-row: 3;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
}
.ra-commerce-template--checkout :is(.woocommerce-order-details__title, .woocommerce-customer-details h2, .woocommerce-bacs-bank-details h2, .ra-order-confirmation__payment-instructions h2) {
    margin: 0 0 7px !important;
    padding: 0 14px !important;
    color: var(--ra-commerce-rail-heading-color, #0872ba) !important;
    font-size: var(--ra-commerce-rail-heading-size, 16px) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}
.ra-commerce-template--checkout .woocommerce-bacs-bank-details > :not(h2),
.ra-commerce-template--checkout .ra-order-confirmation__payment-instructions > :not(h2) {
    margin: 0 !important;
}
.ra-commerce-template--checkout .woocommerce-bacs-bank-details,
.ra-commerce-template--checkout .ra-order-confirmation__payment-instructions {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.ra-commerce-template--checkout :is(.woocommerce-bacs-bank-details, .ra-order-confirmation__payment-instructions) > h2 {
    margin: 0 0 7px !important;
    padding: 0 14px !important;
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
    color: var(--ra-text, #303a50);
    font-size: 12px;
    line-height: 1.5;
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-card > p { margin: 0; padding: 14px; }
.ra-commerce-template--checkout .ra-order-confirmation__bank-instructions { padding: 14px 14px 0; }
.ra-commerce-template--checkout .ra-order-confirmation__bank-instructions > :first-child { margin-top: 0; }
.ra-commerce-template--checkout .ra-order-confirmation__bank-instructions > :last-child { margin-bottom: 0; }
.ra-commerce-template--checkout .ra-order-confirmation__bank-details { display: grid; gap: 5px; padding: 12px 14px 14px; }
.ra-commerce-template--checkout .ra-order-confirmation__bank-instructions + .ra-order-confirmation__bank-details { padding-top: 12px; }
.ra-commerce-template--checkout .ra-order-confirmation__bank-account { display: grid; gap: 4px; margin: 0; line-height: 1.25; }
.ra-commerce-template--checkout .ra-order-confirmation__bank-account + .ra-order-confirmation__bank-account { padding-top: 8px; border-top: 1px solid var(--ra-border, #d4dbe3); }
.ra-commerce-template--checkout .ra-order-confirmation__bank-account > div { display: grid; grid-template-columns: calc(50% + 2px) minmax(0, 1fr); align-items: baseline; gap: 12px; }
.ra-commerce-template--checkout .ra-order-confirmation__bank-account dt { color: var(--ra-text-muted, #5e6e84); font-weight: 400; }
.ra-commerce-template--checkout .ra-order-confirmation__bank-account dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--ra-text, #303a50);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
}
.ra-commerce-template--checkout .ra-order-confirmation__gateway-logo {
    display: flex;
    align-items: center;
    min-height: 120px;
    padding: 14px;
}
.ra-commerce-template--checkout .ra-order-confirmation__gateway-logo img {
    display: block;
    width: auto;
    max-width: 300px;
    max-height: 92px;
}

/* PayFast order-pay is the local fallback before the hosted payment screen.
   PayFast owns the form/script; Foundation only composes its visible controls. */
.ra-commerce-template--checkout .ra-order-pay__gateway-row {
    display: grid;
    grid-template-columns: minmax(120px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 14px;
    padding: 14px;
}
.ra-commerce-template--checkout .ra-order-pay__gateway-row .ra-order-confirmation__gateway-logo {
    min-height: 92px;
    padding: 0;
}
.ra-commerce-template--checkout .ra-order-pay__gateway-actions { min-width: 0; }
.ra-commerce-template--checkout .ra-order-pay__gateway-actions > p {
    margin: 0 0 10px;
    color: var(--ra-text-muted, #5e6e84);
    font-size: 13px;
    line-height: 1.45;
}
.ra-commerce-template--checkout .ra-order-pay__gateway-actions #payfast_payment_form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0;
}
.ra-commerce-template--checkout .ra-order-pay > .ra-order-pay__message > p { margin: 0; }
.ra-commerce-template--checkout .ra-order-pay__gateway-actions :is(#submit_payfast_payment_form, .button.cancel) {
    box-sizing: border-box;
    min-width: 0;
    min-height: 40px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--ra-button-radius, 999px);
    background: var(--ra-button-primary, #0872ba);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.ra-commerce-template--checkout .ra-order-pay__gateway-actions .button.cancel {
    background: #f4f5f6;
    color: var(--ra-text, #303a50);
}
/* The shared Woo button rule later in this file sets vertical padding to zero.
   The PayFast cancel link wraps by design, so retain the same vertical action
   padding as the signed PayFast submit control. */
body.ra-foundation-body--commerce .ra-commerce-template--checkout .woocommerce .ra-order-pay__gateway-actions .button.cancel {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 10px 12px !important;
    line-height: 1.2 !important;
}
.ra-commerce-template--checkout .ra-order-confirmation__payment-card > :first-child { margin-top: 0 !important; }
.ra-commerce-template--checkout .ra-order-confirmation__payment-card > :last-child { margin-bottom: 0 !important; }

/* Order Details continues inside the same summary card. */
.ra-commerce-template--checkout .woocommerce-order-details {
    min-width: 0;
    margin: 0 !important;
}
.ra-commerce-template--checkout .ra-order-confirmation__summary .woocommerce-order-details__title {
    margin: 0 0 7px !important;
    padding: 0 14px !important;
    background: none;
}
.ra-commerce-template--checkout .woocommerce-order-details .shop_table {
    overflow: hidden;
    margin-bottom: 0 !important;
    padding: 0;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: var(--ra-radius-card, 18px) !important;
    background: #fff !important;
    border-collapse: separate !important;
    table-layout: fixed;
}
.ra-commerce-template--checkout .woocommerce-order-details .shop_table :is(th, td) { border: 0 !important; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table thead tr {
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6;
}
.ra-commerce-template--checkout .woocommerce-order-details .shop_table thead th { padding: 12px 14px; background: transparent; color: var(--ra-text, #303a50); font-size: 13px; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table thead th:first-child { font-weight: 700 !important; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table thead th:last-child,
.ra-commerce-template--checkout .woocommerce-order-details .shop_table td.product-total { text-align: right; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table thead th:first-child,
.ra-commerce-template--checkout .woocommerce-order-details .shop_table td.product-name { width: 70%; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table thead th:last-child,
.ra-commerce-template--checkout .woocommerce-order-details .shop_table td.product-total { width: 30%; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table tbody tr,
.ra-commerce-template--checkout .woocommerce-order-details .shop_table tfoot tr {
    border: 0 !important;
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat;
}
.ra-commerce-template--checkout .woocommerce-order-details .shop_table tbody tr:last-child,
.ra-commerce-template--checkout .woocommerce-order-details .shop_table tfoot tr:last-child { background: none; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table tbody td { padding: 13px 14px; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table .product-name { color: var(--ra-text, #303a50); font-size: 13px; line-height: 1.4; font-weight: 500; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table .product-quantity { font-weight: 600; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table .product-total { color: var(--ra-text-muted, #5e6e84); font-size: 13px; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table tfoot :is(th, td) {
    padding: 12px 14px !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    vertical-align: middle;
}
.ra-commerce-template--checkout .woocommerce-order-details .shop_table tfoot th { width: 34%; text-align: left; font-weight: 500 !important; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table tfoot td { text-align: right; font-weight: 700 !important; }
.ra-commerce-template--checkout .woocommerce-order-details .shop_table tfoot .amount { font-size: 15px !important; line-height: 1.4 !important; font-weight: 700 !important; }
.ra-commerce-template--checkout .ra-order-confirmation__summary .woocommerce-order-details .shop_table tfoot .order-total { display: table-row !important; }
.ra-commerce-template--checkout .ra-order-confirmation__summary .woocommerce-order-details .shop_table tfoot .order-total :is(th, td, strong) { font-weight: 700 !important; }
.ra-commerce-template--checkout .woocommerce-customer-details {
    grid-column: 3;
    grid-row: 3;
    min-width: 0;
    margin: 0 !important;
    padding-top: 0 !important;
    align-self: start;
}
.ra-commerce-template--checkout .woocommerce-customer-details .woocommerce-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.ra-commerce-template--checkout .woocommerce-customer-details .woocommerce-columns::before,
.ra-commerce-template--checkout .woocommerce-customer-details .woocommerce-columns::after {
    content: none !important;
    display: none !important;
}
.ra-commerce-template--checkout .woocommerce-customer-details .woocommerce-column {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ra-commerce-template--checkout .woocommerce-customer-details address {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
    color: var(--ra-text, #303a50);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}
.ra-commerce-template--checkout .woocommerce-customer-details address :is(.woocommerce-customer-details--email, .woocommerce-customer-details--phone) {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
}
.ra-commerce-template--checkout .woocommerce-customer-details address .woocommerce-customer-details--email { margin-top: 24px; }
.ra-commerce-template--checkout .woocommerce-customer-details address :is(.woocommerce-customer-details--email, .woocommerce-customer-details--phone)::before {
    content: none !important;
    display: none !important;
}

body.ra-checkout-template-active .select2-container--open .select2-dropdown {
    overflow: hidden;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: 12px;
    background: #fff;
}
body.ra-checkout-template-active .select2-container--open .select2-search--dropdown { padding: 8px; }
body.ra-checkout-template-active .select2-container--open .select2-search__field {
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: 9px;
    background: #f4f5f6;
}
body.ra-checkout-template-active .select2-results__option { padding: 9px 12px; }
body.ra-checkout-template-active .select2-results__option--highlighted[aria-selected],
body.ra-checkout-template-active .select2-results__option[aria-selected="true"] { background: #4a94d0; color: #fff; }

.ra-commerce-template__credibility { margin-top: clamp(28px, 3vw, 44px); }
.ra-commerce-template__payment-methods {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
}
.ra-commerce-template__payment-methods h2 { margin: 0 0 14px; font-size: 16px; }
.ra-commerce-template__payment-methods .ra-payment-methods__icons { justify-content: flex-start; }

@media (max-width: 980px) {
    .ra-commerce-template--checkout .woocommerce-order { grid-template-columns: minmax(0, 1fr); }
    .ra-commerce-template--checkout .woocommerce-order > :is(.woocommerce-notice, .ra-order-confirmation__message, .ra-order-confirmation__failure-actions, .ra-order-confirmation__summary, .woocommerce-order-overview, .woocommerce-order-details, .woocommerce-customer-details, .woocommerce-bacs-bank-details, .ra-order-confirmation__payment-instructions) {
        grid-column: 1;
        grid-row: auto;
    }
    .ra-commerce-template--checkout .woocommerce-order:has(> :is(.woocommerce-bacs-bank-details, .ra-order-confirmation__payment-instructions)) > .ra-order-confirmation__summary {
        grid-column: 1;
        grid-row: auto;
    }
    .ra-commerce-template--checkout .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ra-commerce-template--checkout .woocommerce-customer-details .woocommerce-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ra-commerce-template--cart .woocommerce,
    .ra-commerce-template--checkout form.checkout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ra-commerce-template--cart .cart-collaterals,
    .ra-commerce-template--checkout .ra-checkout-right-column { grid-column: 1; position: static; }
    .ra-commerce-template--checkout form.checkout > .col2-set,
    .ra-commerce-template--checkout #order_review_heading,
    .ra-commerce-template--checkout #order_review { grid-column: 1; grid-row: auto; }
    .ra-commerce-template--checkout .ra-checkout-reassurance__section > h2 { font-size: var(--ra-checkout-support-heading-mobile-size, 16px) !important; }
    .ra-commerce-template--checkout .ra-checkout-section-heading { font-size: var(--ra-commerce-rail-heading-mobile-size, 18px) !important; }
    .ra-commerce-template--checkout .ra-order-pay__gateway-row { grid-template-columns: minmax(0, 1fr); }
    .ra-commerce-template--checkout .ra-checkout-reassurance__card .ra-payment-methods__icons { grid-template-columns: repeat(var(--ra-checkout-payment-mobile-columns, 3), minmax(0, 1fr)); gap: var(--ra-checkout-payment-mobile-gap, 8px); }
}

@media (max-width: 767px) {
    .ra-commerce-template table.shop_table thead { display: none; }
    .ra-commerce-template--checkout .woocommerce-order-details table.shop_table thead { display: table-header-group; }
    .ra-commerce-template--cart table.shop_table,
    .ra-commerce-template--cart table.shop_table tbody,
    .ra-commerce-template--cart table.shop_table tr,
    .ra-commerce-template--cart table.shop_table td { display: block; width: 100%; box-sizing: border-box; }
    .ra-commerce-template--cart table.shop_table tr.cart_item { position: relative; padding: 14px 0; border-bottom: 1px solid var(--ra-border, #d4dbe3); }
    .ra-commerce-template--cart table.shop_table tr.cart_item td { padding: 6px 0; border: 0; text-align: left !important; }
    .ra-commerce-template--cart .woocommerce-cart-form__contents :is(td.product-thumbnail, td.product-name, td.product-price, td.product-quantity, td.product-subtotal) { width: 100%; }
    .ra-commerce-template--cart table.shop_table .product-remove { position: absolute; z-index: 2; top: 10px; right: 0; width: auto; }
    .ra-commerce-template--cart table.shop_table .product-thumbnail img { width: 110px; }
    .ra-commerce-template--cart .actions { padding-top: 16px !important; }
    .ra-commerce-template .coupon { flex-wrap: wrap; }
    .ra-commerce-template .coupon > * { flex: 1 1 100%; }
    .ra-commerce-template__payment-methods .ra-payment-methods__icons { justify-content: center; }
}

@media (max-width: 600px) {
    .ra-commerce-template--checkout .ra-order-confirmation__preview-flag { display: grid; border-radius: 14px; }
    .ra-commerce-template--checkout .woocommerce-order-overview,
    .ra-commerce-template--checkout .woocommerce-order:has(> :is(.woocommerce-bacs-bank-details, .ra-order-confirmation__payment-instructions)) > .woocommerce-order-overview,
    .ra-commerce-template--checkout .woocommerce-customer-details .woocommerce-columns { grid-template-columns: minmax(0, 1fr); }
    .ra-commerce-template--checkout .woocommerce-order-overview li,
    .ra-commerce-template--checkout .woocommerce-order:has(> :is(.woocommerce-bacs-bank-details, .ra-order-confirmation__payment-instructions)) > .woocommerce-order-overview li {
        border-right: 0 !important;
        background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat;
    }
    .ra-commerce-template--checkout .woocommerce-order-overview li:last-child,
    .ra-commerce-template--checkout .woocommerce-order:has(> :is(.woocommerce-bacs-bank-details, .ra-order-confirmation__payment-instructions)) > .woocommerce-order-overview li:last-child { background: none; }
    .ra-commerce-template--checkout .ra-order-confirmation__payment-summary {
        background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6;
    }
    .ra-commerce-template--checkout .ra-order-confirmation__payment-summary .woocommerce-order-overview li { background: none; }
    .ra-commerce-template--checkout .ra-order-confirmation__payment-summary .woocommerce-order-overview li:first-child::after { top: 14px; bottom: 14px; }
    .ra-commerce-template--checkout :is(.ra-checkout-order-items-card, .woocommerce-order-details .shop_table) thead th:first-child,
    .ra-commerce-template--checkout :is(.ra-checkout-order-items-card, .woocommerce-order-details .shop_table) td.product-name { width: 60%; }
    .ra-commerce-template--checkout :is(.ra-checkout-order-items-card, .woocommerce-order-details .shop_table) thead th:last-child,
    .ra-commerce-template--checkout :is(.ra-checkout-order-items-card, .woocommerce-order-details .shop_table) td.product-total { width: 40%; }
    .ra-commerce-template--checkout :is(.ra-checkout-order-items-card, .woocommerce-order-details .shop_table) tfoot td {
        white-space: nowrap;
        text-align: right;
    }
}

/* v0.8.79 - canonical Basket composition and controls. */
.ra-commerce-template--cart > .ra-shell {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(250px, 1fr);
    align-items: start;
    column-gap: clamp(12px, 1.3vw, 20px);
    row-gap: clamp(10px, 1vw, 14px);
}

.ra-commerce-template--cart .ra-commerce-template__title {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.ra-commerce-template--cart .ra-commerce-template__content {
    display: contents;
}

/* WooCommerce needs this wrapper to remain around the live Cart form.  Its
 * final-item replacement and native Undo action both depend on that contract. */
.ra-commerce-template--cart .ra-cart-left-column > .woocommerce {
    display: block;
    min-width: 0;
    width: 100%;
}

.ra-commerce-template--cart .woocommerce-notices-wrapper,
.ra-commerce-template--cart .woocommerce-message,
.ra-commerce-template--cart .woocommerce-info,
.ra-commerce-template--cart .woocommerce-error {
    grid-column: 1;
    min-width: 0;
}

.ra-commerce-template--cart .woocommerce-cart-form {
    min-width: 0;
    overflow: hidden;
    padding: 0;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
}

.ra-commerce-template--cart .cart-collaterals {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
}

.ra-commerce-template--cart .ra-commerce-template__credibility {
    width: 100%;
    margin-top: 0;
}

.ra-commerce-template--cart .ra-cart-left-column {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    min-width: 0;
    gap: clamp(12px, 1.3vw, 20px);
    align-content: start;
}

.ra-commerce-template--cart .woocommerce-notices-wrapper:not(:empty) {
    width: 100%;
}

.ra-commerce-template--cart .woocommerce-cart-form__contents thead th {
    padding: 16px 14px;
    background: transparent;
    color: var(--ra-text, #303a50);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
}
.ra-commerce-template--cart .woocommerce-cart-form__contents thead tr {
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6;
}

.ra-commerce-template--cart .woocommerce-cart-form__cart-item td {
    padding: 18px 14px;
}

.ra-commerce-template--cart .woocommerce-cart-form__contents {
    table-layout: fixed;
}

.ra-commerce-template--cart .woocommerce-cart-form__contents :is(th, td).product-remove { width: 44px; }
.ra-commerce-template--cart .woocommerce-cart-form__contents :is(th, td).product-thumbnail { width: 126px; }
.ra-commerce-template--cart .woocommerce-cart-form__contents :is(th, td).product-price { width: 132px; text-align: left; }
.ra-commerce-template--cart .woocommerce-cart-form__contents :is(th, td).product-quantity { width: 142px; text-align: center; }
.ra-commerce-template--cart .woocommerce-cart-form__contents :is(th, td).product-subtotal { width: 142px; text-align: right; }
.ra-commerce-template--cart .woocommerce-cart-form__contents :is(th, td).product-price { padding-left: 20px !important; }
.ra-commerce-template--cart .woocommerce-cart-form__contents :is(th, td).product-subtotal { padding-right: 20px !important; }
.ra-commerce-template--cart .woocommerce-cart-form__contents :is(th, td).product-name { text-align: left; }

.ra-commerce-template--cart .product-remove { width: 42px; text-align: center; }
.ra-commerce-template--cart .product-remove a.remove {
    display: inline-grid !important;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #ff0066;
    border-radius: 50%;
    background: #fff !important;
    color: #ff0066 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}
.ra-commerce-template--cart .product-remove a.remove:hover,
.ra-commerce-template--cart .product-remove a.remove:focus-visible { background: #ff0066 !important; color: #fff !important; }

.ra-commerce-template--cart .product-thumbnail { width: 126px; }
.ra-commerce-template--cart .product-thumbnail img {
    display: block;
    width: 104px !important;
    height: 104px !important;
    margin: auto;
    border-radius: 12px;
    object-fit: contain;
}
.ra-commerce-template--cart .product-name { overflow-wrap: anywhere; font-size: 15px; line-height: 1.4; font-weight: 500; }
.ra-commerce-template--cart .product-name a { font-weight: 500; }
.ra-commerce-template--cart .product-price,
.ra-commerce-template--cart .product-subtotal { white-space: nowrap; font-size: 15px; font-weight: 600; }

.ra-commerce-template--cart .quantity {
    display: inline-grid;
    grid-template-columns: 29px 32px 29px;
    align-items: center;
    overflow: hidden;
    height: 36px;
    width: 92px !important;
    box-sizing: border-box;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: 999px;
    background: #f6f7f9;
    isolation: isolate;
}
.ra-commerce-template--cart .quantity .qty {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
}
.ra-commerce-template--cart .quantity .qty::-webkit-inner-spin-button,
.ra-commerce-template--cart .quantity .qty::-webkit-outer-spin-button { margin: 0; appearance: none; }
.ra-commerce-template--cart .ra-cart-quantity-value {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 34px;
    background: #fff;
    color: var(--ra-text, #303a50);
    font-family: var(--ra-font-family, Montserrat, sans-serif);
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
}
.ra-commerce-template--cart .ra-cart-quantity-step {
    display: grid;
    place-items: center;
    width: 29px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ra-text, #303a50);
    font: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    margin: 0 !important;
    box-sizing: border-box;
    box-shadow: none !important;
}
.ra-commerce-template--cart .ra-cart-quantity-step:hover,
.ra-commerce-template--cart .ra-cart-quantity-step:focus-visible {
    background: #e5e9ee;
    color: var(--ra-text, #303a50);
    box-shadow: none !important;
    outline: 0 !important;
}
.ra-commerce-template--cart .ra-cart-quantity-step--decrease { border-radius: 999px 0 0 999px; }
.ra-commerce-template--cart .ra-cart-quantity-step--increase { border-radius: 0 999px 999px 0; }

.ra-commerce-template--cart td.actions {
    padding: 18px 20px !important;
    background: #f8f9fb;
}
.ra-commerce-template--cart td.actions > .button {
    float: right;
    max-width: 100%;
    margin: 0 !important;
}
.ra-commerce-template--cart .woocommerce-cart-form table.shop_table { margin-bottom: 0 !important; }
.ra-commerce-template--cart .woocommerce-cart-form > :is(br, p:empty) { display: none !important; }
.ra-commerce-template--cart td.actions::after { content: ""; display: table; clear: both; }
.ra-commerce-template--cart .coupon { float: left; align-items: center; gap: 10px; }
.ra-commerce-template--cart .coupon::before {
    content: "Coupon";
    color: var(--ra-text, #303a50);
    font-size: 13px;
    font-weight: 700;
}
.ra-commerce-template--cart .coupon .input-text {
    width: 190px !important;
    height: 42px;
    min-height: 42px;
    margin: 0 !important;
    padding: 8px 16px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 999px !important;
    background: #fff !important;
}

.ra-commerce-template .button,
.ra-commerce-template a.button,
.ra-commerce-template button.button,
.ra-commerce-template input.button,
.ra-commerce-template #place_order {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 42px !important;
    padding: 8px 20px !important;
    border: 0 !important;
    border-radius: var(--ra-button-radius, 999px) !important;
    background: var(--ra-primary, #0271ba) !important;
    color: #fff !important;
    font-family: var(--ra-font-family, Montserrat, sans-serif) !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: var(--ra-weight-button, 600) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .18s ease !important;
}
.ra-commerce-template .button:hover,
.ra-commerce-template .button:focus-visible,
.ra-commerce-template a.button:hover,
.ra-commerce-template a.button:focus-visible,
.ra-commerce-template button.button:hover,
.ra-commerce-template button.button:focus-visible,
.ra-commerce-template input.button:hover,
.ra-commerce-template input.button:focus-visible,
.ra-commerce-template #place_order:hover,
.ra-commerce-template #place_order:focus-visible {
    background: var(--ra-primary-light, #48a0dc) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.ra-commerce-template .button::after,
.ra-commerce-template .button::before { content: none !important; }
.ra-commerce-template .button:disabled,
.ra-commerce-template .button.disabled,
.ra-commerce-template .button[disabled] {
    background: #d9dee5 !important;
    color: #7f8b9c !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}
.ra-foundation-body--commerce .ra-commerce-template .woocommerce :is(a.button, button.button, input.button),
.ra-foundation-body--commerce .ra-commerce-template .woocommerce #place_order {
    min-height: 34px !important;
    padding: 0 40px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ra-primary, #0271ba) !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
}
.ra-foundation-body--commerce .ra-commerce-template .woocommerce :is(a.button, button.button, input.button):hover,
.ra-foundation-body--commerce .ra-commerce-template .woocommerce :is(a.button, button.button, input.button):focus-visible,
.ra-foundation-body--commerce .ra-commerce-template .woocommerce #place_order:hover,
.ra-foundation-body--commerce .ra-commerce-template .woocommerce #place_order:focus-visible {
    background: var(--ra-primary-light, #48a0dc) !important;
    color: #fff !important;
}
.ra-foundation-body--commerce .ra-commerce-template .woocommerce :is(button.button, input.button):disabled,
.ra-foundation-body--commerce .ra-commerce-template .woocommerce :is(button.button, input.button).disabled {
    background: #d9dee5 !important;
    color: #7f8b9c !important;
}
.ra-commerce-template--cart .coupon .button { background: #4a94d0 !important; }
.ra-commerce-template--cart .coupon .button,
.ra-commerce-template--cart td.actions > .button,
.ra-commerce-template--cart .coupon .button:hover,
.ra-commerce-template--cart .coupon .button:focus-visible,
.ra-commerce-template--cart td.actions > .button:hover,
.ra-commerce-template--cart td.actions > .button:focus-visible,
.ra-commerce-template--cart .coupon .button:disabled,
.ra-commerce-template--cart td.actions > .button:disabled,
.ra-commerce-template--cart .coupon .button.disabled,
.ra-commerce-template--cart td.actions > .button.disabled {
    padding: 8px 26px !important;
    cursor: pointer !important;
}
.ra-commerce-template--cart .coupon .button:hover,
.ra-commerce-template--cart .coupon .button:focus-visible {
    background: var(--ra-primary, #0271ba) !important;
}

.ra-commerce-template--cart .cart-collaterals h2 {
    margin: 0 0 16px;
    color: var(--ra-text, #303a50);
    font-size: 21px;
    line-height: 1.2;
}
.ra-commerce-template--cart .cart_totals table th,
.ra-commerce-template--cart .cart_totals table td { padding: 15px 12px; }
.ra-commerce-template--cart .cart_totals table th { width: 26%; font-size: 13px; }
.ra-commerce-template--cart .cart_totals table.shop_table tr th,
.ra-commerce-template--cart .cart_totals table.shop_table tr td {
    border-top: 0 !important;
    border-bottom: 1px solid var(--ra-border, #d4dbe3) !important;
}
.ra-commerce-template--cart .cart_totals table.shop_table tr:last-child th,
.ra-commerce-template--cart .cart_totals table.shop_table tr:last-child td { border-bottom: 0 !important; }
.ra-commerce-template--cart .order-total th,
.ra-commerce-template--cart .order-total td { background: #f4f5f6; color: var(--ra-text, #303a50); }
.ra-commerce-template--cart .order-total :is(strong, b, .amount) { color: var(--ra-text, #303a50); }
.ra-commerce-template--cart .wc-proceed-to-checkout { padding: 20px 0 0; }
.ra-commerce-template--cart .wc-proceed-to-checkout .checkout-button { width: 100%; margin: 0; }
.ra-commerce-template--cart .woocommerce-shipping-destination { margin: 8px 0; font-size: 12px; line-height: 1.45; }
.ra-commerce-template--cart .shipping-calculator-button { font-size: 12px; font-weight: 600; }

/* v0.8.82 - reusable Basket purchase-rail composition. */
.ra-commerce-template--cart .cart-collaterals {
    position: sticky;
    top: var(--ra-sticky-offset, 24px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}
.ra-commerce-template--cart .cart_totals {
    display: grid;
    gap: 12px;
    min-width: 0;
}
.ra-commerce-template--cart .ra-cart-rail-block {
    box-sizing: border-box;
    padding: clamp(18px, 2vw, 26px);
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
    min-width: 0;
    overflow: hidden;
}
.ra-commerce-template--cart .ra-cart-rail-heading {
    margin: 0 0 12px !important;
    color: var(--ra-commerce-rail-heading-color, #0872ba) !important;
    font-size: var(--ra-commerce-rail-heading-size, 14px) !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}
.ra-commerce-template--cart .ra-cart-rail-block table.shop_table {
    margin: 0 !important;
    table-layout: fixed;
}
.ra-commerce-template--cart .ra-cart-rail-block table.shop_table th,
.ra-commerce-template--cart .ra-cart-rail-block table.shop_table td {
    padding: 10px 8px;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .shipping-calculator-form {
    box-sizing: border-box;
    width: 100%;
    margin: 14px 0 0 !important;
    padding: 0;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .woocommerce-shipping-calculator {
    width: 100%;
    margin: 12px 0 0;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .shipping-calculator-form > p,
.ra-commerce-template--cart .ra-cart-rail-card--delivery .shipping-calculator-form .form-row {
    box-sizing: border-box;
    width: 100% !important;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .shipping-calculator-form .form-row {
    float: none;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .shipping-calculator-form :is(input.input-text, select, .select2-container, .select2-selection--single) {
    width: 100% !important;
    max-width: none !important;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .shipping-calculator-form :is(input.input-text, select, .select2-selection--single) {
    height: 46px !important;
    min-height: 46px !important;
    padding: 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    background: #f4f5f6 !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 14px !important;
    line-height: 26px !important;
    box-shadow: none !important;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .select2-selection__rendered {
    padding: 0 !important;
    color: var(--ra-text, #303a50) !important;
    line-height: 26px !important;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .select2-selection__arrow {
    top: 0 !important;
    right: 8px !important;
    height: 44px !important;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery :is(.woocommerce-shipping-destination, address, strong) {
    overflow-wrap: anywhere;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .shipping-calculator-form .button {
    width: 100%;
}
.ra-commerce-template--cart .ra-cart-rail-block--final {
    padding: clamp(16px, 1.8vw, 22px);
}
.ra-commerce-template--cart .ra-cart-rail-block--final .order-total th,
.ra-commerce-template--cart .ra-cart-rail-block--final .order-total td {
    background: #f4f5f6;
}
.ra-commerce-template--cart .ra-cart-rail-block--final .wc-proceed-to-checkout {
    padding-top: 14px;
}
.ra-commerce-template--cart .woocommerce-notices-wrapper:not(:empty) {
    grid-column: 1;
}
.ra-commerce-template--cart .woocommerce-message,
.ra-commerce-template--cart .woocommerce-info,
.ra-commerce-template--cart .woocommerce-error {
    border: 0 !important;
    border-radius: var(--ra-button-radius, 999px) !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* v0.8.87 - Single Product-aligned 4+1 Basket rail. */
.ra-commerce-template--cart .cart_totals {
    gap: 18px;
}
.ra-commerce-template--cart .ra-cart-rail-section {
    min-width: 0;
}
.ra-commerce-template--cart .ra-cart-rail-heading {
    margin: 0 0 7px !important;
    padding: 0 14px !important;
    color: var(--ra-commerce-rail-heading-color, #0872ba) !important;
    font-size: var(--ra-commerce-rail-heading-size, 16px) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}
.ra-commerce-template--cart .ra-cart-rail-card {
    box-sizing: border-box;
    min-width: 0;
    padding: 10px 14px 12px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
    overflow: hidden;
}
.ra-commerce-template--cart .ra-cart-rail-card table.shop_table {
    table-layout: fixed;
}
.ra-commerce-template--cart .ra-cart-rail-card table.shop_table :is(th, td) {
    border: 0 !important;
    background: transparent !important;
}
.ra-commerce-template--cart .ra-cart-rail-card--summary .cart-subtotal th {
    display: none;
}
.ra-commerce-template--cart .ra-cart-rail-card--summary,
.ra-commerce-template--cart .ra-cart-rail-card--delivery,
.ra-commerce-template--cart .ra-cart-rail-card--final {
    display: grid;
    align-content: start;
    gap: 4px;
}
.ra-commerce-template--cart .ra-cart-rail-card :is(table.shop_table, tbody, tr) {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}
.ra-commerce-template--cart .ra-cart-rail-card--summary .cart-subtotal td {
    display: block;
    width: 100%;
    padding: 0;
    text-align: right;
}
.ra-commerce-template--cart .ra-cart-rail-card--summary .cart-subtotal .amount {
    color: var(--ra-text, #303a50);
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
}
.ra-commerce-template--cart .ra-cart-rail-card--summary { padding: 16px 14px 12px; }
.ra-commerce-template--cart .ra-cart-rail-card--summary:not(.ra-cart-rail-card--has-discounts),
.ra-commerce-template--cart .ra-cart-rail-card--summary.ra-cart-rail-card--has-discounts { padding-bottom: 6px; }
.ra-commerce-template--cart .ra-cart-tax-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    margin-top: 10px;
    padding: 12px 0 6px;
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center top / 100% 1px no-repeat;
    color: var(--ra-text, #303a50);
    font-size: 15px;
}
.ra-commerce-template--cart .ra-cart-tax-row strong { font-weight: 600; }
.ra-commerce-template--cart .ra-cart-rail-card--has-discounts .ra-cart-tax-row {
    padding-bottom: 12px;
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center top / 100% 1px no-repeat,
        linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / 100% 1px no-repeat;
}
.ra-commerce-template--cart .ra-cart-discounts-table { margin: 0 !important; }
.ra-commerce-template--cart .ra-cart-rail-card .ra-cart-discounts-table .cart-discount {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    padding: 12px 0 4px;
    background: none;
}
.ra-commerce-template--cart .ra-cart-rail-card .ra-cart-discounts-table .cart-discount th,
.ra-commerce-template--cart .ra-cart-rail-card .ra-cart-discounts-table .cart-discount td {
    display: block;
    width: auto;
    padding: 0;
    color: var(--ra-text, #303a50);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}
.ra-commerce-template--cart .ra-cart-rail-card .ra-cart-discounts-table .cart-discount th { text-align: left; }
.ra-commerce-template--cart .ra-cart-rail-card .ra-cart-discounts-table .cart-discount td { text-align: right; }
.ra-commerce-template--cart .ra-cart-rail-card .ra-cart-discounts-table .cart-discount .amount { font-weight: 600; }
.ra-commerce-template--cart .ra-cart-rail-card .ra-cart-discounts-table .cart-discount .woocommerce-remove-coupon {
    display: block;
    margin-top: 1px;
    color: var(--ra-primary, #0271ba);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: none;
}
.ra-commerce-template--cart .ra-cart-rail-card .ra-cart-discounts-table .cart-discount .woocommerce-remove-coupon:hover,
.ra-commerce-template--cart .ra-cart-rail-card .ra-cart-discounts-table .cart-discount .woocommerce-remove-coupon:focus-visible { text-decoration: underline; }
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot .cart-discount .woocommerce-remove-coupon {
    display: block;
    margin-top: 1px;
    color: var(--ra-primary, #0271ba);
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    text-decoration: none;
}
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot .cart-discount .woocommerce-remove-coupon:hover,
.ra-commerce-template--checkout .ra-checkout-order-items-card tfoot .cart-discount .woocommerce-remove-coupon:focus-visible { text-decoration: underline; }
.ra-commerce-template--cart .ra-cart-rail-card--delivery .woocommerce-shipping-totals > th {
    display: none;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .woocommerce-shipping-totals > td {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery #shipping_method {
    margin: 0 0 7px;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery #shipping_method label {
    color: var(--ra-text, #303a50);
    font-size: 14px;
    font-weight: 700;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .woocommerce-shipping-destination {
    margin: 0;
    color: var(--ra-text, #303a50);
    font-size: 13px;
    line-height: 1.45;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .shipping-calculator-button {
    color: var(--ra-primary, #0271ba);
    font-size: 13px;
    font-weight: 500;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery { padding: 16px 14px; gap: 7px; }
.ra-commerce-template--cart .ra-cart-rail-card--delivery .woocommerce-shipping-calculator {
    margin: 0 !important;
}
.ra-commerce-template--cart .ra-cart-rail-card--delivery .shipping-calculator-button::after {
    content: "" !important;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 7px;
    vertical-align: -2px;
    background: currentColor;
    -webkit-mask: url("../icons/truck-fast-solid-full.svg") center / contain no-repeat;
    mask: url("../icons/truck-fast-solid-full.svg") center / contain no-repeat;
}
.ra-commerce-template--cart .ra-cart-rail-card--final {
    padding: 16px 14px 6px;
    text-align: center;
    gap: 10px;
}
.ra-commerce-template--cart .ra-cart-rail-card--final .order-total th,
.ra-commerce-template--cart .ra-cart-rail-card--final .includes_tax {
    display: none;
}
.ra-commerce-template--cart .ra-cart-rail-card--final .order-total td {
    display: block;
    width: 100%;
    padding: 0;
    text-align: center;
}
.ra-commerce-template--cart .ra-cart-rail-card--final .order-total .amount {
    color: var(--ra-text, #303a50);
    font-size: 24px;
    line-height: 1;
    font-weight: 700 !important;
}
.ra-commerce-template--cart .ra-cart-rail-card--final .wc-proceed-to-checkout {
    padding: 0;
}
.ra-commerce-template--cart .ra-cart-left-column > .woocommerce > .woocommerce-notices-wrapper:not(:empty) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    margin-bottom: 10px !important;
    text-align: left;
}
.ra-commerce-template--cart .ra-cart-left-column > .woocommerce .cart-empty {
    margin: 0 0 12px !important;
    text-align: left;
}
.ra-commerce-template--cart .ra-cart-left-column > .woocommerce .return-to-shop {
    margin: 0 !important;
    text-align: left;
}
.ra-commerce-template--cart :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    position: relative;
    padding-right: 48px !important;
}
.ra-commerce-template--cart .ra-cart-notice-close {
    position: absolute;
    top: 50%;
    right: 16px;
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}
.ra-commerce-template--cart .ra-cart-notice-close:hover,
.ra-commerce-template--cart .ra-cart-notice-close:focus-visible {
    background: rgb(255 255 255 / 16%);
    color: #fff;
    outline: 0;
}

body.ra-cart-template-active .select2-container--open .select2-dropdown {
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 8px 22px rgb(48 58 80 / 12%);
}
body.ra-cart-template-active .select2-container--open .select2-search--dropdown {
    display: none !important;
}
body.ra-cart-template-active .select2-container--open .select2-search__field {
    box-sizing: border-box;
    min-height: 40px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 8px !important;
}
body.ra-cart-template-active .select2-results__option {
    padding: 8px 12px !important;
    font-size: 14px;
}
body.ra-cart-template-active .select2-results__options {
    max-height: 260px !important;
    background: #fff;
}
body.ra-cart-template-active .select2-results__option--highlighted[aria-selected],
body.ra-cart-template-active .select2-results__option[aria-selected="true"] {
    background: #4a94d0 !important;
    color: #fff !important;
}
.ra-commerce-template--cart .checkout-button .ra-cart-checkout-spinner {
    display: inline-block;
    flex: 0 0 0;
    width: 0;
    height: 0;
    margin: 0;
    border: 0 solid rgb(255 255 255 / 45%);
    border-top-color: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: ra-cart-button-spin .7s linear infinite;
}
.ra-commerce-template--cart .checkout-button.is-loading .ra-cart-checkout-spinner {
    flex-basis: 12px;
    width: 12px;
    height: 12px;
    margin-right: 7px;
    border-width: 2px;
    opacity: 1;
}
.ra-commerce-template--cart .checkout-button.is-loading {
    pointer-events: none;
    cursor: progress !important;
}
@keyframes ra-cart-button-spin { to { transform: rotate(360deg); } }

/* Keep the Account confirmation action distinct from the shared blue CTA hover. */
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info > a.button.wc-forward:hover,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info > a.button.wc-forward:focus-visible {
    background: #eef0f3 !important;
    color: var(--ra-text, #303a50) !important;
}

/* Account Orders v0.8.156: this must use the canonical Foundation header-menu
 * artwork, not a separately drawn Account hamburger. */
@media (max-width: 767px) {
    .ra-commerce-template--account .ra-account-navigation-toggle {
        background: transparent !important;
        color: var(--ra-header-action-color, #5e6e84) !important;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle:hover,
    .ra-commerce-template--account .ra-account-navigation-toggle:focus-visible {
        background: transparent !important;
        color: var(--ra-header-action-hover, #48a0dc) !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.is-open .ra-account-navigation-toggle {
        color: var(--ra-header-action-active, #ff0066) !important;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle__icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: var(--ra-header-mobile-menu-size, 26px) !important;
        height: var(--ra-header-mobile-menu-size, 26px) !important;
        background: transparent !important;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle__icon::before,
    .ra-commerce-template--account .ra-account-navigation-toggle__icon::after {
        content: none !important;
        display: none !important;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle__icon svg {
        display: block;
        width: 100%;
        height: 100%;
        fill: currentColor;
        stroke: none;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.is-open .ra-account-navigation-toggle__icon {
        background: transparent !important;
    }
    .ra-commerce-template--account .woocommerce-info {
        margin: 0 0 10px !important;
    }
}

@media (min-width: 768px) {
    .ra-commerce-template--account .woocommerce-info {
        margin: 0 0 10px !important;
    }
}

/* Account Orders v0.8.157: avoid :has() for the functional mobile menu and
 * give Account notices the same dismissible action structure as Cart. */
.ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed {
    min-width: 0 !important;
    max-width: 100% !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .ra-account-notice-text {
    min-width: 0;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .ra-account-notice-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .ra-account-notice-close {
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 auto;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #fff !important;
    font: inherit !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    cursor: pointer;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .ra-account-notice-close:hover,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .ra-account-notice-close:focus-visible {
    background: rgb(255 255 255 / 16%) !important;
    color: #fff !important;
    outline: 0;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
    padding: 5px 20px !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info:not(.ra-account-notice--has-action) {
    padding: 12px 20px !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info .ra-account-notice-actions > a.button.wc-forward:hover,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info .ra-account-notice-actions > a.button.wc-forward:focus-visible,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info .ra-account-notice-actions > a.button.wc-forward:active {
    background: #eef0f3 !important;
    color: var(--ra-text, #303a50) !important;
}

@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 40px;
        align-items: center;
        gap: 10px;
        width: 100% !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed ul {
        display: none !important;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
        min-width: 0 !important;
        margin: 4px 0 0 !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed.is-open ul {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 6px;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info {
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .ra-account-notice-actions {
        justify-content: stretch;
        gap: 8px;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .ra-account-notice-actions > a.button.wc-forward {
        flex: 1 1 auto;
        width: auto !important;
        margin: 0 !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
        padding: 8px 16px !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info:not(.ra-account-notice--has-action) {
        padding: 12px 16px !important;
    }
}

@media (max-width: 767px) {
    .ra-commerce-template--cart > .ra-shell { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
    .ra-commerce-template--cart .ra-commerce-template__title,
    .ra-commerce-template--cart .woocommerce-notices-wrapper,
    .ra-commerce-template--cart .woocommerce-message,
    .ra-commerce-template--cart .woocommerce-info,
    .ra-commerce-template--cart .woocommerce-error,
    .ra-commerce-template--cart .ra-cart-left-column,
    .ra-commerce-template--cart .woocommerce-cart-form,
    .ra-commerce-template--cart .cart-collaterals,
    .ra-commerce-template--cart .ra-commerce-template__credibility { grid-column: 1; grid-row: auto; }
    .ra-commerce-template--cart .product-thumbnail { width: 100%; }
    .ra-commerce-template--cart .woocommerce-cart-form__cart-item td.product-thumbnail { padding-right: 36px; }
    .ra-commerce-template--cart .product-thumbnail img { width: 132px !important; height: 132px !important; margin-left: 0; }
    .ra-commerce-template--cart td.actions { padding: 16px !important; }
    .ra-commerce-template--cart .coupon { float: none; display: grid; grid-template-columns: 1fr 1fr; }
    .ra-commerce-template--cart .coupon::before { grid-column: 1 / -1; }
    .ra-commerce-template--cart .coupon .input-text { width: 100% !important; }
    .ra-commerce-template--cart td.actions > .button { float: none !important; width: 100%; margin-top: 10px !important; }
    .ra-commerce-template--cart .ra-cart-rail-heading {
        font-size: var(--ra-commerce-rail-heading-mobile-size, 16px) !important;
    }
}

/* v0.8.158 final Account notice contract. This deliberately follows the
 * earlier Account experiments so the Cart-derived rule is the cascade owner. */
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 20px !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
    padding: 5px 48px 5px 20px !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info:not(.ra-account-notice--has-action) {
    padding: 12px 48px 12px 20px !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward {
    order: 2;
    flex: 0 0 auto !important;
    margin: 0 20px 0 auto !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward:hover,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward:focus-visible,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward:active {
    background: #eef0f3 !important;
    color: var(--ra-text, #303a50) !important;
}

@media (max-width: 767px) {
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info {
        flex-flow: column nowrap !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
        padding: 8px 16px !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info:not(.ra-account-notice--has-action) {
        padding: 12px 16px !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward {
        width: calc(100% - 32px) !important;
        margin: 0 32px 0 0 !important;
    }
}
 .ra-commerce-template--checkout .ra-order-pay-form { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:20px; align-items:start; }
 .ra-commerce-template--checkout .ra-order-pay-form__payment > h2 { margin:0 0 7px!important; padding:0 14px!important; color:#0872ba!important; font-size:16px!important; font-weight:500!important; }
 .ra-commerce-template--checkout .ra-order-pay-form__payment #payment { padding:14px; border:1px solid var(--ra-border,#d4dbe3); border-radius:var(--ra-radius-card,18px); background:#fff; }
 .ra-commerce-template--checkout .ra-order-pay-form #place_order { width:100%; }
 @media (max-width:980px) { .ra-commerce-template--checkout .ra-order-pay-form { grid-template-columns:minmax(0,1fr); } }

/* Account Orders v0.8.179: final desktop table contract.  The header and cell
 * classes are both required for table-layout: fixed; sizing cells alone leaves
 * WooCommerce's headers to distribute the table evenly. */
@media (min-width: 768px) {
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders thead th {
        padding: 16px 14px !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody td {
        padding: 8px 12px !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(.woocommerce-orders-table__header-order-number, .woocommerce-orders-table__cell-order-number) { width: 9% !important; white-space: nowrap; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(.woocommerce-orders-table__header-order-date, .woocommerce-orders-table__cell-order-date) { width: 15% !important; white-space: nowrap; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(.woocommerce-orders-table__header-order-status, .woocommerce-orders-table__cell-order-status) { width: 12% !important; white-space: nowrap; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(.woocommerce-orders-table__header-order-total, .woocommerce-orders-table__cell-order-total) { width: 19% !important; white-space: nowrap; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders :is(.woocommerce-orders-table__header-order-actions, .woocommerce-orders-table__cell-order-actions) { width: 45% !important; white-space: nowrap !important; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
        display: table-cell !important;
        text-align: left;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions .button {
        min-height: 26px !important;
        padding: 0 20px !important;
        font-size: 11px !important;
        line-height: 1.15 !important;
        font-weight: 500 !important;
        margin: 0 0 0 6px !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions .button:first-child {
        margin-left: 0 !important;
    }
}

/* Account verification is a native Woo notice action.  Do not depend on a
 * Divi page wrapper: the controlled Account shell can be mounted outside
 * #page-container.  Target the real notice/action relationship instead. */
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info a.button {
    background: var(--ra-primary-soft, #ebf4fa) !important;
    background-color: var(--ra-primary-soft, #ebf4fa) !important;
    color: var(--ra-text, #303a50) !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info a.button:hover,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info a.button:focus-visible,
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info a.button:active {
    background: #eef0f3 !important;
    background-color: #eef0f3 !important;
    color: var(--ra-text, #303a50) !important;
}

/* Account email verification: this page is mounted without the Foundation
 * body shell on the live site, so the contract must anchor at the real
 * managed Account template. Keep normal Woo notices at their shared height. */
.ra-commerce-template--account .woocommerce .woocommerce-info:not(.ra-account-notice--has-action) {
    padding: 12px 20px !important;
}
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward,
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action .ra-account-notice-actions > a.button.wc-forward {
    background: var(--ra-primary-light, #48a0dc) !important;
    background-color: var(--ra-primary-light, #48a0dc) !important;
    border: 1px solid #fff !important;
    color: #fff !important;
}
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward:hover,
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward:focus-visible,
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > a.button.wc-forward:active,
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action .ra-account-notice-actions > a.button.wc-forward:hover,
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action .ra-account-notice-actions > a.button.wc-forward:focus-visible,
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action .ra-account-notice-actions > a.button.wc-forward:active {
    background: #eef0f3 !important;
    background-color: #eef0f3 !important;
    border-color: #fff !important;
    color: var(--ra-text, #303a50) !important;
}
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
    padding-right: 20px !important;
}
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-cart-notice-close {
    position: static !important;
    order: 3;
    flex: 0 0 24px;
    margin: 0 !important;
    transform: none !important;
}

/* Mobile Account navigation and email-confirmation layout. These final rules
 * deliberately replace the older full-width stack and notice-column variants. */
@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed.is-open > ul {
        display: flex !important;
        flex-flow: row wrap;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
        margin: 4px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        gap: 7px;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed.is-open > ul :is(li, a) {
        width: auto !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed.is-open > ul a {
        justify-content: center !important;
        min-height: 32px !important;
        padding: 6px 12px !important;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle__menu-icon,
    .ra-commerce-template--account .ra-account-navigation-toggle__close-icon {
        display: grid;
        place-items: center;
        width: 100%;
        height: 100%;
    }
    .ra-commerce-template--account .ra-account-navigation-toggle__close-icon {
        display: none;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.is-open .ra-account-navigation-toggle__menu-icon {
        display: none;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.is-open .ra-account-navigation-toggle__close-icon {
        display: grid;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action,
    .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 24px;
        align-items: center !important;
        gap: 8px 10px !important;
        padding: 8px 16px !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-text,
    .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-text {
        grid-column: 1 / -1;
        min-width: 0;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions,
    .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions {
        grid-column: 1;
        min-width: 0;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions > a.button.wc-forward,
    .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions > a.button.wc-forward {
        width: auto !important;
        margin: 0 !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-cart-notice-close,
    .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-cart-notice-close {
        grid-column: 2;
        grid-row: 2;
        position: static !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* On phone the burger is the navigation control.  The list is hidden until
 * Components toggles .is-open, preventing an invisible width reservation. */
@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed > ul {
        display: none !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed.is-open > ul {
        display: grid !important;
        grid-template-columns: 1fr;
    }
}

/* v0.8.192 Account notice, mobile navigation and Cart action contract.
 * These rules intentionally sit after the legacy experiments above: the
 * current Components renderer supplies the text/action/close notice groups,
 * so this is the single cascade owner for their desktop and mobile geometry. */
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 5px 20px !important;
}
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-text {
    flex: 1 1 auto;
    min-width: 0;
}
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions > a.button.wc-forward {
    margin: 0 !important;
}
.ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-cart-notice-close {
    position: static !important;
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 24px;
    margin: 0 !important;
    transform: none !important;
}

@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed.is-open > ul {
        display: flex !important;
        flex-flow: row wrap !important;
        justify-content: flex-end !important;
        grid-template-columns: none !important;
        gap: 7px !important;
        width: 100% !important;
        margin: 4px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed.is-open > ul > li,
    .ra-commerce-template--account .woocommerce-MyAccount-navigation.ra-account-navigation--managed.is-open > ul > li > a {
        width: auto !important;
        max-width: none !important;
    }
    .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 24px;
        align-items: center !important;
        gap: 8px 10px !important;
        padding: 8px 16px !important;
    }
    .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-text {
        grid-column: 1 / -1;
    }
    .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        margin-left: 0;
    }
    .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-cart-notice-close {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}

/* The Cart coupon and update controls are a 42px pair.  The broad commerce
 * button normaliser has higher specificity, so both normal and interaction
 * states must be scoped to the real Cart controls. */
body.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce .coupon .button,
body.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce td.actions > .button,
.ra-commerce-template--cart .woocommerce .coupon .button,
.ra-commerce-template--cart .woocommerce td.actions > .button,
body.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce .coupon .button:hover,
body.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce td.actions > .button:hover,
.ra-commerce-template--cart .woocommerce .coupon .button:hover,
.ra-commerce-template--cart .woocommerce td.actions > .button:hover,
body.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce .coupon .button:focus-visible,
body.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce td.actions > .button:focus-visible,
.ra-commerce-template--cart .woocommerce .coupon .button:focus-visible,
.ra-commerce-template--cart .woocommerce td.actions > .button:focus-visible,
body.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce .coupon .button:disabled,
body.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce td.actions > .button:disabled,
.ra-commerce-template--cart .woocommerce .coupon .button:disabled,
.ra-commerce-template--cart .woocommerce td.actions > .button:disabled {
    box-sizing: border-box !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 8px 26px !important;
    line-height: 1.15 !important;
    vertical-align: middle !important;
}

/* Live Account pages carry the Foundation body class.  Mirror the contract
 * at that specificity so no earlier body-scoped experiment can win it. */
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 5px 20px !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-text {
    flex: 1 1 auto;
    min-width: 0;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions > a.button.wc-forward {
    margin: 0 !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-cart-notice-close {
    position: static !important;
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 24px;
    margin: 0 !important;
    transform: none !important;
}

@media (max-width: 767px) {
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 24px;
        align-items: center !important;
        gap: 8px 10px !important;
        padding: 8px 16px !important;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-text {
        grid-column: 1 / -1;
    }
    body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-account-notice-actions {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        margin-left: 0;
    }
body.ra-foundation-body--commerce .ra-commerce-template--account .woocommerce .woocommerce-info.ra-account-notice--has-action > .ra-cart-notice-close {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}

/* v0.8.193 Mobile Orders reuse the approved Order Details card grammar.
 * WooCommerce still renders its native table and actions; CSS only presents
 * each native row as a self-contained dated order card. */
@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody {
        display: grid !important;
        gap: 14px;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody tr {
        display: flex !important;
        flex-flow: column nowrap !important;
        overflow: hidden;
        padding: 0 !important;
        border: 1px solid var(--ra-border, #d4dbe3) !important;
        border-radius: var(--ra-radius-card, 18px) !important;
        background: #fff !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody td {
        box-sizing: border-box;
        display: grid !important;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        align-items: baseline;
        gap: 12px;
        width: 100% !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat;
        color: var(--ra-text-muted, #5e6e84);
        font-size: 15px !important;
        line-height: 1.4 !important;
        text-align: right !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody td::before {
        color: var(--ra-text, #303a50);
        font-size: 15px !important;
        font-weight: 700 !important;
        text-align: left !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-date {
        order: 1;
        display: block !important;
        padding: 12px 14px !important;
        background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6 !important;
        color: var(--ra-text, #303a50);
        font-size: 13px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        text-align: left !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-date::before {
        content: none !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number { order: 2; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-status { order: 3; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-total { order: 4; background: none; }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
        order: 5;
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        padding: 14px !important;
        background: none;
        text-align: left !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions::before {
        content: none !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions .button {
        min-height: 34px !important;
        margin: 0 !important;
        padding: 0 20px !important;
    }
}

/* Standard Checkout's returning-customer form uses the same native Woo form
 * as the approved protected Order Pay login gate.  Extend that exact form
 * contract without replacing login, nonce or redirect behaviour. */
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login,
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login {
    box-sizing: border-box;
    width: min(100%, 700px);
    max-width: 700px;
    margin: 0 !important;
    padding: 16px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
}
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row,
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row::before,
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row::after,
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row::before,
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row::after {
    content: none !important;
    display: none !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login :is(input.input-text, input[type="email"], input[type="password"], input[type="text"]),
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login :is(input.input-text, input[type="email"], input[type="password"], input[type="text"]) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    background: #f4f5f6 !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 14px !important;
    line-height: 26px !important;
    box-shadow: none !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row:has(.woocommerce-form-login__rememberme),
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row:has(.woocommerce-form-login__rememberme) {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    margin: 0 !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login .woocommerce-form-login__submit,
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .woocommerce-form-login__submit {
    order: 1;
    float: none !important;
    margin: 0 !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login .woocommerce-form-login__rememberme,
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    order: 2;
    align-items: center !important;
    gap: 8px;
    margin: 0 !important;
    color: var(--ra-text-muted, #5e6e84);
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1.15;
}
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login .woocommerce-form-login__rememberme input,
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .woocommerce-form-login__rememberme input {
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}
body.ra-foundation-body--commerce .ra-commerce-template--checkout form.woocommerce-form-login.login .lost_password,
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .lost_password {
    margin: 14px 0 0 !important;
}

/* v0.8.194 Mobile Orders repair. WooCommerce uses a TH for Order Number,
 * while its surrounding table supplies a second border. Handle both native
 * cell types and let the individual dated cards be the only outlines. */
@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders {
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody :is(th, td) {
        box-sizing: border-box;
        display: grid !important;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        align-items: baseline;
        gap: 12px;
        width: 100% !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat;
        color: var(--ra-text-muted, #5e6e84);
        font-size: 15px !important;
        line-height: 1.4 !important;
        text-align: right !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number {
        order: 2;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number::before {
        content: attr(data-title) !important;
        float: none !important;
        width: auto !important;
        color: var(--ra-text, #303a50);
        font-size: 15px !important;
        font-weight: 700 !important;
        text-align: left !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number a {
        color: var(--ra-primary, #0271ba);
        font-size: 15px !important;
        font-weight: 500 !important;
        text-align: right;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-total {
        font-size: 0 !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-total::before,
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-total :is(.amount, .woocommerce-Price-amount) {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
}

/* v0.8.195 Mobile Order-card geometry.  Keep every detail row on the same
 * white surface, make the date header the deliberate height reference, and
 * remove inherited space before native order actions. */
@media (max-width: 767px) {
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders tbody :is(th, td) {
        min-height: 0 !important;
        padding: 10px 14px !important;
        background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #fff !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-date {
        display: flex !important;
        align-items: center;
        min-height: 52px !important;
        padding: 12px 14px !important;
        background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6 !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-total {
        padding-bottom: 8px !important;
    }
    .ra-commerce-template--account .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
        min-height: 0 !important;
        padding: 8px 14px 14px !important;
        background: #fff !important;
    }
}

/* v0.8.196 Retry Payment mobile contract.  Match the desktop form selector
 * exactly, otherwise its two-column declaration wins by specificity. */
@media (max-width: 980px) {
    .ra-commerce-template--checkout form#order_review.ra-order-pay-form {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* v0.8.205 Canonical Account View Order presentation.  Its table, payment and
 * address rules are copied from the approved confirmation contracts; only
 * the three-column Account composition is endpoint-specific. */
.ra-commerce-template--account .ra-account-order-view { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,2fr) minmax(0,1.5fr); align-items:start; row-gap:12px; column-gap:20px; }
.ra-commerce-template--account .ra-account-order-view__message { grid-column:1 / -1; margin:0; color:var(--ra-text-muted,#5e6e84); font-size:13px; line-height:1.5; }
.ra-commerce-template--account .ra-account-order-view__message p { margin:0; }
.ra-commerce-template--account .ra-account-order-view__actions { grid-column:1; }
.ra-commerce-template--account .ra-account-order-view__details { grid-column:2; min-width:0; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-customer-details { grid-column:3; grid-row:2; min-width:0; width:auto !important; max-width:none !important; float:none !important; margin:0 !important; padding:0 !important; }
.ra-commerce-template--account .ra-account-order-view :is(.ra-order-confirmation__payment-instructions h2,.woocommerce-order-details__title,.woocommerce-customer-details h2) { margin:0 0 7px !important; padding:0 14px !important; color:var(--ra-commerce-rail-heading-color,#0872ba) !important; font-size:var(--ra-commerce-rail-heading-size,16px) !important; line-height:1.2 !important; font-weight:500 !important; }
.ra-commerce-template--account .ra-account-order-view .ra-order-confirmation__payment-card { overflow:hidden; border:1px solid var(--ra-border,#d4dbe3); border-radius:var(--ra-radius-card,18px); background:#fff; }
.ra-commerce-template--account .ra-account-order-view .ra-order-confirmation__payment-summary { margin:0; padding:0; background:linear-gradient(var(--ra-border,#d4dbe3),var(--ra-border,#d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat,#f4f5f6; }
.ra-commerce-template--account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; margin:0; padding:0 !important; list-style:none; background:transparent; }
.ra-commerce-template--account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview li { position:relative; display:grid !important; grid-row:1; align-content:center; gap:5px; box-sizing:border-box; width:auto !important; min-width:0; margin:0 !important; padding:14px !important; border:0 !important; color:var(--ra-text-muted,#5e6e84); font-size:12px !important; line-height:1.3; text-transform:none !important; }
.ra-commerce-template--account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview li:first-child::after { position:absolute; top:14px; right:0; bottom:14px; width:1px; content:''; background:var(--ra-border,#d4dbe3); }
.ra-commerce-template--account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview li strong { display:block; color:var(--ra-text,#303a50); font-size:1.4em !important; line-height:1.5; font-weight:700; }
.ra-commerce-template--account .ra-account-order-view .ra-account-order-view__action-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:14px; }
.ra-commerce-template--account .ra-account-order-view .ra-account-order-view__action-links .button { width:100%; min-width:0; margin:0 !important; text-align:center; }
.ra-commerce-template--account .ra-account-order-view .ra-order-confirmation__summary-card { margin:0; padding:0; border:0; border-radius:0; background:transparent; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table { overflow:hidden; width:100%; margin:0; padding:0; border:1px solid var(--ra-border,#d4dbe3) !important; border-radius:var(--ra-radius-card,18px) !important; border-collapse:separate !important; border-spacing:0; table-layout:fixed; background:#fff !important; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table :is(th,td) { border:0 !important; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table thead tr { background:linear-gradient(var(--ra-border,#d4dbe3),var(--ra-border,#d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat,#f4f5f6; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table thead th { padding:12px 14px; background:transparent; color:var(--ra-text,#303a50); font-size:13px; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table thead th:first-child { width:70%; font-weight:700 !important; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table thead th:last-child { width:30%; text-align:right; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tbody tr,.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tfoot tr { border:0 !important; background:linear-gradient(var(--ra-border,#d4dbe3),var(--ra-border,#d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tbody tr:last-child,.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tfoot tr:last-child { background:none; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tbody td { padding:13px 14px; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table .product-name { width:70%; color:var(--ra-text,#303a50); font-size:13px; line-height:1.4; font-weight:500; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table .product-total { width:30%; padding-right:14px; text-align:right; color:var(--ra-text-muted,#5e6e84); font-size:13px; line-height:1.4; font-weight:400; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table .product-quantity { font-weight:600; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tfoot :is(th,td) { padding:12px 14px !important; color:var(--ra-text,#303a50) !important; font-size:15px !important; line-height:1.4 !important; vertical-align:middle; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tfoot th { width:34%; text-align:left; font-weight:500 !important; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tfoot td { text-align:right; font-weight:700 !important; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tfoot .amount { font-size:15px !important; line-height:1.4 !important; font-weight:700 !important; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-customer-details .woocommerce-columns { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; margin:0 !important; padding:0 !important; border:0 !important; background:transparent !important; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-customer-details .woocommerce-columns::before,.ra-commerce-template--account .ra-account-order-view .woocommerce-customer-details .woocommerce-columns::after { content:none !important; display:none !important; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-customer-details .woocommerce-column { width:auto !important; float:none !important; margin:0 !important; padding:0 !important; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-customer-details address { box-sizing:border-box; width:100%; margin:0; padding:14px; border:1px solid var(--ra-border,#d4dbe3); border-radius:var(--ra-radius-card,18px); background:#fff; color:var(--ra-text,#303a50); font-size:13px; line-height:1.4; font-weight:500; font-style:normal; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-customer-details address :is(.woocommerce-customer-details--email,.woocommerce-customer-details--phone) { margin:0; padding:0; color:inherit; font:inherit; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-customer-details address .woocommerce-customer-details--email { margin-top:24px; }
.ra-commerce-template--account .ra-account-order-view .woocommerce-customer-details address :is(.woocommerce-customer-details--email,.woocommerce-customer-details--phone)::before { content:none !important; display:none !important; }
@media (max-width:980px) { .ra-commerce-template--account .ra-account-order-view { grid-template-columns:minmax(0,1fr); } .ra-commerce-template--account .ra-account-order-view :is(.ra-account-order-view__actions,.ra-account-order-view__details,.woocommerce-customer-details) { grid-column:1; } }
@media (max-width:600px) { .ra-commerce-template--account .ra-account-order-view :is(.woocommerce-columns,.woocommerce-order-overview,.ra-account-order-view__action-links) { grid-template-columns:minmax(0,1fr); } .ra-commerce-template--account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview li:first-child::after { display:none; } .ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table :is(thead th:first-child,td.product-name) { width:60%; } .ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table :is(thead th:last-child,td.product-total) { width:40%; } .ra-commerce-template--account .ra-account-order-view .woocommerce-order-details .shop_table tfoot td { white-space:nowrap; text-align:right; } }

/* v0.8.210 The View Order endpoint is not wrapped by the Divi account shell.
 * Apply the approved three-column composition to its real body scope. */
body.woocommerce-account .ra-account-order-view {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr) minmax(0, 1.5fr);
    align-items: start;
    column-gap: 20px;
    row-gap: 12px;
}
body.woocommerce-account .ra-account-order-view__message {
    grid-column: 1 / -1;
    margin: 0 0 8px;
    color: var(--ra-text-muted, #5e6e84);
    font-size: 13px;
    line-height: 1.5;
}
body.woocommerce-account .ra-account-order-view__message p { margin: 0; }
body.woocommerce-account .ra-account-order-view__actions { grid-column: 1; }
body.woocommerce-account .ra-account-order-view__details { grid-column: 2; min-width: 0; }
body.woocommerce-account .ra-account-order-view .woocommerce-customer-details {
    grid-column: 3;
    grid-row: 2;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.woocommerce-account .ra-account-order-view .ra-order-confirmation__payment-instructions h2 {
    margin: 0 0 7px !important;
    padding: 0 14px !important;
    color: var(--ra-commerce-rail-heading-color, #0872ba) !important;
    font-size: var(--ra-commerce-rail-heading-size, 16px) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}
body.woocommerce-account .ra-account-order-view .ra-order-confirmation__payment-card {
    overflow: hidden;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
}
body.woocommerce-account .ra-account-order-view .ra-order-confirmation__payment-summary {
    margin: 0;
    padding: 0;
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6;
}
body.woocommerce-account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: 0;
    padding: 0 !important;
    list-style: none;
    background: transparent;
}
body.woocommerce-account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview li {
    position: relative;
    display: grid !important;
    grid-row: 1;
    align-content: center;
    gap: 5px;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 14px !important;
    border: 0 !important;
    color: var(--ra-text-muted, #5e6e84);
    font-size: 12px !important;
    line-height: 1.3;
    text-transform: none !important;
}
body.woocommerce-account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview li:first-child::after {
    position: absolute;
    top: 14px;
    right: 0;
    bottom: 14px;
    width: 1px;
    content: '';
    background: var(--ra-border, #d4dbe3);
}
body.woocommerce-account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview li strong {
    display: block;
    color: var(--ra-text, #303a50);
    font-size: 1.4em !important;
    line-height: 1.5;
    font-weight: 700;
}
body.woocommerce-account .ra-account-order-view .ra-account-order-view__action-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
}
body.woocommerce-account .ra-account-order-view .ra-account-order-view__action-links .button {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    text-align: center;
}

/* v0.8.209 View Order uses the same rendered table class as the approved
 * BACS confirmation preview.  Keep one direct, complete contract here:
 * no generic shop-table path and no second border source. */
body.woocommerce-account .ra-account-order-view .ra-order-confirmation__summary-card {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card {
    overflow: hidden;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: var(--ra-radius-card, 18px) !important;
    border-spacing: 0;
    border-collapse: separate !important;
    table-layout: fixed;
    background: #fff !important;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card :is(th, td) {
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card thead tr {
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card thead th {
    padding: 12px 14px !important;
    background: transparent !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 13px !important;
    line-height: normal !important;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card thead th:first-child {
    width: 70%;
    font-weight: 700 !important;
    text-align: left;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card thead th:last-child {
    width: 30%;
    font-weight: 700 !important;
    text-align: right;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tbody tr,
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tfoot tr {
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tbody tr:last-child,
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tfoot tr:last-child {
    background: none;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tbody td {
    padding: 13px 14px !important;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tbody .product-name {
    width: 70%;
    color: var(--ra-text, #303a50) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    text-align: left;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tbody .product-total {
    width: 30%;
    padding-right: 14px !important;
    color: var(--ra-text-muted, #5e6e84) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    text-align: right;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card .product-quantity {
    font-weight: 600 !important;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tfoot :is(th, td) {
    padding: 12px 14px !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    vertical-align: middle;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tfoot th {
    width: 34%;
    font-weight: 500 !important;
    text-align: left;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tfoot td,
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tfoot .amount {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    text-align: right;
}
body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tfoot .order-total :is(th, td, strong) {
    font-weight: 700 !important;
}
@media (max-width: 980px) {
    body.woocommerce-account .ra-account-order-view {
        grid-template-columns: minmax(0, 1fr);
    }
    body.woocommerce-account .ra-account-order-view__message,
    body.woocommerce-account .ra-account-order-view__actions,
    body.woocommerce-account .ra-account-order-view__details,
    body.woocommerce-account .ra-account-order-view .woocommerce-customer-details {
        grid-column: 1;
    }
    body.woocommerce-account .ra-account-order-view__actions { grid-row: 2; }
    body.woocommerce-account .ra-account-order-view__details { grid-row: 3; }
    body.woocommerce-account .ra-account-order-view .woocommerce-customer-details { grid-row: 4; }
}
@media (max-width: 600px) {
    /* The original account mobile rule hides this.  View Order retains the
       approved, inset divider between Order Number and Amount Due. */
    body.woocommerce-account .ra-account-order-view .ra-order-confirmation__payment-summary .woocommerce-order-overview li:first-child::after {
        display: block !important;
    }
    body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card :is(thead th:first-child, td.product-name) { width: 60%; }
    body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card :is(thead th:last-child, td.product-total) { width: 40%; }
    body.woocommerce-account .ra-account-order-view .ra-checkout-order-items-card tfoot td { white-space: nowrap; text-align: right; }
}
@media (max-width: 767px) {
    body.woocommerce-account .woocommerce-MyAccount-content > h2:first-child {
        font-size: 22px !important;
        line-height: 1.2 !important;
    }
}

/* v0.8.213 Account addresses: use the same field and card geometry as the
 * approved checkout/account forms.  Woo's native float columns are disabled
 * only in this endpoint. */
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > p:first-child {
    margin: 0 !important;
    padding: 0 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-addresses-gap {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
}
/* Divi's global Woo clearfix is still emitted on this native wrapper and
 * header. In a CSS grid, its generated boxes become extra cells and split the
 * cards/heading. Remove only those generated boxes in the managed endpoint. */
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses::before,
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses::after,
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses .woocommerce-Address-title::before,
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses .woocommerce-Address-title::after {
    content: none !important;
    display: none !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses > :is(.col-1, .col-2, .woocommerce-Address) {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses .woocommerce-Address {
    box-sizing: border-box;
    min-width: 0;
    padding: 18px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: var(--ra-radius-card, 18px) !important;
    background: #fff !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses .woocommerce-Address-title {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px !important;
    padding: 0 !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses .woocommerce-Address-title h2,
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses .woocommerce-Address-title h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ra-commerce-rail-heading-color, #0872ba) !important;
    font-size: var(--ra-commerce-rail-heading-size, 16px) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    text-align: left !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses .woocommerce-Address-title .edit {
    float: none !important;
    margin: 0 !important;
    color: var(--ra-primary, #0271ba) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses address {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-style: normal;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > :is(form.edit-account, form.woocommerce-EditAccountForm, form.woocommerce-address-fields) {
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: var(--ra-radius-card, 18px) !important;
    background: #fff !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > :is(form.edit-account, form.woocommerce-EditAccountForm, form.woocommerce-address-fields) :is(input.input-text, input[type="email"], input[type="password"], input[type="text"], input[type="tel"], textarea, select, .select2-container, .select2-selection--single) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    min-height: 46px !important;
    padding: 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    background: #f4f5f6 !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 14px !important;
    line-height: 26px !important;
    box-shadow: none !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > :is(form.edit-account, form.woocommerce-EditAccountForm, form.woocommerce-address-fields) textarea {
    min-height: 110px !important;
    line-height: 1.45 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor {
    box-sizing: border-box;
    width: 100%;
    margin: 18px 0 0;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid var(--ra-border, #d4dbe3);
    border-radius: 0;
    background: transparent;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor[hidden] {
    display: none !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor__title {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: var(--ra-commerce-rail-heading-color, #0872ba) !important;
    font-size: var(--ra-commerce-rail-heading-size, 16px) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor__heading h4 {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ra-commerce-rail-heading-color, #0872ba) !important;
    font-size: var(--ra-commerce-rail-heading-size, 16px) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor form.edit-account,
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor form.woocommerce-EditAccountForm,
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor form {
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .woocommerce-address-fields,
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .woocommerce-address-fields__field-wrapper {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor.is-saving {
    opacity: .65;
    pointer-events: none;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor [name="billing_state"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 42px !important;
    background-color: #f4f5f6 !important;
    background-image: linear-gradient(45deg, transparent 50%, #5e6e84 50%), linear-gradient(135deg, #5e6e84 50%, transparent 50%) !important;
    background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
}
body.woocommerce-account .ra-commerce-template--account .form-row:has([name="billing_state"]) .select2-container {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
body.woocommerce-account .ra-commerce-template--account .form-row:has([name="billing_state"]) .select2-selection--single {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 9px 42px 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    background: #f4f5f6 !important;
}
body.woocommerce-account .ra-commerce-template--account .form-row:has([name="billing_state"]) .select2-selection__rendered {
    padding: 0 !important;
    color: var(--ra-text, #303a50) !important;
    line-height: 26px !important;
}
body.woocommerce-account .ra-commerce-template--account .form-row:has([name="billing_state"]) .select2-selection__arrow {
    top: 0 !important;
    right: 8px !important;
    height: 44px !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor [name="save_address"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor [name="save_address"] .ra-button__spinner {
    display: inline-block !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    border: 0 solid rgba(255, 255, 255, .45) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    animation: ra-button-spin .7s linear infinite;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > form [name="save_address"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > form [name="save_address"] .ra-button__spinner {
    display: inline-block !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    border: 0 solid rgba(255, 255, 255, .45) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    animation: ra-button-spin .7s linear infinite;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > form [name="save_address"].is-loading .ra-button__spinner {
    flex-basis: 12px !important;
    width: 12px !important;
    height: 12px !important;
    margin-right: 7px !important;
    border-width: 2px !important;
    opacity: 1 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor [name="save_address"].is-loading .ra-button__spinner {
    flex-basis: 12px !important;
    width: 12px !important;
    height: 12px !important;
    margin-right: 7px !important;
    border-width: 2px !important;
    opacity: 1 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor [name="save_address"].is-loading {
    cursor: progress !important;
}
@keyframes ra-button-spin {
    to { transform: rotate(360deg); }
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor__error {
    margin: 0 0 16px !important;
}
/* Direct edit-address routes remain a complete, styled fallback if reached
 * outside the managed Addresses view. */
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > form.woocommerce-address-fields,
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > form:not(.edit-account):has([name="save_address"]) {
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: var(--ra-radius-card, 18px) !important;
    background: #fff !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > form:has([name="save_address"]) .form-row {
    margin: 0 0 16px !important;
    padding: 0 !important;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-MyAccount-content > form:has([name="save_address"]) :is(input.input-text, input[type="email"], input[type="text"], input[type="tel"], select, textarea) {
    box-sizing: border-box;
    width: 100% !important;
    min-height: 46px !important;
    padding: 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    background: #f4f5f6 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .form-row {
    float: none !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor :is(.form-row-first, .form-row-last) {
    width: calc(50% - 8px) !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .form-row-first { float: left !important; }
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .form-row-last { float: right !important; }
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .clear {
    clear: both !important;
    display: block !important;
    height: 0 !important;
    margin: 0 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .form-row::before,
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .form-row::after {
    content: none !important;
    display: none !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .form-row label {
    display: block;
    margin: 0 0 6px !important;
    color: var(--ra-text-muted, #5e6e84) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .ra-account-same-delivery {
    margin: 0 0 18px !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .ra-account-same-delivery label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: var(--ra-text, #303a50) !important;
    cursor: pointer;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .ra-account-same-delivery input {
    width: 18px !important;
    min-height: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--ra-primary, #0271ba);
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .form-row.is-ra-address-linked {
    opacity: .58;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor :is(input.input-text, input[type="email"], input[type="password"], input[type="text"], input[type="tel"], textarea, select, .select2-container, .select2-selection--single) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    min-height: 46px !important;
    padding: 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    background: #f4f5f6 !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 14px !important;
    line-height: 26px !important;
    box-shadow: none !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor textarea {
    min-height: 110px !important;
    line-height: 1.45 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor .button,
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor__cancel {
    min-height: 40px !important;
    margin: 0 10px 0 0 !important;
}
body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor__cancel {
    padding: 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--ra-text, #303a50) !important;
    font: inherit;
    cursor: pointer;
}
body.woocommerce-account .ra-commerce-template--account .woocommerce-Address-title .edit.is-loading {
    pointer-events: none;
    opacity: .6;
}
@media (max-width: 767px) {
    body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }
    body.woocommerce-account .ra-commerce-template--account .woocommerce-Addresses .woocommerce-Address {
        padding: 14px !important;
    }
    body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor {
        margin-top: 14px;
        padding-top: 14px;
    }
    body.woocommerce-account .ra-commerce-template--account .ra-account-inline-address-editor :is(.form-row-first, .form-row-last) {
        float: none !important;
        width: 100% !important;
    }
}

/* The protected Order Pay login gate uses WooCommerce's native form and
 * authentication flow.  Give it the already-approved Account Login contract:
 * one compact card, fields in reading order, and an aligned action/remember row. */
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login {
    box-sizing: border-box;
    width: min(100%, 700px);
    max-width: 700px;
    margin: 0 !important;
    padding: 16px;
    border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px);
    background: #fff;
}
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row::before,
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row::after {
    content: none !important;
    display: none !important;
}
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login :is(input.input-text, input[type="email"], input[type="password"], input[type="text"]) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important;
    background: #f4f5f6 !important;
    color: var(--ra-text, #303a50) !important;
    font-size: 14px !important;
    line-height: 26px !important;
    box-shadow: none !important;
}
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .form-row:has(.woocommerce-form-login__rememberme) {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    margin: 0 !important;
}
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .woocommerce-form-login__submit {
    order: 1;
    float: none !important;
    margin: 0 !important;
}
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    order: 2;
    align-items: center !important;
    gap: 8px;
    margin: 0 !important;
    color: var(--ra-text-muted, #5e6e84);
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1.15;
}
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .woocommerce-form-login__rememberme input {
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}
body.woocommerce-order-pay .ra-commerce-template--checkout form.woocommerce-form-login.login .lost_password {
    margin: 14px 0 0 !important;
}

/* Request a Quote: native YITH actions in the existing Cart visual system. */
.ra-request-quote-page {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
.ra-request-quote-page__inner { box-sizing: border-box; min-width: 0; max-width: 100%; }
.ra-request-quote-page--populated .ra-commerce-template__title { margin: 0 0 20px; }
.ra-request-quote-page--populated .woocommerce.ywraq-wrapper {
    display: block !important;
    width: 100%;
    min-width: 0;
}
.ra-request-quote-page--populated .yith-ywraq-before-table,
.ra-request-quote-page--populated .return_to_shop_url { display: none !important; }
.ra-request-quote-page--populated .ywraq-form-table-wrapper.wide {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
    align-items: start;
    gap: clamp(12px, 1.3vw, 20px);
    overflow: visible;
    width: 100%;
}
.ra-request-quote-page--populated .ywraq-form-table-wrapper.wide > * { min-width: 0; width: 100%; }
.ra-request-quote-page--populated .ra-quote-list-column { display: grid; align-content: start; gap: clamp(12px, 1.3vw, 20px); }
.ra-request-quote-page--populated .ra-quote-recipient-column { display: grid; align-content: start; gap: 18px; min-width: 0; }
.ra-request-quote-page--populated .ra-quote-total-section .cart-subtotal td.raq-totals { padding: 0 !important; }
.ra-request-quote-page--populated .ywraq-form-table-wrapper.wide .ywraq-before-form { min-width: 0; }
.ra-request-quote-page--populated .ywraq-form-table-wrapper.wide form#yith-ywraq-form {
    display: block; width: 100%; max-width: none; margin: 0 !important;
    padding: 0; border: 1px solid var(--ra-border, #d4dbe3);
    border-radius: var(--ra-radius-card, 18px); background: #fff; overflow: hidden;
    min-height: 0 !important; height: auto !important;
}
.ra-request-quote-page--populated #yith-ywrq-table-list { width: 100%; margin: 0 !important; border: 0; border-collapse: collapse; }
.ra-request-quote-page--populated #yith-ywrq-table-list thead tr { background: #f4f5f6; }
.ra-request-quote-page--populated #yith-ywrq-table-list thead th { padding: 16px 14px; color: var(--ra-text, #303a50); font-size: 13px; font-weight: 700; }
.ra-request-quote-page--populated #yith-ywrq-table-list tbody tr.cart_item td { padding: 18px 14px; border-bottom: 1px solid var(--ra-border, #d4dbe3); }
.ra-request-quote-page--populated #yith-ywrq-table-list :is(th, td).product-name { width: auto; }
.ra-request-quote-page--populated #yith-ywrq-table-list .raq-totals-label,
.ra-request-quote-page--populated #yith-ywrq-table-list .raq-totals { padding: 16px 20px; border-top: 1px solid var(--ra-border, #d4dbe3); background: #f4f5f6; color: var(--ra-text, #303a50); font-weight: 700; }
.ra-request-quote-page--populated #yith-ywrq-table-list .raq-totals { text-align: right; }
.ra-request-quote-page--populated #yith-ywrq-table-list .mobile-price { display: none; }
.ra-request-quote-page--populated .update-list-wrapper {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    padding: 18px 20px; background: #f8f9fb;
    margin: 0 !important;
}
.ra-request-quote-page--populated .update-list-wrapper .after-table-right { display: flex; flex-wrap: wrap; gap: 10px; }
.ra-request-quote-page--populated .update-list-wrapper [name="update_raq"] { margin-left: auto !important; }
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper [name="update_raq"],
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper [name="update_raq"]:hover,
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper [name="update_raq"]:focus-visible,
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper .ywraq_clean_list,
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper .ywraq_clean_list:hover,
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper .ywraq_clean_list:focus-visible ,
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper .ra-quote-continue-shopping,
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper .ra-quote-continue-shopping:hover,
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper .ra-quote-continue-shopping:focus-visible {
    box-sizing: border-box !important;
    min-height: 42px !important;
    padding: 8px 26px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
}
.ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper [name="update_raq"]:disabled {
    background: #d9dee5 !important;
    color: #7f8b9c !important;
    cursor: not-allowed !important;
}
.ra-request-quote-page--populated .ywraq_clean_list { background: #fff !important; color: var(--ra-primary, #0271ba) !important; border: 1px solid var(--ra-primary, #0271ba) !important; }
.ra-request-quote-page--populated .ywraq_clean_list:hover { background: #eef6fc !important; color: var(--ra-primary, #0271ba) !important; }
.ra-request-quote-page--populated .ywraq-form-table-wrapper.wide .yith-ywraq-mail-form-wrapper {
    box-sizing: border-box; width: 100%; max-width: none; margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--ra-border, #d4dbe3); border-radius: var(--ra-radius-card, 18px); background: #fff;
}
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper #yith-ywraq-default-form {
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 16px !important;
}
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper > h3 { display: none; }
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper .form-row,
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper .form-row.form-row-wide {
    box-sizing: border-box; margin: 0 0 8px !important; padding: 0 !important;
}
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper .form-row label {
    display: block; margin: 0 0 4px !important; padding: 0 !important; color: var(--ra-text-muted, #5e6e84) !important;
    font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important;
}
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper :is(input.input-text, input[type="email"], input[type="text"], input[type="tel"], select, .select2-selection--single) {
    box-sizing: border-box; width: 100% !important; max-width: none !important;
    height: 46px !important; min-height: 46px !important; padding: 9px 14px !important;
    border: 1px solid var(--ra-border, #d4dbe3) !important; border-radius: 10px !important;
    background: #f4f5f6 !important; color: var(--ra-text, #303a50) !important;
    font-size: 14px !important; line-height: 26px !important; box-shadow: none !important;
}
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper textarea {
    box-sizing: border-box; width: 100% !important; min-height: 110px !important;
    padding: 12px 14px !important; border: 1px solid var(--ra-border, #d4dbe3) !important;
    border-radius: 10px !important; background: #f4f5f6 !important;
    color: var(--ra-text, #303a50) !important; font-size: 14px !important;
    line-height: 1.45 !important; box-shadow: none !important;
}
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper .select2-selection__rendered {
    padding: 0 !important;
    color: var(--ra-text, #303a50) !important;
    line-height: 26px !important;
}
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper .select2-container {
    box-sizing: border-box; width: 100% !important; max-width: 100% !important; min-width: 0;
}
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper .select2-selection__arrow {
    top: 0 !important; right: 8px !important; height: 44px !important;
}
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper .form-row.raq-send-request-row { margin: 0 !important; padding: 0 !important; }
.ra-request-quote-page--populated .yith-ywraq-mail-form-wrapper :is(button[type="submit"], input[type="submit"]) { display: block; width: 100%; margin: 0 !important; }
.ra-request-quote-page--populated .ra-request-quote-page__credibility-placement { width: 100%; }
.ra-request-quote-page--populated .ra-commerce-template__credibility { width: 100%; margin: 0; }
.ra-request-quote-page--populated .ra-request-quote-page__lifestyle--populated {
    width: 100%; margin-top: clamp(24px, 3vw, 42px);
}
@media (max-width: 980px) {
    .ra-request-quote-page--populated .ywraq-form-table-wrapper.wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .ra-request-quote-page--populated #yith-ywrq-table-list thead { display: none; }
    /* Match mobile Orders cards: 14px gutters and inset one-pixel dividers. */
    .ra-request-quote-page--populated .ywraq-form-table-wrapper.wide form#yith-ywraq-form {
        border: 0; border-radius: 0; background: transparent; overflow: visible;
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody { display: grid !important; gap: 14px; }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item {
        position: relative;
        display: grid !important;
        grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
        grid-template-rows: auto auto auto auto;
        align-items: center;
        overflow: hidden;
        padding: 0 !important;
        border: 1px solid var(--ra-border, #d4dbe3) !important;
        border-radius: var(--ra-radius-card, 18px) !important;
        background: #fff !important;
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item > td {
        box-sizing: border-box; display: block !important; min-width: 0; width: 100% !important;
        margin: 0 !important; padding: 12px 14px !important; border: 0 !important;
        background: transparent; line-height: 1.4;
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item > td::before { content: none !important; }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item > td.product-name {
        grid-column: 1 / -1; grid-row: 1;
        padding-right: 54px !important;
        color: var(--ra-text, #303a50); font-size: 16px !important; font-weight: 500;
        text-align: left !important;
        background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat, #f4f5f6 !important;
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) .product-name small {
        display: block; margin-top: 4px; font-size: 12px !important; line-height: 1.4; font-weight: 400;
        color: var(--ra-text-muted, #5e6e84);
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) .product-name > a > br:has(+ small),
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) .product-name > br:has(+ small) { display: none; }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item > td.product-remove {
        position: absolute; top: 12px; right: 14px; width: 28px !important; padding: 0 !important; z-index: 2;
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) .product-remove a.remove { margin: 0 !important; }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item > td.product-thumbnail {
        grid-column: 1; grid-row: 2 / 5; align-self: stretch; position: relative; min-height: 0;
    }
    /* Shared product-card crop: the media stage sets the height, not the square source. */
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) .product-thumbnail img {
        position: absolute; inset: 0;
        width: 100% !important; height: 100% !important;
        max-width: none !important; max-height: none !important;
        margin: 0 !important; object-fit: cover !important; object-position: center !important;
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) .product-thumbnail > a {
        display: block; position: absolute; inset: 12px 14px; overflow: hidden;
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) .product-thumbnail > img {
        inset: 12px 14px; width: calc(100% - 28px) !important; height: calc(100% - 24px) !important;
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item > :is(td.product-price, td.product-quantity, td.product-subtotal) {
        grid-column: 2; text-align: right !important; color: var(--ra-text-muted, #5e6e84);
        font-size: 15px !important;
        background: linear-gradient(var(--ra-border, #d4dbe3), var(--ra-border, #d4dbe3)) center bottom / calc(100% - 28px) 1px no-repeat !important;
    }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item > td.product-price { grid-row: 2; padding-top: 24px !important; }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item > td.product-quantity { grid-row: 3; }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) tbody tr.cart_item > td.product-subtotal { grid-row: 4; padding-bottom: 24px !important; background: none !important; }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) .product-quantity .quantity { margin: 0 0 0 auto !important; }
    :is(.ra-request-quote-page--populated #yith-ywrq-table-list, .ra-commerce-template--cart .woocommerce-cart-form__contents) .mobile-price { display: none !important; }
    .ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper {
        display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 16px 14px;
        margin-top: 14px !important; border: 1px solid var(--ra-border, #d4dbe3); border-radius: var(--ra-radius-card, 18px);
    }
    .ra-request-quote-page--populated .update-list-wrapper .after-table-right { min-width: 0; }
    .ra-request-quote-page--populated .update-list-wrapper .ywraq_clean_list { white-space: nowrap; }
    .ra-request-quote-page--populated .ra-quote-total-section .cart-subtotal td::before { content: none !important; display: none !important; }
    .ra-request-quote-page--populated #yith-ywrq-table-list .raq-totals-row { display: none; }
    .ra-request-quote-page--populated #yith-ywrq-table-list .raq-totals-label,
    .ra-request-quote-page--populated #yith-ywrq-table-list .raq-totals { display: block; width: 100%; box-sizing: border-box; text-align: right; }
    .ra-request-quote-page--populated .update-list-wrapper [name="update_raq"] { width: 100%; margin-left: 0 !important; }
}

/* Cart uses the same mobile item cards as Request Quote above. */
.ra-commerce-template--cart .ra-cart-item-sku,
.ra-request-quote-page--populated #yith-ywrq-table-list .product-name small {
    display: block; margin-top: 4px; font-size: 12px !important; line-height: 1.4; font-weight: 400;
    color: var(--ra-text-muted, #5e6e84);
}
.ra-request-quote-page--populated #yith-ywrq-table-list .product-name br:has(+ small) { display: none; }
@media (max-width: 767px) {
    .ra-commerce-template--cart .woocommerce-cart-form,
    .ra-commerce-template--cart table.woocommerce-cart-form__contents {
        border: 0 !important; border-radius: 0; background: transparent; overflow: visible;
    }
    .ra-commerce-template--cart table.woocommerce-cart-form__contents { margin: 0; }
    .ra-commerce-template--cart .woocommerce-cart-form__contents tbody > tr:not(.cart_item) {
        border: 1px solid var(--ra-border, #d4dbe3); border-radius: var(--ra-radius-card, 18px);
        overflow: hidden; background: #f7f8fa;
    }
    .ra-commerce-template--cart .woocommerce-cart-form__contents td.actions {
        margin: 0; background: transparent !important;
    }
    .ra-commerce-template--cart .woocommerce-cart-form__contents td.actions::before { content: none !important; }
}

/* Compact mobile Cart actions; neutralise Woo/Divi floats and clearfix grid cells. */
@media (max-width: 767px) {
    .ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions {
        display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 10px;
        padding: 12px 14px !important; margin: 0 !important;
    }
    .ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions .coupon {
        display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
        float: none !important; width: 100%; min-width: 0; padding: 0 !important; margin: 0 !important;
    }
    .ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions::after,
    .ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions .coupon::before,
    .ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions .coupon::after {
        content: none !important; display: none !important;
    }
    .ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions .coupon #coupon_code {
        box-sizing: border-box; width: 100% !important; min-width: 0; max-width: 100%;
        float: none !important; margin: 0 !important; height: 42px !important;
    }
    .ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions .coupon .button {
        width: 100% !important; min-width: 0; float: none !important; margin: 0 !important; white-space: nowrap !important;
    }
    .ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions > .button {
        width: 100% !important; float: none !important; margin: 0 !important;
    }
}

/* Cart action padding is shared across all states, including Divi hover rules. */
.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions :is(button[name="apply_coupon"], button[name="update_cart"]),
.ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart td.actions :is(button[name="apply_coupon"], button[name="update_cart"]):is(:hover, :focus, :focus-visible, :active, :disabled) {
    padding: 8px 26px !important;
    height: 42px !important;
    min-height: 42px !important;
    white-space: nowrap !important;
}
@media (max-width: 767px) {
    /* Divi pads the TR separately below 479px; the TD already owns the inset. */
    .ra-foundation-body--commerce .ra-commerce-template--cart .woocommerce table.cart.woocommerce-cart-form__contents tbody > tr:not(.cart_item) {
        padding: 0 !important;
    }
}

/* Compact desktop quote columns reserve the remaining width for the product name. */
@media (min-width: 768px) {
    .ra-request-quote-page--populated #yith-ywrq-table-list { table-layout: fixed; }
    .ra-request-quote-page--populated #yith-ywrq-table-list :is(th, td).product-remove { width: 44px; }
    .ra-request-quote-page--populated #yith-ywrq-table-list :is(th, td).product-thumbnail { width: 104px; padding-left: 0 !important; padding-right: 0 !important; }
    .ra-request-quote-page--populated #yith-ywrq-table-list :is(th, td).product-name { width: auto; }
    .ra-request-quote-page--populated #yith-ywrq-table-list :is(th, td).product-price { width: 108px; padding-left: 10px !important; padding-right: 10px !important; }
    .ra-request-quote-page--populated #yith-ywrq-table-list :is(th, td).product-quantity { width: 114px; padding-left: 10px !important; padding-right: 10px !important; }
    .ra-request-quote-page--populated #yith-ywrq-table-list :is(th, td).product-subtotal { width: 118px; padding-left: 10px !important; padding-right: 14px !important; }
}

/* Request Quote: Cart heading alignment and the shared in-button loading ring. */
.ra-request-quote-page--populated #yith-ywrq-table-list th.product-price { text-align: left !important; }
.ra-request-quote-page--populated #yith-ywrq-table-list th.product-quantity { text-align: center !important; }
.ra-request-quote-page--populated .ra-quote-submit-control { display: block; position: relative; width: 100%; margin: 0; padding: 0; }
.ra-request-quote-page--populated .ra-quote-submit-control .ywraq-loader { display: none !important; }
/* Override the shared spinner's !important collapsed defaults. The quote uses
 * YITH's original input inside this wrapper, rather than a .ra-button parent. */
.ra-request-quote-page--populated .ra-quote-submit-control .ra-button__spinner {
    display: none !important; position: absolute; z-index: 1; right: auto; left: calc(50% - var(--ra-quote-spinner-offset, 93px)); top: 50%;
    margin: -8px 0 0 !important; padding: 0 !important;
    box-sizing: content-box !important; width: 12px !important; height: 12px !important; pointer-events: none;
    border: 2px solid rgba(255, 255, 255, .45) !important; border-top-color: #fff !important; border-radius: 50% !important;
    opacity: 0 !important; transition: none !important;
    animation: ra-cart-button-spin .7s linear infinite;
}
.ra-request-quote-page--populated .ra-quote-submit-control.is-loading .ra-button__spinner {
    display: block !important; opacity: 1 !important;
}

/* View Quote shares View Order's layout, cards, controls and table contract. */
body.woocommerce-account .ra-account-quote-view .product-name-item { display: block; float: none; width: auto; margin: 0; padding: 0; }
body.woocommerce-account .ra-account-quote-view .ra-quote-item-sku { display: block; font-size: 12px; font-weight: 400; }
body.woocommerce-account .ra-account-quote-view .woocommerce-customer-details address p { margin: 0 0 8px; padding: 0; }
body.woocommerce-account .ra-account-quote-view .woocommerce-customer-details address p:last-child { margin-bottom: 0; }
body.woocommerce-account .ra-account-quote-view .ra-quote-admin-message { margin-top: 20px; }
body.woocommerce-account .ra-account-quote-view .ra-quote-no-prices :is(thead th:first-child, tbody td.product-name) { width: 100% !important; text-align: left !important; }
body.woocommerce-account .ra-account-quote-view .ra-account-order-view__action-links:empty { display: none; }
body.woocommerce-account .ra-account-quote-view table.ra-checkout-order-items-card { padding: 0 !important; }
body.woocommerce-account .ra-account-quote-view table.ra-checkout-order-items-card .product-name { display: table-cell !important; }
body.woocommerce-account .ra-account-quote-view table.ra-checkout-order-items-card thead th.product-total { width: 30% !important; }
@media (max-width: 980px) {
    body.woocommerce-account .ra-account-quote-view table.ra-checkout-order-items-card thead th.product-total { width: 40% !important; }
}

/* Newly submitted quotes: highlight the status and acknowledgement card only.
 * The second message paragraph contains quote number, date, then status. */
body.woocommerce-account .ra-account-quote-view.ywraq-status-ywraq-new > .ra-account-order-view__message > p:nth-child(2) > strong:last-of-type {
    color: #ff0066 !important;
}
body.woocommerce-account .ra-account-quote-view.ywraq-status-ywraq-new .ra-quote-admin-message > address.message-content {
    border-color: #ff0066 !important;
    background: #fef7fa !important;
}

/* Empty Cart uses the whole body shell, including native final-item AJAX updates. */
.ra-commerce-template--cart > .ra-shell:has(.ra-cart-empty-builder) {
    grid-template-columns: minmax(0, 1fr);
}
.ra-commerce-template--cart > .ra-shell:has(.ra-cart-empty-builder) > .ra-cart-left-column {
    grid-column: 1 / -1;
}
.ra-commerce-template--cart .woocommerce:has(> .ra-cart-empty-builder) {
    display: block;
    min-width: 0;
    width: 100%;
}
.ra-cart-empty-builder {
    display: grid;
    gap: clamp(26px, 4vw, 54px);
    width: 100%;
    min-width: 0;
}
.ra-cart-empty-builder__lifestyle { min-width: 0; }
.ra-cart-empty-builder .ra-featured-lifestyle {
    box-sizing: border-box;
    padding-inline: 0;
}

/* Give the empty Cart introduction room below its notice bar. */
.ra-commerce-template--cart .ra-cart-left-column > .woocommerce:has(> .ra-cart-empty-builder) .cart-empty {
    margin-bottom: 32px !important;
}

/* Quote continuation shares the existing action-button dimensions. */
.ra-request-quote-page--populated .ra-quote-continue-shopping {
    display: inline-flex; align-items: center; justify-content: center;
    white-space: nowrap; text-decoration: none;
}
@media (max-width: 767px) {
    .ra-request-quote-page--populated .update-list-wrapper:has(.ra-quote-continue-shopping) .after-table-right {
        grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px;
    }
    .ra-request-quote-page--populated #yith-ywraq-form .update-list-wrapper:has(.ra-quote-continue-shopping) .after-table-right > .button {
        flex: 1 1 auto; padding-inline: 12px !important;
    }
    .ra-request-quote-page--populated .update-list-wrapper:has(.ra-quote-continue-shopping) [name="update_raq"] {
        grid-column: 1 / -1;
    }
}
