/* ==========================================================================
   RN CARDS TCG - DESIGN SYSTEM & ESTILOS PRINCIPAIS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Cores Base */
  --bg-main: #080b12;
  --bg-surface: #0e1320;
  --bg-card: #141a29;
  --bg-card-hover: #1b2338;
  --bg-glass: rgba(12, 17, 28, 0.92);

  /* Acentos Metálicos & Dourados */
  --gold-300: #fce08b;
  --gold-400: #f3cf65;
  --gold-500: #e5b83b;
  --gold-600: #c89b25;
  --gold-gradient: linear-gradient(135deg, #fce08b 0%, #e5b83b 50%, #b8800f 100%);
  --gold-glow: 0 0 25px rgba(229, 184, 59, 0.4);

  /* Cromo e Prata */
  --silver-100: #ffffff;
  --silver-300: #e2e8f0;
  --silver-500: #94a3b8;

  /* Efeito Holográfico */
  --holo-gradient: linear-gradient(135deg, #ff0077, #ff8c00, #40e0d0, #0077ff, #7b00ff, #ff0077);

  /* Texto */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Bordas */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(229, 184, 59, 0.35);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.85);
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.7);

  /* Raios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(229, 184, 59, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 30%, rgba(0, 119, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 0% 60%, rgba(255, 0, 119, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* Forçar cores do select e options para que fiquem visíveis no Windows e navegadores */
:root {
  color-scheme: dark;
}

select, select option {
  background-color: #141a29 !important;
  color: #ffffff !important;
  color-scheme: dark !important;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVBAR & CABEÇALHO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  clip-path: circle(50%);
  aspect-ratio: 1/1;
  border: 2px solid var(--gold-400);
  box-shadow: var(--gold-glow);
  display: block;
}

.brand-name-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--silver-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.search-bar-wrap {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--silver-500);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 12px 18px 12px 44px;
  color: var(--text-main);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-400);
  box-shadow: 0 0 16px rgba(229, 184, 59, 0.25);
}

.search-input::placeholder {
  color: var(--text-dim);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 184, 59, 0.12);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 14px rgba(229, 184, 59, 0.2);
}

.btn-header-profile:hover {
  background: var(--gold-500);
  color: #080b12;
  box-shadow: 0 0 24px rgba(229, 184, 59, 0.5);
  transform: translateY(-1px);
}

.cart-toggle-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cart-toggle-btn:hover {
  background: var(--gold-500);
  color: #0b0e14;
  box-shadow: var(--gold-glow);
  transform: scale(1.05);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff3b77;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-main);
}

.cart-count-badge.hidden {
  display: none;
}

/* ==========================================================================
   HERO BANNER CINEMATOGRÁFICO WIDESCREEN
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 30px 0 20px;
}

.hero-cinema-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(229, 184, 59, 0.15);
  min-height: 380px;
  display: flex;
  align-items: center;
  background-color: #0a0d14;
}

.hero-cinema-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: brightness(0.85) contrast(1.1);
}

.hero-cinema-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(8, 11, 18, 0.96) 0%, 
    rgba(8, 11, 18, 0.88) 42%, 
    rgba(8, 11, 18, 0.4) 70%, 
    rgba(8, 11, 18, 0.1) 100%);
  pointer-events: none;
}

.hero-cinema-content {
  position: relative;
  z-index: 5;
  padding: 48px 56px;
  max-width: 640px;
}

.hero-tag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 184, 59, 0.15);
  border: 1px solid var(--gold-400);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-300);
  margin-bottom: 18px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.hero-title-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #0b0e14;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(229, 184, 59, 0.4);
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(229, 184, 59, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  color: var(--silver-100);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(229, 184, 59, 0.15);
  color: var(--gold-300);
}

/* ==========================================================================
   CATÁLOGO & FILTROS (SEM BARRA DE ROLAGEM / AUTO-ENQUADRAMENTO)
   ========================================================================== */
.catalog-section {
  padding: 40px 0 80px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
}

.section-title-wrap h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.section-title-wrap p {
  color: var(--silver-500);
  font-size: 0.95rem;
}

/* Enquadramento limpo das categorias sem barra de rolagem */
.categories-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin-bottom: 24px;
  overflow: visible;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--silver-300);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.category-pill.active {
  background: var(--gold-gradient);
  color: #0b0e14;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(229, 184, 59, 0.35);
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--silver-500);
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  border-color: var(--gold-500);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 24px rgba(229, 184, 59, 0.2);
}

.holo-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: var(--radius-lg);
}

.product-badge-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.product-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-hot {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
}

.badge-esgotado {
  background: linear-gradient(135deg, #ef4444, #991b1b);
  color: #fff;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.45);
  letter-spacing: 0.5px;
}

.product-card.is-out-of-stock .product-img {
  filter: grayscale(80%) opacity(0.65);
}

.out-of-stock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  z-index: 6;
}

.btn-add-cart.is-out-of-stock {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--silver-500) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  cursor: not-allowed !important;
  opacity: 0.75;
}

.modal-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.modal-stock-badge.out {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.modal-stock-badge.in {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.badge-featured {
  background: linear-gradient(135deg, #8a2be2, #4a00e0);
  color: #fff;
}

.badge-gold {
  background: var(--gold-gradient);
  color: #0b0e14;
}

.badge-default {
  background: rgba(255, 255, 255, 0.1);
  color: var(--silver-300);
}

.sealed-tag {
  font-size: 0.72rem;
  color: var(--silver-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sealed-tag i {
  color: #4ade80;
}

.product-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.4) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  cursor: pointer;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.quick-view-overlay-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  opacity: 0;
  background: rgba(10, 13, 20, 0.9);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.product-card:hover .quick-view-overlay-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

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

.product-set-tag {
  font-size: 0.74rem;
  color: var(--silver-500);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 14px;
  cursor: pointer;
}

.product-pricing {
  margin-top: auto;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
}

.price-direct-info {
  font-size: 0.75rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-add-cart {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--silver-100);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-add-cart:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-quick-buy {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   DRAWER DO CARRINHO
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-gold);
  z-index: 101;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

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

.cart-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.close-drawer-btn {
  background: none;
  border: none;
  color: var(--silver-500);
  font-size: 1.4rem;
  cursor: pointer;
}

.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}

.cart-item-img-wrapper {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-cat {
  font-size: 0.7rem;
  color: var(--silver-500);
  text-transform: uppercase;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}

.cart-item-price-box {
  margin-bottom: 8px;
}

.cart-item-pix-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-300);
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.qty-control {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-main);
  padding: 4px 10px;
  font-weight: 700;
  cursor: pointer;
}

.qty-val {
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--silver-500);
  font-size: 0.78rem;
  cursor: pointer;
}

.cart-remove-btn:hover {
  color: #ff4b2b;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--silver-500);
}

.cart-empty-state.hidden {
  display: none;
}

.cart-footer {
  padding: 20px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
}

.cart-footer.hidden {
  display: none;
}

.cart-summary-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--silver-300);
}

.summary-row.pix-highlight {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold-300);
}

.btn-checkout-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   MODAIS & FORMULÁRIOS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 92%;
  max-width: 680px;
  max-height: 90vh;
  z-index: 111;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.custom-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

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

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body {
  padding: 24px 28px 36px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
}

/* Card Chamada para Cadastro de Cliente */
.customer-cta-banner {
  background: linear-gradient(135deg, rgba(20, 26, 41, 0.95), rgba(14, 19, 32, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.customer-cta-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 260px;
}

.customer-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(229, 184, 59, 0.15);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.customer-cta-text strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 2px;
}

.customer-cta-text p {
  font-size: 0.85rem;
  color: var(--silver-300);
  margin: 0;
}

.btn-primary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 184, 59, 0.12);
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary-outline:hover {
  background: var(--gold-500);
  color: #080b12;
  box-shadow: 0 0 20px rgba(229, 184, 59, 0.5);
  transform: translateY(-1px);
}

.checkout-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver-300);
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-size: 0.92rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-400);
}

.form-helper {
  font-size: 0.76rem;
  color: var(--silver-500);
}

.checkout-order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--silver-300);
  padding: 4px 0;
}

.checkout-summary-totals {
  border-top: 1px solid var(--border-subtle);
  margin-top: 10px;
  padding-top: 10px;
}

/* Modal Detalhes Produto */
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.modal-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0b0e14;
  aspect-ratio: 1/1;
}

.modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-trust-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.trust-tag {
  font-size: 0.78rem;
  color: var(--silver-400);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-tag i {
  color: var(--gold-400);
}

.modal-cat-badge {
  font-size: 0.78rem;
  color: var(--gold-400);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.modal-product-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.modal-pricing-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.modal-price-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-300);
  font-family: 'Outfit', sans-serif;
}

.modal-direct-tag {
  font-size: 0.8rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--silver-300);
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-section-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--silver-100);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-contents-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-contents-list li {
  font-size: 0.84rem;
  color: var(--silver-400);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-contents-list li i {
  color: var(--gold-400);
}

.modal-actions-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.modal-qty-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-qty-select input {
  width: 60px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: 700;
}

.modal-btn-cart {
  flex: 1;
}

.modal-btn-direct {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
  color: #fff;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  padding: 60px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--gold-500);
}

.faq-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.faq-header i {
  color: var(--gold-400);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--silver-400);
  display: none;
}

.faq-item.active .faq-content {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #080a10;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--silver-500);
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--silver-500);
  font-size: 0.88rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--silver-400);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.footer-contact-item i {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--silver-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* Toast */
.rn-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--gold-400);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.rn-toast i {
  color: #4ade80;
}

.rn-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
