/* ===== BATATÃO GOIANO — ESTILOS GLOBAIS ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Fredoka+One&display=swap');

:root {
  --caramel: #C8832A;
  --caramel-dark: #9B6118;
  --caramel-light: #F0B860;
  --orange: #E8621A;
  --orange-light: #FF8C42;
  --cream: #FFF8EE;
  --brown: #4A2C0A;
  --brown-light: #7A4F1D;
  --green: #2D8A4E;
  --green-light: #3DAB63;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray: #888888;
  --text: #2A1A08;
  --shadow: 0 4px 20px rgba(74,44,10,0.15);
  --shadow-hover: 0 8px 30px rgba(74,44,10,0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

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

html { overflow-x: hidden; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);

}

h1, h2, h3 { font-family: 'Fredoka One', cursive; }

a { text-decoration: none; color: inherit; }

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  transition: var(--transition);
}
.btn-primary {
  background: var(--orange);
  color: white;
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  background: var(--caramel-light);
  color: var(--brown);
}
.btn-secondary:hover {
  background: var(--caramel);
  color: white;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: white;
}
.btn-green {
  background: var(--green);
  color: white;
}
.btn-green:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45,138,78,0.35);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,248,238,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--caramel-light);
  box-shadow: 0 2px 20px rgba(74,44,10,0.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-wrap img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--caramel);
}
.logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--caramel-dark);
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--orange);
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav.main-nav a {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  color: var(--brown);
  transition: var(--transition);
}
nav.main-nav a:hover { background: var(--caramel-light); }
.header-actions { display: flex; gap: 10px; align-items: center; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #FFF3DC 0%, #FFE8C0 40%, #F5D090 100%);
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,131,42,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--caramel-light);
  color: var(--brown);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 17px;
  color: var(--brown-light);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px dashed var(--caramel-light);
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Fredoka One', cursive;
  font-size: 28px;
  color: var(--orange);
}
.stat-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-logo-big {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid var(--caramel);
  box-shadow: 0 20px 60px rgba(200,131,42,0.4);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* ===== SEÇÕES ===== */
/* Sem max-width global — cada section define seu próprio layout via inline style */
/* Video embed */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  background: #000;
  aspect-ratio: 16/9;
}
.video-wrap iframe,
.video-wrap video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  position: absolute;
  top: 0; left: 0;
}
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--brown);
  margin-bottom: 12px;
}
.section-title span { color: var(--orange); }
.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 48px;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--orange);
  border-radius: 4px;
  margin: 0 auto 16px;
}

/* ===== CARDÁPIO GRID ===== */
.menu-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--caramel-light);
  background: white;
  color: var(--brown);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--caramel);
  color: white;
  border-color: var(--caramel);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-card.unavailable { opacity: 0.6; }
.product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, #F5D090, #E8A840);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
}
.product-badge.unavailable-badge {
  background: var(--gray);
}
.product-info { padding: 16px; }
.product-name {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 6px;
}
.product-desc {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.5;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--orange);
}
.product-price span {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: var(--gray);
  font-weight: 600;
}
.add-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-weight: bold;
}
.add-btn:hover { background: var(--orange-light); transform: scale(1.1); }

/* ===== AVALIAÇÕES ===== */
.reviews-section { background: var(--gray-light); border-radius: var(--radius); padding: 60px 40px; }
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.rating-big {
  font-family: 'Fredoka One', cursive;
  font-size: 72px;
  color: var(--orange);
  line-height: 1;
}
.rating-stars { font-size: 28px; margin-bottom: 4px; }
.rating-count { color: var(--gray); font-weight: 700; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--caramel-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--brown);
  font-size: 16px;
  flex-shrink: 0;
}
.review-name { font-weight: 800; font-size: 15px; color: var(--text); }
.review-date { font-size: 12px; color: var(--gray); }
.review-stars { font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--brown-light); line-height: 1.6; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }
.whatsapp-label {
  position: absolute;
  right: 70px;
  background: var(--brown);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-label { opacity: 1; }

/* ===== CARRINHO ===== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 40px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-header {
  padding: 20px 24px;
  background: var(--caramel-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 { font-family: 'Fredoka One', cursive; font-size: 22px; }
.cart-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #eee;
  margin-bottom: 10px;
}
.cart-item-emoji { font-size: 32px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 800; font-size: 14px; color: var(--text); }
.cart-item-price { font-weight: 700; color: var(--orange); }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--caramel-light);
  background: white;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--brown);
  transition: var(--transition);
}
.qty-btn:hover { background: var(--caramel-light); }
.qty-num { font-weight: 800; min-width: 20px; text-align: center; }
.cart-footer {
  padding: 20px 24px;
  border-top: 2px dashed var(--caramel-light);
  background: var(--cream);
}
.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 8px;
}
.cart-total-line.total {
  font-size: 18px;
  color: var(--brown);
  font-weight: 800;
  padding-top: 10px;
  border-top: 2px solid var(--caramel-light);
  margin-bottom: 16px;
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;
}
.cart-overlay.open { display: block; }
.cart-btn-wrap {
  position: relative;
  cursor: pointer;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--orange);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MODAL PEDIDO ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: white;
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal h2 { font-family: 'Fredoka One', cursive; font-size: 26px; color: var(--brown); margin-bottom: 20px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
}

/* ===== STEP PEDIDO ===== */
.steps {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}
.step-item {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  border-bottom: 3px solid #eee;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  transition: var(--transition);
}
.step-item.active {
  border-color: var(--orange);
  color: var(--orange);
}
.step-item.done {
  border-color: var(--green);
  color: var(--green);
}
.step-content { display: none; }
.step-content.active { display: block; }
.step-title { font-family: 'Fredoka One', cursive; font-size: 20px; color: var(--brown); margin-bottom: 16px; }
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.option-card {
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.option-card:hover, .option-card.selected {
  border-color: var(--orange);
  background: rgba(232,98,26,0.05);
}
.option-card.selected { background: rgba(232,98,26,0.1); }
.option-icon { font-size: 28px; margin-bottom: 6px; }
.option-name { font-weight: 800; font-size: 13px; color: var(--brown); }
.option-price { font-size: 12px; color: var(--orange); font-weight: 700; }
.step-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brown);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 14px;
  z-index: 9998;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== FOOTER ===== */
footer {
  background: var(--brown);
  color: white;
  padding: 50px 24px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--caramel);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-title {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: var(--caramel-light);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--caramel-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== ADMIN ===== */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background: var(--brown);
  color: white;
  padding: 0;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}
.admin-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--caramel);
}
.admin-logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  color: var(--caramel-light);
}
.admin-nav { padding: 16px 0; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(255,255,255,0.1);
  color: white;
  border-left-color: var(--caramel-light);
}
.admin-nav-item .icon { font-size: 20px; }
.admin-content {
  margin-left: 260px;
  flex: 1;
  background: var(--gray-light);
  min-height: 100vh;
}
.admin-topbar {
  background: white;
  padding: 16px 32px;
  border-bottom: 2px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-topbar h2 { font-family: 'Fredoka One', cursive; font-size: 22px; color: var(--brown); }
.admin-main { padding: 32px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.stat-card.green { border-color: var(--green); }
.stat-card.caramel { border-color: var(--caramel); }
.stat-value {
  font-family: 'Fredoka One', cursive;
  font-size: 36px;
  color: var(--orange);
}
.stat-card.green .stat-value { color: var(--green); }
.stat-card.caramel .stat-value { color: var(--caramel); }
.stat-label-admin { font-size: 13px; color: var(--gray); font-weight: 700; margin-top: 4px; }
.order-list { display: flex; flex-direction: column; gap: 14px; }
.order-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.order-num {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--orange);
  min-width: 70px;
}
.order-info { flex: 1; min-width: 200px; }
.order-client { font-weight: 800; font-size: 15px; color: var(--text); }
.order-items { font-size: 13px; color: var(--gray); margin-top: 2px; }
.order-status {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-new { background: #FFF3DC; color: var(--orange); }
.status-prep { background: #E3F2FD; color: #1976D2; }
.status-delivery { background: #E8F5E9; color: var(--green); }
.status-done { background: #F5F5F5; color: var(--gray); }
.order-value {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--brown);
  text-align: right;
}
.order-time { font-size: 12px; color: var(--gray); font-weight: 600; }
.order-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #eee;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.icon-btn:hover { background: var(--caramel-light); border-color: var(--caramel); }
.admin-section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--brown);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 28px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .toggle-slider { background-color: var(--green); }
input:checked + .toggle-slider:before { transform: translateX(24px); }
.recheio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.recheio-card {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
}
.recheio-icon { font-size: 36px; }
.recheio-info { flex: 1; }
.recheio-name { font-weight: 800; font-size: 15px; color: var(--text); }
.recheio-price { font-size: 13px; color: var(--orange); font-weight: 700; }
.table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th { background: var(--brown); color: white; padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 700; }
.table td { padding: 14px 16px; border-bottom: 1px solid #eee; font-size: 14px; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--cream); }
.form-row { margin-bottom: 16px; }
.form-label { display: block; font-weight: 700; font-size: 13px; color: var(--brown); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: var(--transition);
  background: white;
}
.form-input:focus { outline: none; border-color: var(--caramel); }

/* ===== LOGIN ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brown) 0%, var(--caramel-dark) 100%);
  padding: 20px;
}
.login-card {
  background: white;
  border-radius: var(--radius);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
}
.login-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--caramel);
  margin-bottom: 24px;
}
.login-card h2 {
  font-size: 28px;
  color: var(--brown);
  margin-bottom: 8px;
}
.login-card p { color: var(--gray); font-size: 14px; margin-bottom: 32px; }

/* ===== RESPONSIVO — Mobile First ===== */

/* Base mobile: todos os phones */
@media (max-width: 768px) {
  /* Reset global para evitar overflow lateral */
  html, body {
  
    width: 100%;
    max-width: 100vw;
  }

  /* Header */
  .header-inner {
    padding: 10px 16px;
    gap: 10px;
  }
  .logo-text { font-size: 17px; }
  .logo-wrap img { width: 44px; height: 44px; }
  nav.main-nav { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 8px 12px; font-size: 13px; }

  /* Hero */
  .hero { padding-top: 75px; min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    padding: 32px 16px 48px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-img-wrap { order: -1; }
  .hero-logo-big { width: 180px; height: 180px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    font-size: 15px;
    padding: 13px 20px;
  }
  .hero-stats {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-badge { font-size: 12px; }

  /* Seções — só as que têm padding inline (não full-width) */
  #cardapio, #avaliacoes, #video-section {
    padding: 48px 16px !important;
  }
  #nossas-batatas > div, #sobre > div {
    padding: 48px 16px !important;
  }
  .section-title { font-size: 26px; }

  /* Cardápio */
  .menu-filters {
    gap: 8px;
    padding: 0 0 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .menu-filters::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-img { height: 130px; }
  .product-name { font-size: 15px; }
  .product-price { font-size: 18px; }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .rating-big { font-size: 56px; }

  /* Tamanhos (seção escura) */
  /* Nossas Batatas — mobile */
  #nossas-batatas { padding: 60px 0 !important; }
  #tamanhosGrid { gap: 16px !important; padding: 0 16px; }
  #tamanhosGrid > div { min-width: 140px !important; max-width: calc(50% - 8px) !important; padding: 20px 12px 18px !important; flex: 1 !important; }
  #tamanhosGrid img { width: 90px !important; height: 90px !important; }
  #tamanhosGrid > div > div[style*="140px"] { width: 90px !important; height: 90px !important; font-size: 40px !important; }

  .tamanhos-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  /* Sobre section */
  .sobre-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .sobre-img {
    width: 200px !important;
    height: 200px !important;
  }

  /* Cart */
  .cart-sidebar { width: 100%; right: -100%; }
  .cart-header { padding: 16px 20px; }

  /* Modal pedido */
  .modal { padding: 20px 16px; margin: 0; border-radius: 16px; }
  .modal h2 { font-size: 22px; }
  .steps { gap: 0; overflow-x: auto; }
  .step-item { font-size: 10px; padding: 6px 2px; white-space: nowrap; }
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .option-card { padding: 10px 8px; }
  .option-icon { font-size: 24px; }
  .option-name { font-size: 12px; }

  /* Admin */
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 200;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .admin-main { padding: 16px; }
  .admin-topbar { padding: 12px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .order-card { flex-wrap: wrap; gap: 12px; }
  .recheio-grid { grid-template-columns: 1fr; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 20px; right: 16px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* Samsung S21 e phones 360-412px */
@media (max-width: 412px) {
  .header-inner { padding: 8px 12px; }
  .logo-text { font-size: 15px; }
  .hero-inner { padding: 24px 12px 40px; }
  .hero-logo-big { width: 160px; height: 160px; }
  .hero h1 { font-size: 26px; }
  .hero-stats { gap: 12px; }
  .stat-num { font-size: 22px; }

  #cardapio, #avaliacoes, #video-section { padding: 40px 12px !important; }
  #nossas-batatas > div, #sobre > div { padding: 40px 12px !important; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-img { height: 110px; font-size: 40px; }
  .product-info { padding: 10px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 16px; }
  .add-btn { width: 30px; height: 30px; font-size: 18px; }

  .login-card { padding: 32px 20px; }
  .modal-overlay { padding: 12px; }
  .option-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .step-nav { gap: 8px; }
  .step-nav .btn { padding: 10px 14px; font-size: 13px; }
}

/* Telas muito pequenas */
@media (max-width: 360px) {
  .hero-logo-big { width: 140px; height: 140px; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { font-size: 14px; padding: 12px 16px; }
}

/* ===== LOJA FECHADA BANNER ===== */
#lojaFechadaBanner { font-family: 'Fredoka One', cursive; }

/* ===== STEP ITEMS SEM NÚMERO ===== */
.step-item { font-size: 12px; font-weight: 700; padding: 8px 6px; text-align: center; color: var(--gray); border-bottom: 2px solid transparent; transition: all 0.2s; white-space: nowrap; }
.step-item.active { color: var(--orange); border-bottom-color: var(--orange); }
.step-item.done { color: var(--green); border-bottom-color: var(--green); }

/* ===== TOUCH TARGETS — mínimo 48x48px para mobile ===== */
.btn {
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.add-btn, .qty-btn, .filter-btn, .icon-btn, .modal-close, .cart-close {
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}
/* Garantir que nada sobreponha botões */
.option-card {
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.option-card button {
  position: relative;
  z-index: 2;
}
/* Step nav */
.step-nav .btn {
  min-height: 52px;
  font-size: 15px;
}
/* Carrinho botões */
.cart-footer .btn {
  min-height: 52px;
}

/* ===== CORREÇÕES DE TOUCH / CLIQUE — mobile ===== */

/* WhatsApp float: oculto por padrão quando fluxo de compra ativo */
.whatsapp-float.hidden { display: none !important; }

/* Garantir que botões nunca fiquem bloqueados */
.btn, button, [onclick] {
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}

/* Área de toque mínima 48px */
.btn, .add-btn, .qty-btn, .filter-btn, .modal-close, .cart-close, .icon-btn {
  min-height: 48px;
  min-width: 44px;
}

/* Botões de step nav maiores no mobile */
.step-nav .btn { min-height: 52px; font-size: 15px; }

/* Carrinho footer buttons */
.cart-footer .btn { min-height: 52px; }

/* Option cards — garantir clique */
.option-card {
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.option-card > button {
  position: relative;
  z-index: 2;
}

/* Formulários mobile */
.form-input {
  min-height: 48px;
  font-size: 16px !important; /* evita zoom no iOS */
  touch-action: manipulation;
}

/* Modais: garantir que overlay não bloqueie quando fechado */
.modal-overlay:not(.open) {
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Admin avals grid cards — garantir clique */
#avalsGrid > div {
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}
