/* ==========================================
   NEXA ARTES — Design System
   ========================================== */
:root {
  /* Paleta da marca */
  --nx-pink: #FF5AA5;

  /* Superfícies (light) */
  --bg-0: #ffffff;
  --bg-1: #ffffff;
  --bg-2: #f5f3fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.70);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --border: rgba(20, 10, 50, 0.08);
  --border-strong: rgba(20, 10, 50, 0.16);

  /* Texto */
  --text: #1a1230;
  --text-dim: #5a5270;
  --text-mute: #8a83a6;
  --danger: #e23a5a;
  --success: #1aa876;

  /* Cor primária — rosa acolhedor (inspirado no dashboard de referência) */
  --primary: #E8527A;
  --primary-hover: #D63D68;
  --primary-soft: rgba(232, 82, 122, 0.12);

  /* Dimensões — mais arredondado para um visual amigável */
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-1: 0 4px 12px rgba(20, 10, 50, 0.05);
  --shadow-2: 0 10px 28px rgba(20, 10, 50, 0.10);
  --shadow-glow: 0 0 28px rgba(232, 82, 122, 0.18);

  /* Safe areas */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Alturas */
  --topbar-h: 64px;
  --bottomnav-h: 64px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Poppins', sans-serif;
}

html, body { height: 100%; }

html {
  background: #ffffff;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  position: relative;
  background-color: #ffffff;
  background-image: url('assets/layout/background.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding-top: calc(var(--topbar-h) + var(--safe-top) + 8px);
  padding-bottom: calc(var(--bottomnav-h) + var(--safe-bottom) + 8px);
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

img, picture, video { max-width: 100%; display: block; }

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

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

/* Fundo extra (manchas MUITO sutis da marca) */
.bg-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(700px 500px at 10% -10%, rgba(29,166,255,.06), transparent 60%),
    radial-gradient(700px 500px at 110% 110%, rgba(232,75,216,.06), transparent 60%);
}

/* ==========================================
   TOP BAR FIXA
   ========================================== */
.fixed-top-bar {
  position: fixed;
  top: calc(var(--safe-top) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  max-width: 540px;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: var(--surface-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  z-index: 1000;
  overflow: hidden;
}

.fixed-top-bar-title {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}
.top-bar-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.fixed-top-bar-icons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.fixed-top-bar-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  background: rgba(20,10,50,.05);
  border: 1px solid var(--border);
  transition: transform .2s ease, background .2s ease;
}
.fixed-top-bar-icon:hover { transform: scale(1.08); background: rgba(20,10,50,.10); }
.fixed-top-bar-icon img { width: 100%; height: 100%; object-fit: contain; }

.fixed-top-bar-button {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.1;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(232,82,122,.32);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fixed-top-bar-button:hover { transform: translateY(-1px); background: var(--primary-hover); box-shadow: 0 6px 18px rgba(232,82,122,.45); }

/* ==========================================
   HEADER VIDEO
   ========================================== */
.header-video-container {
  width: 100%;
  padding: 8px 12px 0;
}
.header-video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2), 0 0 40px rgba(59,91,255,.25);
}

/* ==========================================
   PRODUCT NAV (topo/rodapé das seções)
   ========================================== */
.product-nav-top,
.product-nav-bottom {
  display: flex;
  gap: 6px;
  padding: 8px;
  margin: 12px 12px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-x: auto;
  scrollbar-width: none;
}
.product-nav-top::-webkit-scrollbar,
.product-nav-bottom::-webkit-scrollbar { display: none; }

.product-nav-button {
  flex: 1 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-weight: 500;
  font-size: .82rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all .25s ease;
}
.product-nav-button.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(18,16,42,.18);
}
.product-nav-button:not(.active):hover { background: rgba(20,10,50,.04); color: var(--text); }
.product-nav-bottom { margin: 18px 0 0; }

/* ==========================================
   TOOLBAR (busca/filtros)
   ========================================== */
.toolbar {
  margin: 10px 12px 0;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-wrap { position: relative; }
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-mute);
  pointer-events: none;
}
.search-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 40px 10px 38px;
  background: var(--bg-2);
  color: var(--text);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: .95rem;
}
.search-input::placeholder { color: var(--text-mute); }
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(20,10,50,.07);
  color: var(--text-dim);
  cursor: pointer;
  font-size: .7rem;
}
.search-clear:hover { background: rgba(20,10,50,.12); color: var(--text); }

.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.filter-select {
  flex: 1 1 140px;
  min-height: 40px;
  padding: 8px 12px;
  background: var(--bg-2);
  color: var(--text);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: .85rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}
.filter-select option { background: var(--bg-2); color: var(--text); }
.price-range {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 160px;
  color: var(--text-mute);
  font-size: .85rem;
}
.price-input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  text-align: center;
}
.price-input:focus { border-color: var(--primary); }
/* ==========================================
   SECTIONS + GRID
   ========================================== */
main { flex: 1; width: 100%; }

.content-section { display: none; }
.content-section.active { display: block; }

.section {
  margin: 12px;
  padding: 16px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-1);
}
.section-title {
  font-family: 'Orbitron', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .04em;
  margin-bottom: 12px;
  color: var(--text);
  text-align: center;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin: 6px auto 0;
  border-radius: 2px;
  background: var(--primary);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Empty / no-results */
.empty-message {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-mute);
  padding: 24px 12px;
  font-size: .9rem;
}

/* Spinner */
.loading-spinner {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 24px;
}
.spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(20,10,50,.12);
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Skeleton */
.product-skeleton {
  background: linear-gradient(90deg, rgba(20,10,50,.03), rgba(20,10,50,.07), rgba(20,10,50,.03));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
  min-height: 260px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ==========================================
   PRODUCT CARD
   ========================================== */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }

.product-img-container {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  background: var(--bg-2);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .product-img { transform: scale(1.03); }

.product-share-button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
  z-index: 2;
  animation: shareFloat 3s ease-in-out infinite;
}
.product-share-button svg { width: 16px; height: 16px; }
.product-share-img { width: 28px; height: 28px; object-fit: contain; display: block; filter: drop-shadow(0 2px 6px rgba(232,82,122,.45)); }
.product-share-button:hover { transform: scale(1.15); filter: brightness(1.1); animation-play-state: paused; }
@keyframes shareFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}

.product-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}
.product-delivery-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(26, 168, 118, 0.10);
  border: 1px solid rgba(26, 168, 118, 0.22);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-bottom: 4px;
  letter-spacing: .01em;
}
.product-title {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
}
.product-old-price {
  font-size: .72rem;
  color: var(--text-mute);
  text-decoration: line-through;
  margin-top: 4px;
}
.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.product-timer {
  font-size: .68rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}
.product-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.buy-button,
.add-cart-button {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1.1;
}
.buy-button {
  background: var(--primary);
  color: #fff;
}
.buy-button:hover:not([disabled]) { background: var(--primary-hover); transform: translateY(-1px); }
.buy-button[disabled] { opacity: .5; cursor: not-allowed; }
.add-cart-button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.add-cart-button:hover:not([disabled]) { background: rgba(20,10,50,.04); }
.add-cart-button.added {
  background: rgba(61,220,151,.15);
  color: var(--success);
  border-color: rgba(61,220,151,.4);
}

/* ==========================================
   PRODUCT MODAL
   ========================================== */
.product-modal,
.payment-modal,
.cart-checkout-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3,1,12,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: flex-start;
  justify-content: center;
  padding: 16px 12px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.product-modal[style*="flex"],
.payment-modal[style*="flex"] { display: flex; }
.cart-checkout-modal.active { display: flex; }

.product-modal-content,
.payment-modal-content,
.cart-checkout-content {
  width: 100%;
  max-width: 440px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2), var(--shadow-glow);
  padding: 16px;
  position: relative;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}

.product-modal-close,
.payment-modal-close,
.cart-checkout-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20,10,50,.07);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  z-index: 5;
  transition: background .2s ease;
}
.product-modal-close:hover,
.payment-modal-close:hover,
.cart-checkout-close:hover { background: rgba(20,10,50,.14); }

.product-modal-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--bg-2);
  margin-bottom: 12px;
}
.product-modal-info { display: flex; flex-direction: column; gap: 8px; }
.product-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.product-modal-price-container {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.product-modal-old-price {
  font-size: .9rem;
  color: var(--text-mute);
  text-decoration: line-through;
}
.product-modal-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}
.product-modal-timer {
  font-size: .82rem;
  color: var(--primary);
  font-weight: 600;
}
.product-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.product-modal-button {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  font-size: .92rem;
  transition: all .2s ease;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-modal-button-buy {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232,82,122,.35);
}
.product-modal-button-buy:hover { background: var(--primary-hover); transform: translateY(-1px); }
.product-modal-button-cart {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.product-modal-button-cart:hover { background: rgba(20,10,50,.04); }
.product-modal-button-cart.added {
  background: rgba(61,220,151,.15);
  color: var(--success);
  border-color: rgba(61,220,151,.4);
}
.product-modal-row-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.product-modal-button-continue {
  flex: 1;
  background: rgba(20,10,50,.03);
  color: var(--text-dim);
  font-size: .82rem;
  min-height: 40px;
}
.product-modal-button-share {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(20,10,50,.05);
  color: var(--text);
  flex: 1;
}
.product-modal-button-share:hover { background: rgba(20,10,50,.10); }
.product-modal-button-share svg { width: 18px; height: 18px; flex-shrink: 0; }

.product-modal-warning {
  font-size: .78rem;
  color: var(--text-dim);
  padding: 10px;
  background: rgba(255,208,0,.08);
  border: 1px solid rgba(255,208,0,.25);
  border-radius: var(--radius);
  margin-top: 4px;
}
.product-modal-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
  color: var(--text-mute);
  font-size: .78rem;
}
.product-modal-seal img { height: 24px; width: auto; filter: brightness(1.05); }
.product-modal-seal-text { font-weight: 500; }

/* ==========================================
   PAYMENT MODAL / CHECKOUT FORM
   ========================================== */

/* Seletor de método de pagamento */
.payment-method-selector {
  margin-bottom: 12px;
}
.payment-method-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.payment-method-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--bg-1);
}
.payment-method-option:hover { border-color: var(--border-strong); background: var(--bg-2); }
.payment-method-option.selected { border-color: var(--primary); background: var(--primary-soft); }
.payment-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-dim);
}
.payment-method-option.selected .payment-method-icon { background: var(--primary); color: #fff; }
.payment-method-info { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.payment-method-name { font-size: .85rem; font-weight: 700; color: var(--text); }
.payment-method-desc { font-size: .72rem; color: var(--text-mute); }
.payment-method-badge {
  font-size: .62rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.payment-form-title,
.cart-checkout-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.form-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg-2);
  color: var(--text);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 1rem;
  touch-action: manipulation;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.form-input.error { border-color: var(--danger); }
.error-message {
  display: none;
  font-size: .75rem;
  color: var(--danger);
  margin-top: 4px;
}
.payment-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.payment-button {
  flex: 1;
  min-height: 46px;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  font-size: .92rem;
  transition: all .2s ease;
}
.payment-button-cancel {
  background: rgba(20,10,50,.05);
  color: var(--text-dim);
}
.payment-button-cancel:hover { background: rgba(20,10,50,.10); color: var(--text); }
.payment-button-pay {
  background: var(--primary);
  color: #fff;
}
.payment-button-pay:hover:not([disabled]) { background: var(--primary-hover); transform: translateY(-1px); }
.payment-button-pay[disabled] { opacity: .6; cursor: wait; }

/* Status screens (loading / pix / sucesso / erro) */
.payment-status {
  text-align: center;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.payment-status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}
.payment-status-icon.success { background: rgba(61,220,151,.18); color: var(--success); border: 2px solid rgba(61,220,151,.4); }
.payment-status-icon.error   { background: rgba(255,92,122,.18); color: var(--danger); border: 2px solid rgba(255,92,122,.4); }
.payment-status-icon.loading { background: rgba(29,166,255,.18); }
.payment-status-title { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.payment-status-message { color: var(--text-dim); font-size: .85rem; }
.spinner-container { position: relative; width: 60px; height: 60px; }
.spinner-large {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 4px solid rgba(20,10,50,.08);
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}
.pix-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.pix-qr-code {
  background: #fff;
  padding: 8px;
  border-radius: var(--radius);
}
.pix-qr-code img { width: 180px; height: 180px; display: block; }
.pix-code {
  width: 100%;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .72rem;
  word-break: break-all;
  text-align: center;
  color: var(--text-dim);
  font-family: monospace;
}
.copy-pix-button {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.copy-pix-button:hover:not([disabled]) { background: var(--primary-hover); }
.status-buttons { width: 100%; display: flex; gap: 8px; margin-top: 8px; }
.status-button {
  flex: 1;
  min-height: 44px;
  padding: 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  font-size: .9rem;
}
.status-button-primary { background: var(--primary); color: #fff; }
.status-button-secondary { background: rgba(20,10,50,.05); color: var(--text-dim); }
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff;
  font-weight: 600;
  margin-top: 6px;
}
.whatsapp-icon { width: 20px; height: 20px; }

/* ==========================================
   CART DRAWER
   ========================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,1,12,.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 1800;
}
.cart-drawer-overlay.active { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  background: var(--bg-1);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -12px 32px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.2,.9,.3,1);
  z-index: 1900;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--safe-bottom);
}
.cart-drawer.active { transform: translate(-50%, 0); }
.cart-drawer-handle {
  width: 44px;
  height: 4px;
  margin: 8px auto 4px;
  border-radius: 4px;
  background: rgba(20,10,50,.14);
}
.cart-drawer-header {
  padding: 8px 16px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.cart-clear-button {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,92,122,.14);
  color: var(--danger);
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
}
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
}
.cart-empty-message {
  text-align: center;
  color: var(--text-mute);
  padding: 32px 16px;
  font-size: .9rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cart-item-image {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-0);
}
.cart-item-info { min-width: 0; }
.cart-item-title {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}
.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,92,122,.12);
  color: var(--danger);
  font-size: 1.1rem;
  cursor: pointer;
}
.cart-item-remove:hover { background: rgba(255,92,122,.25); }
.cart-drawer-footer {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1rem;
}
.cart-total-label { color: var(--text-dim); }
.cart-total-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}
.cart-checkout-button {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: .95rem;
  box-shadow: 0 6px 18px rgba(232,82,122,.32);
  transition: background .2s ease, transform .2s ease;
}
.cart-checkout-button:not([disabled]):hover { background: var(--primary-hover); transform: translateY(-1px); }
.cart-checkout-button[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.cart-continue-button {
  width: 100%;
  min-height: 40px;
  padding: 10px;
  border-radius: var(--radius-pill);
  background: rgba(20,10,50,.03);
  color: var(--text-dim);
  font-weight: 500;
  cursor: pointer;
  font-size: .85rem;
}

/* Cart summary (dentro do modal de checkout) */
.cart-summary {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 12px;
  font-size: .85rem;
}
.cart-summary-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.cart-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  color: var(--text-dim);
}
.cart-summary-item-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
}
.cart-summary-total-value { color: var(--text); }

/* ==========================================
   BOTTOM NAV
   ========================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(var(--bottomnav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
  z-index: 1000;
}
.nav-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-mute);
  transition: color .2s ease;
  cursor: pointer;
  text-decoration: none;
  padding-bottom: 2px;
}
.nav-item.active { color: var(--primary); }
.nav-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  transition: background .2s ease;
}
.nav-item.active .nav-icon-wrap { color: var(--primary); }

/* Carrinho centralizado com destaque (estilo dashboard CarolArtes) */
.nav-item-cart {
  flex: 1;
  position: relative;
}
.nav-icon-wrap-cart {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(232,82,122,.35);
  margin-top: -26px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-item-cart:hover .nav-icon-wrap-cart,
.nav-item-cart:active .nav-icon-wrap-cart {
  background: var(--primary-hover);
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(232,82,122,.45);
}
.nav-icon-wrap-cart .nav-icon { color: #fff; width: 24px; height: 24px; }
.nav-item-cart .nav-text { color: var(--primary); font-weight: 600; margin-top: 2px; }
.nav-item-cart .nav-badge {
  top: -4px;
  right: -4px;
}

.nav-icon { width: 22px; height: 22px; }
.nav-text { font-size: .68rem; font-weight: 500; }
.nav-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
.nav-item.has-items .nav-badge { display: flex; }

.pulse-animation { animation: pulse .4s ease; }
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ==========================================
   COMO FUNCIONA
   ========================================== */
.como-funciona {
  margin: 28px 12px 0;
  padding: 20px 16px;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  text-align: center;
}
.como-funciona-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}
.como-funciona-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.cf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.cf-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.cf-step-label {
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.3;
}
.cf-step-arrow {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 20px;
}

/* ==========================================
   BANNER
   ========================================== */
.promo-banner {
  margin: 24px 12px 0;
  text-align: center;
  width: calc(100% - 24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.promo-banner.show {
  opacity: 1;
  visibility: visible;
}
.promo-banner img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  animation: wobble 2s infinite ease-in-out;
}
@keyframes wobble {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  15%       { transform: translateX(-5px) rotate(-2deg); }
  30%       { transform: translateX(5px) rotate(2deg); }
  45%       { transform: translateX(-3px) rotate(-1deg); }
  60%       { transform: translateX(3px) rotate(1deg); }
  75%       { transform: translateX(-2px) rotate(-1deg); }
  90%       { transform: translateX(2px) rotate(1deg); }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  margin: 16px 12px 0;
  padding: 20px 12px calc(var(--bottomnav-h) + var(--safe-bottom) + 24px);
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  height: 48px;
  width: auto;
  opacity: .9;
}
.footer-text {
  color: var(--text-mute);
  font-size: .75rem;
}

/* ==========================================
   TOAST
   ========================================== */

/* ==========================================
   MODAL PIX
   ========================================== */
.pm-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  min-height: 200px;
}
.pm-loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pm-loading-text { font-size: .9rem; color: var(--text-dim); font-weight: 500; }

/* PIX */
.pm-pix {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pm-pix-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.pm-pix-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #00BDAE1A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00BDAE;
  flex-shrink: 0;
}
.pm-pix-title { font-size: 1rem; font-weight: 700; color: var(--text); }
.pm-pix-subtitle { font-size: .75rem; color: var(--text-mute); }

.pm-pix-timer-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--text-dim);
  background: var(--bg-2);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  align-self: center;
}
.pm-pix-timer-bar strong { color: var(--primary); }

.pm-pix-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  background: var(--bg-2);
  border-radius: var(--radius);
}
.pm-pix-qr {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: var(--shadow-1);
}
.pm-pix-qr-label { font-size: .72rem; color: var(--text-mute); }

.pm-pix-or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-size: .75rem;
}
.pm-pix-or::before,
.pm-pix-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.pm-pix-code-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.pm-pix-code {
  flex: 1;
  font-size: .68rem;
  color: var(--text-dim);
  word-break: break-all;
  line-height: 1.4;
  font-family: monospace;
  min-width: 0;
}
.pm-pix-copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.pm-pix-copy-btn:hover { background: var(--primary-hover); transform: scale(1.02); }
.pm-pix-copy-btn.copied { background: var(--success); }

.pm-pix-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pm-pix-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--text-dim);
}
.pm-step-n {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pm-pix-waiting {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-dim);
  font-weight: 500;
  padding: 8px 12px;
  background: var(--bg-2);
  border-radius: var(--radius-pill);
  align-self: center;
}
.pm-waiting-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.pm-pix-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .72rem;
  color: var(--text-mute);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.pm-cancel-link {
  font-size: .72rem;
  color: var(--text-mute);
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  padding: 0;
}
.pm-cancel-link:hover { color: var(--danger); }

.pm-switch-btn {
  display: block;
  width: 100%;
  padding: 9px 16px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background .15s, border-color .15s;
}
.pm-switch-btn:hover { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.18); }

/* ==========================================
   MODAL CARTÃO
   ========================================== */
.pm-card { display: flex; flex-direction: column; gap: 14px; }
.pm-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.pm-card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.pm-card-title { font-size: 1rem; font-weight: 700; color: var(--text); }
.pm-card-subtitle { font-size: .75rem; color: var(--text-mute); }

.pm-card-summary {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pm-card-item {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-dim);
}
.pm-card-total {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 6px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.pm-card-total-value { color: var(--primary); }

.pm-card-form-area {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pm-card-fields-placeholder {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pm-card-row { display: flex; gap: 10px; }
.pm-card-row .pm-card-field-group { flex: 1; }
.pm-card-field-group { display: flex; flex-direction: column; gap: 4px; }
.pm-card-label { font-size: .72rem; font-weight: 600; color: var(--text-dim); }
.pm-card-field-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .82rem;
  color: var(--text-mute);
  letter-spacing: .05em;
}
.pm-card-coming-soon {
  font-size: .72rem;
  color: var(--text-mute);
  text-align: center;
  padding: 6px;
  background: rgba(232,82,122,.06);
  border-radius: 8px;
}

.pm-card-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .92rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(232,82,122,.32);
  transition: background .2s, transform .15s;
  opacity: .5;
  cursor: not-allowed;
}
.pm-card-pay-btn:not([disabled]) {
  opacity: 1;
  cursor: pointer;
}
.pm-card-pay-btn:not([disabled]):hover { background: var(--primary-hover); transform: translateY(-1px); }

.pm-switch-pix-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-pill);
  border: 2px solid #00BDAE;
  color: #00BDAE;
  font-size: .85rem;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pm-switch-pix-btn:hover { background: #00BDAE1A; }

.pm-card-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .72rem;
  color: var(--text-mute);
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.toast {
  position: fixed;
  bottom: calc(var(--bottomnav-h) + var(--safe-bottom) + 76px);
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 10px 16px;
  background: var(--surface-strong);
  backdrop-filter: blur(10px);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 500;
  box-shadow: var(--shadow-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 2500;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.share-toast { /* alias mantém compat com código original */
  position: fixed;
  bottom: calc(var(--bottomnav-h) + var(--safe-bottom) + 76px);
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 10px 16px;
  background: var(--surface-strong);
  color: var(--text);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 2500;
}
.share-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================
   MODAL MEUS PEDIDOS
   ========================================== */
.pedidos-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3,1,12,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pedidos-modal.active { display: flex; }

.pedidos-modal-content {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2), var(--shadow-glow);
  padding: 28px 20px 24px;
  text-align: center;
  animation: modalSlideUp .3s ease;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pedidos-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20,10,50,.07);
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.pedidos-modal-close:hover { background: rgba(20,10,50,.14); }

.pedidos-modal-icon {
  color: var(--primary);
  margin-bottom: 8px;
}
.pedidos-modal-icon svg { margin: 0 auto; }

.pedidos-modal-title {
  font-family: 'Orbitron', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 8px;
}

.pedidos-modal-desc {
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 18px;
}

.pedidos-form-group {
  text-align: left;
  margin-bottom: 16px;
}
.pedidos-form-group .form-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.pedidos-form-group .form-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--bg-2);
  color: var(--text);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.pedidos-form-group .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.pedidos-form-group .form-input.error {
  border-color: var(--danger);
}
.pedidos-form-group .error-message {
  display: none;
  color: var(--danger);
  font-size: .78rem;
  margin-top: 4px;
}

.pedidos-modal-submit {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(232,82,122,.32);
}
.pedidos-modal-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232,82,122,.45);
}

/* ==========================================
   RESPONSIVO
   ========================================== */
@media (min-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-title { font-size: .88rem; }
}

@media (min-width: 720px) {
  body { max-width: 760px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .fixed-top-bar-button { font-size: .78rem; }
  .top-bar-logo { height: 48px; }
}

@media (min-width: 1024px) {
  body { max-width: 1100px; }
  .products-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .toolbar { padding: 12px; }
}

@media (min-width: 1280px) {
  .products-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Reduzir animações se preferência */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
