/* ============================== botões ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s, box-shadow 0.18s, opacity 0.18s;
  user-select: none;
}
.btn:active {
  transform: scale(0.97);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--brand) 80%, transparent);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--brand) 88%, #000);
}
.btn-ghost {
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-wa {
  background: var(--wa);
  color: var(--wa-ink);
}
.btn-wa:hover {
  background: color-mix(in srgb, var(--wa) 86%, #000);
}
.btn-block {
  width: 100%;
  white-space: normal;
  text-align: center;
}
.sheet__foot > * {
  min-width: 0;
}
.note--s {
  font-size: 12px;
  line-height: 1.4;
}
.btn-sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 14px;
}
.link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  transition: background-color 0.18s, transform 0.18s var(--ease);
}
.icon-btn:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.icon-btn:active {
  transform: scale(0.92);
}
.icon-btn .i {
  width: 24px;
  height: 24px;
}
.badge-n {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--brand-ink);
  font: 800 11px/19px var(--font-body);
  text-align: center;
  transform: scale(0);
  transition: transform 0.25s var(--ease-spring);
}
.badge-n.on {
  transform: scale(1);
}

/* ============================== barra de demonstração ============================== */
.demobar {
  background: #14100d;
  color: #f7efe3;
  min-height: var(--demo-h);
  font-size: 12px;
  font-weight: 600;
}
.demobar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--demo-h);
}
.demobar b {
  color: #ffd27a;
  font-weight: 800;
}
.demobar__txt {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.demobar__txt span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demobar__long {
  display: none;
}
.demobar button {
  color: #14100d;
  background: #ffd27a;
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-weight: 800;
  font-size: 11.5px;
  white-space: nowrap;
  min-height: 28px;
}
@media (min-width: 720px) {
  .demobar__long {
    display: inline;
  }
  .demobar__short {
    display: none;
  }
}

/* ============================== cabeçalho ============================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: var(--z-hdr);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hdr.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 20px -16px rgba(0, 0, 0, 0.35);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--hdr-h);
  transition: height 0.25s var(--ease);
}
.hdr.is-scrolled .hdr__in {
  height: calc(var(--hdr-h) - 12px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.logo__mark {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--brand-ink);
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
}
.logo__mark svg {
  width: 22px;
  height: 22px;
}
.hdr.is-scrolled .logo__mark {
  width: 34px;
  height: 34px;
}
.logo__txt {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}
.logo__name {
  font: var(--display-weight) 17px/1.1 var(--font-display);
  letter-spacing: var(--display-track);
  text-transform: var(--display-case);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  max-height: 18px;
  transition: max-height 0.25s var(--ease), opacity 0.2s;
}
.hdr.is-scrolled .logo__status {
  max-height: 0;
  opacity: 0;
}
.dot-ok {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
  flex: none;
}
.hdr__actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
.hdr__cta {
  display: none;
}
@media (min-width: 900px) {
  .hdr__cta {
    display: inline-flex;
  }
}

/* ============================== hero compacto ============================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--surface-3);
  min-height: 232px;
  display: flex;
  align-items: flex-end;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img,
.hero__bg canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.1) 0%, rgba(10, 8, 6, 0.4) 45%, rgba(10, 8, 6, 0.82) 100%);
}
.hero__in {
  padding-block: 28px 44px;
  display: grid;
  gap: 8px;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 82%, transparent);
}
.hero h1 {
  font-size: clamp(32px, 9vw, 52px);
  max-width: 14ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero__lead {
  max-width: 44ch;
  font-size: 15px;
  color: color-mix(in srgb, #fff 88%, transparent);
}
@media (min-width: 720px) {
  .hero {
    min-height: 320px;
  }
  .hero__in {
    padding-block: 48px 64px;
  }
  .hero__lead {
    font-size: 17px;
  }
}

/* faixa de informações essenciais, sobreposta ao hero */
.facts {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}
.facts__card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--sh-2);
}
.fact {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  padding: 12px 6px;
  text-align: center;
}
.fact + .fact {
  border-left: 1px solid var(--line);
}
.fact .i {
  color: var(--brand);
  width: 22px;
  height: 22px;
}
.fact__t {
  display: grid;
  line-height: 1.2;
}
.fact__t small {
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 600;
}
.fact__t b {
  font-size: 14px;
  font-weight: 800;
}
.fact__t em {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-2);
}
@media (min-width: 720px) {
  .fact {
    grid-auto-flow: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 16px;
  }
}

/* ============================== categorias (chips fixos) ============================== */
.cats {
  position: sticky;
  top: calc(var(--hdr-h) - 12px);
  z-index: var(--z-cats);
  margin-top: 14px;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.cats__in {
  display: flex;
  gap: 8px;
  height: var(--cats-h);
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-block: 0;
}
.cats__in::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  scroll-snap-align: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  white-space: nowrap;
}
.chip:active {
  transform: scale(0.96);
}
.chip[aria-current="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ============================== cardápio ============================== */
.menu {
  padding-block: 8px 40px;
}
.msec {
  padding-top: 28px;
  scroll-margin-top: calc(var(--hdr-h) + var(--cats-h) - 8px);
}
.msec__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.msec__head h2 {
  font-size: clamp(22px, 5.4vw, 30px);
}
.msec__head span {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
}
.mgrid {
  display: grid;
  gap: 12px;
}

/* cartão base (variação "row": texto à esquerda, foto à direita) */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.card__main {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 14px;
  width: 100%;
  padding: 14px;
  min-height: 112px;
  border-radius: inherit;
  align-items: start;
}
.card__body {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
}
.card__tag {
  justify-self: start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}
.card__name {
  font-size: 17px;
  line-height: 1.15;
}
.card__desc {
  font-size: 13.5px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.card__price {
  font-weight: 800;
  font-size: 16px;
}
.card__price small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-right: 3px;
}
.card__hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.card__media {
  position: relative;
  width: 112px;
  aspect-ratio: 1;
  border-radius: var(--card-media-r);
  overflow: hidden;
  background: var(--surface-3);
}
.card__media img,
.card__media canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__add {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-2);
  border: 1px solid var(--line);
  transition: transform 0.2s var(--ease-spring), background-color 0.2s, color 0.2s;
}
.card__add:hover {
  background: var(--brand);
  color: var(--brand-ink);
}
.card__add:active {
  transform: scale(0.88);
}
.card__add .i {
  width: 20px;
  height: 20px;
}
.card__add[data-n]::after {
  content: attr(data-n);
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--brand-ink);
  font: 800 11px/20px var(--font-body);
  text-align: center;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-2);
  }
}
@media (min-width: 720px) {
  .mgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1000px) {
  .mgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* cartão sem foto (bebidas, sobremesas): ícone desenhado */
.tile {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--brand) 20%, var(--surface-2)), var(--surface-2));
}
.tile .i {
  width: 44%;
  height: 44%;
  stroke-width: 1.4;
}

/* ============================== informações e rodapé ============================== */
.about {
  padding-block: 12px 40px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.about__title {
  padding-block: 28px 8px;
  font-size: clamp(22px, 5vw, 28px);
}
.acc {
  border-bottom: 1px solid var(--line);
}
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  font-weight: 700;
  font-size: 16px;
}
.acc summary::-webkit-details-marker {
  display: none;
}
.acc summary .i {
  transition: transform 0.25s var(--ease);
  color: var(--ink-2);
}
.acc[open] summary .i {
  transform: rotate(180deg);
}
.acc__body {
  padding-bottom: 18px;
  color: var(--ink-2);
  font-size: 15px;
  display: grid;
  gap: 8px;
}
.acc__body b {
  color: var(--ink);
}
.kv {
  display: grid;
  gap: 2px;
}
.kv small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.foot {
  background: var(--ink);
  color: color-mix(in srgb, var(--bg) 70%, transparent);
  font-size: 13px;
  padding-block: 28px calc(110px + env(safe-area-inset-bottom));
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.foot a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================== barra do carrinho e toast ============================== */
.cartbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-cartbar);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(120%);
  transition: transform 0.38s var(--ease);
}
.cartbar.is-on {
  transform: none;
}
.cartbar__btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  min-height: 58px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
}
.cartbar__l {
  display: grid;
  line-height: 1.15;
}
.cartbar__l small {
  font-size: 12px;
  opacity: 0.75;
  font-weight: 600;
}
.cartbar__l b {
  font-size: 17px;
  font-weight: 800;
}
.cartbar__r {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--brand-ink);
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-weight: 800;
  font-size: 14px;
}
.cartbar__btn.bump {
  animation: bump 0.45s var(--ease-spring);
}
@keyframes bump {
  40% {
    transform: scale(1.035);
  }
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: var(--z-toast);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--sh-3);
  max-width: calc(100vw - 32px);
  transition: opacity 0.25s, transform 0.3s var(--ease);
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.fly {
  position: fixed;
  z-index: var(--z-toast);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--brand);
  box-shadow: var(--sh-2);
  pointer-events: none;
}

/* ============================== sheet (bottom sheet no celular, modal no desktop) ============================== */
dialog.sheet {
  border: 0;
  padding: 0;
  margin: auto 0 0;
  width: 100%;
  max-width: none;
  max-height: min(94dvh, 900px);
  height: auto;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-l) var(--r-l) 0 0;
  overflow: hidden;
  box-shadow: var(--sh-3);
  z-index: var(--z-sheet);
}
dialog.sheet[open] {
  display: flex;
  flex-direction: column;
  animation: sheetUp 0.42s var(--ease) both;
}
dialog.sheet.is-closing {
  animation: sheetDown 0.26s ease-in both;
}
dialog.sheet::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.3s both;
}
dialog.sheet.is-closing::backdrop {
  animation: fadeOut 0.26s both;
}
@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }
}
@keyframes sheetDown {
  to {
    transform: translateY(100%);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
@media (min-width: 720px) {
  dialog.sheet {
    margin: auto;
    width: min(640px, 94vw);
    border-radius: var(--r-l);
    max-height: min(90dvh, 860px);
  }
  dialog.sheet.sheet--wide {
    width: min(880px, 94vw);
  }
  dialog.sheet[open] {
    animation: popIn 0.36s var(--ease) both;
  }
  dialog.sheet.is-closing {
    animation: popOut 0.2s ease-in both;
  }
  @keyframes popIn {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.97);
    }
  }
  @keyframes popOut {
    to {
      opacity: 0;
      transform: translateY(10px) scale(0.98);
    }
  }
}
.sheet__grab {
  flex: none;
  display: grid;
  place-items: center;
  height: 22px;
  cursor: grab;
  touch-action: none;
}
.sheet__grab::before {
  content: "";
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: var(--line-strong);
}
@media (min-width: 720px) {
  .sheet__grab {
    display: none;
  }
}
.sheet__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--sh-1);
  backdrop-filter: blur(6px);
}
.sheet__scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.sheet__body {
  padding: 18px var(--gutter) 24px;
  display: grid;
  gap: 20px;
}
.sheet__foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.sheet__head h2 {
  font-size: clamp(24px, 6vw, 32px);
}
.sheet__head p {
  color: var(--ink-2);
  margin-top: 6px;
}
.sheet__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 4px;
}

/* ============================== formulários ============================== */
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  height: 48px;
  flex: none;
}
.stepper button {
  width: 44px;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
}
.stepper button:disabled {
  opacity: 0.35;
}
.stepper output {
  min-width: 26px;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.stepper--sm {
  height: 38px;
}
.stepper--sm button {
  width: 36px;
}
.group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 8px;
}
.group__legend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0;
  font-weight: 800;
  font-size: 16px;
}
.group__legend small {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink-2);
}
.group__legend .req {
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--r-pill);
}
.group.has-error .group__legend {
  color: var(--danger);
}
.group__err {
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}
.opts {
  display: grid;
  gap: 8px;
}
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-s);
  cursor: pointer;
  transition: border-color 0.18s, background-color 0.18s;
}
.opt:hover {
  border-color: var(--line-strong);
}
.opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt__box {
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.18s var(--ease);
  color: transparent;
}
.opt input[type="radio"] + .opt__box {
  border-radius: 50%;
}
.opt input[type="checkbox"] + .opt__box {
  border-radius: 7px;
}
.opt__box .i {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.opt__t {
  flex: 1;
  min-width: 0;
  display: grid;
  line-height: 1.25;
}
.opt__t small {
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
}
.opt__p {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
.opt:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.opt input:checked + .opt__box {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}
.opt input:focus-visible + .opt__box {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.opt.is-off {
  opacity: 0.45;
  cursor: not-allowed;
}
.field {
  display: grid;
  gap: 6px;
}
.field label,
.field > span {
  font-weight: 700;
  font-size: 14px;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-s);
  background: var(--surface);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea {
  min-height: 84px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}
.field.has-error input,
.field.has-error textarea {
  border-color: var(--danger);
}
.field__err {
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}
.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--surface-2);
  border-radius: var(--r-pill);
}
.seg button {
  min-height: 44px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.seg button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-1);
}
.note {
  font-size: 13px;
  color: var(--ink-2);
}
.banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--r-s);
  background: var(--brand-soft);
  font-size: 13.5px;
  color: var(--ink);
}
.banner .i {
  color: var(--brand);
  margin-top: 1px;
}
.banner--warn {
  background: color-mix(in srgb, var(--accent) 22%, var(--surface));
}

/* ============================== sheet do produto ============================== */
.psheet__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-3);
  overflow: hidden;
  flex: none;
}
.psheet__media img,
.psheet__media canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.psheet__media.is-stage {
  aspect-ratio: auto;
  height: clamp(190px, 38vh, 300px);
}
.psheet__price {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 800;
}
.addrow {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: center;
}
.addrow .btn {
  flex: 1;
  justify-content: space-between;
}

/* ============================== carrinho (conteúdo do sheet) ============================== */
.lines {
  display: grid;
  gap: 4px;
}
.line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.line__th {
  width: 56px;
  height: 56px;
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--surface-3);
}
.line__th img,
.line__th canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.line__t {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.line__t b {
  font-weight: 800;
  line-height: 1.2;
}
.line__t small {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.35;
}
.line__r {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.line__price {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.line__act {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.line__act button {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
}
.line__act button:hover {
  color: var(--brand);
}
.totals {
  display: grid;
  gap: 8px;
  padding: 14px 0 2px;
}
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.totals .t {
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
}
.empty {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 36px 8px;
  color: var(--ink-2);
}
.empty .i {
  width: 46px;
  height: 46px;
  color: var(--ink-3);
  stroke-width: 1.4;
}
.empty b {
  color: var(--ink);
  font: var(--display-weight) 22px/1.1 var(--font-display);
}
.done {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  padding: 10px 0 4px;
}
.done__check {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok);
  color: #fff;
}
.done__check .i {
  width: 34px;
  height: 34px;
  stroke-width: 2.6;
}
.done h2 {
  font-size: 26px;
}
.ticket {
  width: 100%;
  text-align: left;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-m);
  padding: 16px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.ticket__h {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
}
.ticket li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.ticket li span:first-child {
  color: var(--ink-2);
}

/* ============================== popup de convite para marcar reunião ============================== */
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
dialog.sheet--cta {
  max-width: 520px;
}
.cta__ben {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.cta__ben li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta__ben .i {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent, var(--brand));
}
.ctaf {
  display: grid;
  gap: 14px;
}
.ctaf__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ctaf__skip {
  min-height: 44px;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta--done {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
.cta__ok {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
}
.cta__ok .i {
  width: 28px;
  height: 28px;
}
.cta__foot {
  display: grid;
  gap: 2px;
  width: 100%;
  min-width: 0;
  justify-items: center;
}
.cta__foot .btn {
  width: 100%;
}
@media (max-width: 719px) {
  dialog.sheet--cta .sheet__head p {
    font-size: 15px;
  }
}
