/* BE Newsletter Popup (DEVS-5862) - fullscreen mobile layout per Figma */
.newsletter-popup-be {
    position: fixed !important;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1015;
    display: none;
    flex-direction: column;
    padding: calc(33 / 640 * 100vw) calc(26 / 640 * 100vw) calc(39 / 640 * 100vw);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.newsletter-popup-be * {
    box-sizing: border-box;
}

.newsletter-popup-be-close {
    position: absolute;
    top: calc(23 / 640 * 100vw);
    right: calc(23 / 640 * 100vw);
    width: calc(53 / 640 * 100vw);
    height: calc(53 / 640 * 100vw);
    z-index: 2;
}

.newsletter-popup-be-close::before,
.newsletter-popup-be-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(36 / 640 * 100vw);
    height: calc(3 / 640 * 100vw);
    background: #000;
}

.newsletter-popup-be-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.newsletter-popup-be-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.newsletter-popup-be-logo {
    flex: 0 0 auto;
    margin-bottom: calc(23 / 640 * 100vw);
}

.newsletter-popup-be-logo img {
    height: calc(49 / 640 * 100vw);
    width: auto;
    display: block;
}

.newsletter-popup-be-hero {
    flex: 0 0 auto;
    height: 34vh;
    min-height: calc(295 / 640 * 100vw);
    border-radius: calc(33 / 640 * 100vw);
    background-size: cover;
    background-position: center;
    margin-bottom: calc(33 / 640 * 100vw);
}

.newsletter-popup-be-step {
    display: none;
    flex: 1 0 auto;
    flex-direction: column;
}

.newsletter-popup-be-step-center {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.newsletter-popup-be-title {
    margin: 0 0 calc(16 / 640 * 100vw);
    font-size: calc(56 / 640 * 100vw);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: #000;
    /* dev/staging serve resources with non-breaking hyphens (Resources.vb Item) — never overflow the viewport */
    overflow-wrap: break-word;
}

.newsletter-popup-be-subtitle {
    margin: 0 0 calc(26 / 640 * 100vw);
    font-size: calc(26 / 640 * 100vw);
    line-height: 1.35;
    color: #000;
}

.newsletter-popup-be-hint {
    margin: 0 0 calc(26 / 640 * 100vw);
    font-size: calc(21 / 640 * 100vw);
    line-height: 1.35;
    color: #777;
}

.newsletter-popup-be-label {
    display: block;
    margin: 0 0 calc(13 / 640 * 100vw);
    font-size: calc(25 / 640 * 100vw);
    font-weight: 700;
    color: #000;
}

.newsletter-popup-be-options {
    display: flex;
    flex-direction: column;
    gap: calc(16 / 640 * 100vw);
    margin-bottom: calc(30 / 640 * 100vw);
}

.newsletter-popup-be-options-row {
    flex-direction: row;
    gap: calc(20 / 640 * 100vw);
}

.newsletter-popup-be-options-row .newsletter-popup-be-option {
    flex: 1 1 0;
}

.newsletter-popup-be-option {
    display: flex;
    align-items: center;
    gap: calc(20 / 640 * 100vw);
    padding: calc(20 / 640 * 100vw) calc(23 / 640 * 100vw);
    border: 1px solid #ccc;
    border-radius: calc(23 / 640 * 100vw);
    background: #fafafa;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.newsletter-popup-be-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.newsletter-popup-be-option.is-selected {
    border-color: #000;
    background: #efefef;
}

.newsletter-popup-be-option-badge {
    flex: 0 0 auto;
    width: calc(56 / 640 * 100vw);
    height: calc(56 / 640 * 100vw);
    border-radius: calc(15 / 640 * 100vw);
    background: #000;
    color: #fff;
    font-size: calc(26 / 640 * 100vw);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-popup-be-option-label {
    font-size: calc(28 / 640 * 100vw);
    color: #000;
}

.newsletter-popup-be-options.is-invalid .newsletter-popup-be-option {
    border-color: #d00;
}

.newsletter-popup-be-email {
    width: 100%;
    padding: calc(23 / 640 * 100vw);
    border: 1px solid #ccc;
    border-radius: calc(20 / 640 * 100vw);
    font-size: calc(26 / 640 * 100vw);
    color: #000;
    background: #fafafa;
    margin-bottom: calc(30 / 640 * 100vw);
}

.newsletter-popup-be-email.is-invalid {
    border-color: #d00;
}

.newsletter-popup-be-footer {
    margin-top: auto;
    padding-top: calc(13 / 640 * 100vw);
}

.newsletter-popup-be-cta {
    display: block;
    width: 100%;
    padding: calc(26 / 640 * 100vw);
    border-radius: calc(999 / 640 * 100vw);
    background: #000;
    color: #fff !important;
    font-size: calc(28 / 640 * 100vw);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

.newsletter-popup-be-disclaimer {
    margin: calc(20 / 640 * 100vw) 0 0;
    font-size: calc(18 / 640 * 100vw);
    line-height: 1.35;
    color: #777;
    text-align: center;
}

.newsletter-popup-be-disclaimer a {
    color: #777;
    text-decoration: underline;
}

.newsletter-popup-be-spinner {
    width: calc(69 / 640 * 100vw);
    height: calc(69 / 640 * 100vw);
    border: calc(5 / 640 * 100vw) solid #ddd;
    border-top-color: #000;
    border-radius: 50%;
    animation: newsletter-popup-be-spin 0.8s linear infinite;
    margin-bottom: calc(23 / 640 * 100vw);
}

@keyframes newsletter-popup-be-spin {
    to { transform: rotate(360deg); }
}
