/* Garante que [hidden] não seja sobrescrito por display:grid/flex em modais */
[hidden] {
  display: none !important;
}

/* Foco visível (teclado) — WCAG */
*:focus {
  outline: none;
}
*:focus-visible {
  outline: 2px solid var(--ring-solid, rgba(0, 166, 156, 0.55));
  outline-offset: 2px;
}

/* Marketplace “Sol de Verão”: roxo + teal + amarelo (padrão anterior) */
:root {
  --heading: #4b2c6a;
  --heading-rgb: 75, 44, 106;
  --bg: #f4f2f8;
  --surface: #ffffff;
  --surface-2: #faf9fc;
  --border: #e8e4ef;
  --muted: #7c6b8a;
  --text: #453059;
  --primary: #00a69c;
  --primary-rgb: 0, 166, 156;
  --primary-hover: #008f86;
  --primary-soft: rgba(var(--primary-rgb), 0.14);
  --accent: #ffd300;
  --accent-rgb: 255, 211, 0;
  --accent-soft: rgba(var(--accent-rgb), 0.22);
  --mint: #dff5f2;
  --mint-deep: #c5ebe7;
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --ok: #00a86b;
  --ok-soft: rgba(0, 168, 107, 0.1);
  --ring: rgba(var(--primary-rgb), 0.35);
  --ring-solid: #00a69c;
  --shadow-sm: 0 1px 2px rgba(75, 44, 106, 0.06);
  --shadow: 0 4px 18px rgba(75, 44, 106, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.topbar__brand {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.storeHead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.storeHead__text {
  min-width: 0;
}
.storeHead__crumb {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logo.logo--brand {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(var(--heading-rgb), 0.12), 0 2px 8px rgba(var(--accent-rgb), 0.25);
}
.logo.logo--brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 16px;
  line-height: 1.2;
  color: var(--heading);
}
.brand-sub {
  font-size: 12px;
  color: var(--ok);
  font-weight: 600;
}
.ratingPill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  color: #3b2f00;
  background: linear-gradient(145deg, #ffe033 0%, var(--accent) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 2px 10px rgba(var(--accent-rgb), 0.35);
  white-space: nowrap;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 16px;
}
.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.hero__title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.hero__meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-top: 16px;
}
.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.section__head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.section__head--addresses {
  align-items: flex-start;
  flex-wrap: wrap;
}
.section__head--addresses .section__headText {
  flex: 1 1 220px;
  min-width: 0;
}
.section__head--addresses .section__sub {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  max-width: 36rem;
}
.section__head--addresses .section__headActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.section__head--orders {
  align-items: flex-start;
  flex-wrap: wrap;
}
.section__head--orders .section__headText {
  flex: 1 1 200px;
  min-width: 0;
}
.section__head--orders .section__sub {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  max-width: 36rem;
}
.section__head--orders .section__headActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.ordersHeadActions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ordersUpdatedAt {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.ordersFilterBar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.ordersFilterChip {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.ordersFilterChip:hover {
  background: var(--surface);
  border-color: rgba(var(--primary-rgb), 0.25);
}
.ordersFilterChip:active {
  transform: scale(0.98);
}
.ordersFilterChip--active {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  box-shadow: 0 1px 0 rgba(var(--primary-rgb), 0.2);
}
.orderCard.orderCard--open {
  border-color: rgba(var(--primary-rgb), 0.22);
}
.orderCard__summary {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 8px;
  font-weight: 600;
}
.orderCard__meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 6px;
}
.orderCard__metaUpdated {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.92;
}
.orderCard__toggle {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}
.orderCard__details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.orderCard__breakdown {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
}
.orderCard__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.orderCard__row--total {
  font-weight: 800;
  color: var(--heading);
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-size: 14px;
}
.orderCard__itemList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.orderCard__itemList li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  font-size: 13px;
  line-height: 1.35;
}
.orderCard__itemTop {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.orderCard__itemObs {
  font-size: 12px;
  font-weight: 500;
  padding-left: 2px;
  word-break: break-word;
}
.orderCard__itemQty {
  font-weight: 800;
  color: var(--primary);
  flex: 0 0 auto;
}
.orderCard__itemName {
  flex: 1 1 120px;
  min-width: 0;
  font-weight: 600;
  color: var(--text);
}
.orderCard__itemSub {
  margin-left: auto;
  font-weight: 700;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.addressesList {
  display: grid;
  gap: 12px;
}
.addressesList__loading {
  padding: 20px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.addressCard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  display: grid;
  gap: 0;
  box-shadow: var(--shadow-sm);
}
.addressCard--principal {
  border-color: rgba(var(--primary-rgb), 0.32);
  box-shadow: 0 4px 18px rgba(var(--primary-rgb), 0.1);
}
.addressCard__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.addressCard__name {
  font-weight: 800;
  font-size: 15px;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.addressCard__street {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-top: 8px;
}
.addressCard__extras {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}
.addressCard__extra {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.addressCard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.addressCard__eta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
}
.addressCard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.38);
}
.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}
.btn--accent{
  background: linear-gradient(145deg, #ffe033 0%, var(--accent) 100%);
  border-color: rgba(var(--accent-rgb), 0.45);
  color: #3b2f00;
  box-shadow: 0 2px 10px rgba(var(--accent-rgb), 0.35);
}
.btn--accent:hover{
  filter: brightness(0.98);
  border-color: rgba(var(--accent-rgb), 0.65);
}
.btn--danger {
  background: var(--danger-soft);
  border-color: rgba(220, 38, 38, 0.25);
  color: var(--danger);
}
.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn--ghost:hover {
  background: var(--surface-2);
  color: var(--heading);
}
.btn--block {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 16px;
}

.badge {
  margin-left: 8px;
  display: inline-block;
  min-width: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.btn--primary .badge {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.catalog {
  display: grid;
  gap: 12px;
}
.category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.category__title {
  padding: 12px 14px;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--heading);
}
.products {
  display: grid;
  gap: 8px;
  padding: 12px;
}
.product {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.product__name {
  font-weight: 800;
  font-size: 15px;
  color: var(--heading);
}
.product__desc {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.35;
}
.product__price {
  font-weight: 800;
  color: var(--primary);
  font-size: 15px;
  white-space: nowrap;
}

.ordersList__loading {
  padding: 4px 2px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.checkoutClosedBanner {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--heading);
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.28);
}
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.orders {
  display: grid;
  gap: 10px;
}
.order {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
}
.pill--ok {
  border-color: rgba(22, 163, 74, 0.35);
  background: var(--ok-soft);
  color: var(--ok);
}
.pill--danger {
  border-color: rgba(220, 38, 38, 0.35);
  background: var(--danger-soft);
  color: var(--danger);
}
.pill--warn {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}
.pill--mint {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}
.pill--sky {
  border-color: rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
}
.pill--blue {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.12);
  color: #1e40af;
}

.sheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
}
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 16px;
  z-index: 110;
}
.modal__card {
  width: min(720px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  position: relative;
}
@media (min-width: 560px) {
  .modal__card {
    border-radius: 16px;
  }
}
.modal__card--full {
  max-height: 90vh;
  overflow: auto;
}
/* Conta: corpo rolável; título e X permanecem visíveis */
.modal__card--account {
  max-height: min(92vh, 720px);
  display: flex;
  flex-direction: column;
}
.modal__body--account {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.modal__title {
  padding: 16px 44px 16px 16px;
  font-weight: 800;
  font-size: 17px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
}
.modal__body {
  padding: 16px;
  background: var(--surface);
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 8;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.modal__card--account .modal__title {
  position: relative;
  z-index: 1;
}
.modal__close:hover {
  background: var(--border);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.field span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline: none;
  font-size: 16px;
}
/* Checkboxes e radios não podem usar width:100% / min-height alto (quebra linha ao lado e “vaza” do card) */
.field input:not([type='checkbox']):not([type='radio']) {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline: none;
  font-size: 16px;
}
.field input[type='checkbox'],
.field input[type='radio'] {
  width: 1.125rem;
  height: 1.125rem;
  min-height: unset;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--primary);
  border-radius: 4px;
}
.field input[type='radio'] {
  border-radius: 999px;
}
.field textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline: none;
  font-size: 16px;
  line-height: 1.45;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

.rateGrid{display:grid; gap:10px}
@media (min-width:720px){
  .rateGrid{grid-template-columns: 1fr 1fr 1fr}
}

.rateStarsGrid{display:grid; gap:12px; margin-bottom: 12px}
.rateRow{display:flex; align-items:center; justify-content:space-between; gap:12px}
.rateRow__label{font-weight:800; color: var(--heading); font-size: 13px}
.rateRow__stars{display:flex; gap:6px}
.star{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: rgba(var(--heading-rgb), .28);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}
.star:hover{
  transform: translateY(-1px);
  background: var(--surface-2);
  border-color: rgba(var(--primary-rgb), .25);
}
.star--on{
  color: #f59e0b;
  border-color: rgba(245, 158, 11, .35);
  box-shadow: 0 2px 10px rgba(245, 158, 11, .18);
}

.orderActions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top: 10px;
}
.orderActions__left,.orderActions__right{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.orderActions__reorder{
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), .22);
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.grid2 {
  display: grid;
  gap: 10px;
}
@media (min-width: 720px) {
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
}

.cart {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}
.cartItem {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  align-items: start;
}
.cartItem__thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
}
.cartItem__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cartItem__thumbPh {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.35rem;
  background: rgba(var(--primary-rgb), 0.09);
}
.cartItem__body {
  min-width: 0;
}
.cartItem__body .product__name {
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.cartItem__sub{
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.cartItem__noteLabel {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.cartItem__note {
  width: 100%;
  max-width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.35;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  resize: vertical;
  min-height: 44px;
  box-sizing: border-box;
}
.cartItem__metaRow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: 6px;
  max-width: 100%;
}
.cartItem__metaText {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  flex: 1 1 100%;
  min-width: 0;
}
.cartItem__metaText--ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cartItem--metaExpanded .cartItem__metaText--ellipsis {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.cartItem__metaToggle {
  margin: 0;
  border: none;
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.cartItem__metaToggle:hover {
  text-decoration: underline;
}
.cartItem__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.cartItem__remove{
  width: auto;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  background: rgba(220, 38, 38, 0.08);
  color: rgb(185, 28, 28);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.cartItem__remove:hover{
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.35);
}
@media (max-width: 380px) {
  .cartItem {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .cartItem__thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
}
.qtyStepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.qtyStepper__btn {
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}
.qtyStepper__btn:active {
  background: var(--surface-2);
}
.qtyStepper__val {
  min-width: 2rem;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding: 0 4px;
}
.cartItem__lineTotal {
  font-size: 15px;
  font-weight: 800;
}
.btn--sm {
  padding: 6px 12px;
  font-size: 13px;
}
.summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  margin: 10px 0 12px;
}
.summaryRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.summaryRow strong {
  font-size: 15px;
  color: var(--primary);
  font-weight: 800;
}
.summaryMeta {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.summaryRow--total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  align-items: baseline;
}
.summaryRow--total .summaryTotalLabel {
  font-size: 16px;
  font-weight: 900;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.summaryRow--total .summaryTotalValue {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.summary--checkout {
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.couponPop{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .12) 0%, rgba(var(--primary-rgb), .06) 100%);
  padding: 14px;
}
.couponPop__badge{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(var(--accent-rgb), .25);
  border: 1px solid rgba(var(--accent-rgb), .35);
  margin-bottom: 10px;
  font-size: 20px;
}
.couponPop__lead{font-weight: 900; color: var(--heading); margin-bottom: 8px}
.couponPop__code{
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 18px;
  padding: 12px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px dashed rgba(var(--heading-rgb), .25);
  color: var(--primary);
  text-align: center;
  cursor: pointer;
  user-select: all;
}
.couponPop__code:hover{background: var(--surface-2)}
.couponPop__meta{margin-top: 8px; min-height: 1.2em}

.checkoutLayout{display:grid; gap:14px}
.checkoutGroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkoutGroup__eyebrow {
  margin: 0;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.checkoutGroup--delivery {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px dashed rgba(var(--heading-rgb), 0.12);
  gap: 10px;
}
.checkoutSection{
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.checkoutSection--cart {
  padding-bottom: 14px;
}
.checkoutSectionHead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.checkoutSectionHead__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  flex-shrink: 0;
}
.checkoutSectionHead__icon svg {
  display: block;
}
.checkoutSectionHead__title,
.checkoutSectionHead .checkoutSection__title {
  margin: 0;
  font-weight: 900;
  color: var(--heading);
  font-size: 15px;
  letter-spacing: -0.02em;
}
.checkoutSection__title{
  font-weight: 900;
  color: var(--heading);
  font-size: 13px;
  margin-bottom: 10px;
}
.checkoutStickyBar__tip {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.checkoutSide {
  position: relative;
  align-self: end;
}
.checkoutStickyBar {
  position: sticky;
  bottom: calc(-1 * env(safe-area-inset-bottom, 0px));
  z-index: 3;
  margin: 8px -16px -16px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 28px rgba(var(--heading-rgb), 0.08);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.checkoutStickyBar .summary {
  margin-top: 0;
}
.checkoutStickyBar__hint {
  margin-top: 8px;
  text-align: center;
  line-height: 1.4;
}
@media (min-width: 860px) {
  .checkoutLayout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
  .checkoutSide {
    position: sticky;
    top: 12px;
  }
  .checkoutStickyBar {
    position: static;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  .checkoutSide .summary--checkout {
    margin-bottom: 0;
  }
}

.bottomNav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  z-index: 25;
}
.bottomNav--six {
  grid-template-columns: repeat(6, 1fr);
}
.bottomNav--four {
  grid-template-columns: repeat(4, 1fr);
}
.bottomNav__btn {
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 8px 4px;
  display: grid;
  gap: 2px;
  place-items: center;
  font-weight: 700;
  font-size: 10px;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease;
}
.bottomNav__btn:hover {
  background: var(--surface-2);
  color: var(--heading);
}
.bottomNav__btn.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 800;
}
.bottomNav__icon {
  font-size: 20px;
  line-height: 1;
}
.bottomNav__icon--svg {
  display: grid;
  place-items: center;
  color: inherit;
}
.bottomNav__icon--svg svg {
  display: block;
}
.bottomNav__btn {
  min-height: 48px;
  padding: 6px 4px 8px;
}
.bottomNav__btn--cart {
  position: relative;
  color: var(--primary);
  font-weight: 800;
}
.bottomNav__btn--cart .bottomNav__icon--svg svg {
  width: 24px;
  height: 24px;
}
.bottomNav__badge {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(6px);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--heading);
  font-size: 10px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  border: 1px solid rgba(var(--heading-rgb), 0.12);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.bottomNav__btn--cart.active {
  background: var(--primary-soft);
}
.cashbackSaldoInline {
  font-weight: 800;
  color: var(--primary);
}

/* Conta */
.accountShortcutsLabel{
  margin: 14px 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.accountHello{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.accountModeRow{
  margin-top: 8px;
  display:flex;
  gap:8px;
  align-items:center;
}
.accountModePill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  background: rgba(var(--primary-rgb), 0.10);
  color: var(--primary);
}
.accountModePill--quick{
  border-color: rgba(var(--heading-rgb), 0.18);
  background: rgba(var(--heading-rgb), 0.07);
  color: var(--heading);
}
.accountActions{
  margin-top: 0;
  display: grid;
  gap: 10px;
}
.accountTile{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  text-align: left;
  transition: transform 0.12s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.accountTile:hover{
  border-color: rgba(var(--primary-rgb), 0.35);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.accountTile:active{
  transform: scale(0.99);
}
.accountTile:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}
.accountTile__icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--primary-soft);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  flex-shrink: 0;
}
.accountTile__body{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.accountTile__title{
  font-weight: 800;
  font-size: 15px;
  color: var(--heading);
}
.accountTile__hint{
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.accountTile__chev{
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
  opacity: 0.75;
}
.accountFooter{
  margin-top: 16px;
}
.accountEntryGrid{
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
@media (min-width: 420px){
  .accountEntryGrid{
    grid-template-columns: 1fr 1fr;
  }
}
.accountEntryTile{
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 14px 14px 16px;
  background: var(--surface-2);
  cursor: pointer;
  text-align: left;
  display: grid;
  gap: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.accountEntryTile:hover{
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: var(--shadow-sm);
}
.accountEntryTile:active{
  transform: scale(0.99);
}
.accountEntryTile:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}
.accountEntryTile__icon{
  font-size: 26px;
  line-height: 1;
}
.accountEntryTile__title{
  font-weight: 900;
  font-size: 15px;
  color: var(--heading);
}
.accountEntryTile__hint{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  font-weight: 600;
}
.accountEntryTile--quick{
  border-color: rgba(var(--heading-rgb), 0.14);
}
.accountEntryTile--full{
  border-color: rgba(var(--primary-rgb), 0.22);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), var(--surface-2));
}
.accountBenefitsCard{
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.06), var(--surface));
}
.accountBenefitsCard__title{
  font-weight: 900;
  font-size: 14px;
  color: var(--heading);
  margin-bottom: 10px;
}
.accountBenefitsCard__row{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.accountInfoCard{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  overflow: hidden;
}
.accountInfoRow{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.accountInfoRow:last-child{
  border-bottom: none;
}
.accountInfoRow__k{
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.accountInfoRow__v{
  font-size: 14px;
  font-weight: 800;
  color: var(--heading);
  text-align: right;
  word-break: break-word;
}
.accountBalance{
  font-weight: 1000;
  font-size: 20px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.accountInfoDetail__bar{
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin: -16px -16px 12px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}
.levelCompareTableWrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2px 0 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.levelCompareTable{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.levelCompareTable th,
.levelCompareTable td{
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.levelCompareTable thead th{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 900;
  color: var(--muted);
  background: var(--surface-2);
}
.levelCompareTable tbody th{
  font-weight: 700;
  color: var(--text);
  width: 36%;
}
.levelCompareTable td{
  font-weight: 700;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.levelCompareTable tbody tr:last-child th,
.levelCompareTable tbody tr:last-child td{
  border-bottom: none;
}
.levelCompareTable__row--gain td:last-child{
  background: rgba(var(--primary-rgb), 0.07);
}
.levelCompareTable__gain{
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.levelCompareHint{
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}
.accountLevelInsight__collapse{
  margin: 0 0 14px;
  font-weight: 800;
}
.accountInfoCard--form{
  padding: 12px 14px 14px;
  display: grid;
  gap: 10px;
}
.accountInfoCard--form .field{
  margin: 0;
}
.input--readonly{
  opacity: 0.85;
  cursor: not-allowed;
  background: var(--surface) !important;
}
.accountInfoEditActions{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
  flex-wrap: wrap;
}
.accountInfoRow__v--muted{
  color: var(--muted);
  font-weight: 700;
}

.accountLevelMini{
  position: relative;
  border-radius: 16px;
  padding: 14px 14px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.14), var(--surface-2) 55%, var(--surface));
  box-shadow: 0 8px 28px rgba(var(--heading-rgb), 0.08);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.accountLevelMini:hover{
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 10px 32px rgba(var(--primary-rgb), 0.12);
}
.accountLevelMini:focus-visible{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.accountLevelMini--open .accountLevelMini__chev{
  transform: rotate(180deg);
}
.accountLevelMini__glow{
  position: absolute;
  inset: -40% -20% auto;
  height: 80%;
  background: radial-gradient(ellipse at 30% 0%, rgba(var(--accent-rgb), 0.2), transparent 55%);
  pointer-events: none;
}
.accountLevelMini__top{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.accountLevelMini__eyebrow{
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.accountLevelMini__title{
  margin: 0;
  font-size: 20px;
  font-weight: 1000;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.accountLevelMini__sub{
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.accountLevelMini__chev{
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.2s ease;
  margin-top: 4px;
}
.accountLevelMini__tapHint{
  position: relative;
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
}
.accountLevelQuickNote{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: var(--surface-2);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 12px;
}

.levelProgressTrack{
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(var(--heading-rgb), 0.08);
  overflow: hidden;
}
.levelProgressTrack--sm{
  margin-top: 10px;
  height: 6px;
}
.levelProgressTrack--lg{
  height: 14px;
  margin-top: 14px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}
.levelProgressTrack__fill{
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.35);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.levelProgressTrack__fill--animated{
  position: relative;
}
.levelProgressTrack__fill--animated::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: levelShine 2.2s ease-in-out infinite;
}
@keyframes levelShine{
  0%{ transform: translateX(-100%); }
  100%{ transform: translateX(100%); }
}

.accountLevelInsight{
  border-radius: 18px;
  padding: 16px 16px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-sm);
}
.accountLevelInsight__header{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.accountLevelInsight__badge{
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.accountLevelInsight__name{
  margin: 0;
  font-size: 22px;
  font-weight: 1000;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.accountLevelInsight__lead{
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}
.accountLevelInsight__scale{
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.accountLevelInsight__stats{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.accountLevelInsight__stats li{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
}
.accountLevelInsight__stats li span:first-child{
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.accountLevelInsight__stats li span:last-child{
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.accountLevelInsight__section{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.accountLevelInsight__sectionTitle{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--heading);
}
.accountLevelInsight__benefits{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.accountLevelInsight__benefits li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.accountLevelInsight__benefits li::before{
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.12);
}
.accountLevelInsight__foot{
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}
.accountLevelInsight__ring{
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 1000;
  color: var(--heading);
  background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.22), rgba(var(--accent-rgb), 0.12));
  border: 1px solid rgba(var(--primary-rgb), 0.28);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.12);
}
.accountLevelInsight__ring span{
  line-height: 1;
}

/* —— Home: banner, chips, carrosséis —— */
.container--home {
  padding-top: 12px;
}

.homeHero {
  margin-bottom: 8px;
}

.deliveryPromo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  padding: 22px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--mint) 0%, #e8faf7 45%, var(--surface) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.deliveryPromo::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -40%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--primary-rgb), 0.07), transparent 65%);
  pointer-events: none;
}
.deliveryPromo__illus {
  position: relative;
  z-index: 1;
  font-size: 28px;
  line-height: 1;
  opacity: 0.92;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}
.deliveryPromo__illus--end {
  font-size: 26px;
}
.deliveryPromo__badge {
  position: relative;
  z-index: 1;
  margin: 0;
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  background: var(--primary);
  padding: 10px 14px;
  border-radius: 999px;
  max-width: min(100%, 290px);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}

.referralBanner {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--heading-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.08) 100%);
  border: 1px solid rgba(var(--heading-rgb), 0.2);
  box-shadow: var(--shadow-sm);
}
.referralBanner__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: var(--heading);
  line-height: 1.25;
}
.referralBanner__sub {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
}
.referralBanner__fine {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.35;
}

.accountReferral {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}
.accountReferral__title {
  font-weight: 900;
  font-size: 14px;
  color: var(--heading);
  margin: 0 0 6px;
}
.accountReferral__hint {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
}
.accountReferral .field--compact {
  margin-bottom: 8px;
}

@media (max-width: 400px) {
  .storeHead {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .storeHead .logo.logo--brand {
    grid-row: 1 / span 2;
    align-self: start;
  }
  .storeHead__text {
    grid-column: 2;
    grid-row: 1;
  }
  .ratingPill {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: 2px;
  }
}

/* Fallback da home (sem banners promocionais) */
.homeHeroFallback__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, #ffffff 0%, #f3fffd 38%, #eef9ff 72%, #ffffff 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px;
}
.homeHeroFallback__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--heading);
}
.homeHeroFallback__sub {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.homeHeroFallback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Carrossel de banners promocionais (admin) — imagem recomendada 1125×480 px (~2,35:1) */
.promoBanners {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-anchor: none;
  padding: 4px 2px 14px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.promoBanners__slide {
  flex: 0 0 min(92vw, 420px);
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.promoBanners__slide a {
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.promoBanners__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1125 / 480;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(125deg, #ffffff 0%, #f3fffd 38%, #eef9ff 72%, #ffffff 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: stretch;
  min-height: 168px;
}
.banner__content {
  flex: 1;
  padding: 18px 16px;
  z-index: 1;
}
.banner__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.banner__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--heading);
  max-width: 20ch;
}
.banner__sub {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.banner__art {
  width: 38%;
  max-width: 140px;
  min-width: 100px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    rgba(var(--primary-rgb), 0.16),
    rgba(var(--accent-rgb), 0.08)
  );
}
.banner__emoji {
  font-size: 72px;
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}
.banner__photo {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 0 16px 16px 0;
  display: block;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 4px;
  margin: 0 -4px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover {
  border-color: rgba(var(--primary-rgb), 0.45);
  background: var(--surface-2);
}
.chip--active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.28);
}

.section--tight {
  margin-top: 8px;
}
.sectionBlock {
  margin-bottom: 20px;
}
.sectionBlock__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 2px;
}
.sectionBlock__title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.sectionBlock__hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.section__head--catalog {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.scroller--products {
  min-height: 0;
}

.productTile {
  flex: 0 0 150px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.productTile__img {
  aspect-ratio: 1;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
.productTile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.productTile__placeholder {
  font-size: 48px;
  line-height: 1;
}
.productTile__body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.productTile__name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.productTile__price {
  font-size: 14px;
  font-weight: 900;
  color: var(--primary);
}
.productTile__row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.productTile__row .btn {
  flex: 1;
  padding: 8px 10px;
  font-size: 12px;
  border-radius: 10px;
}

.favBtn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.12s ease;
}
.favBtn:active {
  transform: scale(0.94);
}
.favBtn--on {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: rgba(var(--primary-rgb), 0.42);
}

.favoritesEmpty {
  margin: 0;
  padding: 8px 4px 16px;
}
.favoritesEmpty[hidden] {
  display: none !important;
}

/* Cardápio: linha com thumb + favorito */
.product {
  display: grid;
  grid-template-columns: 56px 1fr 120px;
  align-items: center;
  gap: 12px;
}
.product__media {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--surface-2);
  flex-shrink: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product__mediaEmoji {
  font-size: 28px;
}
.product__main {
  flex: 1;
  min-width: 0;
}
.product__actions {
  display: grid;
  grid-template-rows: 40px auto 1fr;
  gap: 8px;
  justify-items: end;
  align-items: start;
  width: 120px;
}
.product__actions .favBtn{
  width: 36px;
  height: 36px;
  border-radius: 12px;
}
.product__actions .product__price{
  justify-self: end;
  font-size: 14px;
  font-weight: 900;
}
.product__actions .btn{
  width: 100%;
  justify-self: stretch;
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 900;
}
.product__name{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product--clickable:hover{
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 6px 18px rgba(var(--heading-rgb), 0.08);
  background: var(--surface);
}

.product--clickable,
.productTile--clickable {
  cursor: pointer;
}
.product--clickable:focus-visible,
.productTile--clickable:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.optGroup {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.optGroup__title {
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
}
.optGroup__hint {
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.optGroup__choices {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.optChoice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
}
.optChoice input {
  margin-top: 3px;
}
.optChoice__img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.productModal__sectionTitle {
  font-weight: 600;
  margin: 12px 0 6px;
  color: var(--heading);
}
.productModal__checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.productModal__lineNoteWrap {
  margin-top: 12px;
}
.productModal__lineNoteLabel {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}
.productModal__lineNote {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.35;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  resize: vertical;
}

.productModal__media {
  width: 100%;
  max-height: 220px;
  margin: 0 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
}
.productModal__media img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}
.productModal__placeholder {
  font-size: 64px;
  line-height: 1;
  opacity: 0.75;
}

/* Skeleton (carregamento) */
@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(
    110deg,
    var(--surface-2) 8%,
    #fff 18%,
    var(--surface-2) 33%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.skeleton--line {
  height: 14px;
  margin-bottom: 10px;
}
.skeleton--line.short {
  width: 55%;
}
.skeleton--card {
  height: 88px;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.catalogSkeleton {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0 16px;
}
.ordersSkeleton .skeleton--card {
  height: 96px;
}

/* Estado vazio padronizado */
.emptyState {
  text-align: center;
  padding: 28px 20px 32px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  background: var(--surface);
  max-width: 320px;
  margin: 12px auto;
}
.emptyState__icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(var(--heading-rgb), 0.12));
}
.emptyState__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.emptyState__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 16px;
}
.emptyState .btn {
  min-width: 160px;
}
.loginHint {
  text-align: center;
  padding: 28px 16px;
  font-size: 14px;
  line-height: 1.45;
}
.emptyState--bare {
  max-width: none;
  margin: 8px 0 16px;
  padding: 20px 16px 18px;
  border-style: solid;
  border-radius: 14px;
  border-color: var(--border);
  background: var(--surface-2);
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}
.cartEmptyHint .emptyState__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}
.cartEmptyHint .cartEmptyHint__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--heading);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.cartEmptyHint .cartEmptyHint__text {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.cartEmptyHint .cartEmptyHint__cta {
  min-width: 200px;
}

/* Faixa “há promoções” + preços riscados */
.catalogPromoStrip {
  margin: 10px 0 4px;
}
.catalogPromoStrip__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  color: var(--heading);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
}
.catalogPromoStrip__ic {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.priceStrike {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92em;
}
.priceSale {
  color: var(--primary);
  font-weight: 900;
}
.productTile__price--promo,
.product__price--promo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

/* Combo no modal de produto + promo relâmpago */
.productModal__comboProgress {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: var(--accent-soft);
  color: var(--heading);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
}
.productModal__flashRow {
  margin: 0 0 12px;
}
.productFlashTimer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff6b35, #f72585);
  box-shadow: 0 2px 10px rgba(247, 37, 133, 0.35);
}
.productTile__flash,
.product__flash {
  margin-top: 6px;
}
.productTile__flash .productFlashTimer,
.product__flash .productFlashTimer {
  font-size: 12px;
  padding: 4px 8px;
}

.productModal__upsellsWrap {
  margin: 0 0 14px;
}
.productModalUpsells {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.productModalUpsell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.productModalUpsell--featured {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(135deg, var(--accent-soft), var(--surface-2));
}
.productModalUpsell__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}
.productModalUpsell__img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.productModalUpsell__main {
  min-width: 0;
  flex: 1;
}
.productModalUpsell__title {
  font-weight: 800;
  font-size: 15px;
  color: var(--heading);
  line-height: 1.3;
}
.productModalUpsell__text {
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.35;
}
.productModalUpsell__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 6px;
}
.productModalUpsell .btn {
  align-self: flex-end;
}
