/*
 * Megacloud order form (templates/orderforms/megacloud, a copy of standard_cart).
 * WHMCS loads css/custom.css by itself after all.min.css; megacloud.js adds the steps, the period
 * cards and the phone total bar. Brand: night #14171c, orange #f28a0c, Inter.
 * Source: megacloud repo, deploy/whmcs/orderform-megacloud/. Added 2026-11-06.
 */
.mc-cart {
    --mc-ink: #14171c;
    --mc-soft: #566070;
    --mc-line: #e4e7ec;
    --mc-tint: #f6f7f9;
    --mc-brand: #f28a0c;
    --mc-brand-soft: #fff4e6;
    --mc-ok: #15803d;
}
.mc-cart #main-body { background: var(--mc-tint); }
.mc-cart #order-standard_cart,
.mc-cart #order-standard_cart .btn,
.mc-cart #order-standard_cart input,
.mc-cart #order-standard_cart select { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.mc-cart #order-standard_cart { color: var(--mc-ink); font-size: 15px; line-height: 1.5; }

/* One column: no category sidebar inside the cart. */
.mc-cart #order-standard_cart .cart-sidebar,
.mc-cart #order-standard_cart .sidebar-collapsed { display: none !important; }
.mc-cart #order-standard_cart .cart-body { width: 100%; float: none; padding: 0; }
/* Those rows keep Bootstrap's -15px margins, but the columns inside lost their padding: cancel the
   margins so the content keeps the page gutter on phones (and no sideways scroll). */
.mc-cart #order-standard_cart > .row,
.mc-cart #frmConfigureProduct > .row { margin-left: 0; margin-right: 0; }

/* Steps */
.mc-steps { display: flex; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.mc-steps li { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--mc-line); border-radius: 10px; background: #fff; color: var(--mc-soft); font-weight: 600; font-size: 14px; }
.mc-steps b { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mc-tint); color: var(--mc-soft); font-size: 13px; }
.mc-steps span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-steps .on { border-color: var(--mc-ink); color: var(--mc-ink); }
.mc-steps .on b { background: var(--mc-brand); color: var(--mc-ink); }
.mc-steps .done b { background: var(--mc-ink); color: #fff; }

/* Headings */
.mc-cart #order-standard_cart .header-lined { border: 0; margin: 0 0 6px; padding: 0; }
.mc-cart #order-standard_cart .header-lined h1 { font-size: 26px !important; font-weight: 800; letter-spacing: -.01em; color: var(--mc-ink); margin: 0; }
.mc-eyebrow { margin: 0 0 4px; color: var(--mc-brand); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.mc-lead { margin: 0 0 20px; color: var(--mc-soft); }
.mc-h2 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; color: var(--mc-ink); }

/* White panels for the step content */
.mc-cart #frmProductDomain,
.mc-cart #order-standard_cart .secondary-cart-body { background: #fff; border: 1px solid var(--mc-line); border-radius: 14px; padding: 24px; }
.mc-cart #frmProductDomain { margin-top: 4px; }

/* Step 1: domain options as cards */
.mc-cart .domain-selection-options .option { border: 2px solid var(--mc-line); border-radius: 12px; padding: 14px 16px; margin: 0 0 12px; background: #fff; }
.mc-cart .domain-selection-options .option-selected { border-color: var(--mc-brand); background: var(--mc-brand-soft); }
.mc-cart .domain-selection-options .option > label { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 500; cursor: pointer; width: 100%; }
.mc-opt-ic { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--mc-ink); color: #fff; font-size: 16px; }
.mc-opt-txt { min-width: 0; }
.mc-opt-txt strong { display: block; font-size: 16px; }
.mc-opt-txt small { display: block; color: var(--mc-soft); font-size: 13px; }
.mc-cart .domain-selection-options .domain-input-group { margin: 14px 0 2px; }
.mc-cart .domain-selection-options .domain-input-group .row { margin: 0; }
.mc-cart .domain-selection-options .domain-input-group [class*="col-"] { padding-left: 0; padding-right: 8px; margin-left: 0; }
.mc-cart .domain-selection-options .domain-input-group .col-sm-8 { width: 75%; flex: 0 0 75%; max-width: 75%; }
.mc-cart .domain-selection-options .domain-input-group .col-sm-2 { width: 25%; flex: 0 0 25%; max-width: 25%; padding-right: 0; }
.mc-cart .domain-selection-options .form-control,
.mc-cart .domain-selection-options .input-group-text { height: 46px; border-radius: 10px; border-color: #c9ced6; font-size: 15px; }
.mc-cart .domain-selection-options .input-group .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.mc-cart .domain-selection-options .input-group-text { border-top-right-radius: 0; border-bottom-right-radius: 0; background: var(--mc-tint); color: var(--mc-soft); }
.mc-hint { margin: 6px 0 0; font-size: 13px; color: var(--mc-soft); }

/* Buttons */
.mc-cart #order-standard_cart .btn-primary,
.mc-cart #order-standard_cart .btn-success,
.mc-cart #order-standard_cart .btn-checkout { background: var(--mc-brand); border-color: var(--mc-brand); color: var(--mc-ink); font-weight: 700; border-radius: 10px; min-height: 46px; }
.mc-cart #order-standard_cart .btn-primary:hover,
.mc-cart #order-standard_cart .btn-success:hover,
.mc-cart #order-standard_cart .btn-checkout:hover { background: #ffa02e; border-color: #ffa02e; color: var(--mc-ink); }
.mc-cart #order-standard_cart .btn-default,
.mc-cart #order-standard_cart .btn-secondary { border-radius: 10px; }

/* Step 2: product + period cards */
.mc-cart #order-standard_cart .product-info { background: transparent; border: 0; padding: 0; margin: 0 0 4px; }
.mc-cart #order-standard_cart .product-info .product-title { font-size: 24px; font-weight: 800; margin: 0 0 4px; color: var(--mc-ink); }
.mc-cart #order-standard_cart .product-info p { color: var(--mc-soft); }
.mc-cart .secondary-cart-body > p:first-child { display: none; }
.mc-cart .mc-cycle-select { display: none; }
.mc-cycles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.mc-cycle { position: relative; border: 2px solid var(--mc-line); border-radius: 12px; padding: 18px 16px 14px; cursor: pointer; background: #fff; min-width: 0; text-align: left; font: inherit; color: inherit; }
.mc-cycle:hover { border-color: #c9ced6; }
.mc-cycle.on { border-color: var(--mc-brand); background: var(--mc-brand-soft); }
.mc-cycle .mc-tag { position: absolute; top: -11px; left: 14px; background: var(--mc-ink); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.mc-cycle strong { display: block; }
.mc-cycle .mc-price { display: block; font-size: 24px; font-weight: 800; margin-top: 2px; }
.mc-cycle .mc-price small { font-size: 13px; font-weight: 500; color: var(--mc-soft); }
.mc-cycle .mc-note { display: block; font-size: 13px; color: var(--mc-soft); margin-top: 2px; }

/* Step 2: addons (New-IA) as switch rows */
.mc-cart #order-standard_cart .addon-products { margin: 0; display: block; }
.mc-cart #order-standard_cart .addon-products > [class*="col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; padding: 0; float: none; }
.mc-cart #order-standard_cart .panel-addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; border: 2px solid var(--mc-line); border-radius: 12px; padding: 14px 16px; margin: 0 0 10px; box-shadow: none; cursor: pointer; background: #fff; }
.mc-cart #order-standard_cart .panel-addon .panel-body { padding: 0; font-size: 13px; color: var(--mc-soft); grid-column: 1; grid-row: 1 / span 2; text-align: left; }
.mc-cart #order-standard_cart .panel-addon .panel-body label { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--mc-ink); }
.mc-cart #order-standard_cart .panel-addon .panel-price { grid-column: 2; grid-row: 1; background: transparent; color: var(--mc-ink); font-weight: 700; padding: 0; text-align: right; white-space: nowrap; border: 0; }
.mc-cart #order-standard_cart .panel-addon .panel-add { grid-column: 2; grid-row: 2; background: transparent; color: var(--mc-soft); padding: 2px 10px; border-radius: 20px; text-align: center; font-size: 12px; font-weight: 700; border: 1px solid var(--mc-line); justify-self: end; }
.mc-cart #order-standard_cart .panel-addon.panel-addon-selected { border-color: var(--mc-brand); background: var(--mc-brand-soft); }
.mc-cart #order-standard_cart .panel-addon.panel-addon-selected .panel-add { color: var(--mc-ok); font-weight: 700; }
.mc-badge { display: inline-block; margin-left: 8px; background: var(--mc-ink); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; vertical-align: middle; }

/* Order summary */
.mc-cart #orderSummary { border: 1px solid var(--mc-line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: none; padding: 0; }
.mc-cart #orderSummary > h2,
.mc-cart #orderSummary .summary-heading,
.mc-cart #orderSummary h2 { margin: 0; padding: 16px 20px; background: var(--mc-ink); color: #fff; font-size: 16px; font-weight: 700; border: 0; }
.mc-cart #orderSummary .summary-container { padding: 16px 20px 20px; background: #fff; color: var(--mc-ink); }
.mc-cart #orderSummary .product-name { font-size: 18px; font-weight: 800; color: var(--mc-ink); }
.mc-cart #orderSummary .product-group { color: var(--mc-soft); }
.mc-cart #orderSummary .summary-totals { border-color: var(--mc-line); }
.mc-cart #orderSummary .total-due-today { border-top: 1px solid var(--mc-line); margin-top: 8px; padding-top: 12px; }
.mc-cart #orderSummary .total-due-today .amt { font-size: 26px; font-weight: 800; color: var(--mc-ink); }
.mc-cart #orderSummary .total-due-today span { color: var(--mc-soft); }
.mc-cart #orderSummary .btn-checkout,
.mc-cart #btnCompleteProductConfig { width: 100%; }
.mc-perks { list-style: none; margin: 14px 0 0; padding: 0 20px 16px; font-size: 13px; color: var(--mc-soft); }
.mc-perks li { position: relative; padding: 3px 0 3px 22px; }
.mc-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--mc-ok); font-weight: 700; }

/* Cart / checkout (step 3) */
.mc-cart #order-standard_cart .view-cart-items,
.mc-cart #order-standard_cart .view-cart-items-header { border-radius: 12px; }
.mc-cart #order-standard_cart .view-cart-items-header { background: var(--mc-ink); color: #fff; }
.mc-cart #order-standard_cart .sub-heading span { background: var(--mc-tint); color: var(--mc-ink); font-weight: 700; }
.mc-cart #order-standard_cart .form-control { border-radius: 8px; }

/* Phone: total + continue fixed at the bottom */
.mc-bar { display: none; }
@media (max-width: 767px) {
    .mc-steps span { display: none; }
    .mc-steps li { justify-content: center; }
    .mc-cart #frmProductDomain,
    .mc-cart #order-standard_cart .secondary-cart-body { padding: 18px 14px; }
    .mc-cart #order-standard_cart .header-lined h1 { font-size: 22px !important; }
    .mc-cycles { grid-template-columns: minmax(0, 1fr); }
    .mc-cart #order-standard_cart .secondary-cart-sidebar { padding-left: 0; padding-right: 0; margin-top: 16px; }
    .mc-cart .domain-selection-options .domain-input-group .col-sm-8,
    .mc-cart .domain-selection-options .domain-input-group .col-sm-2 { width: 100%; flex: 0 0 100%; max-width: 100%; padding-right: 0; }
    .mc-cart .domain-selection-options .domain-input-group .col-sm-2 { margin-top: 8px; }
    .mc-cart .domain-selection-options .domain-input-group .col-9 { width: 70%; flex: 0 0 70%; max-width: 70%; }
    .mc-cart .domain-selection-options .domain-input-group .col-3 { width: 30%; flex: 0 0 30%; max-width: 30%; padding-right: 0; }
    .mc-cart #order-standard_cart .panel-addon { grid-template-columns: minmax(0, 1fr); }
    .mc-cart #order-standard_cart .panel-addon .panel-body { grid-row: auto; }
    .mc-cart #order-standard_cart .panel-addon .panel-price,
    .mc-cart #order-standard_cart .panel-addon .panel-add { grid-column: 1; grid-row: auto; text-align: left; }
    .mc-has-bar #main-body { padding-bottom: 84px; }
    .mc-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--mc-ink); color: #fff; }
    .mc-bar small { display: block; color: #aab2bf; font-size: 12px; }
    .mc-bar strong { font-size: 20px; }
    .mc-bar button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--mc-brand); color: var(--mc-ink); font-weight: 700; font-size: 15px; }
}
.mc-cart #order-standard_cart .panel-addon.panel-addon-selected .panel-add { border-color: var(--mc-ok); background: #fff; }
.mc-cart #order-standard_cart .panel-addon .panel-add:hover { border-color: var(--mc-ink); }

/* ---- Step 3 "Datos y pago" (13 nov): form on the left, summary with the pay button on the right ---- */
.mc-co { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.mc-co-main { background: #fff; border: 1px solid var(--mc-line); border-radius: 14px; padding: 8px 24px 24px; min-width: 0; }
.mc-co-main .mc-h2:first-child { margin-top: 16px; }
.mc-co-side { position: sticky; top: 16px; min-width: 0; }
.mc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.mc-fields-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
.mc-field { min-width: 0; position: relative; }
.mc-field.mc-wide { grid-column: 1 / -1; }
.mc-field > label { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--mc-soft); }
.mc-cart .mc-field .form-control { height: 44px; border-radius: 10px; border-color: #c9ced6; font-size: 15px; padding: 8px 12px; }
.mc-cart .mc-field .form-control:focus { border-color: var(--mc-brand); box-shadow: 0 0 0 3px var(--mc-brand-soft); }
.mc-field .field-help-text { font-size: 12px; color: var(--mc-soft); }
.mc-addr-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin-top: 4px; background: #fff; border: 1px solid var(--mc-line); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(20, 23, 28, .12); }
.mc-addr-list [role=option] { padding: 9px 12px; font-size: 14px; cursor: pointer; }
.mc-addr-list [role=option] small { margin-left: 6px; color: var(--mc-soft); }
.mc-addr-list [role=option].on, .mc-addr-list [role=option]:hover { background: var(--mc-tint); }
.mc-addr-list .mc-google { padding: 4px 10px; text-align: right; border-top: 1px solid var(--mc-line); }
.mc-addr-list .mc-google img { height: 14px; width: auto; }
.mc-cart #order-standard_cart .already-registered > p { display: none; }
.mc-cart #order-standard_cart .already-registered { margin-bottom: 8px; }
.mc-cart #order-standard_cart #btnAlreadyRegistered, .mc-cart #order-standard_cart #btnNewUserSignup { background: transparent; border: 0; color: #1d5fae; font-weight: 600; padding: 0; min-height: 0; }
.mc-cart.mc-auto-pass #containerNewUserSecurity { display: none !important; }
.mc-cart #order-standard_cart #totalDueToday { display: none; }
.mc-cart #order-standard_cart .mc-co-main .sub-heading { border: 0; margin: 28px 0 12px; height: auto; text-align: left; }
.mc-cart #order-standard_cart .mc-co-main .sub-heading span { background: transparent !important; padding: 0; font-size: 18px; font-weight: 700; color: var(--mc-ink); }
/* Payment methods as cards */
.mc-cart #paymentGatewaysContainer .mc-gw-list { display: grid; gap: 10px; text-align: left; margin-bottom: 8px; }
.mc-cart #paymentGatewaysContainer > p.small, .mc-cart #paymentGatewaysContainer > .text-center:empty { display: none; }
.mc-cart #paymentGatewaysContainer .mc-gw-list > label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border: 2px solid var(--mc-line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; }
.mc-cart #paymentGatewaysContainer .mc-gw-list > label.on { border-color: var(--mc-brand); background: var(--mc-brand-soft); }
.mc-cart #paymentGatewaysContainer .mc-gw-note { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--mc-soft); text-align: right; }
.mc-cart #paymentGatewaysContainer .mc-gw-note.ok { color: var(--mc-ok); }
/* Summary */
.mc-co-sum { border: 1px solid var(--mc-line); border-radius: 14px; overflow: hidden; background: #fff; }
.mc-co-sum > h2 { margin: 0; padding: 14px 20px; background: var(--mc-ink); color: #fff; font-size: 16px; font-weight: 700; text-align: center; }
.mc-co-sum .summary-container { padding: 16px 20px 20px; }
.mc-sum-item { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--mc-line); }
.mc-sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.mc-sum-row > span:last-child, .mc-sum-row > strong + span { white-space: nowrap; }
.mc-sum-sub { font-size: 13px; color: var(--mc-soft); overflow-wrap: anywhere; }
.mc-sum-addon { font-size: 13px; color: var(--mc-soft); }
.mc-sum-line { margin-top: 4px; }
.mc-co-sum .total-due-today { display: flex; flex-direction: column; align-items: flex-end; border-top: 1px solid var(--mc-line); margin-top: 8px; padding-top: 12px; }
.mc-co-sum .total-due-today span:first-child { font-size: 13px; color: var(--mc-soft); }
.mc-co-sum .total-due-today .amt { font-size: 28px; font-weight: 800; color: var(--mc-ink); }
.mc-promo { display: inline-block; margin-top: 8px; font-size: 13px; color: #1d5fae; }
.mc-tos { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 13px; font-weight: 500; color: var(--mc-soft); cursor: pointer; }
.mc-tos input { margin-top: 2px; }
.mc-cart #order-standard_cart .mc-co-sum .btn-checkout { width: 100%; margin-top: 12px; font-size: 17px; }
.mc-secure { margin: 8px 0 0; font-size: 12px; color: var(--mc-soft); text-align: center; }
.mc-ok { color: var(--mc-ok); }
.mc-dominio-msg { font-size: 16px; color: var(--mc-ink); }
.mc-dominio-msg a { color: #1d5fae; font-weight: 700; }
@media (max-width: 767px) {
    .mc-co { grid-template-columns: minmax(0, 1fr); }
    .mc-co-side { position: static; }
    .mc-co-main { padding: 4px 14px 18px; }
    .mc-fields, .mc-fields-3 { grid-template-columns: minmax(0, 1fr); }
    .mc-cart #paymentGatewaysContainer .mc-gw-list > label { flex-wrap: wrap; }
    .mc-cart #paymentGatewaysContainer .mc-gw-note { margin-left: 0; text-align: left; width: 100%; }
}
/* Step 1: "ya tiene hosting" message under the domain field (13 nov) */
.mc-dominio-alerta { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 2px; padding: 12px 14px; border: 1px solid #f5c08a; border-radius: 10px; background: #fff7ed; color: var(--mc-ink); font-size: 14px; line-height: 1.45; }
.mc-dominio-alerta[hidden] { display: none; }
.mc-dominio-alerta a { color: #1d5fae; font-weight: 700; text-decoration: underline; }
.mc-dominio-ic { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mc-brand); color: var(--mc-ink); font-weight: 800; font-size: 14px; }
/* VPS (13 nov): hostname and operating system as in creattivacloud.com */
.mc-hostname { max-width: 520px; }
.mc-cart .mc-hostname .form-control { height: 46px; border-radius: 10px; border-color: #c9ced6; font-size: 16px; }
.mc-field-error { margin: 6px 0 0; color: #b42318; font-size: 13px; font-weight: 600; }
.mc-field-error[hidden] { display: none; }
.mc-os-lead { margin: -4px 0 12px; }
.mc-os { display: grid; gap: 10px; }
.mc-os-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 2px solid var(--mc-line); border-radius: 12px; background: #fff; cursor: pointer; min-width: 0; }
.mc-os-row.on { border-color: var(--mc-brand); background: var(--mc-brand-soft); }
.mc-os-head { display: flex; align-items: center; gap: 12px; margin: 0; flex: 1 1 auto; min-width: 0; cursor: pointer; font-weight: 700; }
.mc-os-head input { margin: 0; width: 18px; height: 18px; accent-color: var(--mc-brand); flex: none; }
.mc-os-head img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.mc-os-initial { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mc-ink); color: #fff; font-weight: 800; flex: none; }
.mc-os-name { font-size: 16px; color: var(--mc-ink); }
.mc-os-rec { background: var(--mc-brand-soft); color: #8a4a00; border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mc-os-rec[hidden] { display: none; }
.mc-os-ver { flex: 0 0 auto; min-width: 96px; height: 40px; border: 1px solid #c9ced6; border-radius: 10px; padding: 0 10px; background: #fff; font: inherit; font-weight: 600; }
@media (max-width: 767px) {
    .mc-os-row { flex-wrap: wrap; }
    .mc-os-rec { order: 3; }
}
/* Addon checkbox keeps its size next to long names (phones, 13 nov) */
.mc-cart #order-standard_cart .panel-addon .panel-body label { align-items: flex-start; }
.mc-cart #order-standard_cart .panel-addon .panel-body label > .icheckbox_square-blue,
.mc-cart #order-standard_cart .panel-addon .panel-body label > input[type=checkbox] { flex: 0 0 22px; width: 22px; min-width: 22px; height: 22px; margin-top: 2px; }

/* iPhone zooms in on any field with text under 16px and then the page can be dragged around
   (seen after typing the address in the checkout, 13 nov). 16px on phones keeps it still. */
@media (max-width: 767px) {
    .mc-cart input:not([type=checkbox]):not([type=radio]),
    .mc-cart select,
    .mc-cart textarea,
    .mc-cart .form-control { font-size: 16px !important; }
}
/* Webpay and PayPal logos in the payment cards (same files as megacloud.cl) */
.mc-cart #paymentGatewaysContainer .mc-gw-logo { display: block; height: 30px; width: auto; max-width: 140px; }

/* "¿Olvidaste tu clave?" code modal (13 nov) */
.mc-forgot { margin: 12px 0 0; text-align: center; }
.mc-forgot button, .mc-cod-links button { border: 0; background: none; padding: 4px 2px; color: #1f5fa8; font-weight: 600; text-decoration: underline; cursor: pointer; }
.mc-cod-links button:disabled { color: var(--mc-soft); text-decoration: none; cursor: default; }
body.mc-modal-on { overflow: hidden; }
.mc-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 23, 28, .55); }
.mc-modal[hidden] { display: none; }
.mc-modal-box { position: relative; width: 100%; max-width: 420px; max-height: calc(100% - 32px); overflow-y: auto; padding: 24px 20px 20px; border-radius: 16px; background: #fff; color: var(--mc-ink); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.mc-modal-box h3 { margin: 0 32px 8px 0; font-size: 21px; font-weight: 800; }
.mc-modal-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--mc-tint); font-size: 22px; line-height: 1; cursor: pointer; }
.mc-cod-p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--mc-soft); }
.mc-modal-box label { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--mc-soft); }
.mc-modal-box .form-control { height: 48px; border-radius: 10px; border: 1px solid #c9ced6; font-size: 16px; padding: 8px 12px; box-shadow: none; }
.mc-modal-box .mc-cod-code { height: 60px; font-size: 32px; letter-spacing: 4px; text-align: center; font-weight: 800; color: var(--mc-ink); font-variant-numeric: tabular-nums; }
.mc-cod-btn { width: 100%; min-height: 48px; margin-top: 12px; border: 0; border-radius: 10px; background: var(--mc-brand); color: var(--mc-ink); font-size: 16px; font-weight: 800; cursor: pointer; }
.mc-cod-btn:disabled { opacity: .6; cursor: default; }
.mc-cod-links { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--mc-soft); }
.mc-cod-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #ecfdf3; color: var(--mc-ok); font-size: 14px; font-weight: 600; }
.mc-cod-msg.bad { background: #fef3f2; color: #b42318; }
/* The code box stays big and bold on phones too (over the 16px field rule above). */
.mc-cart .mc-modal-box input.mc-cod-code { font-size: 32px !important; font-weight: 800; color: var(--mc-ink); }

/* Checkout layout from the mockup "Ingreso en el checkout" (13 nov) */
.mc-cart .mc-co-main.mc-split { background: transparent; border: 0; padding: 0; display: grid; gap: 16px; }
.mc-cart .mc-card { background: #fff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 4px 22px 22px; min-width: 0; }
.mc-cart .mc-pay-block { transition: opacity .2s; }
.mc-co-login .mc-pay-block { opacity: .5; pointer-events: none; }
.mc-lock { display: none; margin-left: 8px; padding: 3px 9px; border-radius: 20px; background: #eef0f3; color: var(--mc-soft); font-size: 12px; font-weight: 700; font-style: normal; vertical-align: middle; }
.mc-co-login .mc-lock { display: inline-block; }
.mc-cart #order-standard_cart .mc-hidden-keep { display: none !important; }
.mc-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 4px; margin: 0 0 16px; border-radius: 12px; background: #e7eaee; }
.mc-seg button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--mc-soft); font-size: 15px; font-weight: 700; cursor: pointer; }
.mc-seg button.on { background: #fff; color: var(--mc-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.mc-seg button:focus-visible { outline: 3px solid var(--mc-brand); outline-offset: 1px; }
.mc-sub { margin: -6px 0 14px; font-size: 14px; color: var(--mc-soft); }
.mc-lbl { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--mc-soft); }
.mc-cart #containerExistingUserSignin .row { display: block; margin: 0; }
.mc-cart #containerExistingUserSignin .row > [class*="col-"] { width: auto; float: none; padding: 0; max-width: none; }
.mc-cart #containerExistingUserSignin .form-group { position: relative; margin-bottom: 12px; }
.mc-cart #containerExistingUserSignin .field-icon { display: none; }
.mc-cart #containerExistingUserSignin .form-control { height: 48px; padding: 8px 12px !important; border-radius: 10px; border-color: #c9ced6; }
.mc-cart #inputLoginPassword { padding-right: 84px !important; }
.mc-eye { position: absolute; top: 0; right: 4px; height: 48px; padding: 0 12px; border: 0; background: none; color: #1f5fa8; font-weight: 700; font-size: 14px; cursor: pointer; }
.mc-cart #containerExistingUserSignin .text-center { text-align: left; }
.mc-cart #btnExistingLogin { width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--mc-brand); color: var(--mc-ink); font-size: 16px; font-weight: 800; }
.mc-forgot { margin: 0; text-align: left; }
.mc-or { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; font-size: 12px; color: var(--mc-soft); text-align: center; }
.mc-or::before, .mc-or::after { content: ""; flex: 1; height: 1px; background: var(--mc-line); }
.mc-forgot .mc-btn2 { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border: 1.5px solid var(--mc-ink); border-radius: 12px; background: #fff; color: var(--mc-ink); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.mc-hint { margin: 10px 0 0; font-size: 13px; color: var(--mc-soft); text-align: center; }
.mc-who { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; padding: 12px 14px; border-radius: 14px; background: #ecfdf3; border: 1px solid #b7ebc9; min-width: 0; }
.mc-who i { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mc-ok); color: #fff; font-style: normal; font-weight: 800; }
.mc-who div { min-width: 0; }
.mc-who b { display: block; font-size: 15px; }
.mc-who span { display: block; font-size: 13px; color: var(--mc-soft); overflow-wrap: anywhere; }
.mc-who button { margin-left: auto; flex: none; border: 0; background: none; color: #1f5fa8; font-weight: 700; font-size: 14px; cursor: pointer; }
.mc-acc-hidden { display: none !important; }
.mc-acc-in > .sub-heading:first-of-type.mc-acc-hidden + * { margin-top: 0; }
@media (max-width: 767px) {
    .mc-steps span { display: inline; font-size: 12px; }
    .mc-steps li { justify-content: flex-start; gap: 6px; padding: 8px; font-size: 12px; }
    .mc-steps b { flex-basis: 22px; height: 22px; font-size: 11px; }
    .mc-cart .mc-card { padding: 2px 16px 18px; }
}
.mc-cod-to { color: var(--mc-ink); overflow-wrap: anywhere; }
/* Where the code went: tinted box, email in bold, its own "Cambiar" */
#mcCodSent { margin-bottom: 16px; }
.mc-cod-dest { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--mc-brand-soft); border: 1px solid #f6c98f; }
.mc-cod-dest small { grid-column: 1; font-size: 13px; color: var(--mc-soft); }
.mc-cod-dest .mc-cod-to { grid-column: 1; font-size: 18px; font-weight: 800; color: var(--mc-ink); overflow-wrap: anywhere; line-height: 1.3; }
.mc-cod-dest button { grid-column: 2; grid-row: 1 / span 2; border: 0; border-radius: 8px; padding: 8px 12px; background: #fff; color: #1f5fa8; font-weight: 700; font-size: 14px; cursor: pointer; }
.mc-cod-tip { display: block; margin-top: 8px; font-size: 14px; color: var(--mc-soft); }
