/* ═══════════════════════════════════════════════
   H&E BURGERS — style.css COMPLETO
═══════════════════════════════════════════════ */

:root {
  --bg: #0f0d0b;
  --surface: #1a1714;
  --surface2: #221f1b;
  --accent: #d4a017;
  --accent2: #f0c040;
  --text: #f0ebe4;
  --text-muted: #8a7f74;
  --border: #2e2a25;
  --card-bg: #1e1b17;
  --header-h: 64px;
  --nav-h: 52px;
  --radius: 12px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); min-height: 100vh; overflow-x: hidden; }

/* ─── HEADER ─── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(15,13,11,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: var(--header-h); display: flex; align-items: center; padding: 0 16px; gap: 12px; margin-top: 28px; }
.header-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.header-info { flex: 1; min-width: 0; }
.header-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; line-height: 1; color: var(--text); }
.header-status { font-size: 11px; color: var(--text-muted); margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.status-dot.open { background: #4caf50; }
.header-actions { display: flex; gap: 8px; }
.btn-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--surface2); border: 1px solid var(--border); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: all .2s; text-decoration: none; }
.btn-icon:hover { background: var(--accent); border-color: var(--accent); color: #000; }

/* ─── MRML BADGES ─── */
.mrml-top { background: var(--surface); border-bottom: 1px solid var(--border); text-align: center; padding: 5px 16px; font-family: var(--font-condensed); font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); opacity: .45; user-select: none; position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 28px; display: flex; align-items: center; justify-content: center; }
.mrml-top a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: opacity .2s; }
.mrml-top a:hover { opacity: .6; }
.mrml-badge { text-align: center; padding: 10px 16px; font-family: var(--font-condensed); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); opacity: .5; user-select: none; }
.mrml-badge a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; opacity: 1; transition: opacity .2s; }
.mrml-badge a:hover { opacity: .75; }

/* ─── HERO ─── */
.hero { margin-top: calc(var(--header-h) + 28px); background: linear-gradient(135deg, #1a0a05 0%, #2d1206 50%, #1a0a05 100%); padding: 28px 16px 20px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(212,160,23,.15) 0%, transparent 60%); }
.hero-content { position: relative; z-index: 1; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(212,160,23,.15); border: 1px solid rgba(212,160,23,.3); color: var(--accent); font-family: var(--font-condensed); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; }
.hero-title { font-family: var(--font-display); font-size: 42px; line-height: .95; letter-spacing: 2px; margin-bottom: 10px; }
.hero-title span { color: var(--accent); }
.hero-sub { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ─── CLOSED BANNER ─── */
.closed-banner { background: linear-gradient(90deg, rgba(212,160,23,.12), rgba(212,160,23,.06)); border: 1px solid rgba(212,160,23,.25); border-radius: var(--radius); margin: 14px 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.closed-banner .icon { font-size: 22px; }
.closed-banner .text { flex: 1; }
.closed-banner .text strong { display: block; font-size: 13px; font-weight: 600; color: var(--accent); }
.closed-banner .text span { font-size: 11px; color: var(--text-muted); }

/* ─── CATEGORY NAV ─── */
.cat-nav { position: sticky; top: calc(var(--header-h) + 28px); z-index: 90; background: rgba(15,13,11,.97); border-bottom: 1px solid var(--border); padding: 0 16px; overflow-x: auto; display: flex; gap: 6px; scrollbar-width: none; height: var(--nav-h); align-items: center; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-btn { flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-family: var(--font-condensed); font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; transition: all .2s; white-space: nowrap; }
.cat-btn.active, .cat-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.cat-btn .badge { background: rgba(0,0,0,.2); border-radius: 10px; padding: 1px 6px; font-size: 10px; }

/* ─── MAIN ─── */
.main { padding: 0 16px 100px; }

/* ─── SECTION HEADER ─── */
.section-header { display: flex; align-items: center; gap: 12px; padding: 24px 0 14px; }
.section-header .line { flex: 1; height: 1px; background: var(--border); }
.section-title { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; color: var(--text); }
.section-count { font-family: var(--font-condensed); font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--accent); background: rgba(212,160,23,.1); border: 1px solid rgba(212,160,23,.2); padding: 2px 8px; border-radius: 4px; }

/* ─── SUB TABS ─── */
.sub-tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.sub-tabs::-webkit-scrollbar { display: none; }
.sub-tab { flex-shrink: 0; padding: 6px 16px; border-radius: 6px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-family: var(--font-condensed); font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; transition: all .2s; white-space: nowrap; }
.sub-tab.active, .sub-tab:hover { background: var(--surface2); border-color: var(--accent2); color: var(--accent2); }

/* ─── PRODUCT GRID ─── */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; position: relative; display: flex; flex-direction: column; }
.product-card:active { transform: scale(.97); }
.product-card:hover { border-color: rgba(212,160,23,.4); box-shadow: 0 4px 20px rgba(212,160,23,.1); }
.product-img-wrap { position: relative; aspect-ratio: 1; background: var(--surface2); overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; background: var(--surface2); }
.out-of-stock-badge { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.75); color: #ff6b6b; font-family: var(--font-condensed); font-size: 10px; font-weight: 700; letter-spacing: .5px; padding: 3px 7px; border-radius: 4px; border: 1px solid rgba(255,107,107,.3); }
.product-body { padding: 10px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-family: var(--font-condensed); font-size: 13px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; line-height: 1.3; color: var(--text); flex: 1; margin-bottom: 6px; }
.product-price { font-family: var(--font-display); font-size: 20px; color: var(--accent2); line-height: 1; }
.product-price small { font-family: var(--font-body); font-size: 10px; color: var(--text-muted); display: block; margin-bottom: 1px; }
.out-of-stock { opacity: .55; }

/* ─── MODALS ─── */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.85); display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--surface); border-radius: 20px 20px 0 0; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); scrollbar-width: none; }
.modal::-webkit-scrollbar { display: none; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.modal-img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.modal-body { padding: 20px; }
.modal-name { font-family: var(--font-display); font-size: 32px; letter-spacing: 1px; margin-bottom: 6px; }
.modal-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.modal-price { font-family: var(--font-display); font-size: 36px; color: var(--accent2); margin-bottom: 20px; }
.modal-footer { display: flex; gap: 10px; }
.btn-primary { flex: 1; background: #25d366; border: none; color: #fff; border-radius: 10px; padding: 14px; font-family: var(--font-condensed); font-size: 15px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: filter .2s; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-close-modal { width: 48px; background: var(--surface2); border: 1px solid var(--border); color: var(--text); border-radius: 10px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.btn-close-modal:hover { background: var(--accent); border-color: var(--accent); }

/* ─── HOURS MODAL ─── */
.hours-modal { background: var(--surface); border-radius: 20px 20px 0 0; width: 100%; max-width: 480px; padding: 24px; transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); }
.modal-overlay.open .hours-modal { transform: translateY(0); }
.hours-title { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; margin-bottom: 16px; }
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.hours-row .day { color: var(--text-muted); }
.hours-row .time { font-weight: 600; }

/* ─── FAB WHATSAPP (oculto, reemplazado por nav) ─── */
.fab-whatsapp { display: none; }

/* ─── FAB CARRITO ─── */
.btn-add-cart { position: absolute; bottom: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); border: none; color: #000; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(212,160,23,.4); transition: transform .15s, background .15s; z-index: 2; line-height: 1; font-weight: 700; }
.btn-add-cart:hover { background: #b8860b; transform: scale(1.1); }
.btn-add-cart:active { transform: scale(.92); }
.cart-fab { position: fixed; bottom: 72px; left: 16px; z-index: 150; background: var(--accent); color: #000; border: none; border-radius: 28px; padding: 12px 18px; display: none; align-items: center; gap: 10px; font-family: var(--font-condensed); font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 20px rgba(212,160,23,.4); transition: transform .2s, box-shadow .2s; }
.cart-fab.visible { display: flex; }
.cart-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,160,23,.5); }
.cart-fab-count { background: #000; color: var(--accent); border-radius: 12px; padding: 2px 8px; font-size: 13px; font-weight: 700; }
.cart-fab-total { font-size: 13px; opacity: .9; }

/* ─── CART MODAL ─── */
.cart-modal { background: var(--surface); border-radius: 20px 20px 0 0; width: 100%; max-width: 480px; max-height: 85vh; overflow-y: auto; transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); scrollbar-width: none; display: flex; flex-direction: column; }
.cart-modal::-webkit-scrollbar { display: none; }
.modal-overlay.open .cart-modal { transform: translateY(0); }
.cart-header { padding: 20px 20px 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cart-title { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; flex: 1; }
.cart-clear { font-family: var(--font-condensed); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); background: none; border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; cursor: pointer; transition: all .2s; }
.cart-clear:hover { border-color: #c62828; color: #c62828; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-emoji { font-size: 28px; width: 44px; height: 44px; background: var(--surface2); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item-img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-condensed); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-family: var(--font-display); font-size: 16px; color: var(--accent2); margin-top: 2px; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface2); color: var(--text); font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; line-height: 1; }
.qty-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.qty-num { font-family: var(--font-display); font-size: 18px; min-width: 20px; text-align: center; }
.cart-footer { padding: 16px 20px; border-top: 1px solid var(--border); flex-shrink: 0; background: var(--surface); }
.cart-summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart-summary-label { font-family: var(--font-condensed); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.cart-summary-total { font-family: var(--font-display); font-size: 32px; color: var(--accent2); }
.btn-checkout { width: 100%; background: #25d366; border: none; color: #fff; border-radius: 12px; padding: 15px; font-family: var(--font-condensed); font-size: 16px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: filter .2s; }
.btn-checkout:hover { filter: brightness(1.1); }
.cart-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.cart-empty .icon { font-size: 48px; margin-bottom: 12px; }
.cart-empty p { font-size: 14px; }
@keyframes popIn { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }
.pop { animation: popIn .25s ease; }

/* ─── INFO PAGE ─── */
.info-section { padding: 24px 16px 100px; }
.info-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.info-card-title { font-family: var(--font-condensed); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.info-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; text-decoration: none; color: var(--text); }
.info-item:last-child { border-bottom: none; }
.info-item span { font-size: 18px; }

/* ─── BOTTOM NAV ─── */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: rgba(15,13,11,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--border); display: flex; height: 64px; align-items: center; padding: 0 12px; gap: 8px; }
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer; color: var(--text-muted); transition: color .2s; font-size: 10px; font-family: var(--font-condensed); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; border: none; background: transparent; height: 100%; }
.nav-item.active { color: var(--accent); }
.nav-item svg { width: 22px; height: 22px; }
.nav-wa-btn { flex: 2; display: flex; align-items: center; justify-content: center; gap: 8px; background: #25d366; border: none; border-radius: 14px; color: #fff; font-family: var(--font-condensed); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; height: 44px; text-decoration: none; box-shadow: 0 2px 12px rgba(37,211,102,.35); transition: filter .2s, transform .15s; white-space: nowrap; }
.nav-wa-btn:hover { filter: brightness(1.1); }
.nav-wa-btn:active { transform: scale(.96); }

/* ─── PAGES ─── */
.page { display: none; }
.page.active { display: block; }

/* ─── TOAST ─── */
.toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--surface); border: 1px solid var(--accent); color: var(--text); padding: 10px 20px; border-radius: 24px; font-family: var(--font-condensed); font-size: 13px; font-weight: 700; letter-spacing: .5px; z-index: 999; opacity: 0; transition: all .3s; pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── FORMS ─── */
.form-row { margin-bottom: 12px; }
.form-label { display: block; font-family: var(--font-condensed); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--text); font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color .2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.img-upload-area { border: 2px dashed var(--border); border-radius: 10px; padding: 20px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; position: relative; overflow: hidden; }
.img-upload-area:hover { border-color: var(--accent); background: rgba(212,160,23,.04); }
.img-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.img-upload-icon { font-size: 32px; margin-bottom: 8px; }
.img-upload-text { font-size: 13px; color: var(--text-muted); }
.img-upload-text strong { color: var(--accent); }
.btn-save { width: 100%; background: var(--accent); border: none; border-radius: 10px; padding: 14px; color: #000; font-family: var(--font-condensed); font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: filter .2s; margin-top: 4px; }
.btn-save:hover { filter: brightness(1.1); }
.btn-save.secondary { background: var(--surface2); border: 1px solid var(--border); color: var(--text); margin-top: 8px; }

/* ─── RESPONSIVE ─── */
@media (min-width: 500px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

/* ════════════════════════════════════════
   ADMIN PANEL STYLES
════════════════════════════════════════ */

.admin-body { background: var(--bg); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.admin-login-page { width: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 100vh; }
.admin-login-box { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; width: 100%; max-width: 360px; }
.admin-login-logo { text-align: center; font-family: var(--font-display); font-size: 40px; letter-spacing: 2px; margin-bottom: 4px; }
.admin-login-logo span { color: var(--accent); }
.admin-login-sub { text-align: center; font-size: 11px; color: var(--text-muted); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 2px; font-family: var(--font-condensed); font-weight: 700; }
.admin-status { padding: 10px 14px; border-radius: 8px; font-size: 13px; font-family: var(--font-condensed); font-weight: 700; letter-spacing: .5px; margin: 12px 0; }
.admin-status.error { background: rgba(198,40,40,.15); border: 1px solid rgba(198,40,40,.3); color: #ff6b6b; }
.admin-status.success { background: rgba(76,175,80,.15); border: 1px solid rgba(76,175,80,.3); color: #4caf50; }
.ap-wrapper { min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; }
.ap-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 16px; height: 60px; display: flex; align-items: center; gap: 12px; flex-shrink: 0; position: sticky; top: 0; z-index: 100; }
.ap-header-title { font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; flex: 1; }
.ap-header-title span { color: var(--accent); }
.ap-tabs { display: flex; overflow-x: auto; scrollbar-width: none; background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 8px; flex-shrink: 0; position: sticky; top: 60px; z-index: 99; }
.ap-tabs::-webkit-scrollbar { display: none; }
.ap-tab-btn { flex-shrink: 0; padding: 12px 14px; color: var(--text-muted); font-family: var(--font-condensed); font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; transition: all .2s; background: none; border-left: none; border-right: none; border-top: none; white-space: nowrap; }
.ap-tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.ap-content { flex: 1; padding: 16px; overflow-y: auto; }
.ap-tab-content { display: none; }
.ap-tab-content.active { display: block; }
.ap-section-title { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; margin-bottom: 14px; color: var(--text); }
.ap-form { display: flex; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.ap-empty { color: var(--text-muted); font-size: 14px; text-align: center; padding: 24px; }
.ap-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.ap-card-img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ap-card-img-placeholder { width: 52px; height: 52px; border-radius: 8px; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.ap-card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ap-card-info strong { font-family: var(--font-condensed); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-card-info small { font-size: 11px; color: var(--text-muted); }
.ap-price { font-family: var(--font-display); font-size: 17px; color: var(--accent2); }
.ap-card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.ap-btn { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface2); color: var(--text); font-family: var(--font-condensed); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; transition: all .2s; text-decoration: none; display: inline-flex; align-items: center; }
.ap-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.ap-btn.danger:hover { background: #c62828; border-color: #c62828; color: #fff; }
.hours-row-editor { display: grid; grid-template-columns: 80px 1fr auto 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.hours-row-editor:last-child { border-bottom: none; }
.hours-day { font-size: 13px; color: var(--text-muted); }
.ap-input { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; color: var(--text); font-family: var(--font-body); font-size: 13px; outline: none; transition: border-color .2s; width: 100%; }
.ap-input:focus { border-color: var(--accent); }
.ap-input-sm { padding: 6px 8px; font-size: 12px; }
.ap-input:disabled { opacity: .4; cursor: not-allowed; }
.ap-toggle { width: 40px; height: 22px; background: var(--surface2); border-radius: 11px; position: relative; cursor: pointer; transition: background .2s; flex-shrink: 0; border: 1px solid var(--border); }
.ap-toggle::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: transform .2s; }
.ap-toggle.on { background: var(--accent); border-color: var(--accent); }
.ap-toggle.on::after { transform: translateX(18px); }

/* ─── TOPPINGS ─── */
.toppings-section {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
  margin-bottom: 16px;
}
.toppings-title {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.toppings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.topping-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.topping-item:hover {
  border-color: var(--accent);
  background: rgba(212,160,23,.06);
}
.topping-item.selected {
  border-color: var(--accent);
  background: rgba(212,160,23,.1);
}
.topping-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topping-name {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--text);
}
.topping-price {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent2);
}
.topping-check {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
  color: transparent;
}
.topping-check.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* Cart toppings text */
.cart-item-toppings {
  font-size: 11px;
  color: var(--accent);
  font-family: var(--font-condensed);
  font-weight: 600;
  letter-spacing: .3px;
  margin-top: 2px;
}

/* Modal add button */
.btn-add-to-cart {
  flex: 1;
  background: var(--accent);
  border: none;
  color: #000;
  border-radius: 10px;
  padding: 14px;
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter .2s;
}
.btn-add-to-cart:hover { filter: brightness(1.1); }

/* ─── ADMIN MOBILE FIX ─── */
.ap-wrapper { overflow-x: hidden; width: 100%; }
.ap-header { overflow: hidden; }
.ap-header-title { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-content { overflow-x: hidden; padding: 12px; }
.ap-card { overflow: hidden; }
.ap-card-info strong { font-size: 12px; }
.ap-card-actions { flex-direction: column; gap: 4px; }
.ap-btn { padding: 5px 8px; font-size: 10px; }

/* Tabs scroll mobile */
.ap-tabs { -webkit-overflow-scrolling: touch; }

/* Forms mobile */
.form-row-2 { grid-template-columns: 1fr; }
.hours-row-editor { grid-template-columns: 70px 1fr auto 1fr auto; gap: 4px; }
.hours-day { font-size: 11px; }

/* Admin panel full width */
.admin-body { align-items: flex-start; }
.admin-login-page { padding: 16px; }

/* Fix overflow on all admin pages */
* { max-width: 100%; }
input, select, textarea { max-width: 100%; }

/* Cards layout mobile */
@media (max-width: 480px) {
  .ap-header { padding: 0 10px; gap: 8px; }
  .ap-header-title { font-size: 15px; }
  .ap-card { padding: 10px 8px; gap: 8px; }
  .ap-card-img, .ap-card-img-placeholder { width: 44px; height: 44px; }
  .ap-card-info strong { font-size: 11px; }
  .ap-price { font-size: 15px; }
  .ap-section-title { font-size: 18px; }
  .ap-form { padding: 12px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .ap-tab-btn { padding: 10px 10px; font-size: 11px; }
  .hours-row-editor { grid-template-columns: 65px 1fr auto 1fr auto; gap: 4px; font-size: 11px; }
  .ap-input-sm { padding: 5px 6px; font-size: 11px; }
}
