/* =========================================================
   JHOWZEH DIGITAL - LUXURY TECH OBSIDIAN STYLES
   Visual minimalista, sofisticado, sexy e de alta credibilidade
   ========================================================= */

:root {
  /* Cores de Fundo — High Contrast Zinc */
  --bg-base: #09090b;
  --bg-surface: #18181b;
  --bg-surface-hover: #27272a;
  --bg-modal: #18181b;
  --bg-input: #18181b;

  /* Bordas de Alta Definição */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-card-hover: rgba(255, 255, 255, 0.2);
  --border-focus: rgba(16, 185, 129, 0.5);
  --border-emerald: rgba(16, 185, 129, 0.3);

  /* Acentos de Luz */
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --accent-cyan: #38bdf8;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;

  /* Tipografia */
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;

  /* Raios e Formas */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Tipografia Moderna */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras de Profundidade */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-card-hover: 0 12px 36px -4px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.2);
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: calc(90px + env(safe-area-inset-bottom, 16px));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Iluminação de Fundo Sofisticada (Aurora Gradient Mesh) */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.blob-emerald {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 68%);
  filter: blur(80px);
}

.blob-indigo {
  top: 300px;
  right: -100px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.10) 0%, transparent 70%);
  filter: blur(90px);
}

.blob-violet {
  bottom: 100px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  filter: blur(80px);
}

/* Container Principal Mobile-First */
.app-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  overflow-x: hidden;
}

/* =========================================================
   HEADER & PERFIL VIP (SEXY & SOFISTICADO)
   ========================================================= */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

/* Avatar com Anel Gradiente VIP */
.avatar-container {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #10b981, #6366f1, #ec4899, #10b981);
  animation: rotateRing 10s linear infinite;
  filter: blur(1.5px);
  opacity: 0.85;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-wrapper {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: #09090b;
  border: 2px solid #09090b;
  z-index: 1;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Beacon Online com Pulso Radar */
.online-beacon {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beacon-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.6;
  animation: pingBeacon 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.beacon-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #09090b;
}

@keyframes pingBeacon {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Título e Badge Verificado */
.profile-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.profile-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.verified-badge-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

.profile-tagline {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 92%;
  margin-bottom: 14px;
  line-height: 1.45;
}

/* Barra de Credibilidade (Stats Bar) */
.hero-stats-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  color: #d1d5db;
  margin-bottom: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.stat-star {
  color: #fbbf24;
  font-size: 0.85rem;
}

.stat-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* Notificação Sutil de Prova Social em Tempo Real */
.live-sales-strip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: #6ee7b7;
  max-width: 95%;
  transition: all 0.3s ease;
}

.live-flame {
  font-size: 0.85rem;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4));
}

.live-sales-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* =========================================================
   BUSCA & FILTROS DE CATEGORIA
   ========================================================= */
.search-filter-section {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 38px 12px 38px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.90rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--border-focus);
  background: rgba(20, 20, 26, 0.95);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

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

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

.clear-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 8px;
  min-width: 36px;
  min-height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
}

.clear-search-btn.active {
  display: flex;
}

/* Abas de Categoria */
.categories-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.categories-wrapper::-webkit-scrollbar {
  display: none;
}

.category-tabs {
  display: flex;
  gap: 6px;
  width: max-content;
}

.category-btn {
  padding: 8px 14px;
  min-height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

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

.category-btn.active {
  background: #ffffff;
  color: #09090b;
  font-weight: 700;
  border-color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* =========================================================
   SEÇÃO DO CATÁLOGO DE PRODUTOS
   ========================================================= */
.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
  padding: 0 2px;
}

.headline-title-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-headline h2 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.headline-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.count-indicator {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* Grid de Produtos */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================================================
   CARD DE PRODUTO (SOFISTICADO & SEXY)
   ========================================================= */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.2s ease, 
              box-shadow 0.2s ease,
              background 0.2s ease;
  position: relative;
  outline: none;
}

.product-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.product-card:active {
  transform: scale(0.985);
}

.product-card:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Ícone / Logo Oficial do Produto */
.product-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.product-icon-box svg,
.product-icon-box img,
.product-brand-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

/* Conteúdo Central */
.product-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-top-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.product-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.015em;
}

/* Badges Exclusivos */
.product-mini-badge {
  font-size: 0.63rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.badge-hot {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-recommended {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-trending {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-popular {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Pill de Desconto Sexy */
.product-discount-pill {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(244, 63, 94, 0.3));
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Linha de Bônus Estilo Glass Emerald */
.product-bonus-row {
  display: flex;
  align-items: center;
}

.bonus-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Linha de Preço de Alto Contraste */
.product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 6px;
  row-gap: 2px;
  margin-top: 1px;
}

.price-strikethrough {
  font-size: 0.68rem;
  color: #6b7280;
  text-decoration: line-through;
}

.price-prefix {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.price-amount {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Coluna de Ação (Botão Sutil na Direita) */
.product-action-col {
  flex-shrink: 0;
  margin-left: auto;
}

.btn-action-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: inherit;
  padding: 8px 12px;
  min-height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.product-card:hover .btn-action-pill {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* Estado Vazio */
.empty-state {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-dim);
}

.empty-state svg {
  margin-bottom: 12px;
  opacity: 0.4;
}

/* =========================================================
   SEÇÃO DE GARANTIA & CREDIBILIDADE (4 SELOS BLINDADOS)
   ========================================================= */
.guarantee-section {
  margin-top: 32px;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(16, 19, 30, 0.8) 0%, rgba(10, 12, 20, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.guarantee-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guarantee-shield-icon {
  font-size: 1.2rem;
}

.guarantee-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

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

@media (max-width: 380px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.trust-icon-box {
  font-size: 1.15rem;
  flex-shrink: 0;
  line-height: 1;
}

.trust-text-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.trust-text-col p {
  font-size: 0.70rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* =========================================================
   AVALIAÇÕES DE CLIENTES REAIS (PROVA SOCIAL PODEROSA)
   ========================================================= */
.reviews-section {
  margin-top: 32px;
}

.verified-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

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

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.review-user-col {
  flex: 1;
  min-width: 0;
}

.review-user-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.review-user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.verified-check-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #10b981;
  color: #080a12;
  font-size: 0.55rem;
  font-weight: 900;
}

.review-user-city {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.review-stars-col {
  flex-shrink: 0;
}

.review-stars-visual {
  color: #fbbf24;
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.80rem;
  color: #d1d5db;
  line-height: 1.45;
  margin-bottom: 8px;
}

.review-footer-tag {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.review-footer-tag strong {
  color: #9ca3af;
}

/* =========================================================
   DÚVIDAS FREQUENTES (FAQ ACCORDION)
   ========================================================= */
.faq-section {
  margin-top: 32px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 12px 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.faq-icon {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-dim);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 14px;
  color: var(--text-muted);
  font-size: 0.80rem;
  line-height: 1.5;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 12px;
}

/* Rodapé */
.store-footer {
  margin-top: 36px;
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.footer-copy {
  font-size: 0.74rem;
  color: var(--text-dim);
}

.footer-disclaimer {
  font-size: 0.66rem;
  color: #7e858f;
  margin-top: 4px;
  line-height: 1.4;
}

/* =========================================================
   BARRA FLUTUANTE WHATSAPP (SEXY & DISCRETA)
   ========================================================= */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.bottom-bar-pill {
  pointer-events: auto;
  background: rgba(10, 12, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 8px 18px 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bottom-bar-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85), 0 0 20px rgba(16, 185, 129, 0.2);
}

.pill-beacon {
  position: relative;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pill-arrow {
  color: #10b981;
  transition: transform 0.2s ease;
}

.bottom-bar-pill:hover .pill-arrow {
  transform: translateX(3px);
}

/* =========================================================
   MODAL / BOTTOM SHEET (CHECKOUT VIP)
   ========================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-sheet {
  background: var(--bg-modal);
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  padding: 16px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  position: relative;
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
}

.modal-overlay.active .modal-sheet {
  transform: translateY(0);
}

.sheet-drag-handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  margin: 0 auto 14px;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.modal-product-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.modal-product-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.modal-product-icon svg,
.modal-product-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

.modal-product-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-category-tag {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.modal-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.015em;
}

.modal-discount-pill {
  font-size: 0.65rem;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
  margin-top: 2px;
}

.modal-description {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

/* Opções de Planos */
.modal-plans-section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.plans-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.plan-option-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-option-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.plan-option-card.selected {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.12);
}

.plan-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-custom-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-option-card.selected .plan-custom-radio {
  border-color: var(--primary);
}

.plan-option-card.selected .plan-custom-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.plan-text-col {
  display: flex;
  flex-direction: column;
}

.plan-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.plan-desc {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.plan-price-col {
  text-align: right;
}

.plan-price-num {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
}

.plan-old-price {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* Features */
.modal-features {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.modal-features h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e4e4e7;
  margin-bottom: 8px;
}

.features-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.features-items li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Ações do Modal */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-buy-whatsapp {
  width: 100%;
  padding: 13px 18px;
  background: #10b981;
  color: #09090b;
  border-radius: var(--radius-md);
  font-size: 0.90rem;
  font-weight: 800;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-buy-whatsapp:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45);
}

.btn-pix-quick {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.80rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-pix-quick:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #181a24;
  border: 1px solid var(--border-emerald);
  color: #34d399;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.80rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 300;
}

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

/* Respeita preferência do usuário por redução de movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .avatar-ring {
    animation: none;
  }

  .beacon-pulse {
    animation: none;
    display: none;
  }
}
