﻿/* ── Nexa Aura — Reset e Global ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --na-bg:               #0A0A0F;
  --na-surface:          #0D0D15;
  --na-surface-elevated: #14141A;
  --na-surface-hover:    #1A1A26;
  --na-border:           #2D2D3A;
  --na-border-subtle:    rgba(255,255,255,0.05);
  --na-primary:          #3483FA;
  --na-primary-hover:    #2968C8;
  --na-primary-dim:      rgba(52,131,250,0.12);
  --na-secondary:        #22C5EE;
  --na-success:          #22C55E;
  --na-attention:        #F59E0B;
  --na-error:            #EF4444;
  --na-text:             #E2E2F0;
  --na-text-secondary:   rgba(226,226,240,0.55);
  --na-text-tertiary:    rgba(226,226,240,0.30);
  --na-gradient-logo:    linear-gradient(90deg, #9B5FFF 0%, #7B33FF 40%, #4F46FF 65%, #22C5EE 100%);
  --na-gradient-primary: linear-gradient(135deg, #3483FA 0%, #2968C8 100%);
  --na-gradient-accent:  linear-gradient(135deg, #3483FA 0%, #22C5EE 100%);
  --na-gradient-card:    linear-gradient(180deg, #14141A 0%, #0D0D15 100%);
  --na-font:             'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --na-radius-xs:        8px;
  --na-radius-sm:        12px;
  --na-radius-md:        16px;
  --na-radius-lg:        24px;
  --na-radius-full:      999px;
  --na-shadow-card:      0 4px 24px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.03) inset;
  --na-shadow-elevated:  0 8px 32px rgba(52,131,250,0.18), 0 2px 8px rgba(0,0,0,0.4);
  --na-shadow-primary:   0 4px 20px rgba(52,131,250,0.35);
  --na-transition:       0.2s ease;
}

body {
    font-family: var(--na-font);
    background: var(--na-bg);
    color: var(--na-text);
    margin: 0;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--na-border);
    z-index: 1;
}

.topo {
    display: flex;
    align-items: center;
    margin-left: 80px;
    padding: 10px 20px;
    position: relative;
    z-index: 2;
    gap: 80px;
}

.logo {
    display: inline-block;
    width: max-content;
    font-family: var(--na-font);
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    margin: 20px 0;

    background: var(--na-gradient-logo);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.caixa {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    background: var(--na-surface);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;

    padding-top: 120px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.caixa::after {
    content: "";
    position: absolute;
    right: 0;
    top: 120px;
    bottom: 0;
    width: 1px;
    background: var(--na-border);
}

.caixa button {
    background: none;
    border: none;
    cursor: pointer;
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;
}

  #btn-sininho {
    position: relative;
  }

  .menu-badge-notificacoes {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

.caixa svg {
    width: 30px;
    height: 30px;
}

.caixa button svg {
    fill: var(--na-text-secondary);
    transition: var(--na-transition);
}

.caixa button.ativo svg {
    fill: var(--na-primary);
}

.produtos {
    width: 100%;
    padding: 20px 20px 20px 120px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
    gap: 20px;
    align-items: start;
    box-sizing: border-box;
}

.produto-card {
    width: 220px;
    background: var(--na-gradient-card);
    border: 1px solid var(--na-border);
    border-radius: var(--na-radius-md);
    padding: 12px;
    box-sizing: border-box;
    box-shadow: var(--na-shadow-card);
    transition: transform var(--na-transition), box-shadow var(--na-transition), border-color var(--na-transition);
    font-family: var(--na-font);
    display: flex;
    flex-direction: column;
}

.produto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(52, 131, 250, 0.22);
    border-color: #3483FA;
}

.produto-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.imagem-produto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-sizing: border-box;
}

.nome-produto {
    color: #fff;
    font-size: 20px;
    margin: 14px 0 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.info-produto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.marca-produto {
    color: #b3b3b3;
}

.preco-produto {
    color: #e29640;
    font-weight: 700;
}

.marca-produto,
.preco-produto {
    margin: 0;
}

.pagina {
    display: none;
}

.pagina.ativa {
    display: block;
}

.menu-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--na-text-secondary);
    transition: fill var(--na-transition);
}

.menu-btn.ativo svg {
    fill: var(--na-primary);
}

.menu-btn:hover svg {
    fill: var(--na-text);
}

.carrinho-container {
    margin-left: 100px;
    padding: 30px 30px 40px;
    color: var(--na-text);
    font-family: var(--na-font);
    box-sizing: border-box;
}

.titulo-carrinho {
    font-size: 36px;
    font-weight: 800;
    margin: 10px 0 30px;
}

.carrinho-vazio {
    background: var(--na-gradient-card);
    border: 1px solid var(--na-border);
    border-radius: var(--na-radius-lg);
    padding: 50px 40px;
    text-align: center;
    max-width: 700px;
    box-shadow: var(--na-shadow-card);
}

.carrinho-vazio h3 {
    font-size: 28px;
    margin: 0 0 12px;
    color: var(--na-text);
}

.carrinho-vazio p {
    font-size: 17px;
    color: var(--na-text-secondary);
    margin: 0 0 24px;
}

.btn-comprar {
    background: var(--na-gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--na-radius-full);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--na-font);
    cursor: pointer;
    transition: transform var(--na-transition), box-shadow var(--na-transition);
    box-shadow: var(--na-shadow-primary);
}

.btn-comprar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(52,131,250,0.5);
}

.recomendados {
    margin-top: 40px;
}

.recomendados h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #fff;
}

/* ── Mensagens: bolhas e indicador (estilos únicos não cobertos pelo bloco principal) */

.mensagem {
    max-width: 72%;
    padding: 10px 16px;
    border-radius: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.mensagem p {
    margin: 0;
}

.mensagem.recebida {
    background: #1a1a1a;
    border: 1px solid #242424;
    color: #e0e0e0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.mensagem.enviada {
    background: linear-gradient(135deg, #6a08ac, #5d51fa);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Timestamp abaixo da bolha */
.mensagem .msg-hora {
    display: block;
    font-size: 10px;
    opacity: 0.5;
    margin-top: 4px;
    text-align: right;
}

.mensagem.recebida .msg-hora {
    text-align: left;
}

/* Typing indicator do admin */
.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 2px;
  flex-shrink: 0;
}

.typing-label {
  font-size: 12px;
  color: #888;
  font-style: italic;
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: #666;
  border-radius: 50%;
  animation: typing-pulse 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes typing-pulse {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%            { transform: translateY(-4px); opacity: 1; }
}


#pagina-notificacoes {
    background-color: #000;
    min-height: 100vh;
    padding: 40px 40px 40px 110px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.notificacoes-container {
    width: 100%;
    max-width: 1700px;
    color: #fff;
}

/* ── Configurações mobile — tela inteira com header gradiente ──── */
@media (max-width: 768px) {
  /* Esconde menu inferior e barras antigas quando Config. está ativa */
  body.nexa-configuracoes-ativa .caixa,
  body.nexa-configuracoes-ativa .topo {
    display: none !important;
  }

  body.nexa-configuracoes-ativa {
    padding-bottom: 0 !important;
    background: #f6f7fb !important;
    overflow-x: hidden !important;
  }

  #pagina-configuracoes {
    width: 100% !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f6f7fb !important;
    color: #111827 !important;
    box-sizing: border-box !important;
  }

  #pagina-configuracoes.ativa {
    display: block !important;
  }

  /* Header com gradiente roxo/azul */
  .config-mobile-header {
    width: 100% !important;
    min-height: 72px !important;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
  }

  .config-btn-voltar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border: none !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    font-size: 32px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
  }

  .config-mobile-header h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  /* Container de conteúdo sem o header nativo */
  #pagina-configuracoes .configuracoes-container {
    width: 100% !important;
    min-height: calc(100dvh - 72px) !important;
    margin: 0 !important;
    padding: 22px 18px 40px !important;
    box-sizing: border-box !important;
    background: #f6f7fb !important;
  }

  /* Oculta o título nativo da página (substituído pelo header gradiente) */
  #pagina-configuracoes .configuracoes-topo,
  #pagina-configuracoes .configuracoes-topo h2 {
    display: none !important;
  }
}

/* Desktop: header mobile não é exibido */
@media (min-width: 769px) {
  .config-mobile-header {
    display: none !important;
  }
}

#lista-notificacoes {
  width: 100%;
}

/* ── Card Pix pendente na lista de notificações ─────────────────────── */
.aviso-pix-pendente {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  box-sizing: border-box;
}

.aviso-pix-pendente.notif-unread {
  background: #f5f3ff;
}

.aviso-pix-produto-img {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.aviso-pix-sem-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

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

.aviso-pix-info strong {
  display: block;
  margin: 0 0 3px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.aviso-pix-info p {
  margin: 0 0 4px;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.35;
}

.aviso-pix-info small {
  display: block;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.2;
}

/* ── Botões de atividade na página de configurações ─────────────── */
.config-group-atividade {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.config-opcao {
  width: 100%;
  min-height: 64px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, box-shadow 0.15s;
}

.config-opcao:active {
  background: #f5f3ff;
}

.config-opcao-icone {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.10);
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.config-opcao-texto {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.config-opcao-texto strong {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  display: block;
}

.config-opcao-texto small {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  display: block;
}

/* alias para o sistema _initNotificacoes (notif-lista) */
.notif-pix-pendente {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  box-sizing: border-box;
}
.notif-pix-pendente.notif-unread { background: #f5f3ff; }

.notif-pix-produto-img {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.titulo-notificacoes {
    margin-bottom: 40px;
}

.titulo-notificacoes h2 {
    margin: 0;
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
}

.linha-notificacao {
    width: 100%;
    max-width: 2000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 22px 60px;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.linha-notificacao:hover {
    transform: translateY(-2px);
    border-color: rgba(122, 60, 255, 0.45);
    box-shadow: 0 8px 24px rgba(122, 60, 255, 0.12);
}

.texto-linha {
    font-size: 28px;
    font-weight: 500;
    color: #fff;
}

.seta-linha {
    font-size: 32px;
    font-weight: bold;
    color: #ff9f1c;
}

.estado-vazio {
    width: 100%;
    max-width: 2000px;
    padding: 34px 70px;
    text-align: center;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset;
    box-sizing: border-box;
}

.estado-vazio h3 {
    margin: 0 0 10px 0;
    font-size: 29px;
    font-weight: 600;
    color: #fff;
}

.estado-vazio p {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    color: #cfcfcf;
    line-height: 1.5;
}

#pagina-usuario {
    background-color: #000;
    min-height: 100vh;
    padding: 40px 40px 40px 110px;
    box-sizing: border-box;
}

.usuario-container {
    width: 100%;
    max-width: 1700px;
    color: #fff;
}

.usuario-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.usuario-topo h2 {
    margin: 0;
    font-size: 42px;
    color: #fff;
}

.btn-configuracoes {
    background: linear-gradient(135deg, #8a2cff, #4c5cff);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    width: 72px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow:
        0 8px 20px rgba(88, 70, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
}

.btn-configuracoes:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 28px rgba(88, 70, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-configuracoes:active {
    transform: translateY(0) scale(0.97);
}

.btn-configuracoes svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.usuario-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 18px;
}

.usuario-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}

.usuario-card p {
    margin: 0;
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.5;
}

#pagina-configuracoes {
    background-color: #000;
    min-height: 100vh;
    padding: 40px 40px 40px 110px;
    box-sizing: border-box;
}

#pagina-config-conta-seguranca,
#pagina-config-meus-enderecos,
#pagina-config-contas-cartoes,
#pagina-config-notificacoes,
#pagina-config-idioma,
#pagina-config-avaliar,
#pagina-config-sobre,
#pagina-config-excluir-conta {
  background-color: #000;
  min-height: 100vh;
  padding: 40px 40px 40px 110px;
  box-sizing: border-box;
}

.configuracoes-container {
  width: 100%;
  max-width: 1700px;
  color: #fff;
}

.configuracoes-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.configuracoes-topo h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
}

.btn-configuracoes {
    background: transparent;
    border: none;
    outline: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    box-shadow: none;
    padding: 0;
}

.btn-configuracoes:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.btn-configuracoes:active {
    transform: scale(0.96);
}

.btn-configuracoes svg {
    width: 22px;
    height: 22px;
    fill: #d9d9d9;
    transition: fill 0.25s ease;
}

.btn-configuracoes:hover svg {
    fill: #ffffff;
}

.configuracoes-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.configuracoes-card h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #fff;
}

.configuracoes-card label {
    font-size: 15px;
    font-weight: bold;
    color: #d8d8d8;
}

.configuracoes-card input,
.configuracoes-card textarea,
.configuracoes-card select {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

.configuracoes-card input:focus,
.configuracoes-card textarea:focus,
.configuracoes-card select:focus {
    border-color: #6c4cff;
    box-shadow: 0 0 0 3px rgba(108, 76, 255, 0.2);
}

.configuracoes-card textarea {
    min-height: 110px;
    resize: vertical;
}

.btn-salvar-config {
    margin-top: 10px;
    background: linear-gradient(135deg, #3483FA, #2968C8);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-salvar-config:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ═══════════════════════════════════════════════════════════════
   SETTINGS — PÁGINA PRINCIPAL
   ═══════════════════════════════════════════════════════════════ */

.configuracoes-lista {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 1700px;
}

.config-group-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5a5a5a;
  padding: 24px 0 10px 6px;
  margin: 0;
}

.config-group {
  background: linear-gradient(145deg, #111114, #17171e);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.config-group-danger {
  border-color: rgba(255, 80, 80, 0.2);
}

.config-item {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 18px 24px;
  text-decoration: none;
  color: #e0e0e0;
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.18s ease;
  box-sizing: border-box;
  cursor: pointer;
}

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

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

.config-item:active {
  background: rgba(122, 60, 255, 0.09);
}

/* ── Ícone de cada item ─────────────────────── */

.config-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 0;
}

.config-item-icon svg {
  width: 22px;
  height: 22px;
}

.config-icon-conta   { background: rgba(52, 131, 250, 0.18); color: #b090ff; }
.config-icon-endereco{ background: rgba(50, 180, 255, 0.16); color: #70ccff; }
.config-icon-cartao  { background: rgba(0, 200, 140, 0.16);  color: #4ddba8; }
.config-icon-notif   { background: rgba(255, 159, 28, 0.18); color: #ffbe52; }
.config-icon-idioma  { background: rgba(80, 200, 255, 0.15); color: #7ad8ff; }
.config-icon-avaliar { background: rgba(255, 200, 30, 0.18); color: #ffd355; }
.config-icon-sobre   { background: rgba(180, 180, 180, 0.1); color: #c2c2c2; }
.config-icon-excluir { background: rgba(255, 80, 80, 0.15);  color: #ff8080; }

/* ── Label e chevron ────────────────────────── */

.config-item-label {
  flex: 1;
  font-size: 20px;
  font-weight: 500;
  color: #e0e0e0;
  line-height: 1.1;
}

.config-chevron {
  width: 18px;
  height: 18px;
  color: #404040;
  flex-shrink: 0;
  transition: color 0.18s ease, transform 0.18s ease;
}

.config-item:hover .config-chevron {
  color: #7b5cff;
  transform: translateX(3px);
}

/* ── Estado danger ──────────────────────────── */

.item-danger .config-item-label {
  color: #ff7070;
}

.item-danger .config-chevron {
  color: rgba(255, 100, 100, 0.5);
}

/* ── Rodapé / logout ────────────────────────── */

.configuracoes-rodape {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sair-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c0c0c0;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 26px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.sair-btn svg {
  width: 20px;
  height: 20px;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.sair-btn:hover {
  background: rgba(255, 80, 80, 0.08);
  border-color: rgba(255, 80, 80, 0.4);
  color: #ff8080;
}

.sair-btn:hover svg {
  opacity: 1;
}

.sair-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #c0c0c0;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.22s ease;
}

.sair-link:hover {
  background: rgba(255, 80, 80, 0.08);
  border-color: rgba(255, 80, 80, 0.4);
  color: #ff8080;
}

/* ═══════════════════════════════════════════════════════════════
   SETTINGS — SUBPÁGINAS COMPARTILHADAS
   ═══════════════════════════════════════════════════════════════ */

.config-subpagina-container {
  width: 100%;
  max-width: 1700px;
}

.config-subtopo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.config-subtopo h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.config-voltar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #a0a0a0;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.config-voltar:hover {
  border-color: rgba(122, 60, 255, 0.45);
  background: rgba(122, 60, 255, 0.08);
  color: #c8b8ff;
}

.config-sublista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.config-subcard {
  background: linear-gradient(160deg, #13131a, #0f0f14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow:
    0 4px 28px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.config-subitem {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.config-subitem:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.config-subitem:first-child {
  padding-top: 0;
}

.config-subitem strong {
  display: block;
  color: #e8e8e8;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.config-subitem p {
  margin: 0;
  color: #7a7a7a;
  font-size: 14px;
  line-height: 1.6;
}

.config-acoes-linha {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Botões de ação ─────────────────────────── */

.config-btn-acao {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #c8c8c8;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.config-btn-acao:hover {
  border-color: rgba(122, 60, 255, 0.45);
  background: rgba(122, 60, 255, 0.09);
  color: #c8b8ff;
}

.config-btn-perigo {
  border-color: rgba(255, 80, 80, 0.45);
  color: #ff8080;
}

.config-btn-perigo:hover {
  background: rgba(255, 80, 80, 0.1);
  border-color: rgba(255, 80, 80, 0.8);
}

.config-btn-primario {
  background: linear-gradient(135deg, #3483FA, #2968C8);
  border: none;
  color: #fff;
  box-shadow: 0 8px 22px rgba(52, 131, 250, 0.22);
}

.config-btn-primario:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  color: #fff;
}

.config-btn-sair {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff8080;
  border-radius: 14px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.config-btn-sair:hover {
  background: rgba(255, 80, 80, 0.1);
  border-color: rgba(255, 80, 80, 0.6);
}

/* ═══════════════════════════════════════════════════════════════
   TOGGLE SWITCH (NOTIFICAÇÕES)
   ═══════════════════════════════════════════════════════════════ */

.config-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.config-toggle-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.config-toggle-item:first-of-type {
  padding-top: 0;
}

.config-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.config-toggle-title {
  font-size: 15px;
  font-weight: 600;
  color: #e0e0e0;
}

.config-toggle-desc {
  font-size: 13px;
  color: #606060;
  line-height: 1.4;
}

.config-switch {
  position: relative;
  flex-shrink: 0;
}

.config-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.config-switch-track {
  display: block;
  width: 50px;
  height: 28px;
  background: #252525;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.config-switch-track::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: #4a4a4a;
  border-radius: 50%;
  transition: transform 0.25s ease, background 0.25s ease;
}

.config-switch input:checked + .config-switch-track {
  background: linear-gradient(135deg, #3483FA, #2968C8);
  border-color: rgba(123, 44, 255, 0.45);
}

.config-switch input:checked + .config-switch-track::after {
  transform: translateX(22px);
  background: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   RADIO ITEM (IDIOMA)
   ═══════════════════════════════════════════════════════════════ */

.config-radio-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #d8d8d8;
  transition: color 0.15s ease;
}

.config-radio-item:hover {
  color: #fff;
}

.config-radio-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.config-radio-item:first-of-type {
  padding-top: 0;
}

.config-radio-item input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #3483FA;
  cursor: pointer;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   TEXTAREA
   ═══════════════════════════════════════════════════════════════ */

.config-textarea {
  width: 100%;
  min-height: 130px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 18px;
  color: #e8e8e8;
  font-size: 16px;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.config-textarea:focus {
  border-color: rgba(123, 44, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.10);
}

/* ═══════════════════════════════════════════════════════════════
   ESTRELAS DE AVALIAÇÃO
   ═══════════════════════════════════════════════════════════════ */

.avaliacao-estrelas {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
}

.avaliacao-estrela {
  border: none;
  background: transparent;
  color: #2a2a36;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease, transform 0.18s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.avaliacao-estrela:hover,
.avaliacao-estrela.ativa {
  color: #ffb020;
  transform: scale(1.15) translateY(-3px);
  text-shadow: 0 2px 12px rgba(255, 176, 32, 0.35);
}

/* ── Payment method tags (Cartões) ──────────────── */

/* ─────────────────────────────────────────────────
   TELA DE CARTÕES — redesign premium
   ───────────────────────────────────────────────── */

/* Cabeçalho do bloco */
.cartao-card-topo,
.metodos-topo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.cartao-card-titulo-bloco,
.metodos-titulo-bloco {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e0e0e0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cartao-card-titulo-bloco svg,
.metodos-titulo-bloco svg {
  color: #3483FA;
  flex-shrink: 0;
}

/* Estado vazio */
.cartao-estado-vazio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0 24px;
}

.cartao-vazio-icone {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(52, 131, 250, 0.10);
  border: 1px solid rgba(123, 44, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3483FA;
  margin-bottom: 4px;
}

.cartao-vazio-titulo {
  font-size: 15px;
  font-weight: 600;
  color: #b0b0c8;
  margin: 0;
}

.cartao-vazio-desc {
  font-size: 13px;
  color: #555566;
  margin: 0;
  text-align: center;
  max-width: 240px;
  line-height: 1.5;
}

/* Preview do cartão */
.cartao-preview {
  background: linear-gradient(135deg, #1e1040 0%, #2a1a60 50%, #1a1035 100%);
  border: 1px solid rgba(52, 131, 250, 0.35);
  border-radius: 18px;
  padding: 22px 22px 20px;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(52, 131, 250, 0.20),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.cartao-preview::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(52,131,250,0.20) 0%, transparent 70%);
  pointer-events: none;
}

.cartao-preview-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cartao-preview-bandeira {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
}

.cartao-preview-numero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.cartao-dots {
  font-size: 22px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 3px;
  line-height: 1;
}

.cartao-final {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  font-family: monospace;
}

.cartao-preview-rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cartao-rodape-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cartao-rodape-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #7cffa0;
}

.cartao-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4cff82;
  box-shadow: 0 0 8px #4cff82;
}

/* Botões de ação do cartão */
.cartao-acoes {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cartao-btn-add,
.cartao-btn-remover {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 14px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
}

.cartao-btn-add {
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: #fff;
  box-shadow: 0 6px 20px rgba(52, 131, 250, 0.28);
  flex: 1;
  justify-content: center;
}

.cartao-btn-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(123, 44, 255, 0.45);
}

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

.cartao-btn-remover {
  background: rgba(255, 70, 70, 0.08);
  border: 1px solid rgba(255, 70, 70, 0.25);
  color: #ff8080;
}

.cartao-btn-remover:hover {
  background: rgba(255, 70, 70, 0.14);
  border-color: rgba(255, 70, 70, 0.5);
}

/* Métodos de pagamento */
.metodos-desc {
  font-size: 13px;
  color: #555570;
  margin: 0;
  line-height: 1.5;
}

.metodos-lista {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
}

.metodo-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s ease;
}

.metodo-item:hover {
  background: rgba(255,255,255,0.02);
}

.metodo-icone-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metodo-pix .metodo-icone-wrap {
  background: rgba(0, 184, 140, 0.12);
  color: #00c897;
  border: 1px solid rgba(0, 200, 150, 0.2);
}

.metodo-credito .metodo-icone-wrap {
  background: rgba(52, 131, 250, 0.10);
  color: #9b6cff;
  border: 1px solid rgba(123, 44, 255, 0.2);
}

.metodo-debito .metodo-icone-wrap {
  background: rgba(79, 91, 255, 0.12);
  color: #7080ff;
  border: 1px solid rgba(79, 91, 255, 0.2);
}

.metodo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.metodo-nome {
  font-size: 14px;
  font-weight: 600;
  color: #e0e0e0;
}

.metodo-desc {
  font-size: 12px;
  color: #555570;
}

.metodo-badge {
  font-size: 11px;
  font-weight: 600;
  color: #4cff82;
  background: rgba(76, 255, 130, 0.08);
  border: 1px solid rgba(76, 255, 130, 0.18);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────────
   MODAL DE ADICIONAR CARTÃO
   ───────────────────────────────────────────────── */

.modal-cartao-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.modal-cartao-icone {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(52, 131, 250, 0.10);
  border: 1px solid rgba(123, 44, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9b6cff;
  flex-shrink: 0;
}

.modal-cartao-header h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #f0f0f0 !important;
  margin: 0 0 4px !important;
  text-align: left !important;
}

.modal-cartao-header p {
  font-size: 13px !important;
  color: #666 !important;
  margin: 0 !important;
  text-align: left !important;
}

.modal-cartao-campos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-campo-grupo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.modal-campo-linha {
  display: flex;
  gap: 12px;
}

.modal-campo-label {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Card modal overflow fix */
.modal-cartao-card {
  max-width: 420px !important;
  align-items: stretch !important;
  gap: 20px !important;
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
}

/* Text inputs */
.modal-campo-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  color: #e0e0e0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  cursor: text;
  color-scheme: dark;
}

.modal-campo-input:focus {
  border-color: rgba(123, 44, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.10);
}

/* Select wrapper — custom arrow overlay */
.modal-select-wrapper {
  position: relative;
  display: block;
}

.modal-campo-select {
  cursor: pointer;
  padding-right: 40px;
  color: #d0d0d0;
  color-scheme: dark;
  width: 100%;
}

.modal-campo-select option {
  background: #1a1a28;
  color: #e0e0e0;
}

.modal-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Tipo buttons (replaced radio inputs) */
.modal-tipo-selector {
  display: flex;
  gap: 8px;
}

.modal-tipo-btn {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  background: rgba(255,255,255,0.03);
  color: #a0a0b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-tipo-btn:hover {
  border-color: rgba(52, 131, 250, 0.35);
  background: rgba(52, 131, 250, 0.06);
  color: #c0b0e8;
}

.modal-tipo-btn.selecionado {
  border-color: rgba(123, 44, 255, 0.55);
  background: rgba(52, 131, 250, 0.10);
  color: #c8b0ff;
}

.modal-campo-input.campo-erro {
  border-color: rgba(255, 70, 70, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(255, 70, 70, 0.12) !important;
  animation: shakeInput 0.3s ease;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@media (max-width: 480px) {
  .modal-campo-linha { flex-direction: column; }
  .cartao-acoes { flex-direction: column; }
  .cartao-btn-add, .cartao-btn-remover { justify-content: center; }
}

/* Legacy classes kept for other payment pages */
.config-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.config-payment-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #a0a0b8;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ── Badge de versão (Sobre) ──────────────────── */

.config-version-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(52, 131, 250, 0.18), rgba(79, 91, 255, 0.12));
  border: 1px solid rgba(123, 44, 255, 0.3);
  color: #b8a8ff;
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Avaliação ────────────────────────────────── */

.config-subcard-avaliar {
  gap: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.config-avaliar-hint {
  margin: 0;
  color: #9090a8;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════════════
   CARD DE ALERTA
   ═══════════════════════════════════════════════════════════════ */

.config-alerta-card {
  border-color: rgba(255, 80, 80, 0.28);
}

.config-alerta-texto {
  margin: 6px 0 0;
  color: #b08080;
  font-size: 16px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  #pagina-configuracoes,
  #pagina-config-conta-seguranca,
  #pagina-config-meus-enderecos,
  #pagina-config-contas-cartoes,
  #pagina-config-notificacoes,
  #pagina-config-idioma,
  #pagina-config-avaliar,
  #pagina-config-sobre,
  #pagina-config-excluir-conta {
    padding: 28px 22px 28px 98px;
  }

  .config-subtopo { flex-wrap: wrap; gap: 12px; }
  .config-subtopo h2 { font-size: 22px; }
  .config-item { font-size: 17px; padding: 15px 18px; }
  .config-item-label { font-size: 17px; }
  .config-subitem strong { font-size: 14px; }
  .config-subitem p { font-size: 13px; }
  .config-toggle-title { font-size: 15px; }
}

@media (max-width: 640px) {
  #pagina-configuracoes,
  #pagina-config-conta-seguranca,
  #pagina-config-meus-enderecos,
  #pagina-config-contas-cartoes,
  #pagina-config-notificacoes,
  #pagina-config-idioma,
  #pagina-config-avaliar,
  #pagina-config-sobre,
  #pagina-config-excluir-conta {
    padding: 20px 14px 28px 92px;
  }

  .config-subcard { padding: 16px 18px; }
  .config-item { font-size: 15px; padding: 13px 15px; gap: 12px; }
  .config-item-label { font-size: 15px; }
  .config-item-icon { width: 38px; height: 38px; }
  .sair-btn, .sair-link { font-size: 14px; padding: 11px 18px; }
  .config-toggle-title { font-size: 14px; }
  .config-toggle-desc { font-size: 12px; }
  .config-subtopo h2 { font-size: 20px; }
}

#pagina-pedido {
    background-color: #000;
    min-height: 100vh;
    padding: 40px 40px 40px 110px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}

.pedido-container {
    width: 100%;
    max-width: 1300px;
}

.pedido-card {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.pedido-galeria {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 320px;
  min-width: 320px;
}

.pedido-imagem-box {
  width: 320px;
  min-width: 320px;
  height: 380px;
  background: linear-gradient(180deg, #f5f5f5 0%, #eaeaea 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.pedido-midia-principal {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pedido-imagem,
.pedido-video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.pedido-imagem {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.pedido-imagem:hover {
  transform: scale(1.02);
}

.pedido-video {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: #000;
}

.btn-galeria {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.82);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.btn-galeria:hover {
  background: rgba(10, 10, 10, 0.95);
  transform: translateY(-50%) scale(1.08);
}

.btn-galeria-anterior {
  left: 12px;
}

.btn-galeria-proximo {
  right: 12px;
}

.pedido-miniaturas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pedido-miniatura {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: linear-gradient(180deg, #f5f5f5 0%, #eaeaea 100%);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.pedido-miniatura img,
.pedido-miniatura video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pedido-miniatura:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 44, 255, 0.55);
}

.pedido-miniatura.ativa {
  border-color: #3483FA;
  box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.18);
}

.pedido-miniatura.video::after {
  content: "▶";
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 13px;
  color: #fff;
  background: rgba(0,0,0,0.55);
  border-radius: 999px;
  padding: 2px 6px;
}

.modal-zoom-imagem {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 9999;
}

.modal-zoom-imagem.ativo {
  display: flex;
}

.modal-zoom-conteudo {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-zoom-conteudo img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.btn-fechar-zoom {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.pedido-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pedido-linha-topo {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

#pedido-nome {
    margin: 0;
    font-size: 34px;
    font-weight: 500;
    color: #fff;
}

#pedido-preco {
    margin: 0;
    font-size: 52px;
    font-weight: 800;
    color: #fff;
}

.pedido-parcelamento {
    font-size: 24px;
    color: #d4d4d4;
}

.pedido-descricao {
    margin: 0 0 35px 0;
    font-size: 24px;
    line-height: 1.5;
    color: #cfcfcf;
    max-width: 820px;
}

.pedido-frete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #fff;

    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pedido-frete:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
}

.pedido-frete span:last-child {
    color: #ff9f1c;
    font-size: 40px;
}

.pedido-acoes {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-pedido {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 18px;
    padding: 18px 34px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-pedido:hover {
    transform: translateY(-2px);
    border-color: rgba(122, 60, 255, 0.45);
    box-shadow: 0 8px 24px rgba(122, 60, 255, 0.12);
}

.btn-comprar-agora {
    background: linear-gradient(135deg, #3483FA, #2968C8);
    border: none;
}

.btn-comprar-agora:hover {
    opacity: 0.95;
}

.btn-adicionar-carrinho {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.icone-mais {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

#pagina-compra {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

#pagina-compra.ativa {
    display: block;
    animation: fadeOverlay 0.25s ease;
}

.compra-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: flex-end;
}

.compra-container {
    width: 50%;
    min-height: 100vh;
    background: linear-gradient(180deg, #060b19, #0a1124 60%, #08101e);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    padding: 42px;
    box-sizing: border-box;
    position: relative;
    animation: slideCompra 0.35s ease;
    overflow-y: auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    isolation: isolate;
}

.btn-fechar-compra {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.btn-fechar-compra:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: none;
}

.compra-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-top: 34px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.compra-esquerda {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.compra-imagem-box {
    width: 130px;
    min-width: 130px;
    flex-shrink: 0;
    background: #f2f2f2;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
    will-change: transform;
    contain: layout style;
}

#pagina-compra.ativa .compra-imagem-box {
    animation: flutuar 2.8s ease-in-out infinite;
}

.compra-imagem-box img {
    width: 100%;
    display: block;
    object-fit: contain;
}

.compra-detalhes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
    min-width: 0;
    flex: 1;
}

.compra-detalhes h2 {
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    word-break: break-word;
}

.compra-detalhes p,
.compra-detalhes span {
    margin: 0;
}

#compra-preco {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

#compra-pagamento {
    font-size: 13px;
    line-height: 1.35;
    color: rgba(255,255,255,0.9);
    max-width: 100%;
}

#compra-estoque {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
}

.compra-direita {
    min-width: 180px;
    flex-shrink: 0;
    padding-top: 4px;
    animation: aparecerSuave 0.45s ease;
}

.compra-direita h3 {
    font-size: 18px;
    margin: 0 0 14px 0;
    color: #fff;
}

.controle-quantidade {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.compra-quantidade-info {
    margin: 0 0 18px;
    color: rgba(255,255,255,0.76);
    font-size: 14px;
    line-height: 1.4;
}

.btn-qtd {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    flex-shrink: 0;
}

.btn-qtd:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.15);
}

.btn-qtd:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

#input-quantidade {
    width: 60px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    outline: none;
}

#input-quantidade:focus {
    border-color: #6e53ff;
    box-shadow: 0 0 0 4px rgba(110, 83, 255, 0.18);
}

.compra-secoes-alinhadas {
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 24px;
    margin-top: 24px;
    box-sizing: border-box;
    align-self: stretch;
}

.compra-secoes-alinhadas > * {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    align-self: stretch;
}

.compra-resumo-itens,
.endereco-box,
.frete-box-compra,
.frete-opcao-compra,
.frete-opcao-compra-conteudo {
    transform: none !important;
    will-change: auto;
}

.compra-resumo-itens {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    align-self: stretch;
    overflow: hidden;
}

.compra-resumo-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.compra-resumo-topo h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
}

.compra-resumo-topo span {
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    font-weight: 600;
}

.lista-compra-itens {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compra-item-resumo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,0.18);
    color: #fff;
    flex-wrap: wrap;
}

.compra-item-resumo-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.compra-item-resumo-info strong {
    font-size: 16px;
}

.compra-item-resumo-info span,
.compra-item-resumo-unitario {
    color: rgba(255,255,255,0.76);
    font-size: 14px;
}

.compra-item-resumo-total {
    font-size: 15px;
    color: #fff;
}

.compra-subtotal-linha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 16px;
}

.btn-finalizar-compra {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #3483FA, #2968C8);
    transition: 0.22s ease;
}

.btn-finalizar-compra:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 24px rgba(52, 131, 250, 0.28);
}

@media (max-width: 900px) {
  .compra-container {
    width: 100%;
    padding: 24px 20px;
  }
  .compra-card {
    gap: 16px;
  }
  .compra-imagem-box {
    width: 90px;
    min-width: 90px;
    padding: 10px;
  }
}

.frete-box-compra {
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  align-self: stretch;
  overflow: hidden;
}

.frete-topo-compra {
  margin-bottom: 12px;
}

.frete-topo-compra h3 {
  margin: 0;
  font-size: 22px;
}

.frete-opcoes-compra {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.endereco-vazio,
.endereco-preenchido,
.frete-opcao-compra,
.frete-opcao-compra-conteudo {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.frete-opcao-compra {
  display: block;
  cursor: pointer;
}

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

.frete-opcao-compra-conteudo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 20px;
  transition: 0.25s ease;
  position: relative;
}

.frete-opcao-compra-conteudo::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  flex-shrink: 0;
  margin-left: 12px;
  transition: 0.25s ease;
  box-sizing: border-box;
}

.frete-opcao-compra:hover .frete-opcao-compra-conteudo {
  border-color: rgba(123, 44, 255, 0.7);
  background: rgba(255,255,255,0.06);
}

.frete-opcao-compra-texto strong {
  display: block;
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}

.frete-opcao-compra-texto p {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}

.frete-opcao-compra span {
  font-size: 20px;
  font-weight: 800;
  color: #ff9f1c;
  white-space: nowrap;
}

.frete-opcao-compra input[type="radio"]:checked + .frete-opcao-compra-conteudo {
  border-color: #3483FA;
  background: rgba(52, 131, 250, 0.10);
  box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.18);
}

.frete-opcao-compra input[type="radio"]:checked + .frete-opcao-compra-conteudo::after {
  border: 6px solid #3483FA;
  background: #fff;
}

@keyframes slideCompra {
    from {
        transform: translateX(60px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes flutuar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

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

.lista-carrinho {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.barra-selecao-carrinho {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: linear-gradient(90deg, #0f1218, #161b26);
}

.checkbox-selecionar-todos {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-selecionar-todos input,
.checkbox-item-carrinho {
    width: 18px;
    height: 18px;
    accent-color: #3483FA;
    cursor: pointer;
}

.barra-selecao-acoes {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #d4d7dd;
    font-size: 15px;
    font-weight: 600;
}

.btn-comprar-selecionados {
    border: none;
    border-radius: 12px;
    padding: 12px 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #3483FA, #2968C8);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-comprar-selecionados:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.item-carrinho {
    display: grid;
    grid-template-columns: 34px minmax(280px, 1fr) auto 140px;
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    background: linear-gradient(90deg, #111318, #161922);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.item-carrinho:hover {
    transform: translateY(-2px);
    border-color: rgba(92, 80, 255, 0.55);
    box-shadow: 0 10px 22px rgba(92, 80, 255, 0.14);
}

.item-carrinho.selecionado {
    border-color: rgba(92, 80, 255, 0.75);
    box-shadow: 0 0 0 1px rgba(92, 80, 255, 0.18), 0 10px 22px rgba(92, 80, 255, 0.16);
}

.item-carrinho:focus-visible {
    outline: 2px solid #3483FA;
    outline-offset: 2px;
}

.item-carrinho-selecao {
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-carrinho-esquerda {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.item-carrinho-imagem {
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #f2f2f2;
    border-radius: 14px;
    padding: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.item-carrinho-info h3 {
    margin: 0 0 6px;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.item-carrinho-info p {
    margin: 0;
    font-size: 15px;
    color: #ff9f1c;
    font-weight: 700;
}

.item-carrinho-qtd {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-qtd-carrinho {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-qtd-carrinho:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #3483FA, #2968C8);
}

.item-carrinho-valor-qtd {
    min-width: 28px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.btn-remover-carrinho {
    width: 110px;
    justify-self: end;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-remover-carrinho:hover {
    background: rgba(255, 87, 87, 0.18);
    transform: translateY(-1px);
}

#pagina-frete {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

#pagina-frete.ativa {
    display: block;
}

.frete-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: flex-end;
}

.frete-container {
    width: 50%;
    min-height: 100vh;
    background: linear-gradient(180deg, #060b19, #0a1124 60%, #08101e);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    padding: 42px;
    box-sizing: border-box;
    position: relative;
    overflow-y: auto;
    color: #fff;
    animation: slideFrete 0.35s ease;
}

.btn-fechar-frete {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.btn-fechar-frete:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: none;
}

.frete-topo h2 {
    margin: 0 0 10px;
    font-size: 42px;
    color: #fff;
}

.frete-topo p {
    margin: 0 0 30px;
    font-size: 22px;
    color: rgba(255,255,255,0.8);
}

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

.frete-opcao {
    display: block;
    cursor: pointer;
}

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

.frete-opcao-conteudo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px 24px;
    transition: 0.25s ease;
    position: relative;
}

.frete-opcao-conteudo::after {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    flex-shrink: 0;
    margin-left: 14px;
    transition: 0.25s ease;
    box-sizing: border-box;
}

.frete-opcao:hover .frete-opcao-conteudo {
    border-color: rgba(123, 44, 255, 0.7);
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
}

.frete-opcao strong {
    display: block;
    font-size: 24px;
    color: #fff;
    margin-bottom: 6px;
}

.frete-opcao p {
    margin: 0;
    font-size: 18px;
    color: rgba(255,255,255,0.75);
}

.frete-opcao span {
    font-size: 24px;
    font-weight: 800;
    color: #ff9f1c;
    white-space: nowrap;
}

.frete-opcao input[type="radio"]:checked + .frete-opcao-conteudo {
    border-color: #3483FA;
    background: rgba(52, 131, 250, 0.10);
    box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.18);
}

.frete-opcao input[type="radio"]:checked + .frete-opcao-conteudo::after {
    border: 6px solid #3483FA;
    background: #fff;
}

@media (max-width: 991px) {
    .frete-container {
        width: 100%;
        padding: 32px 22px;
    }

    .frete-topo h2 {
        font-size: 32px;
    }

    .frete-topo p {
        font-size: 18px;
    }

    .frete-opcao-conteudo {
        padding: 18px;
        align-items: flex-start;
    }

    .frete-opcao strong {
        font-size: 20px;
    }

    .frete-opcao p,
    .frete-opcao span {
        font-size: 16px;
    }
}

@keyframes slideFrete {
    from {
        transform: translateX(60px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.busca-box {
    position: relative;
    width: 420px;
}

.busca-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
  min-height: 64px;
  padding: 0 18px;
  gap: 14px;
  border-radius: 24px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  background: linear-gradient(180deg, #f7f7ff 0%, #f5f7ff 100%);
  color: #7c3aed;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  position: relative;
  z-index: 3;
}

.busca-input-wrap input {
  border: none;
  outline: none;
  margin-left: 10px;
  flex-grow: 1;
  font-size: 18px;
  font-weight: 500;
  background: transparent;
  color: #111827;
  height: 100%;
}

.limpar-busca {
  background: rgba(124, 58, 237, 0.08);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  border-radius: 999px;
}

.limpar-busca svg {
  width: 14px;
  height: 14px;
  stroke: #7c3aed;
}

.sugestoes-busca {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    display: none;
    z-index: 20;
}

.sugestoes-busca.ativa {
    display: block;
}

.sugestao-item {
    padding: 14px 16px;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #111;
    border-bottom: 1px solid #efefef;
    transition: background 0.2s ease;
}

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

.sugestao-item:hover {
    background: #f5f5f5;
}

.sugestao-destaque {
    font-weight: 700;
}

.endereco-box {
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  align-self: stretch;
  overflow: hidden;
}

.endereco-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.endereco-topo h3 {
  margin: 0;
  font-size: 22px;
}

.btn-editar-endereco {
  border: none;
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.endereco-vazio,
.endereco-preenchido {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
  line-height: 1.5;
}

.endereco-preenchido p {
  margin: 6px 0;
}

.modal-endereco {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-endereco.ativo {
  display: flex;
}

.modal-endereco-conteudo {
  width: 90%;
  max-width: 500px;
  background: #0a1026;
  border-radius: 24px;
  padding: 28px;
  position: relative;
  color: white;
}

.modal-endereco-conteudo h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 28px;
}

.form-endereco {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-endereco input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 16px;
}

.form-endereco input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.pagina-endereco {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.pagina-endereco.ativa {
  display: flex;
}

.pagina-endereco-conteudo {
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 24px;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: subirEndereco 0.3s ease;
}

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

.topo-endereco {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.topo-endereco h2 {
  font-size: 22px;
  color: #111;
}

.resumo-endereco {
  background: white;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.resumo-label {
  font-size: 18px;
  color: #333;
  margin: 0 0 16px;
}

.resumo-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.resumo-texto {
  flex: 1;
  color: #222;
  font-size: 20px;
  line-height: 1.4;
}

.btn-editar-texto {
  border: none;
  background: transparent;
  color: #111;
  font-size: 18px;
  cursor: pointer;
}

.form-endereco-shopee {
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.grupo-campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.grupo-campo label {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.grupo-campo input {
  height: 52px;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
  background: #fff;
}

.grupo-campo input:focus {
  border-color: #3483FA;
}

.linha-dupla {
  display: flex;
  gap: 14px;
}

.campo-rua {
  flex: 1;
}

.campo-numero {
  width: 130px;
}

.linha-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 22px;
}

.toggle-texto {
  color: #111;
  font-size: 16px;
}

.toggle-endereco {
  width: 62px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: #cfcfcf;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-endereco.ativo {
  background: #3483FA;
}

.toggle-bolinha {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: 0.3s;
}

.toggle-endereco.ativo .toggle-bolinha {
  left: 32px;
}

.salvar-como-box {
  margin-bottom: 26px;
}

.salvar-como-box p {
  margin: 0 0 12px;
  color: #111;
  font-size: 16px;
  font-weight: 600;
}

.botoes-salvar-como {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-tag-endereco {
  border: 1px solid #d0d0d0;
  background: white;
  color: #222;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-tag-endereco.ativo {
  border-color: #3483FA;
  color: #3483FA;
  font-weight: 700;
  background: rgba(52, 131, 250, 0.08);
}

.btn-salvar-endereco-final {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: white;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  .linha-dupla {
    flex-direction: column;
  }

  .campo-numero {
    width: 100%;
  }

  .resumo-linha {
    flex-direction: column;
    align-items: flex-start;
  }
}

.btn-fechar-endereco {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.btn-voltar-etapa-endereco {
  position: absolute;
  top: 16px;
  left: 18px;
  width: 44px;
  height: 44px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0f172a;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-voltar-etapa-endereco[hidden] {
  display: none !important;
}

.btn-fechar-endereco:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: none;
}

.btn-voltar-etapa-endereco:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: none;
}

.erro-campo {
  display: block;
  margin-top: 8px;
  color: #d93025;
  font-size: 14px;
  min-height: 18px;
}

.pagina-localizacao {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 100000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.pagina-localizacao.ativa {
  display: flex;
}

.pagina-localizacao-conteudo {
  width: 100%;
  max-width: 900px;
  background: #f5f5f5;
  border-radius: 24px;
  padding: 24px;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: subirEndereco 0.3s ease;
}

.topo-localizacao {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 16px;
}

.topo-localizacao h2 {
  margin: 0;
  font-size: 24px;
  color: #111;
}

.btn-fechar-localizacao {
  position: absolute;
  right: 0;
  width: 44px;
  height: 44px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.texto-localizacao {
  margin: 0 0 16px;
  color: #333;
  font-size: 16px;
}

#mapa-localizacao {
  width: 100%;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
}

.resumo-localizacao {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
  color: #111;
  line-height: 1.5;
}

.resumo-localizacao p {
  margin: 6px 0;
}

.btn-confirmar-localizacao {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.pagina-pagamento {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 100001;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.pagina-pagamento.ativa {
  display: flex;
}

.pagina-pagamento-conteudo {
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: #f5f5f5;
  border-radius: 24px;
  padding: 24px;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.topo-pagamento {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 22px;
}

.topo-pagamento h2 {
  margin: 0;
  font-size: 24px;
  color: #111;
}

.btn-fechar-pagamento {
  position: absolute;
  right: 0;
  width: 44px;
  height: 44px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.pagamento-bloco {
  background: white;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pagamento-bloco h3 {
  margin: 0 0 16px;
  color: #111;
  font-size: 20px;
}

.resumo-lista-pagamento {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.resumo-item-pagamento {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f4f8;
  color: #111;
  font-size: 14px;
}

.pagamento-opcoes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pagamento-opcao {
  display: block;
  cursor: pointer;
}

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

.pagamento-opcao-conteudo {
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  padding: 16px;
  transition: 0.25s ease;
}

.pagamento-opcao-conteudo strong {
  display: block;
  color: #111;
  font-size: 18px;
  margin-bottom: 4px;
}

.pagamento-opcao-conteudo p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.pagamento-opcao input[type="radio"]:checked + .pagamento-opcao-conteudo {
  border-color: #3483FA;
  background: rgba(52, 131, 250, 0.08);
}

.linha-resumo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  color: #111;
}

.total-geral {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
  font-size: 18px;
}

.btn-confirmar-pagamento {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: white;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.pagina-pix {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 100002;
  display: none;
  padding: 0;
  box-sizing: border-box;
}

.pagina-pix.ativa {
  display: block;
}

.pagina-pix-conteudo {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  background: #fff;
  border-radius: 0;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  box-shadow: none;
}

.topo-pix,
#pix-status-pendente,
.pix-status-aprovado {
  width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
}

.topo-pix {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 22px;
}

.topo-pix h2 {
  margin: 0;
  font-size: 24px;
  color: #111;
}

.btn-fechar-pix {
  position: absolute;
  right: 0;
  width: 44px;
  height: 44px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

@media (max-width: 520px) {
  .pagina-pix-conteudo {
    padding: 20px 14px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .topo-pix h2 {
    max-width: calc(100% - 58px);
    font-size: 20px;
  }

  .pix-tempo-box,
  .pix-qrcode-container,
  .pix-codigo-box,
  .pix-instrucoes {
    border-radius: 16px;
    padding: 16px;
  }
}

.pix-tempo-box,
.pix-qrcode-container,
.pix-codigo-box,
.pix-instrucoes {
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.pix-tempo-box h3,
.pix-codigo-box h3,
.pix-instrucoes h3 {
  margin: 0 0 12px;
  color: #111;
}

.pix-contador {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  color: #111;
}

.pix-vencimento {
  display: block;
  margin-top: 8px;
  color: #555;
  font-size: 15px;
}

.pix-icone {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  background: linear-gradient(135deg, #00bfa5, #00d2b8);
  color: white;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pix-seguro-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #d8f3ee;
  border-radius: 14px;
  background: #f3fffc;
  color: #0b3d37;
}

.pix-seguro-selo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #00bfa5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.pix-seguro-badge strong,
.pix-seguro-badge small {
  display: block;
}

.pix-seguro-badge strong {
  font-size: 15px;
  line-height: 1.25;
}

.pix-seguro-badge small {
  margin-top: 2px;
  color: #35635d;
  font-size: 13px;
  line-height: 1.35;
}

.pix-qrcode-container {
  text-align: center;
}

.pix-qrcode-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: #111;
}

.pix-qrcode-topo strong {
  font-size: 18px;
}

.pix-qrcode-topo span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #e8fbf7;
  color: #007f70;
  font-size: 13px;
  font-weight: 800;
}

.pix-qrcode-imagem {
  width: min(100%, 316px);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid #ececf1;
  border-radius: 18px;
  background: #fff;
  box-sizing: border-box;
}

.pix-qrcode-imagem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.pix-qrcode-container p {
  max-width: 420px;
  margin: 14px auto 0;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

.pix-codigo-box label {
  display: block;
  margin-bottom: 10px;
  color: #111;
  font-weight: 700;
}

#codigo-pix-texto {
  width: 100%;
  min-height: 110px;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.5;
  resize: none;
  box-sizing: border-box;
  color: #111;
  background: #fafafa;
}

.btn-copiar-pix,
.btn-ja-paguei-pix,
.btn-ok-pix {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.btn-copiar-pix {
  margin-top: 14px;
  background: #111;
  color: #fff;
}

.pix-acoes {
  display: flex;
}

.btn-ok-pix {
  background: #e9e9e9;
  color: #111;
}

.pix-instrucoes ol {
  margin: 0;
  padding-left: 20px;
  color: #333;
  line-height: 1.7;
}

.pix-status-aprovado {
  text-align: center;
  padding: 30px 20px 10px;
}

.pix-aprovado-icone {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1fc76a, #13a854);
  color: white;
  font-size: 52px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.pix-status-aprovado h3 {
  margin: 0 0 10px;
  font-size: 30px;
  color: #111;
}

.pix-status-aprovado p {
  margin: 0 0 20px;
  color: #555;
  font-size: 16px;
}

#splash-screen {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 1;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash-screen.oculto {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-logo {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 82px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;

    background: linear-gradient(
        90deg,
        #3483FA 0%,
        #2968C8 45%,
        #3483FA 63%,
        #41a2ff 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    opacity: 0;
    transform: scale(0.7);
}

.cadastro-inicial {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(73, 31, 168, 0.18), transparent 42%),
        linear-gradient(315deg, rgba(30, 64, 175, 0.14), transparent 46%),
        #030305;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999998;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
}

.cadastro-inicial.oculto {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cadastro-card {
    width: 100%;
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 1px),
        linear-gradient(135deg, rgba(13, 16, 28, 0.98), rgba(6, 6, 12, 0.98));
    background-size: 56px 56px, 56px 56px, auto;
    border: 0;
    border-radius: 0;
    padding: 36px clamp(20px, 6vw, 72px);
    box-sizing: border-box;
    box-shadow: none;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cadastro-card > :not(.cadastro-brand) {
    width: min(100%, 520px);
}

.cadastro-brand {
    width: min(100%, 520px);
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 34px;
}

.cadastro-logo-mark {
    width: 86px;
    height: 86px;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px rgba(83, 59, 255, 0.2);
}

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

.cadastro-brand strong {
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
    color: #f8fafc;
}

@media (max-width: 640px) {
    .cadastro-card {
        justify-content: flex-start;
        padding: 28px 22px 34px;
    }

    .cadastro-brand {
        margin-bottom: 24px;
    }

    .cadastro-logo-mark {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }

    .cadastro-brand strong {
        font-size: 20px;
    }
}

.cadastro-card h2 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.04;
    letter-spacing: 0;
}

.cadastro-card p {
    margin: 0 0 24px;
    color: #aeb4c6;
    font-size: 16px;
}

@media (max-width: 640px) {
    .cadastro-card h2 {
        font-size: 30px;
    }
}

.auth-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(108, 76, 255, 0.16);
    color: #cbbaff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cadastro-campo {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.cadastro-campo label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.cadastro-campo input {
    height: 52px;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 0 14px;
    background: #121212;
    color: #fff;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.senha-input-wrap {
    position: relative;
    width: 100%;
}

.senha-input-wrap input {
    width: 100%;
    padding-right: 52px;
}

.senha-input-wrap input::-ms-reveal,
.senha-input-wrap input::-ms-clear {
    display: none;
}

.btn-toggle-senha {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(226, 232, 240, 0.72);
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
}

.btn-toggle-senha:hover,
.btn-toggle-senha:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.auth-form-erro {
    display: none;
    margin: -4px 0 16px;
    padding: 11px 13px;
    border: 1px solid rgba(248, 113, 113, 0.32);
    border-radius: 8px;
    background: rgba(127, 29, 29, 0.18);
    color: #fecaca;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.auth-form-erro.ativo {
    display: block;
}

.auth-form-erro .auth-erro-acao {
    display: inline-flex;
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.auth-form-erro .auth-erro-acao:hover {
    color: #fef2f2;
}

.cadastro-campo input:focus {
    border-color: #6c4cff;
    box-shadow: 0 0 0 3px rgba(108, 76, 255, 0.18);
}

.cadastro-campo.oculto-auth {
    display: none;
}

.btn-cadastro-continuar {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #3483FA, #2968C8);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-cadastro-continuar:hover {
    transform: translateY(-2px);
    opacity: 0.96;
}

.auth-acoes-secundarias {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.btn-auth-alternar {
    background: transparent;
    border: none;
    color: #cbbaff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.btn-auth-alternar:hover {
    text-decoration: underline;
}

.auth-acoes-secundarias {
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.btn-esqueci-senha {
    background: transparent;
    border: none;
    color: rgba(167, 139, 250, 0.7);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    margin-top: 2px;
    transition: color .2s;
}
.btn-esqueci-senha:hover { color: #a78bfa; text-decoration: underline; }

.modal-recuperacao-card { max-width: 420px; }

.recuperacao-campo { width: 100%; }

.recuperacao-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(52,131,250,.35);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 15px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.recuperacao-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,.2);
}
.recuperacao-input::placeholder { color: #475569; }

.recuperacao-mensagem {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}
.recuperacao-erro {
    background: rgba(220,38,38,.1);
    border: 1px solid rgba(220,38,38,.3);
    color: #fca5a5;
}

.recuperacao-confirmacao { text-align: center; }

#card-endereco-compra {
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

#card-endereco-compra:hover {
  border-color: rgba(123, 44, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

#card-endereco-compra:focus-visible {
  outline: 2px solid #3483FA;
  outline-offset: 2px;
}

.lista-enderecos-box {
  background: white;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lista-enderecos-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.lista-enderecos-topo h3 {
  margin: 0;
  color: #111;
  font-size: 20px;
}

.btn-adicionar-endereco-lista {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.lista-enderecos-salvos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.estado-vazio-enderecos {
  padding: 18px;
  border-radius: 14px;
  background: #f6f6f8;
  color: #444;
  text-align: center;
}

.item-endereco-salvo {
  border: 1px solid #dedede;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.item-endereco-salvo:hover {
  border-color: #3483FA;
  box-shadow: 0 8px 22px rgba(52, 131, 250, 0.10);
  transform: translateY(-1px);
}

.item-endereco-salvo.ativo {
  border-color: #3483FA;
  background: rgba(52, 131, 250, 0.06);
  box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.10);
}

.item-endereco-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.item-endereco-topo strong {
  color: #111;
  font-size: 16px;
}

.tag-endereco-salvo {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(52, 131, 250, 0.10);
  color: #3483FA;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.item-endereco-salvo p {
  margin: 4px 0;
  color: #333;
  font-size: 14px;
  line-height: 1.45;
}

.item-endereco-status {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
}

.item-endereco-salvo.ativo .item-endereco-status {
  color: #5d2cff;
  font-weight: 700;
}

.form-endereco-oculto {
  display: none;
}

.form-endereco-visivel {
  display: block;
}

.pagina-endereco.modo-form-endereco .form-endereco-shopee {
  border-radius: 6px;
  margin-bottom: 0;
}

.pagina-endereco.modo-form-endereco .lista-enderecos-box,
.pagina-endereco.modo-form-endereco .pagina-endereco-rodape {
  display: none !important;
}

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

.btn-cancelar-endereco {
  flex: 1;
  height: 54px;
  border: 1px solid #d0d0d0;
  border-radius: 16px;
  background: white;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-salvar-endereco-final {
  flex: 1;
}

#splash-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.oculto {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(160, 32, 240, 0.18), transparent 28%),
    radial-gradient(circle at center, rgba(0, 212, 255, 0.15), transparent 42%);
  filter: blur(24px);
  animation: pulseBgGlow 2.6s ease-in-out infinite;
}

.splash-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.splash-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 0 8px rgba(255,255,255,0.36),
    0 0 16px rgba(0,212,255,0.18);
  opacity: 0.32;
  animation: floatParticle linear infinite;
}

.logo-splash-wrap {
  position: relative;
  width: min(78vw, 700px);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.logo-neon-text,
.logo-slice {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -2px;
  user-select: none;
  will-change: transform, opacity, filter;
}

.logo-word {
  display: inline-block;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 1;
  background: linear-gradient(90deg, #A020F0 0%, #6b4dff 42%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.logo-neon-text {
  opacity: 1;
  filter:
    drop-shadow(0 0 8px rgba(160, 32, 240, 0.62))
    drop-shadow(0 0 18px rgba(0, 212, 255, 0.42))
    drop-shadow(0 0 34px rgba(160, 32, 240, 0.22));
  animation: logoPulse 1.7s ease-in-out infinite;
}

.logo-slices {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.logo-slice {
  opacity: 0;
  filter:
    drop-shadow(0 0 8px rgba(160, 32, 240, 0.66))
    drop-shadow(0 0 18px rgba(0, 212, 255, 0.35));
}

.logo-flash {
  animation: flashLogo 0.55s ease;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes pulseBgGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes flashLogo {
  0% {
    filter:
      drop-shadow(0 0 12px rgba(255,255,255,0.36))
      drop-shadow(0 0 24px rgba(160,32,240,0.84))
      drop-shadow(0 0 36px rgba(0,212,255,0.66));
  }
  100% {
    filter:
      drop-shadow(0 0 8px rgba(160, 32, 240, 0.62))
      drop-shadow(0 0 18px rgba(0, 212, 255, 0.42))
      drop-shadow(0 0 34px rgba(160, 32, 240, 0.22));
  }
}

@keyframes floatParticle {
  from {
    transform: translateY(0) scale(1);
    opacity: 0.14;
  }
  50% {
    opacity: 0.55;
  }
  to {
    transform: translateY(-140px) scale(1.45);
    opacity: 0;
  }
}

.security-card {
  gap: 22px;
  padding: 28px;
  border-radius: 24px;
}

.security-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.security-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(52, 131, 250, 0.10);
  color: #bca7ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.security-hero h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.security-hero p {
  margin: 0;
  color: #808080;
  font-size: 14px;
  line-height: 1.55;
}

.security-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.config-btn-primario {
  background: linear-gradient(135deg, #3483FA, #2968C8);
  border: none;
  box-shadow: 0 10px 24px rgba(52, 131, 250, 0.22);
}

.config-btn-primario:hover {
  opacity: 0.96;
  transform: translateY(-2px);
}

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

.security-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px;
  transition: 0.25s ease;
}

.security-info-card:hover {
  border-color: rgba(122, 60, 255, 0.45);
  box-shadow: 0 8px 24px rgba(122, 60, 255, 0.08);
}

.security-label {
  display: block;
  margin-bottom: 8px;
  color: #9e9e9e;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.security-info-card p {
  margin: 0;
  font-size: 15px;
  color: #e8e8e8;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.security-panel {
  background: linear-gradient(180deg, rgba(52, 131, 250, 0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(52, 131, 250, 0.18);
  border-radius: 20px;
  padding: 22px;
  animation: securityFade 0.25s ease;
}

.hidden-panel {
  display: none;
}

.security-panel.ativo {
  display: block;
}

.security-panel-topo h4 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #fff;
}

.security-panel-topo p {
  margin: 0 0 18px;
  color: #b7b7b7;
  font-size: 14px;
}

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

.security-field-full {
  grid-column: 1 / -1;
}

.security-field label {
  display: block;
  margin-bottom: 8px;
  color: #d8d8d8;
  font-size: 14px;
  font-weight: 600;
}

.security-field input {
  width: 100%;
  background: #151515;
  border: 1px solid #2e2e2e;
  border-radius: 14px;
  padding: 15px 16px;
  color: #fff;
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
  transition: 0.2s ease;
}

.security-field input:focus {
  border-color: #3483FA;
  box-shadow: 0 0 0 4px rgba(123, 44, 255, 0.15);
}

.security-panel-actions,
.security-footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.security-footer-actions {
  justify-content: center;
  align-items: center;
  padding-top: 6px;
}

.security-panel-actions {
  margin-top: 18px;
}

.security-field-erro {
  margin: 4px 0 0;
  padding: 10px 14px;
  font-size: 13px;
  color: #ff6b6b;
  background: rgba(255, 77, 77, 0.08);
  border: 1px solid rgba(255, 77, 77, 0.2);
  border-radius: 10px;
  line-height: 1.4;
}

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

@media (max-width: 768px) {
  .security-grid,
  .security-form-grid {
    grid-template-columns: 1fr;
  }

  .security-hero {
    flex-direction: column;
  }
}

.endereco-card-pro {
  background: linear-gradient(135deg, rgba(17,17,17,0.96), rgba(24,24,28,0.96));
  border: none;
  border-radius: 20px;
  padding: 24px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.03);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.endereco-card-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(52,131,250,0.10), transparent 35%);
  pointer-events: none;
}

.endereco-card-pro:hover {
  transform: translateY(-4px);
  border-color: rgba(52,131,250,0.35);
  box-shadow:
    0 18px 36px rgba(0,0,0,0.34),
    0 0 0 1px rgba(52,131,250,0.08) inset;
}

.endereco-card-topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.endereco-card-titulos h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.endereco-card-resumo {
  margin: 0;
  color: #c9c9d4;
  font-size: 16px;
  line-height: 1.6;
  max-width: 760px;
}

.endereco-card-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.endereco-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.endereco-badge-tipo {
  background: rgba(255,255,255,0.07);
  color: #e5e5e5;
  border: 1px solid rgba(255,255,255,0.08);
}

.endereco-badge-principal {
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: #fff;
  box-shadow: 0 8px 18px rgba(91,76,255,0.26);
}

.endereco-card-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.endereco-info-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 14px 16px;
}

.endereco-info-label {
  display: block;
  margin-bottom: 6px;
  color: #9b9baa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.endereco-info-item strong {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.endereco-card-acoes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.endereco-btn {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.endereco-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}

.endereco-btn-primario {
  background: linear-gradient(135deg, #3483FA, #2968C8);
  border: none;
  box-shadow: 0 10px 22px rgba(91,76,255,0.22);
}

.endereco-btn-primario:hover {
  opacity: 0.96;
}

#btn-adicionar-endereco-config {
  min-width: 220px;
  min-height: 52px;
  border-radius: 7px;
  background: linear-gradient(135deg, #3483FA, #2968C8);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(91,76,255,0.22);
}

#btn-adicionar-endereco-config:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

@media (max-width: 768px) {
  .endereco-card-info {
    grid-template-columns: 1fr;
  }

  .endereco-card-titulos h3 {
    font-size: 22px;
  }

  .endereco-card-resumo {
    font-size: 15px;
  }
}

.enderecos-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.endereco-card-pro {
  border-radius: 20px;
}

.endereco-acao-wrapper {
  margin-top: 28px;
}

.endereco-add-box {
  width: 100%;
  background: linear-gradient(135deg, rgba(17,17,17,0.96), rgba(24,24,28,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.endereco-btn-add-main {
  width: 520px;
  max-width: 100%;
  height: 54px;
  border: none;
  border-radius: 16px;
  padding: 0 24px;
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(91,76,255,0.22);
  transition: 0.2s ease;
}

.endereco-btn-add-main:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.endereco-inline-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.endereco-inline-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.endereco-inline-topo h4 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.endereco-inline-cancelar {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
}

.endereco-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.endereco-inline-field label {
  display: block;
  margin-bottom: 8px;
  color: #b8b8c7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.endereco-inline-field input,
.endereco-inline-field select {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 0 14px;
  box-sizing: border-box;
  outline: none;
}

.endereco-inline-field input:focus,
.endereco-inline-field select:focus {
  border-color: rgba(52,131,250,0.5);
  box-shadow: 0 0 0 4px rgba(52,131,250,0.10);
}

.endereco-inline-checkbox {
  display: flex;
  align-items: end;
}

.endereco-inline-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
}

.endereco-inline-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.endereco-empty-state {
  background: linear-gradient(135deg, rgba(17,17,17,0.96), rgba(24,24,28,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 18px;
}

.endereco-empty-state strong {
  display: block;
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}

.endereco-empty-state p {
  margin: 0;
  color: #bfbfcb;
  font-size: 15px;
}

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

.enderecos-area-config {
  display: flex;
  flex-direction: column;
}

.enderecos-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.endereco-card-pro {
  background: linear-gradient(135deg, rgba(17,17,17,0.96), rgba(24,24,28,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.03);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.endereco-card-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(52,131,250,0.10), transparent 35%);
  pointer-events: none;
}

.endereco-card-topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.endereco-card-titulos h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.endereco-card-resumo {
  margin: 0;
  color: #c9c9d4;
  font-size: 16px;
  line-height: 1.6;
  max-width: 760px;
}

.endereco-card-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.endereco-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.endereco-badge-tipo {
  background: rgba(255,255,255,0.07);
  color: #e5e5e5;
  border: 1px solid rgba(255,255,255,0.08);
}

.endereco-badge-principal {
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: #fff;
  box-shadow: 0 8px 18px rgba(91,76,255,0.26);
}

.endereco-card-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.endereco-info-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px 16px;
}

.endereco-info-label {
  display: block;
  margin-bottom: 6px;
  color: #9b9baa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.endereco-info-item strong {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.endereco-card-acoes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.endereco-btn {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.endereco-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}

.endereco-btn-primario {
  background: linear-gradient(135deg, #3483FA, #2968C8);
  border: none;
  box-shadow: 0 10px 22px rgba(91,76,255,0.22);
}

.endereco-add-wrapper {
  margin-top: 30px;
}

.endereco-add-box {
  width: 100%;
  background: linear-gradient(135deg, rgba(17,17,17,0.96), rgba(24,24,28,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.endereco-add-header {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.endereco-btn-add-main {
  min-width: 220px;
  min-height: 54px;
  border: none;
  border-radius: 14px;
  padding: 0 22px;
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(91,76,255,0.22);
  transition: 0.2s ease;
}

.endereco-btn-add-main:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.endereco-inline-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.endereco-inline-topo {
  display: block;
  margin-bottom: 18px;
}

.endereco-inline-topo h4 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.endereco-inline-topo p {
  margin: 0;
  color: #b7b7c5;
  font-size: 14px;
}

.endereco-inline-cancelar {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
}

.endereco-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.endereco-inline-field label {
  display: block;
  margin-bottom: 8px;
  color: #b8b8c7;
  font-size: 13px;
  font-weight: 700;
}

.endereco-inline-field input,
.endereco-inline-field select {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 0 14px;
  box-sizing: border-box;
  outline: none;
}

.endereco-inline-field input:focus,
.endereco-inline-field select:focus {
  border-color: rgba(52,131,250,0.5);
  box-shadow: 0 0 0 4px rgba(52,131,250,0.10);
}

.endereco-inline-checkbox {
  display: flex;
  align-items: end;
}

.endereco-inline-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
}

.endereco-inline-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.endereco-empty-state {
  background: linear-gradient(135deg, rgba(17,17,17,0.96), rgba(24,24,28,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
}

.endereco-empty-state strong {
  display: block;
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}

.endereco-empty-state p {
  margin: 0;
  color: #bfbfcb;
  font-size: 15px;
}

@media (max-width: 768px) {
  .endereco-card-info,
  .endereco-inline-grid {
    grid-template-columns: 1fr;
  }

  .endereco-card-titulos h3 {
    font-size: 22px;
  }

  .endereco-card-resumo {
    font-size: 15px;
  }
}

.endereco-inline-actions-bottom {
  justify-content: flex-start;
  align-items: center;
}

.endereco-inline-actions-bottom .endereco-btn-primario {
  order: 1;
}

.endereco-inline-actions-bottom .endereco-inline-cancelar {
  order: 2;
}

.endereco-add-box.ativo {
  padding-top: 28px;
}

.endereco-inline-form {
  margin-top: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.endereco-inline-field input::placeholder {
  color: rgba(255,255,255,0.35);
}

.config-subtopo-enderecos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.config-subtopo-esquerda {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.endereco-btn-add-topo {
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #3483FA, #2968C8);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(91,76,255,0.22);
  transition: 0.2s ease;
}

.endereco-btn-add-topo:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

/* ═══════════════════════════════════════════════════════════════
   MODAL DE CONFIRMAÇÃO (nexaConfirm)
   ═══════════════════════════════════════════════════════════════ */

.modal-confirmar-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.18s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-confirmar-card {
  background: linear-gradient(160deg, #16161f, #0f0f17);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px 28px 24px;
  width: 100%;
  max-width: 360px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: modalCardIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalCardIn {
  from { transform: scale(0.88) translateY(12px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

.modal-confirmar-icone {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 12px currentColor);
}

.modal-confirmar-icone.tipo-perigo {
  color: #ff4d4d;
  filter: drop-shadow(0 0 14px rgba(255, 77, 77, 0.45));
}

.modal-confirmar-icone.tipo-info {
  color: #3483FA;
  filter: drop-shadow(0 0 14px rgba(123, 44, 255, 0.45));
}

.modal-confirmar-icone.tipo-sucesso {
  color: #22c55e;
  filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.45));
  font-size: 38px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.25);
}

.modal-confirmar-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #f0f0f0;
  text-align: center;
  letter-spacing: -0.01em;
}

.modal-confirmar-card p {
  margin: 0;
  font-size: 14px;
  color: #888;
  text-align: center;
  line-height: 1.55;
  max-width: 280px;
}

.modal-confirmar-acoes {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.modal-btn-cancelar,
.modal-btn-ok {
  flex: 1;
  padding: 13px 16px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.modal-btn-cancelar:hover,
.modal-btn-ok:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.modal-btn-cancelar:active,
.modal-btn-ok:active {
  transform: scale(0.97);
}

.modal-btn-cancelar {
  background: rgba(255, 255, 255, 0.07);
  color: #b0b0b0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-btn-ok {
  background: linear-gradient(135deg, #ff3b3b, #c01c1c);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 59, 59, 0.35);
}

.modal-btn-ok.tipo-info {
  background: linear-gradient(135deg, #3483FA, #2968C8);
  box-shadow: 0 4px 16px rgba(52, 131, 250, 0.35);
}

/* ===== SCROLL BOUNCE FIX =====
   Durante o scroll, o cursor passa sobre vários elementos em sequência,
   disparando hover com translateY e causando efeito de balanço coletivo.
   A classe `rolando` é adicionada pelo scroll listener em comandosjs.js.
*/
body.rolando .produto-card:hover,
body.rolando .btn-comprar:hover,
body.rolando .btn-configuracoes:hover,
body.rolando .linha-notificacao:hover,
body.rolando .btn-salvar-config:hover,
body.rolando .config-btn-primario:hover,
body.rolando .avaliacao-estrela:hover,
body.rolando .cartao-btn-add:hover,
body.rolando .pedido-miniatura:hover,
body.rolando .btn-pedido:hover,
body.rolando .btn-qtd:hover,
body.rolando .btn-finalizar-compra:hover,
body.rolando .btn-comprar-selecionados:hover,
body.rolando .item-carrinho:hover,
body.rolando .btn-qtd-carrinho:hover,
body.rolando .btn-remover-carrinho:hover,
body.rolando #card-endereco-compra:hover,
body.rolando .item-endereco-salvo:hover,
body.rolando .endereco-card-pro:hover,
body.rolando .endereco-btn:hover,
body.rolando #btn-adicionar-endereco-config:hover,
body.rolando .endereco-btn-add-main:hover,
body.rolando .endereco-btn-add-topo:hover,
body.rolando .modal-btn-cancelar:hover,
body.rolando .modal-btn-ok:hover,
body.rolando .btn-galeria:hover {
  transform: none !important;
}

body.rolando .frete-opcao:hover .frete-opcao-conteudo {
  transform: none !important;
}

/* ===== SPLASH — pausar animações após sumir ===== */
#splash-screen.oculto .splash-bg-glow,
#splash-screen.oculto .logo-neon-text,
#splash-screen.oculto .splash-particle {
  animation: none !important;
}

/* ===== GEOLOCALIZAÇÃO — mapa de localização ===== */
.mapa-localizacao-wrap {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
}

.mapa-localizacao-wrap #mapa-localizacao {
  margin-bottom: 0;
  border-radius: 0;
}

.geo-loading {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 900;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 18px;
}

.geo-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: geoSpin 0.75s linear infinite;
}

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

.btn-geo-atual {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-geo-atual:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.btn-geo-atual svg {
  flex-shrink: 0;
  color: #3483FA;
}

.geo-mensagem-erro {
  margin: 0 0 12px;
  padding: 10px 14px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.35);
  border-radius: 12px;
  color: #ffb3b3;
  font-size: 13px;
  line-height: 1.5;
  display: none;
}

.geo-mensagem-erro:not(:empty) {
  display: block;
}

/* ===== TERMOS DE USO — Checkbox no cadastro ===== */
.cadastro-campo-termos {
  margin-top: 4px;
}

.termos-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.termos-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: #3483FA;
  cursor: pointer;
  margin-top: 2px;
}

.termos-checkbox-label a {
  color: #a78bfa;
  text-decoration: underline;
  text-decoration-color: rgba(167, 139, 250, 0.4);
}

.termos-checkbox-label a:hover {
  color: #c4b5fd;
}

/* ===== TERMOS DE USO — Modal de aceite para login ===== */
.modal-termos-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000002;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.modal-termos-card {
  background: linear-gradient(160deg, #0e1528 0%, #141c35 100%);
  border: 1px solid rgba(123, 44, 255, 0.3);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-termos-card-aceite {
  max-width: 520px;
  padding: 34px 36px;
  border-radius: 12px;
  background: #101729;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  gap: 18px;
}

.modal-termos-card-aceite .modal-termos-kicker {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.14);
  color: #b79cff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-termos-card-aceite .modal-termos-titulo {
  max-width: 390px;
  text-align: left;
  font-size: 26px;
  line-height: 1.16;
}

.modal-termos-card-aceite .modal-termos-texto {
  text-align: left;
  color: rgba(226, 232, 240, 0.68);
  font-size: 15px;
  line-height: 1.6;
}

.modal-termos-card-aceite .modal-termos-link {
  text-align: left;
  padding: 13px 14px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.09);
}

.modal-termos-card-aceite .modal-termos-check {
  justify-content: flex-start;
  padding: 2px 0;
  color: rgba(226, 232, 240, 0.78);
}

.modal-termos-card-aceite .modal-termos-acoes {
  gap: 12px;
  margin-top: 2px;
}

.modal-termos-card-aceite .btn-termos-aceitar,
.modal-termos-card-aceite .btn-termos-sair {
  border-radius: 8px;
}

.modal-termos-card-aceite .btn-termos-aceitar {
  background: #6d3df4;
}

.modal-termos-card-aceite .btn-termos-sair {
  color: rgba(226, 232, 240, 0.58);
  border-color: rgba(148, 163, 184, 0.22);
}

.modal-termos-icone {
  font-size: 36px;
  text-align: center;
}

.modal-termos-titulo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0;
}

.modal-termos-texto {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin: 0;
}

.modal-termos-link {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #a78bfa;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 10px;
  background: rgba(52, 131, 250, 0.10);
  transition: background 0.2s ease;
}

.modal-termos-link:hover {
  background: rgba(123, 44, 255, 0.2);
}

.modal-termos-check {
  justify-content: center;
  text-align: left;
}

.modal-termos-acoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.btn-termos-aceitar {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #3483FA, #5b10d4);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-termos-aceitar:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-termos-aceitar:not(:disabled):hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-termos-sair {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-termos-sair:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 560px) {
  .modal-termos-overlay {
    padding: 16px;
  }

  .modal-termos-card-aceite {
    padding: 28px 22px;
  }

  .modal-termos-card-aceite .modal-termos-titulo {
    font-size: 23px;
  }
}


@keyframes wppPulso {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
  40%           { opacity: 1;   transform: scale(1); }
}

.btn-wpp {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

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

.btn-wpp-atendimento {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
}

.btn-wpp-suporte {
  background: rgba(52, 131, 250, 0.10);
  border: 1px solid rgba(123, 44, 255, 0.3);
  color: #a78bfa;
}

.wpp-icone { flex-shrink: 0; }

.btn-wpp-conteudo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btn-wpp-conteudo strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.btn-wpp-conteudo small {
  font-size: 11px;
  opacity: 0.65;
  font-weight: 400;
  line-height: 1.3;
}

.wpp-fallback {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  text-align: center;
  padding: 4px 0;
}

@media (max-width: 600px) {
  .wpp-botoes { flex-direction: column; }
  .btn-wpp    { width: 100%; box-sizing: border-box; }
}

/* ===== BADGES E ESTADO DE PRODUTO ===== */
.pedido-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pedido-badge-novo {
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
}

.pedido-badge-promo {
  background: rgba(255, 159, 28, 0.16);
  border: 1px solid rgba(255, 159, 28, 0.35);
  color: #ff9f1c;
}

.pedido-sem-estoque {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
}

.pedido-acoes .btn-pedido:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* iframe para vídeos externos (YouTube etc.) */
.pedido-iframe {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: none;
  background: #000;
}

/* ── Página de Mensagens — versão final ─────────────────────────────────── */
#pagina-mensagens {
  padding: 0;
  background: var(--na-bg);
  height: calc(100vh - 120px);
}

.mensagens-container {
  margin-left: 80px;
  display: grid;
  grid-template-columns: 325px 1fr;
  height: calc(100vh - 120px);
  overflow: hidden;
}

.lista-conversas {
  background: var(--na-surface);
  border-right: 1px solid var(--na-border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.conversas-header {
  padding: 28px 22px 24px;
  border-bottom: 1px solid var(--na-border);
  flex-shrink: 0;
}

.conversas-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  font-family: var(--na-font);
}

.conversa-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  border-left: 3px solid transparent;
}

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

.ativa-chat {
  background: rgba(123, 51, 255, 0.16) !important;
  border-left-color: var(--na-primary);
}

.conversa-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.atendimento-avatar {
  background: rgba(123, 51, 255, 0.22);
  color: #a78bfa;
}

.conversa-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.conversa-info strong {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--na-font);
}

.conversa-status {
  font-size: 13px;
  color: var(--na-text-secondary);
  font-family: var(--na-font);
}

.conversa-status.online {
  color: #22c55e;
}

.wpp-secao-sidebar {
  margin: 24px 18px 0;
  padding: 0;
  border-top: none;
  background: transparent;
  flex-shrink: 0;
}

.wpp-secao-titulo {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.38);
  margin: 0 0 12px;
}

.wpp-botoes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-wpp {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.btn-wpp:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-wpp-atendimento {
  background: linear-gradient(160deg, rgba(14, 63, 42, 0.90), rgba(8, 41, 28, 0.92));
  border: 1px solid rgba(37, 211, 102, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
  color: #38e27d;
}

.btn-wpp-suporte {
  background: linear-gradient(160deg, rgba(43, 20, 77, 0.92), rgba(28, 12, 52, 0.94));
  border: 1px solid rgba(123, 44, 255, 0.26);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
  color: #a78bfa;
}

.wpp-icone {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.wpp-icone svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-wpp-atendimento .wpp-icone svg {
  color: #25D366;
  stroke: #25D366;
}

.btn-wpp-suporte .wpp-icone svg {
  color: #c4b5fd;
  stroke: #c4b5fd;
}

.btn-wpp-conteudo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.btn-wpp-conteudo strong {
  font-size: 15px;
  font-weight: 800;
  color: currentColor;
  line-height: 1.2;
  font-family: var(--na-font);
}

.btn-wpp-conteudo small {
  font-size: 12px;
  color: rgba(255,255,255,0.52);
  line-height: 1.35;
}

.chat-area {
  display: flex;
  flex-direction: column;
  background: #08080d;
  overflow: hidden;
  min-width: 0;
}

.chat-topo {
  min-height: 86px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--na-border);
  background: #0b0b12;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.chat-topo-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(123, 51, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #a78bfa;
  font-size: 22px;
}

.chat-topo-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chat-topo-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  font-family: var(--na-font);
}

.chat-status-texto {
  font-size: 13px;
  color: #22c55e;
  font-family: var(--na-font);
}

.chat-mensagens {
  flex: 1;
  min-height: 0;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.chat-input-area {
  padding: 16px 20px;
  border-top: 1px solid var(--na-border);
  background: #0b0b12;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  height: 58px;
  background: #11111a;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 0 22px;
  color: #fff;
  outline: none;
  font-size: 15px;
  font-family: var(--na-font);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-input:focus {
  border-color: var(--na-primary);
  box-shadow: 0 0 0 3px rgba(123, 51, 255, 0.12);
}

.chat-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.btn-enviar {
  background: var(--na-gradient-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 58px;
  height: 58px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-enviar::before {
  display: none; /* SVG já está no HTML — pseudo-elemento removido */
}

.btn-enviar:hover {
  opacity: 0.9;
  transform: scale(1.04);
}

.btn-enviar:active {
  transform: scale(0.95);
}

@media (max-width: 900px) {
  .mensagens-container {
    grid-template-columns: 1fr;
    margin-left: 80px;
  }

  .lista-conversas {
    display: none;
  }
}

/* ── Abas de detalhes do produto ─────────────────────────────── */
.pd-detalhe-lista { padding: 0 0 0 18px; margin: 0; }
.pd-detalhe-lista li { margin-bottom: 10px; line-height: 1.65; font-size: 14px; }
.pd-lista-modo-uso { padding-left: 22px; }
.pd-detalhe-vazio { opacity: .45; font-size: 13px; font-style: italic; padding: 16px 0; margin: 0; }

/* ── Resumo e cards de avaliação ─────────────────────────────── */
.pd-rev-resumo-box { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 16px; background: rgba(255,255,255,.04); border-radius: 12px; border: 1px solid rgba(255,255,255,.06); }
.pd-rev-nota-grande { font-size: 38px; font-weight: 800; line-height: 1; }
.pd-rev-stars-media { display: flex; gap: 2px; font-size: 18px; }
.pd-rev-total { font-size: 12px; opacity: .55; margin-top: 2px; }
.pd-rev-vazio { opacity: .45; font-size: 13px; font-style: italic; text-align: center; padding: 28px 0; margin: 0; }
.pd-rev-card { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.pd-rev-card:last-child { border-bottom: none; }
.pd-rev-card-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.pd-rev-card-autor { font-weight: 600; font-size: 14px; }
.pd-rev-card-stars { font-size: 13px; letter-spacing: 1px; }
.pd-rev-card-data { font-size: 11px; opacity: .45; margin-left: auto; }
.pd-rev-card-texto { font-size: 13px; line-height: 1.65; margin: 0; }
.pd-rev-card-resposta { margin-top: 8px; padding: 8px 12px; background: rgba(34,197,94,.08); border-radius: 8px; font-size: 12px; border-left: 2px solid rgba(34,197,94,.4); }
.pd-rev-resp-label { font-weight: 600; }

/* ── Input de estrelas ───────────────────────────────────────── */
.pd-estrelas-input { display: flex; gap: 4px; }
.pd-estrelas-input button { background: none; border: none; cursor: pointer; font-size: 26px; color: rgba(255,255,255,.2); padding: 2px; line-height: 1; transition: color .1s, transform .1s; }
.pd-estrelas-input button.ativa { color: #f59e0b; }
.pd-estrelas-input button.hover { color: #fbbf24; transform: scale(1.1); }

/* ── Formulário de avaliação / pergunta ──────────────────────── */
.pd-form-bloco { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: rgba(255,255,255,.03); border-radius: 12px; border: 1px solid rgba(255,255,255,.06); margin-top: 20px; }
.pd-form-bloco h4 { margin: 0; font-size: 13px; font-weight: 600; opacity: .7; }
.pd-form-bloco input,
.pd-form-bloco textarea { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 10px 12px; color: inherit; font-size: 13px; font-family: inherit; width: 100%; box-sizing: border-box; }
.pd-form-bloco input:focus,
.pd-form-bloco textarea:focus { outline: none; border-color: rgba(255,255,255,.3); }
.pd-btn-enviar-form { padding: 10px 22px; border-radius: 10px; border: none; cursor: pointer; font-weight: 600; font-size: 13px; background: linear-gradient(135deg, #7c3aed 0%, #9f67e8 100%); color: #fff; transition: opacity .15s; align-self: flex-start; }
.pd-btn-enviar-form:hover { opacity: .85; }
.pd-btn-enviar-form:disabled { opacity: .45; cursor: not-allowed; }
.pd-form-msg { font-size: 12px; margin: 0; }

/* ── FAQ / Perguntas ─────────────────────────────────────────── */
.pd-perguntas-titulo { font-size: 11px; font-weight: 700; opacity: .5; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px; }
.pd-faq-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.pd-faq-item:last-child { border-bottom: none; }
.pd-faq-pergunta { display: flex; gap: 8px; font-weight: 600; font-size: 14px; margin-bottom: 6px; align-items: flex-start; }
.pd-faq-resposta { display: flex; gap: 8px; font-size: 13px; opacity: .8; align-items: flex-start; }
.pd-faq-q-icon, .pd-faq-a-icon { min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; font-size: 11px; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.pd-faq-q-icon { background: rgba(124,58,237,.25); color: #c4b5fd; }
.pd-faq-a-icon { background: rgba(34,197,94,.15); color: #86efac; }
.pd-faq-pendente .pd-faq-aguardando { opacity: .45; font-style: italic; }


/* ── Baseline global: sem scroll horizontal ─────────────────── */
html, body { overflow-x: hidden; max-width: 100%; }
img, video { max-width: 100%; height: auto; }

/* ── Rodapé de endereço: oculto no desktop ───────────────────── */
.pagina-endereco-rodape { display: none; }

/* ── Mobile: Selecionar Endereço (≤767px) ───────────────────── */
@media (max-width: 767px) {

  /* Full-screen sheet */
  .pagina-endereco {
    padding: 0 !important;
    align-items: flex-start !important;
  }

  .pagina-endereco-conteudo {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    padding: 0 0 84px !important;
    overflow-y: auto !important;
    background: #f4f7fb !important;
    box-shadow: none !important;
  }

  /* Header sticky com título centralizado */
  .topo-endereco {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    min-height: 56px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
  }

  .topo-endereco h2 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    text-align: center !important;
  }

  /* Botão X — sem bolinha, visual limpo */
  .btn-fechar-endereco {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #374151 !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
  }

  #pagina-endereco.modo-form-endereco .topo-endereco {
    padding-left: 54px !important;
    padding-right: 54px !important;
  }

  #pagina-endereco .btn-voltar-etapa-endereco {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #111827 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
  }

  #pagina-endereco .btn-voltar-etapa-endereco svg {
    width: 25px !important;
    height: 25px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
  }

  #pagina-endereco .btn-voltar-etapa-endereco:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
  }

  /* Container da lista */
  .lista-enderecos-box {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 14px 12px 0 !important;
    padding: 0 !important;
  }

  /* Ocultar botão "Adicionar endereço" do topo no mobile */
  .btn-adicionar-desktop {
    display: none !important;
  }

  /* Título da seção */
  .lista-enderecos-topo {
    margin-bottom: 10px !important;
  }

  .lista-enderecos-topo h3 {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #111827 !important;
  }

  /* Cards de endereço */
  .item-endereco-salvo {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
  }

  .item-endereco-salvo.ativo {
    border-color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.06) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12) !important;
  }

  .tag-endereco-salvo {
    font-size: 11px !important;
    font-weight: 900 !important;
    padding: 3px 10px !important;
  }

  .item-endereco-salvo.ativo .item-endereco-status {
    color: #7c3aed !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  /* Estado vazio aprimorado */
  .estado-vazio-enderecos {
    background: rgba(124, 58, 237, 0.04) !important;
    border: 1px dashed rgba(124, 58, 237, 0.25) !important;
    border-radius: 14px !important;
    padding: 24px 16px !important;
  }

  .estado-vazio-titulo {
    font-weight: 900 !important;
    color: #111827 !important;
    font-size: 15px !important;
    margin: 0 0 6px !important;
  }

  .estado-vazio-subtexto {
    color: #6b7280 !important;
    font-size: 13px !important;
    margin: 0 !important;
  }

  /* Formulário de novo endereço */
  .form-endereco-shopee {
    margin: 14px 12px !important;
    border-radius: 16px !important;
  }

  /* Rodapé fixo com botão de adicionar */
  .pagina-endereco-rodape {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 30 !important;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(244, 247, 251, 0.96) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  }

  /* Ocultar rodapé quando o formulário estiver aberto */
  .form-endereco-visivel ~ .pagina-endereco-rodape {
    display: none !important;
  }

  .btn-adicionar-mobile {
    width: 100% !important;
    min-height: 50px !important;
    border-radius: 16px !important;
    border: none !important;
    background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22) !important;
    cursor: pointer !important;
  }

  .btn-adicionar-mobile:active {
    transform: scale(0.98) !important;
    opacity: 0.92 !important;
  }
}

/* ── Mobile: PIX — CARD ÚNICO (≤767px) ──────────────────────── */
@media (max-width: 767px) {

  /* 1. Fundo geral claro */
  .pagina-pix-conteudo {
    padding: 0 !important;
    background: #f4f7fb !important;
  }

  /* 2. Header sticky — sem overflow */
  .topo-pix {
    width: 100% !important;
    max-width: 100% !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    min-height: 56px !important;
    padding: 0 16px !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
  }

  .topo-pix h2 {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #111827 !important;
    max-width: calc(100% - 60px) !important;
  }

  /* Botão X — posicionado sem transform */
  .btn-fechar-pix {
    position: absolute !important;
    right: 14px !important;
    top: calc(50% - 18px) !important;
    transform: none !important;
    width: 36px !important;
    height: 36px !important;
    background: #f4f7fb !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
  }

  /* ── 3. CARD PRINCIPAL ──────────────────────────────────────
     #pix-status-pendente VIRA o card único.
     Sem display override → JS faz style.display="none" livremente
     quando pagamento aprovado. ─────────────────────────────── */
  #pix-status-pendente {
    width: calc(100% - 24px) !important;
    max-width: 520px !important;
    margin: 14px auto 24px !important;
    padding: 18px !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    position: static !important;
    transform: none !important;
    box-sizing: border-box !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* ── 4. Seções internas — sem card visual individual ────────
     Cada bloco vira uma seção dentro do card principal.
     Primeiro bloco: sem border-top.
     Demais blocos: separados por border-top + espaçamento. ── */
  .pix-tempo-box,
  .pix-qrcode-container,
  .pix-codigo-box,
  .pix-instrucoes {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
  }

  /* Countdown — primeira seção, sem separador acima */
  .pix-tempo-box {
    margin-bottom: 14px !important;
    margin-top: 0 !important;
  }

  /* QR, Código e Instruções — separador acima */
  .pix-qrcode-container,
  .pix-codigo-box,
  .pix-instrucoes {
    border-top: 1px solid rgba(15, 23, 42, 0.07) !important;
    padding-top: 14px !important;
    margin-bottom: 14px !important;
    margin-top: 0 !important;
  }

  /* Última seção antes das ações */
  .pix-instrucoes {
    margin-bottom: 0 !important;
  }

  /* ── 5. Countdown ────────────────────────────────────────── */
  .pix-tempo-box h3 {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin: 0 0 4px !important;
  }

  .pix-contador {
    font-size: 36px !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    color: #111827 !important;
    margin: 0 !important;
  }

  .pix-vencimento {
    font-size: 12px !important;
    margin-top: 4px !important;
    color: #6b7280 !important;
  }

  /* ── 6. QR Code ──────────────────────────────────────────── */
  .pix-qrcode-topo {
    margin-bottom: 10px !important;
  }

  .pix-qrcode-topo strong { font-size: 15px !important; }

  .pix-qrcode-topo span {
    font-size: 12px !important;
    padding: 5px 10px !important;
  }

  .pix-qrcode-imagem {
    width: min(100%, 200px) !important;
    padding: 10px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
  }

  .pix-qrcode-container p {
    font-size: 13px !important;
    margin-top: 10px !important;
    color: #6b7280 !important;
  }

  /* ── 7. Ícone PIX ────────────────────────────────────────── */
  .pix-icone {
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  /* ── 8. Badge seguro compacto ────────────────────────────── */
  .pix-seguro-badge {
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
    gap: 10px !important;
    border-radius: 12px !important;
    background: #f3fffc !important;
    border: 1px solid #d8f3ee !important;
  }

  .pix-seguro-selo {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    font-size: 10px !important;
  }

  .pix-seguro-badge strong { font-size: 13px !important; }
  .pix-seguro-badge small  { font-size: 11px !important; }

  /* ── 9. Label e Textarea Código PIX ─────────────────────── */
  .pix-codigo-box label {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    color: #6b7280 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: block !important;
  }

  #codigo-pix-texto {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    min-height: 70px !important;
    max-height: 88px !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
    border-radius: 12px !important;
    overflow-y: auto !important;
    padding: 10px 12px !important;
    background: #f4f7fb !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    color: #374151 !important;
    margin-bottom: 0 !important;
    resize: none !important;
    box-sizing: border-box !important;
  }

  /* ── 10. Botão Copiar — fluxo normal, sem overlap ────────── */
  .btn-copiar-pix {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    height: 46px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    z-index: auto !important;
  }

  /* ── 11. Como pagar — seção discreta ────────────────────── */
  .pix-instrucoes h3 {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin: 0 0 8px !important;
  }

  .pix-instrucoes ol {
    font-size: 13px !important;
    color: #374151 !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    padding-left: 18px !important;
  }

  /* ── 12. Ações (Já paguei) — separador final ─────────────── */
  .pix-acoes {
    position: static !important;
    transform: none !important;
    border-top: 1px solid rgba(15, 23, 42, 0.07) !important;
    padding-top: 14px !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    display: block !important;
  }

  /* Botão Já paguei — fluxo normal, zero overlap */
  .btn-ok-pix {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    height: 46px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    background: #f0f0f0 !important;
    color: #374151 !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 !important;
    z-index: auto !important;
  }

  /* ── 13. Estado Aprovado — card igual ao principal ──────────
     SEM display override → JS controla style.display livremente ── */
  .pix-status-aprovado {
    width: calc(100% - 24px) !important;
    max-width: 520px !important;
    margin: 14px auto 24px !important;
    padding: 30px 20px !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    text-align: center !important;
    position: static !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .pix-aprovado-icone {
    width: 72px !important;
    height: 72px !important;
    font-size: 38px !important;
    margin: 0 auto 14px !important;
  }

  .pix-status-aprovado h3 {
    font-size: 22px !important;
    color: #111827 !important;
    margin-bottom: 8px !important;
  }

  .pix-status-aprovado p {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin-bottom: 20px !important;
  }
}


/* ── Mobile: Carrinho — cards responsivos (≤767px) ───────────── */
@media (max-width: 767px) {

  /*
   * Áreas nomeadas tornam a sobreposição impossível por definição:
   *   linha 1: check | esquerda esquerda | lixeira
   *   linha 2: check |    .    |   qtd   | lixeira
   *
   * "esquerda" (imagem+info) ocupa cols 2-3 na linha 1.
   * "qtd" (botões) ocupa APENAS col 3 na linha 2.
   * Col 2 em linha 2 é célula vazia (".") — nunca haverá botão ali.
   */
  #pagina-carrinho .item-carrinho {
    display: grid !important;
    grid-template-columns: 22px 88px minmax(0, 1fr) 34px !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "check esquerda esquerda lixeira"
      "check .        qtd      lixeira" !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    align-items: center !important;
    padding: 14px 12px !important;
    box-sizing: border-box !important;
  }

  #pagina-carrinho .item-carrinho-selecao {
    grid-area: check !important;
    align-self: center !important;
    justify-self: center !important;
  }

  /* Wrapper imagem+info → área "esquerda" (linha 1, cols 2-3) */
  #pagina-carrinho .item-carrinho-esquerda {
    grid-area: esquerda !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
  }

  #pagina-carrinho .item-carrinho-imagem {
    width: 88px !important;
    height: 88px !important;
    flex-shrink: 0 !important;
    align-self: center !important;
  }

  #pagina-carrinho .item-carrinho-info {
    flex: 1 !important;
    min-width: 0 !important;
    align-self: center !important;
  }

  #pagina-carrinho .item-carrinho-info h3 {
    font-size: 14px !important;
    margin: 0 0 4px !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  #pagina-carrinho .item-carrinho-info p {
    font-size: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
  }

  #pagina-carrinho .item-preco-desktop {
    display: none !important;
  }

  #pagina-carrinho .item-preco-mobile {
    display: block !important;
  }

  /* Controles de quantidade → área "qtd" (linha 2, col 3 apenas).
     Col 2 em linha 2 é célula vazia: os botões nunca alcançam a imagem. */
  #pagina-carrinho .item-carrinho-qtd {
    grid-area: qtd !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    align-self: center !important;
    justify-self: start !important;
    position: static !important;
    margin: 0 !important;
    transform: none !important;
  }

  #pagina-carrinho .btn-qtd-carrinho {
    width: 32px !important;
    height: 32px !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
  }

  /* Lixeira → área "lixeira" (col 4, linhas 1-2) */
  #pagina-carrinho .btn-remover-carrinho {
    grid-area: lixeira !important;
    align-self: center !important;
    justify-self: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
    text-indent: -999em !important;
    white-space: nowrap !important;
  }

  #pagina-carrinho .btn-remover-carrinho::after {
    content: "×" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-indent: 0 !important;
    font-size: 22px !important;
    color: #fff !important;
    line-height: 1 !important;
    font-weight: 400 !important;
  }
}

/* ── Mobile: Carrinho — telas estreitas ≤362px ───────────────── */
@media (max-width: 362px) {

  /*
   * Reduz a coluna da imagem de 88px → 72px.
   * grid-template-areas reutilizado: "qtd" continua em col 3, linha 2.
   * O espaço vazio "." em col 2, linha 2 garante separação da imagem.
   */
  #pagina-carrinho .item-carrinho {
    grid-template-columns: 22px 72px minmax(0, 1fr) 28px !important;
    grid-template-areas:
      "check esquerda esquerda lixeira"
      "check .        qtd      lixeira" !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
    padding: 12px 10px !important;
    min-height: 140px !important;
  }

  #pagina-carrinho .item-carrinho-esquerda {
    gap: 8px !important;
  }

  #pagina-carrinho .item-carrinho-imagem {
    width: 72px !important;
    height: 72px !important;
  }

  #pagina-carrinho .item-carrinho-info h3 {
    font-size: 13px !important;
  }

  #pagina-carrinho .item-carrinho-info p {
    font-size: 13px !important;
  }

  #pagina-carrinho .btn-qtd-carrinho {
    width: 30px !important;
    height: 30px !important;
    font-size: 16px !important;
  }

  #pagina-carrinho .btn-remover-carrinho {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ── Mobile: Carrinho — seção "Você também pode gostar" (≤767px) ─ */
@media (max-width: 767px) {

  /* Seção: espaçamento superior compacto */
  #pagina-carrinho .recomendados {
    margin-top: 28px !important;
  }

  #pagina-carrinho .recomendados h2 {
    font-size: 18px !important;
    margin-bottom: 14px !important;
  }

  /* Grid: zera o padding lateral excessivo (28px de cada lado no override global),
     usa 2 colunas iguais e gap reduzido de 10px */
  #pagina-carrinho .produtos {
    padding: 0 !important;
    margin-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  /* Card: ocupa 100% da coluna da grade, border-radius 6px */
  #pagina-carrinho .produto-card {
    width: 100% !important;
    border-radius: 6px !important;
  }

  /* Área da imagem: border-radius 6px */
  #pagina-carrinho .produto-img-wrap {
    border-radius: 6px !important;
  }

  /* Botão adicionar ao carrinho: border-radius 6px */
  #pagina-carrinho .produto-btn-cart {
    border-radius: 6px !important;
  }
}

