/* =========================================================
   POPUP MODAL COMPONENT — COMPLETE FINAL CSS
========================================================= */


/* =========================================================
   POPUP OVERLAY
========================================================= */

.popup-overlay {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    padding: 16px;

    background: rgba(0, 0, 0, 0.55);

    z-index: 9000;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    overflow: hidden;

    animation: fadeInOverlay 0.3s ease;
}

.popup-overlay.is-hidden {
    display: none !important;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* =========================================================
   MAIN POPUP
========================================================= */

.popup-modal {
    position: relative;

    width: 100%;
    max-width: 1080px;

    height: auto;

    max-height: calc(100vh - 32px);

    background: #ffffff;

    border-radius: 16px;

    overflow: hidden !important;

    display: grid;

    /*
       LEFT  = FORM
       RIGHT = JOURNEY
    */
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 1fr);

    box-sizing: border-box;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    animation: slideUp 0.32s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.popup-close {
    position: absolute;

    top: 10px;
    right: 12px;

    width: 32px;
    height: 32px;

    margin: 0;
    padding: 0;

    border: none;

    border-radius: 50%;

    background: #eeeeee;

    color: #000000;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 100;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;

    box-sizing: border-box;
}

.popup-close:hover {
    background: #333333;
    color: #ffffff;

    transform: rotate(90deg);
}

.popup-close svg {
    width: 14px;
    height: 14px;

    display: block;
}


/* =========================================================
   LEFT — FORM PANEL
========================================================= */

.popup-form-panel {
    position: relative;

    width: 100%;
    min-width: 0;

    padding: 24px 30px 22px;

    background: #ffffff;

    border-radius: 16px 0 0 16px;

    box-sizing: border-box;

    overflow: hidden !important;

    display: flex;
    flex-direction: column;

    scrollbar-width: none;
}

.popup-form-panel::-webkit-scrollbar {
    display: none;

    width: 0;
    height: 0;
}


/* =========================================================
   FORM LOGO
========================================================= */

.popup-form-panel__logo {
    width: 100%;

    margin: 0 0 10px;
    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    box-sizing: border-box;
}

.popup-form-panel__logo img {
    display: block;

    width: auto;

    height: 58px;

    max-width: 200px;

    margin: 0;
    padding: 0;

    object-fit: contain;

    box-sizing: border-box;
}


/* =========================================================
   FALLBACK LOGO
========================================================= */

.popup-form-panel__logo-fallback {
    width: 55px;
    height: 55px;

    background: var(--teal);

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.popup-form-panel__logo-fallback svg {
    width: 28px;
    height: 28px;

    fill: #ffffff;
}


/* =========================================================
   FORM HEADING
========================================================= */

.popup-form-panel h2 {
    width: 100%;

    margin: 0 0 5px;
    padding: 0;

    color: #000000;

    font-family: inherit;

    font-size: 20px;
    font-weight: 900;

    line-height: 1.25;

    text-align: center;

    box-sizing: border-box;
}

.popup-form-panel > p {
    width: 100%;

    margin: 0 0 15px;
    padding: 0;

    color: #000000;

    font-family: inherit;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.4;

    text-align: center;

    box-sizing: border-box;
}


/* =========================================================
   FIELD ROW
========================================================= */

.popup-field-row {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 9px;

    box-sizing: border-box;
}


/* =========================================================
   FIELD
========================================================= */

.popup-field {
    width: 100%;
    min-width: 0;

    margin: 0 0 8px;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   INPUT + SELECT
========================================================= */

.popup-field input,
.popup-field select {
    display: block;

    width: 100%;
    min-width: 0;

    height: 44px;
    min-height: 44px;
    max-height: 44px;

    margin: 0;
    padding: 9px 12px;

    box-sizing: border-box;

    border: 1.5px solid #d8e6f0;

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: #000000;

    font-family: inherit;

    font-size: 14.5px;
    font-weight: 400;

    line-height: 1.2;

    transform: none;

    zoom: 1;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.popup-field input:focus,
.popup-field select:focus {
    border-color: var(--teal);

    box-shadow:
        0 0 0 3px rgba(56, 169, 228, 0.12);

    outline: none;
}

.popup-field input::placeholder {
    color: #000000;

    opacity: 1;

    font-size: 14.5px;
}

.popup-field select {
    cursor: pointer;

    appearance: auto;
}


/* =========================================================
   COUNTRY CODE + PHONE
========================================================= */

.popup-field--phone {
    width: 100%;
    min-width: 0;

    display: grid;

    /*
       Wider country box
    */
    grid-template-columns:
        108px
        minmax(0, 1fr);

    gap: 6px;

    box-sizing: border-box;
}


/* Country code select */

.popup-field--phone select {
    width: 108px;
    min-width: 108px;
    max-width: 108px;

    height: 44px;
    min-height: 44px;
    max-height: 44px;

    padding: 8px 24px 8px 10px;

    box-sizing: border-box;

    font-size: 14px;

    line-height: 1.2;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    appearance: auto;
}


/* Phone input */

.popup-field--phone input {
    width: 100%;
    min-width: 0;

    height: 44px;
    min-height: 44px;
    max-height: 44px;

    padding: 9px 12px;

    box-sizing: border-box;

    font-size: 14.5px;
}


/* =========================================================
   FILE UPLOAD
========================================================= */

.popup-field__upload {
    width: 100%;

    height: 44px;
    min-height: 44px;
    max-height: 44px;

    margin: 0;
    padding: 9px 12px;

    box-sizing: border-box;

    border: 1.5px dashed #cbd9e5;

    border-radius: 9px;

    background: #f9fcff;

    color: #000000;

    font-size: 14px;
    font-weight: 400;

    line-height: normal;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 6px;

    overflow: hidden;
}


/* =========================================================
   DISCOUNT / PROMO
========================================================= */

.popup-promo-note {
    position: relative;

    width: 100%;

    min-height: 48px;

    margin: 3px 0 10px;
    padding: 9px 12px;

    box-sizing: border-box;

    border: 1.5px solid #e5b52f;

    border-radius: 9px;

    background: #fff8df;

    color: #765400;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.35;

    text-align: center;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    animation:
        discountBlink 1.15s ease-in-out infinite;

    box-shadow:
        0 0 0 rgba(255, 193, 7, 0),
        inset 0 0 0 rgba(255, 193, 7, 0);

    transform-origin: center;
}

.popup-promo-note strong {
    color: #9a6800;
    font-weight: 900;
}

.popup-promo-note svg {
    flex-shrink: 0;

    width: 17px;
    height: 17px;

    fill: #d99b00;

    animation:
        discountIconBlink 1.15s ease-in-out infinite;
}

@keyframes discountBlink {
    0% {
        opacity: 1;
        background: #fff8df;
        border-color: #e5b52f;
        box-shadow:
            0 0 0 rgba(255, 193, 7, 0),
            inset 0 0 0 rgba(255, 193, 7, 0);
        transform: scale(1);
    }

    25% {
        opacity: 0.75;
        background: #fff1b8;
        border-color: #ffbd00;
        box-shadow:
            0 0 14px rgba(255, 193, 7, 0.45),
            inset 0 0 8px rgba(255, 193, 7, 0.12);
        transform: scale(1.012);
    }

    50% {
        opacity: 1;
        background: #fff8df;
        border-color: #e5b52f;
        box-shadow:
            0 0 0 rgba(255, 193, 7, 0),
            inset 0 0 0 rgba(255, 193, 7, 0);
        transform: scale(1);
    }

    75% {
        opacity: 0.78;
        background: #fff0ad;
        border-color: #ffb000;
        box-shadow:
            0 0 18px rgba(255, 193, 7, 0.55),
            inset 0 0 10px rgba(255, 193, 7, 0.15);
        transform: scale(1.012);
    }

    100% {
        opacity: 1;
        background: #fff8df;
        border-color: #e5b52f;
        box-shadow:
            0 0 0 rgba(255, 193, 7, 0),
            inset 0 0 0 rgba(255, 193, 7, 0);
        transform: scale(1);
    }
}

@keyframes discountIconBlink {
    0%, 50%, 100% {
        transform: scale(1);
    }

    25%, 75% {
        transform: scale(1.25);
    }
}


/* =========================================================
   SUBMIT ROW
========================================================= */

.popup-submit-row {
    width: 100%;

    margin: 0;
    padding: 0;

    display: flex;

    align-items: stretch;

    gap: 10px;

    box-sizing: border-box;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.popup-submit {
    flex: 1 1 auto;

    width: auto;
    min-width: 0;

    height: 50px;
    min-height: 50px;

    margin: 0;
    padding: 10px 15px;

    box-sizing: border-box;

    border: none;

    border-radius: 10px;

    background: var(--orange);

    color: #ffffff;

    font-family: inherit;

    font-size: 15.5px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 0.2px;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.popup-submit:hover {
    background: var(--orange-dark);

    transform: translateY(-1px);
}


/* =========================================================
   WHATSAPP QR
========================================================= */

.popup-whatsapp-qr {
    flex: 0 0 72px;

    width: 72px;
    min-width: 72px;

    height: 50px;
    min-height: 50px;

    margin: 0;
    padding: 3px;

    box-sizing: border-box;

    border: 1.5px solid #d6ecd9;

    border-radius: 9px;

    background: #f4fbf5;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 2px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.popup-whatsapp-qr:hover {
    border-color: #25d366;

    background: #eafbea;
}

.popup-whatsapp-qr img {
    display: block;

    width: 34px;
    height: 34px;

    max-width: 34px;
    max-height: 34px;

    margin: 0;
    padding: 0;

    border: 0;

    object-fit: contain;

    vertical-align: middle;
}

.popup-whatsapp-qr__label {
    margin: 0;
    padding: 0;

    color: #2ba24c;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    text-align: center;
}


/* =========================================================
   WHATSAPP FALLBACK
========================================================= */

.popup-whatsapp-qr--fallback {
    background: #25d366;

    border-color: #25d366;
}

.popup-whatsapp-qr--fallback .popup-whatsapp-qr__label {
    color: #ffffff;
}

.popup-whatsapp-qr--fallback::before {
    content: "";

    width: 26px;
    height: 26px;

    background: #ffffff;

    mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 2C8.27 2 2 8.27 2 16c0 2.48.65 4.8 1.78 6.82L2 30l7.38-1.76A13.93 13.93 0 0016 30c7.73 0 14-6.27 14-14S23.73 2 16 2zm0 25.6a11.55 11.55 0 01-5.89-1.61l-.42-.25-4.38 1.04 1.07-4.27-.27-.44A11.6 11.6 0 1116 27.6zm6.8-8.4c-.36-.18-2.13-1.05-2.46-1.17-.33-.12-.57-.18-.81.18-.24.36-.93 1.17-1.14 1.41-.21.24-.42.27-.78.09-.36-.18-1.52-.56-2.9-1.79-1.07-.95-1.79-2.13-2-2.49-.21-.36-.02-.55.16-.73.16-.16.36-.42.54-.63.18-.21.24-.36.36-.6.12-.24.06-.45-.03-.63-.09-.18-.81-1.95-1.11-2.67-.29-.7-.59-.6-.81-.62l-.69-.01a1.32 1.32 0 00-.96.45c-.33.36-1.26 1.23-1.26 3s1.29 3.48 1.47 3.72c.18.24 2.54 3.88 6.16 5.44 3.61 1.56 3.61 1.04 4.26.98.65-.06 2.13-.87 2.43-1.71.3-.84.3-1.56.21-1.71-.09-.15-.33-.24-.69-.42z'/%3E%3C/svg%3E")
        center / contain no-repeat;

    mask-repeat: no-repeat;
}


/* =========================================================
   RIGHT — VISUAL PANEL
========================================================= */

.popup-visual-panel {
    width: 100%;
    min-width: 0;

    padding: 24px 20px 16px;

    box-sizing: border-box;

    border-radius: 0 16px 16px 0;

    background:
        linear-gradient(
            160deg,
            #f0f9f9 0%,
            #e8f6f6 100%
        );

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    overflow: hidden !important;

    scrollbar-width: none;
}

.popup-visual-panel::-webkit-scrollbar {
    display: none;

    width: 0;
    height: 0;
}


/* =========================================================
   RIGHT TITLE
========================================================= */

.popup-visual-panel__title {
    width: 100%;

    margin: 0 0 3px;
    padding: 0;

    color: #000000;

    font-family: inherit;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.25;

    text-align: center;
}

.popup-visual-panel__sub {
    width: 100%;

    margin: 0 0 12px;
    padding: 0;

    color: var(--text-muted);

    font-family: inherit;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.3;

    text-align: center;
}


/* =========================================================
   JOURNEY GRID
========================================================= */

.popup-journey-grid {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 5px;

    box-sizing: border-box;

    align-content: start;

    flex: 0 0 auto;
}


/* =========================================================
   JOURNEY CARD
========================================================= */

.popup-journey-item {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border-radius: 9px;

    overflow: hidden !important;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.07);

    line-height: 0;

    display: flex;

    flex-direction: column;

    box-sizing: border-box;
}


/* =========================================================
   JOURNEY HEADER
========================================================= */

.popup-journey-item__header {
    width: 100%;

    margin: 0;
    padding: 7px 8px 4px;

    box-sizing: border-box;

    background: #ffffff;

    display: flex;

    align-items: flex-start;

    gap: 5px;

    line-height: normal;

    flex-shrink: 0;
}


/* =========================================================
   JOURNEY NUMBER
========================================================= */

.popup-journey-item__num {
    width: 18px;
    height: 18px;

    min-width: 18px;

    margin: 0;
    padding: 0;

    border-radius: 50%;

    background: var(--teal);

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    box-sizing: border-box;
}


/* =========================================================
   JOURNEY TEXT
========================================================= */

.popup-journey-item__text {
    margin: 0;
    padding: 0;

    min-width: 0;

    color: #000000;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.25;
}

.popup-journey-item__text span {
    display: block;

    margin: 1px 0 0;
    padding: 0;

    color: #000000;

    font-size: 11px;
    font-weight: 400;

    line-height: 1.2;
}


/* =========================================================
   JOURNEY IMAGES
   FULL FIT — NO WHITE GAP
========================================================= */

.popup-journey-item img {
    display: block;

    width: 100%;

    height: 82px;
    min-height: 82px;
    max-height: 82px;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-bottom: 0 !important;

    outline: 0;

    background: none !important;

    object-fit: cover;
    object-position: center center;

    vertical-align: bottom;

    line-height: 0;

    flex: 0 0 82px;

    box-sizing: border-box;
}

/* Prevent any global image/figure rule from creating a white strip */
.popup-journey-item > img,
.popup-journey-item figure,
.popup-journey-item figure img {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}


/* =========================================================
   TRUSTED PATIENTS
========================================================= */

.popup-trusted {
    width: 100%;

    margin: 9px 0 0;
    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    color: #000000;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.2;

    text-align: center;

    flex-shrink: 0;
}

.popup-trusted svg {
    width: 13px;
    height: 13px;

    fill: var(--teal);

    flex-shrink: 0;
}

.popup-brand-note {
    width: 100%;

    margin: 4px 0 0;
    padding: 0;

    color: #000000;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.2;

    text-align: center;

    flex-shrink: 0;
}


/* =========================================================
   ABSOLUTELY NO INTERNAL SCROLLING
========================================================= */

.popup-form-panel,
.popup-visual-panel {
    overflow: hidden !important;

    scrollbar-width: none;

    -ms-overflow-style: none;
}

.popup-form-panel::-webkit-scrollbar,
.popup-visual-panel::-webkit-scrollbar {
    display: none;

    width: 0;
    height: 0;
}


/* =========================================================
   PROTECT POPUP FROM GLOBAL CSS
========================================================= */

.popup-modal *,
.popup-modal *::before,
.popup-modal *::after {
    box-sizing: border-box;
}

.popup-modal img {
    max-width: 100%;
}

.popup-modal input,
.popup-modal select,
.popup-modal button {
    font-family: inherit;

    transform: none;

    zoom: 1;
}


/* =========================================================
   TABLET — 901px TO 1200px
========================================================= */

@media (max-width: 1200px) {

    .popup-modal {
        width: calc(100vw - 32px);

        max-width: 1050px;
    }
}


/* =========================================================
   TABLET — 701px TO 900px
========================================================= */

@media (max-width: 900px) and (min-width: 701px) {

    .popup-overlay {
        padding: 10px;
    }

    .popup-modal {
        width: calc(100vw - 20px);

        max-width: 850px;

        max-height: calc(100vh - 20px);

        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(0, 1fr);
    }

    .popup-form-panel {
        padding: 20px 22px;
    }

    .popup-visual-panel {
        padding: 20px 16px 14px;
    }

    .popup-form-panel__logo img {
        height: 52px;
    }

    .popup-form-panel h2 {
        font-size: 19px;
    }

    .popup-form-panel > p {
        font-size: 13px;

        margin-bottom: 11px;
    }

    .popup-field input,
    .popup-field select {
        height: 42px;

        min-height: 42px;
        max-height: 42px;

        font-size: 14px;
    }

    .popup-field--phone {
        grid-template-columns:
            100px
            minmax(0, 1fr);
    }

    .popup-field--phone select {
        width: 100px;

        min-width: 100px;
        max-width: 100px;

        height: 42px;

        min-height: 42px;
        max-height: 42px;

        font-size: 13px;
    }

    .popup-journey-item img {
        height: 68px;

        min-height: 68px;
        max-height: 68px;
    }
}


/* =========================================================
   MOBILE — BELOW 700px
========================================================= */

@media (max-width: 700px) {

    .popup-overlay {
        padding: 6px;

        align-items: center;

        overflow: hidden;
    }

    .popup-modal {
        width: calc(100vw - 12px);

        max-width: 500px;

        max-height: calc(100vh - 12px);

        grid-template-columns: 1fr;

        border-radius: 16px;

        overflow: hidden !important;
    }


    /* -----------------------------------------
       FORM
    ----------------------------------------- */

    .popup-form-panel {
        padding: 18px 16px 16px;

        border-radius: 16px 16px 0 0;
    }

    .popup-form-panel__logo {
        margin-bottom: 7px;
    }

    .popup-form-panel__logo img {
        height: 48px;

        max-width: 180px;
    }

    .popup-form-panel h2 {
        font-size: 18px;

        line-height: 1.2;
    }

    .popup-form-panel > p {
        font-size: 13px;

        line-height: 1.3;

        margin-bottom: 9px;
    }


    /* -----------------------------------------
       FIELDS
    ----------------------------------------- */

    .popup-field-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .popup-field {
        margin-bottom: 6px;
    }

    .popup-field input,
    .popup-field select {
        height: 40px;

        min-height: 40px;
        max-height: 40px;

        padding: 8px 10px;

        font-size: 14px;
    }

    .popup-field input::placeholder {
        font-size: 14px;
    }


    /* -----------------------------------------
       COUNTRY CODE
    ----------------------------------------- */

    .popup-field--phone {
        grid-template-columns:
            92px
            minmax(0, 1fr);

        gap: 5px;
    }

    .popup-field--phone select {
        width: 92px;

        min-width: 92px;
        max-width: 92px;

        height: 40px;

        min-height: 40px;
        max-height: 40px;

        padding: 7px 18px 7px 7px;

        font-size: 12px;
    }

    .popup-field--phone input {
        height: 40px;

        min-height: 40px;
        max-height: 40px;
    }


    /* -----------------------------------------
       DISCOUNT
    ----------------------------------------- */

    .popup-promo-note {
        min-height: 40px;

        margin: 3px 0 8px;

        padding: 7px 8px;

        font-size: 12px;

        animation:
            discountBlink 1.15s ease-in-out infinite;
    }


    /* -----------------------------------------
       SUBMIT
    ----------------------------------------- */

    .popup-submit-row {
        gap: 8px;
    }

    .popup-submit {
        height: 46px;

        min-height: 46px;

        padding: 8px 10px;

        font-size: 14px;
    }

    .popup-whatsapp-qr {
        flex: 0 0 64px;

        width: 64px;

        min-width: 64px;

        height: 46px;

        min-height: 46px;
    }

    .popup-whatsapp-qr img {
        width: 30px;

        height: 30px;

        max-width: 30px;
        max-height: 30px;
    }

    .popup-whatsapp-qr__label {
        font-size: 10px;
    }


    /* -----------------------------------------
       VISUAL PANEL
    ----------------------------------------- */

    .popup-visual-panel {
        padding: 14px;

        border-radius: 0 0 16px 16px;
    }

    .popup-visual-panel__title {
        font-size: 15.5px;

        margin-bottom: 2px;
    }

    .popup-visual-panel__sub {
        font-size: 12px;

        margin-bottom: 8px;
    }


    /* -----------------------------------------
       JOURNEY
    ----------------------------------------- */

    .popup-journey-grid {
        gap: 6px;
    }

    .popup-journey-item__header {
        padding: 5px 6px 3px;

        gap: 4px;
    }

    .popup-journey-item__num {
        width: 16px;
        height: 16px;

        min-width: 16px;

        font-size: 11px;
    }

    .popup-journey-item__text {
        font-size: 11px;

        line-height: 1.2;
    }

    .popup-journey-item__text span {
        font-size: 10px;
    }

    .popup-journey-item img {
        height: 60px;

        min-height: 60px;
        max-height: 60px;
    }

    .popup-trusted {
        margin-top: 7px;

        font-size: 12px;
    }

    .popup-brand-note {
        font-size: 11px;
    }
}


/* =========================================================
   SMALL MOBILE — BELOW 480px
========================================================= */

@media (max-width: 480px) {

    .popup-overlay {
        padding: 4px;
    }

    .popup-modal {
        width: calc(100vw - 8px);

        max-height: calc(100vh - 8px);
    }

    .popup-form-panel {
        padding: 15px 13px 13px;
    }

    .popup-form-panel__logo img {
        height: 44px;

        max-width: 160px;
    }

    .popup-form-panel h2 {
        font-size: 17px;
    }

    .popup-form-panel > p {
        font-size: 12px;

        margin-bottom: 7px;
    }


    /* -----------------------------------------
       SMALL MOBILE FIELDS
    ----------------------------------------- */

    .popup-field {
        margin-bottom: 5px;
    }

    .popup-field input,
    .popup-field select {
        height: 38px;

        min-height: 38px;
        max-height: 38px;

        padding: 7px 9px;

        font-size: 13px;
    }

    .popup-field input::placeholder {
        font-size: 13px;
    }


    /* -----------------------------------------
       SMALL MOBILE COUNTRY CODE
    ----------------------------------------- */

    .popup-field--phone {
        grid-template-columns:
            86px
            minmax(0, 1fr);

        gap: 5px;
    }

    .popup-field--phone select {
        width: 86px;

        min-width: 86px;
        max-width: 86px;

        height: 38px;

        min-height: 38px;
        max-height: 38px;

        padding: 7px 15px 7px 6px;

        font-size: 12.5px;
    }


    /* -----------------------------------------
       SMALL MOBILE PROMO
    ----------------------------------------- */

    .popup-promo-note {
        min-height: 36px;

        margin: 2px 0 6px;

        padding: 6px;

        font-size: 12px;

        animation:
            discountBlink 1.15s ease-in-out infinite;
    }


    /* -----------------------------------------
       SMALL MOBILE BUTTON
    ----------------------------------------- */

    .popup-submit {
        height: 43px;

        min-height: 43px;

        font-size: 13px;
    }

    .popup-whatsapp-qr {
        width: 58px;

        min-width: 58px;

        height: 43px;

        min-height: 43px;
    }

    .popup-whatsapp-qr img {
        width: 27px;

        height: 27px;
    }

    .popup-whatsapp-qr__label {
        font-size: 9px;
    }


    /* -----------------------------------------
       SMALL MOBILE JOURNEY
    ----------------------------------------- */

    .popup-visual-panel {
        padding: 11px;
    }

    .popup-visual-panel__title {
        font-size: 14px;
    }

    .popup-visual-panel__sub {
        font-size: 11px;

        margin-bottom: 6px;
    }

    .popup-journey-grid {
        gap: 5px;
    }

    .popup-journey-item__header {
        padding: 4px 5px 3px;
    }

    .popup-journey-item img {
        height: 52px;

        min-height: 52px;
        max-height: 52px;
    }

    .popup-trusted {
        font-size: 11px;

        margin-top: 5px;
    }

    .popup-brand-note {
        font-size: 10px;
    }
}



/* =========================================================
   JOURNEY IMAGES — FULL CONTAINER / NO WHITE GAPS
========================================================= */

.popup-journey-item {
    width: 100%;
    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff;

    border-radius: 9px;
    overflow: hidden !important;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);

    display: flex;
    flex-direction: column;

    line-height: 0;

    box-sizing: border-box;
}

/* Image area */
.popup-journey-item > img,
.popup-journey-item figure,
.popup-journey-item figure img {
    display: block !important;

    width: 100% !important;

    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-bottom: 0 !important;

    outline: none !important;

    background: transparent !important;

    object-fit: cover !important;
    object-position: center center !important;

    vertical-align: top !important;

    line-height: 0 !important;

    flex: 0 0 82px !important;

    box-sizing: border-box !important;
}

/* Remove spacing from any image wrapper */
.popup-journey-item figure {
    width: 100% !important;
    height: 82px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    overflow: hidden !important;

    line-height: 0 !important;
}

/* Prevent global website image rules */
.popup-modal .popup-journey-item img,
.popup-modal .popup-journey-item figure,
.popup-modal .popup-journey-item figure img {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;

    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;

    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) and (min-width: 701px) {

    .popup-journey-item figure,
    .popup-journey-item > img,
    .popup-journey-item figure img {
        height: 68px !important;
        min-height: 68px !important;
        max-height: 68px !important;

        flex-basis: 68px !important;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .popup-journey-item figure,
    .popup-journey-item > img,
    .popup-journey-item figure img {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;

        flex-basis: 60px !important;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .popup-journey-item figure,
    .popup-journey-item > img,
    .popup-journey-item figure img {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;

        flex-basis: 52px !important;
    }
}


/* =========================================================
   INCREASE FORM SIZE
========================================================= */

.popup-modal {
    max-width: 1180px !important;

    /* More width for the complete popup */
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(0, 0.95fr) !important;
}

/* Larger left form area */
.popup-form-panel {
    padding: 28px 34px 26px !important;
}

/* Larger logo */
.popup-form-panel__logo img {
    height: 64px !important;
    max-width: 210px !important;
}

/* Larger heading */
.popup-form-panel h2 {
    font-size: 22px !important;
    margin-bottom: 7px !important;
}

/* Larger description */
.popup-form-panel > p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
}

/* Larger form fields */
.popup-field input,
.popup-field select {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    padding: 10px 14px !important;

    font-size: 15px !important;
}

/* Larger country code box */
.popup-field--phone {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 7px !important;
}

.popup-field--phone select {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    font-size: 14px !important;
}

/* Larger phone input */
.popup-field--phone input {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
}

/* More space between fields */
.popup-field {
    margin-bottom: 10px !important;
}

.popup-field-row {
    gap: 10px !important;
}

/* Larger upload box */
.popup-field__upload {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    padding: 10px 14px !important;

    font-size: 15px !important;
}

/* Larger discount box */
.popup-promo-note {
    min-height: 54px !important;

    margin: 5px 0 12px !important;
    padding: 10px 14px !important;

    font-size: 14px !important;
}

/* Larger submit button */
.popup-submit {
    height: 54px !important;
    min-height: 54px !important;

    font-size: 16px !important;
}

/* Larger WhatsApp box */
.popup-whatsapp-qr {
    width: 78px !important;
    min-width: 78px !important;

    height: 54px !important;
    min-height: 54px !important;
}


/* =========================================================
   FINAL JOURNEY PANEL — BALANCED STRUCTURE
========================================================= */

/* Keep all 3 rows equal */
.popup-journey-grid {
    width: 100% !important;

    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    grid-template-rows: repeat(3, auto) !important;

    column-gap: 6px !important;
    row-gap: 6px !important;

    align-items: stretch !important;
}

/* Every card behaves exactly the same */
.popup-journey-item {
    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden !important;

    border-radius: 9px !important;

    line-height: normal !important;

    background: #ffffff !important;
}

/* =========================================================
   EQUAL HEADER HEIGHT
========================================================= */

.popup-journey-item__header {
    width: 100% !important;

    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;

    margin: 0 !important;
    padding: 7px 8px 5px !important;

    display: flex !important;

    align-items: flex-start !important;

    gap: 5px !important;

    background: #ffffff !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

    flex-shrink: 0 !important;
}

/* Number stays aligned at the top */
.popup-journey-item__num {
    flex: 0 0 18px !important;

    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;
}

/* Text area */
.popup-journey-item__text {
    flex: 1 1 auto !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.2 !important;

    overflow: hidden !important;
}

/* Description */
.popup-journey-item__text span {
    display: block !important;

    margin: 2px 0 0 !important;
    padding: 0 !important;

    font-size: 11px !important;
    line-height: 1.15 !important;

    overflow: hidden !important;
}

/* =========================================================
   ALL IMAGES SAME SIZE
========================================================= */

.popup-journey-item > img,
.popup-journey-item figure,
.popup-journey-item figure img,
.popup-journey-item img {
    display: block !important;

    width: 100% !important;

    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    flex: 0 0 82px !important;

    box-sizing: border-box !important;

    line-height: 0 !important;
}

/* Figure wrapper, if present */
.popup-journey-item figure {
    overflow: hidden !important;

    line-height: 0 !important;
}

/* =========================================================
   TRUSTED SECTION
========================================================= */

.popup-trusted {
    width: 100% !important;

    margin: 10px 0 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 6px !important;

    text-align: center !important;

    flex-shrink: 0 !important;
}

.popup-brand-note {
    width: 100% !important;

    margin: 4px 0 0 !important;
    padding: 0 !important;

    text-align: center !important;

    line-height: 1.2 !important;

    flex-shrink: 0 !important;
}


/* =========================================================
   DESKTOP — BETTER RIGHT PANEL BALANCE
========================================================= */

@media (min-width: 901px) {

    .popup-visual-panel {
        padding: 24px 20px 14px !important;

        display: flex !important;

        flex-direction: column !important;

        justify-content: flex-start !important;

        align-items: center !important;
    }

    .popup-visual-panel__title {
        margin: 0 0 3px !important;

        font-size: 17px !important;

        line-height: 1.25 !important;
    }

    .popup-visual-panel__sub {
        margin: 0 0 11px !important;

        font-size: 13px !important;

        line-height: 1.25 !important;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) and (min-width: 701px) {

    .popup-journey-item__header {
        height: 55px !important;
        min-height: 55px !important;
        max-height: 55px !important;

        padding: 6px 7px 4px !important;
    }

    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 68px !important;
        min-height: 68px !important;
        max-height: 68px !important;

        flex-basis: 68px !important;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .popup-journey-item__header {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;

        padding: 5px 6px 3px !important;
    }

    .popup-journey-item__text {
        font-size: 11px !important;
    }

    .popup-journey-item__text span {
        font-size: 10px !important;
    }

    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;

        flex-basis: 60px !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .popup-journey-item__header {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;

        padding: 4px 5px 3px !important;
    }

    .popup-journey-item__text {
        font-size: 10.5px !important;
    }

    .popup-journey-item__text span {
        font-size: 9.5px !important;
    }

    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;

        flex-basis: 52px !important;
    }
}

/* =========================================================
   FINAL RESPONSIVE OVERRIDES
========================================================= */

.popup-overlay {
    min-height: 100dvh;
}

.popup-modal {
    width: min(1180px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
}

/* TABLET */
@media (max-width: 900px) and (min-width: 701px) {
    .popup-overlay {
        padding: 10px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .popup-modal {
        width: min(850px, calc(100vw - 20px));
        max-height: calc(100dvh - 20px);
    }

    .popup-form-panel {
        padding: 20px 22px !important;
    }

    .popup-visual-panel {
        padding: 20px 14px 14px !important;
    }

    .popup-field-row {
        gap: 8px !important;
    }

    .popup-field {
        margin-bottom: 7px !important;
    }

    .popup-field input,
    .popup-field select,
    .popup-field--phone input,
    .popup-field--phone select,
    .popup-field__upload {
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
    }

    .popup-field--phone {
        grid-template-columns: 100px minmax(0, 1fr) !important;
    }

    .popup-field--phone select {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
    }

    .popup-promo-note {
        min-height: 46px !important;
        margin: 3px 0 8px !important;
        padding: 8px 10px !important;
        font-size: 12.5px !important;
    }

    .popup-submit,
    .popup-whatsapp-qr {
        height: 48px !important;
        min-height: 48px !important;
    }

    .popup-whatsapp-qr {
        width: 68px !important;
        min-width: 68px !important;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .popup-overlay {
        padding: 6px;
        align-items: flex-start;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .popup-modal {
        width: min(500px, calc(100vw - 12px));
        max-width: 500px;
        height: auto;
        max-height: none;
        margin: 6px 0;
        grid-template-columns: 1fr;
        border-radius: 14px;
        overflow: visible !important;
    }

    .popup-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }

    .popup-form-panel {
        padding: 18px 14px 14px !important;
        border-radius: 14px 14px 0 0;
        overflow: visible !important;
    }

    .popup-form-panel__logo {
        margin-bottom: 6px !important;
        padding-right: 28px;
    }

    .popup-form-panel__logo img {
        height: 46px !important;
        max-width: min(180px, 70vw) !important;
    }

    .popup-form-panel h2 {
        font-size: clamp(17px, 4.5vw, 20px) !important;
        line-height: 1.2 !important;
        padding-right: 20px;
    }

    .popup-form-panel > p {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 9px !important;
    }

    .popup-field-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .popup-field {
        margin-bottom: 7px !important;
    }

    .popup-field input,
    .popup-field select,
    .popup-field--phone input,
    .popup-field--phone select {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        padding: 8px 10px !important;
        font-size: 14px !important;
    }

    .popup-field--phone {
        display: grid !important;
        grid-template-columns: clamp(84px, 25vw, 100px) minmax(0, 1fr) !important;
        gap: 5px !important;
    }

    .popup-field--phone select {
        min-width: 0 !important;
        max-width: none !important;
        padding: 7px 18px 7px 7px !important;
        font-size: 12px !important;
    }

    .popup-field__upload {
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
    }

    .popup-promo-note {
        min-height: 44px !important;
        margin: 3px 0 8px !important;
        padding: 7px 9px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .popup-submit-row {
        gap: 7px !important;
    }

    .popup-submit {
        flex: 1 1 auto;
        height: 48px !important;
        min-height: 48px !important;
        padding: 8px 10px !important;
        font-size: 14px !important;
        white-space: normal;
    }

    .popup-whatsapp-qr {
        flex: 0 0 clamp(58px, 18vw, 68px) !important;
        width: clamp(58px, 18vw, 68px) !important;
        min-width: clamp(58px, 18vw, 68px) !important;
        height: 48px !important;
        min-height: 48px !important;
    }

    .popup-whatsapp-qr img {
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
    }

    .popup-visual-panel {
        padding: 12px !important;
        border-radius: 0 0 14px 14px;
        overflow: visible !important;
    }

    .popup-visual-panel__title {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    .popup-visual-panel__sub {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
        margin-bottom: 7px !important;
    }

    .popup-journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .popup-journey-item__header {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        padding: 4px 5px 3px !important;
    }

    .popup-journey-item__num {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        font-size: 10px !important;
    }

    .popup-journey-item__text {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }

    .popup-journey-item__text span {
        font-size: 9.5px !important;
        line-height: 1.1 !important;
    }

    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        width: 100% !important;
        height: 58px !important;
        min-height: 58px !important;
        max-height: 58px !important;
        flex-basis: 58px !important;
        object-fit: cover !important;
    }

    .popup-trusted {
        margin-top: 7px !important;
        font-size: 11px !important;
    }

    .popup-brand-note {
        margin-top: 3px !important;
        font-size: 10px !important;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .popup-overlay {
        padding: 3px;
    }

    .popup-modal {
        width: calc(100vw - 6px);
        margin: 3px 0;
        border-radius: 12px;
    }

    .popup-close {
        top: 6px;
        right: 6px;
        width: 30px;
        height: 30px;
    }

    .popup-form-panel {
        padding: 15px 11px 12px !important;
        border-radius: 12px 12px 0 0;
    }

    .popup-form-panel__logo img {
        height: 42px !important;
        max-width: 155px !important;
    }

    .popup-form-panel h2 {
        font-size: 16px !important;
    }

    .popup-form-panel > p {
        font-size: 11.5px !important;
        margin-bottom: 7px !important;
    }

    .popup-field {
        margin-bottom: 5px !important;
    }

    .popup-field input,
    .popup-field select,
    .popup-field--phone input,
    .popup-field--phone select {
        height: 39px !important;
        min-height: 39px !important;
        max-height: 39px !important;
        padding: 7px 8px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }

    .popup-field--phone {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 4px !important;
    }

    .popup-field--phone select {
        width: 82px !important;
        padding: 7px 14px 7px 6px !important;
        font-size: 11.5px !important;
    }

    .popup-field__upload {
        height: 39px !important;
        min-height: 39px !important;
        max-height: 39px !important;
        padding: 7px 8px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    .popup-promo-note {
        min-height: 38px !important;
        margin: 2px 0 6px !important;
        padding: 6px 7px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
    }

    .popup-submit-row {
        gap: 5px !important;
    }

    .popup-submit {
        height: 44px !important;
        min-height: 44px !important;
        padding: 7px 8px !important;
        font-size: 12.5px !important;
        border-radius: 8px !important;
    }

    .popup-whatsapp-qr {
        flex-basis: 56px !important;
        width: 56px !important;
        min-width: 56px !important;
        height: 44px !important;
        min-height: 44px !important;
        border-radius: 8px !important;
    }

    .popup-whatsapp-qr img {
        width: 25px !important;
        height: 25px !important;
    }

    .popup-visual-panel {
        padding: 9px !important;
        border-radius: 0 0 12px 12px;
    }

    .popup-visual-panel__title {
        font-size: 13.5px !important;
    }

    .popup-visual-panel__sub {
        font-size: 10.5px !important;
        margin-bottom: 5px !important;
    }

    .popup-journey-grid {
        gap: 4px !important;
    }

    .popup-journey-item {
        border-radius: 7px !important;
    }

    .popup-journey-item__header {
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        padding: 4px !important;
    }

    .popup-journey-item__num {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        font-size: 9px !important;
    }

    .popup-journey-item__text {
        font-size: 9.5px !important;
    }

    .popup-journey-item__text span {
        font-size: 8.5px !important;
    }

    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        flex-basis: 48px !important;
    }

    .popup-trusted {
        margin-top: 5px !important;
        font-size: 10px !important;
    }

    .popup-brand-note {
        font-size: 9px !important;
    }
}

/* EXTRA SMALL — BELOW 360px */
@media (max-width: 360px) {
    .popup-form-panel {
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .popup-form-panel h2 {
        font-size: 15px !important;
    }

    .popup-form-panel > p {
        font-size: 11px !important;
    }

    .popup-field input,
    .popup-field select,
    .popup-field--phone input,
    .popup-field--phone select {
        font-size: 12px !important;
    }

    .popup-field--phone {
        grid-template-columns: 76px minmax(0, 1fr) !important;
    }

    .popup-field--phone select {
        width: 76px !important;
        font-size: 10.5px !important;
        padding-left: 5px !important;
        padding-right: 11px !important;
    }

    .popup-promo-note {
        font-size: 10.5px !important;
    }

    .popup-submit {
        font-size: 11.5px !important;
    }

    .popup-whatsapp-qr {
        flex-basis: 52px !important;
        width: 52px !important;
        min-width: 52px !important;
    }

    .popup-journey-grid {
        gap: 3px !important;
    }

    .popup-journey-item__header {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        flex-basis: 43px !important;
    }
}

/* LANDSCAPE / SHORT MOBILE */
@media (max-width: 900px) and (orientation: landscape) {
    .popup-overlay {
        align-items: flex-start;
        overflow-y: auto;
    }

    .popup-modal {
        margin: 6px 0;
        max-height: none;
    }
}

@media (max-height: 650px) and (max-width: 700px) {
    .popup-overlay {
        align-items: flex-start;
        overflow-y: auto;
    }

    .popup-form-panel__logo img {
        height: 38px !important;
    }

    .popup-form-panel h2 {
        font-size: 15px !important;
    }

    .popup-form-panel > p {
        margin-bottom: 5px !important;
    }

    .popup-field {
        margin-bottom: 4px !important;
    }

    .popup-field input,
    .popup-field select,
    .popup-field--phone input,
    .popup-field--phone select,
    .popup-field__upload {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }

    .popup-promo-note {
        min-height: 34px !important;
        padding: 5px 6px !important;
        margin: 2px 0 5px !important;
    }

    .popup-submit,
    .popup-whatsapp-qr {
        height: 40px !important;
        min-height: 40px !important;
    }

    .popup-visual-panel {
        padding: 8px !important;
    }

    .popup-journey-item__header {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }

    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        flex-basis: 40px !important;
    }
}


/* =========================================================
   MOBILE FINAL FIX
   FORM FIRST -> JOURNEY BELOW
   NO CONGESTED 2-COLUMN JOURNEY
========================================================= */

@media (max-width: 700px) {

    /* Popup itself becomes a normal vertical document */
    .popup-overlay {
        align-items: flex-start !important;
        justify-content: center !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 8px !important;
    }

    .popup-modal {
        width: min(500px, calc(100vw - 16px)) !important;
        max-width: 500px !important;
        height: auto !important;
        max-height: none !important;
        margin: 8px auto !important;

        display: flex !important;
        flex-direction: column !important;

        overflow: hidden !important;
        border-radius: 14px !important;
    }

    /* =========================
       1. FORM — TOP
    ========================= */

    .popup-form-panel {
        width: 100% !important;
        flex: 0 0 auto !important;

        padding: 20px 16px 16px !important;

        border-radius: 14px 14px 0 0 !important;
        overflow: visible !important;
    }

    .popup-form-panel__logo {
        margin-bottom: 8px !important;
    }

    .popup-form-panel__logo img {
        height: 48px !important;
        max-width: 180px !important;
    }

    .popup-form-panel h2 {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin-bottom: 5px !important;
    }

    .popup-form-panel > p {
        font-size: 13px !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }

    /* Keep fields comfortable on mobile */
    .popup-field-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .popup-field {
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    .popup-field input,
    .popup-field select {
        width: 100% !important;
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        padding: 9px 11px !important;
        font-size: 14px !important;
    }

    /* Phone stays in one row */
    .popup-field--phone {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 96px minmax(0, 1fr) !important;
        gap: 6px !important;
    }

    .popup-field--phone select {
        width: 96px !important;
        min-width: 96px !important;
        max-width: 96px !important;
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        padding: 8px 18px 8px 8px !important;
        font-size: 12px !important;
    }

    .popup-field--phone input {
        width: 100% !important;
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
    }

    .popup-field__upload {
        width: 100% !important;
        height: 43px !important;
        min-height: 43px !important;
        max-height: 43px !important;
        padding: 9px 11px !important;
        font-size: 13px !important;
    }

    .popup-promo-note {
        width: 100% !important;
        min-height: 46px !important;
        margin: 4px 0 10px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .popup-submit-row {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
    }

    .popup-submit {
        flex: 1 1 auto !important;
        width: auto !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 8px 10px !important;
        font-size: 14px !important;
    }

    .popup-whatsapp-qr {
        flex: 0 0 68px !important;
        width: 68px !important;
        min-width: 68px !important;
        height: 48px !important;
        min-height: 48px !important;
    }

    /* =========================
       2. JOURNEY — BELOW FORM
    ========================= */

    .popup-visual-panel {
        width: 100% !important;
        flex: 0 0 auto !important;

        padding: 16px 12px 14px !important;

        border-radius: 0 0 14px 14px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        overflow: visible !important;
    }

    .popup-visual-panel__title {
        width: 100% !important;
        font-size: 16px !important;
        line-height: 1.25 !important;
        margin: 0 0 3px !important;
    }

    .popup-visual-panel__sub {
        width: 100% !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin: 0 0 12px !important;
    }

    /*
       IMPORTANT:
       Journey cards are ONE PER ROW on mobile.
       This prevents the cards/text/images from becoming cramped.
    */
    .popup-journey-grid {
        width: 100% !important;

        display: grid !important;
        grid-template-columns: 1fr !important;

        gap: 9px !important;

        align-items: stretch !important;
    }

    .popup-journey-item {
        width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        border-radius: 9px !important;
        overflow: hidden !important;
    }

    .popup-journey-item__header {
        width: 100% !important;

        height: auto !important;
        min-height: 52px !important;
        max-height: none !important;

        padding: 8px 10px !important;

        display: flex !important;
        align-items: center !important;

        gap: 7px !important;

        overflow: visible !important;
    }

    .popup-journey-item__num {
        flex: 0 0 20px !important;

        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;

        font-size: 11px !important;
    }

    .popup-journey-item__text {
        flex: 1 1 auto !important;

        font-size: 12px !important;
        line-height: 1.25 !important;

        overflow: visible !important;
    }

    .popup-journey-item__text span {
        margin-top: 2px !important;

        font-size: 10.5px !important;
        line-height: 1.25 !important;

        overflow: visible !important;
    }

    /* Full-width journey image */
    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        display: block !important;

        width: 100% !important;

        height: 110px !important;
        min-height: 110px !important;
        max-height: 110px !important;

        flex: 0 0 110px !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: cover !important;
        object-position: center center !important;

        border: 0 !important;
    }

    .popup-trusted {
        width: 100% !important;
        margin: 10px 0 0 !important;
        font-size: 12px !important;
    }

    .popup-brand-note {
        width: 100% !important;
        margin: 4px 0 0 !important;
        font-size: 10.5px !important;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .popup-overlay {
        padding: 5px !important;
    }

    .popup-modal {
        width: calc(100vw - 10px) !important;
        margin: 5px auto !important;
    }

    .popup-form-panel {
        padding: 17px 13px 14px !important;
    }

    .popup-form-panel__logo img {
        height: 44px !important;
        max-width: 165px !important;
    }

    .popup-form-panel h2 {
        font-size: 17px !important;
    }

    .popup-form-panel > p {
        font-size: 12px !important;
        margin-bottom: 9px !important;
    }

    .popup-field {
        margin-bottom: 6px !important;
    }

    .popup-field input,
    .popup-field select,
    .popup-field--phone input,
    .popup-field--phone select {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        font-size: 13px !important;
    }

    .popup-field--phone {
        grid-template-columns: 88px minmax(0, 1fr) !important;
        gap: 5px !important;
    }

    .popup-field--phone select {
        width: 88px !important;
        min-width: 88px !important;
        max-width: 88px !important;
        font-size: 11.5px !important;
    }

    .popup-field__upload {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        font-size: 12px !important;
    }

    .popup-promo-note {
        min-height: 42px !important;
        margin: 3px 0 8px !important;
        padding: 7px 8px !important;
        font-size: 11.5px !important;
    }

    .popup-submit,
    .popup-whatsapp-qr {
        height: 45px !important;
        min-height: 45px !important;
    }

    .popup-whatsapp-qr {
        flex-basis: 62px !important;
        width: 62px !important;
        min-width: 62px !important;
    }

    .popup-visual-panel {
        padding: 13px 10px 12px !important;
    }

    .popup-visual-panel__title {
        font-size: 15px !important;
    }

    .popup-visual-panel__sub {
        font-size: 11px !important;
        margin-bottom: 9px !important;
    }

    /* Still ONE card per row */
    .popup-journey-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .popup-journey-item__header {
        min-height: 50px !important;
        padding: 7px 9px !important;
    }

    .popup-journey-item__text {
        font-size: 11.5px !important;
    }

    .popup-journey-item__text span {
        font-size: 10px !important;
    }

    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 95px !important;
        min-height: 95px !important;
        max-height: 95px !important;
        flex-basis: 95px !important;
    }
}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .popup-form-panel {
        padding: 15px 10px 12px !important;
    }

    .popup-form-panel__logo img {
        height: 40px !important;
    }

    .popup-form-panel h2 {
        font-size: 16px !important;
    }

    .popup-field input,
    .popup-field select,
    .popup-field--phone input,
    .popup-field--phone select {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        font-size: 12px !important;
    }

    .popup-field--phone {
        grid-template-columns: 80px minmax(0, 1fr) !important;
    }

    .popup-field--phone select {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
        font-size: 10.5px !important;
    }

    .popup-field__upload {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }

    .popup-submit,
    .popup-whatsapp-qr {
        height: 42px !important;
        min-height: 42px !important;
    }

    .popup-whatsapp-qr {
        flex-basis: 56px !important;
        width: 56px !important;
        min-width: 56px !important;
    }

    .popup-journey-item__header {
        min-height: 47px !important;
        padding: 7px 8px !important;
    }

    .popup-journey-item__text {
        font-size: 11px !important;
    }

    .popup-journey-item__text span {
        font-size: 9.5px !important;
    }

    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 85px !important;
        min-height: 85px !important;
        max-height: 85px !important;
        flex-basis: 85px !important;
    }
}

/* =========================================================
   FINAL MOBILE IMAGE HEIGHT FIX
   ========================================================= */

@media (max-width: 700px) {
    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        width: 100% !important;
        height: 75px !important;
        min-height: 75px !important;
        max-height: 75px !important;
        flex: 0 0 75px !important;

        object-fit: cover !important;
        object-position: center center !important;

        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        display: block !important;
    }
}

/* Smaller phones */
@media (max-width: 480px) {
    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        flex-basis: 200px !important;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .popup-journey-item > img,
    .popup-journey-item figure,
    .popup-journey-item figure img,
    .popup-journey-item img {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        flex-basis: 200px !important;
    }
}


/* ===========================================
   CLICKABLE DISCOUNT → WHATSAPP
   =========================================== */

.discount-highlight {
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.discount-highlight:hover {
    transform: scale(1.015);
    box-shadow: 0 4px 18px rgba(255, 193, 7, 0.35);
}

.discount-highlight:active {
    transform: scale(0.98);
}

/* Desktop hint */
@media (min-width: 701px) {
    .discount-highlight::after {
        content: " Click to view WhatsApp QR";
        display: inline;
        margin-left: 4px;
        font-size: 10px;
        font-weight: 800;
        color: #9a6800;
    }
}

/* Mobile hint */
@media (max-width: 700px) {
    .discount-highlight::after {
        content: " Tap to WhatsApp";
        display: inline;
        margin-left: 4px;
        font-size: 10px;
        font-weight: 800;
        color: #9a6800;
    }
}


/* WhatsApp QR modal now uses the shared .whatsapp-qr-modal styles
   from css/hero.css (see ConsultFormComponent.showWhatsappQR) —
   the old .discount-qr-* duplicate modal styles were removed. */