/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================ */
/* HEADER — ТЕМНАЯ ВЕРСИЯ */
/* ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 100;
    padding: 12px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #facc15;
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #1a1a1a;
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    z-index: 200;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    color: #ffffff;
}

.mobile-nav .nav-link:hover {
    color: #facc15;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 199;
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
}

/* Кнопка корзины */
.cart-btn {
    background: #c0392b;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.cart-btn:hover {
    background: #e74c3c;
}

.cart-count {
    background: white;
    color: #c0392b;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ============================================ */
/* HERO СЕКЦИЯ */
/* ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature i {
    font-size: 1.2rem;
    color: #c0392b;
}

/* ============================================ */
/* КНОПКИ */
/* ============================================ */
.btn-primary {
    background: #c0392b;
    color: white;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #a93226;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: #1a1a1a;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ============================================ */
/* МЕНЮ (СЕТКА ТОВАРОВ) */
/* ============================================ */
.menu-section {
    padding: 80px 0;
    background: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.category-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.category-btn.active,
.category-btn:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.menu-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.menu-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f0f0f0;
}

.menu-card-content {
    padding: 20px;
}

.menu-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.menu-card-desc {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #c0392b;
}

.add-to-cart {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.add-to-cart:hover {
    background: #c0392b;
}

/* ============================================ */
/* СЕКЦИЯ "О НАС" */
/* ============================================ */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #c0392b;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ============================================ */
/* СЕКЦИЯ "ДОСТАВКА" */
/* ============================================ */
.delivery-section {
    padding: 80px 0;
    background: #fafafa;
}

.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.delivery-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.delivery-item i {
    font-size: 2rem;
    color: #c0392b;
}

.delivery-item h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.delivery-item p {
    color: #666;
}

.map-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.map-address {
    text-align: center;
    margin-top: 12px;
    color: #555;
    font-size: 0.9rem;
}

/* ============================================ */
/* СЕКЦИЯ "КОНТАКТЫ" */
/* ============================================ */
.contacts-section {
    padding: 80px 0;
    background: white;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    margin-top: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 24px;
    color: #c0392b;
    font-size: 1.2rem;
}

.contact-item a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #c0392b;
}

.work-hours h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.work-hours p {
    margin-bottom: 8px;
    color: #555;
}

.delivery-note {
    margin-top: 16px;
    color: #c0392b;
    font-weight: 500;
}

/* ============================================ */
/* ФУТЕР */
/* ============================================ */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #c0392b;
}

/* Ссылка в футере */
.footer-link {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* ============================================ */
/* СТРАНИЦА КОРЗИНЫ */
/* ============================================ */
.cart-page {
    max-width: 800px;
    margin: 100px auto 60px;
    padding: 0 20px;
}

.cart-page-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cart-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.back-to-shop {
    background: none;
    border: none;
    color: #c0392b;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 30px;
    transition: background 0.2s;
}

.back-to-shop:hover {
    background: #fef5e7;
}

.cart-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Карточка товара в корзине */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
}

/* Круглые кнопки + / - для основных товаров */
.cart-qty-btn {
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-qty-btn:hover {
    background: #c0392b;
    color: white;
}

/* Блок с доставкой и итогом */
.cart-summary-full {
    background: #fafafa;
    border-top: 1px solid #eee;
    padding: 20px;
}

/* Переключатель способа получения */
.delivery-method-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.method-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.method-btn.active {
    background: #c0392b;
    border-color: #c0392b;
    color: white;
}

.method-btn:hover:not(.active) {
    border-color: #c0392b;
    background: #fef5e7;
}

/* Строка доставки */
.cart-delivery-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-weight: 500;
}

.delivery-hint {
    font-size: 0.7rem;
    color: #999;
    font-weight: normal;
    display: block;
    width: 100%;
    margin-left: 0;
}

.delivery-price {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.delivery-paid .delivery-price {
    color: #e67e22;
    background: #fef5e7;
}

.delivery-free .delivery-price {
    color: #27ae60;
    background: #e8f8ef;
}

.delivery-pickup .delivery-price {
    color: #2980b9;
    background: #e8f4fd;
}

.delivery-warning {
    background: #fef5e7;
    color: #e67e22;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin: 10px 0;
    text-align: center;
}

.cart-total {
    text-align: right;
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 16px;
    border-top: 2px solid #eee;
}

/* Форма в корзине */
.cart-form-full {
    padding: 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.cart-form-full h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: #333;
}

.cart-form-full input,
.cart-form-full textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
}

.cart-form-full input:focus,
.cart-form-full textarea:focus {
    outline: none;
    border-color: #c0392b;
}

/* Блок адреса заведения */
.pickup-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
}

.pickup-info i {
    font-size: 1.2rem;
    color: #c0392b;
    margin-top: 2px;
}

.pickup-info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.pickup-info p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 4px;
}

.pickup-info small {
    font-size: 0.7rem;
    color: #999;
}

.cart-footer-full {
    padding: 16px 20px 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.cart-footer-full .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    text-align: center;
    margin: 0;
}

/* ============================================ */
/* КОЛИЧЕСТВО ПЕРСОН (ВЫНЕСЕНО В ОТДЕЛЬНЫЙ БЛОК) */
/* ============================================ */
.persons-section {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.persons-section label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.persons-control {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    border-radius: 40px;
    padding: 8px 16px;
    width: fit-content;
    border: 1px solid #e0e0e0;
}

.persons-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c0392b;
    color: white;
    border: none;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.persons-btn:hover {
    background: #e74c3c;
    transform: scale(1.02);
}

.persons-count {
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

/* Метод оплаты */
.payment-method-field {
    margin-bottom: 20px;
}

.payment-method-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: #333;
}

.payment-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-card {
    flex: 1;
    min-width: 120px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-card i {
    font-size: 1.8rem;
    color: #999;
    margin-bottom: 8px;
    display: block;
}

.payment-card span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.payment-card small {
    font-size: 0.7rem;
    color: #999;
}

.payment-card:hover {
    border-color: #c0392b;
    background: #fef5e7;
}

.payment-card.active {
    border-color: #c0392b;
    background: #c0392b;
}

.payment-card.active i,
.payment-card.active span,
.payment-card.active small {
    color: white;
}

/* ============================================ */
/* БЛОК ДОПОВ (ГОРИЗОНТАЛЬНАЯ ПРОКРУТКА) */
/* ============================================ */
.extras-section {
    padding: 20px 20px 25px 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    overflow: visible;
    position: relative;
}

.extras-section h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Контейнер с горизонтальной прокруткой */
.extras-scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
    padding: 10px 0 15px 0;
}

/* Стрелки для прокрутки на ПК */
.extras-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scroll-arrow {
    width: 32px;
    height: 32px;
    background: #c0392b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.scroll-arrow:hover {
    background: #e74c3c;
    transform: scale(1.05);
}

.scroll-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Сетка допов */
.extras-grid {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
    min-width: min-content;
}

/* Карточки допов */
.extra-card {
    flex-shrink: 0;
    width: 110px;
    height: 130px;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 12px 8px 8px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e0e0e0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.extra-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #c0392b;
}

.extra-card.added {
    background: #c0392b;
    border-color: #c0392b;
}

.extra-card.added .extra-name,
.extra-card.added .extra-desc,
.extra-card.added .extra-price {
    color: white;
}

.extra-emoji {
    font-size: 2rem;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
}

.extra-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
    display: block;
    line-height: 1.3;
}

.extra-desc {
    font-size: 0.6rem;
    color: #999;
    display: block;
    margin-bottom: 4px;
}

.extra-price {
    font-size: 0.7rem;
    color: #c0392b;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

/* Галочка */
.extra-add-icon {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.extra-card.added .extra-add-icon {
    opacity: 1;
}

/* ============================================ */
/* СПИСОК ВЫБРАННЫХ ДОПОВ (с кнопками + и -) */
/* ============================================ */
.selected-extras-section {
    padding: 0 20px 15px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.selected-extras-section h3 {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.selected-extras-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selected-extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.selected-extra-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.selected-extra-emoji {
    font-size: 1.2rem;
}

.selected-extra-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
}

.selected-extra-desc {
    font-size: 0.7rem;
    color: #999;
}

.selected-extra-price {
    font-size: 0.7rem;
    color: #c0392b;
}

.selected-extra-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.selected-extra-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.selected-extra-btn:hover {
    background: #c0392b;
    color: white;
}

.selected-extra-quantity {
    min-width: 25px;
    text-align: center;
    font-weight: 500;
}

.selected-extra-total {
    font-weight: 600;
    min-width: 50px;
    text-align: right;
    font-size: 0.85rem;
}

/* ============================================ */
/* МОДАЛЬНОЕ ОКНО УСПЕХА */
/* ============================================ */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.success-modal.active {
    display: flex;
}

.success-modal-content {
    background: white;
    width: 90%;
    max-width: 340px;
    border-radius: 24px;
    padding: 28px 20px;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.success-modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #27ae60;
}

.success-modal-content p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.4;
}

.success-ok-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.success-ok-btn:hover {
    background: #219a52;
}

/* ============================================ */
/* ТОСТ ОШИБОК */
/* ============================================ */
.error-toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #fef5e7;
    border-left: 4px solid #e67e22;
    border-radius: 12px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2001;
    transition: top 0.3s ease;
    max-width: 90%;
}

.error-toast.active {
    top: 80px;
}

.error-icon {
    font-size: 1.3rem;
}

.error-message {
    color: #e67e22;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================ */
/* СТИЛИ ДЛЯ ПРОМОКОДА И ПЕРЕЧЁРКНУТОЙ ЦЕНЫ */
/* ============================================ */

.promocode-applied-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e8f8ef;
    color: #27ae60;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 12px;
    width: 100%;
    justify-content: space-between;
}

.promocode-applied-badge i {
    color: #27ae60;
    font-size: 1.1rem;
}

.promocode-applied-badge span {
    flex: 1;
}

.promocode-badge-remove {
    background: none;
    border: none;
    color: #c0392b;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 5px;
    transition: transform 0.2s;
}

.promocode-badge-remove:hover {
    transform: scale(1.1);
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-right: 8px;
}

.price-discounted {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.3rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #eee;
}

.cart-total-row:first-of-type {
    border-top: 2px solid #eee;
}

.cart-total-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.cart-total-value {
    text-align: right;
    font-weight: 700;
}

.promocode-message-warning {
    color: #e67e22;
    font-size: 0.85rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.promocode-section {
    padding: 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

/* ============================================ */
/* ТЕКСТ СОГЛАШЕНИЯ В КОРЗИНЕ */
/* ============================================ */

.privacy-agreement {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 0.75rem;
    color: #999;
}

.privacy-agreement i {
    color: #27ae60;
    margin-right: 4px;
}

.privacy-agreement a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
}

.privacy-agreement a:hover {
    text-decoration: underline;
}

/* ============================================ */
/* АДАПТИВНЫЕ СТИЛИ */
/* ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        text-align: center;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .cart-btn {
        padding: 8px 14px;
    }
    
    .cart-btn span:not(.cart-count) {
        display: none;
    }
    
    .about-grid,
    .delivery-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .delivery-section {
        text-align: center;
    }
    
    .delivery-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .delivery-item i {
        margin-bottom: 8px;
    }
    
    .map-image {
        border-radius: 12px;
    }
    
    .map-address {
        font-size: 0.8rem;
    }
    
    .contact-info {
        margin-top: 0;
    }
    
    .contact-item {
        justify-content: flex-start;
    }
    
    .work-hours {
        text-align: left;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .category-btn {
        flex-shrink: 0;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }
    
    /* Страница корзины */
    .cart-page {
        margin: 80px auto 40px;
    }
    
    .cart-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .cart-item > div:first-child {
        margin-bottom: 12px;
        width: 100%;
    }
    
    .cart-item > div:last-child {
        justify-content: space-between !important;
        width: 100%;
    }
    
    .delivery-method-selector {
        flex-direction: column;
    }
    
    .payment-options {
        flex-direction: column;
    }
    
    .payment-card {
        min-width: auto;
    }
    
    .persons-control {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Адаптация допов на мобильных */
    .extra-card {
        width: 95px;
        height: 115px;
        padding: 10px 5px 5px 5px;
    }
    
    .extra-emoji {
        font-size: 1.6rem;
        margin-top: 2px;
    }
    
    .extra-name {
        font-size: 0.65rem;
    }
    
    .extra-desc {
        font-size: 0.55rem;
    }
    
    .extra-price {
        font-size: 0.6rem;
    }
    
    .extra-add-icon {
        width: 24px;
        height: 24px;
        top: -10px;
        right: -10px;
        font-size: 0.7rem;
    }
    
    .scroll-arrow {
        display: none;
    }
    
    .selected-extra-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .selected-extra-controls {
        margin-left: auto;
    }
    
    .success-modal-content {
        max-width: 300px;
        padding: 24px 16px;
    }
    
    .success-modal-content h3 {
        font-size: 1.3rem;
    }
    
    .error-toast {
        padding: 12px 20px;
    }
    
    .promocode-applied-badge {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
    
    .price-discounted {
        font-size: 1.1rem;
    }
    
    .privacy-agreement {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-features {
        justify-content: space-between;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        font-size: 0.8rem;
    }
    
    .menu-card-image {
        height: 180px;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .delivery-item {
        width: 100%;
    }
    
    .map-address {
        font-size: 0.7rem;
    }
    
    .cart-qty-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .extra-card {
        width: 85px;
        height: 105px;
        padding: 8px 4px 4px 4px;
    }
    
    .extra-emoji {
        font-size: 1.4rem;
        margin-top: 0;
    }
    
    .extra-name {
        font-size: 0.6rem;
    }
    
    .selected-extra-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .selected-extra-controls {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
}