/* === СТРАНИЦА ТАРИФОВ === */
.pay-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.payment-status-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}
.payment-status-overlay.hidden { display: none; }
.payment-status-card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 36px 32px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.payment-status-spinner,
.payment-status-icon {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 16px;
}
.payment-status-icon.success { color: #10b981; }
.payment-status-icon.error { color: #ef4444; }
.payment-status-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.payment-status-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.payment-status-card .btn-accent { margin-top: 16px; }

.pay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
    gap: 16px;
}

.pay-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #D63384, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-switch {
    display: flex;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 4px;
    gap: 4px;
}
.switch-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 26px;
    background: transparent;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}
.switch-btn.active {
    background: linear-gradient(135deg, #D63384, #E91E63);
    color: white;
    box-shadow: 0 6px 18px rgba(214, 51, 132, 0.4);
}

/* Пояснения: что такое GEM / подписка */
.explain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}
.explain-card {
    position: relative;
    overflow: hidden;
    background: var(--card-bg, rgba(255,255,255,0.05));
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light, rgba(214, 51, 132, 0.15));
    border-radius: 22px;
    padding: 26px 28px;
    box-shadow: 0 12px 30px rgba(214, 51, 132, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.explain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(214, 51, 132, 0.14);
}
.explain-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    opacity: 0.12;
    pointer-events: none;
}
.explain-card.gem::after {
    background: radial-gradient(circle, #ff6b9d, transparent 70%);
}
.explain-card.sub::after {
    background: radial-gradient(circle, #7c5cff, transparent 70%);
}
.explain-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.explain-card.gem .explain-icon {
    background: linear-gradient(135deg, #D63384, #ff6b9d);
}
.explain-card.sub .explain-icon {
    background: linear-gradient(135deg, #6a3df0, #9b6bff);
}
.explain-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    position: relative;
}
.explain-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}
.explain-card .explain-example {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    position: relative;
}
.explain-card.gem .explain-example {
    background: rgba(214, 51, 132, 0.12);
    color: #ff6b9d;
}
.explain-card.sub .explain-example {
    background: rgba(124, 92, 255, 0.14);
    color: #9b6bff;
}

/* Секции товаров (GEM / Тарифы показаны одновременно) */
.products-section {
    margin-bottom: 36px;
}
.products-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.products-section-title i {
    color: var(--accent);
}

/* Шаг 1 */
.step-container {
    animation: fadeSlide 0.4s ease;
}
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-hint {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    opacity: 0.7;
}

.products-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Карточка товара */
.product-card {
    background: var(--card-bg, rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px);
    border: 2px solid var(--border-light, rgba(214, 51, 132, 0.15));
    border-radius: 24px;
    padding: 28px 18px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: cardAppear 0.5s ease backwards;
}
.product-card:nth-child(odd) { animation-delay: 0.1s; }
.product-card:nth-child(even) { animation-delay: 0.2s; }
@keyframes cardAppear {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(214, 51, 132, 0.2);
    border-color: var(--accent);
    background: rgba(214, 51, 132, 0.08);
}
.product-card.selected {
    border-color: var(--accent);
    background: rgba(214, 51, 132, 0.12);
    box-shadow: 0 24px 48px rgba(214, 51, 132, 0.3);
    transform: scale(1.02);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(214, 51, 132, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(214, 51, 132, 0); }
    100% { box-shadow: 0 0 0 0 rgba(214, 51, 132, 0); }
}
.product-card.popular {
    border-color: #ff6b9d;
    background: linear-gradient(145deg, rgba(255,107,157,0.12), rgba(214,51,132,0.06));
}

.product-card .badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #ff6b9d, #e91e63);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(255,107,157,0.5);
    z-index: 2;
    letter-spacing: 0.3px;
}

.product-card .card-icon {
    font-size: 2.6rem;
    background: linear-gradient(135deg, #D63384, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.product-card .card-amount {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #D63384, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.product-card .card-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

/* Бонусные GEM для тарифа */
.card-bonus {
    background: rgba(214,51,132,0.1);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
}

.card-benefits {
    text-align: left;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.benefit-item i {
    font-size: 0.9rem;
    color: var(--accent);
    flex-shrink: 0;
}

.product-card .card-price {
    background: rgba(214,51,132,0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 8px;
}

.product-card .card-buy-btn {
    width: 100%;
    margin-top: 6px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.3);
}
.product-card .card-buy-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}
.product-card.popular .card-buy-btn {
    background: linear-gradient(135deg, #ff6b9d, #e91e63);
}

.product-card .card-rate {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: -4px;
}

.product-card .card-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(39,174,96,0.4);
    z-index: 2;
}
.product-card.popular .card-discount {
    background: linear-gradient(135deg, #ffd76b, #ffb020);
    box-shadow: 0 6px 14px rgba(255,176,32,0.5);
    color: #3a2600;
}

/* Шаг 2 */
.order-panel {
    background: var(--card-bg, rgba(255,255,255,0.08));
    backdrop-filter: blur(28px);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border-light, rgba(214, 51, 132, 0.2));
    box-shadow: 0 20px 40px rgba(214, 51, 132, 0.1);
    animation: slideUp 0.5s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.selected-package {
    background: rgba(214,51,132,0.08);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(214,51,132,0.15);
}
.selected-package .pkg-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
}
.selected-package .pkg-row:last-child { margin-bottom: 0; }
.selected-package .pkg-row strong { color: var(--accent); font-weight: 700; }

.payment-methods h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.method-options {
    display: flex;
    gap: 10px;
}
.method-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 6px;
    background: var(--glass-bg, rgba(255,255,255,0.04));
    border: 2px solid var(--glass-border, rgba(214, 51, 132, 0.15));
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}
.method-option input { display: none; }
.method-option:has(input:checked) {
    background: linear-gradient(135deg, #D63384, #E91E63);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(214,51,132,0.4);
}
.method-icon {
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.method-option:has(input:checked) .method-icon {
    background: rgba(255,255,255,0.2);
}
.method-text { font-size: 0.8rem; }

.agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.agreement input { display: none; }
.agree-box {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(214, 51, 132, 0.5);
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
    margin-top: 2px;
}
.agreement input:checked + .agree-box {
    background: var(--accent);
    border-color: var(--accent);
}
.agreement input:checked + .agree-box::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}
.agreement a { color: var(--accent); text-decoration: none; }

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    padding-top: 12px;
    border-top: 1px solid var(--border-light, rgba(214, 51, 132, 0.2));
}
.order-total strong {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #D63384, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pay-btn {
    padding: 16px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #D63384, #E91E63);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(214, 51, 132, 0.35);
    transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pay-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.4);
}
.pay-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 32px rgba(214, 51, 132, 0.5);
}
.pay-btn:active:not(:disabled) { transform: translateY(0) scale(0.98); }

.back-btn {
    background: none;
    border: 1px solid var(--border-light, rgba(214,51,132,0.3));
    color: var(--accent);
    font-size: 0.95rem;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.back-btn:hover {
    background: rgba(214,51,132,0.05);
}

.terms-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    opacity: 0.8;
    margin-top: 4px;
}

/* Попап в стиле сайта */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-container {
    background: var(--card-bg, #ffffff);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light, rgba(214, 51, 132, 0.15));
    border-radius: 28px;
    padding: 32px 24px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow, 0 20px 50px rgba(214, 51, 132, 0.1));
    animation: scaleIn 0.3s ease;
}
@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(214, 51, 132, 0.1), rgba(214, 51, 132, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.popup-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #D63384, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.popup-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.popup-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Исправлено: кнопки в столбик */
.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.popup-btn {
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}
.popup-btn-cancel {
    background: var(--glass-bg, rgba(214, 51, 132, 0.08));
    color: var(--text-secondary);
    border: 1px solid var(--glass-border, rgba(214, 51, 132, 0.15));
}
.popup-btn-cancel:hover {
    background: rgba(214, 51, 132, 0.12);
}
.popup-btn-telegram {
    background: linear-gradient(135deg, #D63384, #E91E63);
    color: white;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.popup-btn-telegram:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(214, 51, 132, 0.4);
}

/* Адаптивность */
@media (max-width: 600px) {
    .products-scroll {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-card .card-amount { font-size: 1.8rem; }
    .product-card .card-name { font-size: 1rem; }
    .pay-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .method-options {
        flex-direction: column;
    }
}
@media (max-width: 500px) {
    .products-scroll {
        grid-template-columns: 1fr;
    }
}
/* Мобильные: компактные карточки, две колонки */
@media (max-width: 500px) {
    .products-scroll { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card { padding: 16px 10px 12px; gap: 6px; border-radius: 18px; animation: none; }
    .product-card:hover { transform: none; }
    .product-card.selected { animation: none; transform: none; }
    .product-card .card-icon { font-size: 1.5rem; margin-bottom: 0; }
    .product-card .card-amount { font-size: 1.5rem; }
    .product-card .card-name { font-size: 0.85rem; }
    .product-card .card-benefits { display: none; }
    .product-card .card-price { font-size: 1.05rem; }
    .product-card .card-buy-btn { padding: 9px 8px; font-size: 0.85rem; min-height: 40px; width: 100%; }
    /* нечётная последняя карточка занимает всю строку — без «одиноких» блоков */
    .product-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .product-card .badge { top: 8px; right: 8px; font-size: 0.65rem; padding: 3px 9px; }
}

/* Мобильные и планшеты: сначала товары, пояснения — ниже */
@media (max-width: 768px) {
    .pay-page { display: flex; flex-direction: column; }
    .pay-header { order: 1; }
    .club-unlock { order: 1; }
    #step1, #step2 { order: 2; }
    .explain-grid { order: 3; margin-top: 24px; }
}

/* Мобильные: бейджи скидки и «выгоднее всех» в одну строку, не наезжают на иконку */
@media (max-width: 500px) {
    .product-card { padding-top: 36px; }
    .product-card .card-discount { top: 8px; left: 8px; font-size: 0.7rem; padding: 3px 8px; }
    .product-card .badge { top: 8px; right: 8px; font-size: 0.6rem; padding: 3px 7px; letter-spacing: 0; }
}
@media (max-width: 500px) {
    .product-card .badge { font-size: 0; }
    .product-card .badge::after { content: 'ВЫГОДНО'; font-size: 0.6rem; font-weight: 700; }
    .product-card:last-child:nth-child(odd) .badge::after { content: 'ВЫГОДНЕЕ ВСЕХ'; }
}

/* Шаг оплаты: способы — крупные кнопки, «Итого + Купить» всегда на виду */
.method-option { cursor: pointer; }
.pay-bar { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 768px) {
    body.pay-step2 .bottom-nav { display: none; }
    body.pay-step2 .main { padding-bottom: 20px; }
    .pay-bar {
        position: sticky;
        bottom: 0;
        z-index: 20;
        background: var(--card-bg, #26262c);
        border-top: 1px solid var(--border-light, rgba(255,255,255,0.1));
        margin: 0 -4px;
        padding: 10px 4px calc(10px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.35);
    }
    .pay-bar .pay-btn { min-height: 52px; font-size: 1.05rem; }
}

/* Шаг оплаты на телефоне: компактно, всё до кнопки «Купить» на одном экране */
@media (max-width: 600px) {
    .pay-page { padding-top: 8px; }
    .pay-title { font-size: 1.25rem; }
    .order-panel { padding: 12px; border-radius: 18px; }
    .selected-package { padding: 10px 12px; font-size: 0.95rem; }
    .payment-methods h4 { font-size: 0.85rem; margin: 10px 0 8px; }
    .method-options { flex-direction: row; gap: 8px; }
    .method-option {
        flex: 1;
        flex-direction: column;
        gap: 4px;
        padding: 10px 4px;
        min-height: 78px;
        justify-content: center;
        text-align: center;
    }
    .method-option .method-icon { width: 30px; height: 30px; font-size: 0.95rem; margin: 0; }
    .method-option .method-text { font-size: 0.72rem; line-height: 1.15; }
    .agreement { font-size: 0.75rem; margin: 10px 0; }
    .terms-note { font-size: 0.7rem; margin-top: 6px; }
    .back-btn { padding: 8px; }
    .pay-bar .order-total { font-size: 0.95rem; }
    .pay-bar .order-total strong { font-size: 1.35rem; }
}

/* промокод: свёрнут по умолчанию */
.promo-box { margin: 12px 0 4px; }
.promo-toggle { background: none; border: none; color: var(--accent, #D63384); font-weight: 600; font-size: 14px; cursor: pointer; padding: 4px 0; }
.promo-toggle i { margin-right: 6px; }
.promo-form { display: flex; gap: 8px; }
.promo-form input { flex: 1; min-width: 0; border: 2px solid #f0dce4; border-radius: 999px; padding: 10px 14px; font-size: 15px;
    text-transform: uppercase; background: var(--card-bg, #fff); color: inherit; }
.promo-form input:focus { outline: none; border-color: var(--accent, #D63384); }
.promo-form button { border: none; border-radius: 999px; padding: 10px 18px; background: var(--accent, #D63384); color: #fff; font-weight: 700; cursor: pointer; }
.promo-applied { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #eaf8ef; color: #1f7a45;
    border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.promo-applied i { margin-right: 4px; }
.promo-applied button { border: none; background: none; font-size: 20px; line-height: 1; color: #1f7a45; cursor: pointer; }
.promo-error { color: #c0392b; font-size: 13px; margin-top: 6px; }
#totalPrice s { opacity: .5; font-weight: 500; margin-right: 6px; }
.products-section { scroll-margin-top: 80px; }

/* ===== промокод: свёрнут, раскрывается только по нажатию ===== */
.promo-box [hidden] { display: none !important; }
.promo-box { margin: 14px 0 6px; }
.promo-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 14px; border-radius: 14px; cursor: pointer; font: inherit;
    font-weight: 700; font-size: 14.5px; color: var(--accent, #D63384); background: rgba(214, 51, 132, .06);
    border: 1.5px dashed rgba(214, 51, 132, .45); transition: background .15s, transform .15s; text-align: left; }
.promo-toggle:hover { background: rgba(214, 51, 132, .1); }
.promo-toggle:active { transform: scale(.985); }
.promo-toggle i { margin: 0; font-size: 16px; }
.promo-toggle-hint { margin-left: auto; font-weight: 500; font-size: 12.5px; color: var(--text-secondary); }
.promo-form { display: flex; align-items: center; gap: 0; padding: 5px; border-radius: 16px; background: var(--input-bg, rgba(255,255,255,.04));
    border: 1.5px solid var(--accent, #D63384); box-shadow: 0 0 0 4px rgba(214, 51, 132, .12); animation: promoIn .25s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes promoIn { from { opacity: 0; transform: translateY(-6px); } }
.promo-form input { flex: 1; min-width: 0; border: none !important; background: transparent !important; box-shadow: none !important; border-radius: 12px;
    padding: 10px 12px; font-size: 16px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-primary); outline: none; }
.promo-form input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-secondary); }
.promo-form button { flex-shrink: 0; border: none; border-radius: 12px; padding: 11px 18px; font: inherit; font-weight: 800; font-size: 14px; color: #fff; cursor: pointer;
    background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 55%), linear-gradient(135deg, #ff5a9a, #D63384 55%, #8a2be2); }
.promo-applied { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 16px;
    background: rgba(47, 191, 113, .1); border: 1.5px solid rgba(47, 191, 113, .55); color: var(--text-primary); animation: promoIn .25s cubic-bezier(.2, 1.3, .4, 1); }
.promo-applied-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, #2fbf71, #1f9d5c); }
.promo-applied-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.promo-applied-text b { font-size: 15px; letter-spacing: 1px; overflow: hidden; text-overflow: ellipsis; }
.promo-applied-text small { font-size: 12.5px; color: #2fbf71; font-weight: 600; }
.promo-applied-off { font-size: 20px; font-weight: 900; color: #2fbf71; }
.promo-applied button { width: 32px; height: 32px; flex-shrink: 0; border: none; border-radius: 50%; background: rgba(0, 0, 0, .06); color: var(--text-secondary);
    font-size: 20px; line-height: 1; cursor: pointer; }
.promo-error { color: #e0485f; font-size: 13px; margin-top: 8px; font-weight: 600; }
.promo-toggle-hint { display: none; }
.promo-toggle { justify-content: center; white-space: nowrap; }
.promo-applied-text small { white-space: nowrap; font-size: 12px; }
.promo-applied { gap: 10px; }
.promo-applied-off { font-size: 18px; }

/* ================= Карточки как раньше — только красивее ================= */
.product-card { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; overflow: visible !important; border-width: 1px !important;
    background: radial-gradient(120% 70% at 50% 0%, rgba(214, 51, 132, .13), transparent 65%), var(--card-bg) !important;
    box-shadow: 0 18px 38px -28px rgba(214, 51, 132, .9); padding-top: 30px !important; }
.product-card:hover { transform: translateY(-5px) !important; background: radial-gradient(120% 70% at 50% 0%, rgba(214, 51, 132, .2), transparent 65%), var(--card-bg) !important; }
.product-card.selected { animation: none !important; transform: none !important; box-shadow: 0 0 0 3px rgba(214, 51, 132, .35), 0 18px 38px -20px rgba(214, 51, 132, 1) !important; }

/* иконка — глянцевая плитка */
.product-card .card-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin: 0 0 2px !important; font-size: 26px !important;
    -webkit-text-fill-color: #fff !important; color: #fff; -webkit-background-clip: border-box !important; background-clip: border-box !important;
    background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 55%), linear-gradient(135deg, #ff5a9a, #D63384 55%, #8a2be2) !important;
    box-shadow: inset 0 -3px 8px rgba(0,0,0,.2), 0 12px 24px -10px rgba(214, 51, 132, .9); }
#tariffsGrid .product-card .card-icon { background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 55%), linear-gradient(135deg, #b46cff, #7a2be2) !important;
    box-shadow: inset 0 -3px 8px rgba(0,0,0,.2), 0 12px 24px -10px rgba(122, 43, 226, .9); }
#tariffsGrid .product-card .card-icon i::before { content: "\f534"; }

/* количество — градиентом */
.product-card .card-amount { background: linear-gradient(135deg, #ff5a9a, #D63384 55%, #8a2be2) !important; -webkit-background-clip: text !important; background-clip: text !important;
    -webkit-text-fill-color: transparent !important; color: transparent !important; letter-spacing: -.5px; line-height: 1.05 !important; }
.product-card .card-name { font-weight: 800 !important; }
.product-card .card-bonus { border: 1px solid rgba(214, 51, 132, .3); }

/* преимущества — аккуратным списком с разделителями */
.product-card .card-benefits { width: 100%; padding: 10px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.product-card .benefit-item { text-align: left; }
.product-card .benefit-item i { color: #2fbf71 !important; }

/* цена */
.product-card .card-price { background: none !important; border: none !important; box-shadow: none !important; font-size: 1.75rem !important; font-weight: 900 !important; color: var(--text-primary) !important; padding: 0 !important; }
.product-card .card-rate { color: #2fbf71 !important; font-weight: 800 !important; }

/* кнопка */
.product-card .card-buy-btn { border: none !important; border-radius: 14px !important; min-height: 48px; font-weight: 900 !important; color: #fff !important;
    background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%), linear-gradient(135deg, #ff5a9a, #D63384 55%, #8a2be2) !important;
    box-shadow: 0 10px 22px -10px rgba(214, 51, 132, 1) !important; }

/* метки */
.product-card .badge { top: -12px !important; right: auto !important; left: 50% !important; transform: translateX(-50%); white-space: nowrap;
    color: #3a2204 !important; background: linear-gradient(135deg, #ffe08a, #f5c451) !important; box-shadow: 0 6px 16px -6px rgba(245, 196, 81, .9) !important; }
.product-card .card-discount { position: absolute !important; top: -11px !important; left: 14px !important; right: auto !important; z-index: 2;
    color: #fff !important; background: linear-gradient(135deg, #3ddc84, #1f9d5c) !important; border-radius: 999px !important; padding: 3px 10px !important;
    font-size: 11.5px !important; font-weight: 900 !important; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5) !important; }
.product-card.popular .card-discount { left: auto !important; right: 14px !important; }

/* лучшее предложение */
.product-card.popular { border: 1.5px solid transparent !important;
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box, linear-gradient(135deg, #ffcf5a, #ff5a9a, #8a2be2) border-box !important;
    box-shadow: 0 24px 46px -22px rgba(214, 51, 132, 1) !important; }
.product-card.popular .card-icon { background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 55%), linear-gradient(135deg, #ffcf5a, #e0901e) !important;
    box-shadow: inset 0 -3px 8px rgba(0,0,0,.2), 0 12px 26px -10px rgba(245, 196, 81, .9) !important; }
.product-card.popular .card-buy-btn { color: #3a2204 !important; background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 55%), linear-gradient(135deg, #ffe08a, #f5c451 50%, #e0901e) !important;
    box-shadow: 0 10px 22px -10px rgba(245, 196, 81, 1) !important; }
.products-scroll { padding-top: 14px; row-gap: 26px !important; }
@media (max-width: 767px) { .products-scroll .product-card.popular { grid-column: 1 / -1; } }
/* ПК: кнопки «Купить» на одной линии — карточка тянется, кнопка прижата к низу */
.products-scroll { align-items: stretch !important; }
.product-card { height: 100%; box-sizing: border-box; }
.product-card .card-benefits { flex: 1 1 auto; }
.product-card .card-buy-btn { margin-top: auto !important; }
/* пакеты GEM на телефоне — все одинаковые, ровно по 2 в ряд */
@media (max-width: 767px) {
    #gemsGrid .product-card.popular { grid-column: auto !important; }
    #gemsGrid .product-card.popular .card-discount { top: 10px !important; right: 10px !important; left: auto !important; }
    #gemsGrid .product-card.popular .badge { font-size: 10px !important; padding: 3px 9px !important; }
}
@media (max-width: 500px) { .product-card .badge { font-size: 10px !important; padding: 3px 9px !important; } .product-card .badge::after { content: none !important; } }

/* что даёт каждый пакет — видно и на телефоне */
.product-card .card-benefits { display: flex !important; flex-direction: column; gap: 5px; }
.product-card .benefit-item { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px !important; line-height: 1.3; color: var(--text-secondary); text-align: left; }
.product-card .benefit-item i { width: 14px; text-align: center; margin-top: 2px; color: var(--accent) !important; flex-shrink: 0; font-size: 11.5px; }
.product-card .benefit-item b { color: var(--text-primary); font-weight: 800; }
.product-card .benefit-item.strong i { color: #2fbf71 !important; }
.product-card .benefit-item.muted { opacity: .75; }
.product-card .benefit-gift { font-size: 12px; font-weight: 800; color: var(--accent); text-align: left; margin-top: 2px; }
.product-card .benefit-gift i { margin-right: 4px; }
@media (max-width: 500px) {
    .product-card .benefit-item { font-size: 11.5px !important; gap: 5px; }
    .product-card .benefit-gift { font-size: 11px; }
    .product-card .card-benefits { padding: 8px 0 !important; }
}

/* Покупка открывает Клуб: мотивация прямо на тарифах */
.club-unlock { display: flex; gap: 14px; align-items: center; margin: 4px 0 20px; padding: 16px 18px; border-radius: 20px; color: #fff;
    background: linear-gradient(135deg, #ff5fa2 0%, #D63384 50%, #8a2be2 100%); box-shadow: 0 12px 28px rgba(214,51,132,.28); }
.club-unlock-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.18); }
.club-unlock-icon svg { width: 28px; height: 28px; }
.club-unlock-text b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.club-unlock-text span { display: block; font-size: .9rem; line-height: 1.45; opacity: .95; }
.club-unlock-text strong { color: #fff; font-weight: 800; }
@media (max-width: 480px) { .club-unlock { padding: 14px; gap: 12px; } .club-unlock-icon { flex-basis: 40px; width: 40px; height: 40px; } }

/* Первая покупка GEM удваивается */
.card-x2 { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 5px 10px; border-radius: 12px;
    font-size: .76rem; font-weight: 800; line-height: 1.25; color: #fff; text-align: center; background: linear-gradient(135deg, #ff9f0a, #ff3b30); box-shadow: 0 4px 12px rgba(255,59,48,.3); }
.x2-banner { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; padding: 12px 16px; border-radius: 16px;
    background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.45); color: var(--text-primary); font-size: .95rem; line-height: 1.4; }
.x2-banner b { color: #16a34a; }
.x2-banner .x2-big { flex: 0 0 auto; font-size: 1.5rem; font-weight: 900; color: #16a34a; }

/* ===== Акция ×2 на первую покупку ===== */
.x2-promo { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: center; margin: 2px 0 18px; padding: 18px 18px 18px 16px;
    border-radius: 22px; color: #fff;
    background: linear-gradient(120deg, #ff3b30 0%, #ff6a1a 35%, #ff9f0a 65%, #ff3b8a 100%); background-size: 200% 200%;
    animation: x2Flow 6s ease-in-out infinite; box-shadow: 0 14px 34px rgba(255,90,30,.35); }
@keyframes x2Flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.x2-promo::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg);
    animation: x2Shine 3.2s ease-in-out infinite; }
@keyframes x2Shine { 0% { transform: translateX(0) skewX(-20deg); } 60%, 100% { transform: translateX(420%) skewX(-20deg); } }
.x2-badge { flex: 0 0 74px; width: 74px; height: 74px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
    clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); background: #fff; animation: x2Pulse 1.6s ease-in-out infinite; }
.x2-badge span { font-size: 1.9rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, #ff9f0a, #ff3b30); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes x2Pulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(-4deg); } }
.x2-text { position: relative; z-index: 1; }
.x2-text b { display: block; font-size: 1.15rem; line-height: 1.25; margin-bottom: 4px; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.x2-text span { display: block; font-size: .93rem; line-height: 1.4; }
.x2-text strong { color: #fff; font-weight: 900; }
.x2-text small { display: block; margin-top: 6px; font-size: .75rem; opacity: .9; }
@media (max-width: 480px) { .x2-promo { gap: 12px; padding: 16px 14px; } .x2-badge { flex-basis: 60px; width: 60px; height: 60px; } .x2-badge span { font-size: 1.5rem; } .x2-text b { font-size: 1.02rem; } }
@media (prefers-reduced-motion: reduce) { .x2-promo, .x2-promo::after, .x2-badge { animation: none; } }
.product-card.has-x2 { position: relative; border-color: rgba(255,159,10,.65) !important; box-shadow: 0 10px 28px rgba(255,120,30,.22); }
.product-card.has-x2::before { content: '×2'; position: absolute; top: 46px; left: -7px; z-index: 3;
    padding: 5px 16px 5px 12px; font-size: .95rem; font-weight: 900; color: #fff; line-height: 1;
    background: linear-gradient(135deg, #ff3b30, #ff9f0a); box-shadow: 0 6px 14px rgba(255,59,48,.35);
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%); border-radius: 4px 2px 2px 0; }
.product-card.has-x2::after { content: ''; position: absolute; top: calc(46px + 25px); left: -7px; width: 7px; height: 6px; z-index: 2;
    background: #9b1c14; clip-path: polygon(0 0, 100% 0, 100% 100%); }

.x2-tag { display: inline-block; width: fit-content; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 900;
    letter-spacing: .12em; background: #fff; color: #ef4444; }
/* карточки-пояснения ведут к разделам */
a.explain-card { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
a.explain-card:active { transform: scale(.98); }
.explain-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; font-size: .88rem; color: var(--accent); }
/* фишка подписок */
.sub-perks { margin: 4px 0 16px; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, rgba(214,51,132,.12), rgba(138,43,226,.12));
    border: 1px solid rgba(214,51,132,.35); }
.sub-perks-title { font-weight: 800; font-size: 1rem; margin-bottom: 12px; color: var(--text-primary); }
.sub-perks-title i { color: #f59e0b; margin-right: 6px; }
.sub-perks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .sub-perks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 500px) { .sub-perks-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.sub-perk { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; line-height: 1.35; color: var(--text-secondary); }
.sub-perk i { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(135deg, #ff5fa2, #D63384); font-size: .9rem; }
.sub-perk b { display: block; color: var(--text-primary); font-size: .92rem; margin-bottom: 2px; }
.card-club { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .76rem; font-weight: 700; color: #f59e0b; }
.products-section { scroll-margin-top: 90px; }

a.club-unlock, a.x2-promo { color: #fff; text-decoration: none; cursor: pointer; }
a.club-unlock:active, a.x2-promo:active { transform: scale(.99); }
.unlock-go { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,.22); font-weight: 800; font-size: .85rem !important; width: fit-content; }
.product-card { scroll-margin-top: 100px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pay-header:has(.sr-only) { margin: 0; padding: 0; min-height: 0; }
@media (max-width: 768px) { .x2-promo { order: 1; } }

/* 30.09 Быстрый старт: дешёвые варианты на первом экране */
.quick-start { margin: 4px 0 22px; padding: 16px; border-radius: 20px; background: var(--card-bg, #1d1a22);
    border: 1.5px solid rgba(214, 51, 132, .35); box-shadow: 0 18px 40px -26px rgba(214, 51, 132, .9); }
.quick-start .qs-title { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.08rem; color: var(--text-primary); margin-bottom: 12px; }
.quick-start .qs-title i { color: #ffb020; }
.quick-start .qs-list { display: grid; gap: 10px; }
@media (min-width: 768px) { .quick-start .qs-list { grid-template-columns: 1fr 1fr; } }
.qs-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 16px; cursor: pointer; text-align: left; font: inherit;
    color: var(--text-primary); background: rgba(214, 51, 132, .07); border: 1px solid rgba(214, 51, 132, .22); transition: transform .15s; }
.qs-row:active { transform: scale(.98); }
.qs-ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 1.1rem;
    background: linear-gradient(135deg, #ff5a9a, #D63384 55%, #8a2be2); }
.qs-row.sub .qs-ic { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.qs-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qs-txt b { font-size: 1rem; font-weight: 800; }
.qs-txt small { font-size: .8rem; color: var(--text-secondary); line-height: 1.3; }
.qs-buy { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.qs-price { font-weight: 900; font-size: 1.12rem; white-space: nowrap; }
.qs-btn { padding: 7px 14px; border-radius: 11px; font-weight: 900; font-size: .85rem; color: #fff; white-space: nowrap;
    background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%), linear-gradient(135deg, #ff5a9a, #D63384 55%, #8a2be2);
    box-shadow: 0 8px 18px -10px rgba(214, 51, 132, 1); }
.quick-start .qs-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: .88rem; color: var(--accent, #D63384); text-decoration: none; }
@media (max-width: 380px) { .qs-row { gap: 10px; padding: 10px; } .qs-ic { flex-basis: 36px; width: 36px; height: 36px; } .qs-txt small { font-size: .76rem; } }
/* 30.09: на ПК тоже сначала покупка, пояснения GEM/подписки внизу */
.pay-page { display: flex; flex-direction: column; }
.pay-page > .pay-header { order: 1; }
.pay-page > #step1, .pay-page > #step2 { order: 2; }
.pay-page > .explain-grid { order: 3; margin-top: 24px; }

/* 30.09: баннер промокода из письма и блок «промокод применён» без наложения на узких экранах */
.promo-banner { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; padding: 14px 16px; border-radius: 18px;
    background: linear-gradient(135deg, rgba(47, 191, 113, .16), rgba(47, 191, 113, .06)); border: 1.5px solid rgba(47, 191, 113, .55); color: var(--text-primary); }
.promo-banner .pb-ic { font-size: 1.6rem; flex: 0 0 auto; }
.promo-banner .pb-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.promo-banner .pb-txt b { font-size: 1.02rem; font-weight: 900; }
.promo-banner .pb-txt small { font-size: .84rem; color: var(--text-secondary); }
.promo-banner code { font-weight: 800; color: #2fbf71; letter-spacing: 1px; }
.quick-start .qs-price s { font-size: .78rem; font-weight: 600; color: var(--text-secondary); margin-right: 4px; }
.promo-applied-off { flex-shrink: 0; margin-left: auto; white-space: nowrap; }
.promo-applied-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) { .promo-applied { gap: 8px; } .promo-applied-off { font-size: 17px; } .promo-applied-text b { font-size: 14px; } }
.promo-applied-text small { white-space: normal !important; overflow: visible; }


/* 30.09: окно оплаты USDT (TRC-20) в стиле сайта */
.usdt-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(8, 6, 12, .72); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 16px; }
.usdt-modal[hidden] { display: none !important; }
.usdt-card { position: relative; width: 100%; max-width: 400px; max-height: 94vh; overflow-y: auto; background: var(--card-bg, #221f29);
    border: 1px solid var(--border-light, #332e3d); border-radius: 22px; padding: 22px 20px 18px; color: var(--text-primary, #f1eef5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.usdt-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: transparent; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; opacity: .7; }
.usdt-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.usdt-head b { display: block; font-size: 18px; }
.usdt-head small { opacity: .65; font-size: 13px; }
.usdt-coin { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 22px; color: #fff; background: linear-gradient(135deg, #26a17b, #1a7a5c); }
.usdt-qr { width: 196px; height: 196px; margin: 4px auto 14px; padding: 10px; background: #fff; border-radius: 16px; }
.usdt-qr img, .usdt-qr canvas { width: 100% !important; height: 100% !important; }
.usdt-label { display: block; font-size: 12px; opacity: .65; margin: 8px 0 4px; }
.usdt-row { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border-light, #332e3d);
    border-radius: 14px; padding: 8px 8px 8px 12px; }
.usdt-amount { flex: 1; font-size: 20px; font-weight: 800; color: var(--accent, #D63384); }
.usdt-addr { flex: 1; font-family: ui-monospace, monospace; font-size: 13px; word-break: break-all; }
.usdt-copy { flex-shrink: 0; min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; cursor: pointer; font-weight: 600;
    background: var(--accent, #D63384); color: #fff; font-size: 13px; }
.usdt-copy.done { background: #26a17b; }
.usdt-notes { margin: 14px 0 10px; padding-left: 18px; font-size: 13px; line-height: 1.5; opacity: .85; }
.usdt-status { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 14px; padding: 10px;
    border-radius: 12px; background: rgba(214, 51, 132, .1); }
.usdt-status.ok { background: rgba(38, 161, 123, .18); }
.usdt-spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--accent, #D63384);
    border-radius: 50%; animation: usdtspin 1s linear infinite; flex-shrink: 0; }
@keyframes usdtspin { to { transform: rotate(360deg); } }

/* 30.09: в окне статуса были видны все три значка сразу */
.payment-status-overlay .hidden { display: none !important; }

/* 01.10: три подписки — третья висела одна под двумя. Планшет/ПК: три в ряд; телефон: последняя на всю ширину */
@media (min-width: 601px) { #tariffsGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { #tariffsGrid > .product-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* 01.10: SVG вместо эмодзи в баннере скидки */
.promo-banner .pb-ic { width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 6px 14px rgba(34, 197, 94, .35); }
.payment-status-overlay .ero-svg { color: #22c55e; }
.quick-start .qs-more { padding: 10px 0; }

/* 01.10: 4 пакета GEM — 4 в ряд на ПК и 2×2 на планшете (было 3+1: самый выгодный «×2» оставался один) */
@media (min-width: 601px) and (max-width: 1100px) { .products-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1101px) { .products-scroll { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
/* 01.10: 4 в ряд — у «выгоднее всех» скидка внутри карточки, иначе наезжает на верхнюю метку */
@media (min-width: 1101px) { #gemsGrid .product-card.popular .card-discount { top: 12px !important; right: 12px !important; left: auto !important; } }
