/* =========================================================
   1. ГЛОБАЛЬНЫЙ ФОН: ФАСАД КАФЕ НА ВЕСЬ ЭКРАН (v1.1.0)
   ========================================================= */
body {
    background-color: #0b0f19;
    min-height: 100vh;
    position: relative;
}

/* Четкий фасад заведения на фоне с мягким затемнением */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(180deg, rgba(11, 15, 25, 0.45) 0%, rgba(11, 15, 25, 0.75) 100%),
        url('../img/facade-banner.webp') center center / cover no-repeat;
    z-index: -1;
}

/* =========================================================
   2. ВЕРХНЯЯ СЕРВИСНАЯ ПЛАШКА
   ========================================================= */
.top-service-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #f8fafc;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.service-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.service-link {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.15s;
}
.service-link:hover {
    color: #fdba74;
}

/* =========================================================
   3. ГЛАВНЫЙ КОНТЕЙНЕР САЙТА
   ========================================================= */
.main-wrapper {
    max-width: 900px;
    margin: 16px auto 100px;
    padding: 0 16px;
}

@media (min-width: 641px) {
    .main-wrapper {
        margin: 24px auto 50px;
        padding: 24px;
        background: rgba(248, 250, 252, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 24px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 
                    0 0 0 1px rgba(255, 255, 255, 0.15);
    }
}

/* =========================================================
   4. РЕДИЗАЙН ШАПКИ САЙТА (HERO) И НАВИГАЦИИ (v1.1.0)
   ========================================================= */
.hero-card {
    position: relative;
    background: radial-gradient(120% 120% at 50% 0%, #1e293b 0%, #0f172a 65%, #080c14 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 32px 24px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 20px 40px -15px rgba(15, 23, 42, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    margin-bottom: 22px;
    overflow: hidden;
}

/* Теплый отсвет сверху */
.hero-card::after {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0) 70%);
    pointer-events: none;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.6px;
    margin: 0 0 6px 0;
    background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 16px rgba(255, 255, 255, 0.08);
}

.hero-subtitle {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.hero-status {
    margin-bottom: 22px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.status-pill.open {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.15);
}

.status-pill.closed {
    color: #f87171;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.22);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.12);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-dot.green { 
    background: #22c55e; 
    box-shadow: 0 0 10px #22c55e; 
}
.status-dot.red { 
    background: #ef4444; 
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8); 
}

/* Навигационные табы на десктопе в стиле iOS Segmented Control */
.desktop-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.65);
    padding: 6px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tab-link {
    flex: 1;
    max-width: 220px;
    background: transparent;
    color: #94a3b8;
    border: 1px solid transparent;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.tab-link.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 
        0 6px 16px rgba(234, 88, 12, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* =========================================================
   5. КАРТОЧКИ И КОНТЕЙНЕРЫ (GLASSMORPHISM)
   ========================================================= */
.card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 22px;
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    margin-bottom: 20px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-head-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-head-title h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.sub-chip {
    font-size: 11px;
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: 700;
}
.sub-chip.accent-chip {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

/* =========================================================
   6. КОРЗИНА ВЫПЕЧКИ
   ========================================================= */
.cart-preview-card {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf7 100%);
    border: 1.5px solid #fed7aa;
    box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.12);
}

.clear-cart-link {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.15s;
}
.clear-cart-link:hover {
    background: #fee2e2;
}

.cart-items-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.cart-chip-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #fed7aa;
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.06);
}

.chip-controls { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

.chip-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}
.chip-btn:hover { 
    background: #ea580c; 
    color: #ffffff; 
    border-color: #ea580c; 
}

.chip-qty {
    color: #ea580c;
    font-weight: 900;
    min-width: 16px;
    text-align: center;
    font-size: 13px;
}

.cart-footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #fed7aa;
    padding-top: 14px;
}

.cart-total-badge {
    font-size: 14px;
    font-weight: 800;
    color: #9a3412;
}

.btn-goto-order {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: #ffffff;
    border: none;
    padding: 11px 20px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    transition: all 0.2s;
}
.btn-goto-order:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}
.btn-goto-order:active { 
    transform: scale(0.97); 
}

/* =========================================================
   7. ДОСКА МЕНЮ
   ========================================================= */
.board-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #0f172a;
    min-height: 240px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.board-image { 
    width: 100%; 
    display: block; 
    transition: transform 0.35s ease; 
}
.board-container:hover .board-image { 
    transform: scale(1.02); 
}
.board-skeleton {
    padding: 110px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
}
.board-zoom-overlay {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   8. АККОРДЕОНЫ И КАРТОЧКИ БЛЮД
   ========================================================= */
.section-hint { 
    font-size: 13px; 
    color: #64748b; 
    margin-bottom: 14px; 
}

.menu-accordion {
    border: 1.5px solid #eef2f6;
    border-radius: 16px;
    margin-bottom: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s;
}
.menu-accordion[open] { 
    border-color: #fed7aa; 
}
.menu-accordion summary {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    list-style: none;
    font-weight: 800;
    font-size: 15px;
    color: #0f172a;
    background: #ffffff;
}
.menu-accordion summary::-webkit-details-marker { display: none; }

.acc-badge {
    background: #ffedd5;
    color: #ea580c;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 14px 18px 18px;
    border-top: 1px solid #f8fafc;
    background: #fbfcfe;
}

@media (min-width: 640px) {
    .items-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

.dish-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 14px 12px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 72px;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.dish-btn:hover { 
    border-color: #fdba74; 
    background: #fffdfa;
    transform: translateY(-2px); 
    box-shadow: 0 6px 14px -3px rgba(234, 88, 12, 0.12);
}
.dish-btn:active { 
    transform: scale(0.96); 
}

.dish-name { 
    font-size: 13px; 
    font-weight: 700; 
    color: #1e293b; 
    line-height: 1.3; 
}

.dish-price { 
    align-self: flex-start;
    background: #fff7ed;
    color: #c2410c; 
    font-size: 13px; 
    font-weight: 900; 
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #ffedd5;
}

.dish-btn.disabled { 
    opacity: 0.35; 
    cursor: not-allowed; 
    text-decoration: line-through; 
    transform: none !important;
}

/* =========================================================
   9. ФОРМА ЗАКАЗА
   ========================================================= */
.dev-badge {
    background: #0f172a;
    color: #38bdf8;
    border: 1px dashed #38bdf8;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 18px;
}

.closed-warning {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.delivery-rules-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.form-step { 
    margin-bottom: 22px; 
}

.step-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.order-subtext-hint { 
    font-size: 12px; 
    color: #64748b; 
    margin-bottom: 8px; 
    line-height: 1.45; 
}

/* Переключатели формата и оплаты */
.toggle-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px; 
}
.toggle-card { 
    cursor: pointer; 
    margin: 0; 
}
.toggle-card input { 
    display: none; 
}
.toggle-content {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.toggle-card:hover .toggle-content {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.toggle-icon { 
    font-size: 22px; 
    margin-bottom: 4px; 
}
.toggle-title { 
    font-size: 13px; 
    font-weight: 800; 
    color: #334155; 
}
.toggle-sub { 
    font-size: 11px; 
    color: #94a3b8; 
    margin-top: 3px; 
    font-weight: 600;
}

.toggle-card input:checked + .toggle-content {
    border-color: #f97316;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
    box-shadow: 0 0 0 1.5px #f97316, 0 6px 14px -3px rgba(249, 115, 22, 0.15);
}
.toggle-card input:checked + .toggle-content .toggle-title { 
    color: #ea580c; 
}
.toggle-card input:checked + .toggle-content .toggle-sub { 
    color: #c2410c; 
}

/* Поля ввода */
.form-input {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s;
}
.form-input:focus { 
    border-color: #f97316; 
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.step-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mini-tools { 
    display: flex; 
    gap: 6px; 
}
.tool-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
}
.tool-btn:hover {
    background: #f1f5f9;
}
.tool-btn.danger { 
    color: #dc2626; 
    background: #fef2f2; 
    border-color: #fee2e2; 
}
.tool-btn.danger:hover {
    background: #fee2e2;
}

.form-textarea {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    resize: vertical;
    min-height: 110px;
    font-family: inherit;
    line-height: 1.5;
    transition: all 0.2s;
}
.form-textarea:focus { 
    border-color: #f97316; 
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* Карточка обработки заказа */
.order-workflow-card {
    background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 100%);
    border: 1.5px solid #fed7aa;
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 22px;
}
.workflow-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #9a3412;
    margin-bottom: 12px;
}
.workflow-icon { font-size: 18px; }
.workflow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.workflow-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
}
.step-num {
    width: 20px;
    height: 20px;
    background: #ffedd5;
    color: #ea580c;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Кнопки отправки */
.submit-stack { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}
.btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-submit:active {
    transform: scale(0.98);
}
.btn-telegram { 
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); 
    color: #ffffff; 
}
.btn-telegram:hover {
    box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}
.btn-max { 
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%); 
    color: #ffffff; 
}
.btn-max:hover {
    box-shadow: 0 8px 20px -4px rgba(234, 88, 12, 0.4);
    transform: translateY(-1px);
}
.btn-submit:disabled {
    background: #cbd5e1 !important;
    cursor: not-allowed;
    color: #94a3b8 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* =========================================================
   10. СТРАНИЦА «О КАФЕ»
   ========================================================= */
.phone-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
    border-color: #ffedd5;
}
.phone-label { 
    display: block; 
    font-size: 11px; 
    font-weight: 800; 
    color: #ea580c; 
    letter-spacing: 0.8px;
}
.phone-desc { 
    font-size: 13px; 
    color: #64748b; 
    margin-top: 2px;
}
.phone-btn { 
    color: #e11d48; 
    font-weight: 800; 
    font-size: 16px; 
    text-decoration: none; 
}

.info-table { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}
.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.text-red { 
    color: #ef4444; 
    font-weight: 800; 
}

.maps-stack { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    margin-top: 16px; 
}
.map-action-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.15s;
}
.map-action-btn:hover {
    transform: translateY(-1px);
}
.map-action-btn.yandex { 
    background: #fef3c7; 
    color: #92400e; 
    border: 1px solid #fde68a;
}
.map-action-btn.twogis { 
    background: #dcfce7; 
    color: #166534; 
    border: 1px solid #bbf7d0;
}

/* Рейсы курьеров */
.dispatch-schedule-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
}

.dispatch-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dispatch-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    background: #e2e8f0;
    color: #475569;
    padding: 4px 9px;
    border-radius: 8px;
    flex-shrink: 0;
    margin-top: 1px;
}
.dispatch-tag.accent {
    background: #ffedd5;
    color: #ea580c;
}

.dispatch-desc {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

.dispatch-waves {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.wave-times {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.time-pill {
    background: #ffffff;
    border: 1.5px solid #fed7aa;
    color: #c2410c;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(234, 88, 12, 0.05);
}

.delivery-flex-note {
    margin-top: 14px;
    font-size: 12.5px;
    color: #9a3412;
    background: #fff7ed;
    border-left: 3px solid #f97316;
    padding: 10px 14px;
    border-radius: 10px;
    line-height: 1.5;
}

.delivery-map-box {
    width: 100%;
    height: 320px;
    border-radius: 16px;
    border: 1.5px solid #fed7aa;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

@media (min-width: 600px) {
    .delivery-map-box { height: 380px; }
}

/* =========================================================
   11. МОБИЛЬНЫЙ ТАББАР (GLASSMORPHISM)
   ========================================================= */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    z-index: 999;
}

@media (min-width: 768px) {
    .mobile-bottom-nav { display: none; }
}

.nav-item {
    background: transparent;
    border: none;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    padding: 6px 14px;
    border-radius: 12px;
    transition: all 0.15s;
}
.nav-icon { font-size: 19px; }
.nav-item.active { 
    color: #f97316; 
    background: rgba(249, 115, 22, 0.1);
}
.nav-badge {
    position: absolute;
    top: 3px;
    right: 12px;
    background: #ea580c;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
}

/* =========================================================
   12. МОДАЛКА ЗУМА И УВЕДОМЛЕНИЯ
   ========================================================= */
.zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.zoom-modal.active { display: flex; }

.zoom-body {
    max-width: 95vw;
    max-height: 90vh;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-body img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    cursor: zoom-in;
    transition: transform 0.2s ease-out;
}

.zoom-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #334155;
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.order-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    border: 1.5px solid #ea580c;
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90vw;
    line-height: 1.4;
}

.order-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Тактильный отклик интерактивных элементов */
.btn, .subtab-btn, .phone-btn, .tab-link, .btn-submit {
    transition: transform 0.12s ease, opacity 0.12s ease, background 0.2s ease;
}
.btn:active, .subtab-btn:active, .phone-btn:active {
    transform: scale(0.96);
}

/* =========================================================
   СЕЗОННАЯ ТЕМА: ТЕПЛАЯ ОСЕНЬ (v1.1.1-autumn)
   ========================================================= */

/* Теплый янтарный отсвет поверх фасада */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 80% 15%, rgba(217, 119, 6, 0.22) 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, rgba(180, 83, 9, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Осенний согревающий градиент для плашки переезда */
.domain-alert-bar {
    background: linear-gradient(90deg, #b45309 0%, #d97706 50%, #9a3412 100%) !important;
}

/* Кнопки и активные табы в медово-терракотовом тоне */
.btn-goto-order,
.tab-link.active {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    box-shadow: 0 6px 18px rgba(180, 83, 9, 0.4) !important;
}

/* Осенний бейдж в Hero-шапке */
.hero-chip {
    border-color: rgba(245, 158, 11, 0.35) !important;
    background: rgba(180, 83, 9, 0.2) !important;
    color: #fde68a !important;
}

/* Легкий CSS-листопад без нагрузки на процессор */
@keyframes autumnDrift {
    0% {
        transform: translateY(-20px) rotate(0deg) translateX(0);
        opacity: 0;
    }
    15% {
        opacity: 0.65;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(15px);
    }
    85% {
        opacity: 0.65;
    }
    100% {
        transform: translateY(105vh) rotate(360deg) translateX(-15px);
        opacity: 0;
    }
}

.autumn-leaf {
    position: fixed;
    top: -30px;
    font-size: 17px;
    user-select: none;
    pointer-events: none;
    z-index: 999;
    animation: autumnDrift 14s linear infinite;
    opacity: 0;
}

.autumn-leaf:nth-child(1) { left: 10%; animation-duration: 13s; animation-delay: 0s; }
.autumn-leaf:nth-child(2) { left: 28%; animation-duration: 17s; animation-delay: 3s; font-size: 13px; }
.autumn-leaf:nth-child(3) { left: 58%; animation-duration: 12s; animation-delay: 6s; }
.autumn-leaf:nth-child(4) { left: 82%; animation-duration: 16s; animation-delay: 2s; font-size: 15px; }
.autumn-leaf:nth-child(5) { left: 94%; animation-duration: 14s; animation-delay: 5s; }