/* ----- 1. Стили для липкого баннера ----- */
.sticky-banner-placeholder {
    height: 52px;
}

.sticky-banner {
    background: #FFFFFF;
    padding: 8px;
    transition: all 0.3s ease-in-out;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1020;
    position: fixed;
    border-bottom:2px solid rgba(245, 245, 245, 1);
}


.sticky-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.sticky-banner .app-icon {
    flex-shrink: 0;
    background-color: var(--brand-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-banner .app-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.sticky-banner .banner-text {
    font-weight: 600;
    font-size: 13px;
    line-height: 120%;
    flex-grow: 1;
    color: #000;
}

.sticky-banner .promo-code {
    color: rgba(240, 69, 8, 1);
}

.sticky-banner .btn-download {

    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 8px;
    height: 36px;
    background: #F04508;
    border-radius: 12px;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    line-height: 1;
}

.sticky-banner .btn-download:hover {
    background-color: #d1511f;
    color: white;
}

.sticky-banner .close-banner-btn {
    background: #e9ecef;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    color: #6c757d;
    flex-shrink: 0;
}

/* ----- 2. Стили для Попапа ----- */
.promo-modal .modal-dialog {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    margin: 0 auto;
    max-width: 420px; /* Ограничение ширины для планшетов */
}

/* Анимация появления попапа снизу */
.promo-modal.fade .modal-dialog {
    transform: translateY(110%);
    transition: transform 0.4s ease-out;
}

.promo-modal.fade.show .modal-dialog {
    transform: translateY(0);
}

.promo-modal .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    padding: 16px;
    padding-top: 50px;
    text-align: center;
}

.promo-modal .modal-header {
    border-bottom: none;
    padding: 0;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;

}

.promo-modal .app-icon-modal {
    width: 80px;
    height: 80px;
    background-color: var(--brand-orange);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-10deg);
}



.promo-modal .modal-body {
    padding: 0;
    margin-top: 13px;
}

.promo-modal .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: #F5F5F5;
    border-radius: 50%;

}

.promo-modal .modal-title {
    color: rgba(240, 69, 8, 1);
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    text-align: center;
    margin-bottom: 8px;
}

.promo-modal .modal-subtitle {
    font-weight: 500;
    font-size: 15px;
    line-height: 120%;
    text-align: center;
}

.promo-modal .promo-code {
    font-weight: 700;
    font-size: 15px;
    line-height: 120%;
    color: rgba(240, 69, 8, 1);
}

.promo-modal .features-grid {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 24px 0;
}

.promo-modal .feature-item {
    display: flex;
    width: 50%;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    gap: 8px;
    height: 40px;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 8px;
    color: rgba(240, 69, 8, 1);
    font-weight: 600;
    font-size: 12px;
    line-height: 120%;
}

.promo-modal .feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--brand-orange);
}

.promo-modal .btn-get-discount {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    height: 56px;
    background: #F04508;
    border-radius: 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: rgba(255, 255, 255, 1);
}

.promo-modal .btn-get-discount:hover {
    background-color: #d1511f;
    color: white;
}

/* Стили для демо-контента */
.content-placeholder {
    padding: 2rem;
    text-align: center;
    background: #fff;
    border-radius: 1rem;
    margin: 2rem 1rem;
}