/*
 * Bahía Cloud Checkout v3.0.0
 * Minimal checkout layer for cart.php?a=checkout.
 */

html.bc-checkout-v3 {
    --bc3-navy: #0b2d57;
    --bc3-blue: #123f73;
    --bc3-cyan: #20b8c6;
    --bc3-cyan-dark: #139da9;
    --bc3-cyan-soft: #edfafa;
    --bc3-bg: #f4f8fc;
    --bc3-card: #ffffff;
    --bc3-text: #173653;
    --bc3-muted: #667f96;
    --bc3-line: #dce7ef;
    --bc3-line-soft: #e8eff5;
    --bc3-shadow: 0 12px 32px rgba(11, 45, 87, .045);
}

html.bc-checkout-v3 body.page-order {
    background: var(--bc3-bg) !important;
}

html.bc-checkout-v3 body.page-order .main-header {
    padding-top: 34px !important;
    padding-bottom: 30px !important;
    background:
        radial-gradient(circle at 84% 0%, rgba(32, 184, 198, .09), transparent 30%),
        linear-gradient(115deg, #f8fbfe 0%, #f3f8fc 58%, #eff9fb 100%) !important;
    border-bottom: 1px solid #deE8f0 !important;
}

html.bc-checkout-v3 body.page-order .main-header-title,
html.bc-checkout-v3 body.page-order .main-header h1 {
    color: var(--bc3-navy) !important;
    font-size: clamp(36px, 4vw, 50px) !important;
    font-weight: 800 !important;
    letter-spacing: -.04em !important;
    line-height: 1.05 !important;
}

html.bc-checkout-v3 body.page-order .main-body > .container,
html.bc-checkout-v3 body.page-order .main-header > .container {
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: 1240px !important;
}

html.bc-checkout-v3 body.page-order .main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 350px !important;
    gap: 26px !important;
    align-items: start !important;
    width: 100% !important;
}

html.bc-checkout-v3 body.page-order .main-grid > .main-content,
html.bc-checkout-v3 body.page-order .main-grid > .main-sidebar {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html.bc-checkout-v3 body.page-order .main-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

html.bc-checkout-v3 .bc3-order-card,
html.bc-checkout-v3 .bc3-billing,
html.bc-checkout-v3 .bc3-registrant,
html.bc-checkout-v3 .bc3-payment,
html.bc-checkout-v3 .bc3-captcha,
html.bc-checkout-v3 .bc3-newsletter,
html.bc-checkout-v3 .bc3-promo {
    margin: 0 !important;
    background: var(--bc3-card) !important;
    border: 1px solid var(--bc3-line) !important;
    border-radius: 15px !important;
    box-shadow: var(--bc3-shadow) !important;
    overflow: hidden !important;
}

html.bc-checkout-v3 .bc3-step-title,
html.bc-checkout-v3 .bc3-order-title {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    margin: 0 !important;
    color: var(--bc3-navy) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -.02em !important;
}

html.bc-checkout-v3 .bc3-step-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    color: #fff !important;
    background: var(--bc3-cyan) !important;
    border-radius: 50% !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

/* Order */
html.bc-checkout-v3 .bc3-order-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 18px 20px !important;
    border-bottom: 1px solid var(--bc3-line-soft) !important;
}

html.bc-checkout-v3 .bc3-order-edit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 13px !important;
    color: var(--bc3-blue) !important;
    background: #fff !important;
    border: 1px solid #ccdae6 !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

html.bc-checkout-v3 .bc3-order-card .cart-item-header,
html.bc-checkout-v3 .bc3-order-card [class*="cart-item-header"] {
    display: none !important;
}

html.bc-checkout-v3 .bc3-order-item {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) auto auto auto !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid var(--bc3-line-soft) !important;
}

html.bc-checkout-v3 .bc3-order-item:last-of-type {
    border-bottom: 0 !important;
}

html.bc-checkout-v3 .bc3-item-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 8px !important;
    color: var(--bc3-cyan-dark) !important;
    background: #f1f9fb !important;
    border: 1px solid #dceaf0 !important;
    border-radius: 11px !important;
    box-sizing: border-box !important;
}

html.bc-checkout-v3 .bc3-item-icon svg,
html.bc-checkout-v3 .bc3-item-icon img {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
}

html.bc-checkout-v3 .bc3-item-icon--domain {
    padding: 0 5px !important;
    color: var(--bc3-blue) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

html.bc-checkout-v3 .bc3-order-item .cart-item-title {
    min-width: 0 !important;
    margin: 0 !important;
}

html.bc-checkout-v3 .bc3-order-item .cart-item-title-main {
    display: block !important;
    color: var(--bc3-navy) !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}

html.bc-checkout-v3 .bc3-order-item .cart-item-title-small {
    display: block !important;
    margin-top: 3px !important;
    color: var(--bc3-muted) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

html.bc-checkout-v3 .bc3-order-item .cart-item-qty-empty {
    display: none !important;
}

html.bc-checkout-v3 .bc3-order-item .cart-item-qty input,
html.bc-checkout-v3 .bc3-order-item input[type="number"] {
    width: 56px !important;
    min-height: 40px !important;
    border: 1px solid #cfdce7 !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-size: 14px !important;
    text-align: center !important;
}

html.bc-checkout-v3 .bc3-order-item .cart-item-price {
    color: var(--bc3-navy) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
    text-align: right !important;
}

html.bc-checkout-v3 .bc3-order-item .cart-item-price small,
html.bc-checkout-v3 .bc3-order-item .cart-item-price .faded {
    display: block !important;
    margin-top: 2px !important;
    color: #8597a8 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

html.bc-checkout-v3 .bc3-order-card .btn {
    border-radius: 8px !important;
}

html.bc-checkout-v3 .bc3-order-card .panel-footer,
html.bc-checkout-v3 .bc3-order-card [class*="cart-actions"] {
    padding: 14px 18px !important;
    background: #f8fbfd !important;
    border-top: 1px solid var(--bc3-line-soft) !important;
}

/* Promotion */
html.bc-checkout-v3 .bc3-promo {
    padding: 17px 18px !important;
    background: #fff !important;
}

html.bc-checkout-v3 .bc3-promo .section-header,
html.bc-checkout-v3 .bc3-promo .panel-heading {
    margin: 0 0 11px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

html.bc-checkout-v3 .bc3-promo .section-title,
html.bc-checkout-v3 .bc3-promo .panel-title,
html.bc-checkout-v3 .bc3-promo h2,
html.bc-checkout-v3 .bc3-promo h3 {
    color: var(--bc3-navy) !important;
    font-size: 15px !important;
    font-weight: 750 !important;
}

html.bc-checkout-v3 .bc3-promo .panel-body,
html.bc-checkout-v3 .bc3-promo .section-body {
    padding: 0 !important;
    background: transparent !important;
}

html.bc-checkout-v3 .bc3-promo .input-group,
html.bc-checkout-v3 .bc3-promo form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    width: 100% !important;
}

/* Main form cards */
html.bc-checkout-v3 .bc3-billing,
html.bc-checkout-v3 .bc3-registrant,
html.bc-checkout-v3 .bc3-payment,
html.bc-checkout-v3 .bc3-captcha {
    padding: 22px 22px 24px !important;
}

html.bc-checkout-v3 .bc3-billing > .section-header,
html.bc-checkout-v3 .bc3-registrant > .section-header,
html.bc-checkout-v3 .bc3-payment > .section-header,
html.bc-checkout-v3 .bc3-captcha > .section-header,
html.bc-checkout-v3 .bc3-billing > .panel-heading,
html.bc-checkout-v3 .bc3-registrant > .panel-heading,
html.bc-checkout-v3 .bc3-payment > .panel-heading,
html.bc-checkout-v3 .bc3-captcha > .panel-heading {
    margin: 0 0 18px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

html.bc-checkout-v3 .bc3-billing .panel,
html.bc-checkout-v3 .bc3-registrant .panel,
html.bc-checkout-v3 .bc3-payment .panel,
html.bc-checkout-v3 .bc3-captcha .panel,
html.bc-checkout-v3 .bc3-billing .card,
html.bc-checkout-v3 .bc3-registrant .card,
html.bc-checkout-v3 .bc3-payment .card,
html.bc-checkout-v3 .bc3-captcha .card {
    box-shadow: none !important;
}

html.bc-checkout-v3 .bc3-billing label,
html.bc-checkout-v3 .bc3-registrant label,
html.bc-checkout-v3 .bc3-payment label,
html.bc-checkout-v3 .bc3-captcha label {
    color: #294866 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
}

html.bc-checkout-v3 .bc3-billing input:not([type="radio"]):not([type="checkbox"]),
html.bc-checkout-v3 .bc3-billing select,
html.bc-checkout-v3 .bc3-billing textarea,
html.bc-checkout-v3 .bc3-registrant input:not([type="radio"]):not([type="checkbox"]),
html.bc-checkout-v3 .bc3-registrant select,
html.bc-checkout-v3 .bc3-registrant textarea,
html.bc-checkout-v3 .bc3-payment input:not([type="radio"]):not([type="checkbox"]),
html.bc-checkout-v3 .bc3-payment select,
html.bc-checkout-v3 .bc3-payment textarea,
html.bc-checkout-v3 .bc3-promo input:not([type="radio"]):not([type="checkbox"]) {
    min-height: 46px !important;
    border: 1px solid #cfdee9 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: var(--bc3-text) !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

html.bc-checkout-v3 .bc3-billing input:focus,
html.bc-checkout-v3 .bc3-billing select:focus,
html.bc-checkout-v3 .bc3-registrant input:focus,
html.bc-checkout-v3 .bc3-registrant select:focus,
html.bc-checkout-v3 .bc3-payment input:focus,
html.bc-checkout-v3 .bc3-payment select:focus,
html.bc-checkout-v3 .bc3-promo input:focus {
    border-color: var(--bc3-cyan) !important;
    box-shadow: 0 0 0 3px rgba(32, 184, 198, .12) !important;
}

html.bc-checkout-v3 .bc3-billing input[type="radio"],
html.bc-checkout-v3 .bc3-billing input[type="checkbox"],
html.bc-checkout-v3 .bc3-registrant input[type="radio"],
html.bc-checkout-v3 .bc3-registrant input[type="checkbox"],
html.bc-checkout-v3 .bc3-payment input[type="radio"],
html.bc-checkout-v3 .bc3-payment input[type="checkbox"],
html.bc-checkout-v3 .bc3-newsletter input[type="checkbox"] {
    accent-color: var(--bc3-cyan-dark) !important;
}

html.bc-checkout-v3 .bc3-registrant-toggle {
    display: block !important;
    margin: -2px 0 20px !important;
    padding: 13px 14px !important;
    background: #f5fbfc !important;
    border: 1px solid #d9edf0 !important;
    border-radius: 10px !important;
}

html.bc-checkout-v3 .bc3-inline-check {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin: 0 !important;
    color: var(--bc3-navy) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

html.bc-checkout-v3 .bc3-inline-check-input {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    margin: 0 !important;
}

html.bc-checkout-v3 .bc3-registrant-toggle small {
    display: block !important;
    margin: 6px 0 0 27px !important;
    color: var(--bc3-muted) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

html.bc-checkout-v3 .bc3-registrant-collapsed {
    display: none !important;
}

html.bc-checkout-v3 .bc3-registrant .section-title,
html.bc-checkout-v3 .bc3-registrant .panel-title,
html.bc-checkout-v3 .bc3-registrant h2,
html.bc-checkout-v3 .bc3-registrant h3 {
    color: var(--bc3-navy) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

/* Newsletter becomes a compact option */
html.bc-checkout-v3 .bc3-newsletter {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px 18px !important;
}

html.bc-checkout-v3 .bc3-newsletter .section-header,
html.bc-checkout-v3 .bc3-newsletter .panel-heading {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

html.bc-checkout-v3 .bc3-newsletter .section-title,
html.bc-checkout-v3 .bc3-newsletter .panel-title,
html.bc-checkout-v3 .bc3-newsletter h2,
html.bc-checkout-v3 .bc3-newsletter h3 {
    color: var(--bc3-navy) !important;
    font-size: 15px !important;
    font-weight: 750 !important;
}

html.bc-checkout-v3 .bc3-newsletter p,
html.bc-checkout-v3 .bc3-newsletter .section-desc,
html.bc-checkout-v3 .bc3-newsletter .panel-desc {
    display: none !important;
}

/* Captcha */
html.bc-checkout-v3 .bc3-captcha p,
html.bc-checkout-v3 .bc3-captcha .section-desc {
    color: var(--bc3-muted) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Fraud note */
html.bc-checkout-v3 .bc3-fraud-note {
    margin: 0 !important;
    padding: 11px 14px !important;
    color: #766037 !important;
    background: #fffaf0 !important;
    border: 1px solid #f0dfb9 !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    box-shadow: none !important;
}

/* Summary */
html.bc-checkout-v3 .main-sidebar .bc3-summary,
html.bc-checkout-v3 .bc3-summary {
    position: sticky !important;
    top: 22px !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    color: #fff !important;
    background: linear-gradient(165deg, #176095 0%, #104d80 46%, #0a315d 100%) !important;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 40px rgba(11, 45, 87, .17) !important;
}

html.bc-checkout-v3 .bc3-summary .panel-heading {
    padding: 21px 21px 13px !important;
    background: transparent !important;
    border: 0 !important;
}

html.bc-checkout-v3 .bc3-summary .panel-title {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
}

html.bc-checkout-v3 .bc3-summary .panel-body {
    padding: 5px 21px 20px !important;
    background: transparent !important;
}

html.bc-checkout-v3 .bc3-summary .bc3-native-summary-list {
    display: none !important;
}

html.bc-checkout-v3 .bc3-summary-items {
    display: block !important;
    margin: 0 !important;
    padding: 0 0 5px !important;
}

html.bc-checkout-v3 .bc3-summary-line {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 6px 13px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.11) !important;
}

html.bc-checkout-v3 .bc3-summary-line:last-child {
    border-bottom: 0 !important;
}

html.bc-checkout-v3 .bc3-summary-line-info strong {
    display: block !important;
    color: rgba(255,255,255,.96) !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}

html.bc-checkout-v3 .bc3-summary-line-info small {
    display: block !important;
    margin-top: 2px !important;
    color: rgba(255,255,255,.61) !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

html.bc-checkout-v3 .bc3-summary-line-price {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

html.bc-checkout-v3 .bc3-summary .price-total {
    margin-top: 8px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255,255,255,.15) !important;
}

html.bc-checkout-v3 .bc3-summary .price-total .faded,
html.bc-checkout-v3 .bc3-summary .price-total small {
    color: rgba(255,255,255,.72) !important;
    font-size: 12px !important;
}

html.bc-checkout-v3 .bc3-summary .price-amount {
    color: #20d0d5 !important;
    font-size: 38px !important;
    font-weight: 850 !important;
    letter-spacing: -.045em !important;
    line-height: 1 !important;
}

html.bc-checkout-v3 .bc3-summary .bc-flow-secure-note,
html.bc-checkout-v3 .bc3-summary .bc3-secure-note {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 11px 0 0 !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 11px !important;
}

html.bc-checkout-v3 .bc3-summary .btn-checkout,
html.bc-checkout-v3 .bc3-summary #checkout {
    width: 100% !important;
    min-height: 50px !important;
    margin-top: 17px !important;
    color: #fff !important;
    background: linear-gradient(90deg, #28c1ce, #20b3c1) !important;
    border: 0 !important;
    border-radius: 9px !important;
    box-shadow: 0 9px 21px rgba(31, 180, 195, .19) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

html.bc-checkout-v3 .bc3-summary .bc-flow-guarantee,
html.bc-checkout-v3 .bc3-summary .bc3-guarantee {
    margin-top: 17px !important;
    padding-top: 15px !important;
    color: rgba(255,255,255,.76) !important;
    border-top: 1px solid rgba(255,255,255,.11) !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

html.bc-checkout-v3 .bc3-summary .panel-footer {
    padding: 15px 20px 18px !important;
    color: rgba(255,255,255,.82) !important;
    background: rgba(0,0,0,.09) !important;
    border-top: 1px solid rgba(255,255,255,.1) !important;
    font-size: 12px !important;
}

html.bc-checkout-v3 .bc3-summary .panel-footer a {
    color: #70e5e8 !important;
}

/* Existing radios / choices look intentional */
html.bc-checkout-v3 .bc3-billing .panel-check,
html.bc-checkout-v3 .bc3-payment .panel-check {
    border: 1px solid #d5e2ec !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
}

html.bc-checkout-v3 .bc3-billing .panel-check.checked,
html.bc-checkout-v3 .bc3-payment .panel-check.checked {
    border-color: #a9dde2 !important;
    background: #f1fbfc !important;
}

/* Mobile fixed checkout bar */
html.bc-checkout-v3 .bc3-mobile-checkout {
    z-index: 1050 !important;
    border-top: 1px solid #d9e5ee !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 -12px 30px rgba(11,45,87,.12) !important;
}

html.bc-checkout-v3 .bc3-mobile-checkout .btn {
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: var(--bc3-cyan) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

@media (max-width: 980px) {
    html.bc-checkout-v3 body.page-order .main-grid {
        grid-template-columns: minmax(0, 1fr) 310px !important;
        gap: 20px !important;
    }
}

@media (max-width: 820px) {
    html.bc-checkout-v3 body.page-order .main-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html.bc-checkout-v3 .main-sidebar .bc3-summary,
    html.bc-checkout-v3 .bc3-summary {
        position: static !important;
    }

    html.bc-checkout-v3 body.page-order {
        padding-bottom: 86px !important;
    }
}

@media (max-width: 640px) {
    html.bc-checkout-v3 body.page-order .main-header > .container,
    html.bc-checkout-v3 body.page-order .main-body > .container {
        width: min(100% - 24px, 1240px) !important;
    }

    html.bc-checkout-v3 body.page-order .main-header {
        padding-top: 26px !important;
        padding-bottom: 23px !important;
    }

    html.bc-checkout-v3 body.page-order .main-header-title,
    html.bc-checkout-v3 body.page-order .main-header h1 {
        font-size: 36px !important;
    }

    html.bc-checkout-v3 .bc3-order-header {
        align-items: flex-start !important;
        padding: 16px !important;
    }

    html.bc-checkout-v3 .bc3-order-edit {
        min-height: 38px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    html.bc-checkout-v3 .bc3-order-item {
        grid-template-columns: 44px minmax(0, 1fr) auto !important;
        gap: 10px !important;
        padding: 14px !important;
    }

    html.bc-checkout-v3 .bc3-order-item .cart-item-title {
        grid-column: 2 !important;
    }

    html.bc-checkout-v3 .bc3-order-item .cart-item-price {
        grid-column: 3 !important;
        align-self: start !important;
        font-size: 13px !important;
    }

    html.bc-checkout-v3 .bc3-order-item .cart-item-qty:not(.cart-item-qty-empty) {
        grid-column: 2 / -1 !important;
    }

    html.bc-checkout-v3 .bc3-order-item .cart-item-actions,
    html.bc-checkout-v3 .bc3-order-item [class*="item-actions"] {
        grid-column: 2 / -1 !important;
        justify-self: end !important;
    }

    html.bc-checkout-v3 .bc3-promo .input-group,
    html.bc-checkout-v3 .bc3-promo form {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html.bc-checkout-v3 .bc3-billing,
    html.bc-checkout-v3 .bc3-registrant,
    html.bc-checkout-v3 .bc3-payment,
    html.bc-checkout-v3 .bc3-captcha {
        padding: 18px 16px 20px !important;
    }

    html.bc-checkout-v3 .bc3-billing input:not([type="radio"]):not([type="checkbox"]),
    html.bc-checkout-v3 .bc3-billing select,
    html.bc-checkout-v3 .bc3-billing textarea,
    html.bc-checkout-v3 .bc3-registrant input:not([type="radio"]):not([type="checkbox"]),
    html.bc-checkout-v3 .bc3-registrant select,
    html.bc-checkout-v3 .bc3-registrant textarea,
    html.bc-checkout-v3 .bc3-payment input:not([type="radio"]):not([type="checkbox"]),
    html.bc-checkout-v3 .bc3-payment select,
    html.bc-checkout-v3 .bc3-payment textarea,
    html.bc-checkout-v3 .bc3-promo input:not([type="radio"]):not([type="checkbox"]) {
        min-height: 48px !important;
        font-size: 16px !important;
    }

    html.bc-checkout-v3 .bc3-registrant-toggle {
        margin-bottom: 16px !important;
        padding: 12px !important;
    }

    html.bc-checkout-v3 .bc3-inline-check {
        align-items: flex-start !important;
        font-size: 14px !important;
    }

    html.bc-checkout-v3 .bc3-newsletter {
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 15px 16px !important;
    }

    html.bc-checkout-v3 .bc3-summary .panel-heading {
        padding: 19px 18px 12px !important;
    }

    html.bc-checkout-v3 .bc3-summary .panel-body {
        padding: 4px 18px 18px !important;
    }

    html.bc-checkout-v3 .bc3-summary .price-amount {
        font-size: 34px !important;
    }
}

/* === BAHIA CHECKOUT v3.2.4 LEGACY CANVAS START === */


/*
 * La capa v3.0.0 sigue participando en este checkout.
 * Su shell no puede ser blanco.
 */

html.bc-checkout-v3 body.page-order .main-grid,
html.bc-checkout-v3 body.page-order .main-grid > .main-content,
html.bc-checkout-v3 body.page-order .main-content,
html.bc-checkout-v3 body.page-order #order-standard_cart,
html.bc-checkout-v3 body.page-order #order-standard_cart > .main-grid,
html.bc-checkout-v3 body.page-order #order-standard_cart .main-content,
html.bc-checkout-v3 body.page-order #frmCheckout,
html.bc-checkout-v3 body.page-order #frmCheckout > .row {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;

    border-color: transparent !important;
}


html.bc-checkout-v3
body.page-order
.main-grid > .main-content {
    padding-bottom: 0 !important;
}


/* Pseudoelementos */

html.bc-checkout-v3
body.page-order
.main-grid > .main-content::before,

html.bc-checkout-v3
body.page-order
.main-grid > .main-content::after,

html.bc-checkout-v3
body.page-order
#order-standard_cart::before,

html.bc-checkout-v3
body.page-order
#order-standard_cart::after,

html.bc-checkout-v3
body.page-order
#frmCheckout::before,

html.bc-checkout-v3
body.page-order
#frmCheckout::after {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}


/*
 * Estas sí son cards reales y conservan blanco.
 */

html.bc-checkout-v3 .bc3-order-card,
html.bc-checkout-v3 .bc3-billing,
html.bc-checkout-v3 .bc3-registrant,
html.bc-checkout-v3 .bc3-payment,
html.bc-checkout-v3 .bc3-captcha,
html.bc-checkout-v3 .bc3-newsletter,
html.bc-checkout-v3 .bc3-promo {
    background: #ffffff !important;
    background-color: #ffffff !important;
}


/* === BAHIA CHECKOUT v3.2.4 LEGACY CANVAS END === */

/* === BAHIA CHECKOUT v3.2.8 LEGACY CAPTCHA START === */


/*
 * IMPORTANTE:
 *
 * La capa v3 legacy añade la clase bc3-captcha
 * al mismo bloque que posteriormente procesa v31.
 *
 * Neutralizamos de forma explícita su interior.
 */

html.bc-checkout-v3
.bc3-captcha
> .section-body,

html.bc-checkout-v3
.bc3-captcha
> .panel-body,

html.bc-checkout-v3
.bc3-captcha
> .card-body {
    margin: 14px 0 0 !important;

    padding: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}


/*
 * Lagom puede colocar panel/panel-body debajo
 * del section-body.
 */

html.bc-checkout-v3
.bc3-captcha
.section-body
> .panel,

html.bc-checkout-v3
.bc3-captcha
.section-body
> .card,

html.bc-checkout-v3
.bc3-captcha
.section-body
> .section,

html.bc-checkout-v3
.bc3-captcha
.panel-body,

html.bc-checkout-v3
.bc3-captcha
.card-body,

html.bc-checkout-v3
.bc3-captcha
.captcha-container,

html.bc-checkout-v3
.bc3-captcha
.recaptcha-container,

html.bc-checkout-v3
.bc3-captcha
.captcha {
    margin: 0 !important;

    padding: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}


/*
 * Esta es importante porque el CSS original legacy
 * solo eliminaba box-shadow de panel/card.
 * Ahora eliminamos también fondo y borde.
 */

html.bc-checkout-v3
.bc3-captcha
.panel,

html.bc-checkout-v3
.bc3-captcha
.card {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;

    box-shadow: none !important;
}


/*
 * Sin línea superior/inferior residual.
 */

html.bc-checkout-v3
.bc3-captcha
.section-body::before,

html.bc-checkout-v3
.bc3-captcha
.section-body::after,

html.bc-checkout-v3
.bc3-captcha
.panel-body::before,

html.bc-checkout-v3
.bc3-captcha
.panel-body::after {
    display: none !important;

    content: none !important;
}


/*
 * CARD PRINCIPAL continúa blanca.
 */

html.bc-checkout-v3
.bc3-captcha {
    background: #ffffff !important;

    border:
        1px solid
        var(--bc3-line) !important;
}


/* === BAHIA CHECKOUT v3.2.8 LEGACY CAPTCHA END === */
