@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root { 
    --bg-color: #F3F2ED;       
    --primary-dark: #1A1A1A;   
    --accent-gold: #B5A48B;    
    --card-white: #FFFFFF;     
    --border-light: #E0DDD2;   
    --text-muted: #666666;     
    
    --neon: var(--primary-dark); 
    --bg: var(--bg-color); 
    --dark-panel: var(--card-white); 
    --purple: var(--accent-gold); 
    --gray: var(--border-light); 
    --green: #4CAF50;          
    --red: #D9534F;            
    --blue: #1A1A1A;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body { margin: 0; font-family: 'Montserrat', sans-serif; background: var(--bg); color: var(--primary-dark); overflow-x: hidden; padding-bottom: 120px; }

.bg-layer { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: var(--bg-color); }

h1, h2, h3, .btn, .brand-font { font-family: 'Montserrat', sans-serif; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; font-style: normal; }

/* --- ШАПКА И НАВИГАЦИЯ --- */
.sticky-wrapper { position: sticky; top: 0; z-index: 100; width: 100%; }
header { padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; background: rgba(243, 242, 237, 0.85); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border-light); gap: 10px; }

/* Оставляем базовый класс для скриптов, но добавляем новые для позиционирования */
.header-controls { display: flex; align-items: center; gap: 10px; }
.header-left-group { flex-direction: row; }
.header-right-group { flex-direction: row; }

.btn-icon { background: var(--card-white); color: var(--primary-dark); padding: 10px 18px; font-weight: 600; border: 1px solid var(--border-light); cursor: pointer; border-radius: 50px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 8px; position: relative; white-space: nowrap; font-size: 0.85rem; }
.btn-icon:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.btn-icon.has-new-msg::after { content: ''; position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; background-color: var(--red); border-radius: 50%; border: 2px solid var(--card-white); animation: pulse-red 1.5s infinite; }

/* Круглая кнопка установки (без текста) */
#install-app-btn { background: var(--card-white); border-color: var(--accent-gold); color: var(--primary-dark); display: none; width: 38px; height: 38px; padding: 0; text-align: center; line-height: 36px; font-size: 1.2rem; }
#install-app-btn:hover { background: var(--accent-gold); color: white; border-color: var(--accent-gold); }

/* Белый текст для кнопок со старым темным фоном */
button[style*="background:#444"], button[style*="background: #444"], button[style*="background:#333"], button[style*="background: #333"], button[style*="background:#222"], button[style*="background: #222"] { color: #FFFFFF !important; border-color: transparent !important; }

@keyframes pulse-red { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }

/* === ИСПРАВЛЕНИЕ РАЗДЕЛИТЕЛЯ "ИЛИ" В АВТОРИЗАЦИИ === */
span[data-key="or_text"] {
    background-color: #FFFFFF !important; /* Белый фон, чтобы перекрыть линию */
    color: #888888 !important; /* Серый цвет текста */
    padding: 0 10px;
    font-weight: bold;
}
/* Языки с принудительным цветом активности !important */
.lang-switch { display: flex; gap: 5px; background: #E5E3D5; padding: 4px; border-radius: 30px; }
.lang-btn { background: transparent; color: var(--text-muted); border: none; cursor: pointer; padding: 6px 12px; font-size: 11px; font-weight: 700; border-radius: 30px; transition: 0.2s;}
.lang-btn.active { background: white !important; color: var(--primary-dark) !important; box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important; }

.category-nav { display: flex; gap: 10px; padding: 15px 20px; overflow-x: auto; white-space: nowrap; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-top: 1px solid var(--border-light); box-shadow: 0 -5px 20px rgba(0,0,0,0.03); scrollbar-width: none; scroll-behavior: smooth; }
.category-nav::-webkit-scrollbar { display: none; }
.cat-btn { background: #EBE9E0; color: var(--text-muted); border: 1px solid transparent; padding: 10px 22px; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: 0.3s; font-family: 'Montserrat', sans-serif; text-transform: uppercase; flex-shrink: 0; letter-spacing: 0.5px; }
.cat-btn:hover { background: var(--primary-dark) !important; color: white !important; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.cat-btn.active { background: var(--primary-dark) !important; color: white !important; transform: translateY(-2px) !important; box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; border-color: var(--primary-dark) !important; }

/* Герой */
.hero { min-height: 45vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 20px; }
.hero-logo { max-width: 220px; width: 50vw; height: auto; margin-bottom: 25px; filter: none; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin: 0; color: var(--primary-dark); background: none; -webkit-text-stroke: 0; }
.hero p { font-size: clamp(1.2rem, 3vw, 2rem); color: var(--accent-gold); margin: 5px 0 0 0; font-weight: 500; text-transform: uppercase; letter-spacing: 3px;}
.cashback-banner { background: var(--primary-dark); color: white; text-align: center; padding: 12px; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }

/* --- МЕНЮ И КАРТОЧКИ --- */
.menu-section { max-width: 1200px; margin: 0 auto; padding: 20px; scroll-margin-top: 110px; }
.category-title { font-size: 1.8rem; color: var(--primary-dark); margin: 40px 0 20px 0; border-bottom: 1px solid var(--border-light); padding-bottom: 10px; font-weight: 700; }
.menu-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card { position: relative; background: var(--card-white); border: 1px solid var(--border-light); border-radius: 20px; overflow: hidden; transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; flex-direction: column; padding: 15px; }
.card:hover { border-color: var(--accent-gold); transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.card.sold-out { opacity: 0.6; pointer-events: none; filter: grayscale(1); border-color: var(--border-light); }
.card img { width: 100%; height: 220px; object-fit: cover; background: #f9f9f9; border-radius: 15px; }

.card-body { padding: 15px 5px 5px 5px; flex-grow: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.1rem; margin: 0 0 6px 0; color: var(--primary-dark); text-transform: none; letter-spacing: 0; font-weight: 700; }
.card-body p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; margin: 0 0 12px 0; }

.card.sale-card { background-color: #FFF0F0 !important; border-color: #FFD6D6 !important; }
.card.sale-card:hover { border-color: var(--red) !important; }

.discount-badge, .badge-sale { position: absolute !important; top: 25px !important; left: 25px !important; background: var(--red) !important; color: white !important; padding: 6px 12px !important; border-radius: 8px !important; font-size: 0.75rem !important; font-weight: 700 !important; z-index: 10 !important; text-transform: uppercase !important; box-shadow: 0 4px 10px rgba(217, 83, 79, 0.3) !important; display: inline-block !important; }

.card-body s, .card-body strike, .old-price { color: var(--text-muted) !important; text-decoration: line-through !important; margin-right: 6px !important; font-weight: 500 !important; font-size: 0.95rem !important; display: inline-block !important; }
.card-body .price, .new-price { font-size: 1.2rem !important; font-weight: 700 !important; color: var(--primary-dark) !important; margin-bottom: 15px !important; display: inline-block !important; }

.skeleton-card { background: var(--card-white); border: 1px solid var(--border-light); border-radius: 20px; height: 350px; position: relative; overflow: hidden; }
.skeleton-card::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent); transform: translateX(-100%); animation: shimmer 1.5s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

.action-row { margin-top: auto; display: flex; gap: 10px; }
.btn-details { flex: 1; background: var(--bg-color); color: var(--text-muted); border: 1px solid var(--border-light); padding: 12px; cursor: pointer; font-weight: 600; border-radius: 50px; font-size: 0.8rem; transition: 0.2s;}
.btn-details:hover { background: #EBE9E0; color: var(--primary-dark); }
.btn-add { flex: 2; background: var(--primary-dark); color: white; border: none; padding: 12px; font-weight: 700; cursor: pointer; border-radius: 50px; transition: 0.3s; font-family: 'Montserrat', sans-serif; text-transform: uppercase; font-size: 0.85rem;}
.btn-add:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); background: #333; }
.btn-add:disabled { background: var(--border-light); color: var(--text-muted); cursor: not-allowed; box-shadow: none; transform: none; }

/* --- МОДАЛЬНЫЕ ОКНА --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 1000; display: none; justify-content: center; align-items: center; backdrop-filter: blur(8px); }
.modal-overlay.active { display: flex; animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.modal-content { background: var(--card-white); border: none; width: 92%; max-width: 500px; border-radius: 25px; padding: 35px; position: relative; max-height: 85vh; overflow-y: auto; box-shadow: 0 25px 50px rgba(0,0,0,0.15); color: var(--primary-dark); }
.close-modal { position: absolute; top: 20px; right: 20px; font-size: 1.2rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-color); color: var(--primary-dark); border: 1px solid var(--border-light); border-radius: 50%; cursor: pointer; z-index: 20; transition: 0.2s; }
.close-modal:hover { background: var(--primary-dark); color: white; transform: rotate(90deg); }
#profile-modal, #auth-modal, #confirm-modal, #reset-password-modal { z-index: 1050; }
#support-modal { z-index: 1060; }
#support-modal .modal-content { width: 95%; height: 85vh; max-width: 600px; display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 25px; }

/* Формы */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 15px; background: #F9F8F5; border: 1px solid var(--border-light); color: var(--primary-dark); border-radius: 15px; box-sizing: border-box; font-family: 'Montserrat', sans-serif; font-size: 1rem; transition: 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-gold); background: #fff; box-shadow: 0 0 0 3px rgba(181, 164, 139, 0.1); }
.primary-btn { background: var(--primary-dark); color: white; width: 100%; padding: 16px; border: none; font-weight: 700; border-radius: 50px; cursor: pointer; font-size: 1rem; margin-top: 10px; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.primary-btn:hover { background: #333; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

#auth-social-block button { background: #F9F8F5 !important; border: 1px solid var(--border-light) !important; border-radius: 50px !important; color: var(--primary-dark) !important; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.2s; }
#auth-social-block button:hover { background: var(--border-light) !important; transform: translateY(-2px); }

/* Профиль */
.profile-header { text-align: center; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--border-light); }
.profile-balance { font-size: 2.5rem; color: var(--primary-dark); font-weight: 700; margin-top: 5px; }
.btn-invite { background: rgba(181, 164, 139, 0.15); border: 1px dashed var(--accent-gold); color: var(--primary-dark); padding: 12px; border-radius: 15px; cursor: pointer; font-weight: 600; width: 100%; display: flex; justify-content: center; gap: 10px; transition: 0.2s; font-size: 0.9rem; margin-top: 15px;}
.btn-invite:hover { background: var(--accent-gold); color: white; }
.tabs { display: flex; gap: 10px; margin-bottom: 25px; background: var(--bg-color); padding: 5px; border-radius: 50px; }
.tab-btn { flex: 1; padding: 12px; background: transparent; border: none; color: var(--text-muted); cursor: pointer; border-radius: 50px; font-weight: 600; font-size: 0.85rem; transition: 0.2s; }
.tab-btn.active { background: var(--card-white); color: var(--primary-dark); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.scroll-container { max-height: 450px; overflow-y: auto; padding-right: 10px; }
.scroll-container::-webkit-scrollbar { width: 6px; }
.scroll-container::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 10px; }
.history-card { background: #F9F8F5; border: 1px solid var(--border-light); border-top: 4px solid var(--primary-dark); padding: 18px; border-radius: 15px; margin-bottom: 15px; transition: 0.3s; width: 100%; display: flex; flex-direction: column; }
.history-card:hover { border-color: var(--accent-gold); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.history-card.done { border-top-color: var(--green); }
.history-card.cancelled { border-top-color: var(--red); }
.address-item { background: #F9F8F5; padding: 15px; border-radius: 15px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border-light); width: 100%; }
.address-tag { font-size: 0.7rem; background: var(--bg-color); color: var(--text-muted); padding: 4px 8px; border-radius: 5px; margin-right: 8px; font-weight: 600; border: 1px solid var(--border-light); }
.saved-addresses { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.chip-address { padding: 8px 15px; background: var(--bg-color); border-radius: 50px; font-size: 0.85rem; cursor: pointer; white-space: nowrap; border: 1px solid var(--border-light); color: var(--text-muted); font-weight: 600; transition: 0.2s;}
.chip-address.selected { background: var(--primary-dark); color: white; border-color: var(--primary-dark); }
.chip-address:hover:not(.selected) { border-color: var(--primary-dark); color: var(--primary-dark); }
#address-map-container, #reg-map-container, #order-map-container { width: 100%; height: 250px; border-radius: 15px; margin-bottom: 20px; background: #e9e8e2; border: 1px solid var(--border-light); overflow: hidden; }

/* Корзина */
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border-light); }
.cart-item-left { flex: 1; padding-right: 15px; font-size: 0.95rem; line-height: 1.4; color: var(--primary-dark); font-weight: 500;}
.cart-item-right { display: flex; align-items: center; gap: 15px; white-space: nowrap; flex-shrink: 0; }
.cart-remove { color: var(--text-muted); cursor: pointer; font-size: 1.5rem; font-weight: bold; line-height: 1; transition: 0.2s;}
.cart-remove:hover { color: var(--red); }
.btn-plus { background: var(--bg-color); color: var(--primary-dark); border: 1px solid var(--border-light); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: bold; font-size: 1.2rem; transition: 0.2s; }
.btn-plus:hover { background: var(--primary-dark); color: white; }
.total-row { display: flex; justify-content: space-between; margin-top: 20px; font-size: 1.3rem; font-weight: 700; color: var(--primary-dark); }
.upsell-container { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.upsell-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: none; }
.upsell-scroll::-webkit-scrollbar { display: none; }
.upsell-card { min-width: 130px; background: #F9F8F5; border: 1px solid var(--border-light); border-radius: 15px; padding: 15px 10px; text-align: center; cursor: pointer; transition: 0.3s; }
.upsell-card:hover { border-color: var(--accent-gold); background: #fff; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05);}
.upsell-card img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; margin-bottom: 10px; }
.upsell-name { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--primary-dark); }
.upsell-price { color: var(--text-muted); font-size: 0.9rem; margin-top: 5px; font-weight: 700;}

/* Бонусы */
.bonus-card { background: rgba(181, 164, 139, 0.1); border: 1px solid var(--accent-gold); padding: 18px; border-radius: 15px; margin-top: 25px; margin-bottom: 15px; }
.bonus-toggle { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; }
.bonus-info { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.bonus-card [style*="color: white"], .bonus-card [style*="color:#fff"], .bonus-card [style*="color: #fff"], .bonus-card [style*="color: #ccc"], .bonus-card [style*="color:#ccc"] { color: var(--primary-dark) !important; text-shadow: none !important; }
.bonus-card a { color: var(--primary-dark); font-weight: bold; text-decoration: underline; }

#detail-desc { color: var(--text-muted) !important; font-weight: 500; font-size: 0.95rem !important; }
#detail-choices *, #choices-section * { color: var(--primary-dark) !important; font-family: 'Montserrat', sans-serif !important; }
#detail-choices label, #choices-section label { font-weight: 500 !important; cursor: pointer; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
#detail-choices span[style*="color"], #choices-section span[style*="color"] { color: var(--text-muted) !important; font-size: 0.9rem; } 

.ing-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.ing-item { background: var(--card-white) !important; padding: 8px 15px; border-radius: 50px; border: 1px solid var(--border-light) !important; cursor: pointer; user-select: none; font-size: 0.85rem; font-weight: 600; transition: 0.2s; color: var(--primary-dark) !important; }
.ing-item:hover { background: var(--bg-color) !important; }
.ing-item.active, .ing-item.selected, .ing-item[style*="--neon"] { background: var(--green) !important; color: white !important; border-color: var(--green) !important; }
.ing-item.removed { background: var(--bg-color) !important; color: #aaa !important; text-decoration: line-through !important; border-color: var(--border-light) !important; opacity: 0.8; }

/* === ИСПРАВЛЕНИЕ 4: Скрываем пустые блоки Ингредиентов и Добавок (когда там прочерк или пусто) === */
div:has(> #detail-ingredients):not(:has(.ing-item)),
#addons-section:not(:has(.ing-item)) {
    display: none !important;
}

/* Чат */
.chat-header-panel { padding: 20px; background: var(--card-white); border-bottom: 1px solid var(--border-light); text-align: center; flex-shrink: 0; }
#support-create { flex: 1; overflow-y: auto; padding: 30px; }
#support-chat { display: none; flex-direction: column; flex: 1; overflow: hidden; min-height: 0; }
.chat-container { display: flex; flex-direction: column; flex: 1; background: var(--bg-color); overflow: hidden; min-height: 0; }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.chat-input-area { background: var(--card-white); padding: 15px 20px; border-top: 1px solid var(--border-light); display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.message-bubble { max-width: 85%; padding: 14px 18px; border-radius: 20px; font-size: 0.95rem; line-height: 1.5; position: relative; word-wrap: break-word; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.message-bubble.user { align-self: flex-end; background: var(--primary-dark); color: white; border-bottom-right-radius: 4px; }
.message-bubble.admin { align-self: flex-start; background: var(--card-white); color: var(--primary-dark); border-bottom-left-radius: 4px; border: 1px solid var(--border-light); }
.message-img { max-width: 100%; border-radius: 12px; margin-top: 8px; cursor: pointer; border: 1px solid var(--border-light); }
.ticket-card { background: var(--card-white); padding: 18px; border-radius: 15px; margin-bottom: 12px; border: 1px solid var(--border-light); cursor: pointer; transition: 0.2s; }
.ticket-card:hover { border-color: var(--accent-gold); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.ticket-header { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.ticket-topic { color: var(--primary-dark); font-weight: 700; font-size: 0.95rem; }
.ticket-msg { margin-top: 5px; color: var(--text-muted); font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-reply-preview { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border-light); color: var(--primary-dark); font-size: 0.85rem; font-weight: 600; }

/* Уведомления */
.notify { position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-100px); min-width: 300px; max-width: 90%; text-align: center; background: var(--primary-dark); color: white; padding: 16px 25px; border-radius: 50px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); z-index: 10000; transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); opacity: 0; pointer-events: none; font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 15px; }
.notify.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: all; }
.notify.success { background: var(--primary-dark); border: 1px solid var(--green); color: white; }
.notify.error { background: var(--red); color: white; }
.notify.warning { background: var(--accent-gold); color: white; }
.notify-close { background: none; border: none; color: inherit; font-size: 1.2rem; cursor: pointer; padding: 0; line-height: 1; display: flex; align-items: center; opacity: 0.8; }
.notify-close:hover { opacity: 1; }

.confirm-btn-row { display: flex; gap: 15px; margin-top: 25px; }
.btn-confirm-yes { background: var(--primary-dark); color: white; border: none; padding: 14px; flex: 1; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.btn-confirm-yes:hover { background: #333; }
.btn-confirm-no { background: var(--bg-color); color: var(--text-muted); border: 1px solid var(--border-light); padding: 14px; flex: 1; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.2s;}
.btn-confirm-no:hover { background: var(--border-light); color: var(--primary-dark); }

/* --- АДАПТИВНОСТЬ (МОБИЛЬНАЯ ВЕРСИЯ) --- */
@media (max-width: 768px) { 
    .category-nav { padding-bottom: 25px; justify-content: flex-start;} 
    header { padding: 10px 15px; justify-content: space-between; align-items: flex-start; gap: 10px;} 
    
    .header-left-group { flex-direction: column; align-items: center; gap: 6px; }
    .header-right-group { flex-direction: row; align-items: center; gap: 8px; }
    
    #install-app-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        width: 36px;
        height: 36px;
        border-radius: 50% !important;
        line-height: 0; 
    }

    .btn-icon { padding: 8px 12px; font-size: 0.8rem; }
    .hero-logo { max-width: 160px; }
    .modal-content { padding: 25px; width: 95%; border-radius: 20px;}
    
    .menu-section { padding: 20px 0 20px 20px; }
    .category-title { margin-right: 20px; }
    .menu-grid { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 20px; padding-right: 20px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .menu-grid::-webkit-scrollbar { display: none; }
    .card { min-width: 270px; max-width: 290px; flex: 0 0 auto; scroll-snap-align: start; }
    .card:hover { transform: translateY(-4px); }
}