/* Mobile Newsletter Banner Block Styles */
.mobile-newsletter-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--mobile-banner-bg, #22c55e);
    padding: 12px 16px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default, shown only on mobile */
}

.mobile-newsletter-banner__container {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

/* Icon */
.mobile-newsletter-banner__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-newsletter-banner__icon svg {
    width: 100%;
    height: 100%;
}

/* Content */
.mobile-newsletter-banner__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mobile-newsletter-banner__primary-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-newsletter-banner__secondary-text {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CTA Button */
.mobile-newsletter-banner__button {
    flex-shrink: 0;
    background-color: var(--mobile-banner-button-bg, #FDC700);
    color: #000000;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.mobile-newsletter-banner__button:hover {
    opacity: 0.9;
}

.mobile-newsletter-banner__button:active {
    opacity: 0.8;
}

/* Close Button */
.mobile-newsletter-banner__close {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.mobile-newsletter-banner__close:hover {
    opacity: 0.7;
}

.mobile-newsletter-banner__close svg {
    width: 20px;
    height: 20px;
}

/* Show only on mobile devices */
@media (max-width: 768px) {
    .mobile-newsletter-banner {
        display: block;
    }
}

/* Hide on desktop and tablet */
@media (min-width: 769px) {
    .mobile-newsletter-banner {
        display: none !important;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .mobile-newsletter-banner {
        padding: 10px 12px;
    }

    .mobile-newsletter-banner__container {
        gap: 10px;
    }

    .mobile-newsletter-banner__icon {
        width: 28px;
        height: 28px;
    }

    .mobile-newsletter-banner__button {
        padding: 8px 16px;
    }
}

/* Very small screens */
@media (max-width: 360px) {

    .mobile-newsletter-banner__button {
        padding: 8px 12px;
    }
}

