:root {
  --ink: #0b0b0b;
  --ink-soft: #171514;
  --paper: #f5efe2;
  --cream: #fff8e9;
  --amber: #f6ad16;
  --amber-bright: #ffc12c;
  --burgundy: #8f1d21;
  --red-dark: #5e1115;
  --muted: #6b6358;
  --line: rgba(11, 11, 11, 0.14);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 98px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand img {
  width: 78px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  background: #050505;
  border-radius: 4px;
  border: 2px solid var(--amber);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand small {
  color: rgba(255, 248, 233, 0.64);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.site-header nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 248, 233, 0.72);
  transition: color 180ms ease;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header nav a:hover {
  color: var(--cream);
}

.site-header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cart {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  color: var(--ink);
  background: var(--amber);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-cart-icon {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  color: var(--amber);
  background: var(--ink);
  border-radius: 50%;
}

.header-cart-icon i {
  position: absolute;
  inset: 7px;
  background: currentColor;
  -webkit-mask: url("./assets/cart-fill.svg") center / contain no-repeat;
  mask: url("./assets/cart-fill.svg") center / contain no-repeat;
}

.header-cart b { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  padding: 160px clamp(24px, 5vw, 76px) 86px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 45%, rgba(143, 29, 33, 0.3), transparent 30%),
    linear-gradient(115deg, #080808 0%, #0d0c0b 62%, #160d0b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 44%;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(246, 173, 22, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(246, 173, 22, 0.025), 0 0 0 180px rgba(246, 173, 22, 0.018);
}

.hero::after {
  content: "ZAMBURGER  •  EXPRESS  •  SABOR  •  ESTAÇÃO  •";
  position: absolute;
  right: -120px;
  bottom: 28px;
  color: rgba(255, 248, 233, 0.035);
  font-family: var(--display);
  font-size: 84px;
  letter-spacing: 6px;
  white-space: nowrap;
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(68px, 7.4vw, 126px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero h1 em {
  display: block;
  color: var(--amber);
  font-style: normal;
  text-shadow: 4px 4px 0 var(--burgundy);
}

.hero-description {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(255, 248, 233, 0.67);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 53px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.whatsapp-mark {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.button-primary {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}

.hero-art {
  justify-self: stretch;
  max-width: 680px;
}

.promo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  box-shadow: 28px 30px 80px rgba(0, 0, 0, 0.46);
  transform: rotate(1.5deg);
}

.promo-card::before,
.promo-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  width: 100%;
  height: 5px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--amber) 0 42px, transparent 42px 54px);
}

.promo-card::before { top: 0; }
.promo-card::after { bottom: 0; }

.promo-card.promo-poster-card {
  width: min(100%, 380px);
  height: auto;
  min-height: 0;
  aspect-ratio: 2 / 3;
  margin-inline: auto;
  background: #050505;
  transform: none;
}

.promo-poster-card::before,
.promo-poster-card::after {
  content: none;
}

.promo-poster-button {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #050505;
  border: 0;
}

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

.promo-poster-button:focus-visible {
  outline: 4px solid var(--amber);
  outline-offset: -8px;
}

.promo-poster-button:disabled {
  cursor: not-allowed;
  filter: grayscale(.35) brightness(.72);
}

.ticker {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding: 15px 0;
  color: var(--ink);
  background: var(--amber);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker div {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.ticker span,
.ticker i {
  margin-right: 32px;
}

.ticker i {
  font-style: normal;
  color: var(--burgundy);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.menu-section {
  padding: 100px clamp(24px, 5vw, 76px) 120px;
  background:
    linear-gradient(rgba(11, 11, 11, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 11, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.section-heading .section-kicker {
  margin-bottom: 9px;
  color: var(--burgundy);
}

.section-heading h2,
.order-banner h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(68px, 8vw, 120px);
  font-weight: 500;
  line-height: 0.83;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.menu-toolbar {
  position: sticky;
  z-index: 10;
  top: 0;
  margin: 0 -4px 42px;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
}

.ordering-status {
  margin: -14px 0 24px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 5px solid var(--muted);
}
.ordering-status[hidden] { display: none !important; }

.ordering-status-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  background: var(--muted);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(107, 99, 88, 0.12);
}

.ordering-status div { display: grid; gap: 2px; }
.ordering-status strong { font-size: 12px; letter-spacing: .4px; text-transform: uppercase; }
.ordering-status small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.ordering-status.is-open { border-left-color: #24713a; }
.ordering-status.is-open .ordering-status-dot { background: #24713a; box-shadow: 0 0 0 4px rgba(36, 113, 58, .13); }
.ordering-status.is-closed { border-left-color: var(--burgundy); background: #fff1e7; }
.ordering-status.is-closed .ordering-status-dot { background: var(--burgundy); box-shadow: 0 0 0 4px rgba(143, 29, 33, .13); }
.checkout-ordering-status { max-width: 720px; margin: -18px 0 30px; }

.category-list {
  width: 100%;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-list::-webkit-scrollbar { display: none; }

.category-list button {
  min-height: 42px;
  padding: 0 17px;
  flex: 0 0 auto;
  color: #514b42;
  background: transparent;
  border: 1px solid rgba(11, 11, 11, 0.21);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.4px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.category-list button:hover,
.category-list button.active {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--ink);
}

.menu-grid {
  display: block;
}

.menu-group + .menu-group {
  margin-top: 48px;
}

.menu-group-heading {
  margin-bottom: 16px;
  padding-bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--ink);
}

.menu-group-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-group-heading span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--burgundy);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.menu-group-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 3.2vw, 47px);
  font-weight: 500;
  line-height: .85;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.menu-group-heading p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.menu-card {
  min-width: 0;
  min-height: 226px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  background: rgba(255, 252, 245, 0.74);
  border: 1px solid rgba(11, 11, 11, 0.16);
  border-radius: 4px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.menu-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 29, 33, 0.38);
  box-shadow: 0 15px 35px rgba(62, 44, 25, 0.11);
}

.card-visual {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink-soft);
}

.card-visual::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.18;
  box-shadow: 0 0 0 28px currentColor, 0 0 0 30px rgba(255,255,255,.08), 0 0 0 58px currentColor;
}

.card-visual > b {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: 54px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
}

.card-visual > i {
  position: absolute;
  z-index: 1;
  width: 76px;
  height: 16px;
  margin-top: 82px;
  border-top: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  opacity: .45;
  transform: perspective(35px) rotateX(45deg);
}

.visual-lanches { background: var(--burgundy); }
.visual-macarrao { background: #8a321c; }
.visual-omeletes { background: #c98416; }
.visual-pizzas { background: #b74c1d; }
.visual-bebidas { background: #303f3b; }

.card-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.07);
}

.card-visual:has(> img)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 48%, rgba(0, 0, 0, 0.12));
}

.visual-bebidas > img {
  padding: 12px;
  object-fit: contain;
  background: #fff;
  filter: saturate(1.05) contrast(1.02);
}

.visual-bebidas:has(> img)::after {
  display: none;
}

.item-tag {
  position: absolute;
  z-index: 4;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 7px 9px;
  color: var(--ink);
  background: var(--amber);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.card-body {
  min-width: 0;
  padding: 19px 19px 17px;
  display: flex;
  flex-direction: column;
}

.card-category {
  margin-bottom: 8px;
  color: var(--burgundy);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card-body h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
  line-height: .94;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.card-body > p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.48;
}

.card-footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.card-footer > strong {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.card-footer button {
  min-height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--cream);
  background: var(--ink);
  border: 0;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-footer button:disabled,
.cart-summary > button:disabled,
.checkout-submit:disabled {
  cursor: not-allowed;
  opacity: .52;
  filter: grayscale(.35);
}

.order-banner {
  min-height: 360px;
  padding: 58px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: minmax(230px, .8fr) 1fr minmax(290px, .85fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  overflow: hidden;
  color: var(--cream);
  background: var(--burgundy);
  border-top: 7px solid var(--amber);
}

.order-banner .section-kicker { margin: 9px 0 0; color: var(--amber); }
.order-banner h2 { font-size: clamp(58px, 6vw, 96px); }
.order-banner div > p:last-child { margin: 13px 0 0; color: rgba(255,248,233,.68); }

.order-train {
  align-self: stretch;
  margin: -58px 0 -58px -76px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #050505;
}

.order-train::after {
  content: "";
  position: absolute;
  right: -35px;
  top: 0;
  width: 80px;
  height: 100%;
  background: var(--burgundy);
  clip-path: polygon(72% 0, 100% 0, 28% 100%, 0 100%);
}

.order-train img {
  width: min(100%, 560px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
}

.order-banner > a {
  min-height: 92px;
  padding: 18px 17px 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.order-banner > a:hover {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 var(--ink);
}

.order-banner > a span,
.order-banner > a b { grid-column: 1; }
.order-banner > a span { font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.order-banner > a b { font-family: var(--display); font-size: clamp(27px, 3vw, 40px); font-weight: 500; }
.order-banner > a > .whatsapp-mark { grid-column: 2; grid-row: 1 / 3; width: 48px; height: 48px; }

.mobile-cart { display: none; }

.mobile-cart[hidden],
.cart-list[hidden],
.cart-summary[hidden],
.cart-empty[hidden] {
  display: none !important;
}

.cart-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.cart-layer.open {
  visibility: visible;
  pointer-events: auto;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.68);
  border: 0;
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity 260ms ease;
}

.cart-layer.open .cart-overlay { opacity: 1; }

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(470px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.22,.75,.2,1);
}

.cart-layer.open .cart-drawer { transform: translateX(0); }

.cart-header {
  min-height: 116px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cream);
  background: var(--ink);
  border-bottom: 5px solid var(--amber);
}

.cart-header p { margin: 0 0 4px; color: var(--amber); font-size: 9px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.cart-header h2 { margin: 0; font-family: var(--display); font-size: 36px; font-weight: 500; line-height: 1; text-transform: uppercase; }
.cart-header button { width: 42px; height: 42px; color: var(--cream); background: transparent; border: 1px solid rgba(255,255,255,.2); font-size: 29px; line-height: 1; }

.cart-list {
  flex: 1;
  padding: 10px 25px;
  overflow-y: auto;
}

.cart-item {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}

.cart-item-copy h3 { margin: 0 0 4px; font-size: 13px; line-height: 1.2; }
.cart-item-copy span { color: var(--burgundy); font-family: var(--display); font-size: 19px; }

.quantity-control {
  height: 34px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
}

.quantity-control button { width: 31px; height: 32px; background: transparent; border: 0; font-size: 18px; }
.quantity-control b { min-width: 22px; text-align: center; font-size: 12px; }

.cart-item-locked-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.cart-item-locked-actions span { color: var(--muted); font-size: 10px; font-weight: 800; }
.cart-item-locked-actions span b { color: var(--ink); font-size: 12px; }
.cart-item-locked-actions button {
  min-height: 28px;
  padding: 4px 9px;
  color: var(--burgundy);
  background: transparent;
  border: 1px solid rgba(161, 31, 39, 0.45);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-item-locked-actions button:hover,
.cart-item-locked-actions button:focus-visible { color: var(--cream); background: var(--burgundy); }

.cart-item-review {
  grid-column: 1 / -1;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.cart-item-review-heading {
  min-height: 40px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(246, 173, 22, 0.12);
  border-bottom: 1px solid var(--line);
}

.cart-item-review-heading b { font-size: 10px; letter-spacing: 0.4px; text-transform: uppercase; }

.cart-review-line {
  margin: 0 11px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 9px;
  border-bottom: 1px solid var(--line);
}

.cart-review-line > span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.cart-review-line.removal > span { color: var(--burgundy); }
.cart-review-line.addition > span { color: #8a5a00; }
.cart-review-line.note > span { color: var(--muted); }
.cart-review-line p { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.4; }
.cart-review-empty { margin: 0; padding: 12px 11px; color: var(--muted); font-size: 11px; }

.customization-block {
  padding: 12px;
  border: 1px solid var(--line);
  border-left-width: 4px;
}

.customization-block + .customization-block { margin-top: 12px; }
.removal-block { background: rgba(161, 31, 39, 0.045); border-left-color: var(--burgundy); }
.additions-block { background: rgba(246, 173, 22, 0.12); border-left-color: var(--amber); }
.custom-flavor-block { background: #fff4d8; border-left-color: var(--ink); }

.customization-block-heading {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.customization-block-heading > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cream);
  background: var(--burgundy);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.additions-block .customization-block-heading > span { color: var(--ink); background: var(--amber); }
.customization-block-heading p { margin: 0 0 3px; font-size: 12px; font-weight: 900; letter-spacing: 0.4px; text-transform: uppercase; }
.customization-block-heading small { display: block; color: var(--muted); font-size: 10px; line-height: 1.4; }

.customization-options { display: flex; flex-wrap: wrap; gap: 7px; }
.customization-options label { position: relative; cursor: pointer; }
.customization-options input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.customization-options span {
  min-height: 30px;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(11, 11, 11, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.remove-options input:checked + span { color: var(--cream); background: var(--burgundy); border-color: var(--burgundy); }
.custom-flavor-options input:checked + span { color: var(--ink); background: var(--amber); border-color: var(--ink); }
.customization-options input:focus-visible + span { outline: 2px solid var(--burgundy); outline-offset: 2px; }

.extra-options button {
  min-height: 30px;
  padding: 6px 9px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(11, 11, 11, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transition: background 150ms ease, border-color 150ms ease;
}

.extra-options button.selected { background: var(--amber); border-color: var(--ink); }
.extra-options button:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 2px; }

.cart-item-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
}

.cart-item-note span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cart-item-note span i { font-size: 9px; font-style: normal; font-weight: 700; }
.cart-item-note input {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(11, 11, 11, 0.2);
  border-radius: 2px;
  font-size: 13px;
  outline: none;
}
.cart-item-note input:focus { border-color: var(--burgundy); box-shadow: 0 0 0 2px rgba(143, 29, 33, 0.1); }

.cart-summary {
  padding: 23px 25px 25px;
  background: #fffaf0;
  border-top: 1px solid var(--line);
}

.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total-row span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.cart-total-row b { font-family: var(--display); font-size: 35px; font-weight: 500; }

.cart-summary p { margin: 8px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.cart-summary > button { width: 100%; min-height: 55px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: var(--ink); background: var(--amber); border: 0; font-size: 11px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.cart-summary > button b { font-size: 22px; }

.product-editor-layer {
  position: fixed;
  z-index: 120;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.product-editor-layer.open {
  visibility: visible;
  pointer-events: auto;
}

.product-editor-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
  border: 0;
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity 220ms ease;
}

.product-editor-layer.open .product-editor-overlay { opacity: 1; }

.product-editor-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.22,.75,.2,1);
}

.product-editor-layer.open .product-editor-panel { transform: translateX(0); }

.product-editor-header {
  min-height: 104px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--cream);
  background: var(--ink);
  border-bottom: 5px solid var(--amber);
}

.product-editor-header p { margin: 0 0 4px; color: var(--amber); font-size: 9px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; }
.product-editor-header h2 { margin: 0; font-family: var(--display); font-size: 32px; font-weight: 500; line-height: 1; text-transform: uppercase; }
.product-editor-header > button { width: 40px; height: 40px; flex: 0 0 auto; color: var(--cream); background: transparent; border: 1px solid rgba(255,255,255,.22); font-size: 27px; line-height: 1; }

.product-editor-scroll {
  flex: 1;
  min-height: 0;
  padding: 18px 20px 24px;
  overflow-y: auto;
}

.product-editor-product {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.product-editor-product h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.2; }
.product-editor-product p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.product-editor-note { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }

.pizza-step-heading { margin-bottom: 16px; }
.pizza-step-heading > span,
.pizza-customization-toolbar > span {
  color: var(--burgundy);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.pizza-step-heading h3 { margin: 6px 0 5px; font-family: var(--display); font-size: 27px; font-weight: 500; text-transform: uppercase; }
.pizza-step-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.pizza-flavor-slots {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.pizza-flavor-slots-single { grid-template-columns: 1fr; }
.pizza-flavor-slot {
  min-height: 78px;
  padding: 12px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, .62);
  border: 1px dashed rgba(11, 11, 11, .32);
}
.pizza-flavor-slot.filled {
  background: #fff4d8;
  border: 1px solid rgba(163, 31, 36, .48);
  border-left: 4px solid var(--burgundy);
}
.pizza-flavor-slot > span { color: var(--burgundy); font-size: 9px; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; }
.pizza-flavor-slot > strong { font-size: 13px; line-height: 1.25; }
.pizza-flavor-slot > small { color: var(--muted); font-size: 9px; }
.pizza-flavor-options { display: grid; gap: 10px; }
.pizza-flavor-options button {
  position: relative;
  min-height: 82px;
  padding: 14px 52px 14px 15px;
  display: grid;
  gap: 5px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}
.pizza-flavor-options button > span { font-size: 14px; font-weight: 900; }
.pizza-flavor-options button small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.pizza-flavor-options button b {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  border: 1px solid var(--ink);
  transform: translateY(-50%);
}
.pizza-flavor-options button.selected { background: #fff4d8; border: 2px solid var(--burgundy); }
.pizza-flavor-options button.selected b { color: #fff; background: var(--burgundy); }
.pizza-flavor-options button:disabled { cursor: not-allowed; opacity: .42; }
.pizza-customization-toolbar { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pizza-customization-toolbar button {
  padding: 7px 9px;
  color: var(--burgundy);
  background: transparent;
  border: 1px solid rgba(163, 31, 36, .45);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-editor-footer {
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fffaf0;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(11, 11, 11, 0.08);
}

.product-editor-footer > div { display: grid; gap: 2px; flex: 0 0 auto; }
.product-editor-footer > div span { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.product-editor-footer > div b { font-family: var(--display); font-size: 25px; font-weight: 500; }
.product-editor-footer > button {
  min-height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.product-editor-footer > button span { font-size: 19px; line-height: 1; }
.product-editor-footer > button:disabled { cursor: not-allowed; opacity: .45; }

.extra-editor-layer {
  position: fixed;
  z-index: 130;
  inset: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.extra-editor-layer.open {
  visibility: visible;
  pointer-events: auto;
}

.extra-editor-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
  border: 0;
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity 180ms ease;
}

.extra-editor-layer.open .extra-editor-overlay { opacity: 1; }

.extra-editor {
  position: relative;
  width: min(380px, 100%);
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--amber);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.extra-editor-layer.open .extra-editor { transform: translateY(0); opacity: 1; }

.extra-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.extra-editor-header p {
  margin: 0 0 4px;
  color: var(--burgundy);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.extra-editor-header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.extra-editor-header > button {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 25px;
  line-height: 1;
}

.extra-editor > strong {
  margin-top: 22px;
  display: block;
  font-size: 17px;
}

.extra-editor-price { margin: 5px 0 18px; color: var(--muted); font-size: 11px; }

.extra-editor-counter {
  min-height: 58px;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--ink);
}

.extra-editor-counter button { height: 56px; background: transparent; border: 0; font-size: 24px; }
.extra-editor-counter button:first-child { border-right: 1px solid var(--line); }
.extra-editor-counter button:last-child { border-left: 1px solid var(--line); }
.extra-editor-counter button:disabled { cursor: not-allowed; opacity: 0.25; }
.extra-editor-counter b { text-align: center; font-family: var(--display); font-size: 31px; font-weight: 500; }

.extra-editor-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.extra-editor-actions button {
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid var(--ink);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.extra-editor-actions button:first-child { color: var(--burgundy); background: transparent; }
.extra-editor-actions button:last-child { color: var(--ink); background: var(--amber); }
.extra-editor-actions button:disabled { cursor: not-allowed; opacity: 0.35; }

.cart-empty {
  flex: 1;
  padding: 30px;
  display: grid;
  place-content: center;
  text-align: center;
}

.cart-empty > span { color: var(--burgundy); font-family: var(--display); font-size: 64px; line-height: 1; }
.cart-empty h3 { margin: 15px 0 6px; font-family: var(--display); font-size: 30px; font-weight: 500; text-transform: uppercase; }
.cart-empty p { max-width: 270px; margin: 0 auto 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cart-empty button { min-height: 45px; color: var(--cream); background: var(--ink); border: 0; font-size: 11px; font-weight: 900; text-transform: uppercase; }

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
    gap: 42px;
  }
  .site-header nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .order-banner { grid-template-columns: .65fr 1fr; }
  .order-banner > a { grid-column: 2; }
  .order-train { grid-row: 1 / 3; }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    height: 82px;
    padding: 0 20px;
  }
  .brand img { width: 64px; height: 46px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 8px; }
  .header-cart-label { display: none; }
  .header-cart { padding: 6px; background: transparent; }
  .header-cart-icon { color: var(--ink); background: var(--amber); }
  .hero {
    min-height: auto;
    padding: 126px 20px 64px;
    grid-template-columns: 1fr;
    gap: 58px;
  }
  .hero h1 { font-size: clamp(62px, 18vw, 98px); }
  .hero-description { max-width: 630px; }
  .hero-art { width: min(100%, 620px); justify-self: center; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .menu-group-grid { grid-template-columns: 1fr; }
  .order-banner { grid-template-columns: 1fr; padding-top: 0; text-align: center; }
  .order-train { height: 270px; margin: 0 -24px; padding: 0; grid-row: auto; }
  .order-train::after { display: none; }
  .order-train img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: scale(1.28);
    transform-origin: center bottom;
  }
  .order-banner > a { grid-column: auto; width: min(100%, 400px); justify-self: center; text-align: left; }
  .mobile-cart {
    position: fixed;
    z-index: 40;
    left: 14px;
    right: 14px;
    bottom: 12px;
    width: calc(100% - 28px);
    min-height: 58px;
    padding: 8px 10px 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: var(--amber);
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
  }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .button { width: 100%; justify-content: space-between; }
  .menu-section { padding: 78px 18px 90px; }
  .section-heading { padding-bottom: 30px; }
  .section-heading h2 { font-size: 72px; }
  .menu-group + .menu-group { margin-top: 38px; }
  .menu-group-heading h3 { font-size: 36px; }
  .menu-card { min-height: 202px; grid-template-columns: 116px minmax(0, 1fr); }
  .card-visual {
    width: 100px;
    height: 100px;
    min-height: 100px;
    margin: 0 auto;
    align-self: center;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(34, 24, 14, 0.14);
  }
  .card-visual > img { object-position: center; }
  .visual-bebidas > img { padding: 8px; }
  .item-tag { right: 5px; bottom: 5px; padding: 5px 6px; font-size: 7px; }
  .card-body { padding: 17px 15px 15px; }
  .card-body h4 { font-size: 25px; }
  .card-body > p { font-size: 11px; }
  .card-footer { flex-wrap: wrap; }
  .card-footer button { width: 100%; margin-top: 10px; padding: 0 12px; justify-content: center; }
  .order-banner { padding-left: 18px; padding-right: 18px; }
  .order-train { margin-left: -18px; margin-right: -18px; padding: 0; }
  .product-editor-header { min-height: 92px; padding: 18px; }
  .product-editor-header h2 { font-size: 28px; }
  .product-editor-scroll { padding: 15px 14px 20px; }
  .product-editor-footer { padding-left: 12px; padding-right: 12px; gap: 9px; }
  .product-editor-footer > div b { font-size: 22px; }
  .product-editor-footer > button { min-height: 48px; padding: 0 10px; gap: 7px; font-size: 9px; }
  .pizza-flavor-slots { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Painel privado de controle da lanchonete */
.control-page {
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
}
.control-shell {
  width: min(100% - 28px, 680px);
  margin: 0 auto;
  padding: 28px 0 48px;
}
.control-header {
  margin-bottom: 20px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  background: var(--ink);
  border-bottom: 5px solid var(--yellow);
}
.control-header p,
.control-header h1 { margin: 0; }
.control-header p {
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.control-header h1 {
  font-family: var(--display);
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 500;
  line-height: .95;
  text-transform: uppercase;
}
.control-header a {
  flex: 0 0 auto;
  padding: 9px 11px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid #555;
}
.control-current-status {
  margin-bottom: 18px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--muted);
}
.control-current-status.is-open { border-left-color: #24713a; }
.control-current-status.is-closed { border-left-color: var(--burgundy); }
.control-current-dot {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  flex: 0 0 auto;
  background: var(--muted);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(107, 99, 88, .12);
}
.is-open .control-current-dot { background: #24713a; box-shadow: 0 0 0 5px rgba(36, 113, 58, .13); }
.is-closed .control-current-dot { background: var(--burgundy); box-shadow: 0 0 0 5px rgba(143, 29, 33, .13); }
.control-current-status div { display: grid; gap: 3px; }
.control-current-status small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.control-current-status strong { font-size: 17px; }
.control-current-status p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.control-form {
  padding: 22px;
  background: #fffaf0;
  border: 1px solid var(--line);
}
.control-form fieldset { margin: 0; padding: 0; border: 0; }
.control-form legend { font-family: var(--display); font-size: 28px; text-transform: uppercase; }
.control-form fieldset > p { margin: 4px 0 16px; color: var(--muted); font-size: 11px; }
.control-mode-options { display: grid; gap: 10px; }
.control-mode-options label { cursor: pointer; }
.control-mode-options input { position: absolute; opacity: 0; pointer-events: none; }
.control-mode-options label > span {
  min-height: 68px;
  padding: 14px 16px;
  display: grid;
  align-content: center;
  gap: 3px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.control-mode-options label > span b { font-size: 14px; }
.control-mode-options label > span small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.control-mode-options input:checked + span {
  background: #fff1c8;
  border: 2px solid var(--ink);
  box-shadow: inset 6px 0 0 var(--yellow);
}
.control-mode-options input:focus-visible + span { outline: 3px solid rgba(255, 178, 18, .35); outline-offset: 2px; }
.control-password { margin-top: 20px; display: grid; gap: 7px; }
.control-password > span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.control-password input {
  min-height: 52px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  border: 1px solid #aaa;
}
.control-form > button {
  width: 100%;
  min-height: 56px;
  margin-top: 14px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--yellow);
  border: 2px solid var(--ink);
  cursor: pointer;
}
.control-form > button:disabled { cursor: wait; opacity: .55; }
.control-feedback { min-height: 18px; margin: 10px 0 0; font-size: 11px; font-weight: 800; }
.control-feedback.success { color: #24713a; }
.control-feedback.error { color: var(--burgundy); }
.control-security-note {
  margin-top: 15px;
  padding: 16px;
  color: #ddd;
  background: var(--ink);
}
.control-security-note strong { color: var(--yellow); font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
.control-security-note p { margin: 5px 0 0; font-size: 10px; line-height: 1.5; }

@media (max-width: 520px) {
  .control-shell { width: min(100% - 20px, 680px); padding-top: 10px; }
  .control-header { padding: 19px; display: grid; }
  .control-header a { width: fit-content; }
  .control-form { padding: 17px; }
}

/* Página de finalização */
.checkout-page {
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(93, 73, 49, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 73, 49, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
}

.checkout-topbar {
  min-height: 92px;
  padding: 14px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--cream);
  background: var(--ink);
  border-bottom: 5px solid var(--amber);
}

.checkout-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.checkout-brand img {
  width: 72px;
  height: 52px;
  object-fit: contain;
  background: #050505;
  border: 2px solid var(--amber);
  border-radius: 4px;
}

.checkout-brand span { display: grid; gap: 2px; }
.checkout-brand strong { font-family: var(--display); font-size: 25px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; }
.checkout-brand small { color: rgba(255, 248, 233, 0.65); font-size: 9px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.checkout-back { padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.25); font-size: 11px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; }

.checkout-main {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 86px) 0 90px;
}

.checkout-step-main { width: min(720px, calc(100% - 40px)); }

.checkout-heading { max-width: 720px; margin-bottom: 38px; }
.checkout-heading > p { margin: 0 0 7px; color: var(--burgundy); font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.checkout-heading h1 { margin: 0; font-family: var(--display); font-size: clamp(54px, 8vw, 92px); font-weight: 500; letter-spacing: -1px; line-height: 0.92; text-transform: uppercase; }
.checkout-heading > span { display: block; max-width: 540px; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.checkout-layout[hidden],
.checkout-empty-state[hidden] { display: none !important; }

.checkout-form {
  background: rgba(255, 252, 245, 0.9);
  border: 1px solid rgba(11, 11, 11, 0.16);
  box-shadow: 0 18px 45px rgba(62, 44, 25, 0.1);
}

.checkout-form { padding: clamp(22px, 4vw, 38px); }
.checkout-form fieldset { margin: 0; padding: 0; border: 0; }
.checkout-form fieldset + fieldset { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.checkout-form legend { width: 100%; margin-bottom: 20px; padding: 0; font-family: var(--display); font-size: 28px; line-height: 1; text-transform: uppercase; }
.checkout-form legend b { margin-right: 8px; color: var(--burgundy); font-size: 20px; }

.checkout-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 16px;
}

.checkout-address-grid label,
.checkout-field { display: grid; gap: 7px; }
.field-name,
.field-neighborhood,
.field-complement,
.field-reference { grid-column: 1 / -1; }

.checkout-address-grid label > span,
.checkout-field > span { font-size: 10px; font-weight: 900; letter-spacing: 0.6px; text-transform: uppercase; }
.checkout-address-grid label > span i { color: var(--muted); font-size: 8px; font-style: normal; font-weight: 700; }

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(11, 11, 11, 0.24);
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.checkout-form input:focus,
.checkout-form select:focus { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(143, 29, 33, 0.1); }
.checkout-field + .checkout-field { margin-top: 16px; }
.change-field[hidden] { display: none; }

.pix-notice {
  margin-top: 16px;
  padding: 15px 16px;
  display: grid;
  gap: 4px;
  background: rgba(246, 173, 22, 0.14);
  border: 1px solid rgba(143, 29, 33, 0.2);
  border-left: 4px solid var(--amber);
}

.pix-notice[hidden] { display: none; }
.pix-notice span { color: var(--burgundy); font-size: 9px; font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase; }
.pix-notice strong { font-family: var(--display); font-size: 25px; font-weight: 500; letter-spacing: 0.5px; }
.pix-notice p { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

.card-fee-notice {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 177, 19, 0.14);
  border: 1px solid rgba(143, 29, 33, 0.25);
}
.card-fee-notice[hidden] { display: none; }
.card-fee-notice span { color: var(--burgundy); font-size: 10px; font-weight: 900; letter-spacing: 0.6px; text-transform: uppercase; }
.card-fee-notice strong { font-family: var(--display); font-size: 30px; font-weight: 500; line-height: 1; }
.card-fee-notice p { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

.checkout-submit {
  margin-top: 22px;
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.checkout-submit .whatsapp-mark { width: 28px; height: 28px; }
.checkout-continue > b { font-size: 20px; line-height: 1; }

.checkout-empty-state { padding: 70px 24px; text-align: center; background: rgba(255, 252, 245, 0.9); border: 1px solid var(--line); }
.checkout-empty-state > span { color: var(--burgundy); font-family: var(--display); font-size: 70px; line-height: 1; }
.checkout-empty-state h2 { margin: 12px 0 8px; font-family: var(--display); font-size: 38px; font-weight: 500; text-transform: uppercase; }
.checkout-empty-state p { max-width: 430px; margin: 0 auto 24px; color: var(--muted); line-height: 1.55; }
.checkout-empty-state a { display: inline-grid; min-height: 48px; padding: 0 22px; place-items: center; color: var(--cream); background: var(--ink); font-size: 11px; font-weight: 900; text-transform: uppercase; }

@media (max-width: 780px) {
  .checkout-topbar { min-height: 82px; padding: 12px 18px; }
  .checkout-brand img { width: 62px; height: 45px; }
  .checkout-brand strong { font-size: 21px; }
  .checkout-brand small { font-size: 7px; }
  .checkout-back { padding: 10px; font-size: 9px; }
  .checkout-main { width: min(100% - 28px, 620px); padding: 46px 0 70px; }
  .checkout-heading { margin-bottom: 28px; }
  .checkout-heading h1 { font-size: clamp(55px, 17vw, 76px); }
  .checkout-form { padding: 22px 18px 26px; }
}

@media (max-width: 430px) {
  .checkout-back { max-width: 95px; text-align: center; line-height: 1.3; }
  .checkout-address-grid { grid-template-columns: minmax(0, 1fr) 92px; gap: 13px 10px; }
  .checkout-form legend { font-size: 25px; }
}
