/* ===== ГЛОБАЛЬНЫЙ СБРОС И ПЕРЕМЕННЫЕ ===== */
:root {
    --primary: #0d2957;
    --primary-dark: #0a1f42;
    --primary-light: #1a3f6e;
    --secondary: #f59e0b;
    --secondary-dark: #e67e22;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #059669;
    --success-light: #e6f7e6;
    --warning: #f59e0b;
    --warning-light: #fff9e6;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-primary: 0 8px 16px rgba(13, 41, 87, 0.1);
    --shadow-primary-lg: 0 15px 30px rgba(13, 41, 87, 0.15);
    --shadow-secondary: 0 4px 12px rgba(245, 158, 11, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #2d3e50;
    color: var(--gray-800);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

/* ===== КОНТЕЙНЕР ===== */
.page-wrapper {
    max-width: 768px;
    width: 100%;
    background: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
}

/* ===== ВЕРХНЯЯ ПАНЕЛЬ ===== */
.top-bar {
    background: var(--primary);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-bar-content {
    max-width: 768px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== ЛОГОТИП В ВЕРХНЕЙ ПАНЕЛИ ===== */
.logo-container img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: white;
    padding: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.logo-container img:hover {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .logo-container img {
        width: 36px;
        height: 36px;
        padding: 5px;
    }
}

/* Убираем старый псевдоэлемент с буквой M */
.logo-square {
    display: none;
}

.project-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.back-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.2s;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-2px);
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.content-area {
    background: var(--gray-50);
    flex: 1;
    width: 100%;
}

.content-box {
    max-width: 768px;
    margin: 0 auto;
    padding: 28px 24px;
}

/* ===== ЗАГОЛОВКИ ===== */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gray-300);
}

.section-title-small {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

/* ===== КАТЕГОРИИ ПОДДЕРЖКИ ===== */
.support-section {
    margin-bottom: 48px;
}

.support-categories {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.support-category {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.support-category:hover {
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.category-desc {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ===== КНОПКИ ===== */
.btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    width: 100%;
    letter-spacing: 0.3px;
    text-align: left;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(13, 41, 87, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

.btn-block {
    width: 100%;
}

.payment-btn-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
}

.payment-btn-icon {
    display: block;
    width: 100%;
    height: 190px;
    flex: 0 0 190px;
    overflow: hidden;
    background: #eef4ff;
}

.payment-btn-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.payment-btn-icon-qr img {
    object-fit: contain;
    padding: 18px;
    background: #ffffff;
}

.payment-btn-icon-all img {
    object-fit: cover;
}

.payment-btn-label {
    width: 100%;
    flex: 1 1 auto;
    padding: 18px 20px 22px;
    color: #fff;
    background: linear-gradient(180deg, #365d9d 0%, #173a73 100%);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.34;
    text-align: left;
    word-break: break-word;
    text-wrap: balance;
    display: block;
}

.payment-btn-label-all {
    font-size: 0.93rem;
    line-height: 1.38;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.btn-sbp,
.btn-order-sbp,
.app-order-btn-sbp {
    background: transparent;
    color: white;
    box-shadow: 0 10px 22px rgba(13, 41, 87, 0.18);
}

.btn-sbp:hover,
.btn-order-sbp:hover,
.app-order-btn-sbp:hover {
    box-shadow: 0 14px 30px rgba(13, 41, 87, 0.24);
}

.btn-large {
    padding: 0;
    font-size: 16px;
}

.btn-sbp,
.btn-order-large,
.app-order-btn {
    border-radius: 28px;
    overflow: hidden;
    padding: 0;
    min-height: 320px;
    border: none;
    background: transparent;
}

.btn-order-large,
.app-order-btn {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: left;
}

.btn-primary {
    box-shadow: 0 10px 22px rgba(13, 41, 87, 0.18);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-order-large:hover,
.app-order-btn:hover {
    box-shadow: 0 14px 30px rgba(13, 41, 87, 0.24);
}

.payment-card {
    align-self: stretch;
}

/* ===== СЕТКА ЖИВОТНЫХ ===== */
.animals-section {
    margin-bottom: 48px;
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.animal-card {
    text-decoration: none;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}

.animal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-primary-lg);
}

.animal-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.animal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.animal-card:hover img {
    transform: scale(1.08);
}

.animal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 41, 87, 0.95), transparent);
    padding: 24px 16px 16px;
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.animal-name {
    font-weight: 700;
    font-size: 18px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.animal-type-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== КОНТАКТЫ ===== */
.contacts-section {
    margin-bottom: 32px;
}

.contacts-section.compact {
    margin-top: 32px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.telegram-big {
    background-color: #29a9ea;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69.01-.03.01-.14-.06-.2-.06-.06-.16-.04-.23-.02-.1.02-1.62 1.03-4.58 3.03-.43.3-.82.44-1.17.43-.38-.01-1.12-.22-1.67-.4-.67-.22-1.2-.34-1.16-.71.02-.2.3-.4.81-.61 3.16-1.38 5.28-2.29 6.36-2.73 3.03-1.26 3.66-1.48 4.07-1.48.09 0 .3.02.43.13.11.09.14.21.15.3-.01.09.02.33 0 .51z"/></svg>');
}

.email-big {
    background-color: var(--gray-500);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.contact-value {
    font-size: 13px;
    color: var(--gray-600);
}

/* ===== СТРАНИЦЫ ПОЖЕРТВОВАНИЙ ===== */
.donation-page-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.donation-page-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.donation-page-desc {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ===== СТИЛИ ДЛЯ РЕКЛАМНЫХ СТРАНИЦ ===== */
.ad-selection-cards {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.ad-type-card {
    background: linear-gradient(145deg, #ffffff, var(--gray-50));
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.ad-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.ad-type-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-primary-lg);
    border-color: var(--primary);
}

.ad-type-card:hover::before {
    opacity: 1;
}

.ad-type-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    margin-bottom: 24px;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.telegram-channel-icon {
    background-color: #29a9ea;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69.01-.03.01-.14-.06-.2-.06-.06-.16-.04-.23-.02-.1.02-1.62 1.03-4.58 3.03-.43.3-.82.44-1.17.43-.38-.01-1.12-.22-1.67-.4-.67-.22-1.2-.34-1.16-.71.02-.2.3-.4.81-.61 3.16-1.38 5.28-2.29 6.36-2.73 3.03-1.26 3.66-1.48 4.07-1.48.09 0 .3.02.43.13.11.09.14.21.15.3-.01.09.02.33 0 .51z"/></svg>');
}

.app-site-icon {
    background-color: var(--primary);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M4 6h16v12H4V6zm2 2v8h12V8H6zm2 2h8v4H8v-4z"/><circle cx="17.5" cy="6.5" r="1.5"/></svg>');
}

.ad-type-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.ad-type-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-badge {
    background: var(--gray-100);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.ad-type-features {
    list-style: none;
    margin-bottom: 28px;
}

.ad-type-features li {
    padding: 10px 0;
    color: var(--gray-700);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ad-type-features li:before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
}

.ad-select-btn {
    width: 100%;
}

/* ===== КАНАЛ ХЕДЕР ===== */
.channel-header-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 28px;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.channel-header-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.channel-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    flex-shrink: 0;
}

.channel-details {
    flex: 1;
}

.channel-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.channel-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.channel-stat {
    font-size: 13px;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.btn-channel-link {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.2s;
}

.btn-channel-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.app-site-badge {
    text-align: center;
}

.badge-multi {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
}

/* ===== КАРТОЧКИ ПРИЛОЖЕНИЕ + САЙТЫ ===== */
.sites-header {
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px dashed var(--gray-300);
}

.sites-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

.site-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.site-link:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.site-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.site-icon.com {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230d2957"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/></svg>');
}

.site-icon.ru {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230d2957"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/></svg>');
}

/* ===== КАРТОЧКИ ЗАКАЗА ===== */
.rates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.rates-grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .rates-grid-two-columns {
        grid-template-columns: 1fr;
    }
}

.rate-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rate-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-primary-lg);
    border-color: var(--primary);
}

.rate-card-popular {
    border: 2px solid var(--primary);
    background: linear-gradient(145deg, #ffffff, var(--gray-50));
    position: relative;
    overflow: hidden;
}

.rate-card-popular::before {
    content: '🔥 ХИТ';
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--secondary);
    color: white;
    padding: 8px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: var(--shadow-secondary);
}

.rate-badge-special {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-secondary);
    z-index: 10;
}

.rate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rate-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.rate-badge {
    background: var(--gray-100);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
}

.rate-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.rate-price-small {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.rate-old-price {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: 10px;
}

.rate-total {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 16px;
    font-weight: 600;
}

.rate-description {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.5;
}

.rate-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.platform-icon {
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 4px;
}

.rate-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.rate-features li {
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rate-features li:before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
}

.discount-feature {
    color: var(--secondary) !important;
    font-weight: 700;
}

.discount-feature:before {
    content: "🔥" !important;
    color: var(--secondary) !important;
}

/* ===== КОНСТРУКТОР ЗАКАЗА ===== */
.order-builder {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.order-builder-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-builder-title:before {
    content: '🛠️';
    font-size: 20px;
}

.order-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

@media (max-width: 600px) {
    .order-options-grid {
        grid-template-columns: 1fr;
    }
}

.order-option-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--gray-200);
}

.order-option-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--gray-200);
}

.order-option-item:last-child {
    border-bottom: none;
}

.order-option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
}

.order-option-label input[type="radio"],
.order-option-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.order-option-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}

.order-option-price-free {
    color: var(--success);
    background: var(--success-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

/* ===== СЧЕТЧИКИ ===== */
.counter-wrapper {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.counter-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

.counter-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.counter-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.counter-input {
    width: 80px;
    height: 44px;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    background: white;
}

.counter-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 41, 87, 0.1);
}

.counter-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-left: auto;
}

/* ===== ДИСКОНТ БЕЙДЖ ===== */
.discount-badge {
    background: linear-gradient(135deg, var(--secondary), #f97316);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    display: inline-block;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 14px;
    box-shadow: var(--shadow-secondary);
}

/* ===== ИТОГОВЫЙ БЛОК ===== */
.total-block {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 28px 0;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-primary);
    position: relative;
}

.total-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.total-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: var(--gray-700);
}

.discount-row {
    color: var(--secondary);
    font-weight: 700;
}

.total-sum {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 16px;
    padding-top: 20px;
    border-top: 2px dashed var(--primary);
}

.btn-order-large {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-full);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    width: 100%;
    box-shadow: var(--shadow-primary);
    letter-spacing: 1px;
}

.btn-order-large:hover:not(:disabled) {
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-order-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.order-note {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 16px;
}

/* ===== ИНФОРМАЦИОННЫЙ БЛОК ===== */
.info-block {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 28px 0;
    display: flex;
    gap: 16px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    font-size: 28px;
    line-height: 1;
}

.info-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.6;
}

.info-text strong {
    color: var(--primary);
}

/* ===== ОПЦИИ ===== */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

@media (max-width: 600px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
}

.options-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.options-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.options-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-200);
}

.option-item:last-child {
    border-bottom: none;
}

.option-name {
    font-size: 15px;
    color: var(--gray-700);
}

.option-price {
    font-weight: 700;
    color: var(--primary);
}

.option-price-free {
    font-weight: 600;
    color: var(--success);
    background: var(--success-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
}

.options-note {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 20px;
    font-style: italic;
}

/* ===== ИНСТРУКЦИЯ ===== */
.instruction-block {
    background: var(--warning-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 28px 0;
    border: 1px solid #fcd34d;
}

.instruction-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.instruction-icon {
    font-size: 28px;
}

.instruction-title {
    font-size: 20px;
    font-weight: 700;
    color: #92400e;
}

.instruction-steps {
    padding-left: 28px;
}

.instruction-steps li {
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 15px;
}

/* ===== КОНТАКТНАЯ СЕКЦИЯ ===== */
.ad-contact-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 36px;
    border: 1px solid var(--gray-200);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.ad-contact-section.compact {
    margin-top: 20px;
    padding: 24px;
}

.ad-contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.ad-contact-icon {
    font-size: 28px;
}

.ad-contact-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.ad-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 12px;
}

@media (min-width: 500px) {
    .ad-contact-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.btn-contact-telegram,
.btn-contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    flex: 1;
    border: none;
    cursor: pointer;
}

.btn-contact-telegram {
    background: #29a9ea;
    color: white;
}

.btn-contact-telegram:hover {
    background: #1e8bc3;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(41, 169, 234, 0.3);
}

.btn-contact-email {
    background: var(--gray-500);
    color: white;
}

.btn-contact-email:hover {
    background: #4b5563;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(100, 116, 139, 0.3);
}

.btn-contact-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.telegram-small {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69.01-.03.01-.14-.06-.2-.06-.06-.16-.04-.23-.02-.1.02-1.62 1.03-4.58 3.03-.43.3-.82.44-1.17.43-.38-.01-1.12-.22-1.67-.4-.67-.22-1.2-.34-1.16-.71.02-.2.3-.4.81-.61 3.16-1.38 5.28-2.29 6.36-2.73 3.03-1.26 3.66-1.48 4.07-1.48.09 0 .3.02.43.13.11.09.14.21.15.3-.01.09.02.33 0 .51z"/></svg>');
}

.email-small {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.ad-contact-note {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 16px;
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.gallery-main {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    pointer-events: none;
}

.gallery-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(13, 41, 87, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
    pointer-events: auto;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.gallery-nav-btn:hover {
    background: var(--primary);
    transform: scale(1.15);
}

.gallery-info {
    background: white;
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.animal-type-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.gallery-animal-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.gallery-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 28px;
}

.btn-donate-gallery {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s;
    margin-bottom: 32px;
    width: 100%;
    box-shadow: var(--shadow-primary);
}

.btn-donate-gallery:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-lg);
}

.gallery-thumbnails h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.2s;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: var(--primary);
    transform: scale(1.02);
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* ===== ФОРМЫ ===== */
.donation-form {
    margin-top: 24px;
}

.form-row {
    margin-bottom: 24px;
}

.form-row label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.amount-input-wrapper input {
    width: 100%;
    padding: 16px 20px;
    padding-right: 60px;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.2s;
}

.amount-input-wrapper input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 41, 87, 0.1);
}

.currency-label {
    position: absolute;
    right: 20px;
    font-weight: 700;
    color: var(--gray-500);
    font-size: 18px;
}

textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: all 0.2s;
}

textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 41, 87, 0.1);
}

.amount-quick {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.amount-btn {
    padding: 12px 8px;
    border: 2px solid var(--gray-200);
    background: white;
    color: var(--gray-800);
    border-radius: 20px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-btn.active,
.amount-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 41, 87, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 36px;
    cursor: pointer;
    color: var(--gray-400);
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 28px;
    padding-right: 30px;
}

/* ===== СПРАВКА ПОД ЗАКАЗОМ ===== */
.ad-footer-info {
    margin-top: 48px;
    padding: 28px;
    background: linear-gradient(145deg, #fff0e6, #fff5f0);
    border-radius: var(--radius-lg);
    border: 1px solid #ffd8bf;
    box-shadow: 0 8px 16px rgba(255, 120, 0, 0.1);
}

.ad-footer-title {
    font-size: 20px;
    font-weight: 800;
    color: #c2410c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ad-footer-title:before {
    content: "⚠️";
    font-size: 24px;
}

.ad-footer-rules {
    list-style: none;
}

.ad-footer-rules li {
    padding: 14px 0;
    color: #7c2d12;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid #ffd8bf;
}

.ad-footer-rules li:last-child {
    border-bottom: none;
}

.ad-footer-rules li:before {
    content: "•";
    color: #ea580c;
    font-weight: 700;
    font-size: 22px;
}

/* ===== НИЖНЯЯ ПАНЕЛЬ ===== */
.bottom-bar {
    background: var(--primary-dark);
    width: 100%;
    margin-top: auto;
}

.bottom-bar-content {
    max-width: 768px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.share-title {
    color: white;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.9;
}

.share-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.share-icon {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.25s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.share-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.telegram {
    background-color: #29a9ea;
    background-image: url('../images/telegram.svg');
}

.vk {
    background-color: #4C75A3;
    background-image: url('../images/vk.svg');
}

.ok {
    background-color: #ee8208;
    background-image: url('../images/ok.svg');
}

.max {
    background-color: #1877f2;
    background-image: url('../images/max.svg');
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 600px) {
    .top-bar-content {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .project-title {
        font-size: 18px;
    }

    .content-box {
        padding: 24px 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .animals-grid {
        gap: 16px;
    }

    .animal-name {
        font-size: 16px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-animal-name {
        font-size: 24px;
    }

    .thumbnail-grid {
        gap: 12px;
    }

    .share-icon {
        width: 44px;
        height: 44px;
    }

    .channel-header-info {
        flex-direction: column;
        text-align: center;
    }

    .ad-contact-buttons {
        flex-direction: column;
    }

    .counter-control {
        flex-wrap: wrap;
    }

    .sites-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .site-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .rate-price {
        font-size: 28px;
    }

    .total-sum {
        font-size: 20px;
    }

    .btn-order-large {
        font-size: 18px;
        padding: 16px 24px;
    }

    .donation-page-card {
        padding: 24px;
    }

    .donation-page-title {
        font-size: 22px;
    }

    .ad-type-card {
        padding: 24px;
    }

    .modal-content {
        padding: 28px 20px;
    }

    .modal-title {
        font-size: 20px;
    }
}

/* ===== ТАРИФЫ ПРИЛОЖЕНИЕ + САЙТЫ ===== */

/* Сетка карточек в две колонки */
.app-rates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .app-rates-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка тарифа */
.app-rate-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-rate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary-lg);
    border-color: var(--primary);
}

.app-rate-card-selected {
    border-color: var(--primary);
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
    box-shadow: 0 0 0 3px rgba(13, 41, 87, 0.1);
}

/* ХИТ карточка (месяц) */
.app-rate-card-hit {
    border: 2px solid var(--secondary);
    background: linear-gradient(145deg, #ffffff, #fff9f0);
    position: relative;
    overflow: hidden;
}

.app-rate-card-hit::before {
    content: '🔥 ХИТ';
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--secondary);
    color: white;
    padding: 8px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: var(--shadow-secondary);
    z-index: 10;
}

/* Бейдж с подарком */
.app-rate-gift-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: white;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-secondary);
    z-index: 15;
}

.app-rate-gift-badge:before {
    content: "🎁";
    font-size: 14px;
}

/* Бейдж скидки */
.app-rate-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gray-100);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    z-index: 5;
}

.app-rate-badge-sale {
    background: var(--success);
    color: white;
}

.app-rate-badge-hit {
    background: var(--secondary);
    color: white;
}

/* Заголовок карточки */
.app-rate-header {
    margin-bottom: 16px;
}

.app-rate-days {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.app-rate-price-block {
    margin-bottom: 16px;
}

.app-rate-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    display: inline-block;
}

.app-rate-price-hit {
    color: var(--secondary);
}

.app-rate-price-old {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: 10px;
}

.app-rate-price-per-day {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 4px;
}

/* Экономия */
.app-rate-savings {
    background: var(--success-light);
    color: var(--success);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

/* Подарок */
.app-rate-gift {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    border: 1px solid #fcd34d;
}

/* Кнопка выбора */
.app-rate-select-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.app-rate-select-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.app-rate-select-btn-active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.app-rate-select-btn-hit {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.app-rate-select-btn-hit:hover {
    background: #e67e22;
    border-color: #e67e22;
}

/* Платформы одной строкой */
.app-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.app-platform {
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    color: var(--gray-700);
    font-weight: 600;
}

/* Блок дополнительных опций */
.app-options-block {
    background: white;
    border-radius: var(--radius-xl);
    padding: 28px;
    margin: 30px 0;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.app-options-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-options-title:before {
    content: "⚙️";
    font-size: 24px;
}

.app-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

@media (max-width: 600px) {
    .app-options-grid {
        grid-template-columns: 1fr;
    }
}

.app-option-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--gray-200);
}

.app-option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.app-option-icon {
    font-size: 20px;
}

.app-option-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.app-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--gray-200);
}

.app-option-item:last-child {
    border-bottom: none;
}

.app-option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
}

.app-option-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.app-option-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}

.app-option-price-free {
    color: var(--success);
    background: var(--success-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

/* Блок выбранного тарифа */
.app-selected-block {
    background: white;
    border-radius: var(--radius-xl);
    padding: 28px;
    margin: 30px 0;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-primary-lg);
}

.app-selected-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-selected-details {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.app-selected-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.app-selected-row:last-child {
    border-bottom: none;
}

.app-selected-label {
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-selected-value {
    font-weight: 700;
    color: var(--primary);
}

.app-selected-gift {
    background: #fef3c7;
    padding: 12px 16px;
    border-radius: var(--radius-full);
    color: #92400e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    border: 1px solid #fcd34d;
}

.app-total-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    color: white;
}

.app-total-label {
    font-size: 18px;
    font-weight: 600;
}

.app-total-price {
    font-size: 32px;
    font-weight: 800;
}

.app-total-savings {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

.app-order-btn {
    width: 100%;
    padding: 18px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-secondary);
}

.app-order-btn:hover {
    background: #e67e22;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.4);
}

.app-order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.app-order-note {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 16px;
}

