:root{
  --pink:#ff3b77;
  --dark:#17191e;
  --cream:#fff7fa;
  --muted:#6a6f7b;
  --radius:20px;
  --shadow:0 18px 40px rgba(0,0,0,.08);
  --border:#f1e5ea;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--dark);
  background:linear-gradient(180deg,#fff,var(--cream) 55%,#fff 100%);
}

a{color:inherit}

.wrap{
  max-width:1080px;
  margin:0 auto;
  padding:20px;
}

/* =========================
   HEADER
   ========================= */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 0 12px;
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.brand__img{
  width:420px;
  height:105px;
  object-fit:contain;
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
}

.brand__txt{display:none}

/* Hamburger (oculto no desktop) */
.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  background:none;
  border:1px solid #eee;
  border-radius:12px;
  cursor:pointer;
  padding:10px 12px;
  flex-shrink:0;
}

.hamburger span{
  display:block;
  width:22px;
  height:2px;
  background:var(--dark);
  border-radius:2px;
  transition:transform .22s ease,opacity .22s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(0)}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

nav a{
  padding:10px 14px;
  border-radius:14px;
  border:1px solid #eee;
  background:#fff;
  text-decoration:none;
}

/* =========================
   BOTÕES
   ========================= */
.btn{
  padding:10px 14px;
  border-radius:14px;
  border:1px solid #eee;
  background:#fff;
  text-decoration:none;
  display:inline-flex;
  gap:8px;
  align-items:center;
}

.btn.primary{
  background:var(--pink);
  color:#fff;
  border-color:var(--pink);
}

.btn.disabled{
  opacity:.55;
  pointer-events:none;
}

.admin-btn{border-color:#ffe1ea}

/* =========================
   HERO
   ========================= */
.hero{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:24px;
  align-items:center;
  padding:18px 0 24px;
}

.hero h1{
  font-size:clamp(28px,5vw,44px);
  margin:0;
  letter-spacing:-0.6px;
}

.hero p{
  color:var(--muted);
  line-height:1.7;
  margin:10px 0 0;
}

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

.pills{margin-top:12px}

.pill{
  display:inline-block;
  padding:6px 10px;
  border:1px solid #eee;
  border-radius:999px;
  background:#fff;
  margin:4px 6px 0 0;
  font-size:12px;
}

.card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

.hero-card{padding:14px}

.hero-img{
  width:100%;
  height:360px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid #f3f3f3;
  background:#fafafa;
}

/* =========================
   SEÇÕES / GRID
   ========================= */
section{
  padding:18px 0;
  margin:10px 0;
}

h2{
  font-size:22px;
  margin:0 0 12px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.prod{
  padding:14px;
  border-radius:16px;
  border:1px solid #f2f2f2;
  background:#fff;
  transition:transform .12s ease,box-shadow .12s ease;
}

.prod:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}

.prod img{
  width:100%;
  height:170px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid #f3f3f3;
  background:#fafafa;
}

.prod .name{font-weight:700;margin-top:10px}
.prod .desc{color:var(--muted);line-height:1.55;margin-top:6px;font-size:13px;min-height:40px}
.prod .price{color:#2a7f2a;font-weight:700;margin-top:6px}

.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid #eee;
  background:#fff;
  margin-top:10px;
}

.badge.out{
  border-color:#ffd0de;
  background:#fff0f4;
  color:#c02454;
  font-weight:700;
}

.cat-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
}

.cat-meta{color:var(--muted);font-size:13px}
.cat-section{padding:14px 0}

/* =========================
   ONDE ESTAMOS
   ========================= */
.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.where-card{padding:16px}

.map{
  width:100%;
  height:260px;
  border:0;
  border-radius:16px;
}

/* =========================
   FOOTER
   ========================= */
footer{
  margin:30px 0 10px;
  color:var(--muted);
  font-size:14px;
}

/* =========================
   WHATSAPP FLUTUANTE
   ========================= */
.whatsapp-float{
  position:fixed;
  bottom:24px;
  right:24px;
  width:58px;
  height:58px;
  background:#25d366;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,.35);
  z-index:200;
  transition:transform .2s ease,box-shadow .2s ease;
  text-decoration:none;
}

.whatsapp-float:hover{
  transform:scale(1.1);
  box-shadow:0 6px 28px rgba(37,211,102,.55);
}

.whatsapp-float svg{
  width:32px;
  height:32px;
  fill:#fff;
}

/* =========================
   SKELETON LOADER
   ========================= */
@keyframes shimmer{
  0%  {background-position:-600px 0}
  100%{background-position: 600px 0}
}

.skeleton .skel-img,
.skeleton .skel-line{
  background:linear-gradient(90deg,#f0f0f0 25%,#e8e8e8 50%,#f0f0f0 75%);
  background-size:600px 100%;
  animation:shimmer 1.4s infinite linear;
}

.skeleton .skel-img{
  display:block;
  width:100%;
  height:170px;
  border-radius:12px;
}

.skeleton .skel-line{
  display:block;
  height:14px;
  border-radius:8px;
  margin-top:10px;
}

.skeleton .skel-line--name {width:65%}
.skeleton .skel-line--desc {width:90%;height:12px}
.skeleton .skel-line--price{width:35%}
.skeleton .skel-line--btn {width:85%;height:38px;border-radius:14px;margin-top:12px}

/* =========================
   ANIMAÇÕES DE ENTRADA
   ========================= */
.fade-in{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .5s ease,transform .5s ease;
}

.fade-in.visible{
  opacity:1;
  transform:none;
}

/* =========================
   RESPONSIVO
   ========================= */
@media (max-width:980px){
  .hamburger{display:flex}

  header{
    flex-wrap:wrap;
    gap:12px;
  }

  nav{
    display:none;
    width:100%;
    flex-direction:column;
    justify-content:flex-start;
    gap:6px;
  }

  nav.open{display:flex}

  nav > a{
    width:100%;
    justify-content:flex-start;
  }

  .brand__img{width:320px;height:84px}
}

@media (max-width:900px){
  .hero{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr 1fr}
  .two{grid-template-columns:1fr}
}

@media (max-width:560px){
  .grid{grid-template-columns:1fr}
  .brand__img{width:240px;height:68px}
}
