/* Checkout GrünFlex — UI premium minimal (Stripe / Shopify Plus) */
.gf-checkout-page {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --gf-ch-bg: #f8fafc;
    --gf-ch-surface: #ffffff;
    --gf-ch-border: #d1d5db;
    --gf-ch-border-strong: #9ca3af;
    --gf-ch-primary: #4f46e5;
    --gf-ch-primary-hover: #4338ca;
    --gf-ch-accent: #3b82f6;
    --gf-ch-violet: #7c3aed;
    --gf-ch-cta-start: #6366f1;
    --gf-ch-cta-mid: #3b82f6;
    --gf-ch-cta-end: #8b5cf6;
    --gf-ch-text: #0f172a;
    --gf-ch-muted: #64748b;
    --gf-ch-muted-soft: #94a3b8;
    --gf-ch-success: #2563eb;
    --gf-ch-dark: #0f172a;
    --gf-ch-dark-2: #1e293b;
    --gf-ch-radius: 12px;
    --gf-ch-radius-lg: 16px;
    --gf-ch-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
    --gf-ch-shadow-hover: 0 4px 14px rgba(79, 70, 229, 0.22);
    --gf-ch-input-h: 3rem;
    background: var(--gf-ch-bg);
    color: var(--gf-ch-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.gf-checkout-page a {
    color: var(--gf-ch-primary);
    transition: color 0.15s ease;
}

.gf-checkout-page a:hover {
    color: var(--gf-ch-primary-hover);
}

.gf-checkout-page .text-muted {
    color: var(--gf-ch-muted) !important;
}

/* —— Header —— */
.gf-checkout-header {
    background: var(--gf-ch-surface);
    border-bottom: 1px solid #e2e8f0;
    padding-top: max(1rem, env(safe-area-inset-top, 0px));
    padding-bottom: 1rem;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.gf-checkout-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 5.75rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand steps secure";
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.75rem;
    padding: 0.85rem max(20px, env(safe-area-inset-left, 0px)) 0.85rem
        max(20px, env(safe-area-inset-right, 0px));
}

.gf-checkout-logo {
    grid-area: brand;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    padding: 4px 0;
}

.gf-checkout-logo__img {
    display: block;
    height: 72px;
    width: auto;
    max-width: min(340px, 46vw);
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 767.98px) {
    .gf-checkout-logo__img {
        height: 58px;
        max-width: min(300px, 52vw);
    }
}

@media (max-width: 400px) {
    .gf-checkout-logo__img {
        height: 50px;
        max-width: min(240px, 58vw);
    }
}

/* Stepper: círculo arriba, etiqueta abajo, líneas entre pasos */
.gf-checkout-steps {
    --gf-step-size: 28px;
    --gf-step-blue: #3b82f6;
    --gf-step-line-done: 3px;
    --gf-step-line-pending: 2px;
    grid-area: steps;
    justify-self: center;
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0.15rem 0 0;
    font-size: 0.75rem;
    font-weight: 500;
}

.gf-checkout-steps li {
    flex: 1 1 0;
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 4.5rem;
    color: var(--gf-ch-muted);
}

.gf-checkout-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--gf-step-size) / 2);
    left: calc(50% + var(--gf-step-size) / 2);
    right: calc(-50% + var(--gf-step-size) / 2);
    height: var(--gf-step-line-pending);
    transform: translateY(-50%);
    background: #e5e7eb;
    z-index: 0;
}

.gf-checkout-steps li.is-done:not(:last-child)::after {
    height: var(--gf-step-line-done);
    background: var(--gf-step-blue);
}

.gf-checkout-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    max-width: 7.5rem;
    color: inherit;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
}

a.gf-checkout-step:hover .gf-step-label {
    color: var(--gf-ch-text);
}

.gf-step-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gf-ch-muted);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.gf-checkout-steps .gf-step-num {
    width: var(--gf-step-size);
    height: var(--gf-step-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f1f5f9;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.gf-checkout-steps li.is-done .gf-step-num,
.gf-checkout-steps li.is-active .gf-step-num {
    background: var(--gf-step-blue);
    color: #fff;
}

.gf-checkout-steps li.is-active .gf-step-label {
    font-weight: 700;
    color: var(--gf-ch-text);
}

.gf-checkout-secure {
    grid-area: secure;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.9rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--gf-ch-radius);
    max-width: 260px;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: var(--gf-ch-muted);
}

@media (max-width: 767.98px) {
    .gf-checkout-header-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand secure"
            "steps steps";
    }

    .gf-checkout-steps {
        justify-self: stretch;
        max-width: none;
        --gf-step-size: 26px;
        padding-top: 0.25rem;
    }

    .gf-checkout-steps li {
        min-width: 0;
    }

    .gf-step-label {
        font-size: 0.6875rem;
        white-space: normal;
        max-width: 5.5rem;
    }
}

.gf-checkout-secure i {
    color: var(--gf-ch-accent);
    font-size: 1.15rem;
}

.gf-checkout-secure strong {
    display: block;
    color: var(--gf-ch-text);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

/* —— Main layout —— */
.gf-checkout-main {
    padding-bottom: 3.5rem;
}

.gf-checkout-main > .container-fluid {
    max-width: 1200px;
}

.gf-checkout-main .row {
    margin-top: 0.5rem;
    align-items: flex-start;
}

/* —— Checkout wizard (3 pasos) —— */
.gf-checkout-wizard {
    background: var(--gf-ch-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--gf-ch-radius-lg);
    box-shadow: var(--gf-ch-shadow);
    padding: 1.35rem 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.gf-checkout-wizard__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
}

.gf-checkout-wizard__steps li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    color: var(--gf-ch-muted-soft);
    font-size: 0.75rem;
    font-weight: 600;
}

.gf-checkout-wizard__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    border: 2px solid #cbd5e1;
    background: #fff;
    color: var(--gf-ch-muted);
    font-size: 0.8125rem;
    font-weight: 700;
}

.gf-checkout-wizard__steps li.is-active .gf-checkout-wizard__num {
    border-color: var(--gf-ch-primary);
    color: var(--gf-ch-primary);
}

.gf-checkout-wizard__steps li.is-current .gf-checkout-wizard__num {
    background: var(--gf-ch-primary);
    border-color: var(--gf-ch-primary);
    color: #fff;
}

.gf-checkout-wizard__steps li.is-current .gf-checkout-wizard__label {
    color: var(--gf-ch-text);
}

.gf-checkout-wizard__panel[hidden] {
    display: none !important;
}

.gf-checkout-wizard__kicker {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gf-ch-primary);
}

/* —— Paso 1: formulario + CTA (impacto visual focalizado) —— */
.gf-ch-step1-form {
    position: relative;
    padding: 1.5rem 1.45rem 1.35rem;
    border-radius: 18px;
    background: linear-gradient(165deg, #ffffff 0%, #f8faff 48%, #f1f5ff 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 20px 48px rgba(79, 70, 229, 0.16),
        0 4px 14px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    animation: gf-ch-step1-form-glow 3s ease-in-out infinite;
}

.gf-ch-step1-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1 0%, #3b82f6 35%, #a855f7 65%, #6366f1 100%);
    background-size: 200% 100%;
    animation: gf-ch-step1-bar-slide 3s linear infinite;
}

.gf-ch-step1-form::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, transparent 70%);
    pointer-events: none;
    animation: gf-ch-step1-orb 4s ease-in-out infinite;
}

.gf-ch-step1-form__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.gf-ch-step1-form__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #6366f1 0%, #2563eb 55%, #7c3aed 100%);
    color: #fff;
    font-size: 1.2rem;
    box-shadow:
        0 8px 22px rgba(79, 70, 229, 0.45),
        0 0 0 4px rgba(99, 102, 241, 0.12);
    animation: gf-ch-step1-icon-pulse 2.4s ease-in-out infinite;
}

.gf-ch-step1-form__title {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gf-ch-text);
    letter-spacing: -0.02em;
}

.gf-ch-step1-form__subtitle {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--gf-ch-muted);
    line-height: 1.45;
}

.gf-ch-step1-form__trust {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.gf-ch-step1-form__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #4338ca;
    background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.12);
}

.gf-ch-step1-form__trust li i.fa-whatsapp {
    color: #16a34a;
}

.gf-ch-step1-form .form-group {
    position: relative;
    z-index: 1;
    margin-bottom: 1.05rem;
}

.gf-ch-step1-form .gf-ch-field-label {
    font-size: 0.84375rem;
    font-weight: 700;
}

.gf-ch-step1-input {
    background: #fff !important;
    border: 2px solid #cbd5e1 !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
    min-height: 3.15rem !important;
    font-size: 0.96875rem !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.25s ease,
        transform 0.18s ease;
}

.gf-ch-step1-input:hover {
    border-color: #818cf8 !important;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.1);
}

.gf-ch-step1-input:focus {
    border-color: #6366f1 !important;
    box-shadow:
        0 0 0 5px rgba(99, 102, 241, 0.22),
        0 8px 20px rgba(79, 70, 229, 0.18) !important;
    transform: translateY(-2px);
}

.gf-ch-step1-field-hint {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.6rem 0 0;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: linear-gradient(90deg, #eff6ff 0%, #f5f3ff 100%);
    border: 1px solid #c7d2fe;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #4338ca;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.gf-ch-step1-field-hint i {
    margin-top: 0.1rem;
    color: #6366f1;
    font-size: 0.8rem;
}

.gf-ch-step1-actions {
    position: relative;
    margin-top: 1.5rem;
    padding-top: 0.25rem;
}

.gf-ch-step1-actions::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 28%;
    height: 55%;
    border-radius: 999px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.45) 0%, transparent 72%);
    filter: blur(18px);
    pointer-events: none;
    animation: gf-ch-step1-cta-ambient 2.4s ease-in-out infinite;
}

.gf-ch-step1-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    flex-direction: column;
    gap: 0;
    min-height: 3.85rem !important;
    padding: 1.05rem 1.35rem !important;
    margin-top: 0 !important;
    border-radius: 16px !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    background: linear-gradient(
        105deg,
        #4f46e5 0%,
        #2563eb 38%,
        #7c3aed 72%,
        #6366f1 100%
    ) !important;
    background-size: 240% 240% !important;
    animation:
        gf-ch-step1-cta-glow 1.8s ease-in-out infinite,
        gf-ch-step1-cta-gradient 3.5s ease infinite,
        gf-ch-step1-cta-scale 2.2s ease-in-out infinite;
}

.gf-ch-step1-cta::before {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, 0.35);
    opacity: 0;
    pointer-events: none;
    animation: gf-ch-step1-cta-ring 2s ease-out infinite;
}

.gf-ch-step1-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        105deg,
        transparent 28%,
        rgba(255, 255, 255, 0.15) 42%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.15) 58%,
        transparent 72%
    );
    transform: translateX(-170%) skewX(-14deg);
    pointer-events: none;
    animation: gf-ch-step1-cta-shine 2.1s ease-in-out infinite;
}

.gf-ch-step1-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
}

.gf-ch-step1-cta__main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.gf-ch-step1-cta__main .fa-lock {
    animation: gf-ch-step1-lock-bounce 2.5s ease-in-out infinite;
}

.gf-ch-step1-cta__arrow {
    font-size: 0.9rem;
    transition: transform 0.22s ease;
}

.gf-ch-step1-cta:hover,
.gf-ch-step1-cta:focus {
    transform: translateY(-4px) scale(1.025);
    animation: none;
    filter: brightness(1.08);
    box-shadow:
        0 20px 48px rgba(99, 102, 241, 0.55),
        0 0 0 6px rgba(99, 102, 241, 0.18) !important;
}

.gf-ch-step1-cta:hover .gf-ch-step1-cta__arrow,
.gf-ch-step1-cta:focus .gf-ch-step1-cta__arrow {
    transform: translateX(6px);
}

.gf-ch-step1-cta:active {
    transform: translateY(-1px) scale(1.01);
}

.gf-ch-step1-cta__sub {
    font-size: 0.71875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: none;
    opacity: 0.96;
}

.gf-ch-step1-footnote {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 50%, #dcfce7 100%);
    border: 1px solid #86efac;
    text-align: center;
    font-size: 0.78125rem;
    font-weight: 700;
    color: #14532d;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.15);
}

.gf-ch-step1-footnote i {
    color: #16a34a;
    font-size: 0.9rem;
}

@keyframes gf-ch-step1-form-glow {
    0%,
    100% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.95) inset,
            0 20px 48px rgba(79, 70, 229, 0.14),
            0 4px 14px rgba(15, 23, 42, 0.06);
    }
    50% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.95) inset,
            0 24px 56px rgba(79, 70, 229, 0.22),
            0 0 0 1px rgba(99, 102, 241, 0.08);
    }
}

@keyframes gf-ch-step1-bar-slide {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes gf-ch-step1-orb {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-8px, 6px) scale(1.08);
        opacity: 1;
    }
}

@keyframes gf-ch-step1-icon-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 8px 22px rgba(79, 70, 229, 0.45),
            0 0 0 4px rgba(99, 102, 241, 0.12);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 10px 28px rgba(79, 70, 229, 0.55),
            0 0 0 7px rgba(99, 102, 241, 0.18);
    }
}

@keyframes gf-ch-step1-cta-glow {
    0%,
    100% {
        box-shadow:
            0 12px 32px rgba(99, 102, 241, 0.45),
            0 0 0 0 rgba(99, 102, 241, 0.35);
    }
    50% {
        box-shadow:
            0 18px 44px rgba(99, 102, 241, 0.58),
            0 0 0 10px rgba(99, 102, 241, 0.12);
    }
}

@keyframes gf-ch-step1-cta-scale {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.018);
    }
}

@keyframes gf-ch-step1-cta-gradient {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes gf-ch-step1-cta-shine {
    0%,
    52% {
        transform: translateX(-170%) skewX(-14deg);
    }
    100% {
        transform: translateX(170%) skewX(-14deg);
    }
}

@keyframes gf-ch-step1-cta-ring {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.06);
        opacity: 0;
    }
}

@keyframes gf-ch-step1-cta-ambient {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

@keyframes gf-ch-step1-lock-bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@media (max-width: 575.98px) {
    .gf-ch-step1-form__trust {
        flex-direction: column;
    }

    .gf-ch-step1-form__trust li {
        width: 100%;
        justify-content: center;
    }

    .gf-ch-step1-cta__main {
        font-size: 0.875rem;
        letter-spacing: 0.05em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-ch-step1-form,
    .gf-ch-step1-form__icon,
    .gf-ch-step1-cta,
    .gf-ch-step1-actions::before {
        animation: none;
    }

    .gf-ch-step1-form::before,
    .gf-ch-step1-cta::before,
    .gf-ch-step1-cta::after {
        animation: none;
    }

    .gf-ch-step1-cta::after {
        display: none;
    }

    .gf-ch-step1-input:focus {
        transform: none;
    }

    .gf-ch-step1-cta__main .fa-lock {
        animation: none;
    }
}

.gf-checkout-wizard__actions {
    margin-top: 1.25rem;
}

.gf-checkout-wizard__actions--split {
    display: flex;
    gap: 0.75rem;
}

.gf-checkout-wizard__actions--split .gf-btn-checkout,
.gf-checkout-wizard__actions--split .gf-checkout-wizard__back {
    flex: 1;
}

.gf-checkout-wizard__next {
    width: 100%;
}

.gf-checkout-wizard__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.65rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: var(--gf-ch-text);
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gf-checkout-wizard__back:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.gf-checkout-wizard__hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gf-ch-ship-methods {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.35rem;
}

.gf-ch-ship-method {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.gf-ch-ship-method input {
    margin-top: 0.2rem;
}

.gf-ch-ship-method__text {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.35;
}

.gf-ch-shipping-estimate {
    margin: 0.85rem 0 0;
    font-size: 0.86rem;
    color: #475569;
}

.gf-checkout-paybox--wizard {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.gf-checkout-paybox--wizard .gf-btn-checkout {
    width: 100%;
    margin-top: 1rem;
}

/* —— Form stack / accordion —— */
.gf-checkout-forms-stack {
    border-radius: var(--gf-ch-radius-lg);
    padding: 0;
    background: transparent;
    box-shadow: none;
    margin-bottom: 1.5rem;
}

.gf-checkout-accordion .card,
.gf-checkout-acc-card {
    background: var(--gf-ch-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--gf-ch-radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--gf-ch-shadow);
    transition: box-shadow 0.2s ease;
}

.gf-checkout-acc-card:hover {
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05), 0 12px 28px rgba(15, 23, 42, 0.08);
}

.gf-checkout-accordion .card-header {
    background: transparent;
    border: none;
    padding: 0;
}

.gf-checkout-accordion .btn-link {
    width: 100%;
    text-align: left;
    color: var(--gf-ch-text) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0;
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: none;
    box-shadow: none !important;
    background: transparent;
}

.gf-checkout-accordion .btn-link:hover {
    background: #f8fafc;
    color: var(--gf-ch-text) !important;
}

.gf-acc-head-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.gf-acc-head-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.gf-acc-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--gf-ch-text);
    line-height: 1.3;
}

.gf-acc-sub {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gf-ch-muted);
    line-height: 1.4;
}

.gf-acc-head-icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 100%);
}

.gf-acc-head-icon-cart,
.gf-acc-head-icon-lg {
    color: var(--gf-ch-primary);
    font-size: 1.1rem;
}

.gf-acc-head-icon-check {
    display: none;
}

.gf-acc-chevron {
    color: var(--gf-ch-muted-soft);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.2s ease;
}

.gf-checkout-accordion .btn-link:not(.collapsed) .gf-acc-chevron {
    transform: rotate(180deg);
    color: var(--gf-ch-primary);
}

.gf-checkout-accordion .card-body {
    border-top: 1px solid #f1f5f9;
    color: var(--gf-ch-muted);
    font-size: 0.875rem;
    padding: 1.35rem 1.35rem 1.5rem;
}

/* —— Labels —— */
.gf-ch-field-label,
.gf-checkout-page label,
.gf-checkout-page .gf-ch-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gf-ch-text);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.gf-ch-ico,
.gf-ch-ico-inline {
    color: var(--gf-ch-accent);
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

.gf-ch-opt {
    color: var(--gf-ch-muted-soft);
    font-weight: 400;
}

/* —— Inputs (bordes muy visibles) —— */
.gf-checkout-page .form-control {
    background-color: #fff;
    border: 2px solid var(--gf-ch-border);
    color: var(--gf-ch-text);
    border-radius: var(--gf-ch-radius);
    padding: 0.75rem 1rem;
    min-height: var(--gf-ch-input-h);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gf-checkout-page .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.gf-checkout-page .form-control:hover {
    border-color: var(--gf-ch-border-strong);
}

.gf-checkout-page .form-control:focus {
    background-color: #fff;
    border-color: var(--gf-ch-accent);
    color: var(--gf-ch-text);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    outline: none;
}

.gf-checkout-page .custom-select {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3e%3cpath d='M4.5 6L8 9.5 11.5 6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    border: 2px solid var(--gf-ch-border);
    color: var(--gf-ch-text);
    border-radius: var(--gf-ch-radius);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    min-height: var(--gf-ch-input-h);
    font-size: 0.9375rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gf-checkout-page .custom-select:hover {
    border-color: var(--gf-ch-border-strong);
}

.gf-checkout-page .custom-select:focus {
    border-color: var(--gf-ch-accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    outline: none;
}

.gf-ch-phone-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.gf-ch-wa-append {
    background: #f0fdf4 !important;
    border: 2px solid var(--gf-ch-border) !important;
    border-left: none !important;
    color: #16a34a !important;
    border-radius: 0 var(--gf-ch-radius) var(--gf-ch-radius) 0 !important;
    padding: 0 1rem !important;
    min-height: var(--gf-ch-input-h);
    display: flex;
    align-items: center;
}

.gf-ch-wa-append .fab {
    font-size: 1.25rem;
}

.gf-ch-phone-group:focus-within .form-control,
.gf-ch-phone-group:focus-within .gf-ch-wa-append {
    border-color: var(--gf-ch-accent);
}

.gf-ch-phone-group:focus-within .form-control {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

/* —— Checkboxes / radios —— */
.gf-checkout-page .custom-control-label {
    color: var(--gf-ch-text);
    font-size: 0.875rem;
    padding-left: 0.15rem;
    cursor: pointer;
}

.gf-checkout-page .custom-control-label::before {
    background-color: #fff;
    border: 2px solid var(--gf-ch-border);
    box-shadow: none;
    top: 0.15rem;
}

.gf-checkout-page .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    border-color: var(--gf-ch-accent);
}

.gf-checkout-page .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--gf-ch-primary);
    border-color: var(--gf-ch-primary);
}

.gf-checkout-page .custom-control-input:checked ~ .custom-control-label {
    font-weight: 600;
    color: var(--gf-ch-text);
}

.gf-ch-checkbox-label {
    line-height: 1.4;
}

.gf-ch-cb-title {
    display: block;
    font-weight: 600;
    color: var(--gf-ch-text);
    font-size: 0.875rem;
}

.gf-ch-cb-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--gf-ch-muted);
    margin-top: 0.2rem;
    font-weight: 400;
}

.gf-ch-alt-ship-wrap {
    border-color: #e2e8f0 !important;
    margin-top: 0.5rem;
}

.gf-checkout-page .border-top {
    border-top-color: #e2e8f0 !important;
}

.gf-ch-pay-hint {
    font-size: 0.875rem;
    color: var(--gf-ch-muted);
    line-height: 1.55;
    padding: 0.85rem 1rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--gf-ch-radius);
}

.gf-ch-pay-hint em {
    color: var(--gf-ch-text);
    font-style: normal;
    font-weight: 600;
}

/* —— Sidebar: resumen + pago (sticky como bloque único) —— */
.gf-checkout-sidebar {
    position: sticky;
    top: 1rem;
    align-self: flex-start;
    width: 100%;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.gf-checkout-summary {
    background: var(--gf-ch-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--gf-ch-radius-lg);
    padding: 1.5rem 1.5rem 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--gf-ch-shadow);
}

.gf-checkout-summary__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.gf-checkout-summary__title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--gf-ch-text);
}

.gf-checkout-summary__edit {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gf-ch-primary) !important;
}

.gf-checkout-line {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.gf-checkout-line:last-of-type {
    border-bottom: none;
}

.gf-checkout-line img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.gf-checkout-line__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gf-ch-text);
    margin: 0 0 0.2rem;
    line-height: 1.35;
}

.gf-checkout-line__meta {
    font-size: 0.75rem;
    color: var(--gf-ch-muted);
    margin: 0;
}

.gf-checkout-line__price {
    margin-left: auto;
    font-weight: 700;
    color: var(--gf-ch-text);
    font-size: 0.9375rem;
    white-space: nowrap;
}

.gf-checkout-totals {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.gf-checkout-totals .row-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.55rem;
    color: var(--gf-ch-muted);
}

.gf-checkout-totals .row-line strong {
    color: var(--gf-ch-text);
    font-weight: 600;
}

.gf-checkout-totals .row-discount {
    color: var(--gf-ch-success);
}

.gf-checkout-totals .row-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.gf-checkout-totals .row-total span:first-child {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gf-ch-muted);
}

.gf-checkout-totals .row-total .gf-ch-total-num {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gf-ch-text);
}

.gf-checkout-cuotas {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--gf-ch-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0.9rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--gf-ch-radius);
    line-height: 1.45;
}

.gf-checkout-cuotas i {
    color: var(--gf-ch-accent);
    margin-top: 0.1rem;
}

/* —— Pay box + CTA —— */
.gf-checkout-paybox {
    background: var(--gf-ch-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--gf-ch-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--gf-ch-shadow);
}

.gf-checkout-paybox__intro {
    margin-bottom: 1.25rem;
}

.gf-checkout-paybox__title {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: none;
    margin: 0 0 0.35rem;
    color: var(--gf-ch-text);
    line-height: 1.2;
}

.gf-checkout-paybox__secure {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gf-ch-muted);
    line-height: 1.45;
}

/* Mercado Pago — una fila: radio | título | logos */
.gf-mp-pay-option {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    background: var(--gf-ch-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gf-mp-pay-option.is-selected {
    border-color: var(--gf-ch-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.gf-mp-pay-option__head {
    background: #f8f9ff;
    border-bottom: 1px solid #e8eaf6;
}

.gf-mp-pay-option.is-selected .gf-mp-pay-option__head {
    background: linear-gradient(180deg, #f5f3ff 0%, #eef2ff 100%);
    border-bottom-color: #ddd6fe;
}

.gf-mp-pay-option__row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    margin: 0;
    padding: 0.85rem 1rem;
    cursor: pointer;
}

.gf-mp-pay-option__radio {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.2rem 0 0;
    flex-shrink: 0;
    accent-color: var(--gf-ch-primary);
    cursor: pointer;
}

.gf-mp-pay-option__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gf-mp-pay-option__title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gf-ch-text);
    line-height: 1.3;
    text-align: left;
}

.gf-mp-pay-option__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    width: 100%;
}

.gf-mp-pay-logo {
    display: block;
    height: 24px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

.gf-mp-pay-logo--mp {
    height: 24px;
    max-height: 24px;
}

.gf-mp-pay-logo--cards {
    height: 22px;
    max-height: 22px;
    opacity: 0.98;
}

.gf-mp-pay-option__body {
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gf-ch-muted);
    line-height: 1.45;
    text-align: left;
    background: #f1f5f9;
}

.gf-mp-pay-option:not(.is-selected) .gf-mp-pay-option__body {
    display: none;
}

.gf-mp-pay-option:not(.is-selected) .gf-mp-pay-option__head {
    border-bottom: none;
}

/* Flow — pantalla de pago v2 */
.gf-checkout-paybox--v2 {
    padding: 1.35rem 1.25rem 1.5rem;
}

.gf-checkout-paybox__intro--v2 {
    margin-bottom: 1rem;
}

.gf-checkout-paybox__intro-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.gf-checkout-paybox__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.gf-checkout-paybox__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #7c3aed;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.gf-checkout-paybox--v2 .gf-checkout-paybox__title {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gf-checkout-paybox__trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #f5f3ff;
    color: #6d28d9;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
}

.gf-checkout-paybox--v2 .gf-checkout-paybox__secure {
    margin: 0;
    font-size: 0.84rem;
    color: #64748b;
}

.gf-checkout-paybox--v2 .gf-checkout-paybox__secure strong {
    color: #2563eb;
    font-weight: 700;
}

.gf-flow-pay-methods {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

.gf-flow-pay-option {
    position: relative;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gf-flow-pay-option:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.gf-flow-pay-option.is-selected {
    border-color: #ef4444;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.gf-flow-pay-option--transfer.is-selected {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.gf-flow-pay-option__ribbon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 0.28rem 0.65rem 0.28rem 0.75rem;
    border-radius: 0 11px 0 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.gf-flow-pay-option__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 0.95rem;
    margin: 0;
    cursor: pointer;
    width: 100%;
}

.gf-flow-pay-option--featured .gf-flow-pay-option__row {
    padding-top: 1.15rem;
}

.gf-flow-pay-option__radio {
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: #ef4444;
    cursor: pointer;
}

.gf-flow-pay-option--transfer .gf-flow-pay-option__radio {
    accent-color: #6366f1;
}

.gf-flow-pay-option__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    flex-shrink: 0;
    font-size: 1rem;
    position: relative;
}

.gf-flow-pay-option__icon--card {
    background: #eff6ff;
    color: #2563eb;
}

.gf-flow-pay-option__icon--cuotas {
    background: #ecfeff;
    color: #0891b2;
    flex-direction: column;
    gap: 0;
    font-size: 0.72rem;
    line-height: 1;
}

.gf-flow-pay-option__icon--cuotas-6 {
    background: #f5f3ff;
    color: #7c3aed;
}

.gf-flow-pay-option__icon--cuotas-12 {
    background: #fef2f2;
    color: #dc2626;
}

.gf-flow-pay-option__icon--khipu {
    background: #ecfdf5;
    color: #059669;
}

.gf-flow-pay-option__icon--etpay {
    background: #eff6ff;
    color: #2563eb;
}

.gf-flow-pay-option__icon--transfer {
    background: #eef2ff;
    color: #4f46e5;
}

.gf-flow-pay-option__icon-num {
    font-size: 0.72rem;
    font-weight: 800;
    margin-top: -0.1rem;
}

.gf-flow-pay-option__main {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    flex: 1;
}

.gf-flow-pay-option__title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #0f172a;
    line-height: 1.3;
}

.gf-flow-pay-option__desc {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.4;
}

.gf-flow-pay-option__aside {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.gf-flow-pay-brand-img-wrap {
    width: 120px;
    height: 34px;
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
}

.gf-checkout-paybox--v2 .gf-flow-pay-brand-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 120px;
    max-height: 34px;
    object-fit: contain;
    object-position: center;
    border: none;
    background: transparent;
    flex-shrink: 0;
}

.gf-flow-pay-option__cards {
    display: block;
    max-width: 118px;
    width: auto;
    height: auto;
    max-height: 22px;
    object-fit: contain;
}

.gf-flow-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 0.55rem;
    border-radius: 8px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
    line-height: 1.2;
}

.gf-flow-pay-badge--cuotas-3 {
    background: #ecfeff;
    color: #0891b2;
}

.gf-flow-pay-badge--cuotas-6 {
    background: #f5f3ff;
    color: #7c3aed;
}

.gf-flow-pay-badge--cuotas-12 {
    background: #fef2f2;
    color: #dc2626;
}

.gf-flow-pay-badge--khipu {
    background: #ecfdf5;
    color: #059669;
}

.gf-flow-pay-badge--etpay {
    background: #eff6ff;
    color: #2563eb;
}

.gf-flow-pay-coupon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    border: 1.5px dashed #cbd5e1;
    color: #94a3b8;
    font-size: 0.95rem;
}

.gf-flow-pay-option--transfer {
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
}

.gf-flow-pay-redirect-note {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: #5b21b6;
    margin: 0 0 0.65rem;
    padding: 0.7rem 0.85rem;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 10px;
    line-height: 1.45;
}

.gf-flow-pay-redirect-note i {
    color: #7c3aed;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.gf-flow-pay-redirect-note[hidden] {
    display: none !important;
}

.gf-checkout-paybox--v2 .gf-btn-checkout--v2 {
    margin-top: 0.85rem;
    min-height: 3.35rem;
    border-radius: 12px;
    background: linear-gradient(105deg, #38bdf8 0%, #2563eb 55%, #1d4ed8 100%) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
    font-size: 0.88rem;
    letter-spacing: 0.05em;
}

.gf-checkout-paybox--v2 .gf-btn-checkout--v2:hover:not(:disabled) {
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.34);
    filter: brightness(1.03);
}

.gf-checkout-ssl--v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    font-size: 0.76rem;
    color: #94a3b8;
    text-align: center;
}

.gf-checkout-ssl--v2 i {
    color: #64748b;
}

@media (max-width: 575.98px) {
    .gf-checkout-paybox__intro-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .gf-checkout-paybox__trust-badge {
        align-self: flex-end;
    }

    .gf-flow-pay-option__row {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .gf-flow-pay-option__aside {
        flex: 0 0 108px;
        width: 108px;
        min-width: 108px;
        max-width: 108px;
        height: 32px;
        padding-left: calc(1.05rem + 2.35rem + 0.75rem);
        justify-content: flex-start;
        margin-top: 0.15rem;
    }

    .gf-flow-pay-brand-img-wrap {
        width: 108px;
        height: 32px;
        flex: 0 0 108px;
    }

    .gf-checkout-paybox--v2 .gf-flow-pay-brand-img {
        max-width: 108px;
        max-height: 32px;
    }
}

.gf-pay-option-transfer {
    margin-top: 0.25rem;
}

.gf-checkout-paybox .custom-control {
    padding: 1rem 1rem 1rem 2.5rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--gf-ch-radius);
    margin-bottom: 0.75rem;
    background: #fafbfc;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gf-checkout-paybox .custom-control:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.gf-checkout-paybox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--gf-ch-primary);
    border-color: var(--gf-ch-primary);
}

.gf-checkout-paybox .custom-control:has(.custom-control-input:checked) {
    border-color: var(--gf-ch-primary);
    background: #f5f3ff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.gf-checkout-paybox .custom-control-label {
    cursor: pointer;
    width: 100%;
    color: var(--gf-ch-text);
    font-weight: 600;
    font-size: 0.9375rem;
}

.gf-checkout-paybox .custom-control-label::before {
    top: 1.05rem;
    left: -2.5rem;
}

.gf-checkout-paybox .custom-control-label::after {
    top: 1.05rem;
    left: -2.5rem;
}

.gf-checkout-paybox .custom-control-label small {
    display: block;
    font-weight: 400;
    color: var(--gf-ch-muted);
    margin-top: 0.3rem;
    font-size: 0.8125rem;
}

.gf-checkout-pay-logos img {
    height: 20px;
    width: auto;
    opacity: 0.95;
}

/* CTA principal — gradiente premium */
.gf-btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 1.35rem;
    padding: 1.05rem 1.25rem;
    min-height: 3.25rem;
    font-weight: 800;
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(
        105deg,
        var(--gf-ch-cta-start) 0%,
        var(--gf-ch-cta-mid) 45%,
        var(--gf-ch-cta-end) 100%
    ) !important;
    border: none !important;
    border-radius: var(--gf-ch-radius);
    box-shadow: var(--gf-ch-shadow-hover);
    transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.gf-btn-checkout:hover:not(:disabled) {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
    filter: brightness(1.05);
}

.gf-btn-checkout:active:not(:disabled) {
    transform: translateY(0);
}

.gf-btn-checkout:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.gf-checkout-ssl {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gf-ch-muted);
    margin-top: 1rem;
    line-height: 1.45;
}

.gf-checkout-ssl i {
    color: var(--gf-ch-accent);
}

/* —— Trust bar (social proof) —— */
.gf-checkout-trust {
    background: var(--gf-ch-surface);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem 1rem;
    margin-top: 1rem;
}

.gf-checkout-trust .container-fluid {
    max-width: 1000px;
}

.gf-checkout-trust-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
}

.gf-checkout-trust-item i {
    color: var(--gf-ch-accent);
    font-size: 1.35rem;
    margin-bottom: 0.55rem;
    display: block;
}

.gf-checkout-trust-item p {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gf-ch-text);
    line-height: 1.35;
}

/* —— Footer —— */
.gf-checkout-foot {
    background: var(--gf-ch-dark);
    border-top: none;
    padding: 1.75rem 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: #94a3b8;
}

.gf-checkout-foot a {
    color: #e2e8f0;
    font-weight: 500;
}

.gf-checkout-foot a:hover {
    color: #fff;
}

.gf-checkout-btt {
    background: var(--gf-ch-surface) !important;
    border: 2px solid #e2e8f0 !important;
    color: var(--gf-ch-primary) !important;
    box-shadow: var(--gf-ch-shadow);
}

.gf-checkout-btt:hover {
    background: #f8fafc !important;
    color: var(--gf-ch-primary-hover) !important;
}

.gf-checkout-empty-msg {
    color: var(--gf-ch-muted);
    font-size: 0.9rem;
}

.gf-checkout-card {
    background: var(--gf-ch-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--gf-ch-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--gf-ch-shadow);
}

/* —— Móvil —— */
@media (max-width: 991.98px) {
    .gf-checkout-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .gf-checkout-summary {
        margin-top: 0.5rem;
    }

    .gf-checkout-secure {
        max-width: none;
    }

    .gf-checkout-main .col-lg-8,
    .gf-checkout-main .col-lg-4 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .gf-checkout-page .form-control,
    .gf-checkout-page .custom-select {
        font-size: 16px;
        min-height: 3.125rem;
    }

    .gf-btn-checkout {
        min-height: 3.5rem;
        font-size: 1rem;
    }

    .gf-checkout-paybox {
        margin-bottom: 1rem;
    }

    .gf-mp-pay-option__row {
        padding: 0.75rem 0.85rem;
    }

    .gf-mp-pay-option__title {
        font-size: 0.78rem;
    }

    .gf-mp-pay-logo--mp {
        height: 22px;
    }

    .gf-mp-pay-logo--cards {
        height: 20px;
    }
}

@media (max-width: 575.98px) {
    .gf-checkout-header-inner {
        min-height: auto;
    }

    .gf-acc-title {
        font-size: 0.9375rem;
    }

    .gf-checkout-accordion .btn-link {
        padding: 1rem 1.1rem;
    }

    .gf-checkout-accordion .card-body {
        padding: 1.1rem;
    }
}

/* —— Modal transferencia bancaria —— */
.gf-transfer-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gf-transfer-modal.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.gf-transfer-modal[hidden] {
    display: none !important;
}

.gf-transfer-modal.is-open[hidden] {
    display: flex !important;
}

.gf-transfer-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.gf-transfer-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: var(--gf-ch-surface);
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
    padding: 1.35rem 1.35rem 1.15rem;
}

.gf-transfer-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gf-transfer-modal__head-main {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.gf-transfer-modal__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.gf-transfer-modal__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gf-ch-text);
    line-height: 1.2;
}

.gf-transfer-modal__subtitle {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: var(--gf-ch-muted);
}

.gf-transfer-modal__close {
    border: none;
    background: transparent;
    color: var(--gf-ch-muted);
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.35rem;
    cursor: pointer;
    border-radius: 8px;
}

.gf-transfer-modal__close:hover {
    color: var(--gf-ch-text);
    background: #f1f5f9;
}

.gf-transfer-modal__notice,
.gf-transfer-modal__important {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #f5f3ff;
    border: 1px solid #e9d5ff;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #4338ca;
}

.gf-transfer-modal__notice {
    margin-bottom: 1.15rem;
}

.gf-transfer-modal__notice i,
.gf-transfer-modal__important i {
    color: var(--gf-ch-primary);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.gf-transfer-modal__notice p,
.gf-transfer-modal__important p {
    margin: 0;
}

.gf-transfer-modal__pick {
    margin: 0 0 0.85rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gf-ch-text);
}

.gf-transfer-modal__accounts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gf-transfer-account {
    display: block;
    margin: 0;
    cursor: pointer;
}

.gf-transfer-account__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gf-transfer-account__card {
    display: block;
    height: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1rem 0.85rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.gf-transfer-account__card::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff;
    box-sizing: border-box;
}

.gf-transfer-account.is-selected .gf-transfer-account__card,
.gf-transfer-account__radio:checked + .gf-transfer-account__card {
    border-color: var(--gf-ch-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.gf-transfer-account.is-selected .gf-transfer-account__card::before,
.gf-transfer-account__radio:checked + .gf-transfer-account__card::before {
    border-color: var(--gf-ch-primary);
    background: var(--gf-ch-primary);
    box-shadow: inset 0 0 0 3px #fff;
}

.gf-transfer-account__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0 0 0.9rem 1.75rem;
    min-height: 0;
    width: calc(100% - 1.75rem);
    max-width: 100%;
}

.gf-transfer-account__brand img {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

.gf-transfer-account__brand img[alt="Mercado Pago"] {
    height: 56px;
}

.gf-transfer-account__brand img[alt="Scotiabank"] {
    height: 48px;
}

.gf-transfer-account__badge {
    align-self: flex-start;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gf-ch-primary);
    background: #eef2ff;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    white-space: nowrap;
}

.gf-transfer-account__rows {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.gf-transfer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.1rem 0.35rem;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.gf-transfer-row:last-child {
    border-bottom: none;
}

.gf-transfer-row__label {
    grid-column: 1;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gf-ch-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gf-transfer-row__value {
    grid-column: 1;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gf-ch-text);
    word-break: break-word;
}

.gf-transfer-row--amount .gf-transfer-row__value {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--gf-ch-primary);
}

.gf-transfer-row__copy {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    border: none;
    background: transparent;
    color: var(--gf-ch-primary);
    padding: 0.25rem;
    cursor: pointer;
    border-radius: 6px;
    line-height: 1;
}

.gf-transfer-row__copy:hover {
    background: #eef2ff;
}

.gf-transfer-row__copy.is-copied {
    color: #16a34a;
}

.gf-transfer-modal__important {
    margin-bottom: 1rem;
}

.gf-transfer-modal__footer {
    display: flex;
    justify-content: flex-end;
}

.gf-transfer-modal__wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    border: 2px solid var(--gf-ch-primary);
    background: #fff;
    color: var(--gf-ch-primary);
    font-weight: 700;
    font-size: 0.875rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.gf-transfer-modal__wa-btn:hover {
    background: #eef2ff;
    color: var(--gf-ch-primary-hover);
}

.gf-checkout-paybox .gf-pay-option-transfer.is-selected,
.gf-checkout-paybox .gf-pay-option-transfer:has(#gf-pay-transfer:checked) {
    border-color: var(--gf-ch-primary);
    background: #fafaff;
}

body.gf-transfer-modal-open {
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .gf-transfer-modal__accounts {
        grid-template-columns: 1fr;
    }

    .gf-transfer-account__brand {
        width: calc(100% - 1.75rem);
        margin-bottom: 1rem;
    }

    .gf-transfer-account__brand img[alt="Mercado Pago"] {
        height: 88px;
        max-width: min(100%, 320px);
    }

    .gf-transfer-account__brand img[alt="Scotiabank"] {
        height: 76px;
        max-width: min(100%, 300px);
    }

    .gf-transfer-modal__panel {
        padding: 1.1rem 1rem;
    }

    .gf-transfer-modal__footer {
        justify-content: stretch;
    }

    .gf-transfer-modal__wa-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .gf-transfer-account__brand {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        width: auto;
    }

    .gf-transfer-account__brand img[alt="Mercado Pago"] {
        height: 64px;
        max-width: min(100%, 240px);
    }

    .gf-transfer-account__brand img[alt="Scotiabank"] {
        height: 54px;
        max-width: min(100%, 220px);
    }
}

.gf-flow-pay-methods--transfer-only {
    margin-bottom: 0;
}

.gf-flow-pay-redirect-note--transfer {
    display: block !important;
    margin-top: 14px;
}

.gf-btn-transfer-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border: 1px dashed #94a3b8;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.gf-btn-transfer-details:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.gf-checkout-steps-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.1rem 1.25rem 1.2rem;
}

.gf-checkout-steps-bar .gf-checkout-steps {
    width: min(420px, 100%);
    margin: 0 auto;
}

.gf-checkout-steps-bar .gf-checkout-secure {
    position: absolute;
    right: 1.25rem;
}

@media (max-width: 767.98px) {
    .gf-checkout-steps-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .gf-checkout-steps-bar .gf-checkout-secure {
        position: static;
        max-width: none;
    }
}
