/**
 * Стили для веб-сайта Полевая кухня
 */

/* Основные переменные */
:root {
    --primary-color: #b8572a; /* Красно-коричневый основной */
    --secondary-color: #faf8f5; /* Кремово-бежевый фон */
    --text-color: #4a3429; /* Темно-коричневый текст */
    --text-light: #6b5349;
    --border-color: #e8e0d8;
    --white: #ffffff;
    --success-color: #6a8f4a;
    --warning-color: #d4a865; /* Золотистый из логотипа */
    --shadow: 0 2px 10px rgba(74, 52, 41, 0.08); /* Более мягкие тени */
    --shadow-hover: 0 4px 20px rgba(74, 52, 41, 0.12);
    --accent-gold: #d4a865; /* Золотистый акцент */
    --accent-blue: #4a6b8a; /* Приглушенный синий */
}

/* Сброс стилей для веб-сайта */
.website-content * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основной контейнер веб-сайта */
.website-content {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Навигация */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.nav-link-primary {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(230, 76, 46, 0.3);
    margin-left: 8px;
}

.nav-link-primary:hover {
    background: #d63e26;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 76, 46, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Выпадающее меню */
.dropdown-menu-item {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 10px;
    color: var(--text-light);
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown-menu-item:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 8px 0;
    min-width: 180px;
    z-index: 1001;
}

.dropdown-menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown-item.disabled {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.dropdown-item.disabled:hover {
    background: transparent;
    color: var(--text-light);
}

/* Контейнер для действий в навигации */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Контроль кэша */
.cache-control {
    display: flex;
    align-items: center;
}

.cache-version {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    padding: 6px 12px;
    background: var(--secondary-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.cache-version:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(184, 87, 42, 0.3);
}

.cache-version:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(184, 87, 42, 0.2);
}

/* Анимация обновления */
.cache-version.updating {
    animation: pulse 1.5s infinite;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Контейнер для действий в навигации */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Контроль кэша */
.cache-control {
    display: flex;
    align-items: center;
}

.cache-version {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    padding: 6px 12px;
    background: var(--secondary-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.cache-version:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(184, 87, 42, 0.3);
}

.cache-version:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(184, 87, 42, 0.2);
}

/* Анимация обновления */
.cache-version.updating {
    animation: pulse 1.5s infinite;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Основной контент */
.website-main {
    flex: 1;
}

.website-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Главная страница */
.hero-section {
    background: 
        linear-gradient(rgba(250, 248, 245, 0.85), rgba(250, 248, 245, 0.85)),
        url('../assets/logo.png') center top/cover no-repeat,
        var(--secondary-color);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(74, 52, 41, 0.4);
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
    text-transform: uppercase;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 48px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(74, 52, 41, 0.4);
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Кнопки */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Секция категорий */
.categories-showcase {
    margin-bottom: 60px;
}

.categories-showcase h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: var(--text-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.category-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(212, 168, 101, 0.2);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-description {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.4;
}

.no-categories {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 40px;
}

/* Секция преимуществ */
.features-section {
    background: var(--secondary-color);
    padding: 60px 0;
    margin: 0 -20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.feature-card {
    text-align: center;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Страницы контента */
.page-header {
    text-align: center;
    margin: 40px 0 60px;
}

.page-header h1 {
    font-size: 42px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.page-content {
    margin-bottom: 60px;
}

/* Страница "О компании" */
.about-section h2,
.about-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-section h2 {
    font-size: 32px;
}

.about-section h3 {
    font-size: 24px;
    margin-top: 30px;
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-color);
}

.about-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.about-section li {
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Страница контактов */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info h2,
.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form-cooldown {
    margin: 0 0 12px;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

/* Инструкции по заказу */
.steps-container {
    margin: 40px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.step-content p {
    color: var(--text-color);
    line-height: 1.6;
}

.order-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--secondary-color);
    border-radius: 10px;
}

.order-cta h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

/* Страница доставки */
.delivery-info {
    margin: 40px 0;
}

.info-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.info-section ul {
    padding-left: 30px;
}

.info-section li {
    margin-bottom: 10px;
    color: var(--text-color);
}

.info-section p {
    color: var(--text-color);
    line-height: 1.6;
}

.info-section p strong {
    line-height: 2.0;
    display: inline-block;
}

.contact-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--secondary-color);
    border-radius: 10px;
}

.contact-cta h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Секция скачивания мобильного приложения */
.app-download-section {
    padding: 56px 20px 64px;
}

.app-download-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.app-download-content h2 {
    margin-bottom: 10px;
    font-size: 36px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
}

.app-download-subtitle {
    margin-bottom: 30px;
    font-size: 32px;
    color: var(--text-color);
    font-weight: 600;
}

.app-download-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-download-link img {
    display: block;
    height: 54px;
    width: auto;
}

.app-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(74, 52, 41, 0.16);
}

.app-download-link:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

.pwa-install-panel {
    max-width: 560px;
    margin: 24px auto 0;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.pwa-install-panel[hidden] {
    display: none;
}

.pwa-install-text {
    margin-bottom: 14px;
    color: var(--text-light);
    font-size: 16px;
}

.pwa-install-button,
.pwa-install-dismiss {
    min-height: 44px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pwa-install-button {
    color: var(--white);
    background: var(--primary-color);
}

.pwa-install-dismiss {
    color: var(--primary-color);
    background: var(--secondary-color);
}

.pwa-install-button:hover,
.pwa-install-button:focus-visible {
    background: #9a4722;
}

.pwa-install-dismiss:hover,
.pwa-install-dismiss:focus-visible {
    background: #f4ede8;
}

/* Футер */
.website-footer {
    background: var(--text-color);
    color: var(--white);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

/* Адаптивность */

/* Мобильные устройства до 480px */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--mobile-spacing-medium);
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
        color: var(--primary-color);
        -webkit-text-stroke: 0;
        text-transform: uppercase;
        font-weight: bold;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
        color: var(--primary-color);
        -webkit-text-stroke: 0;
        text-transform: uppercase;
        font-weight: bold;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 var(--mobile-spacing-medium);
    }
    
    .category-card {
        padding: 16px;
    }
    
    .category-image {
        height: 120px;
        width: 120px;
        margin: 0 auto 12px;
    }
    
    .feature-card {
        padding: 16px;
        text-align: center;
    }
    
    .page-content {
        padding: var(--mobile-spacing-large);
    }
    
    .contacts-grid {
        gap: 24px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
}

/* Смартфоны 481px-768px */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
        color: var(--primary-color);
        -webkit-text-stroke: 0;
        text-transform: uppercase;
        font-weight: bold;
    }
    
    .hero-subtitle {
        font-size: 32px;
        font-weight: bold;
        color: var(--primary-color);
        -webkit-text-stroke: 0;
        text-transform: uppercase;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Планшеты и средние экраны */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 18px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .nav-link-primary {
        padding: 8px 16px;
        margin-left: 6px;
    }
}

/* Общие стили для мобильных до 768px */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
    
    .cache-control {
        gap: 6px;
    }
    
    .cache-refresh-btn {
        width: 32px;
        height: 32px;
    }
    
    .cache-version {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .features-grid {
        padding: 0 var(--mobile-spacing-large);
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .step-number {
        margin: 0 auto 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .categories-showcase h2 {
        font-size: 28px;
    }

    .app-download-content h2 {
        font-size: 26px;
    }

    .app-download-subtitle {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .app-download-badges {
        gap: 12px;
    }

    .app-download-link {
        min-height: 44px;
    }

    .app-download-link img {
        height: 50px;
    }
    
    /* Увеличенные зоны касания */
    .category-card {
        min-height: var(--mobile-touch-target);
        cursor: pointer;
    }
    
    .footer-links a {
        padding: 8px 0;
        display: block;
    }
    
    .logo-text {
        color: var(--primary-color);
        -webkit-text-stroke: 0;
    }
}

/* Убираем блоки связанные с мобильным приложением */
.mobile-app-section {
    display: none !important;
}

.download-app-block {
    display: none !important;
}

/* Дополнительные стили для скрытия упоминаний мобильного приложения */
.website-content .mobile-download,
.website-content .app-download,
.website-content .mobile-app-promo {
    display: none !important;
}

/* Контейнер для действий в навигации */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Контроль кэша */
.cache-control {
    display: flex;
    align-items: center;
}

.cache-version {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    padding: 6px 12px;
    background: var(--secondary-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.cache-version:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(184, 87, 42, 0.3);
}

.cache-version:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(184, 87, 42, 0.2);
}

/* Анимация обновления */
.cache-version.updating {
    animation: pulse 1.5s infinite;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Адаптивные стили для кэша */
@media (max-width: 768px) {
    .cache-version {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* Страница пользовательского соглашения */
.terms-content {
    margin: 40px 0;
}

.terms-content h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    margin-top: 40px;
    font-size: 24px;
}

.terms-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 30px;
    font-size: 20px;
}

.terms-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.contact-info-terms {
    margin-top: 40px;
    padding: 25px;
    background: var(--secondary-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.contact-info-terms h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 0;
}

.contact-info-terms p {
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-info-terms strong {
    color: var(--primary-color);
}

/* Адаптивные стили для страницы пользовательского соглашения */
@media (max-width: 768px) {
    .terms-content h2 {
        font-size: 20px;
        margin-top: 30px;
    }
    
    .terms-content h3 {
        font-size: 18px;
        margin-top: 25px;
    }
    
    .terms-content p {
        text-align: left;
        font-size: 16px;
    }
    
    .contact-info-terms {
        padding: 20px;
        margin-top: 30px;
    }
}

/* Страница "Не является публичной офертой" */
.not-offer-content {
    margin: 40px 0;
}

.main-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #fdcb6e;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.main-notice p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.main-notice p:last-child {
    margin-bottom: 0;
}

.main-notice strong {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-reference {
    margin: 40px 0;
}

.legal-reference h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
}

.legal-article {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.article-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.article-point:last-child {
    margin-bottom: 0;
}

.point-number {
    background: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.article-point p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

.contact-info-offer {
    margin-top: 40px;
    padding: 25px;
    background: var(--secondary-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.contact-info-offer h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 0;
}

.contact-info-offer p {
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-info-offer strong {
    color: var(--primary-color);
}

/* Адаптивные стили для страницы "Не является публичной офертой" */
@media (max-width: 768px) {
    .main-notice {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .main-notice p {
        text-align: left;
        font-size: 16px;
    }
    
    .legal-reference h2 {
        font-size: 20px;
        text-align: left;
    }
    
    .legal-article {
        padding: 20px;
    }
    
    .article-point {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .point-number {
        margin: 0 auto 10px;
    }
    
    .article-point p {
        text-align: left;
        font-size: 16px;
    }
    
    .contact-info-offer {
        padding: 20px;
        margin-top: 30px;
    }
} 