/* ============================================================================
   SELO 7 — ESTILO GLOBAL
   Paleta: Dourado (#D4AF37 / #F0C550), Preto (#0D0D0D / #171412), Branco (#FFF)
   Mobile-first, depois adaptado para telas maiores.
============================================================================ */

:root {
  --gold: #D4AF37;
  --gold-light: #F0C550;
  --gold-dark: #A8842A;
  --black: #0D0D0D;
  --black-soft: #171412;
  --black-card: #1E1A16;
  --white: #FFFFFF;
  --gray: #8A8580;
  --gray-light: #E8E4DD;
  --danger: #E53935;
  --success: #25D366;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --header-h: 62px;
  --bottom-nav-h: 64px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  -webkit-tap-highlight-color: transparent;
}
body {
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }
h1, h2, h3 { margin: 0; }
.hidden { display: none !important; }
.muted { color: var(--gray); font-size: 14px; }

/* ============================= HEADER ============================= */
#app-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  height: var(--header-h);
}
.header-inner {
  max-width: 720px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: 1px; color: var(--gold-light); }
.brand-sub { font-size: 10px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }

.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 19px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cart-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid var(--black);
}

/* ============================= MAIN / PAGES ============================= */
#app-main { max-width: 720px; margin: 0 auto; }
.page { display: none; padding-bottom: 24px; }
.page.active { display: block; }

/* ============================= HERO ============================= */
#hero-section {
  position: relative;
  height: 62vh; min-height: 380px; max-height: 560px;
  overflow: hidden;
}
#hero-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.6);
}
#hero-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 20px 28px;
  background: linear-gradient(180deg, rgba(13,13,13,0) 0%, rgba(13,13,13,0.55) 55%, rgba(13,13,13,0.96) 100%);
}
.hero-kicker {
  color: var(--gold-light); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; margin-bottom: 6px;
}
#hero-title {
  font-size: 44px; font-weight: 900; letter-spacing: 2px;
  color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  line-height: 1;
}
#hero-tagline {
  color: var(--gray-light); font-size: 14.5px; margin: 10px 0 18px;
  max-width: 340px; line-height: 1.4;
}

/* ============================= BOTÕES ============================= */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black); font-weight: 800; font-size: 15px;
  padding: 14px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow-gold);
  transition: transform 0.15s ease;
  width: auto;
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary.btn-lg { width: 100%; padding: 16px 22px; font-size: 16px; }
.btn-primary:disabled { opacity: 0.4; box-shadow: none; }

.btn-secondary {
  background: rgba(212,175,55,0.12);
  border: 1.5px solid var(--gold);
  color: var(--gold-light); font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2FE070, var(--success));
  color: #06210f; font-weight: 800; font-size: 16px;
  padding: 17px 22px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  box-shadow: 0 6px 22px rgba(37,211,102,0.35);
}
.btn-whatsapp:active { transform: scale(0.97); }

.btn-back {
  display: flex; align-items: center; gap: 6px;
  color: var(--gray); font-size: 14px; font-weight: 600;
  margin-bottom: 14px; padding: 4px 0;
}
.link-btn { color: var(--gold-light); font-size: 13px; font-weight: 700; }

/* ============================= SECTIONS ============================= */
.home-section { padding: 22px 16px 4px; }
.section-title-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.section-title-row h2 { font-size: 19px; font-weight: 800; }
.home-footer-note {
  text-align: center; color: var(--gray); font-size: 12.5px;
  padding: 20px 16px 8px;
}

.h-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none; scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }

/* ============================= PRODUCT CARD (horizontal scroll) ============================= */
.product-card-mini {
  flex: 0 0 auto; width: 158px;
  background: var(--black-card);
  border-radius: var(--radius-md);
  overflow: hidden; scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.product-card-mini .img-wrap { position: relative; height: 110px; background: linear-gradient(135deg,#2a231b,#171412); }
.product-card-mini img { width: 100%; height: 100%; object-fit: cover; }
.product-card-mini .no-img-icon {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--gold-dark);
}
.card-body { padding: 10px 10px 12px; }
.card-name { font-size: 13.5px; font-weight: 700; line-height: 1.25; margin-bottom: 5px; min-height: 34px; }
.card-price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-old { color: var(--gray); font-size: 11.5px; text-decoration: line-through; }
.price-now { color: var(--gold-light); font-size: 15px; font-weight: 800; }
.price-now.no-promo { color: var(--white); }
.card-add-btn {
  margin-top: 8px; width: 100%;
  background: rgba(212,175,55,0.14); color: var(--gold-light);
  border: 1px solid rgba(212,175,55,0.4);
  font-size: 12.5px; font-weight: 700; padding: 7px; border-radius: 999px;
}
.card-add-btn:active { background: var(--gold); color: var(--black); }

.badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 10px; font-weight: 800; letter-spacing: 0.3px;
  padding: 4px 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 3px;
}
.badge-promo { background: var(--danger); color: #fff; }
.badge-bestseller { background: var(--gold); color: var(--black); }
.badge-discount-pct {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: var(--black); color: var(--gold-light);
  border: 1.5px solid var(--gold);
  font-size: 10.5px; font-weight: 800;
  padding: 3px 7px; border-radius: 999px;
}
.favorite-tag {
  font-size: 10.5px; color: var(--gold-light); font-weight: 700;
  display: flex; align-items: center; gap: 4px; margin-bottom: 4px;
}

/* ============================= MENU (full page) ============================= */
#menu-header { padding: 16px; position: sticky; top: var(--header-h); background: var(--black); z-index: 20; }
#menu-header h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
#category-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
#category-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex: 0 0 auto;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.06); color: var(--gray-light);
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  border: 1px solid transparent;
}
.cat-tab.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

#menu-products, #offers-products { padding: 4px 16px 16px; }
.cat-group-title {
  font-size: 15px; font-weight: 800; color: var(--gold-light);
  margin: 18px 0 10px; display: flex; align-items: center; gap: 6px;
}

.product-row {
  display: flex; gap: 12px;
  background: var(--black-card);
  border-radius: var(--radius-md);
  padding: 12px; margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.product-row .img-wrap {
  width: 92px; height: 92px; flex: 0 0 auto;
  border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(135deg,#2a231b,#171412);
  position: relative;
}
.product-row .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-row .img-wrap .no-img-icon { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:26px; color: var(--gold-dark); }
.product-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.product-row-body .p-name { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.product-row-body .p-desc { font-size: 12px; color: var(--gray); line-height: 1.35; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-row-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; }
.row-add-btn {
  background: var(--gold); color: var(--black);
  font-size: 12.5px; font-weight: 800; padding: 8px 14px; border-radius: 999px;
  white-space: nowrap;
  display: flex; align-items: center; gap: 5px;
}
.row-add-btn:active { transform: scale(0.95); }
.row-badges { display: flex; gap: 6px; margin-bottom: 5px; flex-wrap: wrap; }
.mini-badge { font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.mini-badge.promo { background: var(--danger); color: #fff; }
.mini-badge.best { background: var(--gold); color: var(--black); }

.empty-state {
  text-align: center; padding: 60px 24px; color: var(--gray);
}
.empty-state i { font-size: 40px; color: var(--gold-dark); margin-bottom: 14px; }
.empty-state p { font-size: 14px; line-height: 1.5; margin-bottom: 18px; }

/* ============================= PRODUCT MODAL ============================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: flex-end; justify-content: center;
}
.modal-sheet {
  background: var(--black-soft);
  width: 100%; max-width: 720px;
  max-height: 92vh; overflow-y: auto;
  border-radius: 22px 22px 0 0;
  position: relative;
  animation: slideUp 0.25s ease;
  padding-bottom: env(safe-area-inset-bottom);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.modal-img { width: 100%; height: 220px; object-fit: cover; background: linear-gradient(135deg,#2a231b,#171412); }
.modal-img-placeholder { width: 100%; height: 130px; display:flex; align-items:center; justify-content:center; font-size: 50px; color: var(--gold-dark); background: linear-gradient(135deg,#2a231b,#171412); }
.modal-body { padding: 18px 18px 20px; }
.modal-name { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.modal-desc { color: var(--gray-light); font-size: 13.5px; line-height: 1.5; margin-bottom: 10px; }
.modal-ingredients { font-size: 12px; color: var(--gray); margin-bottom: 16px; }
.modal-ingredients b { color: var(--gold-light); }

.modal-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.modal-price-row .price-now { font-size: 24px; }

.option-group { margin-bottom: 18px; }
.option-group-title { font-size: 14px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.option-group-title .req-tag { font-size: 10px; color: var(--danger); font-weight: 700; }
.option-pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill {
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; font-weight: 600; color: var(--gray-light);
  display: flex; align-items: center; gap: 6px;
}
.option-pill.selected { background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 800; }
.option-pill .opt-price { font-size: 11px; opacity: 0.8; }

.checkbox-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.checkbox-row .cr-label { font-size: 13.5px; font-weight: 600; }
.checkbox-row .cr-price { font-size: 12.5px; color: var(--gold-light); font-weight: 700; margin-left: 6px; }
.switch {
  width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,0.15);
  position: relative; flex: 0 0 auto; transition: background 0.15s;
}
.switch.on { background: var(--gold); }
.switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: transform 0.15s;
}
.switch.on::after { transform: translateX(18px); }

.remove-ingredient-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.remove-ingredient-row input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--gold); }
.remove-ingredient-row label { font-size: 13.5px; color: var(--gray-light); }

textarea#notes-input, textarea#f-observacoes {
  width: 100%; min-height: 70px; resize: vertical;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); color: #fff; padding: 12px; font-size: 13.5px;
}

.qty-stepper {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06); border-radius: 999px; padding: 6px 8px;
}
.qty-stepper button {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(212,175,55,0.15); color: var(--gold-light);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.qty-stepper span { font-size: 15px; font-weight: 800; min-width: 20px; text-align: center; }

.modal-footer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 6px;
}
.modal-footer .btn-primary { flex: 1; }

/* ============================= RECOMENDAÇÃO (discreta) ============================= */
.recommendation-banner {
  margin: 4px 16px 14px;
  background: linear-gradient(135deg, rgba(212,175,55,0.14), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--gray-light);
}
.recommendation-banner i { color: var(--gold-light); font-size: 16px; }
.recommendation-banner b { color: var(--gold-light); }

.toast {
  position: fixed; bottom: calc(var(--bottom-nav-h) + 78px); left: 16px; right: 16px;
  max-width: 688px; margin: 0 auto;
  background: var(--black-card); border: 1px solid var(--gold);
  color: #fff; padding: 13px 16px; border-radius: var(--radius-md);
  font-size: 13.5px; z-index: 90; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.25s ease;
}
.toast i { color: var(--gold-light); font-size: 16px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================= CARRINHO ============================= */
.cart-step { padding: 16px; }
.cart-step h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }

.cart-item {
  display: flex; gap: 12px;
  background: var(--black-card); border-radius: var(--radius-md);
  padding: 12px; margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.cart-item .img-wrap { width: 64px; height: 64px; flex: 0 0 auto; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg,#2a231b,#171412); display:flex; align-items:center; justify-content:center; }
.cart-item .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .img-wrap i { color: var(--gold-dark); font-size: 22px; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14.5px; font-weight: 800; margin-bottom: 3px; }
.cart-item-details { font-size: 11.5px; color: var(--gray); line-height: 1.5; margin-bottom: 6px; }
.cart-item-details .note { color: var(--gold-light); }
.cart-item-footer { display: flex; align-items: center; justify-content: space-between; }
.cart-item-price { font-weight: 800; color: var(--gold-light); font-size: 14px; }
.mini-stepper { display: flex; align-items: center; gap: 10px; }
.mini-stepper button {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.08);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.mini-stepper span { font-weight: 700; font-size: 13.5px; min-width: 16px; text-align: center; }
.cart-item-actions { display: flex; gap: 14px; margin-top: 8px; }
.cart-item-actions button { font-size: 11.5px; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.cart-item-actions button.remove { color: var(--danger); }

.cart-summary {
  background: var(--black-card); border-radius: var(--radius-md);
  padding: 14px 16px; margin: 16px 0; border: 1px solid rgba(255,255,255,0.06);
}
.summary-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--gray-light); padding: 5px 0; }
.summary-row.total { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 6px; padding-top: 10px; font-size: 16px; font-weight: 800; color: var(--gold-light); }

.delivery-toggle { display: flex; gap: 10px; margin-bottom: 18px; }
.toggle-btn {
  flex: 1; padding: 12px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.1);
  color: var(--gray-light); font-size: 13.5px; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.toggle-btn.active { background: rgba(212,175,55,0.14); border-color: var(--gold); color: var(--gold-light); }
.toggle-btn i { font-size: 18px; }

.form-grid { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 12.5px; font-weight: 700; color: var(--gray-light); }
.field input, .field textarea {
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); color: #fff; padding: 13px 14px; font-size: 14.5px;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

#payment-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.payment-option {
  display: flex; align-items: center; gap: 14px;
  background: var(--black-card); border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 16px;
  font-size: 15px; font-weight: 700; color: var(--gray-light);
}
.payment-option i { font-size: 20px; color: var(--gold-dark); width: 24px; text-align: center; }
.payment-option.selected { border-color: var(--gold); background: rgba(212,175,55,0.1); color: #fff; }
.payment-option.selected i { color: var(--gold-light); }

.pix-box {
  background: var(--black-card); border: 1.5px solid var(--gold);
  border-radius: var(--radius-md); padding: 16px; margin-bottom: 18px;
}
.pix-box h3 { font-size: 15px; margin-bottom: 12px; color: var(--gold-light); display:flex; align-items:center; gap:8px; }
.pix-detail { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.pix-detail span { color: var(--gray); }
.pix-detail b { color: #fff; }
.pix-note { font-size: 11.5px; color: var(--gray); margin-top: 12px; line-height: 1.5; display: flex; gap: 6px; }
.pix-note i { color: var(--gold-light); margin-top: 1px; }

.review-note { text-align: center; font-size: 11.5px; color: var(--gray); margin-top: 10px; }

#review-content { margin-bottom: 18px; }
.review-block { background: var(--black-card); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.06); }
.review-block h4 { font-size: 12px; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.review-block p { font-size: 13.5px; color: var(--gray-light); line-height: 1.6; margin: 0; }

/* ============================= FLOATING ELEMENTS ============================= */
.whatsapp-float {
  position: fixed; right: 16px; bottom: calc(var(--bottom-nav-h) + 16px);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--success); color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  z-index: 60;
}

.floating-cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + 10px);
  max-width: 696px; margin: 0 auto;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black); border-radius: 999px;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; font-weight: 800;
  box-shadow: 0 8px 24px rgba(212,175,55,0.4);
  z-index: 55;
}
.floating-cart-bar span:first-child { display: flex; align-items: center; gap: 8px; }

/* ============================= BOTTOM NAV ============================= */
#bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: rgba(13,13,13,0.97); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212,175,55,0.15);
  display: flex; height: var(--bottom-nav-h);
  padding-bottom: env(safe-area-inset-bottom);
  max-width: 720px; margin: 0 auto;
}
.nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--gray); font-size: 10.5px; font-weight: 700;
  position: relative;
}
.nav-btn i { font-size: 19px; }
.nav-btn.active { color: var(--gold-light); }
.nav-btn .cart-badge { top: 2px; right: 22%; }

/* ============================= RESPONSIVO DESKTOP ============================= */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  #bottom-nav { display: none; }
  .whatsapp-float { bottom: 24px; }
  .floating-cart-bar { bottom: 24px; }
  #app-header, #app-main { max-width: 900px; }
  #menu-header { top: var(--header-h); }
  #hero-title { font-size: 58px; }
  #hero-tagline { font-size: 16px; max-width: 460px; }
  .h-scroll { flex-wrap: wrap; overflow: visible; }
  .product-card-mini { width: calc(33.333% - 8px); }
  #category-shortcuts { display: grid !important; grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  #app-header, #app-main { max-width: 1080px; }
  .product-card-mini { width: calc(20% - 10px); }
}

/* Categoria shortcuts (home) */
#category-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-shortcut {
  flex: 1 1 30%; min-width: 100px;
  background: var(--black-card); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md); padding: 16px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--gray-light);
}
.cat-shortcut .cat-icon { font-size: 26px; }
.cat-shortcut:active { background: rgba(212,175,55,0.1); }
