/*
Theme Name: Ресторан ASH Pro
Description: Профессиональная версия с исправленной корзиной, оптимизированными кнопками и улучшенным UX
Version: 10.0
Author: Manus AI
Text Domain: ash-restaurant-pro
*/

/* ============================================
   CSS RESET И БАЗОВЫЕ СТИЛИ
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #d4af37;
    --dark-bg: #1a2332;
    --darker-bg: #0f1419;
    --light-bg: #2d3748;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, var(--light-bg) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    /* Prevent iOS Safari zoom on input focus */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.cart-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: var(--ash-scroll-top, 0);
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-overflow-scrolling: touch;
}

.ash-no-scroll {
    position: fixed;
    width: 100%;
    overflow: hidden;
    top: var(--ash-scroll-top, 0px);
    -webkit-overflow-scrolling: touch;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* ============================================
   HEADER - ФИКСИРОВАННЫЙ
   ============================================ */
.site-header-fixed {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 50, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1.25rem 0;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.header-content-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-section-minimal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.logo-image-large {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

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

.logo-text-minimal {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-title-minimal {
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    font-weight: 700;
    color: var(--primary-gold);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.site-title-minimal a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.site-title-minimal a:hover {
    opacity: 0.8;
}

.site-tagline-minimal {
    font-size: clamp(0.75rem, 1.8vw, 1rem);
    color: var(--text-secondary);
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-tagline-minimal .tagline-short {
    display: none;
}

.contact-buttons-minimal {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.contact-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-btn:active {
    transform: translateY(0);
}

.call-btn-minimal {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.whatsapp-btn-minimal {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.header-spacer {
    height: 95px;
}

/* ============================================
   КОРЗИНА - БОКОВАЯ ПАНЕЛЬ
   ============================================ */
.cart-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    pointer-events: none;
}

.cart-container.show {
    visibility: visible;
    pointer-events: auto;
}

.cart-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity var(--transition-normal);
    backdrop-filter: blur(2px);
}

.cart-container.show .cart-overlay {
    opacity: 1;
}

.cart-dropdown {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    max-height: 100vh;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.cart-container.show .cart-dropdown {
    transform: translateX(0);
}

.cart-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: var(--darker-bg);
}

.cart-header h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) var(--light-bg);
}

.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--light-bg);
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
    font-size: 1.1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all var(--transition-fast);
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-2px);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
    margin-right: 0.75rem;
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 500;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.quantity-btn, .remove-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #4a5568;
    background: var(--light-bg);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.quantity-btn:hover {
    background: #3a4556;
    border-color: var(--primary-gold);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.remove-btn {
    border-color: #e53e3e;
    background: #4A2424;
    color: #ff6b6b;
}

.remove-btn:hover {
    background: #5a2a2a;
    border-color: #ff6b6b;
}

.order-options {
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    background: var(--darker-bg);
}

.order-options h5 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.delivery-address textarea {
    width: 100%;
    min-height: 60px;
    padding: 0.6rem;
    background: var(--light-bg);
    border: 1px solid #4a5568;
    color: var(--text-primary);
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 16px; /* Prevent iOS zoom - must be 16px or larger */
    transition: all var(--transition-fast);
    /* Prevent iOS Safari zoom and improve Android compatibility */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    /* Prevent crashes on Android */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.delivery-address textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.delivery-address textarea::placeholder {
    color: var(--text-muted);
}

.cart-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    background: var(--darker-bg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.cart-total-amount {
    color: var(--primary-gold);
}

.order-whatsapp-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.order-whatsapp-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.order-whatsapp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   FLOATING CART BUTTON
   ============================================ */
.cart-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    border-radius: 50%;
    border: none;
    color: var(--dark-bg);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.cart-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.cart-fab:active {
    transform: scale(1.05);
}

.cart-fab .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--dark-bg);
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95), rgba(15, 20, 25, 0.95)), url('images/hero-bg.jpg') center/cover;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn.primary {
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    color: var(--darker-bg);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #b8941f, var(--primary-gold));
}

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

.hero-btn.secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   MENU FAB BUTTON
   ============================================ */
.menu-fab {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    border-radius: 50%;
    border: none;
    color: var(--dark-bg);
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    gap: 0.15rem;
}

.menu-fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.menu-fab:active {
    transform: scale(1.05);
}

.menu-fab .fas.fa-bars {
    font-size: 1.5rem;
}

.menu-fab-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55px;
}

/* ============================================
   MENU MODAL
   ============================================ */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
    padding: 1rem;
}

.menu-modal.show {
    visibility: visible;
    pointer-events: auto;
}

.menu-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity var(--transition-normal);
    backdrop-filter: blur(4px);
}

.menu-modal.show .menu-modal-overlay {
    opacity: 1;
}

.menu-modal-content {
    position: relative;
    background: var(--dark-bg);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.menu-modal.show .menu-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.menu-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--darker-bg);
    border-radius: 16px 16px 0 0;
}

.menu-modal-header h3 {
    color: var(--primary-gold);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.menu-modal-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.menu-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.menu-modal-body {
    padding: 1rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) var(--light-bg);
}

.menu-modal-body::-webkit-scrollbar {
    width: 8px;
}

.menu-modal-body::-webkit-scrollbar-track {
    background: var(--light-bg);
}

.menu-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

/* Menu category button styles moved to bottom of file for better organization */

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

.menu-categories {
    position: sticky;
    top: 95px;
    background: rgba(26, 35, 50, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    /* Prevent menu from jumping on scroll */
    will-change: transform;
    transform: translateZ(0);
}

.category-filter {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */
    touch-action: pan-y; /* Allow vertical scrolling while horizontal scrolling */
    padding: 0.5rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-filter::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    font-weight: 500;
    font-size: 0.95rem;
}

.category-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-gold);
    color: var(--dark-bg);
    border-color: var(--primary-gold);
    font-weight: 600;
}

/* ============================================
   MENU ITEMS - АДАПТИВНАЯ СЕТКА
   ============================================ */
.menu-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
}

.menu-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3);
}

.menu-item-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.menu-item:hover .menu-item-image {
    transform: scale(1.05);
}

.menu-item-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-item-info {
    flex: 1;
}

.menu-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.menu-item-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.menu-item-price-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.menu-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.add-to-cart-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    color: var(--dark-bg);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #b8941f, #9a7a1a);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* ============================================
   INFO SECTIONS - БАНКЕТЫ И БРОНИРОВАНИЕ
   ============================================ */
.info-section {
    padding: 3rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(26, 35, 50, 0.1) 100%);
    z-index: 0;
}

.info-section .container {
    position: relative;
    z-index: 1;
}

.info-section h2 {
    text-align: center;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.info-section > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
}

.info-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.info-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.info-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.info-feature-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    display: block;
}

.info-feature h3 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-feature p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.contact-info {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin-top: 2.5rem;
    text-align: center;
}

.contact-info h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-item i {
    color: var(--primary-gold);
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.contact-button {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
}

.contact-button.phone {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.contact-button.whatsapp {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-button:active {
    transform: translateY(-1px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.site-footer p {
    margin: 0.5rem 0;
}

/* ============================================
   MEDIA QUERIES - АДАПТИВНОСТЬ
   ============================================ */

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .cart-dropdown {
        max-width: 100%;
    }
    
    .cart-fab {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        bottom: 1rem;
        right: 1rem;
    }
    
    .menu-fab {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
        bottom: 5rem;
        right: 1rem;
    }
    
    .menu-fab-label {
        font-size: 0.6rem;
        max-width: 50px;
    }
    
    .menu-item-image {
        height: 180px;
    }
    
    /* Адаптивный текст в header для мобильных */
    .site-tagline-minimal .tagline-full {
        display: none;
    }
    
    /* Header spacer для мобильных */
    .header-spacer {
        height: 80px;
    }
    
    .site-tagline-minimal .tagline-short {
        display: inline;
    }
    
    .logo-section-minimal {
        gap: 0.5rem;
    }
    
    .site-title-minimal {
        font-size: 1rem;
    }
    
    .site-tagline-minimal {
        font-size: 0.65rem;
    }
    
    /* Меню категорий на мобильных */
    .menu-categories {
        top: 65px;
        padding: 0.5rem 0;
    }
    
    .category-filter {
        padding: 0.25rem 0.75rem;
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .header-spacer {
        height: 65px;
    }
}

/* Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .info-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Large (769px - 1024px) */
@media (min-width: 769px) {
    .container {
        padding: 0 2rem;
    }
    
    .header-spacer {
        height: 90px;
    }
    
    .menu-categories {
        top: 89px;
    }
    
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .info-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .contact-buttons {
        flex-direction: row;
    }
    
    .contact-details {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
}

/* Desktop (1025px - 1440px) */
@media (min-width: 1025px) {
    .menu-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .info-section {
        padding: 4rem 2rem;
    }
}

/* Large Desktop (1441px+) */
@media (min-width: 1441px) {
    .menu-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .header-spacer {
        height: 60px;
    }
    
    .site-header-fixed {
        padding: 0.5rem 0;
    }
    
    .cart-fab {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .menu-fab {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 4rem;
    }
    
    .menu-fab-label {
        font-size: 0.55rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image-large {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .site-header-fixed,
    .cart-fab,
    .menu-fab,
    .cart-container,
    .menu-modal,
    .contact-buttons-minimal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .menu-item,
    .info-section {
        break-inside: avoid;
        border: 1px solid #ccc;
        background: white;
        color: black;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (если браузер поддерживает) */
@media (prefers-color-scheme: dark) {
    /* Уже темная тема по умолчанию */
}



/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 11rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    border-radius: 50%;
    border: none;
    color: var(--dark-bg);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.scroll-to-top:active {
    transform: scale(1.05) translateY(0);
}

/* Mobile adjustments for scroll-to-top */
@media (max-width: 480px) {
    .scroll-to-top {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        bottom: 9rem;
        right: 1rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .scroll-to-top {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        bottom: 7.5rem;
    }
}

/* ============================================
   ORDER TYPE SELECTION STYLING
   ============================================ */
.order-type-selection {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    flex-wrap: nowrap;
}

.order-type-option {
    flex: 1;
    min-width: 80px;
    position: relative;
    cursor: pointer;
}

.order-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.order-type-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.45rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.75rem;
    transition: all var(--transition-fast);
    text-align: center;
    line-height: 1.2;
}

.order-type-option span::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.85rem;
}

.order-type-option:nth-child(1) span::before {
    content: "\f0d1"; /* fa-truck (delivery) */
}

.order-type-option:nth-child(2) span::before {
    content: "\f290"; /* fa-shopping-bag (pickup) */
}

.order-type-option:nth-child(3) span::before {
    content: "\f2e7"; /* fa-utensils (dine-in) */
}

.order-type-option:hover span {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.order-type-option input[type="radio"]:checked + span {
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    border-color: var(--primary-gold);
    color: var(--darker-bg);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.order-type-option input[type="radio"]:checked + span::before {
    color: var(--darker-bg);
}

/* Mobile adjustments for order type selection */
@media (max-width: 480px) {
    .order-type-selection {
        gap: 0.3rem;
        flex-wrap: nowrap;
    }
    
    .order-type-option {
        min-width: 0;
        flex: 1;
    }
    
    .order-type-option span {
        padding: 0.4rem 0.35rem;
        font-size: 0.7rem;
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .order-type-option span::before {
        font-size: 0.8rem;
    }
}

/* ============================================
   TABLE SELECTION STYLING
   ============================================ */
.table-selection h5 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.table-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.table-btn {
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.table-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.table-btn.selected {
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    border-color: var(--primary-gold);
    color: var(--darker-bg);
    box-shadow: var(--shadow-sm);
}

/* Mobile adjustments for table selection */
@media (max-width: 480px) {
    .table-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    
    .table-btn {
        padding: 0.55rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    color: var(--darker-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(400px);
    transition: all var(--transition-normal);
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.toast-notification i {
    font-size: 1.3rem;
}

/* Mobile adjustments for toast */
@media (max-width: 480px) {
    .toast-notification {
        top: 80px;
        right: 1rem;
        left: 1rem;
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   IMPROVED MENU CATEGORY BUTTONS
   ============================================ */
.menu-category-btn {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-category-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.03);
}

.menu-category-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), #b8941f);
    color: var(--darker-bg);
    border-color: var(--primary-gold);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.menu-category-btn.active:hover {
    transform: scale(1.05);
}

/* Mobile adjustments for menu category buttons */
@media (max-width: 480px) {
    .menu-modal-body {
        padding: 0.75rem;
        gap: 0.5rem;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-category-btn {
        padding: 0.65rem 0.75rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
}

/* Tablet adjustments */
@media (min-width: 481px) {
    .menu-modal-body {
        grid-template-columns: repeat(2, 1fr);
    }
}

