/* Melhorias por cima do visual original */
.nexus-aviso { margin: 0; padding: 9px 16px; text-align: center; font-size: 13.5px; font-weight: 600; color: #fff; background: var(--neon-gradient); }
.footer-legal { flex-basis: 100%; font-size: 11.5px; opacity: 0.75; }
.footer-legal a { text-decoration: underline; }

/* mapa sem embutir o Google: foto da fachada + botão (mais leve e sem rastreio) */
.store-map-link { position: relative; display: block; width: 100%; height: 100%; min-height: 240px; border-radius: inherit; overflow: hidden; }
.store-map-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.75); transition: transform 0.4s ease; }
.store-map-link:hover img { transform: scale(1.04); }
.store-map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--neon-gradient); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--neon-glow); white-space: nowrap; }
.store-map-pin svg { width: 18px; height: 18px; }


/* ---------- janelas novas (pedido e troca) no visual do site ---------- */
.nx-overlay { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-end; justify-content: center; background: rgba(8, 7, 12, 0.72); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.nx-overlay.open { opacity: 1; pointer-events: auto; }
.nx-janela { width: 100%; max-width: 520px; max-height: 92dvh; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: translateY(40px); transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1); box-shadow: 0 -20px 60px -20px rgba(176, 41, 142, 0.35); }
.nx-overlay.open .nx-janela { transform: none; }
@media (min-width: 640px) { .nx-overlay { align-items: center; } .nx-janela { border-radius: var(--radius-lg); } }
.nx-cabeca { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; background: var(--panel); }
.nx-cabeca h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: 0.02em; }
.nx-fechar { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font-size: 15px; }
.nx-corpo { padding: 0 20px calc(22px + env(safe-area-inset-bottom)); }
.nx-form { display: grid; gap: 14px; }
.nx-ajuda { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.nx-ajuda strong { color: var(--text); }
.nx-dica { margin: -6px 0 0; color: var(--text-faint); font-size: 12px; }
.nx-campo { display: grid; gap: 6px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.nx-campo small { font-weight: 400; color: var(--text-faint); }
.nx-campo input, .nx-campo select, .nx-campo textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: 500 15px var(--font-body); outline: none; resize: vertical; }
.nx-campo input:focus, .nx-campo select:focus, .nx-campo textarea:focus { border-color: var(--neon-1); box-shadow: 0 0 0 3px rgba(176, 41, 142, 0.18); }
.nx-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nx-grupo { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.nx-grupo legend { padding: 0 0 8px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.nx-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nx-opcoes--3 { grid-template-columns: repeat(3, 1fr); }
.nx-opcoes--2x2 { grid-template-columns: 1fr 1fr; }
.nx-opcao { position: relative; }
.nx-opcao input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.nx-opcao span { display: grid; place-items: center; min-height: 46px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); text-align: center; font-size: 13.5px; font-weight: 600; color: var(--text); transition: all 0.15s; }
.nx-opcao input:checked + span { border-color: var(--neon-1); background: linear-gradient(120deg, rgba(108, 36, 132, 0.28), rgba(176, 41, 142, 0.22)); box-shadow: var(--neon-glow); }
.nx-opcao input:focus-visible + span { outline: 2px solid var(--neon-3); outline-offset: 2px; }
.nx-enviar { width: 100%; justify-content: center; margin-top: 4px; }
.nx-nota { margin: 0; text-align: center; font-size: 12px; color: var(--text-faint); }
.nx-nota a { text-decoration: underline; }
.nx-ok { display: grid; gap: 12px; padding: 8px 0 6px; text-align: center; }
.nx-ok-t { margin: 0; font-weight: 700; font-size: 16px; }
.nx-ok .btn-secondary { justify-content: center; }

/* parcelamento no cartão de cada produto */
.nx-parc { font-size: 11px; color: var(--text-muted); text-transform: none !important; letter-spacing: 0 !important; margin-top: 2px; }

/* botões de troca */
.btn-troca-hero { cursor: pointer; }
.btn-troca-hero svg, .nx-troca-produto svg { width: 16px; height: 16px; }
.nx-troca-produto { width: 100%; justify-content: center; margin-top: 10px; cursor: pointer; }

/* topo um pouco mais baixo no celular: os produtos aparecem antes */
@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: 28px; }
}

/* página do produto: 12x embaixo do preço e barra de comprar fixa no celular */
.nx-parc-grande { margin-top: 4px; font-size: 13.5px; color: var(--text-muted); }
.nx-parc-grande:empty { display: none; }
.nx-barra-compra { display: none; }
@media (max-width: 760px) {
  .nx-barra-compra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 13, 21, 0.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1); }
  .nx-barra-compra.show { transform: none; }
  .nx-barra-preco { display: grid; min-width: 0; flex: 1; }
  .nx-barra-preco b { font-family: var(--font-display); font-weight: 500; font-size: 18px; white-space: nowrap; }
  .nx-barra-preco small { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nx-barra-compra .btn-primary { flex: none; padding: 13px 18px; font-size: 14px; white-space: nowrap; }
  body.nx-tem-barra .floating-wa, body.nx-tem-barra .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .nx-barra-compra .btn-primary { width: auto !important; margin: 0 !important; justify-content: center; }
  .nx-barra-preco { flex: 1 1 auto; }
}

/* linha do iPhone embaixo das bolinhas de categoria */
.nx-linhas { max-width: 1300px; margin: 0 auto; padding: 14px 24px 0; display: flex; align-items: center; gap: 12px; }
.nx-linhas-titulo { flex: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.nx-linhas-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.nx-linhas-chips::-webkit-scrollbar { display: none; }
.nx-linhas-chips button { flex: none; min-width: 52px; height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-family: var(--font-display); font-size: 17px; font-weight: 500; cursor: pointer; transition: all 0.15s; }
.nx-linhas-chips button:hover { border-color: var(--neon-1); box-shadow: var(--neon-glow); }
.nx-linhas-chips button:active { transform: scale(0.95); }
@media (max-width: 760px) { .nx-linhas { padding: 12px 16px 0; flex-direction: column; align-items: flex-start; gap: 8px; } .nx-linhas-chips { width: 100%; } }
.nx-linhas-chips button.on { background: var(--neon-gradient); border-color: transparent; color: #fff; box-shadow: var(--neon-glow); }

/* aviso "mostrando só seminovos" na página do produto */
.nx-aviso-estado { margin: 4px 0 14px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-size: 13.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.nx-aviso-estado b { color: var(--text); }
.nx-aviso-estado a { color: var(--neon-3); font-weight: 600; text-decoration: underline; }


/* =========================================================
   ACABAMENTO (padrão Apple)
   ========================================================= */
/* menos brilho neon: sombra discreta só para dar profundidade */
:root { --neon-glow: 0 8px 22px -12px rgba(176, 41, 142, 0.55); --ease-ios: cubic-bezier(0.32, 0.72, 0, 1); }
.card:hover { box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9); border-color: var(--line); }

/* topo mais enxuto: título, 1 botão principal e o da troca */
.hero .btn-instagram, .hero .hero-stats { display: none; }
.hero-cta { gap: 10px; }

/* sem tela de carregando: cartões cinzas que se preenchem */
.site-loader { display: none !important; }
.nx-esqueleto { max-width: 1300px; margin: 0 auto; padding: 28px 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.nx-esqueleto i { display: block; aspect-ratio: 3 / 4.4; border-radius: var(--radius-lg); background: linear-gradient(100deg, var(--panel) 40%, var(--panel-2) 50%, var(--panel) 60%) 0 0 / 300% 100%; animation: nxBrilho 1.5s linear infinite; }
@keyframes nxBrilho { to { background-position: -150% 0; } }
@media (max-width: 760px) { .nx-esqueleto { grid-template-columns: 1fr 1fr; padding: 20px 16px; gap: 10px; } }

/* toque com resposta */
@media (hover: none) {
  .card { transition: transform 0.2s var(--ease-ios); }
  .card:active { transform: scale(0.975); transition-duration: 0.08s; }
  .btn-primary:active, .btn-secondary:active, .btn-wa-large:active, .section-see-all:active, .chip:active, .option-row:active, .pill-opt:active, .condition-toggle button:active { transform: scale(0.97); }
  .swatch:active { transform: scale(0.9); }
}
.cart-count.nx-pulo { animation: nxPulo 0.45s var(--ease-ios); }
@keyframes nxPulo { 30% { transform: scale(1.45); } }

/* entrada suave ao rolar */
.nx-rev { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s var(--ease-ios); }
.nx-rev.nx-vis { opacity: 1; transform: none; }

/* janelas que deslizam de baixo (celular) */
@media (max-width: 760px) {
  .cart-overlay { align-items: flex-end; justify-content: center; }
  .cart-drawer { width: 100%; height: auto; max-height: 92dvh; border-left: 0; border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform 0.42s var(--ease-ios); }
  .cart-overlay.open .cart-drawer { transform: none; }
  .wa-popup-overlay, .cond-popup-overlay { align-items: flex-end; padding: 0; }
  .wa-popup, .cond-popup { width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; border-bottom: 0; transform: translateY(100%); transition: transform 0.42s var(--ease-ios); padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .wa-popup-overlay.open .wa-popup, .cond-popup-overlay.open .cond-popup { transform: none; }
  .cart-drawer::before, .wa-popup::before, .cond-popup::before, .nx-janela::before { content: ''; display: block; flex: none; width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin: 8px auto 0; }
  .wa-popup::before, .cond-popup::before { margin: -14px auto 12px; }
}

/* página do produto: escolha mais clara */
.option-row { min-height: 56px; border-radius: 14px; }
.option-row.active { border-color: var(--neon-1); background: linear-gradient(120deg, rgba(108, 36, 132, 0.2), rgba(176, 41, 142, 0.14)); }
.option-row.is-out, .pill-opt.is-out { opacity: 0.45; }
.option-row.is-out .opt-label, .pill-opt.is-out { text-decoration: line-through; }
.swatch-row { gap: 12px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; }
.swatch.active { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--neon-1); border-color: transparent; }
.swatch.is-out { opacity: 0.4; }
.swatch.is-out::after { content: ''; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; background: var(--text-muted); transform: rotate(45deg); }
.pill-opt { min-height: 46px; display: inline-flex; align-items: center; padding-inline: 20px; border-radius: 14px; }
.option-section h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text-muted); }
.option-section h3 .muted { color: var(--text); font-weight: 600; }

/* página do produto: menos texto técnico */
.product-price-hero small { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.product-info > .card-cat { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--text-muted); }

/* página do produto: galeria de deslizar (celular) */
.nx-carrossel { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nx-carrossel::-webkit-scrollbar { display: none; }
.nx-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; display: grid; place-items: center; }
.nx-slide img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.nx-pontos { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; z-index: 2; }
.nx-pontos i { width: 7px; height: 7px; border-radius: 99px; background: rgba(0, 0, 0, 0.22); transition: all 0.25s; }
.nx-pontos i.on { width: 18px; background: rgba(0, 0, 0, 0.6); }
@media (max-width: 760px) { .tem-carrossel + #prodGaleria, .prod-media-col:has(.tem-carrossel) #prodGaleria { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .nx-rev { opacity: 1; transform: none; transition: none; }
  .cart-drawer, .wa-popup, .cond-popup, .nx-janela { transition: none !important; }
}
/* a barra de comprar some quando o carrinho ou um pop-up está aberto */
body:has(.cart-overlay.open) .nx-barra-compra, body:has(.wa-popup-overlay.open) .nx-barra-compra, body:has(.nx-overlay.open) .nx-barra-compra, body:has(.search-overlay.open) .nx-barra-compra { transform: translateY(110%); }
