:root {
  --brown-950: #241008;
  --brown-900: #3b1d10;
  --brown-800: #653018;
  --brown-700: #8a3e1f;
  --brown-100: #f2dcc7;
  --red: #ef3b18;
  --orange: #ff7a1a;
  --orange-2: #ffad4d;
  --gold: #ffd166;
  --cream: #fff4e3;
  --cream-2: #fffaf2;
  --white: #fff;
  --text: #29170f;
  --muted: #806657;
  --green: #25d366;
  --blue: #2563eb;
  --pink: #e11d48;
  --shadow: 0 18px 45px rgba(72, 37, 18, .14);
  --shadow-strong: 0 28px 75px rgba(72, 37, 18, .22);
  --radius: 28px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background: #fff6e8;
  overflow-x: hidden;
  padding-bottom: 96px;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 122, 26, .20), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(239, 59, 24, .13), transparent 30%),
    linear-gradient(180deg, #fffaf2 0%, #ffedda 100%);
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(101, 48, 24, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 70%);
}

.glass {
  background: rgba(255, 250, 242, .78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .72);
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(calc(100% - 24px), 1180px);
  margin: 12px auto 0;
  min-height: 68px;
  border-radius: 999px;
  padding: 9px 10px 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 14px 34px rgba(59, 33, 20, .12);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo, .brand-fallback {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 10px 24px rgba(72, 37, 18, .14);
}
.brand-fallback {
  display: none;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
}
.brand-copy { min-width: 0; }
.brand b {
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
  white-space: nowrap;
}
.desktop-menu { display: none; align-items: center; gap: 6px; }
.desktop-menu a {
  padding: 12px 15px;
  border-radius: 999px;
  color: var(--brown-800);
  font-weight: 900;
  font-size: 14px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.desktop-menu a:hover { background: #fff; transform: translateY(-1px); }
.cart-top-btn, .icon-btn {
  position: relative;
  border: 0;
  border-radius: 999px;
  background: var(--brown-950);
  color: #fff;
  min-width: 50px;
  height: 50px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 14px 26px rgba(41, 16, 8, .22);
  font-weight: 900;
}
.cart-icon { font-size: 20px; }
.cart-label { display: none; }
.badge {
  position: absolute;
  right: -3px;
  top: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}
.hidden { display: none !important; }

.hero { padding: 34px 16px 16px; }
.hero-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-content { padding-top: 18px; }
.hot-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(239, 59, 24, .28);
}
.hot-pill i { animation: firePulse 1.35s ease-in-out infinite; }
@keyframes firePulse { 50% { transform: scale(1.18); filter: drop-shadow(0 0 8px rgba(255,255,255,.9)); } }
.hero h1 {
  font-family: "Baloo 2", cursive;
  font-size: clamp(44px, 9vw, 88px);
  line-height: .88;
  letter-spacing: -.055em;
  color: var(--brown-950);
  margin: 18px 0 14px;
  max-width: 860px;
}
.hero-text {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 650px;
  margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  min-height: 54px;
  border: 0;
  border-radius: 19px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 950;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active, .filter:active, .mini-btn:active, .icon-btn:active, .cart-top-btn:active { transform: scale(.96); }
.primary {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  box-shadow: 0 18px 32px rgba(239, 59, 24, .28);
}
.soft {
  background: #fff;
  color: var(--brown-900);
  box-shadow: 0 12px 28px rgba(59, 33, 20, .10);
}
.whatsapp-btn { background: linear-gradient(135deg, #18b957, var(--green)); color: #fff; box-shadow: 0 18px 32px rgba(37, 211, 102, .25); }
.full { width: 100%; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
  max-width: 640px;
}
.hero-stats article {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 22px;
  padding: 14px 12px;
  box-shadow: 0 10px 28px rgba(72, 37, 18, .08);
}
.hero-stats strong { display: block; color: var(--brown-950); font-size: 19px; letter-spacing: -.04em; }
.hero-stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 800; }

.hero-visual { position: relative; display: grid; gap: 16px; }
.oven-card {
  position: relative;
  min-height: 320px;
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,.65), transparent 27%),
    linear-gradient(145deg, #7b3418, #2d1309 70%);
  box-shadow: var(--shadow-strong);
  display: grid;
  place-items: center;
}
.oven-card::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.13);
}
.bread-illustration {
  width: 220px;
  height: 138px;
  border-radius: 105px 105px 42px 42px;
  background: linear-gradient(160deg, #ffc36f, #d86b24 65%, #9f4218);
  box-shadow: inset 0 -18px 28px rgba(81,32,11,.20), 0 24px 45px rgba(0,0,0,.24);
  position: relative;
  transform: rotate(-3deg);
}
.bread-illustration span {
  position: absolute;
  top: 34px;
  width: 36px;
  height: 66px;
  border-radius: 50%;
  border-left: 6px solid rgba(255,255,255,.38);
  transform: rotate(28deg);
}
.bread-illustration span:nth-child(1) { left: 44px; }
.bread-illustration span:nth-child(2) { left: 91px; }
.bread-illustration span:nth-child(3) { left: 138px; }
.steam {
  position: absolute;
  width: 18px;
  height: 80px;
  border-radius: 999px;
  border-left: 4px solid rgba(255,255,255,.45);
  filter: blur(.2px);
  animation: steam 2.4s ease-in-out infinite;
}
.steam-one { left: 34%; top: 42px; }
.steam-two { left: 48%; top: 30px; animation-delay: .45s; }
.steam-three { left: 62%; top: 48px; animation-delay: .8s; }
@keyframes steam { 50% { transform: translateY(-12px) scale(1.08); opacity: .55; } }
.oven-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  color: #fff;
}
.oven-info span { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.oven-info b { font-family: "Baloo 2", cursive; font-size: 25px; line-height: .95; text-align: right; }
.deal-card {
  border-radius: 30px;
  background: linear-gradient(135deg, #fff, #ffe1bd);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.75);
}
.deal-card span, .eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.deal-card h2 { font-family: "Baloo 2", cursive; margin: 7px 0 6px; font-size: 34px; line-height: .92; color: var(--brown-950); }
.deal-card p { margin: 0 0 14px; color: var(--muted); line-height: 1.45; font-size: 14px; }
.mini-btn { border: 0; border-radius: 16px; background: var(--brown-950); color: #fff; padding: 13px 16px; font-weight: 950; }

.quick-info {
  width: min(calc(100% - 32px), 1180px);
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quick-info article {
  background: #fff;
  border-radius: 24px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(59, 33, 20, .09);
  border: 1px solid rgba(255,255,255,.8);
}
.quick-info i { font-size: 25px; }
.quick-info .whatsapp { color: var(--green); }
.quick-info .clock { color: var(--blue); }
.quick-info .check { color: var(--pink); }
.quick-info span { display: block; margin-top: 8px; font-size: 12px; font-weight: 900; color: var(--brown-900); }

.section { width: min(100%, 1180px); margin: 0 auto; padding: 48px 16px; }
.section-head { text-align: center; margin-bottom: 20px; }
.section-head h2 { font-family: "Baloo 2", cursive; color: var(--brown-950); font-size: clamp(34px, 5vw, 52px); line-height: .9; margin: 8px 0; letter-spacing: -.04em; }
.section-head p { margin: 0 auto; max-width: 560px; color: var(--muted); line-height: 1.55; }
.left { text-align: left; }
.left p { margin-left: 0; }
.compact { margin-bottom: 14px; }
.filter-wrap { position: sticky; top: 92px; z-index: 25; margin-bottom: 18px; }
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  border-radius: 23px;
  scrollbar-width: none;
  box-shadow: 0 12px 30px rgba(59, 33, 20, .08);
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter {
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  padding: 12px 15px;
  font-weight: 950;
  white-space: nowrap;
}
.filter.active { background: var(--brown-950); color: #fff; }
.hot-filter.active, .hot-filter { color: var(--red); }
.hot-filter.active { background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; }
.products { display: grid; gap: 14px; }
.produto {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.75);
  transition: transform .2s ease, box-shadow .2s ease;
}
.produto:hover { transform: translateY(-3px); box-shadow: 0 24px 55px rgba(72,37,18,.18); }
.produto::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -44px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: rgba(255, 122, 26, .13);
}
.product-art {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff0d8, #ffd49c);
  box-shadow: inset 0 -10px 20px rgba(95, 50, 29, .08);
  color: var(--brown-900);
  font-size: 31px;
  z-index: 1;
}
.product-info { position: relative; z-index: 1; }
.product-info h3 { margin: 0; font-size: 18px; line-height: 1.12; color: var(--brown-950); }
.product-info p { margin: 6px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.preco { font-size: 22px; font-weight: 950; color: var(--brown-950); letter-spacing: -.04em; }
.promo-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 6px 9px; border-radius: 999px; background: #fff0e9; color: var(--red); font-size: 11px; font-weight: 950; }
.controles { display: flex; align-items: center; gap: 9px; background: #fff3e6; border-radius: 17px; padding: 5px; }
.controles button { width: 34px; height: 34px; border: 0; border-radius: 13px; background: #fff; color: var(--brown-900); font-size: 20px; font-weight: 950; box-shadow: 0 6px 14px rgba(59, 33, 20, .09); }
.controles span { min-width: 18px; text-align: center; font-weight: 950; }
.add-btn { border: 0; border-radius: 16px; background: var(--brown-950); color: #fff; font-weight: 950; padding: 12px 13px; display: inline-flex; gap: 7px; align-items: center; }

.split-section { display: grid; gap: 20px; }
.steps { display: grid; gap: 12px; }
.steps article { background: #fff; border-radius: 26px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.steps b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; }
.steps span { font-weight: 950; color: var(--brown-950); font-size: 18px; }
.steps small { color: var(--muted); line-height: 1.4; }
.swiper { padding: 4px 0 34px; }
.review { height: auto !important; background: #fff; border-radius: 26px; padding: 20px; box-shadow: var(--shadow); }
.review b { color: var(--brown-950); font-size: 18px; }
.review p { color: var(--muted); line-height: 1.45; }
.review span { color: var(--orange); letter-spacing: 2px; }
.swiper-pagination-bullet-active { background: var(--orange) !important; }
.checkout-grid { display: grid; gap: 18px; }
.checkout-card, .summary-card { border-radius: 30px; padding: 20px; box-shadow: var(--shadow); }
.summary-card { background: linear-gradient(135deg, #fff, #ffe8c9); align-self: start; }
.summary-card h3 { font-family: "Baloo 2", cursive; font-size: 32px; line-height: .95; margin: 8px 0; color: var(--brown-950); }
.summary-card p { color: var(--muted); line-height: 1.5; }
.formulario { display: grid; gap: 13px; }
.formulario label { display: grid; gap: 7px; color: var(--brown-900); font-weight: 900; font-size: 13px; }
.formulario input, .formulario textarea { width: 100%; border: 1px solid rgba(125,70,40,.13); border-radius: 18px; background: #fff; padding: 15px 14px; outline: 0; color: var(--text); }
.formulario textarea { min-height: 112px; resize: vertical; }
.formulario input:focus, .formulario textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,26,.12); }
.formulario small { text-align: center; color: var(--muted); }

.fab-cart {
  position: fixed;
  left: 50%;
  bottom: calc(76px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 40;
  width: min(calc(100% - 28px), 492px);
  border: 0;
  border-radius: 24px;
  padding: 11px 15px;
  background: linear-gradient(135deg, var(--brown-950), var(--brown-800));
  color: #fff;
  box-shadow: 0 18px 35px rgba(41,21,12,.34);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.fab-cart i { width: 44px; height: 44px; border-radius: 16px; background: rgba(255,255,255,.13); display: grid; place-items: center; font-size: 21px; }
.fab-cart b { display: block; font-size: 17px; }
.fab-cart small { display: block; color: rgba(255,255,255,.72); font-size: 12px; margin-top: 1px; }
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 35;
  width: min(100%, 520px);
  height: 66px;
  padding: 7px 10px calc(7px + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 30px rgba(59,33,20,.10);
}
.bottom-nav a, .bottom-nav button { border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.bottom-nav i { font-size: 21px; color: var(--brown-800); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(20,9,3,.44); z-index: 60; }
.cart-drawer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 105%);
  z-index: 70;
  width: min(100%, 520px);
  max-height: 84vh;
  background: #fffaf3;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -24px 60px rgba(41,21,12,.30);
  padding: 10px 16px calc(18px + var(--safe-bottom));
  transition: transform .26s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translate(-50%, 0); }
.drawer-handle { width: 54px; height: 5px; border-radius: 999px; background: #dec3aa; margin: 0 auto 12px; }
.cart-drawer header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-drawer h3 { font-family: "Baloo 2", cursive; font-size: 31px; margin: 4px 0 0; color: var(--brown-950); }
.cart-body { overflow: auto; padding: 8px 0; display: grid; gap: 10px; }
.empty-cart { text-align: center; color: var(--muted); background: #fff; border-radius: 24px; padding: 24px; line-height: 1.5; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; background: #fff; border-radius: 20px; padding: 13px; box-shadow: 0 8px 20px rgba(59,33,20,.06); }
.cart-row b { display: block; color: var(--brown-950); font-size: 14px; }
.cart-row small { color: var(--muted); }
.cart-row-actions { display: grid; justify-items: end; gap: 8px; }
.remove-btn { border: 0; background: #fff0ed; color: var(--red); font-weight: 950; border-radius: 999px; padding: 8px 10px; font-size: 12px; }
.cart-total { background: linear-gradient(135deg, #fff1dc, #fff); border-radius: 22px; padding: 14px; display: grid; gap: 8px; }
.total-line { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; }
.total-line strong { font-size: 24px; color: var(--brown-950); }
.discount { color: #12984e !important; font-weight: 950; }
.cart-actions { display: grid; gap: 10px; margin-top: 12px; }
.toast-notice { position: fixed; left: 50%; top: 88px; transform: translateX(-50%); z-index: 99; background: var(--brown-950); color: #fff; border-radius: 999px; padding: 11px 15px; font-weight: 950; box-shadow: 0 12px 28px rgba(41,21,12,.25); font-size: 13px; animation: toastIn .28s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .desktop-menu { display: flex; }
  .cart-label { display: inline; }
  .hero { padding: 58px 24px 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 44px; }
  .quick-info { margin-top: 28px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .split-section { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .bottom-nav, .fab-cart { display: none; }
  .cart-drawer { left: auto; right: 24px; bottom: 24px; transform: translateX(125%); border-radius: 32px; width: 420px; max-height: calc(100vh - 48px); padding-bottom: 18px; }
  .cart-drawer.open { transform: translateX(0); }
  .drawer-handle { display: none; }
}

@media (min-width: 1080px) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .produto { grid-template-columns: 1fr; align-items: stretch; }
  .product-art { width: 82px; height: 82px; }
  .product-meta { align-items: flex-start; flex-direction: column; }
  .add-btn, .controles { width: 100%; justify-content: center; }
}

@media (max-width: 430px) {
  .brand b { font-size: 18px; }
  .brand small { font-size: 10px; }
  .hero-stats { grid-template-columns: 1fr; }
  .quick-info { grid-template-columns: 1fr; }
  .cart-top-btn { padding: 0; width: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
