:root {
  --brand: #C8360A;
  --brand-dark: #8B1F04;
  --brand-light: #FF5722;
  --gold: #D4AF37;
  --dark: #0A0400;
  --dark2: #1A0D05;
  --smoke: #F9F4F0;
  --text: #2C1200;
  --muted: #7A5C45;
  --white: #FFFFFF;
  --card-bg: #FFFFFF;
  --shadow: 0 4px 24px rgba(200,54,10,0.12);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--smoke);
  color: var(--text);
  min-height: 100vh;
}

/* ==============================
   HEADER
   ============================== */
header {
  background: var(--dark);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(245,166,35,0.08);
}

.header-topbar {
  background: var(--brand-dark);
  padding: 7px 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 24px; font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.75); letter-spacing: 0.5px;
  flex-wrap: wrap;
}
.header-topbar span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.topbar-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }

.header-main {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 80px; gap: 16px;
}

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold); letter-spacing: -1px;
  cursor: pointer; user-select: none; line-height: 1;
  flex-shrink: 0;
}
.logo-title em { color: var(--brand); font-style: normal; }

.nav-center { display: flex; align-items: center; gap: 35px; }
.nav-link {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  position: relative; padding-bottom: 6px;
  transition: color 0.3s; cursor: pointer;
}
.nav-link::after {
  content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0;
  background-color: var(--brand); transition: width 0.3s;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.header-chip {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 6px 12px; color: rgba(255,255,255,0.6);
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: #4CAF50; animation: pulse-dot 2s infinite; flex-shrink: 0; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.4} }

.cart-btn {
  background: var(--brand); color: white; border: none;
  padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 0.9rem;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  transition: all 0.2s; box-shadow: 0 4px 15px rgba(200,54,10,0.4);
  white-space: nowrap;
}
.cart-btn:hover { background: var(--brand-light); transform: translateY(-1px); }
.cart-count {
  background: var(--white); color: var(--brand-dark);
  min-width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900;
}

/* Hamburguer Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; cursor: pointer; padding: 8px; flex-shrink: 0;
}
.menu-toggle span {
  display: block; width: 20px; height: 2px;
  background: rgba(255,255,255,0.85); border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.mobile-nav.open { max-height: 300px; }
.mobile-nav-link {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 16px 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer; letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.04); color: var(--gold); }
.mobile-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 1.5rem; font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.header-accent {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand) 50%, transparent 100%);
  opacity: 0.4;
}

/* ==============================
   CAROUSEL
   ============================== */
.hero-carousel {
  position: relative; overflow: hidden;
  background: var(--dark2); padding: 20px 0 40px 0;
}
.hero-carousel::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 80px;
  background: linear-gradient(to top, var(--smoke) 0%, transparent 100%); z-index: 5;
}
.carousel-wrapper {
  display: flex; width: 100%; height: 400px;
  max-width: 1400px; margin: 0 auto; padding: 0 1rem; gap: 12px;
}
.carousel-item {
  flex: 1; overflow: hidden; position: relative;
  border-radius: 12px; cursor: pointer; transition: flex 0.5s ease;
}
.carousel-item:hover { flex: 1.8; }
.carousel-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; filter: brightness(0.85); }
.carousel-item:hover .carousel-img { transform: scale(1.05); filter: brightness(1); }
.carousel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
.carousel-name { font-family: 'Oswald', sans-serif; font-size: 1.6rem; font-weight: 700; color: #FFF; letter-spacing: 0.5px; }
.carousel-badge { font-size: 0.78rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }

/* ==============================
   SECTIONS
   ============================== */
.section { max-width: 1200px; margin: 0 auto; padding: 50px 1.5rem; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; color: var(--dark); margin-bottom: 4px; letter-spacing: 1px; }
.section-title span { color: var(--brand); }
.section-sub { color: var(--muted); margin-bottom: 36px; font-size: 1rem; }

/* ==============================
   CATEGORIES
   ============================== */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-tab {
  padding: 9px 20px; border-radius: 30px; border: 2px solid #E8D5C8;
  background: white; color: var(--muted); font-weight: 700; cursor: pointer;
  font-size: 0.88rem; transition: all 0.2s; font-family: 'Nunito', sans-serif;
  white-space: nowrap;
}
.cat-tab.active, .cat-tab:hover { background: var(--brand); color: white; border-color: var(--brand); }

/* ==============================
   PRODUCT GRID
   ============================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
  background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.25s; border: 1px solid rgba(200,54,10,0.06);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(200,54,10,0.18); }
.product-img {
  width: 100%; height: 175px; object-fit: cover;
  background: linear-gradient(135deg, #2C1200, #8B1F04);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--brand); color: white;
  padding: 4px 10px; border-radius: 6px;
  font-size: 0.73rem; font-weight: 800; z-index: 2;
}
.product-body { padding: 16px; }
.product-name { font-weight: 900; font-size: 1rem; margin-bottom: 5px; }
.product-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; line-height: 1.45; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.product-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--brand); }
.add-btn {
  background: var(--brand); color: white; border: none;
  padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.add-btn:hover { background: var(--brand-light); }

/* ==============================
   CART SIDEBAR
   ============================== */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; right: -100%; top: 0; height: 100%;
  width: 380px; max-width: 100vw; background: white;
  z-index: 201; display: flex; flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  padding: 20px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #F0E8E0; flex-shrink: 0;
}
.cart-header h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--dark); }
.close-cart { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--muted); line-height: 1; padding: 4px; }
.close-cart:hover { color: var(--brand); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.cart-empty-icon { font-size: 3.5rem; margin-bottom: 12px; }
.cart-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #F0E8E0; }
.cart-item-icon { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: #FFF5F0; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.cart-item-icon img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; color: var(--brand); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #E8D5C8; background: white; cursor: pointer; font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; color: var(--brand); transition: all 0.2s; }
.qty-btn:hover { background: var(--brand); color: white; border-color: var(--brand); }
.qty-num { font-weight: 900; font-size: 0.95rem; min-width: 16px; text-align: center; }
.cart-footer { padding: 16px; border-top: 1px solid #F0E8E0; background: var(--smoke); flex-shrink: 0; }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.cart-total-label { color: var(--muted); }
.cart-total-value { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--brand); }
.checkout-btn { width: 100%; background: var(--brand); color: white; border: none; padding: 15px; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 12px; transition: background 0.2s; }
.checkout-btn:hover { background: var(--brand-light); }

/* ==============================
   ADMIN PANEL
   ============================== */
.admin-panel { display: none; }
.admin-panel.visible { display: block; }
.admin-header {
  background: var(--dark); color: white;
  padding: 16px 1.5rem; display: flex; align-items: center;
  gap: 12px; border-bottom: 3px solid var(--gold); flex-wrap: wrap;
}
.admin-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; color: var(--gold); }
.admin-badge { background: var(--brand); color: white; padding: 4px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; }
.btn-save-exit { background: rgba(255,255,255,0.1); border: none; color: white; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-weight: 700; white-space: nowrap; }
.admin-content { max-width: 1200px; margin: 0 auto; padding: 32px 1.5rem; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-card { background: white; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid rgba(200,54,10,0.08); }
.admin-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--smoke); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 700; font-size: 0.82rem; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 13px; border: 2px solid #E8D5C8; border-radius: 8px; font-size: 0.93rem; color: var(--text); background: white; outline: none; font-family: 'Nunito', sans-serif; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--brand); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-block { display: block; }
.btn-save { background: var(--brand); color: white; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer; width: 100%; font-size: 0.93rem; font-family: 'Nunito', sans-serif; transition: background 0.2s; }
.btn-save:hover { background: var(--brand-light); }
.btn-clear-form { width: 100%; margin-top: 8px; background: var(--smoke); border: 1px solid #E8D5C8; color: var(--muted); padding: 10px; border-radius: 8px; cursor: pointer; font-weight: 600; font-family: 'Nunito', sans-serif; }

.admin-products { display: flex; flex-direction: column; gap: 10px; }
.admin-product-item { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; border: 1px solid #F0E8E0; background: var(--smoke); flex-wrap: wrap; }
.admin-product-emoji { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #FFF; font-size: 1.5rem; flex-shrink: 0; }
.admin-product-emoji img { width: 100%; height: 100%; object-fit: cover; }
.admin-product-info { flex: 1; min-width: 80px; }
.admin-product-name { font-weight: 700; font-size: 0.88rem; }
.admin-product-cat { font-size: 0.78rem; color: var(--muted); }
.admin-product-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; color: var(--brand); }
.admin-product-actions { display: flex; gap: 6px; flex-shrink: 0; }
.edit-btn { background: #FFF5F0; border: 1px solid var(--brand); color: var(--brand); padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-weight: 700; }
.del-btn { background: #FFF0F0; border: 1px solid #E24B4A; color: #E24B4A; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; }

/* ==============================
   CHECKOUT MODAL
   ============================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 300; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s; padding: 16px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: white; border-radius: 20px; padding: 28px;
  max-width: 480px; width: 100%;
  transform: scale(0.92); transition: transform 0.2s;
  max-height: 92vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; color: var(--dark); margin-bottom: 18px; }
.modal-success { text-align: center; padding: 20px 0; }
.success-icon { font-size: 4rem; margin-bottom: 16px; }
.btn-back-checkout { flex: 1; background: var(--smoke); border: 1px solid #E8D5C8; padding: 14px; border-radius: 10px; cursor: pointer; font-weight: 700; color: var(--muted); font-family: 'Nunito', sans-serif; }
.btn-primary { background: var(--brand); color: white; border: none; border-radius: 10px; font-weight: 700; font-size: 0.95rem; cursor: pointer; font-family: 'Nunito', sans-serif; transition: background 0.2s; }
.btn-primary:hover { background: var(--brand-light); }

/* ==============================
   FOOTER
   ============================== */
footer {
  background: #0D0500; color: #7A5C45;
  text-align: center; padding: 40px 1.5rem;
  font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.03);
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; color: var(--gold); margin-bottom: 6px; }
.footer-info { margin-bottom: 18px; font-size: 0.85rem; line-height: 2; color: #A07856; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px; display: flex; align-items: center;
  justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 0.82rem;
}
footer strong { color: var(--gold); }
.footer-sep { color: rgba(255,255,255,0.1); }
.admin-trigger { color: rgba(255,255,255,0.07); font-size: 0.75rem; cursor: pointer; }

/* ==============================
   ADMIN LOGIN
   ============================== */
.admin-login { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; }
.admin-login.show { display: flex; }
.login-box { background: var(--dark); border-radius: 20px; padding: 36px; max-width: 360px; width: 100%; border: 2px solid rgba(245,166,35,0.3); }
.login-box h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--gold); margin-bottom: 22px; text-align: center; }
.login-box input { width: 100%; padding: 12px 16px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: white; margin-bottom: 12px; outline: none; font-family: 'Nunito', sans-serif; font-size: 0.95rem; }
.login-box input::placeholder { color: rgba(255,255,255,0.35); }
.login-error { color: #FF5252; font-size: 0.85rem; margin-bottom: 10px; display: none; }
.btn-cancel-admin { width: 100%; margin-top: 10px; background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #D4B8A0; padding: 10px; border-radius: 8px; cursor: pointer; font-weight: 600; font-family: 'Nunito', sans-serif; }

/* ==============================
   TOAST
   ============================== */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--dark); color: white;
  padding: 14px 20px; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(80px); opacity: 0;
  transition: all 0.3s; z-index: 500;
  border-left: 4px solid var(--brand);
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 48px);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ==============================
   TOGGLE
   ============================== */
.toggle-wrap { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.toggle { position: relative; width: 42px; height: 22px; cursor: pointer; }
.toggle input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: #ccc; border-radius: 22px; transition: 0.2s; }
.slider:before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.2s; }
.toggle input:checked + .slider { background: var(--brand); }
.toggle input:checked + .slider:before { transform: translateX(20px); }

/* ==============================
   ADICIONAIS / TAMANHOS MODAL
   ============================== */
.extra-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 12px; background: var(--smoke); margin-bottom: 8px;
  border-radius: 8px; border: 1px solid #E8D5C8; gap: 10px;
}
.extra-item span { flex: 1; font-size: 0.9rem; }
.extra-checkbox { width: 20px; height: 20px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }
.size-selector-wrap { display: flex; flex-direction: column; gap: 8px; }
.size-option {
  padding: 10px 14px; background: var(--smoke);
  border: 2px solid #E8D5C8; border-radius: 8px;
  cursor: pointer; font-weight: 700; transition: all 0.2s;
  display: flex; justify-content: space-between; align-items: center;
}
.size-option.selected { background: var(--brand); color: white; border-color: var(--brand); }
.size-option span { font-size: 0.85rem; font-weight: 400; opacity: 0.8; }

/* ==============================
   PRINT STYLES
   ============================== */
@media print {
  body * { display: none !important; }
  #thermal-receipt, #thermal-receipt * { display: block !important; }
  .print-only {
    display: block !important; position: absolute; left: 0; top: 0;
    width: 80mm; padding: 5mm; font-family: 'Courier New', Courier, monospace;
    color: black; background: white; font-size: 12px; line-height: 1.2;
  }
  .receipt-header { text-align: center; text-transform: uppercase; font-weight: bold; margin-bottom: 10px; }
  .receipt-divider { border-bottom: 1px dashed black; margin: 5px 0; }
  .receipt-item { display: flex; justify-content: space-between; margin: 3px 0; }
  .receipt-extras { font-size: 10px; margin-left: 10px; font-style: italic; }
  .receipt-footer { text-align: center; margin-top: 15px; font-size: 10px; }
}
#thermal-receipt { display: none; }

/* ==============================
   TABLET  (≤ 1024px)
   ============================== */
@media (max-width: 1024px) {
  .admin-grid { grid-template-columns: 1fr; }
  .carousel-wrapper { height: 340px; }
}

/* ==============================
   TABLET/MOBILE  (≤ 768px)
   ============================== */
@media (max-width: 768px) {
  .header-topbar { gap: 10px; padding: 6px 1rem; font-size: 0.72rem; }
  .topbar-dot { display: none; }
  .header-main { height: 68px; padding: 0 1rem; }
  .logo-title { font-size: 1.75rem; }
  .nav-center { display: none; }
  .header-chip { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .cart-btn-label { display: none; }
  .cart-btn { padding: 10px 14px; gap: 6px; }

  .carousel-wrapper { height: 240px; gap: 8px; padding: 0 0.75rem; }
  .carousel-name { font-size: 1.2rem; }
  .hero-carousel { padding: 14px 0 32px 0; }

  .section { padding: 36px 1rem; }
  .section-title { font-size: 2.2rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-img { height: 140px; }
  .product-body { padding: 12px; }
  .product-name { font-size: 0.92rem; }

  .admin-content { padding: 20px 1rem; }
  .form-row { grid-template-columns: 1fr; }

  .cart-sidebar { width: 100%; max-width: 100vw; }

  .modal { padding: 22px 18px; border-radius: 16px; }
  .modal h2 { font-size: 1.5rem; }

  .toast { bottom: 16px; right: 12px; left: 12px; max-width: none; font-size: 0.85rem; }

  .footer-info { font-size: 0.8rem; }
}

/* ==============================
   SMALL MOBILE  (≤ 480px)
   ============================== */
@media (max-width: 480px) {
  .header-topbar { display: none; }
  .header-main { height: 62px; }
  .logo-title { font-size: 1.55rem; }

  .carousel-wrapper { height: 190px; gap: 6px; }
  /* On very small screens show only first banner */
  .carousel-item:nth-child(n+2) { display: none; }
  .carousel-item:first-child { border-radius: 10px; }
  .carousel-name { font-size: 1.1rem; }

  .section-title { font-size: 2rem; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-img { height: 120px; font-size: 2.5rem; }
  .product-body { padding: 10px; }
  .product-name { font-size: 0.85rem; }
  .product-desc { font-size: 0.76rem; margin-bottom: 10px; }
  .product-price { font-size: 1.25rem; }
  .add-btn { font-size: 0.78rem; padding: 7px 12px; }

  .cat-tabs { gap: 6px; }
  .cat-tab { padding: 7px 14px; font-size: 0.82rem; }

  .admin-product-item { flex-wrap: wrap; }
  .admin-product-actions { width: 100%; justify-content: flex-end; }

  .footer-info { font-size: 0.75rem; line-height: 1.8; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .footer-sep { display: none; }

  .checkout-btn { font-size: 0.93rem; }
}
