/* Внутренняя структура Telegram попапа */
.tg-content-grid {
    display: flex;
    gap: 20px;
    align-items: center;
}

.price-popup.telegram-popup{
    max-width: 600px;
}

.tg-text-col {
    flex: 1;
}

.tg-qr-col {
    flex: 0 0 230px;
    text-align: center;
    border-left: 1px solid #e0e0e0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tg-qr-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: white;
    box-sizing: border-box;
    padding: 10px;
    box-shadow: inset 0 7px 16px rgba(0, 0, 0, 0.1);
}

.tg-qr-desc {
    font-size: 10px;
    color: #666;
    opacity: 0.8;
    line-height: 1.1;
}

.tg-footer-row {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.tg-checkbox-wrapper {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--first-text-color, #333);
    cursor: pointer;
    opacity: 0.8;
}

.tg-protected{
    font-size: 14px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.tg-checkbox-wrapper input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

/* Адаптив: скрываем QR на мобильных */
@media (max-width: 600px) {
    .tg-content-grid {
        display: block; /* Убираем флекс */
    }
    
    .tg-qr-col {
        display: none !important; /* Скрываем QR */
    }
    
    .tg-footer-row {
        padding: 0px;
        flex-direction: column-reverse;
        align-items: stretch;
        text-align: center;
    }
    
    .tg-checkbox-wrapper {
        justify-content: center;
    }
}