/* ============================================================
   style.css — Paulim Frutas
   Design responsivo moderno com suporte a imagens reais
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --verde:    #4CAF50;
  --verde-dk: #388E3C;
  --verde-lt: #C8E6C9;
  --laranja:  #FF9800;
  --laranja-dk:#F57C00;
  --bg:       #f5f7f5;
  --card:     #ffffff;
  --txt:      #2d3748;
  --txt-lt:   #718096;
  --borda:    #e2e8f0;
  --sombra:   0 2px 12px rgba(0,0,0,.08);
  --sombra-hv:0 6px 24px rgba(0,0,0,.14);
  --radius:   12px;
  --font: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--verde); text-decoration: none; }
a:hover { color: var(--verde-dk); }

img { display: block; max-width: 100%; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--verde); border-radius: 3px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  background: #fff;
  border-bottom: 2px solid var(--verde-lt);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(76,175,80,.12);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--verde-dk);
  white-space: nowrap;
}
.logo span { color: var(--laranja); }

.nav { display: flex; gap: .25rem; align-items: center; }
.nav a {
  padding: .4rem .75rem;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--txt);
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a.ativo { background: var(--verde-lt); color: var(--verde-dk); }

.btn-carrinho {
  position: relative;
  background: var(--verde);
  color: #fff !important;
  padding: .5rem 1rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: background .2s, transform .1s !important;
}
.btn-carrinho:hover { background: var(--verde-dk) !important; transform: scale(1.04); }

.cart-badge, .badge-carrinho {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--laranja);
  color: #fff;
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  border: none;
  background: transparent;
}
.hamburger span {
  width: 25px; height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section    { padding: 2.5rem 0; }
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--verde-lt), transparent);
  margin-left: .5rem;
}

/* ============================================================
   BANNER / HERO
   ============================================================ */
.banner-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  max-height: 460px;
}

.banner-slides { display: flex; transition: transform .6s ease; }

.banner-slide {
  min-width: 100%;
  position: relative;
  height: 460px;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
}
.banner-overlay h2 { font-size: 2.2rem; color: #fff; font-weight: 800; line-height: 1.2; }
.banner-overlay p  { font-size: 1.1rem; color: rgba(255,255,255,.9); margin: .75rem 0 1.5rem; }

.banner-nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
}
.banner-dot {
  width: 10px; height: 10px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: background .3s, transform .3s;
}
.banner-dot.ativo { background: #fff; transform: scale(1.3); }

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.25);
  border: none;
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.banner-arrow:hover { background: rgba(255,255,255,.45); }
.banner-arrow.prev { left: 1rem; }
.banner-arrow.next { right: 1rem; }

/* ============================================================
   CATEGORIAS
   ============================================================ */
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.categoria-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--sombra);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: 2px solid transparent;
  text-decoration: none;
  color: var(--txt);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.categoria-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hv);
  border-color: var(--verde-lt);
  color: var(--verde-dk);
}
.categoria-card .cat-emoji { font-size: 2.5rem; }
.categoria-card .cat-nome  { font-weight: 600; font-size: .95rem; }
.categoria-card .cat-desc  { font-size: .8rem; color: var(--txt-lt); }

/* ============================================================
   CARDS DE PRODUTO
   ============================================================ */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.produto-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hv);
}

.produto-card-img {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #f0f4f0;
}
.produto-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.produto-card:hover .produto-card-img img { transform: scale(1.06); }

.produto-card-emoji-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, #e8f5e9, #fff8e1);
}

.badge-categoria {
  position: absolute;
  top: .6rem; left: .6rem;
  background: var(--verde);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge-categoria.mix    { background: var(--laranja); }
.badge-categoria.pote   { background: #e91e8c; }

.produto-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .35rem;
}
.produto-card-nome  { font-weight: 700; font-size: 1rem; color: var(--txt); }
.produto-card-peso  { font-size: .82rem; color: var(--txt-lt); }
.produto-card-preco { font-size: 1.25rem; font-weight: 800; color: var(--verde-dk); margin-top: auto; }
.produto-card-preco .de { font-size: .85rem; color: var(--txt-lt); font-weight: 400; text-decoration: line-through; }

.produto-card-footer { padding: 0 1rem 1rem; }

.btn-add-carrinho {
  width: 100%;
  background: var(--verde);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .65rem 1rem;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.btn-add-carrinho:hover  { background: var(--verde-dk); transform: scale(1.02); }
.btn-add-carrinho:active { transform: scale(.98); }

/* Variação tag */
.variacao-tag {
  font-size: .78rem;
  background: var(--verde-lt);
  color: var(--verde-dk);
  padding: .15rem .5rem;
  border-radius: 6px;
  font-weight: 600;
}

/* ============================================================
   FILTROS (Produtos)
   ============================================================ */
.filtros-wrap {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}

.filtro-btn {
  padding: .45rem 1rem;
  border-radius: 20px;
  border: 2px solid var(--borda);
  background: #fff;
  color: var(--txt);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.filtro-btn:hover  { border-color: var(--verde); color: var(--verde-dk); }
.filtro-btn.ativo  { background: var(--verde); border-color: var(--verde); color: #fff; }

.busca-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--borda);
  border-radius: 20px;
  padding: .35rem .85rem;
  gap: .5rem;
  flex: 1;
  max-width: 280px;
  transition: border-color .2s;
}
.busca-wrap:focus-within { border-color: var(--verde); }
.busca-wrap input {
  border: none;
  outline: none;
  font-size: .875rem;
  flex: 1;
  background: transparent;
  color: var(--txt);
}

/* ============================================================
   PÁGINA DE PRODUTO (detalhe)
   ============================================================ */
.produto-detalhe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.produto-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: #f0f4f0;
  position: relative;
  box-shadow: var(--sombra);
}
.produto-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.produto-img-emoji-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  background: linear-gradient(135deg, #e8f5e9, #fff8e1);
}

.produto-info { display: flex; flex-direction: column; gap: 1rem; }
.produto-info-nome { font-size: 2rem; font-weight: 800; color: var(--txt); }
.produto-info-desc { color: var(--txt-lt); font-size: 1rem; line-height: 1.7; }

.produto-preco-display {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--verde-dk);
}

/* Variações */
.variacoes-titulo { font-weight: 700; font-size: .95rem; color: var(--txt); margin-bottom: .5rem; }
.variacoes-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.variacao-btn {
  padding: .65rem 1.25rem;
  border: 2px solid var(--borda);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  min-width: 90px;
}
.variacao-btn .v-tamanho { font-weight: 700; font-size: 1rem; display: block; }
.variacao-btn .v-preco   { font-size: .82rem; color: var(--verde-dk); font-weight: 600; }
.variacao-btn:hover    { border-color: var(--verde); }
.variacao-btn.selecionado {
  background: var(--verde);
  border-color: var(--verde);
  color: #fff;
}
.variacao-btn.selecionado .v-preco { color: rgba(255,255,255,.9); }

/* Mix checkboxes */
.mix-instrucao { font-size: .9rem; color: var(--txt-lt); margin-bottom: .75rem; }
.mix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.mix-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border: 2px solid var(--borda);
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  font-size: .875rem;
}
.mix-item input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--verde); }
.mix-item:has(input:checked) { background: var(--verde-lt); border-color: var(--verde); }
.mix-contador { font-weight: 700; color: var(--verde-dk); font-size: .9rem; }

/* Quantidade */
.qtd-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.qtd-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--verde);
  background: #fff;
  color: var(--verde-dk);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.qtd-btn:hover { background: var(--verde); color: #fff; }
.qtd-num { font-size: 1.2rem; font-weight: 700; min-width: 30px; text-align: center; }

/* ============================================================
   CARRINHO
   ============================================================ */
.carrinho-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.carrinho-vazio { text-align: center; padding: 4rem 2rem; }
.carrinho-vazio .emoji { font-size: 5rem; }
.carrinho-vazio h3 { font-size: 1.4rem; margin: 1rem 0 .5rem; }
.carrinho-vazio p  { color: var(--txt-lt); margin-bottom: 1.5rem; }

.carrinho-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--sombra);
  margin-bottom: .75rem;
}
.carrinho-item-img {
  width: 80px; height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f4f0;
  flex-shrink: 0;
}
.carrinho-item-img img { width: 100%; height: 100%; object-fit: cover; }
.carrinho-item-emoji-fallback {
  width: 80px; height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f5e9, #fff8e1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}

.carrinho-item-info { flex: 1; min-width: 0; }
.carrinho-item-nome { font-weight: 700; font-size: .95rem; }
.carrinho-item-var  { font-size: .82rem; color: var(--txt-lt); }
.carrinho-item-preco-unit { font-size: .82rem; color: var(--txt-lt); }

.carrinho-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.carrinho-item-total { font-weight: 800; font-size: 1.1rem; color: var(--verde-dk); }
.btn-remover {
  background: transparent;
  border: none;
  color: #e53e3e;
  cursor: pointer;
  font-size: .85rem;
  padding: .25rem .5rem;
  border-radius: 6px;
  transition: background .2s;
}
.btn-remover:hover { background: #fed7d7; }

.resumo-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--sombra);
  position: sticky;
  top: 80px;
}
.resumo-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.resumo-linha   {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid var(--borda);
  font-size: .9rem;
}
.resumo-linha:last-of-type { border: none; }
.resumo-total {
  display: flex;
  justify-content: space-between;
  padding: .75rem 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--verde-dk);
  border-top: 2px solid var(--verde-lt);
  margin-top: .5rem;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }

.checkout-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--sombra);
  margin-bottom: 1.25rem;
}
.checkout-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--verde-lt);
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; color: var(--txt); margin-bottom: .35rem; }
.form-control {
  width: 100%;
  padding: .65rem .875rem;
  border: 2px solid var(--borda);
  border-radius: 8px;
  font-size: .9rem;
  font-family: var(--font);
  color: var(--txt);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(76,175,80,.15);
}

.cep-wrap { display: flex; gap: .5rem; }
.cep-wrap .form-control { flex: 1; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-full  { grid-column: 1 / -1; }

/* Pagamento */
.pagamento-opcoes { display: flex; flex-direction: column; gap: .75rem; }
.pagamento-op {
  border: 2px solid var(--borda);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all .2s;
}
.pagamento-op:has(input:checked) { border-color: var(--verde); background: var(--verde-lt); }
.pagamento-op-header { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.pagamento-op-header input { width: 18px; height: 18px; accent-color: var(--verde); }
.pagamento-op-body { margin-top: .75rem; display: none; }
.pagamento-op:has(input:checked) .pagamento-op-body { display: block; }
.troco-display { font-weight: 700; color: var(--verde-dk); font-size: 1rem; margin-top: .5rem; }

/* Frete info */
.frete-info {
  padding: .75rem 1rem;
  background: var(--verde-lt);
  border-radius: 8px;
  font-size: .875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.frete-gratis { color: var(--verde-dk); font-weight: 700; }

/* ============================================================
   BOTÕES GENÉRICOS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary { background: var(--verde); color: #fff; }
.btn-primary:hover { background: var(--verde-dk); transform: translateY(-1px); }
.btn-secondary { background: var(--laranja); color: #fff; }
.btn-secondary:hover { background: var(--laranja-dk); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--verde);
  color: var(--verde-dk);
}
.btn-outline:hover { background: var(--verde-lt); }
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1ea952; transform: translateY(-1px); }

/* ============================================================
   FLOATING BUTTONS — grupo inferior direito
   Ordem (de baixo para cima): Topo → WhatsApp → Carrinho
   ============================================================ */

/* Wrapper agrupa os 3 botões numa coluna */
.float-group {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  z-index: 999;
}

/* Botão WhatsApp flutuante */
.btn-whatsapp-float {
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.btn-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  color: #fff;
}

/* Botão Carrinho flutuante */
.btn-carrinho-float {
  position: relative;
  width: 56px; height: 56px;
  background: var(--laranja);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(255,152,0,.45);
  text-decoration: none;
  font-size: 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.btn-carrinho-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255,152,0,.55);
}
.btn-carrinho-float .badge-float {
  position: absolute;
  top: -4px; right: -4px;
  background: #e53e3e;
  color: #fff;
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: .68rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* Botão Topo */
.btn-topo-float {
  width: 44px; height: 44px;
  background: #fff;
  color: var(--verde-dk);
  border-radius: 50%;
  border: 2px solid var(--verde-lt);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--sombra);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .2s;
  display: flex; align-items: center; justify-content: center;
}
.btn-topo-float:hover { transform: scale(1.1); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 280px;
  max-width: 420px;
  z-index: 2000;
  opacity: 0;
  transition: all .3s;
  border-left: 4px solid var(--verde);
}
.toast.toast-erro   { border-left-color: #e53e3e; }
.toast.toast-aviso  { border-left-color: var(--laranja); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.toast-icon { font-size: 1.5rem; flex-shrink: 0; }
.toast-content { flex: 1; min-width: 0; }
.toast-title   { font-weight: 700; font-size: .95rem; }
.toast-message { font-size: .82rem; color: var(--txt-lt); }
.toast-close   {
  background: none; border: none; color: var(--txt-lt);
  font-size: 1.2rem; cursor: pointer; padding: 0 .25rem;
  line-height: 1;
}

/* ============================================================
   SOBRE + CONTATO
   ============================================================ */
.sobre-hero {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dk) 100%);
  color: #fff;
  padding: 3.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 2.5rem;
}
.sobre-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: .75rem; }
.sobre-hero p  { font-size: 1.05rem; opacity: .92; max-width: 600px; margin: 0 auto; }

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.mvv-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--sombra);
  text-align: center;
}
.mvv-card .mvv-icon { font-size: 3rem; margin-bottom: 1rem; }
.mvv-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--verde-dk); margin-bottom: .5rem; }
.mvv-card p  { font-size: .9rem; color: var(--txt-lt); line-height: 1.7; }

.horarios-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--sombra);
}
.horario-linha {
  display: flex;
  justify-content: space-between;
  padding: .65rem 0;
  border-bottom: 1px solid var(--borda);
  font-size: .9rem;
}
.horario-linha:last-child { border: none; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; background: #f0f2f5; }

.admin-sidebar {
  width: 260px;
  background: #1a202c;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  overflow-y: auto;
  z-index: 100;
  transition: transform .3s;
}

.admin-logo {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.admin-nav { flex: 1; padding: 1rem 0; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
  border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.ativo {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-left-color: var(--verde);
}
.admin-nav-icon { font-size: 1.1rem; width: 24px; text-align: center; flex-shrink: 0; }

.admin-main {
  margin-left: 260px;
  flex: 1;
  padding: 2rem;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  margin-bottom: 2rem;
}
.admin-topbar h2 { font-size: 1.3rem; font-weight: 700; }

.admin-panel { display: none; }
.admin-panel.ativo { display: block; }

/* KPI Cards */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.kpi-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--sombra);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.kpi-icon { font-size: 2.5rem; }
.kpi-info span { font-size: .82rem; color: var(--txt-lt); display: block; }
.kpi-info strong { font-size: 1.5rem; font-weight: 800; color: var(--txt); }

/* Tabelas admin */
.admin-table-wrap {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  overflow: auto;
}
.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--borda);
  flex-wrap: wrap;
  gap: .75rem;
}
.admin-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.admin-table th {
  background: #f8fafc;
  padding: .85rem 1rem;
  text-align: left;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--txt-lt);
  border-bottom: 2px solid var(--borda);
}
.admin-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--borda);
  font-size: .875rem;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8fafc; }

/* Status pedido */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .65rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
}
.status-novo       { background: #ebf8ff; color: #2b6cb0; }
.status-preparando { background: #fffbeb; color: #b7791f; }
.status-saiu       { background: #faf5ff; color: #6b46c1; }
.status-entregue   { background: #f0fff4; color: #276749; }

/* Estoque status */
.estoque-critico { color: #e53e3e; font-weight: 700; }
.estoque-baixo   { color: #dd6b20; font-weight: 700; }
.estoque-normal  { color: #38a169; font-weight: 700; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.aberto { opacity: 1; pointer-events: auto; }

.modal-box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  transform: scale(.95);
  transition: transform .3s;
}
.modal-overlay.aberto .modal-box { transform: scale(1); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--borda);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  background: none; border: none; font-size: 1.5rem; color: var(--txt-lt);
  cursor: pointer; line-height: 1; padding: .25rem;
  transition: color .2s;
}
.modal-close:hover { color: var(--txt); }
.modal-body   { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--borda);
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
}

/* Abas modal */
.modal-tabs {
  display: flex;
  border-bottom: 2px solid var(--borda);
  margin-bottom: 1.5rem;
  gap: .5rem;
}
.modal-tab {
  padding: .6rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--txt-lt);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.modal-tab.ativo { color: var(--verde-dk); border-bottom-color: var(--verde); }
.modal-tab-content { display: none; }
.modal-tab-content.ativo { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1a202c;
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer a  { color: rgba(255,255,255,.65); font-size: .875rem; display: block; margin-bottom: .5rem; }
.footer a:hover { color: var(--verde); }
.footer p  { font-size: .875rem; line-height: 1.7; }
.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.hidden  { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* ============================================================
   GRÁFICO SIMPLES (admin dashboard)
   ============================================================ */
.grafico-barras {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  height: 140px;
  padding: .5rem;
  background: #f8fafc;
  border-radius: 10px;
}
.grafico-barra-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.grafico-barra {
  width: 100%;
  background: var(--verde);
  border-radius: 4px 4px 0 0;
  transition: height .5s;
  min-height: 4px;
}
.grafico-label { font-size: .7rem; color: var(--txt-lt); text-align: center; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
  .produto-detalhe { grid-template-columns: 1fr; }
  .checkout-grid   { grid-template-columns: 1fr; }
  .carrinho-wrap   { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .admin-main      { padding: 1.25rem; }
}

@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 1rem; border-bottom: 1px solid var(--borda); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .nav.open { display: flex; }
  .nav a { padding: .75rem 1rem; border-radius: 8px; width: 100%; }
  .hamburger { display: flex; }
  .header-inner { position: relative; }

  .banner-slide { height: 300px; }
  .banner-overlay h2 { font-size: 1.4rem; }
  .banner-overlay p  { display: none; }

  .produtos-grid    { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .categorias-grid  { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid         { grid-template-columns: 1fr; }
  .form-grid        { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }

  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }

  .carrinho-item { grid-template-columns: 64px 1fr; }
  .carrinho-item-controls { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}

@media (max-width: 480px) {
  .produtos-grid { grid-template-columns: 1fr; }
  .produto-card-img { height: 200px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .banner-slide { height: 240px; }
  .banner-overlay { padding: 1.25rem; }
}
