/* ═══════════════════════════════════════════════════
   LOJA CSS — Alquimistas Mágicos
   Mobile-first, dark/gold theme
   ═══════════════════════════════════════════════════ */

:root {
  --bg-primary: #0a0a12;
  --bg-secondary: #12121e;
  --bg-card: #16162a;
  --bg-surface: #1a1a2e;
  --gold: #d4af37;
  --gold-light: #e6c456;
  --gold-dark: #b8941f;
  --gold-glow: rgba(212, 175, 55, 0.15);
  --text-primary: #e0e0e0;
  --text-secondary: #8a8a9a;
  --text-muted: #555566;
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;
  --border: rgba(212, 175, 55, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Outfit", -apple-system, sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --pix-green: #00b4d8;

  /* Animation Tokens */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ─── HEADER ─────────────────────────────────── */
.loja-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.loja-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
}

.logo i {
  font-size: 1.5rem;
}

.cart-btn {
  position: relative;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.cart-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count[data-count="0"] {
  display: none;
}

/* ─── CATEGORIAS BAR ─────────────────────────── */
.categorias-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.categorias-bar::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.categorias-bar .container {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.cat-filter {
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--font-body);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.cat-filter:hover,
.cat-filter.active {
  background: var(--gold-glow);
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.4);
}

/* ─── GRADE DE PRODUTOS ──────────────────────── */
.produtos-section {
  padding: 24px 0 60px;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.loading-state,
.empty-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* Skeletons */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 25%,
    var(--bg-surface) 50%,
    var(--bg-card) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite linear;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  height: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.skeleton-img {
  height: 180px;
  margin-bottom: 16px;
}

.skeleton-text {
  height: 12px;
  margin-bottom: 8px;
  width: 80%;
}

.skeleton-text.short {
  width: 40%;
}

/* Card Produto */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  animation: fadeIn var(--transition-slow);
}

.product-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-surface);
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 3rem;
}

.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  flex: 1;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
}

.product-stock {
  font-size: 0.75rem;
  color: var(--success);
}

.product-stock.esgotado {
  color: var(--error);
}

/* Animação de pulso para quando o estoque muda */
.stock-update-pulse {
  animation: stockPulse 1s ease-out;
}

@keyframes stockPulse {
  0% {
    transform: scale(1);
    color: var(--gold-light);
  }
  50% {
    transform: scale(1.1);
    color: var(--success);
    text-shadow: 0 0 10px var(--gold);
  }
  100% {
    transform: scale(1);
  }
}

.badge-digital {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  vertical-align: middle;
}

.badge-exclusive {
  display: inline-block;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.2),
    rgba(245, 158, 11, 0.15)
  );
  color: #f59e0b;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  vertical-align: middle;
  border: 1px solid rgba(245, 158, 11, 0.25);
  letter-spacing: 0.03em;
}

.btn-add {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-body);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-add:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}

.btn-add:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

/* ─── CART PANEL ─────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-panel.open {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.2rem;
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px;
}

.cart-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
}

.cart-empty i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

/* Cart Item */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  flex-wrap: wrap;
}

.cart-item-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-surface);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--gold);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--transition-base);
}

.qty-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.qty-value {
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px;
}

/* Cart Footer */
.cart-footer {
  padding: 16px 20px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  flex-shrink: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

.btn-checkout {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition-base);
}

.btn-checkout:hover {
  background: var(--gold-light);
}

/* ─── MODAL DE CHECKOUT ──────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.3rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
}

.checkout-step {
  padding: 28px 24px 24px;
}

/* Checkout section divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 18px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-divider span {
  padding: 0 4px;
  color: var(--gold);
}

/* Form */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--gold);
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

.input-with-btn {
  display: flex;
  gap: 8px;
}

.input-with-btn input {
  flex: 1;
}

.btn-small {
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  padding: 0 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.btn-small:hover {
  background: rgba(212, 175, 55, 0.2);
}

.frete-info {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--success);
}

.frete-info.warning {
  color: var(--warning);
}

/* ─── FRETE OPTIONS ──────────────────────────── */
.frete-opcoes-wrapper {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.frete-opcoes-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.frete-opcoes-label i {
  margin-right: 6px;
}

.frete-opcoes-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 12px;
}

.frete-opcoes-loading i {
  color: var(--gold);
}

.frete-opcoes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frete-opcao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.frete-opcao:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.05);
}

.frete-opcao.selected {
  border-color: var(--gold);
  background: var(--gold-glow);
}

.frete-opcao input[type="radio"] {
  display: none;
}

.frete-opcao-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.frete-opcao-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.frete-opcao-detalhes {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.frete-opcao-nome {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.frete-opcao-prazo {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.frete-opcao-preco {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 12px;
}

.frete-opcoes-error {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--warning);
}

.frete-mesma-cidade i {
  color: #39ff14;
}

/* Pickup Box */
.pickup-box {
  margin: 16px 0;
  padding: 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  animation: fadeIn 0.3s ease;
}

/* --- Stock Badge --- */
.product-stock {
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.stock-high {
  color: #2ecc71;
}
.stock-low {
  color: #f39c12;
  font-weight: 700;
  animation: pulse-stock 2s infinite;
}
.stock-out {
  color: #e74c3c;
  opacity: 0.8;
}
.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.stock-high .stock-dot {
  background: #2ecc71;
  box-shadow: 0 0 5px #2ecc71;
}
.stock-low .stock-dot {
  background: #f39c12;
  box-shadow: 0 0 8px #f39c12;
}
.stock-out .stock-dot {
  background: #e74c3c;
}

@keyframes pulse-stock {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.pickup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.pickup-box p {
  color: var(--text-primary);
  line-height: 1.5;
}

.pickup-box small {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-style: italic;
}

.frete-mesma-cidade {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  margin: 12px 0 4px;
  border-radius: 8px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.35);
  color: #39ff14;
  font-size: 0.82rem;
  font-weight: 600;
  animation: pulse-cidade 2.5s ease-in-out infinite;
}

@keyframes pulse-cidade {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
  }
  50% {
    box-shadow: 0 0 8px 2px rgba(57, 255, 20, 0.25);
  }
}

.frete-rastreamento {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2px;
}

/* Campos bloqueados (endereço salvo selecionado) */
.input-locked {
  opacity: 0.65;
  cursor: default;
  background: var(--bg-secondary) !important;
  border-color: transparent !important;
  color: var(--text-secondary) !important;
  pointer-events: none;
}

.radio-group {
  display: flex;
  gap: 12px;
}

.radio-option {
  flex: 1;
  cursor: pointer;
}

.radio-option input {
  display: none;
}

.radio-option span {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.radio-option input:checked + span {
  background: var(--gold-glow);
  border-color: var(--gold);
  color: var(--gold);
}

.radio-option span i {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* Checkout Resumo */
.checkout-resumo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 20px;
  margin-bottom: 12px;
}

.endereco-detalhe {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.resumo-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 4px 0;
  color: var(--text-secondary);
}

.resumo-item.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

.btn-pix {
  width: 100%;
  background: #00b4d8;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition-base);
}

.btn-pix:hover {
  background: #0096b7;
}
.btn-pix:disabled {
  opacity: 0.6;
  cursor: wait;
}
.btn-pix i {
  margin-right: 6px;
}

/* PIX Step */
.pix-content {
  text-align: center;
}

.pix-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.pix-timer.warning {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.1);
}

.pix-qrcode {
  margin: 0 auto 16px;
  max-width: 250px;
}

.pix-qrcode img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.pix-copy {
  margin-bottom: 16px;
}

.pix-copy label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.copy-field {
  display: flex;
  gap: 4px;
}

.copy-field input {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-field button {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition-base);
}

.copy-field button:hover {
  background: var(--gold-light);
}

.pix-instrucao {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.pix-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.05);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pix-status.paid {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

/* Confirmação */
.confirm-content {
  text-align: center;
  padding: 20px 0;
}

.confirm-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.confirm-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--success);
  margin-bottom: 12px;
}

.confirm-content p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.confirm-msg {
  font-size: 0.9rem;
  margin-bottom: 20px !important;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition-base);
}

.btn-primary:hover {
  background: var(--gold-light);
}

/* ─── HEADER RIGHT (with greeting) ───────────── */
.header-right {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 12px;
}

.header-greeting {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 6px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-greeting i {
  color: var(--gold);
  font-size: 1rem;
}

/* ─── FOOTER ─────────────────────────────────── */
.loja-footer {
  text-align: center;
  padding: 32px 16px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.loja-footer a {
  color: var(--gold);
  text-decoration: none;
}

.loja-footer a:hover {
  text-decoration: underline;
}
.loja-footer p + p {
  margin-top: 8px;
}

/* ─── TOAST / NOTIFICAÇÃO ────────────────────── */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  z-index: 999;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow);
  max-width: calc(100vw - 32px);
  text-align: center;
  word-break: break-word;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  border-color: var(--success);
  color: var(--success);
}
.toast.error {
  border-color: var(--error);
  color: var(--error);
}

/* ─── ACCOUNT BUTTON (header) ────────────────── */
.account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all var(--transition-base);
  white-space: nowrap;
  overflow: hidden;
  max-width: 180px;
}

.account-btn:hover {
  background: var(--gold-glow);
  border-color: rgba(212, 175, 55, 0.4);
}

.account-btn i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.account-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── ACCOUNT MODAL ──────────────────────────── */
.account-modal {
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.account-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-shrink: 0;
}

.account-tabs::-webkit-scrollbar {
  display: none;
}

.account-tab {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.account-tab:hover {
  color: var(--text-primary);
}

.account-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.account-content {
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
}

/* ─── PEDIDOS (cards) ────────────────────────── */
.pedidos-lista,
.enderecos-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pedido-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.pedido-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: var(--bg-card);
}

.pedido-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 8px;
}

.pedido-codigo {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}

.pedido-data {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 8px;
}

.pedido-status {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pedido-status.pago {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}
.pedido-status.reservado {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}
.pedido-status.expirado {
  background: rgba(85, 85, 102, 0.3);
  color: var(--text-muted);
}
.pedido-status.cancelado {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
}
.pedido-status.entregue {
  background: rgba(0, 180, 216, 0.15);
  color: var(--pix-green);
}

.pedido-resumo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  gap: 8px;
}

.pedido-resumo > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.pedido-total {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.pedido-ver-mais {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.pedido-card:hover .pedido-ver-mais {
  opacity: 1;
}

/* Detalhe pedido */
.pedido-detalhe {
  animation: fadeIn 0.3s ease;
}

.btn-voltar {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  margin-bottom: 16px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-voltar:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.detalhe-cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.detalhe-cabecalho h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.3rem;
}

.detalhe-data {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.detalhe-secao {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.detalhe-secao h4 {
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.detalhe-secao p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

.detalhe-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detalhe-item:last-child {
  border-bottom: none;
}

.detalhe-totais {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.detalhe-item.total {
  font-weight: 600;
  color: var(--gold);
  font-size: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 12px;
}

/* ─── ENDEREÇOS (cards + form) ───────────────── */
.enderecos-header {
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-end;
}

.btn-add-endereco {
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-add-endereco:hover {
  background: rgba(212, 175, 55, 0.2);
}

.endereco-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.2s;
}

.endereco-card.padrao {
  border-color: rgba(212, 175, 55, 0.3);
}

.endereco-info {
  flex: 1;
  min-width: 0;
}

.endereco-titulo {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-padrao {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border-radius: 12px;
  font-weight: 500;
}

.endereco-linha {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

.endereco-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.btn-icon {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.btn-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-icon.danger:hover {
  border-color: var(--error);
  color: var(--error);
}

.form-section-title {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-end;
}

.btn-outline {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.form-hint {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 4px;
  display: block;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.5;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  color: #0a0a12;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  width: 100%;
  text-align: center;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Endereço selector (checkout) */
.endereco-selector {
  margin-bottom: 16px;
}

.endereco-selector select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
}

.endereco-selector select:focus {
  outline: none;
  border-color: var(--gold);
}

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

/* ─── RESPONSIVE ─────────────────────────────── */

/* Tablet */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .produtos-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
  .product-img,
  .product-img-placeholder {
    height: 170px;
  }
  .product-name {
    font-size: 1.05rem;
  }
  .product-price {
    font-size: 1.15rem;
  }
  .cart-panel {
    width: 340px;
  }
  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }
  .checkout-step {
    padding: 22px 18px 18px;
  }
  .pix-qrcode {
    max-width: 220px;
  }
  .header-greeting {
    max-width: 120px;
    font-size: 0.8rem;
  }
  .account-btn .account-name {
    display: none;
  }
  .account-btn {
    padding: 10px 12px;
  }
  .account-modal {
    max-height: 90vh;
  }
  .account-content {
    padding: 16px;
  }
  .account-tab {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  .gate-phone-group {
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 12px;
  }
  .gate-field-pais,
  .gate-field-ddd,
  .gate-field-tel {
    width: 100%;
  }
}

/* Small phone */
@media (max-width: 600px) {
  .loja-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .categorias-bar .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .cat-filter {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .produtos-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
  .product-img,
  .product-img-placeholder {
    height: 150px;
  }
  .product-name {
    font-size: 1rem;
  }
  .product-price {
    font-size: 1.1rem;
  }
  .product-footer {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: stretch;
    align-items: stretch;
  }
  .btn-add {
    text-align: center;
  }
  .cart-panel {
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
  }
  .checkout-step {
    padding: 20px 16px 16px;
  }
  .form-row {
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 0;
  }
  .pix-qrcode {
    max-width: 200px;
  }
  .modal-header h2 {
    font-size: 1.1rem;
  }
  .modal-overlay {
    padding: 0;
    -webkit-align-items: flex-end;
    align-items: flex-end;
  }
  .modal-content {
    max-height: 95dvh;
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
  }
  .header-greeting {
    display: none;
  }
  .endereco-card {
    flex-direction: column;
  }
  .endereco-actions {
    align-self: flex-end;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn-outline,
  .form-actions .btn-primary {
    width: 100%;
  }
  .frete-opcao {
    padding: 10px 12px;
  }
  .frete-opcao-nome {
    font-size: 0.85rem;
  }
  .frete-opcao-preco {
    font-size: 0.85rem;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  .produtos-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  .product-img,
  .product-img-placeholder {
    height: 120px;
  }
  .product-info {
    padding: 10px;
  }
  .product-name {
    font-size: 0.9rem;
  }
  .product-price {
    font-size: 1rem;
  }
  .product-desc {
    font-size: 0.75rem;
  }
  .cat-filter {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .cart-header {
    padding: 12px 14px;
  }
  .cart-body {
    padding: 12px 14px;
  }
  .cart-footer {
    padding: 12px 14px;
  }
  .cart-item-img {
    width: 40px;
    height: 40px;
  }
  .cart-item-name {
    font-size: 0.8rem;
  }
  .cart-item-price {
    font-size: 0.75rem;
  }
  .qty-btn {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  .modal-header {
    padding: 14px 16px;
  }
  .checkout-step {
    padding: 16px 12px 12px;
  }
  .btn-pix {
    padding: 12px;
    font-size: 0.95rem;
  }
  .pix-timer {
    font-size: 1.1rem;
    padding: 6px 14px;
  }
  .pix-qrcode {
    max-width: 180px;
  }
  .copy-field input {
    font-size: 0.65rem;
    padding: 8px 10px;
  }
  .gate-card {
    padding: 24px 16px;
    margin: 10px;
  }
  .gate-title {
    font-size: 1.5rem;
  }
  .gate-btn {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .radio-group {
    flex-direction: column;
    gap: 8px;
  }
  .input-with-btn {
    flex-direction: column;
  }
  .input-with-btn .btn-small {
    padding: 10px;
    text-align: center;
  }
}

/* ─── GATE: ACCESS FORM ──────────────────────── */
.gate-container {
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-primary);
  background-image:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(212, 175, 55, 0.03) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(212, 175, 55, 0.02) 0%,
      transparent 50%
    );
}

.gate-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  -webkit-box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  -webkit-animation: gateIn 0.5s ease;
  animation: gateIn 0.5s ease;
}

@-webkit-keyframes gateIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
  }
}
@keyframes gateIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gate-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: var(--gold-glow);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
}

.gate-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 600;
}

.gate-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.gate-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
}

.gate-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.gate-phone-group {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  text-align: left;
}

.gate-field {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}

.gate-field label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.gate-field input,
.gate-select-wrapper select {
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.gate-field input:focus,
.gate-select-wrapper select:focus {
  border-color: var(--gold);
}

.gate-field-pais {
  width: 110px;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.gate-field-ddd {
  width: 80px;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.gate-field-tel {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.gate-select-wrapper {
  position: relative;
}

.gate-select-wrapper select {
  cursor: pointer;
  padding-right: 28px;
}

.gate-select-wrapper::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.7rem;
  pointer-events: none;
}

.gate-preview {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.gate-preview i {
  color: #25d366;
  font-size: 1.2rem;
}

.gate-btn {
  width: 100%;
  padding: 16px 24px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 10px;
}

.gate-btn:hover {
  background: #20bd5a;
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
  -webkit-box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.gate-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  -webkit-transform: none;
  transform: none;
}

.gate-btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  margin-top: 16px;
}

.gate-btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--gold);
  color: var(--gold);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.gate-btn i {
  font-size: 1.2rem;
}

.gate-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.gate-footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.gate-footer a:hover {
  color: var(--gold);
}

/* Gate: Success state */
.gate-sucesso-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(37, 211, 102, 0.1);
  border: 2px solid rgba(37, 211, 102, 0.3);
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 2rem;
  color: #25d366;
  -webkit-animation: gateSuccessPulse 1s ease;
  animation: gateSuccessPulse 1s ease;
}

@-webkit-keyframes gateSuccessPulse {
  0% {
    -webkit-transform: scale(0);
    opacity: 0;
  }
  60% {
    -webkit-transform: scale(1.15);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 1;
  }
}
@keyframes gateSuccessPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.gate-sucesso-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #25d366;
  margin-bottom: 12px;
}

.gate-sucesso-msg {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.gate-sucesso-msg strong {
  color: var(--text-primary);
}

.gate-sucesso-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* ─── BADGES DE CONFIANÇA ──────────────────────── */
.badge-verificado {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 8px;
  background: rgba(30, 144, 255, 0.15);
  color: #1e90ff;
  border: 1px solid rgba(30, 144, 255, 0.3);
}

#headerBadgeCliente .badge-verificado {
  margin-left: 0;
  padding: 2px;
  background: none;
  border: none;
  font-size: 0.9rem;
}

#accountBadgeContainer {
  margin-left: auto;
  margin-right: 12px;
  text-align: right;
}

/* --- AUTH MODAL PREMIUM ---------------------- */
.auth-modal-content {
  max-width: 420px !important;
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-surface) 100%
  ) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(212, 175, 55, 0.05) !important;
}

.auth-modal-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
  background: rgba(212, 175, 55, 0.02);
}

.auth-modal-header h2 i {
  font-size: 1.1rem;
  margin-right: 8px;
  filter: drop-shadow(0 0 5px var(--gold));
}

.auth-modal-body {
  padding: 32px 28px !important;
}


.auth-field-label {
  font-family: var(--font-heading) !important;
  letter-spacing: 0.05em;
  color: var(--gold-light) !important;
}

.auth-input-wrapper {
  position: relative;
}

.auth-input-wrapper input {
  padding-left: 42px !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
  background: rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s !important;
}

.auth-input-wrapper input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1) !important;
  background: rgba(0, 0, 0, 0.4) !important;
}

.auth-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  opacity: 0.6;
  font-size: 1rem;
  pointer-events: none;
}

.btn-premium {
  background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%) !important;
  border: none !important;
  color: #000 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700 !important;
  padding: 16px !important;
  margin-top: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
  position: relative;
  overflow: hidden;
}

.btn-premium::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.5s;
}

.btn-premium:hover::after {
  left: 100%;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.2) !important;
}

.btn-premium:active {
  transform: translateY(0);
}

/* ─── AVALIAÇÕES / PROVA SOCIAL ─────────────── */
.product-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #f59e0b;
  cursor: pointer;
  padding: 2px 6px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.product-rating:hover {
  background: rgba(245, 158, 11, 0.18);
  transform: scale(1.04);
}

.product-rating .rating-score {
  font-weight: 700;
  color: #fbbf24;
}

.product-rating .rating-count {
  color: var(--text-muted, #94a3b8);
  font-size: 0.72rem;
}

/* ═══════════════════════════════════════════════════
   MODAL DE DETALHES DO PRODUTO (SHOWCASE EXPANDIDO & LUXO)
   ═══════════════════════════════════════════════════ */

#modalProdutoOverlay {
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 9999 !important;
}

.modal-produto-clean {
  background: #0f101d !important;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.06), transparent 60%), #0f101d !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  max-width: 820px;
  width: 94%;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalCleanIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

@keyframes modalCleanIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-clean-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.2s ease;
}

.modal-clean-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg);
}

/* Abas de Navegação */
.modal-clean-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.modal-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.modal-tab-btn.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: #d4af37;
}

.modal-tab-btn .tab-count {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Corpo do Modal */
.modal-clean-body {
  padding: 22px;
  max-height: calc(90vh - 65px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

.modal-clean-body::-webkit-scrollbar {
  width: 5px;
}
.modal-clean-body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 4px;
}

/* Hero: Mídia (Esquerda) + Compra (Direita) */
.clean-product-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 660px) {
  .clean-product-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Coluna de Mídia */
.clean-media-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.clean-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  background: #090a12;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 660px) {
  .clean-img-wrap {
    max-width: 240px;
    margin: 0 auto;
  }
}

.clean-prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.clean-prod-img:hover {
  transform: scale(1.04);
}

.clean-img-placeholder {
  font-size: 3.2rem;
  color: #334155;
}

/* Galeria de Miniaturas */
.clean-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

@media (max-width: 660px) {
  .clean-gallery-thumbs {
    justify-content: center;
  }
}

.clean-gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}
.clean-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}

.clean-thumb-btn {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #0c0d16;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.clean-thumb-btn:hover {
  opacity: 0.95;
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.clean-thumb-btn.active {
  opacity: 1;
  border-color: var(--gold, #d4af37);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.clean-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Coluna de Detalhes do Hero */
.clean-hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 660px) {
  .clean-hero-info {
    text-align: center;
    align-items: center;
  }
}

.clean-cat-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clean-cat-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold, #d4af37);
}

.clean-exclusive-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.clean-title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.25;
  margin: 0;
}

.clean-rating-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: fit-content;
  padding: 2px 0;
}

.clean-stars {
  font-size: 0.88rem;
}

.clean-score {
  font-size: 0.84rem;
  color: #fbbf24;
  font-weight: 600;
}

.clean-rating-hint {
  font-size: 0.76rem;
  color: #94a3b8;
  text-decoration: underline;
  transition: color 0.15s;
}

.clean-rating-line:hover .clean-rating-hint {
  color: var(--gold, #d4af37);
}

.clean-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.clean-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold, #d4af37);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.clean-stock-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.clean-stock-tag.low {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.clean-stock-tag.out {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

/* Bloco de Detalhes e Descrição Completa */
.clean-details-block {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clean-details-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.3px;
}

.clean-desc-formatted {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clean-desc-p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
}

/* Ficha Técnica / Specs Grid */
.clean-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.clean-spec-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.clean-spec-card .spec-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.clean-spec-card .spec-label i {
  color: var(--gold, #d4af37);
  font-size: 0.8rem;
}

.clean-spec-card .spec-val {
  font-size: 0.86rem;
  color: #f8fafc;
  font-weight: 600;
}

/* Barra de Compra */
.clean-buy-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 480px) {
  .clean-buy-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

.clean-qty-control {
  display: inline-flex;
  align-items: center;
  background: #0c0d16;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 480px) {
  .clean-qty-control {
    justify-content: center;
  }
}

.clean-qty-btn {
  background: transparent;
  border: none;
  color: var(--gold, #d4af37);
  width: 36px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}

.clean-qty-btn:hover {
  background: rgba(212, 175, 55, 0.15);
}

.clean-qty-input {
  width: 38px;
  text-align: center;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.95rem;
  outline: none;
}

.btn-clean-add {
  flex: 1;
  height: 42px;
  background: linear-gradient(135deg, #d4af37, #f39c12);
  color: #0b0b12;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
  transition: all 0.2s ease;
}

.btn-clean-add:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  filter: brightness(1.06);
}

.btn-clean-add:disabled {
  background: #334155;
  color: #64748b;
  box-shadow: none;
  cursor: not-allowed;
}

/* Selos Minimalistas */
.clean-trust-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.74rem;
  color: #94a3b8;
}

.clean-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ═══════════════════════════════════════════════════
   ABA DE AVALIAÇÕES (CLEAN & MODERNA)
   ═══════════════════════════════════════════════════ */

.clean-rev-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.clean-rev-score-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clean-rev-big-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold, #d4af37);
}

.clean-rev-score-meta {
  display: flex;
  flex-direction: column;
}

.clean-rev-big-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.clean-rev-total {
  font-size: 0.74rem;
  color: #94a3b8;
}

.btn-clean-write-review {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold, #d4af37);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-clean-write-review:hover {
  background: var(--gold, #d4af37);
  color: #0b0b12;
}

/* Formulário de Avaliação Recolhível */
.clean-review-form {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: modalCleanIn 0.2s ease;
}

.clean-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 500px) {
  .clean-form-grid {
    grid-template-columns: 1fr;
  }
}

.clean-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.clean-form-group label {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 500;
}

.clean-input,
.clean-textarea {
  width: 100%;
  background: #090a12 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  color: #f8fafc !important;
  font-size: 0.85rem !important;
  font-family: inherit !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s !important;
}

.clean-input:focus,
.clean-textarea:focus {
  border-color: var(--gold, #d4af37) !important;
  background: #141422 !important;
}

.form-textarea-dark {
  resize: vertical;
  min-height: 75px;
}

/* Seletor de Estrelas Clean & Interativo */
.clean-stars-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
}

.clean-star-btn {
  color: #475569;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  cursor: pointer;
  line-height: 1;
}

.clean-star-btn.active {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.clean-star-btn:hover {
  transform: scale(1.25);
  color: #fde047;
}

/* Ações do Formulário de Relato */
.clean-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.btn-clean-cancel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-clean-cancel:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-clean-submit {
  background: linear-gradient(135deg, #d4af37, #f39c12);
  border: none;
  color: #0b0b12;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transition: all 0.2s ease;
}

.btn-clean-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
  filter: brightness(1.08);
}

.btn-clean-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Lista de Relatos */
.clean-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.rev-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s ease;
}

.rev-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.rev-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.rev-author {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rev-stars {
  color: #fbbf24;
  font-size: 0.84rem;
  letter-spacing: 1.5px;
}

.rev-date {
  font-size: 0.74rem;
  color: #64748b;
}

.rev-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0;
  white-space: pre-line;
}

