/**
 * Standard Checkout compatibility fixes for the Serepok client theme.
 *
 * Serepok makes Bootstrap modal dialogs flex containers with zero margins.
 * The order form's remove/empty-cart dialogs therefore render at the
 * top-left unless the modal itself supplies the viewport centering context.
 */

#order-standard-checkout .modal-remove-item.show,
#order-standard-checkout .modal-remove-item.in {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/**
 * Marketing opt-in accessibility cleanup.
 *
 * Bootstrap Switch keeps the original checkbox inside its generated wrapper.
 * The legacy checkbox is visually painted by the browser in some dark-mode
 * combinations (including a stray checked mark over the switch). Keep the
 * native control available to the plugin and assistive technology, but clip
 * it from the visual layer so the switch is the only rendered control.
 */
#order-standard-checkout .marketing-email-optin > input[type="checkbox"],
#order-standard-checkout .marketing-email-optin .bootstrap-switch input[type="checkbox"],
#order-standard-checkout .marketing-email-optin .iCheck-helper {
    position: absolute !important;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    max-height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

#order-standard-checkout .marketing-email-optin .iCheck-helper {
    display: none !important;
}

body.dark-mode #order-standard-checkout .marketing-email-optin .bootstrap-switch {
    border-color: #52647d !important;
    background: #243249 !important;
}

body.dark-mode #order-standard-checkout .marketing-email-optin .bootstrap-switch .bootstrap-switch-container,
body.dark-mode #order-standard-checkout .marketing-email-optin .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container {
    background: #243249 !important;
}

body.dark-mode #order-standard-checkout .marketing-email-optin .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container {
    background: #168b61 !important;
}

body.dark-mode #order-standard-checkout .marketing-email-optin .bootstrap-switch-label::after {
    background: #f8fafc !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .38) !important;
}

#order-standard-checkout .modal-remove-item .modal-dialog,
#order-standard-checkout .modal-remove-item.fade .modal-dialog,
#order-standard-checkout .modal-remove-item.show .modal-dialog,
#order-standard-checkout .modal-remove-item.in .modal-dialog {
    display: block !important;
    width: 100% !important;
    max-width: 460px !important;
    min-height: 0 !important;
    margin: auto !important;
    transform: none !important;
}

#order-standard-checkout .modal-remove-item .modal-content {
    display: flex !important;
    overflow: hidden;
    flex-direction: column;
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: #14233b !important;
    box-shadow: 0 28px 80px rgba(8, 22, 46, 0.28) !important;
}

#order-standard-checkout .modal-remove-item .modal-body {
    position: relative;
    padding: 28px 28px 24px !important;
    border: 0 !important;
    background: #ffffff !important;
    color: #5f6f83 !important;
    text-align: center !important;
    font-size: 15px;
    line-height: 1.55;
}

#order-standard-checkout .modal-remove-item .modal-body > .float-right {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    float: none !important;
}

#order-standard-checkout .modal-remove-item .close {
    display: inline-flex !important;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px;
    background: #f1f5fa !important;
    color: #67778c !important;
    font-size: 23px;
    line-height: 1;
    opacity: 1 !important;
}

#order-standard-checkout .modal-remove-item .close:hover,
#order-standard-checkout .modal-remove-item .close:focus {
    background: #e8f0ff !important;
    color: #1768f2 !important;
}

#order-standard-checkout .modal-remove-item .modal-title {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 42px 14px !important;
    color: #173654 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.25;
}

#order-standard-checkout .modal-remove-item .modal-title i {
    display: block;
    padding: 0 !important;
    color: #1768f2;
    font-size: 34px !important;
    line-height: 1;
}

#order-standard-checkout .modal-remove-item .modal-footer {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    gap: 10px;
    padding: 18px 24px 24px !important;
    border: 0 !important;
    border-top: 1px solid #e2e9f2 !important;
    background: #f7f9fc !important;
}

#order-standard-checkout .modal-remove-item .modal-footer::before,
#order-standard-checkout .modal-remove-item .modal-footer::after {
    display: none !important;
}

#order-standard-checkout .modal-remove-item .modal-footer .btn {
    display: inline-flex;
    min-width: 96px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 10px 18px;
    border-radius: 10px !important;
    font-weight: 700;
}

#order-standard-checkout .modal-remove-item .modal-footer .btn-default {
    border: 1px solid #d3deeb !important;
    background: #ffffff !important;
    color: #26384f !important;
}

#order-standard-checkout .modal-remove-item .modal-footer .btn-primary {
    border-color: #1768f2 !important;
    background: linear-gradient(135deg, #2f80ff, #1557df) !important;
    color: #ffffff !important;
}

body.dark-mode #order-standard-checkout .modal-remove-item .modal-content,
body.dark-mode #order-standard-checkout .modal-remove-item .modal-body {
    border-color: #33445d !important;
    background: #172235 !important;
    color: #bec9d8 !important;
}

body.dark-mode #order-standard-checkout .modal-remove-item .modal-title {
    color: #eef4fc !important;
}

body.dark-mode #order-standard-checkout .modal-remove-item .modal-footer {
    border-color: #33445d !important;
    background: #111b2a !important;
}

body.dark-mode #order-standard-checkout .modal-remove-item .modal-footer .btn-default {
    border-color: #425673 !important;
    background: #243249 !important;
    color: #e5edf8 !important;
}

body.dark-mode #order-standard-checkout .modal-remove-item .close {
    border: 1px solid #425673 !important;
    background: #243249 !important;
    color: #dce8f7 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .24) !important;
}

body.dark-mode #order-standard-checkout .modal-remove-item .close:hover,
body.dark-mode #order-standard-checkout .modal-remove-item .close:focus {
    border-color: #5f7da7 !important;
    background: #2f4362 !important;
    color: #ffffff !important;
}

@media (max-width: 575.98px) {
    #order-standard-checkout .modal-remove-item.show,
    #order-standard-checkout .modal-remove-item.in {
        padding: 16px !important;
    }

    #order-standard-checkout .modal-remove-item .modal-body {
        padding: 24px 20px 20px !important;
    }

    #order-standard-checkout .modal-remove-item .modal-footer {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 16px 20px 20px !important;
    }

    #order-standard-checkout .modal-remove-item .modal-footer .btn {
        width: 100%;
    }
}

/**
 * Checkout account security feedback.
 *
 * The Serepok shell gives alerts a higher-specificity flex display, which
 * overrides WBAMS' w-hidden helper and exposes this empty alert as a blue bar.
 * Keep w-hidden validation feedback hidden until the checkout JavaScript
 * removes that class after receiving real errors.
 */
#order-standard-checkout .alert.w-hidden:empty,
#order-standard-checkout #containerProductValidationErrors.w-hidden {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/**
 * Marketing opt-in switch.
 *
 * WBAMS' Bootstrap Switch plugin writes legacy pixel widths inline. Serepok
 * converts the same component into a compact slider, but the plugin's white
 * label background remains on top and hides both the state colour and text.
 */
#order-standard-checkout .marketing-email-optin .bootstrap-switch {
    position: relative !important;
    display: inline-block !important;
    overflow: hidden !important;
    width: 82px !important;
    height: 34px !important;
    margin-top: 10px !important;
    border: 1px solid #cbd6e4 !important;
    border-radius: 999px !important;
    background: #7a8799 !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.14) !important;
    vertical-align: middle;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch-container {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: inherit !important;
    background: #7a8799 !important;
    transition: background-color 0.2s ease !important;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch-on .bootstrap-switch-container {
    background: #1f9d68 !important;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch-handle-on,
#order-standard-checkout .marketing-email-optin .bootstrap-switch-handle-off {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    z-index: 1;
    display: flex !important;
    width: auto !important;
    height: 32px !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 32px !important;
    text-transform: uppercase;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch-handle-on {
    left: 11px !important;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch-handle-off {
    right: 11px !important;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch-on .bootstrap-switch-handle-off,
#order-standard-checkout .marketing-email-optin .bootstrap-switch-off .bootstrap-switch-handle-on {
    display: none !important;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch-label {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch-label::after {
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.28) !important;
    content: "" !important;
    transition: left 0.2s ease !important;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch-on .bootstrap-switch-label::after {
    left: 51px !important;
}

#order-standard-checkout .marketing-email-optin .bootstrap-switch:focus-within {
    outline: 3px solid rgba(23, 104, 242, 0.2) !important;
    outline-offset: 2px;
}

/* Checkout validation summary. This stylesheet belongs to the active
 * standard-checkout order form, so the component is site-independent. */
#order-standard-checkout .checkout-error-feedback {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 0 14px !important;
    width: 100% !important;
    margin: 20px 0 28px !important;
    padding: 18px 20px !important;
    overflow: hidden !important;
    border: 1px solid #f0b1b6 !important;
    border-left: 4px solid #dc3545 !important;
    border-radius: 12px !important;
    background: #fff7f7 !important;
    box-shadow: 0 12px 28px rgba(127, 29, 43, 0.08) !important;
    color: #7f1d2b !important;
    line-height: 1.45 !important;
}

#order-standard-checkout .checkout-error-feedback.d-none,
#order-standard-checkout .checkout-error-feedback:empty {
    display: none !important;
}

#order-standard-checkout .checkout-error-feedback__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #fee2e2 !important;
    color: #b4232f !important;
    font-size: 18px !important;
}

#order-standard-checkout .checkout-error-feedback__content {
    min-width: 0 !important;
}

#order-standard-checkout .checkout-error-feedback__title {
    margin: 0 0 10px !important;
    color: #7f1d2b !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

#order-standard-checkout .checkout-error-feedback__list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#order-standard-checkout .checkout-error-feedback__list > li {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 9px 0 9px 22px !important;
    border-top: 1px solid rgba(180, 35, 47, 0.14) !important;
    color: #8e2430 !important;
    text-align: left !important;
    white-space: normal !important;
}

#order-standard-checkout .checkout-error-feedback__list > li:first-child {
    border-top: 0 !important;
    padding-top: 2px !important;
}

#order-standard-checkout .checkout-error-feedback__list > li::before {
    position: absolute !important;
    top: 1.02em !important;
    left: 2px !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #dc3545 !important;
    content: "" !important;
    transform: translateY(-50%) !important;
}

#order-standard-checkout .checkout-error-feedback__list > li:first-child::before {
    top: 0.58em !important;
}

#order-standard-checkout .checkout-error-feedback__list > li.vat-error:empty {
    display: none !important;
}

/* Compiled-template compatibility: if WBAMS serves the previous checkout.tpl
 * for one request while its cache is being cleared, keep that legacy P + UL
 * structure vertical and properly spaced as well. */
#order-standard-checkout .checkout-error-feedback > p:not(.checkout-error-feedback__title),
#order-standard-checkout .checkout-error-feedback > ul:not(.checkout-error-feedback__list) {
    grid-column: 1 / -1 !important;
}

#order-standard-checkout .checkout-error-feedback > p:not(.checkout-error-feedback__title) {
    margin: 0 0 10px !important;
    color: #7f1d2b !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

#order-standard-checkout .checkout-error-feedback > ul:not(.checkout-error-feedback__list) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#order-standard-checkout .checkout-error-feedback > ul:not(.checkout-error-feedback__list) > li {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 9px 0 9px 22px !important;
    border-top: 1px solid rgba(180, 35, 47, 0.14) !important;
    color: #8e2430 !important;
    text-align: left !important;
    white-space: normal !important;
}

#order-standard-checkout .checkout-error-feedback > ul:not(.checkout-error-feedback__list) > li::before {
    position: absolute !important;
    top: 1.02em !important;
    left: 2px !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #dc3545 !important;
    content: "" !important;
    transform: translateY(-50%) !important;
}

#order-standard-checkout .checkout-error-feedback > ul:not(.checkout-error-feedback__list) > li.vat-error:empty {
    display: none !important;
}

/*
 * Checkout.js writes form validation failures into .gateway-errors as bare
 * LI elements and may set display:flex inline. Style the element that is
 * actually shown after Complete Order is pressed, not only the server-rendered
 * checkout-error-feedback summary above.
 */
#order-standard-checkout .gateway-errors:not(:empty) {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 28px !important;
    padding: 18px 20px 18px 72px !important;
    overflow: hidden !important;
    border: 1px solid #f0b1b6 !important;
    border-left: 4px solid #dc3545 !important;
    border-radius: 12px !important;
    background: #fff7f7 !important;
    box-shadow: 0 12px 28px rgba(127, 29, 43, 0.08) !important;
    color: #7f1d2b !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

#order-standard-checkout .gateway-errors:empty {
    display: none !important;
}

#order-standard-checkout .gateway-errors:not(:empty)::before {
    position: absolute !important;
    top: 18px !important;
    left: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #fee2e2 !important;
    color: #b4232f !important;
    content: "!" !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

#order-standard-checkout .gateway-errors:not(:empty) > li {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8px 0 8px 20px !important;
    border-top: 1px solid rgba(180, 35, 47, 0.14) !important;
    color: #8e2430 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    list-style: none !important;
}

#order-standard-checkout .gateway-errors:not(:empty) > li:first-child {
    padding-top: 1px !important;
    border-top: 0 !important;
}

#order-standard-checkout .gateway-errors:not(:empty) > li::before {
    position: absolute !important;
    top: 1.02em !important;
    left: 2px !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #dc3545 !important;
    content: "" !important;
    transform: translateY(-50%) !important;
}

#order-standard-checkout .gateway-errors:not(:empty) > li:first-child::before {
    top: 0.56em !important;
}

body.dark-mode #order-standard-checkout .gateway-errors:not(:empty) {
    border-color: rgba(248, 113, 113, 0.44) !important;
    border-left-color: #f87171 !important;
    background: #2d1721 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28) !important;
    color: #fecdd3 !important;
}

body.dark-mode #order-standard-checkout .gateway-errors:not(:empty)::before {
    background: rgba(248, 113, 113, 0.16) !important;
    color: #fecaca !important;
}

body.dark-mode #order-standard-checkout .gateway-errors:not(:empty) > li {
    border-top-color: rgba(254, 202, 202, 0.14) !important;
    color: #fecdd3 !important;
}

@media (max-width: 575px) {
    #order-standard-checkout .gateway-errors:not(:empty) {
        margin: 18px 0 24px !important;
        padding: 14px 14px 14px 58px !important;
        font-size: 14px !important;
    }

    #order-standard-checkout .gateway-errors:not(:empty)::before {
        top: 14px !important;
        left: 14px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 15px !important;
    }

    #order-standard-checkout .gateway-errors:not(:empty) > li {
        padding: 7px 0 7px 18px !important;
    }
}

/* Login failures use a separate Ajax message element. Give it the same
 * visual language and the same breathing room below the alert. */
#order-standard-checkout #existingLoginMessage {
    position: relative !important;
    margin: 18px 0 28px !important;
    padding: 16px 18px 16px 54px !important;
    border: 1px solid #f0b1b6 !important;
    border-left: 4px solid #dc3545 !important;
    border-radius: 12px !important;
    background: #fff7f7 !important;
    box-shadow: 0 12px 28px rgba(127, 29, 43, 0.08) !important;
    color: #8e2430 !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

#order-standard-checkout #existingLoginMessage::before {
    position: absolute !important;
    top: 50% !important;
    left: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #fee2e2 !important;
    color: #b4232f !important;
    content: "!" !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    transform: translateY(-50%) !important;
}

body.dark-mode #order-standard-checkout .checkout-error-feedback,
body.dark-mode #order-standard-checkout #existingLoginMessage {
    border-color: rgba(248, 113, 113, 0.44) !important;
    border-left-color: #f87171 !important;
    background: #2d1721 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28) !important;
    color: #fecdd3 !important;
}

body.dark-mode #order-standard-checkout .checkout-error-feedback__icon,
body.dark-mode #order-standard-checkout #existingLoginMessage::before {
    background: rgba(248, 113, 113, 0.16) !important;
    color: #fecaca !important;
}

body.dark-mode #order-standard-checkout .checkout-error-feedback__title,
body.dark-mode #order-standard-checkout .checkout-error-feedback__list > li,
body.dark-mode #order-standard-checkout .checkout-error-feedback > p:not(.checkout-error-feedback__title),
body.dark-mode #order-standard-checkout .checkout-error-feedback > ul:not(.checkout-error-feedback__list) > li {
    color: #fecdd3 !important;
}

body.dark-mode #order-standard-checkout .checkout-error-feedback__list > li,
body.dark-mode #order-standard-checkout .checkout-error-feedback > ul:not(.checkout-error-feedback__list) > li {
    border-top-color: rgba(254, 202, 202, 0.14) !important;
}

@media (max-width: 575px) {
    #order-standard-checkout .checkout-error-feedback {
        grid-template-columns: 34px minmax(0, 1fr) !important;
        gap: 0 10px !important;
        margin-bottom: 24px !important;
        padding: 15px !important;
    }

    #order-standard-checkout .checkout-error-feedback__icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }

    #order-standard-checkout .checkout-error-feedback__title {
        font-size: 15px !important;
    }

    #order-standard-checkout #existingLoginMessage {
        margin-bottom: 24px !important;
    }
}

body.dark-mode #order-standard-checkout .marketing-email-optin .bootstrap-switch {
    border-color: #52647d !important;
    background: #536177 !important;
}

body.dark-mode #order-standard-checkout .marketing-email-optin .bootstrap-switch-container {
    background: #536177 !important;
}

/**
 * Keep the CVV help popover attached to the right edge of the CVV field.
 * Serepok's full-width field rule otherwise consumes the complete flex row and
 * pushes the help button onto a new line.
 */
#order-standard-checkout #existingCardInfo .input-group,
#order-standard-checkout #cvv-field-container .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 56px !important;
    overflow: visible;
}

#order-standard-checkout #existingCardInfo .input-group > .form-control,
#order-standard-checkout #cvv-field-container .input-group > .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    height: 56px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#order-standard-checkout #existingCardInfo .input-group > .input-group-append,
#order-standard-checkout #cvv-field-container .input-group > .input-group-append {
    display: flex !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 56px !important;
    align-items: stretch !important;
    margin: 0 !important;
}

#order-standard-checkout #existingCardInfo .input-group > .input-group-append > .btn,
#order-standard-checkout #cvv-field-container .input-group > .input-group-append > .btn {
    display: inline-flex !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dbe7f5 !important;
    border-left: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

#order-standard-checkout #existingCardInfo .input-group > .input-group-append > .btn:hover,
#order-standard-checkout #existingCardInfo .input-group > .input-group-append > .btn:focus,
#order-standard-checkout #cvv-field-container .input-group > .input-group-append > .btn:hover,
#order-standard-checkout #cvv-field-container .input-group > .input-group-append > .btn:focus {
    border-color: #9bbcf5 !important;
    background: #edf4ff !important;
    color: #1768f2 !important;
}

#order-standard-checkout #existingCardInfo .input-group > br,
#order-standard-checkout #cvv-field-container .input-group > br {
    display: none !important;
}

body.dark-mode #order-standard-checkout #existingCardInfo .input-group > .input-group-append > .btn,
body.dark-mode #order-standard-checkout #cvv-field-container .input-group > .input-group-append > .btn {
    border-color: #425673 !important;
    background: #243249 !important;
    color: #e5edf8 !important;
}

/* Keep checkout radios in flow. The legacy theme positioned the native input
 * absolutely while iCheck was also enabled, producing duplicate floating dots. */
#order-standard-checkout #frmCheckout input[type="radio"].no-icheck {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    margin: 0 9px 0 0 !important;
    padding: 0 !important;
    border: 2px solid #a8bfdc !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
    vertical-align: middle;
}

#order-standard-checkout #frmCheckout input[type="radio"].no-icheck:checked {
    border-color: #1768f2 !important;
    background: radial-gradient(circle, #fff 0 4px, #1768f2 4.5px 100%) !important;
}

#order-standard-checkout #frmCheckout input[type="radio"].no-icheck:focus-visible {
    outline: 3px solid rgba(23, 104, 242, .22) !important;
    outline-offset: 2px;
}

#order-standard-checkout label.radio-inline,
#order-standard-checkout .paymethod-info.radio-inline {
    display: inline-flex !important;
    align-items: center !important;
}

#order-standard-checkout .account-select-container label.radio-inline {
    display: flex !important;
}

#order-standard-checkout .paymethod-info.radio-inline {
    position: static !important;
    width: auto !important;
    min-width: 20px !important;
    height: auto !important;
    padding: 0 !important;
}

/* If a cached legacy script initialized a control before the current bundle
 * loaded, suppress its helper without affecting native inputs. */
#order-standard-checkout #frmCheckout input.no-icheck + .iCheck-helper,
#order-standard-checkout #frmCheckout input.no-icheck ~ .iCheck-helper {
    display: none !important;
}

#order-standard-checkout #frmCheckout .iradio_square-blue:has(> input.no-icheck) {
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Secure-checkout notice: keep the icon and sentence in two deliberate
 * columns. Wrapping the translated sentence prevents anonymous flex items
 * from splitting the copy and IP address into unrelated vertical strips. */
#order-standard-checkout .checkout-security-msg {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 24px 0 !important;
    padding: 18px 20px !important;
    color: #8a4b00 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: left !important;
    white-space: normal !important;
}

#order-standard-checkout .checkout-security-msg__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    color: inherit !important;
}

#order-standard-checkout .checkout-security-msg__icon > i,
#order-standard-checkout .checkout-security-msg > i {
    float: none !important;
    margin: 0 !important;
    font-size: 30px !important;
    line-height: 1 !important;
}

#order-standard-checkout .checkout-security-msg__text {
    display: block !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
}

#order-standard-checkout .checkout-security-msg__text strong {
    white-space: nowrap !important;
}

body.dark-mode #order-standard-checkout .checkout-security-msg {
    border-color: rgba(245, 158, 11, .55) !important;
    background: #2b2415 !important;
    color: #fbd38d !important;
}

@media (max-width: 575.98px) {
    #order-standard-checkout .checkout-security-msg {
        grid-template-columns: 32px minmax(0, 1fr) !important;
        gap: 12px !important;
        margin: 22px 0 !important;
        padding: 16px !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    #order-standard-checkout .checkout-security-msg__icon {
        width: 32px !important;
        height: 32px !important;
    }

    #order-standard-checkout .checkout-security-msg__icon > i,
    #order-standard-checkout .checkout-security-msg > i {
        font-size: 25px !important;
    }

    #order-standard-checkout .already-registered {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    #order-standard-checkout .already-registered > .pull-right,
    #order-standard-checkout .already-registered > .float-right {
        order: 2 !important;
        float: none !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    #order-standard-checkout .already-registered > p {
        order: 1 !important;
        overflow: visible !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        white-space: normal !important;
    }

    #order-standard-checkout .already-registered .btn {
        width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
    }
}

/**
 * Responsive product cards.
 *
 * The base order-form stylesheet uses floats for the description and a
 * fixed-width pricing column. That combination works on a wide desktop but
 * squeezes the action link to a few pixels on phones. Keep the product list
 * fluid at every breakpoint and let each card own its content layout.
 */
#order-standard-checkout #products {
    width: 100% !important;
    min-width: 0 !important;
}

#order-standard-checkout #products > .row,
#order-standard-checkout #products > .row.row-eq-height {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 22px !important;
    margin: 0 !important;
}

#order-standard-checkout #products > .row + .row,
#order-standard-checkout #products > .row.row-eq-height + .row.row-eq-height {
    margin-top: 22px !important;
}

#order-standard-checkout #products > .row:has(> [class*="col-"]:only-child),
#order-standard-checkout #products > .row.row-eq-height:has(> [class*="col-"]:only-child) {
    grid-template-columns: minmax(0, 1fr) !important;
}

#order-standard-checkout #products > .row > [class*="col-"],
#order-standard-checkout #products > .row.row-eq-height > [class*="col-"] {
    display: flex !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
}

#order-standard-checkout #products .product {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#order-standard-checkout #products .product > header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    min-width: 0 !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 18px 24px !important;
    box-sizing: border-box !important;
}

#order-standard-checkout #products .product > header > span:first-child {
    display: block !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}

#order-standard-checkout #products .product > header .qty {
    float: none !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

#order-standard-checkout #products .product > .product-desc {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 136px !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 20px 24px !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
}

#order-standard-checkout #products .product > .product-desc > p {
    margin: 0 0 12px !important;
}

#order-standard-checkout #products .product > .product-desc > p:last-child,
#order-standard-checkout #products .product > .product-desc > ul:last-child {
    margin-bottom: 0 !important;
}

#order-standard-checkout #products .product > .product-desc > ul {
    margin: 14px 0 0 !important;
    padding: 0 !important;
}

#order-standard-checkout #products .product > footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 108px !important;
    float: none !important;
    margin: 0 !important;
    padding: 22px 24px !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

#order-standard-checkout #products .product > footer .product-pricing {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
    text-align: left !important;
}

#order-standard-checkout #products .product > footer .product-pricing .price,
#order-standard-checkout #products .product > footer .product-pricing span.price {
    display: block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    font-size: clamp(24px, 3vw, 34px) !important;
    line-height: 1.1 !important;
}

#order-standard-checkout #products .product > footer .btn-order-now {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 120px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    text-align: center !important;
}

@media (max-width: 767.98px) {
    #order-standard-checkout #products > .row,
    #order-standard-checkout #products > .row.row-eq-height {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }

    #order-standard-checkout #products > .row + .row,
    #order-standard-checkout #products > .row.row-eq-height + .row.row-eq-height {
        margin-top: 16px !important;
    }

    #order-standard-checkout #products .product > header {
        min-height: 64px !important;
        padding: 16px 18px !important;
    }

    #order-standard-checkout #products .product > .product-desc {
        min-height: 0 !important;
        padding: 18px !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    #order-standard-checkout #products .product > footer {
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 14px !important;
        min-height: 0 !important;
        padding: 18px !important;
    }

    #order-standard-checkout #products .product > footer .product-pricing {
        width: 100% !important;
    }

    #order-standard-checkout #products .product > footer .product-pricing .price,
    #order-standard-checkout #products .product > footer .product-pricing span.price {
        font-size: 30px !important;
    }

    #order-standard-checkout #products .product > footer .btn-order-now {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Final dark-mode switch surface override (kept after legacy plugin rules). */
body.dark-mode #order-standard-checkout .marketing-email-optin .bootstrap-switch {
    border-color: #52647d !important;
    background: #243249 !important;
}

/**
 * Balanced checkout heading card.
 *
 * The base theme makes .header-lined a two-column grid whose second column
 * is sized to the paragraph's max-content width.  On a checkout with a
 * sidebar that leaves the heading only a few characters wide, so long
 * category titles become a tall stack beside a large empty panel.  Keep the
 * heading and supporting copy in one predictable flow for every standard
 * checkout page.  The Rhade-specific contribution template owns its own
 * hero treatment and is intentionally excluded here.
 */
#order-standard-checkout:not(.rhade-contribution-store) .cart-body > .header-lined {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 24px !important;
    padding: clamp(30px, 4.5vw, 56px) clamp(24px, 5vw, 64px) !important;
}

#order-standard-checkout:not(.rhade-contribution-store) .cart-body > .header-lined h1,
#order-standard-checkout:not(.rhade-contribution-store) .cart-body > .header-lined h1.font-size-36 {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: clamp(2.45rem, 4.4vw, 4.5rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
}

#order-standard-checkout:not(.rhade-contribution-store) .cart-body > .header-lined > p {
    width: min(100%, 52rem) !important;
    max-width: 52rem !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
    line-height: 1.55 !important;
}

@media (max-width: 767.98px) {
    #order-standard-checkout:not(.rhade-contribution-store) .cart-body > .header-lined {
        gap: 12px !important;
        margin-bottom: 20px !important;
        padding: 30px 24px 32px !important;
    }

    #order-standard-checkout:not(.rhade-contribution-store) .cart-body > .header-lined h1,
    #order-standard-checkout:not(.rhade-contribution-store) .cart-body > .header-lined h1.font-size-36 {
        font-size: clamp(2.15rem, 10vw, 3rem) !important;
        line-height: 1.04 !important;
    }

    #order-standard-checkout:not(.rhade-contribution-store) .cart-body > .header-lined > p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
}

/**
 * Review-page tabs and tax estimator card.
 *
 * The legacy order-form stylesheet treats both panels as a flat gray strip.
 * Give the tabs a clear active state and present the estimator as a compact,
 * branded card without tying the component to any site name or page copy.
 */
#order-standard-checkout .view-cart-tabs {
    width: 100% !important;
    margin: 30px 0 28px !important;
}

#order-standard-checkout .view-cart-tabs > .nav-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 0 0 8px !important;
    border-bottom: 1px solid #cbd9e8 !important;
}

#order-standard-checkout .view-cart-tabs > .nav-tabs .nav-item {
    margin: 0 !important;
}

#order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link {
    display: inline-flex !important;
    min-height: 44px !important;
    align-items: center !important;
    padding: 10px 17px !important;
    border: 1px solid transparent !important;
    border-bottom: 0 !important;
    border-radius: 11px 11px 0 0 !important;
    background: transparent !important;
    color: #5d7389 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

#order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link:hover,
#order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link:focus {
    background: #f3f7fc !important;
    color: #1768f2 !important;
}

#order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link.active,
#order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link[aria-selected="true"],
#order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link[aria-expanded="true"] {
    border-color: #cbd9e8 !important;
    background: #ffffff !important;
    color: #0d609c !important;
    box-shadow: 0 -5px 16px rgba(19, 53, 90, .08) !important;
}

#order-standard-checkout .view-cart-tabs > .tab-content {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

#order-standard-checkout .view-cart-tabs > .tab-content > .tab-pane:not(.active) {
    display: none !important;
}

#order-standard-checkout .view-cart-tabs > .tab-content > .tab-pane.active {
    display: block !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes {
    position: relative !important;
    margin: 0 !important;
    padding: 26px 28px 28px !important;
    border: 1px solid #cbd9e8 !important;
    border-top: 0 !important;
    border-radius: 0 14px 14px 14px !important;
    background: linear-gradient(145deg, #ffffff 0%, #f4f8fd 100%) !important;
    box-shadow: 0 16px 34px rgba(21, 55, 91, .10) !important;
    color: #19344e !important;
}

#order-standard-checkout .wbams-tax-card-heading {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    margin: 0 0 24px !important;
    color: #173b5d !important;
}

#order-standard-checkout .wbams-tax-card-heading__icon {
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #1768f2 0%, #0c9ad9 100%) !important;
    box-shadow: 0 8px 18px rgba(23, 104, 242, .23) !important;
    color: #ffffff !important;
    font-size: 17px !important;
}

#order-standard-checkout .wbams-tax-card-heading__label {
    font-size: 19px !important;
    font-weight: 800 !important;
    letter-spacing: -.01em !important;
    line-height: 1.25 !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes form {
    display: grid !important;
    gap: 17px !important;
    max-width: 760px !important;
    margin: 0 !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes .form-group.row {
    display: grid !important;
    grid-template-columns: minmax(110px, .34fr) minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: center !important;
    margin: 0 !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes .form-group.row::before,
#order-standard-checkout .view-cart-tabs #calcTaxes .form-group.row::after {
    display: none !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes .form-group.row > label {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #4e667e !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes .form-group.row > .col-sm-7 {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes .form-control {
    width: 100% !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 12px 15px !important;
    border: 1px solid #cbd9e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: inset 0 1px 2px rgba(28, 57, 85, .04) !important;
    color: #19344e !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes .form-control:focus {
    border-color: #1768f2 !important;
    box-shadow: 0 0 0 3px rgba(23, 104, 242, .15) !important;
    outline: 0 !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes .form-group.text-center {
    display: flex !important;
    justify-content: flex-end !important;
    margin: 3px 0 0 !important;
    text-align: right !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes .form-group.text-center .btn {
    display: inline-flex !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 11px 22px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #1768f2 0%, #0c92d8 100%) !important;
    box-shadow: 0 10px 20px rgba(23, 104, 242, .20) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

#order-standard-checkout .view-cart-tabs #calcTaxes .form-group.text-center .btn:hover,
#order-standard-checkout .view-cart-tabs #calcTaxes .form-group.text-center .btn:focus {
    background: linear-gradient(135deg, #0d57d4 0%, #087bad 100%) !important;
    box-shadow: 0 12px 24px rgba(23, 104, 242, .28) !important;
    color: #ffffff !important;
}

body.dark-mode #order-standard-checkout .view-cart-tabs > .nav-tabs {
    border-bottom-color: rgba(125, 164, 211, .34) !important;
}

body.dark-mode #order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link {
    color: #a9bfd8 !important;
}

body.dark-mode #order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link:hover,
body.dark-mode #order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link:focus {
    background: rgba(39, 91, 151, .22) !important;
    color: #dcebff !important;
}

body.dark-mode #order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link.active,
body.dark-mode #order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link[aria-selected="true"],
body.dark-mode #order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link[aria-expanded="true"] {
    border-color: rgba(86, 146, 220, .55) !important;
    background: linear-gradient(145deg, #172944 0%, #102039 100%) !important;
    color: #eff7ff !important;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, .20) !important;
}

body.dark-mode #order-standard-checkout .view-cart-tabs #calcTaxes {
    border-color: rgba(86, 146, 220, .55) !important;
    background: linear-gradient(145deg, #13253d 0%, #0d1d32 100%) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .27) !important;
    color: #e3effe !important;
}

body.dark-mode #order-standard-checkout .wbams-tax-card-heading {
    color: #e3effe !important;
}

body.dark-mode #order-standard-checkout .view-cart-tabs #calcTaxes .form-group.row > label {
    color: #a9bfd8 !important;
}

body.dark-mode #order-standard-checkout .view-cart-tabs #calcTaxes .form-control {
    border-color: rgba(86, 146, 220, .48) !important;
    background: #0b1b31 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .22) !important;
    color: #e5f0ff !important;
}

body.dark-mode #order-standard-checkout .view-cart-tabs #calcTaxes .form-control:focus {
    border-color: #4f9dff !important;
    box-shadow: 0 0 0 3px rgba(58, 137, 239, .24) !important;
}

@media (max-width: 767.98px) {
    #order-standard-checkout .view-cart-tabs {
        margin-top: 22px !important;
    }

    #order-standard-checkout .view-cart-tabs > .nav-tabs {
        gap: 5px !important;
        padding-left: 0 !important;
    }

    #order-standard-checkout .view-cart-tabs > .nav-tabs .nav-link {
        min-height: 42px !important;
        padding: 9px 13px !important;
        font-size: 13px !important;
    }

    #order-standard-checkout .view-cart-tabs #calcTaxes {
        padding: 22px 18px 20px !important;
        border-radius: 0 12px 12px 12px !important;
    }

    #order-standard-checkout .wbams-tax-card-heading {
        margin-bottom: 19px !important;
    }

    #order-standard-checkout .wbams-tax-card-heading__icon {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
        border-radius: 10px !important;
    }

    #order-standard-checkout .wbams-tax-card-heading__label {
        font-size: 17px !important;
    }

    #order-standard-checkout .view-cart-tabs #calcTaxes .form-group.row {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    #order-standard-checkout .view-cart-tabs #calcTaxes .form-group.row > label {
        font-size: 11px !important;
    }

    #order-standard-checkout .view-cart-tabs #calcTaxes .form-group.text-center {
        justify-content: stretch !important;
    }

    #order-standard-checkout .view-cart-tabs #calcTaxes .form-group.text-center .btn {
        width: 100% !important;
    }
}
