:root {
    --promo-navy: #08245c;
    --promo-navy-2: #0b1f4f;
    --promo-blue: #41b5e3;
    --promo-light: #f5f8fc;
    --promo-white: #ffffff;
    --promo-text: #16325c;
    --promo-muted: #6e7d96;
    --promo-border: rgba(255, 255, 255, 0.16);
    --promo-shadow: 0 14px 40px rgba(2, 19, 55, 0.18);

    --theme-primary: #35b8ff;
    --theme-secondary: #0b1f4f;
    --theme-button: #35b8ff;
}

.theme-walmart {
    --theme-primary: #38bdf8;
    --theme-secondary: #173d8f;
    --theme-button: #38bdf8;
}

.theme-bodega {
    --theme-primary: #95d23d;
    --theme-secondary: #418c2f;
    --theme-button: #95d23d;
}

.theme-sams {
    --theme-primary: #6bc4ff;
    --theme-secondary: #0f4e88;
    --theme-button: #6bc4ff;
}

html {
    scroll-behavior: smooth;
}

body.promo-body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: var(--promo-text);
}

/* SELECTOR */
.store-selector {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--promo-navy);
    color: #fff;
    display: flex;
    flex-direction: column;
}

.store-selector__bg {
    position: absolute;
    inset: 0;
    background: url('/assets/promo/bg-selector.png') center center / cover no-repeat;
}

.store-selector__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(4, 19, 59, 0.72) 0%,
            rgba(4, 19, 59, 0.56) 35%,
            rgba(4, 19, 59, 0.78) 100%);
}

.store-selector__content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 160px;
    padding-bottom: 160px;
}

.selector-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px 24px;
    border: 1px solid rgba(80, 200, 255, 0.55);
    border-radius: 999px;
    background: rgba(53, 184, 255, 0.10);
    color: #7fddff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.selector-title {
    font-size: clamp(2.7rem, 8vw, 4.8rem);
    font-weight: 600;
    line-height: 0.98;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.selector-subtitle {
    margin: 20px 0 0;
    font-size: clamp(1.45rem, 4vw, 2.5rem);
    line-height: 1.1;
    font-weight: 600;
    color: var(--promo-blue);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.selector-subtitle-validity {
    margin: 20px 0 0;
    font-size: clamp(1.5rem, 2vw, 1rem);
    line-height: 1.1;
    font-weight: 600;
    color: #fff;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.selector-logos-row {
    margin-top: 56px;
    row-gap: 28px;
}

.store-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-height: 110px;
    width: 100%;
    transition: transform .22s ease, opacity .22s ease, filter .22s ease;
}

.store-logo-link:hover {
    transform: translateY(-4px) scale(1.02);
    opacity: 1;
}

.store-logo-link__img {
    max-width: 100%;
    max-height: 92px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.22));
}

/* TOPBAR SELECTOR */
.selector-topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    background: rgba(7, 31, 82, 0.88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.selector-topbar__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.selector-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.selector-brand__logo {
    width: auto;
    max-height: 50px;
    display: block;
}

/* FOOTER SELECTOR */
.selector-footer {
    position: relative;
    z-index: 2;
    padding: 0 0 28px;
    background-color: rgba(8, 36, 92, 1);
}

.selector-footer .container {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 26px;
}

.selector-footer__top {
    margin-bottom: 22px;
}

.selector-footer__lead {
    max-width: 470px;
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.selector-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.selector-footer__copy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.selector-footer__links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.selector-footer__links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease;
}

.selector-footer__links a:hover {
    color: #ffffff;
}

/* HEADER */
.promo-header {
    background: rgba(8, 36, 92, 0.82);
    backdrop-filter: blur(10px);
    z-index: 1030;
}

.promo-header .navbar {
    padding: 12px 0;
}

.brand-logo {
    max-height: 34px;
    width: auto;
}

.brand-logo--promo {
    max-height: 50px;
    width: auto;
}

.promo-header .nav-link {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.promo-header .nav-link:hover,
.promo-header .nav-link:focus {
    color: var(--theme-primary);
}

/* HERO */
.hero-store {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--promo-navy-2);
    color: #fff;
    padding: 88px 0 48px;
}

.hero-store__bg {
    position: absolute;
    inset: 0;
    background: url('/assets/promo/bg-hero.png') center center / cover no-repeat;
}

.hero-store__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 36, 92, 0.92) 0%, rgba(8, 36, 92, 0.68) 45%, rgba(8, 36, 92, 0.35) 100%);
}

.hero-title {
    font-size: clamp(2.25rem, 7vw, 3.25rem);
    line-height: 1.04;
    font-weight: 600;
    margin-bottom: 8px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3.8vw, 2rem);
    line-height: 1.12;
    font-weight: 600;
    color: var(--theme-primary);
    max-width: 520px;
    margin-bottom: 0;
    margin: 0 auto;
    text-align: center;
    padding-top: 10px;
}

.hero-visual-spacer {
    min-height: 260px;
}

.register-card {
    width: 100%;
    max-width: 390px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    box-shadow: var(--promo-shadow);
    padding: 16px;
    margin: 0 auto;
}

.register-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
    border: 0;
}

.register-tabs .nav-item {
    width: 100%;
}

.register-tab {
    width: 100%;
    border: 0;
    border-radius: 10px;
    min-height: 42px;
    font-size: 14px;
    font-weight: 700;
    background: #eaeef5;
    color: #9aa7ba;
    transition: all .2s ease;
}


.register-tab.active,
.register-tab[aria-selected="true"] {
    background: var(--theme-secondary);
    color: #fff;
}

.register-form .form-label,
.register-form .form-label a {
    font-size: 12px;
    font-weight: 600;
    color: #516179;
    margin-bottom: 6px;
}

.register-form .form-control {
    border-radius: 10px;
    border: 1px solid #d9e0ea;
    min-height: 46px;
    font-size: 14px;
    padding: 12px 14px;
    box-shadow: none;
}

.register-form .form-control:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 0.2rem rgba(53, 184, 255, 0.14);
}

.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    border: 1.5px dashed #cfd8e6;
    border-radius: 14px;
    background: #fbfcfe;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}


.upload-box.has-file {
    border-color: #48607f;
    background: #f4f9ec;
}

.upload-box__filename {
    display: none;
    margin-top: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #48607f;
    word-break: break-word;
}

.upload-box.has-file .upload-box__filename {
    display: block;
}

.upload-box:hover {
    border-color: var(--theme-primary);
    background: #f7fbff;
}

.upload-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #eef6ff;
    color: var(--theme-secondary);
    font-weight: 800;
    margin-bottom: 8px;
}

.upload-box__title {
    font-size: 13px;
    font-weight: 600;
    color: #48607f;
}

.upload-box__hint {
    margin-top: 4px;
    font-size: 12px;
    color: #8b99ac;
}

.btn-submit {
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--theme-button);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
}

.btn-submit:hover,
.btn-submit:focus {
    background: var(--theme-secondary);
    color: #fff;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-scroll span {
    width: 14px;
    height: 14px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    display: inline-block;
    opacity: 0.9;
}

/* SECCIONES */
.section-how,
.section-faq {
    background: #fff;
    padding: 64px 0;
}

.section-prize {
    background: var(--promo-navy);
    padding: 64px 0;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 25px;
    color: #72cfff;
    margin: 0 auto;
    max-width: 700px;
}

.section-how .section-heading p,
.section-faq .section-heading p {
    color: #65baf3;
}

/* PASOS */
.step-card {
    position: relative;
    height: 100%;
    background: linear-gradient(180deg, #77d0f3 0%, #66c5ef 100%);
    border: 2px solid #45b3ea;
    border-radius: 18px;
    padding: 26px 20px 24px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(34, 130, 184, 0.14);
}

.step-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--promo-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card__image-wrap {
    width: 82px;
    height: 82px;
    margin: 0 auto 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.step-card__image {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.step-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    color: #16325c;
    margin-bottom: 8px;
}
.step-card h3 a{
    font-size: 1.18rem;
    font-weight: 800;
    color: #16325c;
    margin-bottom: 8px;
}
.step-card p {
    margin: 0;
    color: #35506f;
    font-size: 14px;
    line-height: 1.55;
}

/* PREMIO */
.prize-highlight {
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.prize-highlight__image img {
    display: block;
    width: 100%;
    height: auto;
}

.prize-highlight__content {
    padding: 18px 18px 20px;
    color: #fff;
}

.prize-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #58d2ff 0%, #37b6ff 100%);
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.prize-highlight__content h3 {
    margin: 0;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    line-height: 1.15;
    font-weight: 800;
}

.benefit-card {
    height: 100%;
    border-radius: 18px;
    background: #f3f3f3;
    padding: 22px 20px 24px;
    color: #213859;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: none;
}

.benefit-card--dark {
    background: #17357a;
    color: #fff;
    border: 1px solid #45b3ea;
}

.benefit-card__icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #e9e9ec;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex: 0 0 auto;
}

.benefit-card--dark .benefit-card__icon-wrap {
    background: #41b5e3;
}

.benefit-card__icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.benefit-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.benefit-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.prize-note, .prize-note a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}


/* FAQ */
.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #ebeff5;
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(18, 53, 95, 0.05);
}

.faq-item .accordion-button {
    background: #fff;
    color: #18375f;
    font-weight: 600;
    font-size: 15px;
    box-shadow: none;
    padding: 20px;
}

.faq-item .accordion-button:not(.collapsed) {
    background: #fff;
    color: #18375f;
}

.faq-item .accordion-body {
    color: #607089;
    font-size: 14px;
    line-height: 1.6;
    padding: 0 20px 20px;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .promo-header .navbar-collapse {
        margin-top: 12px;
        padding: 16px;
        border-radius: 16px;
        background: rgba(8, 36, 92, 0.96);
    }

    .hero-store {
        padding-top: 96px;
    }

    .hero-copy {
        text-align: center;
    }

    .register-card {
        margin: 0 auto;
    }

    .store-selector__content {
        padding-top: 150px;
        padding-bottom: 80px;
    }

    .selector-topbar__inner {
        min-height: 70px;
    }

    .selector-brand__logo {
        max-height: 50px;
    }

    .selector-title {
        font-size: clamp(2.2rem, 10vw, 3.8rem);
    }

    .selector-subtitle {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }

    .selector-logos-row {
        margin-top: 40px;
        row-gap: 22px;
    }

    .store-logo-link {
        min-height: 86px;
    }

    .store-logo-link__img {
        max-height: 72px;
    }

    .selector-footer {
        padding-bottom: 22px;
    }

    .selector-footer__top {
        text-align: center;
    }

    .selector-footer__lead {
        font-size: 14px;
    }

    .selector-footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .selector-footer__links {
        gap: 18px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 992px) {
    .selector-footer-text {
        margin-left: 0;
        margin-right: 0;
    }

    .prize-highlight {
        position: relative;
    }

    .prize-highlight__content {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 28px 28px 30px;
        background: linear-gradient(180deg, rgba(3, 16, 44, 0) 0%, rgba(3, 16, 44, 0.82) 80%, rgba(3, 16, 44, 0.94) 100%);
    }
}


.js-submit-button.is-loading {
    opacity: .9;
    pointer-events: none;
}

/* Overlay */
.submission-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(6, 10, 20, 0.72);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.submission-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.submission-overlay__content {
    width: 100%;
    max-width: 420px;
    text-align: center;
    color: #fff;
}

.submission-overlay__title {
    margin: 18px 0 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.submission-overlay__text {
    margin: 0;
    font-size: .96rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.submission-loader {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto;
}

.submission-loader__ring {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(255, 255, 255, 0.16);
    border-top-color: #fff;
    border-radius: 50%;
    animation: promoSpin 1s linear infinite;
}

.submission-loader__ring--delay {
    inset: 10px;
    border-top-color: rgba(255, 255, 255, 0.72);
    animation-duration: 1.3s;
    animation-direction: reverse;
}

.submission-loader__center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
}

@keyframes promoSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal */
.success-modal {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.success-modal__icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9f8ef;
    color: #1f9d55;
    font-size: 2rem;
    font-weight: 900;
}

.success-modal__title {
    margin-bottom: 10px;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
}

.success-modal__text {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
}

.closed-registration-card {
    padding: 2rem 1.5rem;
    color:#516179;
}

.closed-registration-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
}

.closed-registration-card__title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.closed-registration-card__text {
    font-size: 1rem;
    margin-bottom: .75rem;
}

.closed-registration-card__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    margin: 1.3rem 0;
}

.closed-registration-card__small {
    font-size: .9rem;
    opacity: .85;
    margin-bottom: 0;
}