/* ==========================================================================
   OLLIGATOR LABS — DARK MODE BIOHACKING DESIGN SYSTEM
   CSS3 Nativo, Modular, Responsivo e Ultraveloz
   ========================================================================== */

:root {
  /* Cores Globais Obrigatórias */
  --bg-primary: #1B1B1B;
  --container-surface: #051421;
  --container-card: #081D30;
  --action-cta: #0A47A1;
  --action-cta-hover: #08377C;
  --accent-cyan: #00FFD1;
  --accent-cyan-hover: rgba(0, 255, 209, 0.15);
  --text-primary: #EDEDED;
  --text-muted: #8E9BAE;
  --border-subtle: rgba(0, 255, 209, 0.18);
  --border-card: rgba(255, 255, 255, 0.06);
  --danger-color: #FF4D4D;
  --success-color: #00E676;
  --warning-color: #FFB300;

  /* Tipografia & Métricas */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 0 20px rgba(0, 255, 209, 0.25);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Reset Técnico & Acessibilidade */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-gutter: stable;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

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

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

button {
  cursor: pointer;
  user-select: none;
}

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

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #112d45;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ==========================================================================
   HEADER FIXO (STICKY HEADER)
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 20, 33, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Identidade da Marca */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 255, 209, 0.4));
  transition: transform var(--transition-fast);
}

.brand-identity:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-top: 3px;
  text-shadow: 0 0 10px rgba(0, 255, 209, 0.5);
}

/* Barra de Busca */
.search-wrapper {
  flex: 1;
  max-width: 460px;
  position: relative;
  margin: 0 4px;
}

.search-input-box {
  display: flex;
  align-items: center;
  background: #081d30;
  border: 1px solid rgba(0, 255, 209, 0.18);
  border-radius: 9999px;
  padding: 6px 14px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input-box:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 255, 209, 0.25);
}

.search-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 8px;
}

.search-input {
  width: 100%;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.825rem;
}

.search-clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  margin-left: 6px;
}

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

.search-clear-btn:hover {
  background: var(--danger-color);
  color: #fff;
}

/* Ações do Cabeçalho */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(8, 29, 48, 0.7);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.action-btn:hover {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-hover);
  color: var(--accent-cyan);
}


/* Botão Permanente de Perfil / Conta no Cabeçalho */
.header-btn-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(8, 29, 48, 0.7);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.header-btn-profile:hover {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-hover);
  color: var(--accent-cyan);
}

.header-profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a47a1, #00ffd1);
  color: #051421;
  font-weight: 800;
  font-size: 0.7rem;
  box-shadow: 0 0 8px rgba(0, 255, 209, 0.4);
}

.action-btn svg {
  width: 16px;
  height: 16px;
}


  /* Botão de Perfil visível no mobile, com área de toque 40x40px idêntica ao carrinho */
  .header-btn-profile {
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    position: relative;
    border-color: rgba(0, 255, 209, 0.25);
  }

  .header-btn-profile .btn-label-desktop {
    display: none !important;
  }

  .header-btn-profile .header-profile-avatar {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .action-btn.btn-cart {
  background: var(--action-cta);
  border-color: var(--action-cta);
  color: #fff;
  position: relative;
}

.action-btn.btn-cart:hover {
  background: var(--action-cta-hover);
  border-color: var(--accent-cyan);
}

.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9999px;
  background: var(--accent-cyan);
  color: #051421;
  font-size: 0.7rem;
  font-weight: 800;
}

.action-btn.btn-cart .badge-count {
  background: #fff;
  color: var(--action-cta);
}

/* Responsividade do Header */
.btn-label-filter {
  display: inline-block !important;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin-left: 5px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .btn-label-desktop {
    display: none;
  }
  .action-btn {
    padding: 8px 10px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 8px;
  }

  .brand-identity {
    order: 1;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.58rem;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }

  /* Exibe botões de políticas e autenticidade como ícones táteis elegantes no mobile */
  .header-btn-secondary {
    display: inline-flex !important;
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    flex-shrink: 0;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  }

  .header-btn-secondary:active {
    background: rgba(0, 255, 209, 0.1);
    border-color: var(--accent-cyan);
    transform: scale(0.95);
  }

  .header-btn-secondary svg {
    width: 17px;
    height: 17px;
  }

  .action-btn.btn-filter {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    position: relative;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }

  .action-btn.btn-filter .badge-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 16px;
    height: 16px;
    font-size: 0.6rem;
    border: 2px solid #051421;
  }

  .action-btn.header-btn-profile {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }

  .action-btn.btn-cart {
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 14px rgba(0, 255, 209, 0.25);
    flex-shrink: 0;
  }

  .action-btn.btn-cart .btn-label-desktop {
    display: none !important;
  }

  .action-btn.btn-cart .badge-count {
    position: absolute;
    top: -3px;
    right: -3px;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    border: 2px solid #051421;
  }

  /* Linha 2 do Header: Barra de busca 100% fluida sem vazamento lateral */
  .search-wrapper {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin: 4px 0 0 0;
    min-width: 0;
  }

  .search-input {
    min-width: 0;
  }
}

/* ==========================================================================
   BARRA DE STATUS E CONTROLE DE ORDENAÇÃO
   ========================================================================== */
.controls-bar {
  background: #061929;
  border-bottom: 1px solid var(--border-card);
  padding: 10px 16px;
}

.controls-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.results-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.stats-count {
  font-weight: 700;
  color: var(--accent-cyan);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.sort-select {
  background: #081d30;
  border: 1px solid rgba(0, 255, 209, 0.18);
  color: var(--text-primary);
  font-size: 0.8125rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.sort-select:focus {
  border-color: var(--accent-cyan);
}

.sort-select option {
  background: #081d30;
  color: var(--text-primary);
}

/* Chips de Filtros Ativos */
.active-filters-row {
  max-width: 1400px;
  margin: 8px auto 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 209, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.filter-tag-remove {
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.filter-tag-remove:hover {
  opacity: 1;
}

/* ==========================================================================
   GRID DE PRODUTOS RESPONSIVA MULTI-DISPOSITIVO
   Desktop e Tablet: 4 colunas fluidas e compactas
   Mobile: 2 colunas simétricas com contenção estrita
   ========================================================================== */
.catalog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 16px 36px;
  flex: 1;
  width: 100%;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

/* Card do Produto - Design Diamante Harmônico, Ergonômico e Simétrico */
.product-card {
  background: rgba(5, 20, 33, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 11px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  height: 100%;
  min-width: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  content-visibility: auto;
  contain-intrinsic-size: 0 380px;
}

.product-card:hover {
  border-color: rgba(0, 255, 209, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 255, 209, 0.08);
}

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

/* Header em Duas Camadas Estáveis (Zero Assimetria) */
.product-header-diamond {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 7px;
}

.header-tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 20px;
}

.header-tier-bottom {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow: hidden;
  min-height: 18px;
}

.header-badges-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.tag-manufacturer {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.08);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 255, 209, 0.16);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.tag-category {
  font-size: 0.625rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 5px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.tag-category-secondary {
  color: #00FFD1;
  background: rgba(0, 255, 209, 0.07);
  border: 1px solid rgba(0, 255, 209, 0.16);
}

.tag-category-more {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  line-height: 1;
}

.product-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  word-break: break-word;
}

.product-meta-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 7px;
  min-height: 20px;
}

.spec-badge {
  color: #F0F6FC;
  background: rgba(5, 20, 33, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.6875rem;
  display: inline-flex;
  align-items: center;
}

.spec-badge.spec-dose {
  border-color: rgba(0, 255, 209, 0.18);
  color: #00FFD1;
}

.spec-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

/* Seções "O que é?" e "Para que serve?" */
.product-bio-block {
  background: rgba(5, 20, 33, 0.6);
  border-radius: var(--radius-sm);
  padding: 6px 7px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.bio-section {
  margin-bottom: 4px;
}

.bio-section:last-child {
  margin-bottom: 0;
}

.bio-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent-cyan);
  margin-bottom: 1px;
}

.bio-text {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-expand-bio {
  font-size: 0.625rem;
  color: var(--accent-cyan);
  cursor: pointer;
  margin-top: 2px;
  display: inline-block;
  text-decoration: underline;
}

.btn-expand-bio:hover {
  color: #fff;
}

/* Preço e Ação de Compra - Base Perfeitamente Alinhada */
.product-bottom {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.price-currency {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-right: 2px;
}

.price-val {
  font-family: 'SF Mono', Monaco, Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 1.05rem;
  font-weight: 800;
  font-feature-settings: 'tnum' 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 209, 0.25);
}

.product-actions-row {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: default;
  height: 34px;
}

.qty-control {
  display: flex;
  align-items: center;
  background: rgba(5, 20, 33, 0.9);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: visible;
  height: 34px;
  flex-shrink: 0;
}

.qty-btn {
  width: 26px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 700;
  position: relative;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.qty-btn:first-child {
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

.qty-btn:last-child {
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

.qty-btn::before {
  content: '';
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: -4px;
  right: -4px;
  pointer-events: auto;
}

.qty-btn:hover {
  background: rgba(0, 255, 209, 0.15);
  color: var(--accent-cyan);
}

.qty-val {
  width: 22px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-add-cart {
  flex: 1;
  min-width: 0;
  height: 34px;
  background: var(--action-cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  white-space: nowrap;
  position: relative;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-add-cart::before {
  content: '';
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: -2px;
  right: -2px;
  pointer-events: auto;
}

.btn-add-cart:hover {
  background: #00e0b7;
  color: #051421;
  box-shadow: 0 0 12px rgba(0, 255, 209, 0.45);
}

.btn-add-cart svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.btn-add-cart:active {
  transform: scale(0.97);
}

.btn-add-cart.added {
  background: var(--success-color);
  color: #051421;
}

/* ==========================================================================
   GATING DE ACESSO & BLOQUEIO DE PREÇOS PARA MEMBROS
   ========================================================================== */
.price-locked {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.71875rem !important;
  font-weight: 700 !important;
  color: var(--accent-cyan) !important;
  background: rgba(0, 255, 209, 0.08) !important;
  border: 1px dashed rgba(0, 255, 209, 0.35) !important;
  border-radius: var(--radius-sm) !important;
  padding: 2px 7px !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}

.price-locked:hover {
  background: rgba(0, 255, 209, 0.16) !important;
  border-color: var(--accent-cyan) !important;
  transform: scale(1.02);
}

.price-locked svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.btn-login-required {
  background: rgba(10, 71, 161, 0.8) !important;
  border: 1px solid rgba(0, 255, 209, 0.35) !important;
  color: #EDEDED !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  width: 100% !important;
  padding: 0 8px !important;
  white-space: nowrap !important;
}

.btn-login-required:hover {
  background: var(--action-cta) !important;
  color: #fff !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 255, 209, 0.25) !important;
}

.btn-login-required svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.detail-price-locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.08);
  border: 1px dashed rgba(0, 255, 209, 0.35);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  cursor: pointer;
  margin-top: 4px;
}

.detail-price-locked:hover {
  background: rgba(0, 255, 209, 0.16);
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVIDADE: TABLETS (768px a 1023px)
   3 colunas simétricas, equilibradas e de padrão ticket alto
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .catalog-container {
    padding: 16px 14px 36px;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .product-card {
    padding: 12px 10px 14px;
  }

  .product-title {
    font-size: 0.84rem;
    min-height: 2.6em;
    height: 2.6em;
  }

  .product-actions-row {
    gap: 6px;
  }

  .qty-control {
    height: 32px;
  }

  .qty-btn {
    width: 22px;
    font-size: 0.875rem;
  }

  .qty-val {
    width: 20px;
    font-size: 0.75rem;
  }

  .btn-add-cart {
    height: 32px;
    padding: 0 8px;
    font-size: 0.75rem;
    gap: 5px;
  }

  .btn-add-cart svg {
    width: 14px;
    height: 14px;
  }
}

/* ==========================================================================
   RESPONSIVIDADE: MOBILE (< 768px)
   2 colunas simétricas com contenção estrita e zero overflow
   ========================================================================== */
@media (max-width: 767px) {
  .catalog-container {
    padding: 10px 8px 30px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card {
    padding: 10px 8px 10px;
  }

  .product-header-diamond {
    gap: 3px;
    margin-bottom: 5px;
  }

  .header-tier-top {
    min-height: 18px;
  }

  .header-tier-bottom {
    min-height: 16px;
  }

  .tag-manufacturer {
    font-size: 0.58rem;
    padding: 1px 5px;
    max-width: 95px;
  }

  .tag-category {
    font-size: 0.58rem;
    padding: 1px 4px;
  }

  .badge-diamond-hplc {
    font-size: 0.58rem !important;
    padding: 1px 4px !important;
  }

  .product-title {
    font-size: 0.80rem;
    min-height: 2.7em;
    line-height: 1.35;
    margin-bottom: 4px;
  }

  .product-meta-specs {
    font-size: 0.625rem;
    gap: 3px 5px;
    margin-bottom: 6px;
    min-height: 18px;
  }

  .spec-badge {
    font-size: 0.625rem;
    padding: 1px 4px;
  }

  .product-bio-block {
    padding: 5px 6px;
    margin-bottom: 6px;
  }

  .bio-label {
    font-size: 0.59rem;
  }

  .bio-text {
    font-size: 0.65625rem;
    line-height: 1.25;
  }

  .btn-expand-bio {
    font-size: 0.59rem;
  }

  .product-teaser-block {
    padding: 5px 6px;
    margin-bottom: 6px;
  }

  .teaser-label {
    font-size: 0.59rem;
  }

  .teaser-benefits-list li {
    font-size: 0.625rem;
  }

  .product-bottom {
    padding-top: 6px;
  }

  .product-price-row {
    margin-bottom: 5px;
  }

  .price-currency {
    font-size: 0.625rem;
  }

  .price-val {
    font-size: 0.95rem;
  }

  .product-actions-row {
    height: 32px;
    gap: 5px;
  }

  .qty-control {
    height: 32px;
  }

  .qty-btn {
    width: 22px;
    font-size: 0.8125rem;
  }

  .qty-val {
    width: 18px;
    font-size: 0.70rem;
  }

  .btn-add-cart {
    height: 32px;
    font-size: 0.70rem;
    padding: 0 5px;
    gap: 4px;
  }

  .btn-add-cart svg {
    width: 13px;
    height: 13px;
  }
}

/* ==========================================================================
   PREVENÇÃO DE AUTO-ZOOM NO IOS SAFARI (INPUTS >= 16px NO MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* ==========================================================================
   PADRÃO BOTTOM SHEET NATIVO PARA MODAIS EM MOBILE (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-dialog,
  .modal-dialog-wide,
  .modal-dialog-fullscreen,
  .modal-dialog-compact,
  .consultoria-modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
    border-left: 1px solid var(--border-subtle) !important;
    border-right: 1px solid var(--border-subtle) !important;
    border-top: 1px solid var(--border-subtle) !important;
    transform: translateY(100%) !important;
    transition: transform var(--transition-normal) !important;
    padding-bottom: env(safe-area-inset-bottom, 16px);
  }

  .modal-overlay.open .modal-dialog,
  .modal-overlay.open .modal-dialog-wide,
  .modal-overlay.open .modal-dialog-fullscreen,
  .modal-overlay.open .modal-dialog-compact,
  .modal-overlay.open .consultoria-modal-dialog {
    transform: translateY(0) !important;
  }

  /* Grabber bar no topo dos modais mobile para ergonomia de app */
  .modal-dialog::before,
  .modal-dialog-wide::before,
  .modal-dialog-fullscreen::before,
  .modal-dialog-compact::before,
  .consultoria-modal-dialog::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    margin: 8px auto 2px;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   OTIMIZAÇÃO ULTRA-COMPACTA (< 360px - DISPOSITIVOS MUITO ESTREITOS)
   ========================================================================== */
@media (max-width: 360px) {
  .catalog-container {
    padding: 8px 4px 24px;
  }

  .catalog-grid {
    gap: 6px;
  }

  .product-card {
    padding: 6px 5px 8px;
  }

  .product-title {
    font-size: 0.73rem;
  }

  .product-actions-row {
    gap: 2px;
  }

  .qty-btn {
    width: 16px;
  }

  .qty-val {
    width: 14px;
  }

  .btn-add-cart {
    padding: 0 3px;
    font-size: 0.625rem;
  }
}

/* Indicador de Carregamento Progressivo (Infinite Scroll Sentinel) */
.scroll-sentinel {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0, 255, 209, 0.2);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   GAVETA RETRÁTIL DE FILTROS (DRAWER FILTROS)
   Bottom Sheet em Mobile / Painel Lateral em Desktop
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.drawer-panel {
  position: fixed;
  background: #051421;
  border: 1px solid var(--border-subtle);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal);
  touch-action: pan-y;
}

/* Gestos de Arraste (Drag/Swipe to dismiss) em Tempo Real */
.drawer-panel.is-dragging,
.cart-drawer-panel.is-dragging,
.menu-master-drawer.is-dragging {
  transition: none !important;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

/* Desktop: Slide-over lateral direito */
@media (min-width: 769px) {
  .drawer-panel {
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    transform: translateX(100%);
    border-left: 1px solid var(--border-subtle);
    border-top: none;
    border-bottom: none;
    border-right: none;
  }
  .drawer-panel.open {
    transform: translateX(0);
  }
}

/* Mobile: Bottom sheet até 85% */
@media (max-width: 768px) {
  .drawer-panel {
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 85vh;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    transform: translateY(100%);
    border-top: 1px solid var(--border-subtle);
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
  .drawer-panel.open {
    transform: translateY(0);
  }
}

.drawer-header {
  position: relative;
  padding: 16px;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  cursor: grab;
  user-select: none;
}

.drawer-header:active,
.is-dragging .drawer-header {
  cursor: grabbing !important;
}

/* Indicador sutil de arraste biohacking no topo do drawer */
.drawer-drag-pill {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 255, 209, 0.25);
  pointer-events: none;
  transition: background var(--transition-fast), width var(--transition-fast);
}

.drawer-header:hover .drawer-drag-pill {
  background: var(--accent-cyan);
  width: 44px;
}

.drawer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.drawer-close-btn::before {
  content: '';
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: -6px;
  right: -6px;
  pointer-events: auto;
}

.drawer-close-btn:hover {
  background: var(--danger-color);
  color: #fff;
}

.drawer-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-group-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #081d30;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: rgba(0, 255, 209, 0.3);
  color: var(--text-primary);
}

.filter-chip.active {
  background: rgba(0, 255, 209, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Faixa de Preço */
.price-slider-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-range-inputs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.price-range-slider {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #051421;
  flex-shrink: 0;
}

.btn-drawer-clear {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.btn-drawer-clear:hover {
  background: rgba(255, 77, 77, 0.15);
  color: var(--danger-color);
}

.btn-drawer-apply {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--action-cta);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition-fast);
}

.btn-drawer-apply:hover {
  background: var(--action-cta-hover);
}

/* ==========================================================================
   CARRINHO DINÂMICO (DRAWER CART) FLUIDO & RESPONSIVO
   ========================================================================== */
.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 450px;
  background: #051421;
  border-left: 1px solid var(--border-subtle);
  z-index: 220;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  touch-action: pan-y;
}

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

@media (max-width: 640px) {
  .cart-drawer-panel {
    max-width: 100%;
    border-left: none;
  }
}

/* Área de Rolagem Unificada Fluida (Produtos + Frete + Endereço) */
.cart-scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

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

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px;
}

.cart-empty-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.2);
}

.cart-item {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: border-color var(--transition-fast);
}

.cart-item-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.cart-item:hover {
  border-color: rgba(0, 255, 209, 0.3);
}

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

.cart-item-info.cart-item-clickable {
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  margin: -4px -6px;
  transition: background var(--transition-fast), transform var(--transition-fast);
  outline: none;
}

.cart-item-info.cart-item-clickable:hover {
  background: rgba(0, 255, 209, 0.07);
}

.cart-item-info.cart-item-clickable:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-cyan);
}

.cart-item-info.cart-item-clickable:active {
  transform: scale(0.985);
}

.cart-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  word-break: break-word;
  transition: color var(--transition-fast);
}

.cart-item-info.cart-item-clickable:hover .cart-item-title {
  color: var(--accent-cyan);
}

.cart-item-info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(0, 255, 209, 0.75);
  background: rgba(0, 255, 209, 0.1);
  border: 1px solid rgba(0, 255, 209, 0.28);
  border-radius: 50%;
  width: 15px;
  height: 15px;
  margin-left: 5px;
  vertical-align: 1px;
  transition: all var(--transition-fast);
}

.cart-item-info.cart-item-clickable:hover .cart-item-info-badge {
  color: #051421;
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: scale(1.12);
  box-shadow: 0 0 8px rgba(0, 255, 209, 0.4);
}

.cart-item-mfg {
  font-size: 0.6875rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.cart-item-price {
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  background: #051421;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 32px;
}

.qty-btn {
  width: 30px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: rgba(0, 255, 209, 0.15);
  color: var(--accent-cyan);
}

.qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.cart-item-del {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: all var(--transition-fast);
}

.cart-item-del:hover {
  background: rgba(255, 77, 77, 0.15);
  color: var(--danger-color);
}

/* Área de Cupom de Desconto no Carrinho */
.cart-coupon-box {
  background: #081d30;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border-card);
}

.coupon-box-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}

.coupon-input-group {
  display: flex;
  gap: 6px;
}

.coupon-input {
  flex: 1;
  background: #051421;
  border: 1px solid rgba(0, 255, 209, 0.18);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-family: 'Courier New', Courier, monospace, var(--font-family);
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.coupon-input::placeholder {
  font-family: var(--font-family);
  color: #445566;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.coupon-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 209, 0.2);
}

.coupon-input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #06111a;
}

.btn-coupon-apply {
  background: var(--action-cta);
  border: 1px solid rgba(10, 71, 161, 0.5);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.btn-coupon-apply:hover {
  background: var(--action-cta-hover);
  border-color: var(--accent-cyan);
}

.btn-coupon-remove {
  background: rgba(127, 29, 29, 0.4);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.btn-coupon-remove:hover {
  background: rgba(153, 27, 27, 0.6);
  border-color: var(--danger-color);
}

.coupon-feedback {
  font-size: 0.75rem;
  margin-top: 8px;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 4px;
}

.coupon-feedback.success {
  color: var(--accent-cyan);
}

.coupon-feedback.error {
  color: var(--danger-color);
}

/* Área de Frete no Carrinho */
.cart-shipping-box {
  background: #081d30;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border-card);
}

.shipping-box-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cep-input-group {
  display: flex;
  gap: 6px;
}

.cep-input {
  flex: 1;
  background: #051421;
  border: 1px solid rgba(0, 255, 209, 0.18);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  outline: none;
}

.cep-input:focus {
  border-color: var(--accent-cyan);
}

.btn-cep-calc {
  background: rgba(0, 255, 209, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-cep-calc:hover {
  background: var(--accent-cyan);
  color: #051421;
}

.shipping-options-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.shipping-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #051421;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.shipping-option-item.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.08);
}

/* Formulário de Endereço do Destinatário */
.cart-address-box {
  background: #081d30;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border-card);
}

.address-box-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.form-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-input {
  width: 100%;
  background: #051421;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-cyan);
}

/* Rodapé Fixo e Compacto do Carrinho */
.cart-footer-compact {
  background: #051421;
  border-top: 1px solid var(--border-subtle);
  padding: 14px 16px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cart-summary-row.discount {
  color: var(--accent-cyan);
}

.cart-summary-row.discount .discount-value {
  color: var(--accent-cyan);
  font-weight: 700;
}

.cart-summary-row.total {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: 6px;
  margin-bottom: 12px;
}

.cart-summary-row.total .total-price {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 209, 0.3);
}

.btn-checkout-whatsapp {
  width: 100%;
  padding: 12px;
  background: #00E676;
  color: #051421;
  font-size: 0.875rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
  box-shadow: 0 4px 16px rgba(0, 230, 118, 0.25);
}

.btn-checkout-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
  background: #00c853;
}

/* ==========================================================================
   BOTÃO E MODAIS DE COMPARTILHAMENTO DE CARRINHO / PROTOCOLO
   ========================================================================== */
.btn-share-cart {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 8px;
  background: rgba(0, 255, 209, 0.08);
  border: 1px solid rgba(0, 255, 209, 0.28);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-share-cart:hover {
  background: rgba(0, 255, 209, 0.16);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 255, 209, 0.25);
  transform: translateY(-1px);
}

.share-cart-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.share-cart-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.share-cart-summary-box {
  background: rgba(8, 29, 48, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.share-summary-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.share-items-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 160px;
  overflow-y: auto;
}

.share-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78125rem;
  color: var(--text-primary);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.share-item-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
}

.share-item-qty {
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.share-cart-link-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.share-link-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.share-input-row {
  display: flex;
  gap: 6px;
}

.share-url-input {
  flex: 1;
  background: #051421;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-url-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0, 255, 209, 0.2);
}

.btn-copy-share-url {
  background: var(--action-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.78125rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-copy-share-url:hover {
  background: var(--action-cta-hover);
}

.btn-copy-share-url.copied {
  background: #00E676;
  color: #051421;
}

.share-cart-actions {
  margin-top: 4px;
}

.btn-share-whatsapp {
  width: 100%;
  padding: 11px;
  background: #00E676;
  color: #051421;
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-share-whatsapp:hover {
  background: #00c853;
  box-shadow: 0 4px 16px rgba(0, 230, 118, 0.35);
  transform: translateY(-1px);
}

/* Modal de Confirmação de Protocolo Compartilhado */
.confirm-shared-cart-body {
  text-align: center;
  padding: 24px 20px;
}

.confirm-shared-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.confirm-shared-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.confirm-shared-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 20px;
}

.confirm-shared-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-confirm-action {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--border-card);
  background: #081d30;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.btn-confirm-action:hover {
  border-color: var(--border-subtle);
  background: #0d2842;
}

.btn-confirm-action.highlight-cyan {
  background: rgba(0, 255, 209, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-confirm-action.highlight-cyan:hover {
  background: rgba(0, 255, 209, 0.22);
  box-shadow: 0 0 16px rgba(0, 255, 209, 0.25);
}

.btn-confirm-action.secondary {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-confirm-action.secondary:hover {
  color: #fff;
}

/* Toast de Notificação Flutuante Biohacking */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #051421;
  border: 1px solid var(--accent-cyan);
  border-radius: 9999px;
  padding: 10px 20px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 209, 0.35);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

/* ==========================================================================
   MODAIS INSTITUCIONAIS (AUTENTICIDADE, POLÍTICAS, DETALHES, PERFIL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.modal-dialog {
  background: var(--container-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-dialog {
  transform: scale(1);
}

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

.modal-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* Modal de Autenticidade: Grade dos 6 Laboratórios */
.auth-labs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 580px) {
  .auth-labs-grid {
    grid-template-columns: 1fr;
  }
}

.auth-lab-card {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast);
}

.auth-lab-card:hover {
  border-color: var(--border-subtle);
}

.lab-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  background: rgba(0, 255, 209, 0.1);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

.lab-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.lab-links {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lab-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #051421;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lab-link-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.lab-alert-box {
  grid-column: 1 / -1;
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.75rem;
  color: #ff9999;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Modal de Políticas de Compra */
.policy-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-card {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px;
}

.policy-card-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.policy-card-content {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.policy-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
}

.policy-rule-item.danger {
  color: #ff8080;
}

.policy-rule-item.success {
  color: #00E676;
}

/* Modal de Detalhes Fisiológicos */
.detail-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: var(--container-card);
  padding: 12px;
  border-radius: var(--radius-md);
}

.detail-spec-item {
  display: flex;
  flex-direction: column;
}

.detail-spec-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 700;
}

.detail-spec-value {
  font-size: 0.875rem;
  color: #fff;
  font-weight: 600;
}

.detail-section-block {
  background: var(--container-card);
  border-radius: var(--radius-md);
  padding: 14px;
}

.detail-section-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.detail-section-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Modal de Perfil / Conta */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 16px;
}

.auth-tab-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.auth-tab-btn.active {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.orders-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-history-card {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8125rem;
}

.order-history-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

/* Banner de Aviso de Autenticação / Membros */
.auth-notice-banner {
  background: rgba(0, 255, 209, 0.06);
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.8125rem;
}

.auth-notice-banner.authenticated {
  background: rgba(0, 230, 118, 0.08);
  border-color: rgba(0, 230, 118, 0.3);
}

.auth-notice-banner svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.auth-notice-banner.authenticated svg {
  color: var(--success-color);
}

.auth-notice-banner strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
  font-size: 0.84rem;
}

.auth-notice-banner p {
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
  font-size: 0.75rem;
}

/* Micro-animação tática no badge de carrinho */
@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); filter: drop-shadow(0 0 8px #00ffd1); }
  100% { transform: scale(1); }
}

.badge-count.pulse {
  animation: badgePulse 0.4s ease-out;
}

/* Rodapé Oficial da Página */
.main-footer {
  background: #051421;
  border-top: 1px solid var(--border-card);
  padding: 24px 16px;
  margin-top: auto;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  max-width: 800px;
  margin: 0 auto 12px;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}


/* Estrutura do Formulário de Perfil Completo com Endereço e CPF */
.form-section-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-top: 14px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 255, 209, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

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

.profile-status-message {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.2s ease-in;
}

.profile-status-message.success {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--success-color);
}

.profile-status-message.error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: var(--danger-color);
}

.input-spinner {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 255, 209, 0.2);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

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



/* ==========================================================================
   NAVEGAÇÃO SIMPLIFICADA DE AUTENTICAÇÃO (ENTRAR VS CRIAR CONTA)
   ========================================================================== */
.auth-switcher-nav {
  display: flex;
  background: rgba(4, 18, 30, 0.85);
  border: 1px solid rgba(0, 255, 209, 0.18);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}

.auth-switcher-btn {
  flex: 1;
  padding: 9px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 4px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.auth-switcher-btn:hover {
  color: #fff;
}

.auth-switcher-btn.active {
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 255, 209, 0.35);
  box-shadow: 0 0 10px rgba(0, 255, 209, 0.15);
}

/* ==========================================================================
   CARD DO CABEÇALHO DO MEMBRO CONECTADO
   ========================================================================== */
.member-header-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 29, 48, 0.6);
  border: 1px solid rgba(0, 255, 209, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.member-avatar-slot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a47a1, #00ffd1);
  color: #051421;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(0, 255, 209, 0.35);
  flex-shrink: 0;
}

.member-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.member-greeting {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-email {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.member-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  margin-top: 3px;
}

.btn-member-logout {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff5252;
  background: rgba(255, 82, 82, 0.08);
  border: 1px solid rgba(255, 82, 82, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-member-logout:hover {
  background: rgba(255, 82, 82, 0.2);
  border-color: #ff5252;
  color: #fff;
}



/* ==========================================================================
   BLOCO DE ARMAZENAMENTO E TEMPERATURA NO MODAL DE DETALHES
   ========================================================================== */
.detail-storage-block {
  background: rgba(4, 18, 30, 0.75);
  border: 1px solid rgba(0, 255, 209, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
}

.detail-storage-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.detail-storage-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 255, 209, 0.08);
  border: 1px solid rgba(0, 255, 209, 0.2);
  flex-shrink: 0;
}

.detail-storage-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.detail-storage-temp {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.detail-storage-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.detail-storage-row strong {
  color: #fff;
  display: inline;
  margin-right: 4px;
}

.detail-storage-care {
  background: rgba(255, 171, 0, 0.08);
  border: 1px solid rgba(255, 171, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.75rem;
  color: #ffc107;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.detail-storage-care .care-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   BADGES TÉRMICOS NOS CARDS DO CATÁLOGO (VITRINE)
   ========================================================================== */
.spec-badge.spec-temp-cold {
  background: rgba(0, 255, 209, 0.1);
  border: 1px solid rgba(0, 255, 209, 0.35);
  color: var(--accent-cyan);
  font-size: 0.6875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.spec-badge.spec-temp-ambient {
  background: rgba(255, 171, 0, 0.1);
  border: 1px solid rgba(255, 171, 0, 0.35);
  color: #ffab00;
  font-size: 0.6875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}



/* ==========================================================================
   TEASER INSTIGANTE "PARA QUE SERVE" & BADGES POLIDAS (v3.7.0)
   ========================================================================== */
.product-teaser-block {
  background: rgba(5, 20, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  margin-bottom: 8px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.product-card:hover .product-teaser-block {
  border-color: rgba(0, 255, 209, 0.15);
  background: rgba(0, 255, 209, 0.02);
}

.teaser-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent-cyan);
  margin-bottom: 3px;
}

.teaser-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.7em;
  min-height: 2.7em;
  margin-bottom: 3px;
}

.teaser-expand-cue {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-cyan);
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.teaser-expand-cue:hover {
  color: #fff;
  text-decoration: underline;
}

/* Badge de Água Bacteriostática Inclusa */
.spec-water-badge {
  background: rgba(0, 255, 209, 0.1) !important;
  color: var(--accent-cyan) !important;
  border-color: rgba(0, 255, 209, 0.3) !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Bloco Informativo de Água Bacteriostática no Modal */
.detail-water-box {
  background: linear-gradient(135deg, rgba(0, 255, 209, 0.06) 0%, rgba(5, 20, 33, 0.8) 100%);
  border: 1px solid rgba(0, 255, 209, 0.28);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 12px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.detail-water-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.detail-water-icon {
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(0, 255, 209, 0.5));
}

.detail-water-title {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
}

.detail-water-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.detail-water-text {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0;
}


/* ==========================================================================
   ATALHOS DA GAVETA LATERAL & AJUSTES DE TELAS ULTRA-ESTREITAS (v3.7.1)
   ========================================================================== */
.drawer-shortcuts-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-card);
}

.drawer-shortcuts-title {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.drawer-shortcut-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.drawer-shortcut-btn svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.drawer-shortcut-btn:hover,
.drawer-shortcut-btn:active {
  background: rgba(0, 255, 209, 0.08);
  border-color: rgba(0, 255, 209, 0.35);
  color: var(--accent-cyan);
}

@media (max-width: 370px) {
  .header-actions {
    gap: 3px !important;
  }
  .header-btn-secondary,
  .action-btn.btn-filter,
  .action-btn.header-btn-profile {
    width: 33px !important;
    height: 33px !important;
  }
  .action-btn.btn-cart {
    width: 35px !important;
    height: 35px !important;
  }
  .brand-title {
    font-size: 0.88rem !important;
  }
  .brand-subtitle {
    font-size: 0.5rem !important;
  }
}

/* ==========================================================================
   MENU MASTER DRAWER (#menuMasterDrawer) - v3.8.0
   Design Dark Biohacking (#051421, #081D30, #00FFD1)
   ========================================================================== */
.btn-menu-master {
  background: rgba(0, 255, 209, 0.08) !important;
  border: 1px solid rgba(0, 255, 209, 0.3) !important;
  color: var(--accent-cyan) !important;
}

.btn-menu-master:hover {
  background: rgba(0, 255, 209, 0.16) !important;
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 12px rgba(0, 255, 209, 0.25);
}

.menu-master-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-menu-master:hover .menu-master-icon {
  transform: scale(1.08);
}

.menu-master-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  height: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  max-width: 420px !important;
  border-radius: 0 !important;
  border-left: 1px solid rgba(0, 255, 209, 0.22) !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  transform: translateX(100%) !important;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.8) !important;
  background: #051421 !important;
  z-index: 220 !important;
  transition: transform var(--transition-normal);
  touch-action: pan-y;
}

.menu-master-drawer.open {
  transform: translateX(0) !important;
}

@media (max-width: 480px) {
  .menu-master-drawer {
    max-width: 88vw !important;
  }
}

.menu-master-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.menu-master-block {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: border-color var(--transition-fast);
}

.menu-master-block:hover {
  border-color: rgba(0, 255, 209, 0.2);
}

.menu-block-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.menu-block-badge {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 255, 209, 0.25);
}

.menu-block-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.menu-block-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.menu-auth-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.status-guest {
  background: rgba(255, 179, 0, 0.12);
  color: #FFB300;
  border: 1px solid rgba(255, 179, 0, 0.25);
}

.status-member {
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 255, 209, 0.3);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.form-row-compact {
  margin-bottom: 8px;
}

.form-label-compact {
  display: block;
  font-size: 0.71875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-input-compact {
  width: 100%;
  background: #051421;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input-compact:focus {
  border-color: var(--accent-cyan);
}

.btn-menu-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin-top: 6px;
  background: var(--action-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-menu-action:hover {
  background: var(--action-cta-hover);
}

.menu-feedback-msg {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 8px;
}

.menu-account-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-sub-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.78125rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.menu-sub-btn:hover {
  background: rgba(0, 255, 209, 0.06);
  border-color: rgba(0, 255, 209, 0.25);
  color: var(--accent-cyan);
}

.sub-arrow {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.menu-block-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-feature-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #051421;
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.menu-feature-btn:hover {
  border-color: rgba(0, 255, 209, 0.35);
  background: rgba(0, 255, 209, 0.04);
  transform: translateX(2px);
}

.menu-feature-btn.highlight-cyan {
  border-color: rgba(0, 255, 209, 0.28);
  background: rgba(0, 255, 209, 0.05);
}

.feature-btn-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.feature-btn-content {
  flex: 1;
  min-width: 0;
}

.feature-btn-content strong {
  display: block;
  font-size: 0.8125rem;
  color: #fff;
  margin-bottom: 2px;
}

.feature-btn-content small {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.feature-tag {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.admin-link {
  border-color: rgba(0, 255, 209, 0.3) !important;
  background: rgba(0, 255, 209, 0.04) !important;
}

/* ==========================================================================
   MODAL DA CENTRAL CIENTÍFICA (#modalCentralCientifica)
   ========================================================================== */
.modal-wide-overlay .modal-dialog-wide {
  max-width: 960px;
  width: 95vw;
  max-height: 90vh;
}

.scientific-tabs-nav {
  display: flex;
  align-items: center;
  background: #051421;
  border-bottom: 1px solid var(--border-card);
  padding: 4px 16px;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.scientific-tabs-nav::-webkit-scrollbar {
  display: none;
}

.sci-tab-btn {
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

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

.sci-tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.sci-modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(90vh - 130px);
}

.sci-pane {
  display: none;
}

.sci-pane.active {
  display: block;
}

/* ==========================================================================
   CALCULADORA DE RECONSTITUIÇÃO & SERINGA U-100
   ========================================================================== */
.calc-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .calc-grid-layout {
    grid-template-columns: 1fr;
  }
}

.calc-inputs-card,
.calc-syringe-card,
.map-anatomy-card,
.map-control-card {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
}

.calc-card-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
}

.input-unit {
  position: absolute;
  right: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-cyan);
  pointer-events: none;
}

.input-hint {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.calc-results-box {
  background: #051421;
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.calc-res-label {
  color: var(--text-muted);
}

.calc-res-value {
  color: var(--text-primary);
  font-family: monospace;
}

.calc-result-row.highlight {
  border-top: 1px solid var(--border-card);
  padding-top: 8px;
  margin-top: 4px;
}

.calc-res-hero {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 209, 0.4);
}

.syringe-instruction {
  font-size: 0.78125rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
}

.syringe-svg-container {
  background: #051421;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
}

.syringe-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

#syringeFluid,
#syringePlungerHead {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.syringe-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.71875rem;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border-card);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.legend-box {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-box.fluid {
  background: var(--accent-cyan);
}

.legend-box.plunger {
  background: #0A47A1;
}

/* ==========================================================================
   MAPA ANATÔMICO DE RODÍZIO CORPORAL
   ========================================================================== */
.map-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .map-grid-layout {
    grid-template-columns: 1fr;
  }
}

.map-intro {
  font-size: 0.78125rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.body-map-svg-wrap {
  background: #051421;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.body-map-svg {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.anat-zone {
  fill: rgba(0, 255, 209, 0.25);
  stroke: var(--accent-cyan);
  stroke-width: 1.5;
  cursor: pointer;
  transition: all 0.2s ease;
}

.anat-zone:hover {
  fill: rgba(0, 255, 209, 0.6);
  filter: drop-shadow(0 0 6px rgba(0, 255, 209, 0.8));
}

.anat-zone.selected {
  fill: var(--accent-cyan) !important;
  stroke: #fff !important;
  stroke-width: 2.5 !important;
}

.anat-zone.locked {
  fill: rgba(255, 77, 77, 0.35) !important;
  stroke: var(--danger-color) !important;
}

.anat-zone.recommended {
  fill: rgba(0, 230, 118, 0.45) !important;
  stroke: #00E676 !important;
  animation: pulseNeonZone 1.5s infinite;
}

@keyframes pulseNeonZone {
  0%, 100% {
    stroke-width: 2;
    filter: drop-shadow(0 0 4px #00E676);
  }
  50% {
    stroke-width: 3.5;
    filter: drop-shadow(0 0 10px #00E676);
  }
}

.map-legend {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
  font-size: 0.71875rem;
  flex-wrap: wrap;
  gap: 8px;
}

.map-leg-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
}

.leg-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.leg-color.available {
  background: var(--accent-cyan);
}

.leg-color.recommended {
  background: #00E676;
}

.leg-color.locked {
  background: var(--danger-color);
}

.selected-zone-box {
  background: #051421;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.zone-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.zone-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.zone-name {
  font-size: 0.875rem;
  color: var(--accent-cyan);
}

.zone-status-banner {
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.78125rem;
  font-weight: 600;
}

.status-free {
  background: rgba(0, 230, 118, 0.1);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.status-locked {
  background: rgba(255, 77, 77, 0.12);
  color: var(--danger-color);
  border: 1px solid rgba(255, 77, 77, 0.3);
}

.zone-countdown {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-family: monospace;
}

.recent-apps-box {
  margin-top: 16px;
  border-top: 1px solid var(--border-card);
  padding-top: 12px;
}

.recent-apps-title {
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.recent-apps-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
}

.app-log-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: #051421;
  border-radius: 4px;
  font-size: 0.75rem;
}

.empty-apps-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   EVIDÊNCIAS CLÍNICAS & SINERGIAS
   ========================================================================== */
.evidence-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.evidence-card {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evidence-card.level-a {
  border-left: 3px solid var(--accent-cyan);
}

.evidence-card.level-b {
  border-left: 3px solid #FFB300;
}

.ev-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px 12px;
  flex-wrap: wrap;
}

.ev-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 255, 209, 0.25);
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  flex-shrink: 0;
}

.evidence-card.level-b .ev-badge {
  background: rgba(255, 179, 0, 0.12);
  color: #FFB300;
  border-color: rgba(255, 179, 0, 0.25);
}

.ev-trials {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.35;
  margin-left: auto;
}

.ev-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.ev-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.ev-synergy-tag {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-card);
  font-size: 0.71875rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* ==========================================================================
   BIBLIOTECA FARMACOLÓGICA HORMONAL (#modalBibliotecaHormonal)
   ========================================================================== */
.modal-fullscreen-overlay .modal-dialog-fullscreen {
  width: 98vw;
  max-width: 1400px;
  height: 94vh;
  max-height: 94vh;
}

.header-count-pill {
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
  margin-left: 8px;
}

.hormonios-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: #051421;
  border-bottom: 1px solid var(--border-card);
}

@media (max-width: 600px) {
  .hormonios-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

.hormonios-tabs {
  display: flex;
  gap: 6px;
}

.hormonio-tab-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.78125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hormonio-tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.hormonio-tab-btn.active {
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.hormonios-search-box {
  flex: 1;
  max-width: 320px;
}

.hormonio-search-input {
  width: 100%;
  background: #081D30;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.hormonio-search-input:focus {
  border-color: var(--accent-cyan);
}

.hormonios-modal-body {
  padding: 18px;
  overflow-y: auto;
  max-height: calc(94vh - 120px);
}

.hormonios-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.hormonio-card {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-fast);
}

.hormonio-card:hover {
  border-color: rgba(0, 255, 209, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hormonio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 10px;
}

.hormonio-card-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}

.hormonio-badge-group {
  display: flex;
  gap: 6px;
}

.hormonio-badge {
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-inj {
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
}

.badge-oral {
  background: rgba(10, 71, 161, 0.25);
  color: #4da6ff;
}

.hormonio-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hormonio-field-title {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
}

.hormonio-field-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.hormonio-labs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.lab-pill {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  background: #051421;
  border: 1px solid var(--border-card);
  color: var(--text-primary);
}

/* ==========================================================================
   MODAL IDENTIFICAÇÃO RÁPIDA (#modalFastAuth)
   ========================================================================== */
.modal-dialog-compact {
  max-width: 400px;
}

.fast-auth-intro {
  text-align: center;
  margin-bottom: 16px;
}

.fast-auth-icon {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 6px;
}

.fast-auth-heading {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
}

.fast-auth-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.fast-auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   CAMPO DE SENHA COM TOGGLE DE VISIBILIDADE (ÍCONE DE OLHO)
   ========================================================================== */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper .form-input {
  width: 100%;
  padding-right: 42px !important;
}

.btn-toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  padding: 6px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
  z-index: 5;
  border-radius: 4px;
}

.btn-toggle-password:hover {
  color: var(--accent-cyan) !important;
  transform: translateY(-50%) scale(1.1);
}

.btn-toggle-password:active {
  transform: translateY(-50%) scale(0.95);
}

.btn-toggle-password svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* ==========================================================================
   MENU MASTER - BLOCO 1 (PERFIL & IDENTIFICAÇÃO LIMPA)
   ========================================================================== */
.menu-user-profile-box {
  margin-top: 4px;
}

.menu-user-state {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #051421;
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.menu-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 255, 209, 0.25), rgba(10, 71, 161, 0.4));
  border: 1.5px solid var(--accent-cyan);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.menu-user-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.menu-user-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-user-contact {
  font-size: 0.71875rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-user-badge {
  font-size: 0.65625rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.menu-user-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   CALCULADORA - SELETOR DE PEPTÍDEO E SUGESTÃO DE ÁGUA BACTERIOSTÁTICA
   ========================================================================== */
.form-select-peptide {
  background-color: #051421;
  color: #fff;
  font-weight: 600;
}

.form-select-peptide optgroup {
  background: #081D30;
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 0.75rem;
}

.form-select-peptide option {
  background: #051421;
  color: #EDEDED;
  font-weight: 500;
  font-size: 0.8125rem;
}

.calc-water-suggestion-box {
  background: linear-gradient(145deg, rgba(0, 255, 209, 0.05) 0%, rgba(8, 29, 48, 0.8) 100%);
  border: 1px solid rgba(0, 255, 209, 0.28);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 10px;
  margin-bottom: 14px;
}

.suggestion-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.suggestion-icon {
  font-size: 1rem;
  line-height: 1;
}

.suggestion-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.suggestion-title {
  font-size: 0.78125rem;
  color: #fff;
  font-weight: 700;
}

.suggestion-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(0, 255, 209, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 255, 209, 0.35);
}

.suggestion-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.suggestion-action-row {
  margin-top: 8px;
}

.btn-suggestion-apply {
  background: transparent;
  border: 1px dashed var(--accent-cyan);
  color: var(--accent-cyan);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.71875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-suggestion-apply:hover {
  background: rgba(0, 255, 209, 0.1);
}

/* ==========================================================================
   SIMULADOR FARMACOLÓGICO DE SINERGIAS (2 A 3 COMPOSTOS)
   ========================================================================== */
.synergy-simulator-card {
  background: var(--container-card);
  border: 1px solid rgba(0, 255, 209, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.synergy-sim-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.synergy-sim-badge {
  font-size: 0.65625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 255, 209, 0.25);
}

.synergy-sim-desc {
  font-size: 0.78125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.synergy-selectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .synergy-selectors-grid {
    grid-template-columns: 1fr;
  }
}

.synergy-field {
  display: flex;
  flex-direction: column;
}

.synergy-select {
  background-color: #051421;
  color: #fff;
  font-size: 0.78125rem;
}

.synergy-select optgroup {
  background: #081D30;
  color: var(--accent-cyan);
  font-weight: 800;
}

.synergy-select option {
  background: #051421;
  color: #EDEDED;
}

.synergy-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-synergy-evaluate {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.84375rem;
}

.btn-synergy-reset {
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.78125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-synergy-reset:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

/* Card de Veredito da Sinergia */
.synergy-verdict-box {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  padding: 16px;
  animation: fadeInVerdict 0.3s ease-out;
}

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

.synergy-verdict-box.verdict-success {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.35);
}

.synergy-verdict-box.verdict-warning {
  background: rgba(255, 179, 0, 0.08);
  border: 1px solid rgba(255, 179, 0, 0.35);
}

.synergy-verdict-box.verdict-danger {
  background: rgba(255, 77, 77, 0.08);
  border: 1px solid rgba(255, 77, 77, 0.35);
}

.synergy-verdict-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.verdict-badge-pill {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verdict-success .verdict-badge-pill {
  background: rgba(0, 230, 118, 0.2);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.4);
}

.verdict-warning .verdict-badge-pill {
  background: rgba(255, 179, 0, 0.2);
  color: #FFB300;
  border: 1px solid rgba(255, 179, 0, 0.4);
}

.verdict-danger .verdict-badge-pill {
  background: rgba(255, 77, 77, 0.2);
  color: #ff6666;
  border: 1px solid rgba(255, 77, 77, 0.4);
}

.verdict-compounds-list {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.synergy-verdict-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.verdict-field-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.verdict-field-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verdict-field-text {
  font-size: 0.78125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.verdict-labs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.verdict-lab-pill {
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: #051421;
  border: 1px solid var(--border-card);
  color: var(--accent-cyan);
}

.evidence-section-header {
  margin-top: 20px;
  margin-bottom: 12px;
}

.evidence-section-title {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  margin: 0;
}

/* ==========================================================================
   PADRÃO OURO: BULA CIENTÍFICA & NAVEGAÇÃO DE ABAS DO PRODUTO (v3.11.0)
   ========================================================================== */
.product-detail-nav-tabs {
  display: flex;
  background: #051421;
  border-bottom: 1px solid var(--border-card);
  padding: 8px 16px;
  gap: 8px;
}

.pdetail-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pdetail-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.pdetail-tab-btn.active {
  color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.08);
  border-color: rgba(0, 255, 209, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 209, 0.12);
}

.pdetail-tab-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
  will-change: transform, opacity;
}

/* ==========================================================================
   MOTOR UNIVERSAL DE GESTOS DE ABAS (SWIPETABSENGINE - v3.19.0)
   ========================================================================== */
.is-swiping-tabs {
  user-select: none;
  -webkit-user-select: none;
  cursor: grabbing !important;
}

.is-swiping-tabs * {
  pointer-events: none !important;
}

.tab-slide-in-next {
  animation: tabSlideInNext 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tab-slide-in-prev {
  animation: tabSlideInPrev 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes tabSlideInNext {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tabSlideInPrev {
  from {
    opacity: 0;
    transform: translate3d(-28px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Bula Científica Completa */
.bula-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.bula-container::-webkit-scrollbar {
  width: 5px;
}

.bula-container::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 209, 0.2);
  border-radius: 4px;
}

.bula-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  background: rgba(0, 255, 209, 0.04);
  border: 1px solid rgba(0, 255, 209, 0.22);
  border-radius: var(--radius-md);
  padding: 14px;
  gap: 10px 12px;
}

.bula-category-tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.bula-compound-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.bula-vehicle-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bula-gold-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #F59E0B;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 6px;
  padding: 4px 10px;
  white-space: nowrap;
  max-width: 100%;
  letter-spacing: 0.02em;
}

.bula-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

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

.bula-card, .bula-section {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.bula-section.bula-composition-matrix {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.06) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(0, 240, 255, 0.28);
}

.bula-card-title, .bula-section-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.bula-icon {
  font-size: 0.875rem;
}

.bula-card-text, .bula-section-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.bula-section-subtext {
  font-size: 0.78125rem;
  color: var(--text-muted);
  margin: 6px 0 0 0;
  line-height: 1.4;
}

.bula-labs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.bula-lab-pill {
  background: rgba(0, 255, 209, 0.07);
  border: 1px solid rgba(0, 255, 209, 0.2);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 4px 8px;
}

.bula-synergy-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.bula-synergy-item {
  font-size: 0.78125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.bula-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Badges da Enciclopédia Científica */
.badge-pep {
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
}

.badge-inc {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.badge-tpc {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

.badge-sarms {
  background: rgba(14, 165, 233, 0.15);
  color: #38BDF8;
}

.hormonio-card.destaque-ouro {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(245, 158, 11, 0.04);
}

.hormonio-card.destaque-ouro:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.12);
}

/* ==========================================================================
   CONSULTORIA VIRTUAL BIOHACKER (QUIZ DE 5 PASSOS)
   ========================================================================== */
.consultoria-modal-dialog {
  max-width: 720px;
  width: 95%;
  background: #051421;
  border: 1px solid rgba(0, 255, 209, 0.25);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7);
}

.consultoria-progress-container {
  padding: 14px 20px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 29, 48, 0.5);
}

.consultoria-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 580px;
  margin: 0 auto;
}

.consultoria-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.45;
  transition: all 0.2s ease;
}

.consultoria-step-item.active {
  opacity: 1;
}

.consultoria-step-item.completed {
  opacity: 0.9;
}

.consultoria-step-item.completed .step-num {
  background: rgba(0, 255, 209, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.consultoria-step-item.active .step-num {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #051421;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(0, 255, 209, 0.5);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  transition: all 0.2s ease;
}

.step-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.consultoria-step-item.active .step-label {
  color: var(--accent-cyan);
}

.consultoria-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 8px 14px;
}

.consultoria-modal-body {
  padding: 24px 20px;
  max-height: 75vh;
  overflow-y: auto;
}

.consultoria-step-header {
  margin-bottom: 20px;
}

.consultoria-step-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.35;
}

.consultoria-step-header p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.consultoria-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.consultoria-opt-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(8, 29, 48, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.consultoria-opt-card:hover {
  border-color: rgba(0, 255, 209, 0.35);
  background: rgba(0, 255, 209, 0.04);
  transform: translateY(-2px);
}

.consultoria-opt-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.08);
  box-shadow: 0 4px 16px rgba(0, 255, 209, 0.15);
}

.consultoria-opt-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.consultoria-opt-info strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 4px;
}

.consultoria-opt-card.selected .consultoria-opt-info strong {
  color: var(--accent-cyan);
}

.consultoria-opt-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.consultoria-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.consultoria-actions-row .btn-drawer-apply:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Formulário de Lead no Quiz */
.consultoria-lead-card {
  background: rgba(8, 29, 48, 0.85);
  border: 1px solid rgba(0, 255, 209, 0.3);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.consultoria-lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 209, 0.1);
  border: 1px solid rgba(0, 255, 209, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.consultoria-lead-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.consultoria-lead-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Resultado do Diagnóstico */
.consultoria-result-header {
  background: linear-gradient(135deg, rgba(8, 29, 48, 0.95), rgba(5, 20, 33, 0.95));
  border: 1px solid rgba(0, 255, 209, 0.35);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 20px rgba(0, 255, 209, 0.05);
}

.consultoria-protocol-tag {
  display: inline-block;
  background: rgba(0, 255, 209, 0.12);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.consultoria-protocol-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
}

.consultoria-protocol-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.consultoria-protocol-meta strong {
  color: var(--accent-cyan);
}

.consultoria-section-box {
  background: rgba(8, 29, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 14px;
}

.consultoria-section-heading {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.consultoria-compounds-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.consultoria-compound-pill {
  background: rgba(0, 255, 209, 0.08);
  border: 1px solid rgba(0, 255, 209, 0.25);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-add-stack-cart {
  background: var(--accent-cyan);
  color: #051421;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 255, 209, 0.3);
  margin-top: 10px;
}

.btn-add-stack-cart:hover {
  background: #26ffd8;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 255, 209, 0.45);
}

.btn-stack-whatsapp {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--success-color);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-stack-whatsapp:hover {
  background: rgba(0, 230, 118, 0.2);
  border-color: var(--success-color);
}

/* ==========================================================================
   MODAL GUIA DE INSTALAÇÃO NO IPHONE / IOS
   ========================================================================== */
.ios-install-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ios-install-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(8, 29, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.ios-step-num {
  width: 28px;
  height: 28px;
  background: rgba(0, 255, 209, 0.12);
  border: 1px solid rgba(0, 255, 209, 0.3);
  border-radius: 50%;
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ios-step-text {
  font-size: 0.84rem;
  color: #fff;
  line-height: 1.45;
}

.ios-share-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 255, 209, 0.15);
  margin: 0 4px;
}

/* ==========================================================================
   CRM DE CICLO & RECOMPRA (ADMIN & PAINEL)
   ========================================================================== */
.btn-crm-filter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-crm-filter:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-crm-filter.active {
  background: rgba(0, 255, 209, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-crm-filter.btn-crm-alert {
  border-color: rgba(255, 171, 0, 0.4);
  color: #ffc107;
}

.btn-crm-filter.btn-crm-alert.active {
  background: rgba(255, 171, 0, 0.15);
  border-color: #ffc107;
}

.crm-badge-count {
  background: #ffc107;
  color: #051421;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

.crm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.crm-badge-alert {
  background: rgba(255, 171, 0, 0.15);
  color: #ffc107;
  border: 1px solid rgba(255, 171, 0, 0.35);
  animation: pulseAlert 2.5s infinite;
}

@keyframes pulseAlert {
  0% { box-shadow: 0 0 0 0 rgba(255, 171, 0, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(255, 171, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 171, 0, 0); }
}

.crm-badge-active {
  background: rgba(0, 230, 118, 0.12);
  color: var(--success-color);
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.crm-badge-done {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.btn-zap-recompra {
  background: rgba(255, 171, 0, 0.14);
  border: 1px solid rgba(255, 171, 0, 0.4);
  color: #ffc107;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-zap-recompra:hover {
  background: rgba(255, 171, 0, 0.25);
  border-color: #ffc107;
  color: #fff;
}

/* ==========================================================================
   PRINCIPAIS BENEFÍCIOS (TÓPICOS) & CALCULADORA DE RENDIMENTO U-100 (v3.13.0)
   ========================================================================== */
.teaser-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.teaser-benefits-list li {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.benefit-bullet {
  color: var(--accent-cyan);
  font-weight: 900;
  margin-right: 3px;
  display: inline-block;
}

.detail-benefits-full {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-benefits-full li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
  padding-left: 2px;
}

.detail-benefits-full li .benefit-bullet {
  color: var(--accent-cyan);
  font-size: 0.875rem;
  margin-right: 6px;
}

/* Calculadora U-100: Presets Rápidos de Dosagem */
/* ==========================================================================
   CALCULADORA U-100: REORGANIZAÇÃO SEMÂNTICA & MOBILE-FIRST BIOHACKING
   ========================================================================== */
.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  margin-bottom: 12px;
}

.calc-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-fields-twin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}

.calc-dose-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.calc-recommended-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.12);
  border: 1px solid rgba(0, 255, 209, 0.35);
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.calc-presets-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}

.btn-calc-preset {
  background: rgba(5, 20, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  min-height: 52px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-calc-preset:hover {
  border-color: rgba(0, 255, 209, 0.5);
  background: rgba(0, 255, 209, 0.08);
}

.btn-calc-preset.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.16);
  box-shadow: 0 0 14px rgba(0, 255, 209, 0.3);
}

.btn-calc-preset .preset-name {
  font-size: 0.71875rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.btn-calc-preset .preset-val {
  font-size: 0.71875rem;
  color: var(--accent-cyan);
  font-weight: 700;
  font-family: monospace;
}

.btn-calc-preset .preset-yield {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.btn-calc-preset.active .preset-yield {
  color: #e2e8f0;
  font-weight: 600;
}

/* Dashboard 2x2 de Resultados em Alta Resolução */
.calc-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.calc-metric-card {
  background: #051421;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 72px;
  transition: border-color 0.2s ease;
}

.calc-metric-card.hero {
  border-color: rgba(0, 255, 209, 0.35);
  background: linear-gradient(135deg, rgba(0, 255, 209, 0.08) 0%, #051421 100%);
}

.calc-metric-card.yield-card {
  border-color: rgba(0, 255, 209, 0.2);
}

.calc-metric-card.duration-card {
  border-color: rgba(56, 189, 248, 0.2);
}

.calc-metric-card .metric-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.calc-metric-card .metric-val {
  font-size: 1.15rem;
  font-weight: 900;
  font-family: monospace;
  color: var(--text-primary);
  line-height: 1.2;
}

.calc-metric-card .metric-val.neon-hero {
  font-size: 1.45rem;
  color: #00FFD1;
  text-shadow: 0 0 10px rgba(0, 255, 209, 0.4);
}

.calc-metric-card .metric-val.highlight-yield {
  font-size: 1.25rem;
  color: #00FFD1;
  text-shadow: 0 0 8px rgba(0, 255, 209, 0.3);
}

.calc-metric-card .metric-val.highlight-duration {
  font-size: 0.9375rem;
  color: #38bdf8;
}

.calc-metric-card .metric-val.highlight-conc {
  font-size: 0.78125rem;
  color: #e2e8f0;
  word-break: break-word;
}

.calc-metric-card .metric-sub {
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Card Didático de Diluição e Uso Canônico */
.calc-usage-guide-card {
  background: rgba(8, 29, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 12px;
}

.usage-guide-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}

.usage-guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.usage-guide-list li {
  font-size: 0.71875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.usage-guide-list li strong {
  color: var(--text-secondary);
}

/* Otimizações Responsivas para Dispositivos Móveis e PWA */
@media (max-width: 640px) {
  .sci-modal-body {
    padding: 12px 8px;
  }

  .calc-inputs-card,
  .calc-syringe-card {
    padding: 12px 10px;
  }

  .calc-fields-twin-row {
    gap: 8px;
  }

  .calc-presets-container {
    gap: 5px;
  }

  .btn-calc-preset {
    padding: 8px 3px;
    min-height: 48px;
  }

  .btn-calc-preset .preset-name {
    font-size: 0.65rem;
  }

  .btn-calc-preset .preset-val {
    font-size: 0.65rem;
  }

  .btn-calc-preset .preset-yield {
    font-size: 0.58rem;
  }

  .calc-dashboard-grid {
    gap: 8px;
  }

  .calc-metric-card {
    padding: 8px 10px;
  }

  .calc-metric-card .metric-val.neon-hero {
    font-size: 1.3rem;
  }

  .calc-metric-card .metric-val.highlight-yield {
    font-size: 1.15rem;
  }

  .syringe-svg-container {
    padding: 12px 4px;
    overflow-x: hidden;
  }

  .syringe-svg {
    max-width: 100%;
  }

  .syringe-legend-row {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ==========================================================================
   CX & QUALITY ROADMAP v3.17.0:
   1. SELO DE PUREZA HPLC > 99%
   2. STACKS & PROTOCOLOS SINERGÉTICOS
   3. ESTIMADOR DE CICLO NO CARRINHO
   4. COMPARADOR CLÍNICO LADO A LADO
   5. AVISO DE CADEIA TÉRMICA & REFRIGERAÇÃO
   ========================================================================== */

/* 1. SELOS DE PUREZA MOLECULAR (TRUST SIGNALS) */
.badge-purity {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.08);
  border: 1px solid rgba(0, 255, 209, 0.28);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.purity-report-card {
  background: #081d30;
  border: 1px solid rgba(0, 255, 209, 0.25);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.purity-header-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.purity-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 255, 209, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 255, 209, 0.3);
}

.purity-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.purity-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}

.purity-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 640px) {
  .purity-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.purity-metric-box {
  background: rgba(5, 20, 33, 0.7);
  border: 1px solid rgba(0, 255, 209, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pmetric-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pmetric-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.purity-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  background: rgba(0, 255, 209, 0.04);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent-cyan);
}

/* 2. BARRA DE MODO DE VISUALIZAÇÃO: TODOS VS STACKS */
.view-mode-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  max-width: 1440px;
  margin: 0 auto;
}

.btn-view-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-view-mode:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-view-mode.active {
  background: rgba(0, 255, 209, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
}

.view-mode-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.btn-view-mode.active .view-mode-badge {
  background: var(--accent-cyan);
  color: #051421;
  font-weight: 700;
}

.view-mode-badge-neon {
  background: var(--accent-cyan);
  color: #051421;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 3. VITRINE DE STACKS & PROTOCOLOS */
.stacks-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Hero Clínico da Vitrine de Stacks */
.stacks-hero {
  background: linear-gradient(135deg, rgba(5, 20, 33, 0.95), rgba(8, 29, 48, 0.85));
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stacks-hero-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.stacks-hero-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Barra de Sub-Filtros de Categorias de Stacks */
.stacks-category-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 209, 0.3) transparent;
  -webkit-overflow-scrolling: touch;
}

.stacks-category-bar::-webkit-scrollbar {
  height: 4px;
}

.stacks-category-bar::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 209, 0.3);
  border-radius: 4px;
}

.btn-stack-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(8, 29, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-stack-category:hover {
  background: rgba(0, 255, 209, 0.1);
  border-color: rgba(0, 255, 209, 0.3);
  color: #fff;
}

.btn-stack-category.active {
  background: rgba(0, 255, 209, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 209, 0.25);
}

.stacks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.stack-card {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.stack-card:hover {
  border-color: rgba(0, 255, 209, 0.4);
  transform: translateY(-2px);
}

.stack-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stack-badge {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.1);
  border: 1px solid rgba(0, 255, 209, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.stack-duration {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.stack-sub {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin: 0;
  font-weight: 600;
}

.stack-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 4px 0 0 0;
}

.stack-items-box {
  background: rgba(5, 20, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stack-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  gap: 8px;
}

.stack-item-name {
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stack-item-dose {
  color: var(--text-muted);
  font-size: 0.6875rem;
}

.stack-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.stack-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stack-price-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.btn-add-stack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan);
  color: #051421;
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-add-stack:hover {
  background: #26ffe0;
  box-shadow: 0 0 16px rgba(0, 255, 209, 0.4);
  transform: scale(1.02);
}

.btn-trigger-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 255, 209, 0.08);
  border: 1px solid rgba(0, 255, 209, 0.35);
  color: var(--accent-cyan);
  font-size: 0.78125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-trigger-auth:hover {
  background: rgba(0, 255, 209, 0.18);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 255, 209, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ededed;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-compare-clear {
  padding: 6px 12px;
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.3);
  color: #ff6b6b;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-compare-clear:hover {
  background: rgba(255, 77, 77, 0.2);
  border-color: #ff4d4d;
}

.eye-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.btn-toggle-password:hover .eye-icon {
  color: var(--accent-cyan);
}

.tab-pane {
  display: block;
}

.tab-pane.hidden {
  display: none !important;
}

.tag-unavailable {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ff9800;
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 152, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.btn-product-unavailable {
  opacity: 0.55;
  cursor: not-allowed !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-muted) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 4. LINHA INTEGRADA MINIMALISTA DE DOSAGEM & CICLO NO CARRINHO */
.cart-item-dose-row {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.dose-selector-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dose-tier-select {
  background: rgba(5, 20, 33, 0.95);
  border: 1px solid rgba(0, 255, 209, 0.25);
  color: var(--accent-cyan);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: all var(--transition-fast);
  max-width: 160px;
}

.dose-tier-select:hover,
.dose-tier-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(0, 255, 209, 0.25);
}

.dose-tier-select option {
  background: #081d30;
  color: #fff;
  font-size: 0.75rem;
}

.dose-meta-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dose-weeks-text {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  white-space: nowrap;
}

.btn-mini-guarantee {
  background: rgba(0, 255, 209, 0.1);
  border: 1px solid rgba(0, 255, 209, 0.35);
  color: var(--accent-cyan);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-mini-guarantee:hover {
  background: var(--accent-cyan);
  color: #051421;
}

.cycle-covered-badge {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--success-color);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Retrocompatibilidade */
.cart-cycle-box {
  display: none;
}

/* 5. AVISO DE EMBALAGEM SEGURA & PROTEÇÃO DE TRANSPORTE */
.cart-thermal-notice,
.cart-safe-notice {
  margin: 12px 0 6px 0;
  padding: 10px 12px;
  background: #081d30;
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.thermal-notice-header,
.safe-notice-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.thermal-notice-text,
.safe-notice-text {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  margin: 0;
}

/* 6. COMPARADOR DE COMPOSTOS: BOTÃO FLUTUANTE (FAB COM BOTÃO FECHAR & ZONA DE DESCARTE) */
.compare-fab-container {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 52px;
  height: 52px;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fabPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  touch-action: none;
}

.compare-fab-container.is-dragging {
  transition: none !important;
  cursor: grabbing !important;
  z-index: 245;
}

.compare-fab-container.drag-dismissed {
  transform: scale(0) !important;
  opacity: 0 !important;
  pointer-events: none;
}

.compare-fab-btn {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #081d30;
  border: 1.5px solid var(--accent-cyan);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 255, 209, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.compare-fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 22px rgba(0, 255, 209, 0.5);
}

.compare-fab-btn:active {
  transform: scale(0.94);
}

.compare-fab-icon {
  font-size: 1.35rem;
  line-height: 1;
  pointer-events: none;
}

.compare-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-cyan);
  color: #051421;
  font-size: 0.6875rem;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Botão Fechar / Limpar no Desktop e Mobile */
.compare-fab-close-btn {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #051421;
  border: 1.5px solid rgba(255, 77, 77, 0.7);
  color: #ff4d4d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 242;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
}

.compare-fab-close-btn:hover {
  background: #ff4d4d;
  color: #051421;
  border-color: #ff4d4d;
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.7);
}

.compare-fab-close-btn:active {
  transform: scale(0.92);
}

/* Zona de Descarte Mobile (Lixeira Flutuante 'X') */
.compare-drop-zone {
  position: fixed;
  bottom: max(24px, calc(env(safe-area-inset-bottom, 16px) + 16px));
  left: 50%;
  transform: translate(-50%, 80px) scale(0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 238;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.compare-drop-zone.active {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.drop-zone-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(5, 20, 33, 0.92);
  border: 2px dashed rgba(255, 77, 77, 0.6);
  color: #ff4d4d;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 77, 77, 0.25);
  transition: all 0.2s ease;
}

.drop-zone-circle.is-over {
  background: rgba(255, 77, 77, 0.35);
  border-color: #ff4d4d;
  border-style: solid;
  color: #fff;
  transform: scale(1.22);
  box-shadow: 0 0 28px rgba(255, 77, 77, 0.85);
}

.drop-zone-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(5, 20, 33, 0.9);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 77, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  white-space: nowrap;
}

@keyframes fabPopIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .compare-fab-container {
    bottom: max(20px, calc(env(safe-area-inset-bottom, 16px) + 16px));
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .compare-fab-close-btn {
    width: 22px;
    height: 22px;
    top: -5px;
    left: -5px;
  }
}

/* 7. RODAPÉ FIXO DE CONVERSÃO DO MODAL DE DETALHES */
.detail-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(5, 20, 33, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 255, 209, 0.2);
  flex-shrink: 0;
  z-index: 20;
  gap: 12px;
}

.detail-footer-price-col {
  display: flex;
  flex-direction: column;
}

.detail-price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-price-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.detail-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#detailBtnAddToCart {
  flex: initial;
  min-width: fit-content;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  height: 38px;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.btn-detail-compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  height: 38px;
  background: rgba(8, 29, 48, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-detail-compare:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.1);
}

.btn-detail-compare.active {
  background: rgba(0, 255, 209, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 209, 0.3);
}

@media (max-width: 768px) {
  .detail-modal-footer {
    padding: 10px 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom, 14px));
    gap: 8px;
  }
  .detail-price-val {
    font-size: 1.15rem;
  }
  .detail-footer-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .btn-detail-compare {
    padding: 8px 10px;
    font-size: 0.75rem;
    height: 34px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .btn-detail-compare .btn-detail-compare-icon {
    display: none;
  }
  #detailBtnAddToCart {
    height: 34px;
    padding: 8px 12px;
    font-size: 0.75rem;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* TABELA DE COMPARAÇÃO NO MODAL */
.compare-modal-body {
  padding: 16px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: rgba(5, 20, 33, 0.6);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.6875rem;
  width: 140px;
}

.compare-table td {
  background: rgba(8, 29, 48, 0.4);
  color: #fff;
}

.compare-col-header {
  font-weight: 800;
  color: var(--accent-cyan) !important;
  font-size: 0.95rem !important;
}

.compare-price-highlight {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.modal-dialog.modal-dialog-wide {
  max-width: 880px;
}

@media (max-width: 768px) {
  .compare-floating-bar {
    width: calc(100% - 32px);
    bottom: 12px;
  }
  .compare-bar-content {
    justify-content: space-between;
    width: 100%;
  }
}

/* ==========================================================================
   CAIXA DE CONFIRMAÇÃO DE ADIÇÃO AO CARRINHO (IR PRO CARRINHO OU CONTINUAR)
   ========================================================================== */
.modal-overlay.cart-prompt-overlay {
  z-index: 400 !important;
  background: rgba(3, 10, 18, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}

.modal-dialog.cart-prompt-dialog {
  width: calc(100% - 32px) !important;
  max-width: 440px !important;
  margin: auto !important;
  background: #081D30 !important;
  border: 1px solid rgba(0, 255, 209, 0.28) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 255, 209, 0.08) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transform: scale(0.96) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
}

.modal-dialog.cart-prompt-dialog::before {
  display: none !important;
}

.modal-overlay.cart-prompt-overlay.open .modal-dialog.cart-prompt-dialog {
  transform: scale(1) translateY(0) !important;
}

.cart-prompt-header {
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(5, 20, 33, 0.6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.cart-prompt-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.cart-prompt-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid #00E676;
  color: #00E676;
  font-size: 0.75rem;
  font-weight: 900;
}

.cart-prompt-body {
  padding: 18px 20px 20px !important;
}

.cart-prompt-info-block {
  background: rgba(5, 20, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.cart-prompt-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.cart-prompt-product-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.cart-prompt-product-price {
  color: var(--accent-cyan, #00FFD1);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-prompt-product-meta {
  color: var(--text-secondary, #94A3B8);
  font-size: 0.78125rem;
  margin-bottom: 8px;
}

.cart-prompt-badge-line {
  display: flex;
  align-items: center;
}

.cart-prompt-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #00FFD1;
  background: rgba(0, 255, 209, 0.08);
  border: 1px solid rgba(0, 255, 209, 0.2);
  padding: 3px 8px;
  border-radius: 20px;
}

.cart-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-cart-prompt-go {
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #00FFD1 0%, #00E676 100%);
  color: #051421;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 255, 209, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cart-prompt-go:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 255, 209, 0.38);
}

.btn-cart-prompt-continue {
  width: 100%;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #EDEDED;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-cart-prompt-continue:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 209, 0.4);
  color: #00FFD1;
}

/* ==========================================================================
   CONFIGURADOR DE PROTOCOLOS POR FABRICANTE & FAIXA DE PREÇO (TIERS)
   ========================================================================== */
.protocol-config-overlay {
  z-index: 350 !important;
  background: rgba(3, 10, 18, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.protocol-config-dialog {
  max-width: 680px !important;
  background: #081D30 !important;
  border: 1px solid rgba(0, 255, 209, 0.3) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 255, 209, 0.1) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: 90vh !important;
}

.protocol-config-header {
  padding: 16px 20px !important;
  background: rgba(5, 20, 33, 0.7) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.protocol-config-title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.protocol-config-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 255, 209, 0.12);
  border: 1px solid rgba(0, 255, 209, 0.3);
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.proto-cfg-subtitle {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: var(--text-secondary, #94A3B8) !important;
  margin-top: 2px !important;
}

.protocol-config-body {
  padding: 18px 20px !important;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.proto-cfg-desc-box {
  background: rgba(5, 20, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.proto-section-heading {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.proto-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.proto-tiers-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.proto-tiers-grid.cols-1 {
  grid-template-columns: 1fr;
}

.proto-tier-card {
  background: rgba(5, 20, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.proto-tier-card:hover {
  border-color: rgba(0, 255, 209, 0.4);
  transform: translateY(-2px);
}

.proto-tier-card.active {
  border: 2px solid #00FFD1 !important;
  background: rgba(0, 255, 209, 0.08) !important;
  box-shadow: 0 0 16px rgba(0, 255, 209, 0.22) !important;
}

.proto-tier-badge {
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 6px;
  display: inline-block;
  align-self: center;
}

.proto-tier-badge.badge-economic {
  background: rgba(0, 230, 118, 0.15);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.proto-tier-badge.badge-standard {
  background: rgba(0, 255, 209, 0.15);
  color: #00FFD1;
  border: 1px solid rgba(0, 255, 209, 0.3);
}

.proto-tier-badge.badge-premium {
  background: rgba(255, 215, 0, 0.15);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.proto-tier-title {
  font-size: 0.825rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.proto-tier-price {
  font-size: 1rem;
  font-weight: 800;
  color: #00FFD1;
  margin: 2px 0;
}

.proto-tier-desc {
  font-size: 0.6875rem;
  color: var(--text-secondary, #94A3B8);
  line-height: 1.3;
}

.proto-compounds-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proto-compound-row {
  background: rgba(5, 20, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proto-compound-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.proto-compound-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.proto-compound-dose {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.proto-brand-select-wrap {
  position: relative;
}

.proto-brand-select {
  width: 100%;
  background: #051421;
  color: #fff;
  border: 1px solid rgba(0, 255, 209, 0.3);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.proto-brand-select:focus {
  border-color: #00FFD1;
  box-shadow: 0 0 10px rgba(0, 255, 209, 0.25);
}

.proto-brand-select option {
  background: #081D30;
  color: #fff;
  padding: 8px;
}

.proto-cfg-footer {
  padding: 16px 20px;
  background: rgba(5, 20, 33, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.proto-cfg-total-block {
  display: flex;
  flex-direction: column;
}

.proto-cfg-total-label {
  font-size: 0.7rem;
  color: var(--text-secondary, #94A3B8);
  text-transform: uppercase;
  font-weight: 700;
}

.proto-cfg-total-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.btn-proto-add-cart {
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #00FFD1 0%, #00E676 100%);
  color: #051421;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 255, 209, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-proto-add-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 255, 209, 0.4);
}

.stack-price-from {
  font-size: 0.72rem;
  color: var(--text-secondary, #94A3B8);
  font-weight: 600;
  margin-right: 2px;
}

.stack-price-to {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  margin-left: 4px;
}

@media (max-width: 640px) {
  .proto-tiers-grid,
  .proto-tiers-grid.cols-2,
  .proto-tiers-grid.cols-1 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .proto-tier-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 10px 14px;
  }

  .proto-tier-desc {
    display: none;
  }

  .proto-cfg-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-proto-add-cart {
    justify-content: center;
    width: 100%;
  }

  .proto-cfg-total-block {
    text-align: center;
    align-items: center;
  }
}

/* ==========================================================================
   CHIPS DE FILTROS RÁPIDOS POR OBJETIVO BIOLÓGICO (PADRÃO DIAMANTE)
   ========================================================================== */
.quick-goals-bar {
  background: rgba(5, 20, 33, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  padding: 10px 0;
  position: sticky;
  top: 70px;
  z-index: 90;
}

.quick-goals-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.quick-goals-container::-webkit-scrollbar {
  display: none;
}

.goal-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: var(--container-surface);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.goal-chip:hover {
  border-color: rgba(0, 255, 209, 0.4);
  color: var(--text-primary);
  background: rgba(0, 255, 209, 0.05);
}

.goal-chip.active {
  background: rgba(0, 255, 209, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(0, 255, 209, 0.18);
}

.goal-chip-icon {
  font-size: 0.95rem;
}

/* ==========================================================================
   REALCE DE BUSCA & BADGE DIAMANTE HPLC
   ========================================================================== */
mark.search-highlight {
  background: rgba(0, 255, 209, 0.24);
  color: #00FFD1;
  font-weight: 800;
  border-radius: 3px;
  padding: 0 2px;
  text-shadow: 0 0 8px rgba(0, 255, 209, 0.5);
}

.badge-diamond-hplc {
  background: linear-gradient(135deg, rgba(0, 255, 209, 0.15), rgba(10, 71, 161, 0.25)) !important;
  color: var(--accent-cyan) !important;
  border: 1px solid rgba(0, 255, 209, 0.45) !important;
  font-weight: 800 !important;
  box-shadow: 0 0 8px rgba(0, 255, 209, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* ==========================================================================
   CALCULADORA DE DOSAGEM, CONVERSÃO E CICLO (PADRÃO DIAMANTE)
   ========================================================================== */
.dosage-calculator-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 6px 0;
  color: var(--text-primary);
}

.dosage-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-card);
}

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

.calc-icon-badge {
  font-size: 1.6rem;
  background: rgba(0, 255, 209, 0.1);
  border: 1px solid rgba(0, 255, 209, 0.3);
  border-radius: 10px;
  padding: 6px 10px;
}

.calc-main-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px 0;
}

.calc-sub-title {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.calc-spec-pill {
  font-family: monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 255, 209, 0.08);
  border: 1px solid rgba(0, 255, 209, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
}

.dosage-calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .dosage-calc-grid {
    grid-template-columns: 1fr;
  }
}

.dosage-controls-card,
.dosage-results-card {
  background: var(--container-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #cfd8dc;
}

.calc-live-val {
  font-family: monospace;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.calc-range-slider {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
  height: 6px;
  background: #051421;
  border-radius: 3px;
}

.calc-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn-calc-preset {
  background: var(--container-surface);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-calc-preset:hover,
.btn-calc-preset.active {
  background: rgba(0, 255, 209, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  font-weight: 700;
}

.calc-frequency-grid,
.calc-duration-pills,
.calc-water-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  gap: 6px;
}

.btn-freq-opt,
.btn-cycle-pill,
.btn-water-opt {
  background: var(--container-surface);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 6px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.btn-freq-opt small {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.btn-freq-opt.active,
.btn-cycle-pill.active,
.btn-water-opt.active {
  background: rgba(0, 255, 209, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 255, 209, 0.15);
}

.btn-freq-opt.active small {
  color: var(--accent-cyan);
}

.calc-freq-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.calc-regimen-note {
  background: rgba(0, 255, 209, 0.05);
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: #cfd8dc;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.calc-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-card);
}

.calc-live-indicator {
  font-size: 0.7rem;
  font-weight: 700;
  color: #00FFD1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dosage-kpis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dosage-kpi-item {
  background: var(--container-surface);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.dosage-kpi-item.highlight {
  border-color: rgba(0, 255, 209, 0.35);
  background: rgba(0, 255, 209, 0.04);
}

.dosage-kpi-item.cycle-box {
  grid-column: 1 / -1;
  border-color: rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.05);
}

.kpi-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.kpi-val {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 2px 0;
}

.kpi-val.cyan {
  color: var(--accent-cyan);
}

.kpi-val.emerald {
  color: #00E676;
}

.kpi-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.calc-action-box {
  margin-top: auto;
}

.btn-add-full-cycle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #00FFD1 0%, #00BFA5 100%);
  color: #051421;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 255, 209, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-add-full-cycle:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 255, 209, 0.45);
}

.btn-add-full-cycle:active {
  transform: translateY(1px);
}

.cycle-cart-icon {
  font-size: 1.3rem;
}

.cycle-cart-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cycle-btn-title {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
}

.cycle-btn-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Seringa U-100 Compacta */
.syringe-visual-card {
  background: #020c14;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.syringe-badge-target {
  font-size: 0.8125rem;
  color: #cfd8dc;
}

.syringe-badge-target strong {
  color: var(--accent-cyan);
  font-size: 1rem;
  font-family: monospace;
}

.syringe-graphic-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.syringe-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  color: var(--text-muted);
  font-family: monospace;
  padding: 0 4px;
}

.syringe-plunger-track {
  height: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 255, 209, 0.3);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.syringe-liquid-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 255, 209, 0.8), rgba(0, 180, 216, 0.9));
  position: relative;
  transition: width 0.3s ease;
  min-width: 5%;
}

.syringe-needle-indicator {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.625rem;
  font-weight: 800;
  color: #051421;
  white-space: nowrap;
}




