/* ════════════════════════════════════════
   PedeFlix — loja.css (Página do cliente)
   ════════════════════════════════════════ */

:root {
  --brand: #F97316;
  --brand-dark: #c45a0c;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --border: #ebebeb;
  --text: #1a1a1a;
  --text-muted: #888;
  --radius: 14px;
  --font-head: 'Nunito', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.18s ease;
  /* overridden by store color */
  --store-color: #F97316;
  --store-text: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}

.hidden { display: none !important; }

/* ── LOADING ── */
.loading-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 15px;
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── NOT FOUND ── */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}
.nf-icon { font-size: 56px; }
.not-found h2 { font-family: var(--font-head); font-size: 22px; }
.not-found p { color: var(--text-muted); }

/* ── FAIXA "LOJA FECHADA" (topo da página) ── */
.store-closed-banner {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: #dc2626;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
}
.store-closed-banner-icon { font-size: 15px; flex-shrink: 0; }

/* ════════════════════════════════════════
   HEADER
   ════════════════════════════════════════ */

.store-header {
  background: var(--store-color);
  color: var(--store-text);
  padding: 24px 16px 28px;
}
.header-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-logo-wrap { flex-shrink: 0; }
.header-logo {
  width: 72px; height: 72px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
}
.header-initials {
  width: 72px; height: 72px;
  border-radius: 16px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--store-text);
  border: 3px solid rgba(255,255,255,0.3);
}
.header-name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.header-desc { font-size: 14px; opacity: 0.85; margin-bottom: 4px; }
.header-address { font-size: 12.5px; opacity: 0.65; }

/* ── CATEGORY NAV ── */
.cat-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cat-nav-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 8px;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav-btn {
  padding: 14px 18px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}
.cat-nav-btn:hover { color: var(--text); }
.cat-nav-btn.active {
  color: var(--store-cat-active, var(--store-color));
  border-bottom-color: var(--store-cat-active, var(--store-color));
  font-weight: 600;
}

/* ── MENU ── */
.store-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 120px;
}

.menu-container { display: flex; flex-direction: column; gap: 32px; }

.menu-section {}
.menu-section-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--store-text, #fff);
  background: var(--store-color);
  padding: 5px 14px 5px 10px;
  border-radius: 0 20px 20px 0;
  margin-left: -16px;
  letter-spacing: 0.3px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.10);
}

.items-grid { display: flex; flex-direction: column; gap: 10px; }

.item-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.item-card-img-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.item-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item-add-btn-over {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--color-primary, #f97316);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  pointer-events: none;
}

.item-card:hover {
  border-color: var(--store-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.item-card:active { transform: translateY(0); }
.item-card.unavailable { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

.item-card-info { flex: 1; }
.item-card-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.item-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.item-card-price {
  font-weight: 700;
  font-size: 16px;
  color: var(--store-price, var(--store-color));
  white-space: nowrap;
  margin-top: 6px;
}
.item-card-badge {
  font-size: 11px;
  background: #fff4ed;
  color: #c45a0c;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 600;
  margin-left: 6px;
}
.item-add-btn {
  width: 34px; height: 34px;
  background: var(--store-color);
  color: var(--store-text);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
}

/* ── CART FAB ── */
.cart-fab {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface, #fff);
  color: var(--text, #111);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  z-index: 40;
  border-top: 1px solid var(--border, #eee);
  animation: fabIn 0.3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes fabIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cart-fab-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted, #666);
  flex-shrink: 0;
}
.cart-fab-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.cart-fab-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #111);
}
.cart-fab-total {
  font-size: 12px;
  color: var(--text-muted, #888);
  font-weight: 500;
}
.cart-fab-btn {
  background: var(--store-cart-btn, var(--store-color));
  color: var(--store-cart-btn-text, #fff);
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body, inherit);
}

/* ════════════════════════════════════════
   BOTTOM SHEETS
   ════════════════════════════════════════ */

.bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
/* Bloqueia touch na página apenas quando o modal está visível */
.bottom-sheet-overlay:not(.hidden) {
  touch-action: none;
}
.bottom-sheet {
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 16px);
  display: flex;
  flex-direction: column;
  overflow: clip;
  animation: sheetUp 0.28s cubic-bezier(.34,1.1,.64,1);
}
.bottom-sheet-tall {
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 8px);
}
@keyframes sheetUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.sheet-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 100px;
  margin: 12px auto 8px;
  flex-shrink: 0;
  cursor: grab;
  touch-action: none;
}
.sheet-scroll {
  overflow-y: auto;
  padding: 16px 20px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 16px));
  flex: 1;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-padding-bottom: 80px; /* garante espaço abaixo do campo focado */
}

/* ── ITEM MODAL ── */
.item-modal-head { margin-bottom: 20px; }
.item-modal-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.item-modal-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }
.item-modal-price { font-size: 20px; font-weight: 700; color: var(--store-color); }

.modal-extras { margin-bottom: 20px; }
.extras-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.extras-options { display: flex; flex-direction: column; gap: 8px; }
.extra-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 10px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.extra-opt:hover { border-color: var(--store-color); }
.extra-opt input { display: none; }
.extra-opt.selected { border-color: var(--store-color); background: #fff8f8; }
.extra-opt-name { flex: 1; font-size: 14px; font-weight: 500; }
.variation-opt-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.variation-opt-info .extra-opt-name { flex: none; }
.variation-opt-desc { font-size: 12px; color: var(--text-muted, #888); font-weight: 400; line-height: 1.4; }
.extra-opt-price { font-size: 13px; color: var(--store-color); font-weight: 600; padding-top: 2px; }
.extra-check {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  margin-top: 1px;
}
.extra-opt.selected .extra-check {
  background: var(--store-color);
  border-color: var(--store-color);
  color: #fff;
  font-size: 12px;
}

.extra-opt.extra-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  filter: grayscale(40%);
}
.extras-limit-info {
  font-size: 12px;
  color: var(--text-muted, #888);
  margin-bottom: 10px;
  font-weight: 500;
  transition: color 0.2s;
}

.obs-section { margin-bottom: 20px; }
.obs-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  outline: none;
  resize: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.obs-input:focus { border-color: var(--store-color); }

.item-modal-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--border); }
.qty-value { font-size: 16px; font-weight: 600; padding: 0 4px; min-width: 24px; text-align: center; }
.btn-add-cart {
  flex: 1;
  background: var(--store-color);
  color: var(--store-text);
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-add-cart:hover { filter: brightness(0.92); }

/* ── CART BACK BUTTON — sticky header ── */
.cart-modal-sticky-header {
  flex-shrink: 0;
  padding: 8px 20px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.cart-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--store-color);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  min-height: 44px;               /* iOS recommended tap target */
  -webkit-tap-highlight-color: transparent;
  transition: opacity var(--transition);
}
.cart-back-btn:active { opacity: 0.6; }

/* ── ADDRESS FIELDS ── */
.address-section-group { display: flex; flex-direction: column; gap: 10px; }
.address-number-bairro-row { display: flex; gap: 10px; }
.address-number-bairro-row .field-group:first-child { flex: 0 0 100px; }
.address-number-bairro-row .field-group:last-child { flex: 1; }

/* ── CART TITLE (remove emoji style) ── */
.cart-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.nf-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: var(--text-muted); }

/* ── AVISO "LOJA FECHADA" NA ETAPA 1 DO CARRINHO ── */
.cart-closed-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff4f4;
  border: 1.5px solid #f5b5b5;
  color: #b42318;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 4px 0 14px;
}
.cart-closed-notice-icon { font-size: 18px; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.cart-closed-notice strong { display: block; font-size: 13.5px; margin-bottom: 2px; }
.cart-closed-notice p { font-size: 13px; color: #b42318; opacity: 0.9; }
.cart-step-next-btn:disabled,
.cart-step-next-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.cart-items-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cart-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 10px;
  border: 1.5px solid var(--border);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14px; }
.cart-item-extras { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.cart-item-obs { font-size: 12px; color: var(--text-muted); font-style: italic; }
.cart-item-price { font-weight: 700; color: var(--store-color); font-size: 15px; white-space: nowrap; }
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--text-muted);
}
.cart-item-remove:hover { background: #fff4ed; color: #c45a0c; }

.cart-summary {
  background: var(--bg);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.cart-summary-row { display: flex; justify-content: space-between; }
.cart-summary-row.total { font-weight: 700; font-size: 16px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--border); }

/* ── CHECKOUT ── */
.checkout-section { display: flex; flex-direction: column; gap: 16px; }
.checkout-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; }

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.field-group input, .field-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px; /* Prevent iOS zoom on focus */
}
.field-group input:focus, .field-group textarea:focus { 
  border-color: var(--store-color); 
  outline: none;
}

.delivery-options, .payment-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.delivery-opt, .payment-opt {
  flex: 1;
  min-width: 120px;
  cursor: pointer;
}
.delivery-opt input, .payment-opt input { display: none; }
.delivery-opt-box, .payment-opt-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
}
.delivery-opt input:checked + .delivery-opt-box,
.payment-opt input:checked + .payment-opt-box {
  border-color: var(--store-color);
  background: #fff8f8;
  color: var(--store-color);
  font-weight: 700;
}

.checkout-error {
  background: #fff7ed;
  color: #c45a0c;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: filter var(--transition), transform var(--transition);
  margin-top: 4px;
}
.btn-whatsapp:hover { filter: brightness(0.92); transform: translateY(-1px); }
.whatsapp-icon { font-size: 22px; }
.whatsapp-hint { text-align: center; font-size: 12px; color: var(--text-muted); }

/* ── Seletor Sabor Único / Meio a Meio ─────────────────────── */
.half-mode-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.half-mode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  border: 2px solid var(--border, #e0e0e0);
  border-radius: 14px;
  background: var(--surface, #fff);
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: var(--font-body, sans-serif);
}
.half-mode-btn:hover {
  border-color: var(--primary, #e53935);
  background: var(--primary-light, #fff3f3);
}
.half-mode-btn.active {
  border-color: var(--primary, #e53935);
  background: var(--primary-light, #fff3f3);
  box-shadow: 0 0 0 2px var(--primary, #e53935)22;
}
.half-mode-icon { font-size: 28px; line-height: 1; }
.half-mode-label { font-size: 14px; font-weight: 600; color: var(--text, #212121); }

/* ── Multi-group variations ── */
.variation-group-section { margin-bottom: 4px; }
.variation-group-section:not(:first-child) { margin-top: 12px; }
.variation-checkbox {
  border-radius: 4px; /* quadrado para checkbox */
}
.variation-radio {
  border-radius: 50%; /* círculo para radio */
}

/* ─── Bairro select estilizado ─── */
.bairro-select-styled {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px !important;
  cursor: pointer;
  font-size: 15px;
  color: var(--text, #222);
  border: 2px solid var(--store-color, #e63946);
  border-radius: 12px;
  padding: 14px 42px 14px 16px;
  background-color: #fff;
  width: 100%;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.bairro-select-styled:focus {
  outline: none;
  border-color: var(--store-color, #e63946);
  box-shadow: 0 0 0 3px rgba(var(--store-color-rgb, 230,57,70), 0.15);
}
.bairro-select-styled option:first-child {
  color: #999;
}

/* ─── Cart summary entrega hint ─── */
.cart-summary-bairro-hint .bairro-hint-text {
  font-size: 0.8rem;
  color: var(--store-color, #e63946);
  font-style: italic;
  font-weight: 500;
}

/* ─────────────────────────────────────────
   STEP-BY-STEP CHECKOUT
   ───────────────────────────────────────── */

/* Stepper dots + linhas no header */
.cart-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  padding-right: 4px;
}
.cart-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.2s;
}
.cart-step-dot.active {
  background: var(--store-color, #e63946);
  transform: scale(1.2);
}
.cart-step-dot.done {
  background: var(--store-color, #e63946);
  opacity: 0.45;
  transform: scale(1);
}
.cart-step-line {
  width: 28px;
  height: 2px;
  background: #ddd;
  flex-shrink: 0;
  transition: background 0.25s;
}
.cart-step-line.active {
  background: var(--store-color, #e63946);
}

/* Step panels */
.cart-step-panel { display: flex; flex-direction: column; gap: 16px; }
.cart-step-subtitle { margin: -8px 0 0; font-size: 0.93rem; color: var(--text-muted, #666); }

/* Botão "Continuar" da etapa */
.cart-step-next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 15px;
  background: var(--store-color, #e63946);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.15s;
  margin-top: 4px;
}
.cart-step-next-btn:active { opacity: 0.85; transform: scale(0.98); }

/* ── Botões grandes de entrega/retirada ── */
.delivery-choice-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.delivery-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 18px 10px;
  border: 2px solid #e0e0e0;
  border-radius: 14px;
  background: var(--surface, #fff);
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  font-size: inherit;
}
.delivery-choice-btn.selected {
  border-color: var(--store-color, #e63946);
  background: color-mix(in srgb, var(--store-color, #e63946) 8%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--store-color, #e63946) 20%, transparent);
}
.delivery-choice-emoji { font-size: 2rem; line-height: 1; }
.delivery-choice-label { font-weight: 700; font-size: 0.97rem; }
.delivery-choice-desc { font-size: 0.78rem; color: var(--text-muted, #888); }

/* ── Botões grandes de pagamento ── */
.payment-choice-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.payment-choice-btn {
  flex: 1 1 calc(33% - 10px);
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 8px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: var(--surface, #fff);
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  font-size: inherit;
}
.payment-choice-btn.selected {
  border-color: var(--store-color, #e63946);
  background: color-mix(in srgb, var(--store-color, #e63946) 8%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--store-color, #e63946) 20%, transparent);
}
.payment-choice-emoji { font-size: 1.6rem; line-height: 1; }
.payment-choice-label { font-weight: 700; font-size: 0.88rem; }

/* Resumo compacto na etapa 3 */
.step3-summary {
  background: var(--surface, #f9f9f9);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 4px;
}
