/* =========================================================
   PetAmor · Banho e Tosa — folha de estilo do site público
   Mobile-first. As cores vêm do painel (/admin) via CSS vars.
   ========================================================= */

:root {
  --primary: #074BA8;
  --primary-dark: #07347C;
  --teal: #18B8B1;
  --yellow: #FFC934;
  --light-bg: #EAF8FC;
  --white: #FFFFFF;

  --ink: #0B2B57;
  --ink-soft: #4A6B96;
  --line: #DDEAF6;
  --danger: #D64545;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 8px rgba(7, 52, 124, .07);
  --shadow: 0 10px 28px rgba(7, 52, 124, .10);
  --shadow-lg: 0 22px 60px rgba(7, 52, 124, .18);

  --wrap: 1200px;
  --header-h: 64px;
  --tabbar-h: 66px;

  --font-display: 'Baloo 2', 'Nunito', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* O atributo hidden sempre vence os display das classes. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--light-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
[data-icon] svg { width: 1.15em; height: 1.15em; }

/* ------------------------------ Botões ------------------------------ */

.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800; font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); filter: saturate(1.05); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { --btn-bg: var(--primary); }
.btn-teal { --btn-bg: var(--teal); }
.btn-yellow { --btn-bg: var(--yellow); --btn-fg: var(--primary-dark); }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--primary);
  box-shadow: inset 0 0 0 2px rgba(7, 75, 168, .22);
}
.btn-ico { font-size: 1.15em; display: inline-flex; }
.btn-outline {
  --btn-bg: #fff; --btn-fg: var(--primary);
  box-shadow: inset 0 0 0 2px var(--line);
}

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(7, 75, 168, .07); color: var(--primary-dark);
  font-size: 17px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.icon-btn:hover { background: rgba(7, 75, 168, .14); }

/* ------------------------------ Header ------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(7, 52, 124, .18);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { height: 42px; width: auto; }

.main-nav { display: none; }
.main-nav a {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 13.5px; font-weight: 700; padding: 6px 12px; border-radius: 12px;
  color: rgba(255, 255, 255, .92);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-ico { font-size: 17px; opacity: .95; }

.cart-btn {
  margin-left: auto;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--yellow); color: var(--primary-dark);
  border: 0; border-radius: 16px; padding: 8px 14px;
  font-weight: 800; cursor: pointer; line-height: 1.15;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .16);
  transition: transform .15s ease;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn-label { font-size: 13px; }
.cart-btn-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.cart-sep { opacity: .45; }

/* -------------------------------- Hero ------------------------------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, #F4FBFE 0%, var(--light-bg) 62%, var(--light-bg) 100%);
  padding: 26px 0 0;
  overflow: hidden;
}
.hero-inner { display: grid; gap: 6px; }
.hero-copy { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; background: var(--yellow); color: var(--primary-dark);
  font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(34px, 9vw, 58px);
  color: var(--primary-dark);
  line-height: 1.02;
  max-width: 12ch;
}
.hero p {
  font-size: clamp(16px, 4.2vw, 20px);
  color: var(--ink-soft);
  font-weight: 600;
  margin: 16px 0 24px;
  max-width: 32ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13.5px; font-weight: 700; color: var(--primary-dark);
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust span { color: var(--teal); }

.hero-art { position: relative; margin: 10px -4px 0; }
.hero-art img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-wave {
  height: 34px;
  background: var(--white);
  border-radius: 34px 34px 0 0;
  margin-top: -18px;
  position: relative; z-index: 1;
}

/* ------------------------------ Seções ------------------------------ */

.section { padding: 30px 0 34px; background: var(--white); }
.section-treats { background: var(--light-bg); }
.section-benefits { background: linear-gradient(180deg, #DFF3F7 0%, #D7EEF3 100%); padding: 30px 0; }
.section-map { background: var(--white); }

.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: clamp(23px, 6vw, 34px);
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.title-paw { color: var(--teal); font-size: .9em; }
.section-sub { color: var(--ink-soft); font-weight: 600; margin: 6px 0 18px; }

/* -------------------------------- Tabs ------------------------------ */

.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: #EDF4FB; border-radius: 999px; padding: 6px;
  margin: 18px 0 22px;
}
.tab {
  border: 0; background: transparent; border-radius: 999px;
  padding: 12px 10px; font-weight: 800; font-size: 14.5px;
  color: var(--ink-soft); cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.tab.is-active { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }

/* ---------------------------- Cards de serviço ---------------------- */

.cards-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(7, 75, 168, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* min-height:0 + overflow: sem isso o tamanho intrínseco da foto estica o
   flex item e o aspect-ratio é ignorado */
.card-media {
  position: relative; aspect-ratio: 4 / 3; background: var(--light-bg);
  min-height: 0; overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--yellow); color: var(--primary-dark);
  font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 21px; color: var(--primary); margin-bottom: 6px; }
.card-desc { font-size: 14px; color: var(--ink-soft); font-weight: 600; line-height: 1.4; flex: 1; }
.card-price { margin: 14px 0 14px; }
.card-price small { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 700; }
.card-price strong { font-family: var(--font-display); font-size: 27px; color: var(--primary-dark); }

/* ---------------------------- Nota / faixa -------------------------- */

.services-note {
  margin: 22px auto 0; max-width: 720px;
  background: #EEF6FF; border: 1.5px dashed rgba(7, 75, 168, .25);
  border-radius: 999px; padding: 12px 20px;
  text-align: center; font-weight: 700; font-size: 14px; color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.services-note [data-icon] { color: var(--teal); }
.heart { color: #FF8FB1; }

/* ------------------------------- Mimos ------------------------------ */

.treats-rail {
  display: grid; gap: 14px;
  grid-auto-flow: column; grid-auto-columns: 46%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  margin: 0 -18px; padding-left: 18px; padding-right: 18px;
  scrollbar-width: thin;
}
.treat {
  scroll-snap-align: start;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(7, 75, 168, .06);
}
.treat-media { aspect-ratio: 1 / 1; background: var(--light-bg); min-height: 0; overflow: hidden; }
.treat-media img { width: 100%; height: 100%; object-fit: cover; }
.treat-body { padding: 12px; text-align: center; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.treat-body h4 { font-size: 15px; color: var(--primary-dark); }
.treat-price { font-weight: 800; color: var(--teal); font-size: 14px; }
.treat .btn { padding: 9px 14px; font-size: 13.5px; margin-top: auto; }

/* ----------------------------- Benefícios --------------------------- */

.benefits { display: grid; gap: 18px; grid-template-columns: 1fr; }
.benefit { display: flex; gap: 13px; align-items: flex-start; }
.benefit-ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px;
  background: rgba(24, 184, 177, .18); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.benefit h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 3px; }
.benefit p { margin: 0; font-size: 14px; color: #35618B; font-weight: 600; line-height: 1.4; }

/* -------------------------- Sobre + PWA card ------------------------ */

.about-grid { display: grid; gap: 20px; }
.card-soft {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 24px;
  border: 1px solid rgba(7, 75, 168, .06);
}
.about-copy h2 { font-size: clamp(23px, 6vw, 32px); color: var(--primary-dark); margin-bottom: 12px; }
.about-copy p { color: var(--ink-soft); font-weight: 600; line-height: 1.6; margin: 0 0 16px; }
.about-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.about-list li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 14.5px; }
.about-list li span { color: var(--teal); }

.pwa-card {
  background: linear-gradient(165deg, #FFF6DE 0%, #FFE9AE 100%);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid rgba(240, 174, 0, .28);
}
.pwa-card h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 8px; }
.pwa-card p { font-size: 14px; font-weight: 700; color: #7A5B12; margin: 0 0 16px; line-height: 1.45; }
.pwa-phone {
  width: 132px; margin: 0 auto 16px; padding: 10px 8px 16px;
  background: #0E1C33; border-radius: 24px; box-shadow: var(--shadow);
}
.pwa-screen {
  background: #fff; border-radius: 16px; padding: 18px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.pwa-screen img { width: 62px; height: 62px; }
.pwa-screen strong { font-family: var(--font-display); font-size: 14px; color: var(--primary); }
.pwa-hint { font-size: 12.5px; color: #7A5B12; margin: 10px 0 0; }

/* ---------------------------- Como chegar --------------------------- */

.map-grid { display: grid; gap: 20px; }
.map-info h2 { font-size: clamp(23px, 6vw, 32px); color: var(--primary-dark); margin-bottom: 16px; }
.info-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list li > span {
  width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto;
  background: rgba(7, 75, 168, .08); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.info-list strong { display: block; font-size: 15px; color: var(--primary-dark); }
.info-list span:last-child { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }

.map-visual {
  position: relative; min-height: 220px; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(24, 184, 177, .28), transparent 60%),
    repeating-linear-gradient(90deg, #E7F3FB 0 38px, #DCEBF7 38px 40px),
    repeating-linear-gradient(0deg, #E7F3FB 0 38px, #DCEBF7 38px 40px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  box-shadow: var(--shadow); border: 1px solid rgba(7, 75, 168, .08);
}
.map-pin { font-size: 40px; color: var(--primary); }
.map-label { font-weight: 800; color: var(--primary-dark); font-size: 15px; }

/* ------------------------------- Rodapé ----------------------------- */

.site-footer { background: var(--primary-dark); color: rgba(255, 255, 255, .9); padding: 34px 0 0; }
.footer-inner { display: grid; gap: 24px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { font-weight: 700; font-size: 14px; opacity: .8; margin: 12px 0 0; max-width: 34ch; }
.footer-cols { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.footer-cols li { display: flex; gap: 12px; align-items: flex-start; }
.footer-cols li > span:first-child {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center;
}
.footer-cols strong { display: block; font-size: 14.5px; color: #fff; }
.footer-cols span:last-child { font-size: 13px; opacity: .75; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  transition: background .15s ease, transform .15s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.footer-bottom {
  margin-top: 26px; padding: 16px 18px calc(16px + var(--tabbar-h));
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center; font-size: 12.5px; opacity: .7;
}

/* --------------------------- Barra inferior ------------------------- */

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 -6px 24px rgba(7, 52, 124, .10);
}
.tabbar-item {
  border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-soft); font-weight: 700; position: relative;
}
.tabbar-item span[data-icon] { font-size: 21px; }
.tabbar-item small { font-size: 11px; }
.tabbar-item.is-active { color: var(--primary); }
.tabbar-badge {
  position: absolute; top: 6px; right: 50%; transform: translateX(22px);
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--yellow); color: var(--primary-dark);
  border-radius: 999px; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ------------------------- Overlays / sheets ------------------------ */

.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(7, 34, 74, .5);
  backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(6%); opacity: .6; } to { transform: translateY(0); opacity: 1; } }

.sheet {
  background: var(--white);
  width: 100%; max-width: 520px;
  max-height: 92vh;
  border-radius: 26px 26px 0 0;
  display: flex; flex-direction: column;
  animation: slideUp .22s cubic-bezier(.22, .9, .3, 1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.sheet-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--line);
}
.sheet-head h3 { font-size: 19px; color: var(--primary-dark); flex: 1; }
.head-actions { display: flex; gap: 8px; }
.sheet-body { padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }
.sheet-foot {
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}
.sheet-foot-total { display: grid; gap: 10px; }

/* Conteúdo do modal de serviço */
.svc-intro { margin-bottom: 16px; }
.svc-intro p { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.svc-intro strong { color: var(--primary-dark); }
.field-label { font-weight: 800; font-size: 14px; color: var(--primary-dark); margin: 18px 0 8px; display: block; }

.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size-opt {
  border: 2px solid var(--line); background: #fff; border-radius: var(--radius);
  padding: 12px 6px; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: all .16s ease;
}
.size-opt .size-ico { font-size: 22px; color: var(--primary); }
.size-opt[data-size="small"] .size-ico { font-size: 18px; }
.size-opt[data-size="large"] .size-ico { font-size: 27px; }
.size-opt b { font-size: 14px; color: var(--primary-dark); }
.size-opt small { font-size: 11px; color: var(--ink-soft); font-weight: 700; }
.size-opt .size-price { font-size: 14px; font-weight: 800; color: var(--primary); margin-top: 3px; }
.size-opt.is-active {
  border-color: var(--teal); background: rgba(24, 184, 177, .12);
  box-shadow: 0 6px 18px rgba(24, 184, 177, .22);
}
.size-opt.is-active .size-ico, .size-opt.is-active .size-price { color: var(--teal); }

.stepper {
  display: inline-flex; align-items: center; gap: 4px;
  border: 2px solid var(--line); border-radius: 999px; padding: 4px;
}
.stepper button {
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: #EEF4FB; color: var(--primary); font-size: 19px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.stepper button:hover { background: #E0EBF7; }
.stepper span { min-width: 34px; text-align: center; font-weight: 800; }

textarea, input[type="text"], input[type="tel"], input[type="date"], select {
  width: 100%; border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--ink); background: #fff; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea:focus, input:focus, select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24, 184, 177, .14);
}
textarea { min-height: 74px; resize: vertical; }
::placeholder { color: #9BB3CC; font-weight: 600; }

.addon-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.addon-chip {
  border: 2px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  padding: 10px 6px; text-align: center; cursor: pointer; position: relative;
  display: flex; flex-direction: column; gap: 2px; transition: all .16s ease;
}
.addon-chip b { font-size: 12.5px; color: var(--primary-dark); line-height: 1.2; }
.addon-chip small { font-size: 11.5px; font-weight: 800; color: var(--teal); }
.addon-chip.is-active { border-color: var(--teal); background: rgba(24, 184, 177, .1); }
.addon-chip .tick {
  position: absolute; top: -8px; right: -6px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 12px;
  display: none; align-items: center; justify-content: center;
}
.addon-chip.is-active .tick { display: flex; }

/* Carrinho */
.cart-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px; background: #fff;
}
.cart-item-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cart-item-head h4 { font-size: 16px; color: var(--primary-dark); }
.cart-item-head .price { font-weight: 800; color: var(--primary); white-space: nowrap; }
.cart-item-meta { font-size: 12.5px; color: var(--ink-soft); font-weight: 700; margin: 3px 0 0; }
.cart-item-addons { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.cart-item-addons li { font-size: 12.5px; color: var(--teal); font-weight: 700; }
.cart-item-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; }
.link-danger { background: none; border: 0; color: var(--danger); font-weight: 800; font-size: 13px; cursor: pointer; }

.empty-state { text-align: center; padding: 30px 10px; }
.empty-state span { font-size: 46px; color: var(--teal); display: block; margin-bottom: 12px; }
.empty-state p { color: var(--ink-soft); font-weight: 700; margin: 0 0 18px; }

.totals { display: grid; gap: 7px; margin: 6px 0 4px; }
.totals div { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.totals .discount { color: var(--teal); }
.totals .grand { font-size: 19px; color: var(--primary-dark); font-family: var(--font-display); }
.totals .grand span:last-child { font-weight: 800; }

/* Checkout */
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -2px; }
.day-chip {
  flex: 0 0 auto; border: 2px solid var(--line); background: #fff;
  border-radius: var(--radius-sm); padding: 9px 13px; cursor: pointer; text-align: center;
  transition: all .16s ease; min-width: 62px;
}
.day-chip b { display: block; font-size: 13.5px; color: var(--primary-dark); text-transform: capitalize; }
.day-chip small { font-size: 11.5px; color: var(--ink-soft); font-weight: 700; }
.day-chip.is-active { border-color: var(--teal); background: var(--teal); }
.day-chip.is-active b, .day-chip.is-active small { color: #fff; }

.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-slot {
  border: 2px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  padding: 10px 4px; font-weight: 800; font-size: 13.5px; color: var(--primary-dark); cursor: pointer;
  transition: all .16s ease;
}
.time-slot.is-active { border-color: var(--teal); background: var(--teal); color: #fff; }
.time-slot:disabled { opacity: .38; cursor: not-allowed; }

.switch-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 2px solid var(--line); border-radius: var(--radius); padding: 13px 14px; margin-top: 8px;
}
.switch-row div strong { display: block; font-size: 14.5px; color: var(--primary-dark); }
.switch-row div small { font-size: 12.5px; color: var(--ink-soft); font-weight: 700; }
.switch { position: relative; width: 50px; height: 29px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; position: relative; z-index: 2; }
.switch .track {
  position: absolute; inset: 0; background: #CFDCEA; border-radius: 999px; transition: background .18s ease;
}
.switch .track::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px;
  background: #fff; border-radius: 50%; transition: transform .18s ease; box-shadow: var(--shadow-sm);
}
.switch input:checked ~ .track { background: var(--teal); }
.switch input:checked ~ .track::after { transform: translateX(21px); }

.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; text-transform: uppercase; }
.coupon-row .btn { flex: 0 0 auto; padding: 12px 18px; }
.coupon-msg { font-size: 12.5px; font-weight: 800; margin: 8px 0 0; }
.coupon-msg.ok { color: var(--teal); }
.coupon-msg.err { color: var(--danger); }

.field-error { border-color: var(--danger) !important; }
.form-grid { display: grid; gap: 12px; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px); transform: translateX(-50%);
  z-index: 200; background: var(--primary-dark); color: #fff;
  padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-lg); animation: slideUp .2s ease;
  max-width: calc(100% - 36px); text-align: center;
}
/* Com uma folha aberta, o aviso sobe para não cobrir o total. */
body.no-scroll .toast { bottom: auto; top: calc(14px + env(safe-area-inset-top)); }

/* ------------------------------ Desktop ----------------------------- */

@media (min-width: 720px) {
  .wrap { padding: 0 26px; }
  .section { padding: 46px 0 52px; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .about-grid { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .map-grid { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .footer-inner { grid-template-columns: 1.2fr 1.6fr auto; align-items: start; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .treats-rail { grid-auto-columns: 30%; }
  .tabs { max-width: 560px; }
  .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; padding-bottom: 10px; }
  .hero { padding-top: 34px; }
  .hero-art { margin: 0; }
  .sheet {
    border-radius: var(--radius-lg);
    max-height: 88vh;
    animation: slideUp .2s cubic-bezier(.22, .9, .3, 1);
  }
  .overlay { align-items: center; padding: 20px; }
  .toast { bottom: 26px; }
}

@media (min-width: 960px) {
  :root { --header-h: 78px; --tabbar-h: 0px; }
  .main-nav { display: flex; align-items: center; gap: 4px; margin-left: 20px; }
  .brand-logo { height: 54px; }
  .tabbar { display: none; }
  .footer-bottom { padding-bottom: 16px; }
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .treats-rail {
    grid-auto-flow: row; grid-template-columns: repeat(5, 1fr);
    overflow: visible; margin: 0; padding: 4px 0 0;
  }
  .section-title { margin-bottom: 4px; }
  .hero h1 { font-size: 60px; }
  .hero-inner { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
