.aux-payment-response {
    --status-color: #2563eb;
    --status-dark: #1e40af;
    --status-soft: #eff6ff;
    --status-border: #bfdbfe;
    box-sizing: border-box;
    width: 100%;
    padding: clamp(24px, 5vw, 64px) 16px;
    color: #172033;
}

.aux-giveaway-dialog {
    width: min(540px, calc(100% - 28px));
    max-width: 540px;
    overflow: hidden;
    padding: 0;
    color: #17212b;
    background: linear-gradient(180deg, #f7fbff 0, #fff 42%);
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    transition: opacity 280ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.aux-giveaway-dialog.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.aux-giveaway-dialog::backdrop {
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(2px);
    animation: aux-giveaway-backdrop-in 320ms ease both;
}

.aux-giveaway-dialog__content {
    position: relative;
    z-index: 2;
    padding: 30px 42px 32px;
    text-align: center;
}

.aux-giveaway-dialog__close {
    position: absolute;
    z-index: 4;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #5b6470;
    font-size: 25px;
    line-height: 30px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.aux-giveaway-dialog__close:hover,
.aux-giveaway-dialog__close:focus {
    color: #17212b;
    background: #f1f3f5;
}

.aux-giveaway-dialog__eyebrow {
    margin: 4px 0 10px;
    color: #315f8c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aux-giveaway-dialog h2 {
    margin: 0 0 12px;
    color: #17212b;
    font-size: clamp(25px, 5vw, 34px);
    line-height: 1.12;
}

.aux-giveaway-dialog__content > p:not(.aux-giveaway-dialog__eyebrow):not(.aux-giveaway-dialog__feedback):not(.aux-giveaway-dialog__note) {
    margin: 0;
    color: #59636e;
    font-size: 16px;
    line-height: 1.55;
}

.aux-giveaway-dialog__prize {
    margin: 22px 0;
    padding: 15px 18px;
    text-align: left;
    background: #f1f6fb;
    border: 1px solid #d8e5f0;
    border-radius: 9px;
}

.aux-giveaway-dialog__prize span,
.aux-giveaway-dialog__prize strong {
    display: block;
}

.aux-giveaway-dialog__prize span {
    margin-bottom: 5px;
    color: #6b7580;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.aux-giveaway-dialog__prize strong {
    font-size: 17px;
}

.aux-giveaway-dialog__button {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 50px;
    padding: 10px 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: #315f8c;
    border: 1px solid #315f8c;
    border-radius: 8px;
    cursor: pointer;
}

.aux-giveaway-dialog__button:hover,
.aux-giveaway-dialog__button:focus {
    background: #234b72;
    border-color: #234b72;
}

.aux-giveaway-dialog__button::after {
    position: absolute;
    top: -60%;
    left: -35%;
    width: 28%;
    height: 220%;
    background: rgba(255, 255, 255, 0.24);
    transform: rotate(20deg);
    transition: left 500ms ease;
    content: "";
}

.aux-giveaway-dialog__button:hover::after,
.aux-giveaway-dialog__button:focus::after {
    left: 110%;
}

.aux-giveaway-dialog__button:disabled {
    opacity: 0.72;
    cursor: default;
}

.aux-giveaway-dialog__feedback {
    min-height: 22px;
    margin: 12px 0 0;
    color: #b42318;
    font-size: 13px;
    line-height: 1.45;
}

.aux-giveaway-dialog__feedback.is-success {
    color: #067647;
    font-weight: 600;
}

.aux-giveaway-dialog__note {
    margin: 12px 0 0;
    color: #77818c;
    font-size: 11px;
    line-height: 1.45;
}

.aux-giveaway-dialog__visual {
    width: 120px;
    height: 120px;
    margin: -4px auto 0;
}

.aux-giveaway-dialog__visual svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 10px 16px rgba(49, 95, 140, 0.16));
}

.aux-gift-svg__halo {
    fill: #e8f2fb;
}

.aux-gift-svg__box,
.aux-gift-svg__lid {
    fill: #315f8c;
}

.aux-gift-svg__lid {
    fill: #3e75a9;
}

.aux-gift-svg__ribbon {
    fill: none;
    stroke: #f4c55a;
    stroke-width: 9;
}

.aux-gift-svg__bow {
    fill: #f4c55a;
    stroke: #d7a83e;
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.aux-gift-svg__spark {
    fill: none;
    stroke: #e0aa36;
    stroke-width: 3;
    stroke-linecap: round;
}

.aux-gift-svg__spark--small {
    stroke-width: 2.5;
}

.aux-gift-svg__confetti--blue { fill: #315f8c; }
.aux-gift-svg__confetti--gold { fill: #e0aa36; }
.aux-gift-svg__confetti--rose { fill: #d45d79; }
.aux-gift-svg__confetti--green { fill: #3f9b76; }

.aux-giveaway-dialog.is-visible .aux-giveaway-dialog__visual {
    animation: aux-gift-arrive 720ms 120ms cubic-bezier(0.18, 0.9, 0.25, 1.25) both;
}

.aux-giveaway-dialog.is-registered .aux-gift-svg__halo {
    fill: #e9f8ef;
}

.aux-giveaway-confetti {
    position: absolute;
    z-index: 3;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.aux-giveaway-confetti span {
    position: absolute;
    top: 46px;
    left: 50%;
    width: 8px;
    height: 14px;
    opacity: 0;
    background: var(--aux-confetti-color);
    border-radius: 2px;
}

.aux-giveaway-confetti.is-active span {
    animation: aux-confetti-fall 2100ms var(--aux-confetti-delay) cubic-bezier(0.18, 0.76, 0.35, 1) both;
}

.aux-giveaway-confetti span:nth-child(1) { --aux-confetti-x: -220px; --aux-confetti-y: 155px; --aux-confetti-r: 210deg; --aux-confetti-color: #315f8c; --aux-confetti-delay: 0ms; --aux-confetti-duration: 1050ms; }
.aux-giveaway-confetti span:nth-child(2) { --aux-confetti-x: -180px; --aux-confetti-y: 205px; --aux-confetti-r: -170deg; --aux-confetti-color: #f4c55a; --aux-confetti-delay: 60ms; --aux-confetti-duration: 1200ms; }
.aux-giveaway-confetti span:nth-child(3) { --aux-confetti-x: -145px; --aux-confetti-y: 130px; --aux-confetti-r: 290deg; --aux-confetti-color: #d45d79; --aux-confetti-delay: 30ms; --aux-confetti-duration: 980ms; }
.aux-giveaway-confetti span:nth-child(4) { --aux-confetti-x: -110px; --aux-confetti-y: 230px; --aux-confetti-r: -250deg; --aux-confetti-color: #3f9b76; --aux-confetti-delay: 120ms; --aux-confetti-duration: 1250ms; }
.aux-giveaway-confetti span:nth-child(5) { --aux-confetti-x: -72px; --aux-confetti-y: 175px; --aux-confetti-r: 190deg; --aux-confetti-color: #6c63a8; --aux-confetti-delay: 20ms; --aux-confetti-duration: 1100ms; }
.aux-giveaway-confetti span:nth-child(6) { --aux-confetti-x: -42px; --aux-confetti-y: 250px; --aux-confetti-r: -310deg; --aux-confetti-color: #f4c55a; --aux-confetti-delay: 150ms; --aux-confetti-duration: 1300ms; }
.aux-giveaway-confetti span:nth-child(7) { --aux-confetti-x: -18px; --aux-confetti-y: 145px; --aux-confetti-r: 260deg; --aux-confetti-color: #315f8c; --aux-confetti-delay: 80ms; --aux-confetti-duration: 1000ms; }
.aux-giveaway-confetti span:nth-child(8) { --aux-confetti-x: 20px; --aux-confetti-y: 225px; --aux-confetti-r: -180deg; --aux-confetti-color: #d45d79; --aux-confetti-delay: 40ms; --aux-confetti-duration: 1240ms; }
.aux-giveaway-confetti span:nth-child(9) { --aux-confetti-x: 48px; --aux-confetti-y: 160px; --aux-confetti-r: 330deg; --aux-confetti-color: #3f9b76; --aux-confetti-delay: 110ms; --aux-confetti-duration: 1080ms; }
.aux-giveaway-confetti span:nth-child(10) { --aux-confetti-x: 78px; --aux-confetti-y: 245px; --aux-confetti-r: -260deg; --aux-confetti-color: #f4c55a; --aux-confetti-delay: 170ms; --aux-confetti-duration: 1320ms; }
.aux-giveaway-confetti span:nth-child(11) { --aux-confetti-x: 112px; --aux-confetti-y: 180px; --aux-confetti-r: 220deg; --aux-confetti-color: #6c63a8; --aux-confetti-delay: 15ms; --aux-confetti-duration: 1130ms; }
.aux-giveaway-confetti span:nth-child(12) { --aux-confetti-x: 148px; --aux-confetti-y: 225px; --aux-confetti-r: -320deg; --aux-confetti-color: #315f8c; --aux-confetti-delay: 95ms; --aux-confetti-duration: 1280ms; }
.aux-giveaway-confetti span:nth-child(13) { --aux-confetti-x: 185px; --aux-confetti-y: 145px; --aux-confetti-r: 180deg; --aux-confetti-color: #d45d79; --aux-confetti-delay: 45ms; --aux-confetti-duration: 1030ms; }
.aux-giveaway-confetti span:nth-child(14) { --aux-confetti-x: 220px; --aux-confetti-y: 205px; --aux-confetti-r: -230deg; --aux-confetti-color: #3f9b76; --aux-confetti-delay: 135ms; --aux-confetti-duration: 1210ms; }
.aux-giveaway-confetti span:nth-child(15) { --aux-confetti-x: -200px; --aux-confetti-y: 285px; --aux-confetti-r: 350deg; --aux-confetti-color: #f4c55a; --aux-confetti-delay: 210ms; --aux-confetti-duration: 1450ms; }
.aux-giveaway-confetti span:nth-child(16) { --aux-confetti-x: -130px; --aux-confetti-y: 310px; --aux-confetti-r: -290deg; --aux-confetti-color: #315f8c; --aux-confetti-delay: 240ms; --aux-confetti-duration: 1500ms; }
.aux-giveaway-confetti span:nth-child(17) { --aux-confetti-x: 135px; --aux-confetti-y: 300px; --aux-confetti-r: 300deg; --aux-confetti-color: #d45d79; --aux-confetti-delay: 200ms; --aux-confetti-duration: 1480ms; }
.aux-giveaway-confetti span:nth-child(18) { --aux-confetti-x: 205px; --aux-confetti-y: 275px; --aux-confetti-r: -350deg; --aux-confetti-color: #6c63a8; --aux-confetti-delay: 260ms; --aux-confetti-duration: 1520ms; }
.aux-giveaway-confetti span:nth-child(19) { --aux-confetti-x: -235px; --aux-confetti-y: 340px; --aux-confetti-r: 280deg; --aux-confetti-color: #3f9b76; --aux-confetti-delay: 320ms; }
.aux-giveaway-confetti span:nth-child(20) { --aux-confetti-x: -82px; --aux-confetti-y: 370px; --aux-confetti-r: -380deg; --aux-confetti-color: #d45d79; --aux-confetti-delay: 390ms; }
.aux-giveaway-confetti span:nth-child(21) { --aux-confetti-x: 64px; --aux-confetti-y: 355px; --aux-confetti-r: 340deg; --aux-confetti-color: #315f8c; --aux-confetti-delay: 350ms; }
.aux-giveaway-confetti span:nth-child(22) { --aux-confetti-x: 228px; --aux-confetti-y: 330px; --aux-confetti-r: -300deg; --aux-confetti-color: #f4c55a; --aux-confetti-delay: 430ms; }
.aux-giveaway-confetti span:nth-child(23) { --aux-confetti-x: -165px; --aux-confetti-y: 400px; --aux-confetti-r: 420deg; --aux-confetti-color: #6c63a8; --aux-confetti-delay: 470ms; }
.aux-giveaway-confetti span:nth-child(24) { --aux-confetti-x: 172px; --aux-confetti-y: 390px; --aux-confetti-r: -410deg; --aux-confetti-color: #3f9b76; --aux-confetti-delay: 510ms; }

@keyframes aux-giveaway-backdrop-in {
    from { background: rgba(15, 23, 42, 0); }
    to { background: rgba(15, 23, 42, 0.62); }
}

@keyframes aux-gift-arrive {
    from { opacity: 0; transform: translateY(-12px) scale(0.72) rotate(-5deg); }
    65% { opacity: 1; transform: translateY(3px) scale(1.04) rotate(2deg); }
    to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes aux-confetti-fall {
    0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0); }
    12% { opacity: 1; }
    82% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(var(--aux-confetti-x), var(--aux-confetti-y), 0) rotate(var(--aux-confetti-r)); }
}

@media (max-width: 560px) {
    .aux-giveaway-dialog__content {
        padding: 24px 22px 22px;
    }

    .aux-giveaway-dialog__visual {
        width: 102px;
        height: 102px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aux-giveaway-dialog,
    .aux-giveaway-dialog__button::after {
        transition: none;
    }

    .aux-giveaway-dialog.is-visible .aux-giveaway-dialog__visual,
    .aux-giveaway-confetti.is-active span,
    .aux-giveaway-dialog::backdrop {
        animation: none;
    }
}

.aux-payment-response,
.aux-payment-response * {
    box-sizing: border-box;
}

.aux-payment-response.payment-approved {
    --status-color: #059669;
    --status-dark: #047857;
    --status-soft: #ecfdf5;
    --status-border: #a7f3d0;
}

.aux-payment-response.payment-rejected,
.aux-payment-response.payment-error,
.aux-payment-response.payment-invalid {
    --status-color: #dc2626;
    --status-dark: #b91c1c;
    --status-soft: #fef2f2;
    --status-border: #fecaca;
}

.aux-payment-response.payment-pending {
    --status-color: #d97706;
    --status-dark: #b45309;
    --status-soft: #fffbeb;
    --status-border: #fde68a;
}

.aux-payment-response__card {
    width: min(100%, 820px);
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
}

.aux-payment-response__header {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: clamp(28px, 5vw, 44px);
    background: linear-gradient(135deg, var(--status-soft), #fff 72%);
    border-bottom: 1px solid var(--status-border);
}

.aux-payment-response__header::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--status-color);
    content: "";
}

.aux-payment-response__icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #fff;
    font-size: 29px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--status-color), var(--status-dark));
    border-radius: 50%;
    box-shadow: 0 10px 25px color-mix(in srgb, var(--status-color) 28%, transparent);
}

.aux-payment-response__eyebrow {
    margin: 0 0 5px;
    color: var(--status-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.aux-payment-response h1,
.aux-payment-response h2,
.aux-payment-response p,
.aux-payment-response dl,
.aux-payment-response dd,
.aux-payment-response dt {
    margin-top: 0;
}

.aux-payment-response__title {
    margin-bottom: 10px;
    color: #111827;
    font-size: clamp(25px, 4vw, 34px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.aux-payment-response__message {
    max-width: 620px;
    margin-bottom: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.aux-payment-response__body {
    padding: clamp(26px, 5vw, 44px);
}

.aux-payment-response__summary-heading {
    margin-bottom: 22px;
    color: #111827;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.015em;
}

.aux-payment-response__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding: 20px 22px;
    color: #fff;
    background: linear-gradient(135deg, #182235, #26344d);
    border-radius: 16px;
}

.aux-payment-response__total-label {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 650;
}

.aux-payment-response__total-value {
    color: #fff;
    font-size: clamp(23px, 4vw, 30px);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.aux-payment-response__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    overflow: hidden;
    border: 1px solid #e7ebf1;
    border-radius: 16px;
}

.aux-payment-response__detail {
    min-width: 0;
    padding: 18px 20px;
    border-bottom: 1px solid #e7ebf1;
}

.aux-payment-response__detail:nth-child(odd) {
    border-right: 1px solid #e7ebf1;
}

.aux-payment-response__detail:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.aux-payment-response__detail dt {
    margin-bottom: 6px;
    color: #758094;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.aux-payment-response__detail dd {
    margin-bottom: 0;
    overflow-wrap: anywhere;
    color: #1f2937;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.aux-payment-response__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--status-dark);
}

.aux-payment-response__status::before {
    width: 8px;
    height: 8px;
    background: var(--status-color);
    border-radius: 50%;
    content: "";
}

.aux-payment-response__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px clamp(26px, 5vw, 44px);
    background: #f8fafc;
    border-top: 1px solid #e7ebf1;
}

.aux-payment-response__help {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.aux-payment-response__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.aux-payment-response__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none !important;
    background: var(--status-color);
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.aux-payment-response__button--giveaway {
    background: #315f8c;
}

.aux-payment-response__button--secondary {
    color: #475569 !important;
    background: #fff;
    border: 1px solid #cbd5e1;
}

.aux-payment-response__button--secondary:hover {
    color: #1e293b !important;
    background: #f8fafc;
    box-shadow: none;
}

.aux-payment-response__button:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--status-color) 25%, transparent);
}

@media (max-width: 640px) {
    .aux-payment-response {
        padding: 16px 10px;
    }

    .aux-payment-response__card {
        border-radius: 18px;
    }

    .aux-payment-response__header {
        flex-direction: column;
        gap: 15px;
    }

    .aux-payment-response__icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .aux-payment-response__total,
    .aux-payment-response__footer,
    .aux-payment-response__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .aux-payment-response__details {
        grid-template-columns: 1fr;
    }

    .aux-payment-response__detail,
    .aux-payment-response__detail:nth-child(odd),
    .aux-payment-response__detail:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #e7ebf1;
    }

    .aux-payment-response__detail:last-child {
        border-bottom: 0;
    }

    .aux-payment-response__actions,
    .aux-payment-response__button {
        width: 100%;
    }
}

/* Comprobante de pago */
.aux-payment-response {
    --status-color: #2563eb;
    --status-dark: #1d4ed8;
    --status-soft: #eff6ff;
    width: 100%;
    padding: clamp(16px, 4vw, 42px) 14px;
    color: #0f172a;
    background: #f4f5f7;
}

.aux-payment-response.payment-approved {
    --status-color: #059669;
    --status-dark: #047857;
    --status-soft: #ecfdf5;
}

.aux-payment-response.payment-rejected,
.aux-payment-response.payment-error,
.aux-payment-response.payment-invalid {
    --status-color: #dc2626;
    --status-dark: #b91c1c;
    --status-soft: #fef2f2;
}

.aux-payment-response.payment-pending {
    --status-color: #d97706;
    --status-dark: #b45309;
    --status-soft: #fffbeb;
}

.aux-payment-response__card {
    width: min(100%, 460px);
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.aux-payment-response__header {
    display: block;
    padding: 36px 28px 18px;
    text-align: center;
    background: #fff;
    border: 0;
}

.aux-payment-response__header::before {
    display: none;
}

.aux-payment-response__icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin: 0 auto 19px;
    color: #fff;
    place-items: center;
    background: var(--status-color);
    border-radius: 50%;
    box-shadow: none;
}

.aux-payment-response__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aux-payment-response__icon span {
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}

.aux-payment-response__title {
    margin: 0 0 9px;
    color: #071126;
    font-size: 23px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.aux-payment-response__message {
    max-width: 380px;
    margin: 0 auto;
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.55;
}

.aux-payment-response__body {
    padding: 0 28px 22px;
}

.aux-payment-response__total {
    display: block;
    margin: 4px 0 30px;
    padding: 0 0 28px;
    color: #071126;
    text-align: center;
    background: transparent;
    border-bottom: 1px solid #edf0f3;
    border-radius: 0;
}

.aux-payment-response__total-label {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aux-payment-response__total > div {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.aux-payment-response__total-value {
    color: #071126;
    font-size: clamp(40px, 10vw, 47px);
    font-weight: 760;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.aux-payment-response__currency {
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
}

.aux-payment-response__summary-heading {
    margin: 0 0 13px;
    color: #071126;
    font-size: 13px;
    font-weight: 700;
}

.aux-payment-response__details {
    display: block;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
}

.aux-payment-response__detail,
.aux-payment-response__detail:nth-child(odd),
.aux-payment-response__detail:nth-last-child(-n + 2) {
    display: grid;
    grid-template-columns: minmax(115px, 0.8fr) minmax(0, 1.4fr);
    gap: 14px;
    align-items: baseline;
    min-width: 0;
    padding: 6px 0;
    border: 0;
}

.aux-payment-response__detail dt {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.aux-payment-response__detail dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #071126;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-align: right;
}

.aux-payment-response__status {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #071126;
}

.aux-payment-response__status::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: var(--status-color);
    border-radius: 50%;
    content: "";
}

.aux-payment-response__reference {
    display: inline-block;
    padding: 3px 7px;
    color: #0f172a;
    font-size: 12px;
    background: #f8fafc;
    border: 1px solid #e7ebf0;
    border-radius: 4px;
}

.aux-payment-response__transaction-id {
    margin-top: 14px;
    padding-top: 15px;
    border-top: 1px solid #edf0f3;
}

.aux-payment-response__transaction-id span,
.aux-payment-response__transaction-id code {
    display: block;
}

.aux-payment-response__transaction-id span {
    margin-bottom: 4px;
    color: #64748b;
    font-size: 12px;
}

.aux-payment-response__transaction-id code {
    overflow-wrap: anywhere;
    padding: 0;
    color: #475569;
    font-size: 11px;
    line-height: 1.5;
    background: transparent;
}

.aux-payment-response__footer {
    display: block;
    padding: 22px 28px 28px;
    text-align: center;
    background: #fff;
    border: 0;
}

.aux-payment-response__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    justify-content: stretch;
    width: 100%;
}

body.aux-payment-response-page .wp-block-post-title,
body.aux-payment-response-page h1.entry-title {
    display: none;
}

body.aux-payment-response-page main,
body.aux-payment-checkout-page main {
    background-color: #f4f5f7;
}

.aux-payment-response__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    color: #fff !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    background: #0f172a;
    border: 0;
    border-radius: 7px;
    box-shadow: none;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.aux-payment-response__button svg {
    width: 17px;
    height: 17px;
    margin-right: 8px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aux-payment-response__button:hover,
.aux-payment-response__button:focus {
    color: #fff !important;
    background: #1e293b;
    box-shadow: none;
    transform: translateY(-1px);
}

.aux-payment-response__button--giveaway {
    background: #315f8c;
}

.aux-payment-response__help {
    margin: 15px 0 0;
    color: #7c8798;
    font-size: 11px;
    line-height: 1.5;
}

.aux-payment-response__home-link {
    display: inline-block;
    margin-top: 7px;
    color: #64748b;
    font-size: 11px;
    text-decoration: none;
}

.aux-payment-response__home-link:hover,
.aux-payment-response__home-link:focus {
    color: #0f172a;
    text-decoration: underline;
}

/* Resumen previo al envío a PayU */
.aux-payment-checkout,
.aux-payment-checkout * {
    box-sizing: border-box;
}

.aux-payment-checkout {
    width: 100%;
    margin: 0;
    padding: clamp(16px, 4vw, 42px) 14px;
    color: #071126;
    background: #f4f5f7;
}

body.aux-payment-checkout-page .wp-block-post-title,
body.aux-payment-checkout-page h1.entry-title {
    display: none;
}

.aux-payment-checkout__card {
    display: block;
    width: min(100%, 460px);
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.aux-payment-checkout__header {
    padding: 27px 28px 20px;
}

.aux-payment-checkout__header h1 {
    margin: 0 0 3px;
    color: #071126;
    font-size: 27px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.aux-payment-checkout__header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.aux-payment-checkout__details {
    display: block;
    margin: 0;
    padding: 0 28px 21px;
}

.aux-payment-checkout__detail {
    display: grid;
    grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.45fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 7px 0;
}

.aux-payment-checkout__detail dt {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.aux-payment-checkout__detail dt svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: #94a3b8;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aux-payment-checkout__detail dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: #071126;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-align: right;
}

.aux-payment-checkout__contact-value {
    font-size: 12px !important;
    letter-spacing: 0.015em;
}

.aux-payment-checkout__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 28px;
    padding: 22px 0 19px;
    border-top: 1px dashed #dfe3e8;
}

.aux-payment-checkout__total > span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aux-payment-checkout__total > div {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 7px;
    min-width: 0;
}

.aux-payment-checkout__total strong {
    color: #071126;
    font-size: clamp(29px, 8vw, 34px);
    font-weight: 760;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.aux-payment-checkout__total small {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.aux-payment-checkout__footer {
    padding: 5px 28px 28px;
    text-align: center;
}

.aux-payment-checkout__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 11px 18px;
    color: #fff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    background: #059669;
    border: 0;
    border-radius: 7px;
    box-shadow: none;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.aux-payment-checkout__button svg {
    width: 18px;
    height: 18px;
    margin-right: 9px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aux-payment-checkout__button:hover,
.aux-payment-checkout__button:focus {
    color: #fff !important;
    background: #047857;
    box-shadow: none;
    transform: translateY(-1px);
}

.aux-payment-checkout__footer p {
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 520px) {
    .aux-payment-response {
        padding: 10px 8px;
    }

    .aux-payment-response__card {
        border-radius: 10px;
    }

    .aux-payment-response__header {
        padding: 28px 20px 16px;
    }

    .aux-payment-response__body,
    .aux-payment-response__footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .aux-payment-response__detail,
    .aux-payment-response__detail:nth-child(odd),
    .aux-payment-response__detail:nth-last-child(-n + 2) {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 8px;
    }

    .aux-payment-checkout {
        padding: 10px 8px;
    }

    .aux-payment-checkout__card {
        border-radius: 10px;
    }

    .aux-payment-checkout__header,
    .aux-payment-checkout__details,
    .aux-payment-checkout__footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .aux-payment-checkout__total {
        margin-right: 20px;
        margin-left: 20px;
    }

    .aux-payment-checkout__detail {
        grid-template-columns: minmax(96px, 0.8fr) minmax(0, 1.35fr);
        gap: 8px;
    }

    .aux-payment-checkout__total strong {
        font-size: clamp(27px, 9vw, 32px);
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .aux-payment-response,
    .aux-payment-response * {
        visibility: visible !important;
    }

    .aux-payment-response {
        position: absolute;
        inset: 0;
        padding: 0;
        background: #fff;
    }

    .aux-payment-response__card {
        width: 100%;
        max-width: 520px;
        border-color: #dfe3e8;
        box-shadow: none;
    }

    .aux-payment-response__actions,
    .aux-payment-response__home-link,
    .aux-giveaway-dialog {
        display: none !important;
    }
}
