:root {
  --amarelo: #fcb900;
  --amarelo-escuro: #e0a500;
  --preto: #111111;
  --branco: #ffffff;
  --cinza-claro: #f5f5f5;
  --cinza-medio: #e0e0e0;
  --cinza-texto: #555;
  --sombra: rgba(0,0,0,0.12);
}

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

body {
  font-family: 'Montserrat Alternates', sans-serif;
  background: var(--cinza-claro);
  color: var(--preto);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
  background: var(--preto);
  padding: 12px 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-wrap {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: none;
}

.logo-fallback {
  display: none;
  width: 60px;
  height: 60px;
  background: var(--amarelo);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--preto);
  letter-spacing: 1px;
}

.header-info { flex: 1; }

.header-info h1 {
  font-weight: 900;
  font-size: 17px;
  color: var(--branco);
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.header-info p {
  font-size: 10px;
  color: var(--amarelo);
  font-weight: 700;
  margin-top: 3px;
  font-style: italic;
}

/* ===== BUSCA ===== */
.search-wrap { padding: 0 0 10px; }

.search-wrap input {
  width: 100%;
  background: #222;
  border: 2px solid #333;
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--branco);
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s;
}

.search-wrap input::placeholder { color: #666; }
.search-wrap input:focus { border-color: var(--amarelo); }

/* ===== NAV CATEGORIAS ===== */
.nav-cats {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.nav-cats::-webkit-scrollbar { display: none; }

.cat-btn {
  white-space: nowrap;
  background: #222;
  color: #888;
  border: none;
  border-radius: 20px;
  padding: 6px 13px;
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cat-btn.active,
.cat-btn:hover {
  background: var(--amarelo);
  color: var(--preto);
}

/* ===== HERO ===== */
.hero {
  background: var(--amarelo);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 130px; height: 130px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -25px; right: 55px;
  width: 70px; height: 70px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
}

.hero-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero-text { position: relative; z-index: 1; }

.hero-text h2 {
  font-weight: 900;
  font-size: 22px;
  color: var(--preto);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}

.hero-text .slogan {
  font-size: 12px;
  color: #333;
  font-weight: 700;
  margin-top: 5px;
  font-style: italic;
  line-height: 1.3;
}

/* ===== BANDEIRINHAS ===== */
.bandeirinha {
  /* display: flex; */
  display: none;  
  gap: 0;
  overflow: hidden;
  background: var(--preto);
  padding: 5px 0 1px;
}

.bandeirinha span {
  width: 16px;
  height: 11px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  flex-shrink: 0;
}

/* ===== CONTEÚDO ===== */
.content { padding: 16px; }

.section { margin-bottom: 28px; }

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--preto);
}

.section-icon { font-size: 18px; }

.section-title {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-badge {
  margin-left: auto;
  background: var(--amarelo);
  color: var(--preto);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* ===== CARD ===== */
.cake-card {
  background: var(--branco);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 8px var(--sombra);
  transition: transform 0.15s;
  position: relative;
  overflow: hidden;
}

.cake-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--cinza-medio);
  border-radius: 4px 0 0 4px;
}

.cake-card:active { transform: scale(0.98); }
.cake-card.destaque::before { background: var(--amarelo); }
.cake-card.especial::before { background: #e74c3c; }

/* ===== FOTO ===== */
.cake-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: var(--cinza-claro);
  border: 2px solid var(--cinza-medio);
  flex-shrink: 0;
  overflow: hidden;
}

.cake-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  gap: 4px;
}

.img-placeholder svg {
  width: 26px;
  height: 26px;
  opacity: 0.25;
}

.img-placeholder span {
  font-size: 8px;
  color: #bbb;
  font-weight: 700;
  text-align: center;
  padding: 0 4px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cake-info { flex: 1; min-width: 0; }

.cake-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--preto);
  line-height: 1.2;
  margin-bottom: 5px;
}

.cake-desc {
  font-size: 11px;
  color: var(--cinza-texto);
  margin-bottom: 6px;
  line-height: 1.4;
  font-weight: 500;
}

/* ===== BADGES ===== */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 7px;
}

.badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-mini      { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }
.badge-zero      { background: #d4edda; color: #155724; border: 1px solid #28a745; }
.badge-arretado  { background: #f8d7da; color: #721c24; border: 1px solid #dc3545; }
.badge-piscina   { background: #cce5ff; color: #004085; border: 1px solid #0d6efd; }
.badge-cobertura { background: #e2d9f3; color: #4a235a; border: 1px solid #6f42c1; }
.badge-hit       { background: var(--preto); color: var(--amarelo); }

/* ===== PREÇOS ===== */
.prices {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.price-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  padding: 4px 10px;
  min-width: 62px;
}

.price-pill.pill-inteiro { background: var(--preto); border: 1.5px solid var(--preto); }
.price-pill.pill-inteiro .pill-label { color: var(--amarelo); }
.price-pill.pill-inteiro .pill-value { color: var(--branco); }

.price-pill.pill-metade { background: var(--branco); border: 1.5px solid var(--preto); }
.price-pill.pill-metade .pill-label { color: #777; }
.price-pill.pill-metade .pill-value { color: var(--preto); }

.price-pill.pill-unico { background: var(--amarelo); border: 1.5px solid var(--amarelo-escuro); }
.price-pill.pill-unico .pill-label { color: #555; }
.price-pill.pill-unico .pill-value { color: var(--preto); }

.pill-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.pill-value {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #aaa;
}
.empty-state .emoji { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; font-weight: 700; }

/* ===== FOOTER ===== */
.footer {
  background: var(--preto);
  text-align: center;
  padding: 24px 16px 20px;
  margin-top: 8px;
}

.footer-logo {
  width: 96px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-slogan {
  color: var(--amarelo);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 10px;
}

.footer-site a {
  color: #666;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}

.footer-dev {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #1e1e1e;
  font-size: 10px;
  color: #3a3a3a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-dev a {
  color: var(--amarelo);
  text-decoration: none;
  font-weight: 800;
}

/* ===== UTIL ===== */
.hidden { display: none !important; }
