/*
 Theme Name: Digi Theme Child
 Theme URI: https://compraspyy.com
 Description: Tema filho do Digi Theme para customizações da Promsell
 Author: Promsell
 Author URI: https://compraspyy.com
 Template: digi-theme
 Version: 1.0.0
*/

/* ===== SEU CSS PERSONALIZADO ABAIXO ===== */

/*************** HEADER – AJUSTES MOBILE + DESKTOP ***************/

/* ===== MOBILE (até 768px) ===== */
@media (max-width: 768px) {
  /* Logo centralizado */
  img.header_logo {
    order: 2 !important;
    margin: 0 auto !important;
    max-height: 38px !important;
    display: block !important;
  }

  /* Ícones menu e busca */
  span.icon-menu,
  a.icon.pe-7s-search.mobile-search {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    width: 44px !important;
    padding: 0 !important;
  }

  /* Menu */
  span.icon-menu { order: 1 !important; }

  /* Busca */
  a.icon.pe-7s-search.mobile-search {
    order: 2 !important;
    margin-left: -12px !important;
    transform: translateY(3px);
  }

  /* Carrinho */
  span.nasa-icon.cart-icon.icon.icon-nasa-cart-3 {
    order: 3 !important;
    margin-left: auto !important;
    padding: 10px !important;
  }

  /* Ícones maiores */
  span.icon-menu::before,
  a.icon.pe-7s-search.mobile-search::before,
  span.nasa-icon.cart-icon.icon.icon-nasa-cart-3::before {
    font-size: 22px !important;
    line-height: 1 !important;
  }
}

/* ===== TOUCH: desativa hover/overlays ===== */
@media (hover: none) and (pointer: coarse) {
  .product .product-image img + img,
  .product .product-image .secondary-image,
  .product .product-image .hover-image,
  .product .product-image .image-hover,
  .nasa-wrap-item .nasa-thumb-second,
  .nasa-products-grid .product .product-image .nasa-second-image {
    display: none !important;
  }

  .product, .product-item, .nasa-wrap-item,
  .product .product-image, .product .product-image a {
    transition: none !important;
  }

  .nasa-wrap-item .nasa-quick-view,
  .nasa-wrap-item .nasa-love,
  .nasa-wrap-item .nasa-compare,
  .product-item .quick-view,
  .product-item .yith-wcwl-add-to-wishlist,
  .product .nasa-hover,
  .product .product-hover,
  .product .hover-wrap {
    display: none !important;
    pointer-events: none !important;
  }

  .product .woocommerce-LoopProduct-link,
  .product-item .product-image a {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }
}

/* ===== Oculta "vistos recentemente" ===== */
#nasa-init-viewed,
#nasa-viewed-sidebar,
#nasa-viewed-product {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Oculta aba extra */
ul.nasa-tabs > li.additional-tab.nasa-tab,
ul.nasa-tabs > li.additional_tab.nasa-tab,
ul.nasa-tabs > li.nasa-slide-tab + li.separator,
ul.nasa-tabs > li.additional-tab + li.separator {
  display: none !important;
}
.nasa-panels #tab-additional_information { display: none !important; }

/* Mobile: remove hover */
@media (hover: none) and (pointer: coarse) {
  .nasa-wrap-item .nasa-quick-view,
  .nasa-wrap-item .nasa-love,
  .nasa-wrap-item .nasa-compare,
  .product-item .quick-view,
  .product .nasa-hover,
  .product .product-hover,
  .product .hover-wrap {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .product .woocommerce-LoopProduct-link,
  .product-item .product-image a {
    pointer-events: auto !important;
  }
}

/* Remove duplicados header em telas pequenas */
@media (max-width: 480px) {
  .header-duplicate, .topbar-duplicate { display: none !important; }
  .site-header .mini-cart + .mini-cart { display: none !important; }
}

/* Tabs como acordeão */
.woocommerce-tabs .tabs li { border-bottom: 1px solid #eee; }
.woocommerce-tabs .tabs a { display: block; padding: 12px 8px; font-weight: 700; }

/* ===== Promsell: impedir "Capacetes" de descer ===== */
@media (min-width: 1200px){
  ul#site-navigation.header-nav{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    gap: 0 !important;
  }
  ul#site-navigation.header-nav > li{
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin-top: 0 !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
  }
  ul#site-navigation.header-nav > li.nasa_odd,
  ul#site-navigation.header-nav > li:nth-child(odd){
    clear: none !important;
  }
  ul#site-navigation.header-nav::after{
    content: none !important;
    display: none !important;
  }
  ul#site-navigation.header-nav > li > a{
    padding: 0 10px !important;
    white-space: nowrap !important;
  }
}

/* Botão de filtro */
.nasa-filter-wrap .nasa-togle-topbar {
  position: relative;
  z-index: 99;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin-top: 20px;
}
.nasa-filter-wrap .nasa-hide-filter,
.nasa-filter-wrap .nasa-show-filter {
  display: inline-block;
  margin-right: 6px;
  font-size: 13px;
  cursor: pointer;
}

/* ===================== */
/* ==== BOTÕES SOCIAIS ==== */
/* ===================== */

/* Cor igual ao botão Inscreva-se */
:root { --promsell-primary: #1a33ff; }

/* Grupo */
.ps-social{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:8px;
  max-width:460px;
}

/* Botão */
.ps-social .ps-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:9999px;
  background:#fff;
  border:1px solid var(--promsell-primary);
  color:var(--promsell-primary);
  font-weight:600;
  font-size:14px;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  transition:background .15s ease,color .15s ease, transform .12s ease;
}
.ps-social .ps-btn svg{ width:16px; height:16px; }
.ps-social .ps-btn:hover{ background:var(--promsell-primary); color:#fff; }
.ps-social .ps-btn:active{ transform:translateY(0); }

/* Responsivo */
@media (max-width:1199px) and (min-width:576px){
  .ps-social .ps-btn{ flex:1 1 calc(50% - 12px); }
}
@media (max-width:575px){
  .ps-social{ max-width:100%; gap:10px; }
  .ps-social .ps-btn{ flex:1 1 100%; justify-content:center; }
}

/* ====== FIXE DE BOTÕES .ps-social ====== */

/* 1) WP/VC às vezes envolve os links em <p>. Isso quebra o flex.
      Este reset faz os <p> "sumirem" como caixas e não cria linha nova */
.ps-social p{
  margin: 0 !important;
  display: contents !important;           /* moderno: some a caixa do <p>  */
}

/* 2) Garantir que o contêiner é flex e não "espalha" demais */
.ps-social{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 8px !important;
  max-width: 520px !important;            /* ajuste fino; aumentei um pouco p/ caber 2-3 botões */
}

/* 3) RESET FORTE nos links para ignorar estilos do tema
      (alguns temas aplicam padding/background/sombra em âncoras dentro do footer) */
.ps-social a{
  all: unset;                              /* zera estilos herdados/tema */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  padding: 10px 16px !important;
  border-radius: 9999px !important;
  background: #fff !important;
  border: 1px solid #1a33ff !important;    /* mesma cor do botão Inscreva-se */
  color: #1a33ff !important;

  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-decoration: none !important;

  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;

  transition: background .15s ease, color .15s ease, transform .12s ease !important;
}

/* 4) Ícones SVG dentro do link */
.ps-social a svg{
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 auto !important;
  display: block !important;
  color: currentColor !important;          /* usa a mesma cor do texto do botão */
  fill: currentColor !important;
}

/* 5) Interações */
.ps-social a:hover{
  background: #1a33ff !important;
  color: #fff !important;
}
.ps-social a:active{
  transform: translateY(0) !important;
}

/* 6) Responsivo */
@media (max-width: 1199px) and (min-width: 576px){
  .ps-social a{ flex: 1 1 calc(50% - 12px) !important; } /* 2 por linha */
}
@media (max-width: 575px){
  .ps-social{ max-width: 100% !important; gap: 10px !important; }
  .ps-social a{ flex: 1 1 100% !important; justify-content: center !important; } /* 1 por linha */
}

/* ===== Patch para .ps-social (corrige <p> e <br> do WPBakery) ===== */

/* Some visualmente com as quebras de linha que o editor injeta */
.ps-social br { display: none !important; }

/* Faz os <p> não virarem novas linhas/caixas */
.ps-social p {
  margin: 0 !important;
  display: contents !important;   /* o conteúdo do <p> permanece, a caixa some */
}

/* Garante o flex/alinhamento */
.ps-social {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 8px !important;
}

/* Reset forte no link + estilo de pílula */
.ps-social a.ps-btn {
  all: unset;                                /* zera estilos herdados do tema */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  padding: 10px 16px !important;
  border-radius: 9999px !important;
  background: #fff !important;
  border: 1px solid #1a33ff !important;
  color: #1a33ff !important;

  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: background .15s ease, color .15s ease, transform .12s ease !important;
}

/* Visited não muda de cor (evita roxo etc) */
.ps-social a.ps-btn:visited {
  color: #1a33ff !important;
}

/* Ícones */
.ps-social a.ps-btn svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 auto !important;
  display: block !important;
  color: currentColor !important;
  fill: currentColor !important;
}

/* Hover/Active */
.ps-social a.ps-btn:hover {
  background: #1a33ff !important;
  color: #fff !important;
}
.ps-social a.ps-btn:active {
  transform: translateY(0) !important;
}

/* Responsivo: 2 por linha em tablet, 1 por linha no mobile */
@media (max-width:1199px) and (min-width:576px){
  .ps-social a.ps-btn { flex: 1 1 calc(50% - 12px) !important; }
}
@media (max-width:575px){
  .ps-social { gap: 10px !important; }
  .ps-social a.ps-btn { flex: 1 1 100% !important; justify-content: center !important; }
}

/* Desktop mantém como está */
.vc_custom_900013 {
  margin: 10px 0 10px;
  max-width: 180px;
  float: right;
}

/* Desktop mantém como está */
.vc_custom_900013 {
  margin: 10px 0 10px;
  max-width: 180px;
  float: right;
}

/* Mobile: centraliza */
@media (max-width: 768px) {
  .vc_custom_900013 {
    float: none !important;
    display: block !important;
    margin: 10px auto !important;  /* centraliza horizontalmente */
    text-align: center !important;
  }
}

/* =========================
   NORMALIZAÇÕES E ACESSIBILIDADE
   ========================= */
:root { --promsell-primary: #1a33ff; }

/* Repor foco acessível se houver resets
   (mantém acessibilidade mesmo com all: unset em links) */
a:focus-visible, button:focus-visible, .ps-btn:focus-visible {
  outline: 2px solid var(--promsell-primary);
  outline-offset: 2px;
}

/* =========================
   HEADER (mobile)
   ========================= */
@media (max-width: 768px) {
  img.header_logo {
    order: 2;
    margin: 0 auto;
    max-height: 38px;
    display: block;
  }
  span.icon-menu,
  a.icon.pe-7s-search.mobile-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    padding: 0;
  }
  span.icon-menu { order: 1; }

  /* Removido margin-left negativa; use espaçamento consistente */
  .site-header .header-icons { display:flex; align-items:center; gap:6px; }

  /* Carrinho */
  span.nasa-icon.cart-icon.icon.icon-nasa-cart-3 {
    order: 3;
    margin-left: auto;
    padding: 10px;
  }

  span.icon-menu::before,
  a.icon.pe-7s-search.mobile-search::before,
  span.nasa-icon.cart-icon.icon.icon-nasa-cart-3::before {
    font-size: 22px;
    line-height: 1;
  }
}

/* =========================
   MENU DESKTOP – evita estouro
   ========================= */
@media (min-width: 1200px){
  ul#site-navigation.header-nav{
    display: flex;
    flex-wrap: wrap;              /* deixa quebrar se faltar espaço */
    align-items: center;
    gap: 0;
  }
  ul#site-navigation.header-nav > li{
    float: none;
    clear: none;
    width: auto;
    margin-top: 0;
    display: inline-flex;
    flex: 0 0 auto;
  }
  ul#site-navigation.header-nav > li > a{
    padding: 0 10px;
    white-space: nowrap;
  }
}

/* =========================
   TOUCH: simplificar hover sem matar recursos
   ========================= */
@media (hover: none) and (pointer: coarse) {
  /* troca imagens secundárias por estática para evitar flicker */
  .product .product-image .secondary-image,
  .nasa-products-grid .product .product-image .nasa-second-image {
    display: none;
  }

  /* Em vez de ocultar tudo, só desativa transições intrusivas */
  .product, .product-item, .nasa-wrap-item,
  .product .product-image, .product .product-image a {
    transition: none;
  }

  /* Mantém botões clicáveis, mas sem overlays flutuantes */
  .nasa-wrap-item .nasa-quick-view,
  .nasa-wrap-item .nasa-love,
  .nasa-wrap-item .nasa-compare,
  .product-item .quick-view {
    opacity: 1;           /* visíveis */
    pointer-events: auto; /* clicáveis */
    position: static;     /* sem sobreposição */
  }
}

/* =========================
   MINI-CART duplicado (hotfix)
   ========================= */
@media (max-width: 480px) {
  .header-duplicate, .topbar-duplicate { display: none; }
  .site-header .mini-cart + .mini-cart { display: none; }
}

/* =========================
   TABS como acordeão (ok)
   ========================= */
.woocommerce-tabs .tabs li { border-bottom: 1px solid #eee; }
.woocommerce-tabs .tabs a { display: block; padding: 12px 8px; font-weight: 700; }

/* =========================
   "Vistos recentemente" – ok se for intencional
   ========================= */
#nasa-init-viewed,
#nasa-viewed-sidebar,
#nasa-viewed-product { display:none !important; }

/* =========================
   BOTÕES SOCIAIS – versão única e consistente
   ========================= */
.ps-social{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:8px;
  max-width:520px;
}
.ps-social br { display: none; }
.ps-social p  { margin:0; display:contents; }

.ps-social a.ps-btn{
  /* sem all:unset para preservar acessibilidade básica do link */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:10px 16px;
  border-radius:9999px;
  background:#fff;
  border:1px solid var(--promsell-primary);
  color:var(--promsell-primary);

  font-weight:600;
  font-size:14px;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:background .15s ease, color .15s ease, transform .12s ease;
}
.ps-social a.ps-btn:hover{ background:var(--promsell-primary); color:#fff; }
.ps-social a.ps-btn:active{ transform:translateY(0); }
.ps-social a.ps-btn:visited{ color:var(--promsell-primary); }
.ps-social a.ps-btn svg{ width:16px; height:16px; flex:0 0 auto; color:currentColor; fill:currentColor; }

@media (max-width:1199px) and (min-width:576px){
  .ps-social a.ps-btn{ flex:1 1 calc(50% - 12px); }
}
@media (max-width:575px){
  .ps-social{ max-width:100%; gap:10px; }
  .ps-social a.ps-btn{ flex:1 1 100%; justify-content:center; }
}

/* =========================
   WPBakery helper – manter um só
   ========================= */
.vc_custom_900013 {
  margin: 10px 0;
  max-width: 180px;
  float: right;
}
@media (max-width: 768px) {
  .vc_custom_900013 {
    float: none;
    display: block;
    margin: 10px auto;
    text-align: center;
  }
}






/* ===== PROMSELL – Ajuste de header / filtros em páginas de categoria (desktop) ===== */
@media (min-width: 1025px) {

  body.tax-product_cat #header.masthead.site-header {
    padding-bottom: 5px !important;
  }

  body.tax-product_cat .row.filters-container.nasa-filter-wrap {
    margin-top: 20px !important;
    padding-right: 180px !important;
    box-sizing: border-box;
  }
}

/* ===== PROMSELL – Forçar barra de admin em todas as páginas ===== */

body.logged-in #wpadminbar {
  display: block !important;
  position: fixed;
  top: 0;
  z-index: 999999 !important;
}

@media (min-width: 783px) {
  body.logged-in #header.masthead.site-header {
    margin-top: 32px !important;
  }
}

@media (max-width: 782px) {
  body.logged-in #header.masthead.site-header {
    margin-top: 46px !important;
  }
}

/* ============================================
   PROMSELL – Texto da logo no POPUP (cor 100% igual)
   ============================================ */
@media (max-width: 1024px) {

  /* 1) Esconde a imagem da logo */
  .mfp-content .logo.nasa-logo-img img {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* 2) Área da logo – transparente e centralizada */
  .mfp-content .logo.nasa-logo-img a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 0 !important;
    background: transparent !important;
    text-decoration: none !important;
  }

  /* 3) Texto substituto da logo */
  .mfp-content .logo.nasa-logo-img a::before {
    content: "Promsell";
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0044FF !important; /* 🔥 Azul EXATO */
    letter-spacing: 0.2px;
  }
}

/* ==================================================
   PROMSELL – MOBILE: limitar a 6 produtos (Nasa Products / WPBakery)
   ================================================== */
@media (max-width: 768px){

  /* 1) Quando for CARROSSEL (Owl) - esconde do 7º item real em diante */
  .vc_nasa_products .owl-item:not(.cloned):nth-child(n+7),
  .nasa-products .owl-item:not(.cloned):nth-child(n+7),
  .nasa-product-slider .owl-item:not(.cloned):nth-child(n+7){
    display: none !important;
  }

  /* 2) Quando for GRID/LISTA dentro do bloco nasa_products */
  .vc_nasa_products .products .product-item:nth-child(n+7),
  .vc_nasa_products ul.products > li.product:nth-child(n+7),
  .nasa-products .products .product-item:nth-child(n+7),
  .nasa-products ul.products > li.product:nth-child(n+7){
    display: none !important;
  }

  /* 3) Categoria/busca: NÃO esconde — paginação cuida disso */
}

/* ================================
   FOOTER MOBILE PANELS (FAQ + INFO)
   ================================ */
.ps-footer-mobile-panels { display: none; }

@media (max-width: 768px) {
  .ps-footer-mobile-panels { display: block; }
  .ps-footer-mobile-panels .ps-panels{
    padding: 6px 14px 12px;
  }

  .ps-footer-mobile-panels .ps-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 6px 20px rgba(0,0,0,.06);
    padding:14px;
    margin:10px 0;
  }

  .ps-footer-mobile-panels .ps-card-title{
    font-weight:800;
    letter-spacing:.2px;
    font-size:18px;
    margin:2px 0 12px;
    color:#111827;
  }

  /* Accordion FAQ */
  .ps-footer-mobile-panels .ps-acc{
    border-top:1px solid #eef2f7;
    padding-top:10px;
    margin-top:10px;
  }
  .ps-footer-mobile-panels .ps-acc:first-of-type{
    border-top:none;
    padding-top:0;
    margin-top:0;
  }
  .ps-footer-mobile-panels .ps-acc summary{
    cursor:pointer;
    list-style:none;
    font-weight:700;
    color:#111827;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  .ps-footer-mobile-panels .ps-acc summary::-webkit-details-marker{ display:none; }
  .ps-footer-mobile-panels .ps-acc summary:after{
    content:"▾";
    font-size:16px;
    opacity:.8;
    transform:translateY(-1px);
  }
  .ps-footer-mobile-panels .ps-acc[open] summary:after{ content:"▴"; }

  .ps-footer-mobile-panels .ps-acc-body{
    color:#6b7280;
    margin-top:8px;
    line-height:1.45;
    font-size:14px;
  }

  /* Info list */
  .ps-footer-mobile-panels .ps-info-row{
    display:flex;
    gap:12px;
    padding:10px 0;
    border-top:1px solid #eef2f7;
  }
  .ps-footer-mobile-panels .ps-info-row:first-child{ border-top:none; padding-top:0; }

  .ps-footer-mobile-panels .ps-ico{
    width:34px; height:34px;
    border-radius:10px;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 34px;
  }
  .ps-footer-mobile-panels .ps-ico svg{
    width:18px; height:18px;
    fill:#111827;
    opacity:.9;
  }
  .ps-footer-mobile-panels .ps-info-title{
    font-weight:800;
    font-size:14px;
    color:#111827;
    margin:0 0 2px;
  }
  .ps-footer-mobile-panels .ps-info-desc{
    color:#6b7280;
    font-size:13.5px;
    line-height:1.35;
  }

  /* Botões sociais: garantir padrão e empilhar bonitinho */
  .ps-social{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .ps-social .ps-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
  }
}

/* Blindagem sem quebrar animações */
.static-position{
  position: relative !important;
  z-index: 2147483000 !important;
  isolation: isolate !important;
}

.black-window,
.nasa-bg-overlay,
.nasa-overlay{
  z-index: 2147483500 !important;
}

/* Carrinho sempre acima */
#cart-sidebar{
  z-index: 2147483647 !important;
  isolation: isolate !important;
}

/* MENU PRETO sempre acima do overlay também (pra não "perder clique") */
#nasa-menu-sidebar,
#nasa-menu-sidebar-content,
.nasa-menu-sidebar-content{
  z-index: 2147483600 !important;
}

/* =========================================
   SIDEBAR/MENU travado e opaco = overlay por cima
   FIX: menu acima do overlay + overlay só clica quando visível
   ========================================= */

/* 1) MENU/SIDEBAR SEMPRE acima de overlays */
#nasa-menu-sidebar-content,
#nasa-menu-sidebar,
#heading-menu-mobile{
  position: fixed !important;
  z-index: 2147483800 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  filter: none !important;
}

/* 2) Overlays ficam ABAIXO do menu (mas acima do site) */
.black-window,
.white-window,
.transparent-window,
.nasa-bg-overlay,
.nasa-overlay{
  z-index: 2147483600 !important;
}

/* 3) Se o overlay estiver "hidden-tag", ele NÃO pode roubar clique */
.black-window.hidden-tag,
.white-window.hidden-tag,
.transparent-window.hidden-tag,
.nasa-bg-overlay.hidden-tag,
.nasa-overlay.hidden-tag{
  pointer-events: none !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 4) (Extra) quando overlay estiver transparente/0, também não rouba clique */
.black-window[style*="opacity: 0"],
.transparent-window[style*="opacity: 0"],
.nasa-bg-overlay[style*="opacity: 0"],
.nasa-overlay[style*="opacity: 0"]{
  pointer-events: none !important;
}

/* ===== FIX: badge de desconto não vazar para o topo (mobile) ===== */

/* Garante que o card do produto seja o limite do badge */
.products .product,
.woocommerce ul.products li.product {
  overflow: hidden !important;
  position: relative !important;
}

/* Segurança extra: evita que o badge ultrapasse o card */
.products .product .badge,
.products .product .onsale,
.woocommerce ul.products li.product .onsale {
  max-width: 90% !important;
}

/* RESULTADOS DA BUSCA – força texto preto */
.nasa-breadcrumb-site,
.nasa-breadcrumb-site h2,
.nasa-breadcrumb-site h3,
.nasa-breadcrumb-site .breadcrumb,
.nasa-breadcrumb-site .breadcrumb *,
.breadcrumb-row h2,
.breadcrumb-row h3 {
  color: #000 !important;
}

/* remove qualquer fundo/camada que clareie o texto */
.nasa-breadcrumb-site {
  background: none !important;
}

/* RESULTADOS DA BUSCA – força texto preto */
.nasa-breadcrumb-site,
.nasa-breadcrumb-site h2,
.nasa-breadcrumb-site h3,
.nasa-breadcrumb-site .breadcrumb,
.nasa-breadcrumb-site .breadcrumb *,
.breadcrumb-row h2,
.breadcrumb-row h3 {
  color: #000 !important;
}

/* remove qualquer fundo/camada que clareie o texto */
.nasa-breadcrumb-site {
  background: none !important;
}

.search-results .nasa-breadcrumb-site,
.search-results .nasa-breadcrumb-site h2,
.search-results .nasa-breadcrumb-site h3,
.search-results .breadcrumb-row h2 {
  color: #000 !important;
}

/* Força título/breadcrumb preto e garante que fica acima */
.nasa-breadcrumb-site,
.nasa-breadcrumb-site *{
  color: #000 !important;
}

.nasa-breadcrumb-site .breadcrumb-row,
.nasa-breadcrumb-site h2,
.nasa-breadcrumb-site h3{
  position: relative !important;
  z-index: 5 !important;
}

.ps-trust-box{
  margin:12px 0 0;
  padding:12px;
  border:1px solid #e6e6e6;
  border-radius:14px;
  background:#fff;
  font-size:14px;
  line-height:1.35;
}
.ps-trust-row{ margin:6px 0; }
.ps-trust-box strong{ font-weight:800; }

/* Botão WhatsApp + avisos Pix/Boleto */
.ps-wa-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  width:100%;
  padding:12px 14px;
  border-radius:14px;

  border:1px solid #1a33ff;
  background:#fff;
  color:#1a33ff;
  text-decoration:none;
  font-weight:900;
  font-size:15px;
}

.ps-pay-hints{
  margin-top:10px;
  padding:12px;
  border-radius:14px;
  border:1px solid #e6e6e6;
  background:#fff;
  font-size:14px;
  line-height:1.35;
}

.ps-hint{ margin:6px 0; }
.ps-pay-hints strong{ font-weight:900; }

/* Melhor leitura no checkout mobile */
.woocommerce-checkout form .form-row{ margin-bottom:12px; }
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea{
  border-radius:12px;
  padding:12px 12px;
  font-size:16px; /* evita zoom no iPhone */
}

.woocommerce-checkout #place_order{
  width:100%;
  border-radius:14px;
  padding:14px 16px;
  font-size:16px;
  font-weight:900;
}

/* Corrige placeholder/label que fica por cima quando digita */
.header-search input[type="search"],
.header-search input[name="s"],
.nasa-search input[type="search"],
.nasa-search input[name="s"],
form[role="search"] input[type="search"],
form[role="search"] input[name="s"]{
  background-image: none !important; /* se o tema usa texto como bg */
}

/* placeholder normal some ao digitar (padrão), mas reforça */
input::placeholder{ opacity: 1; }
input:focus::placeholder{ opacity: 0; }

/* Se o tema usa um label sobreposto (bem comum), esconde ao focar/digitar */
.header-search .search-field-wrap label,
.nasa-search .search-field-wrap label,
.header-search label[for*="search"],
.nasa-search label[for*="search"],
form[role="search"] label{
  transition: opacity .15s ease;
}

.header-search input:focus ~ label,
.nasa-search input:focus ~ label,
form[role="search"] input:focus ~ label{
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Esconde o botão "Calcular entrega" no carrinho */
.woocommerce-cart .shipping-calculator-button,
.woocommerce-cart .shipping-calculator-form {
  display: none !important;
}

.ps-shipping-note td{
  border-top: 0 !important;
}

/* Esconde o botão/link "Calcular entrega" (carrinho e checkout) */
.woocommerce-cart a.shipping-calculator-button,
.woocommerce-checkout a.shipping-calculator-button,
.woocommerce-cart .shipping-calculator-form,
.woocommerce-checkout .shipping-calculator-form,
.woocommerce-cart .woocommerce-shipping-calculator,
.woocommerce-checkout .woocommerce-shipping-calculator{
  display: none !important;
}

input:focus::placeholder{ opacity: 0 !important; }

.woocommerce-checkout .ps-shipping-estimate th,
.woocommerce-checkout .ps-shipping-estimate td{
  padding-top: 6px;
}

/* Remove contorno preto do aviso "adicionado ao carrinho" */
.woocommerce-message,
.woocommerce-message:focus,
.woocommerce-message:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}

.woocommerce-message *,
.woocommerce-message *:focus,
.woocommerce-message *:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}

/* linha base das estrelas */
.ps-stars-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 13px;
}

/* estilo geral das estrelas */
.ps-stars-row .ps-stars .ps-star {
  font-size: 14px;
  line-height: 1;
}

/* estrela cheia: AMARELA */
.ps-stars-row .ps-stars .ps-star.ps-star-full {
  color: #ffc107 !important;
}

/* estrela vazia: CINZA CLARO */
.ps-stars-row .ps-stars .ps-star.ps-star-empty {
  color: #d2d2d2 !important;
  opacity: 0.8;
}

/* número de avaliações */
.ps-stars-row .ps-stars-count {
  font-size: 12px;
  color: #555;
}

.ps-social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  border: 2px solid #1a33ff;
  color: #1a33ff !important;
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  margin: 6px 0;
  width: 180px;
}

.ps-social svg {
  pointer-events: none;
}

.ps-card.ps-info {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.ps-info-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.ps-info-row:last-child {
  border-bottom: none;
}

.ps-ico {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 999px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.ps-ico svg {
  width: 18px;
  height: 18px;
}

.ps-info-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.ps-info-desc {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.4;
}

/* REMOVE o Papai Noel do mobile */
.mobile-menu .row::before,
.logo-wrapper::before,
.site-header .row::before {
    content: none !important;
    display: none !important;
    background: none !important;
}




/* ===== CORREÇÃO FOOTER PROMSELL (DESKTOP) ===== */

/* Força exibição no desktop */
@media (min-width: 1024px) {

  .ps-footer-mobile-panels,
  .ps-panels,
  .ps-card,
  .ps-faq,
  .ps-info,
  .footer-contact,
  .nasa-service-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Garante que o WPBakery não esconda linhas */
  .vc_row,
  .vc_column,
  .vc_column-inner {
    display: block !important;
  }
}

/* Remove qualquer limitação bizarra do tema */
.ps-footer-mobile-panels {
  position: relative !important;
  z-index: 1;
}

/* ===== FAQ FOOTER – DESKTOP IGUAL AO MOBILE ===== */

@media (min-width: 1024px) {

  /* card externo */
  .ps-faq {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
  }

  .ps-card-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111827;
  }

  /* cada pergunta */
  .ps-faq details {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
  }

  .ps-faq details:last-child {
    border-bottom: none;
  }

  /* título clicável */
  .ps-faq summary {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* seta */
  .ps-faq summary::after {
    content: "⌄";
    font-size: 18px;
    color: #6b7280;
    transition: transform .2s ease;
  }

  .ps-faq details[open] summary::after {
    transform: rotate(180deg);
  }

  /* resposta */
  .ps-faq .ps-acc-body {
    margin-top: 10px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
  }

  /* remove qualquer herança ruim */
  .ps-faq * {
    box-sizing: border-box;
  }
}

/* ===== ESPAÇAMENTO ENTRE FAQ E BOX DE INFO ===== */

@media (min-width: 1024px) {

  .ps-faq {
    margin-bottom: 18px;
  }

}

/* ===== ESCONDER BOTÕES MOBILE NO DESKTOP ===== */

@media (min-width: 1024px) {

  /* botão subir topo */
  .icon-angle-up {
    display: none !important;
  }

  /* menu categorias / mobile menu */
  .nasa-mobile-menu_toggle,
  .bar-mobile_toggle {
    display: none !important;
  }

}


/* REMOVER BOTÃO VOLTAR AO TOPO NO DESKTOP */
@media (min-width: 1024px) {
  #nasa-back-to-top {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* REMOVE BOTÃO "VOLTA AO TOPO" NO MOBILE */
@media (max-width: 767px) {
  #nasa-back-to-top,
  .nasa-back-to-top,
  .backtotop,
  .scroll-to-top,
  .icon-angle-up {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}



/* MOBILE: barra de busca — bloco único consolidado */
@media (max-width: 768px) {

  #ps-mobile-search-bar {
    position: fixed;
    left: 0;
    right: 0;
    top: 56px;
    background: #f8f9fb;
    padding: 10px 14px 12px;
    border-bottom: 1px solid #e5e7eb;
    z-index: 9999;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.25s ease;
  }

  body.ps-mobile-search-open #ps-mobile-search-bar {
    max-height: 80px;
    opacity: 1;
    pointer-events: auto;
  }

  #ps-mobile-search-bar form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: relative;
  }

  /* Cobre tanto o input direto quanto quando o typeahead wrapa ele */
  #ps-mobile-search-bar input.search-field,
  #ps-mobile-search-bar input.tt-input,
  #ps-mobile-search-bar .twitter-typeahead input.search-field,
  #ps-mobile-search-bar .twitter-typeahead input.tt-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 44px 11px 18px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e5ea !important;
    background: #ffffff !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #111827 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    outline: none !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  }

  #ps-mobile-search-bar input.search-field:focus,
  #ps-mobile-search-bar input.tt-input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12) !important;
  }

  #ps-mobile-search-bar input.search-field::placeholder,
  #ps-mobile-search-bar input.tt-input::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
  }

  /* Lupa decorativa dentro do campo */
  #ps-mobile-search-bar form::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%239ca3af' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
  }

  /* typeahead wrapper ocupa 100% */
  #ps-mobile-search-bar .twitter-typeahead {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* esconde busca original do header no mobile */
  header .nasa-search-wrap,
  header .nasa-form-search,
  header .nasa-ajax-search {
    display: none !important;
  }
}

@media (min-width: 769px) {
  #ps-mobile-search-bar {
    display: none !important;
  }
}

/* REMOVER BUSCA ORIGINAL DO TEMA - MOBILE (SEM MATAR A LUPA) */
@media (max-width: 1023px) {

  .nasa-search,
  .nasa-search-wrap,
  .nasa-header-search,
  .search-header,
  .header-search,
  .nasa-mobile-search,
  form.searchform {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* GARANTE que o botão da lupa continue visível */
  a.icon.pe-7s-search.mobile-search {
    display: inline-flex !important;
    visibility: visible !important;
    height: 44px !important;
    width: 44px !important;
    opacity: 1 !important;
  }

}


/* Barra de busca custom — só mobile */
@media (min-width: 1024px) {
  #ps-mobile-search-bar {
    display: none !important;
  }
}

/* ===== FIX DEFINITIVO: reduzir altura do card no MOBILE ===== */
@media (max-width: 768px){

  /* Card do produto */
  .products .product,
  .woocommerce ul.products li.product,
  .product-item,
  .nasa-wrap-item{
    min-height: unset !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Conteúdo interno não pode forçar altura */
  .product-info,
  .product-info-wrap,
  .info,
  .product-details{
    min-height: unset !important;
    height: auto !important;
    padding-bottom: 0 !important;
  }
}

/* MOBILE — DIMINUI A GALERIA, NÃO A IMAGEM */
@media (max-width: 768px) {

    .single-product .product-gallery,
    .single-product .woocommerce-product-gallery,
    .single-product .product-images,
    .single-product .product-images-slider {
        max-width: 340px;
        margin: 0 auto;
    }

}

@media (max-width: 768px) {

    /* CENTRALIZA O BLOCO DA GALERIA */
    .single-product .large-8.columns.product-gallery,
    .single-product .large-8.columns {
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }

}

/* DESATIVA o botão de lightbox/zoom do tema */
a.product-lightbox-btn,
a.product-lightbox-btn-tip,
.product-lightbox-btn,
.product-lightbox-btn-tip {
  display: none !important;
}

/* Remove o overlay/lightbox do tema (se ele abrir) */
body .product-lightbox,
body .product-lightbox-wrap,
body .product-lightbox-overlay,
body .product-lightbox-modal {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Evita "zoom" no cursor/ícone, mas mantém a galeria funcional */
.woocommerce-product-gallery__image img {
  cursor: default !important;
}


/* DESATIVA EZYZOOM / NASA ZOOM (mantém galeria normal) */
.eazyzoom,
.eazyzoom * {
  cursor: default !important;
}

/* Remove qualquer efeito visual de zoom */
.eazyzoom img {
  transform: none !important;
}

/* Só pra não mostrar cursor/ícone de zoom */
.eazyzoom, .eazyzoom * { cursor: default !important; }

/* MOBILE: desativa qualquer gesto de zoom na imagem principal */
@media (max-width: 768px) {
  .woocommerce-product-gallery__image img,
  .eazyzoom img {
    pointer-events: none !important;
    touch-action: manipulation !important;
  }

  /* garante que miniaturas e setas continuem clicáveis */
  .flex-control-nav *,
  .owl-nav *,
  .owl-dots * {
    pointer-events: auto !important;
  }
}

/* Desativa o botão "zoom/lightbox" do tema */
a.product-lightbox-btn,
.product-image-btn {
  display: none !important;
}


a.product-lightbox-btn,
.product-lightbox-btn,
.product-image-btn {
  display:none !important;
}

/* Remove navegação de produto anterior / próximo */
.products-arrow,
.prev-product,
.next-product,
.next-prev-buttons,
.icon-next-prev {
  display: none !important;
}

/* ===== FIX: remover "fantasmas" do WPBakery na área social ===== */
.ps-social p,
.ps-social br{
  display:none !important;
}

.ps-social{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  align-items:center !important;
}


/* ===== ÍCONES + HOVER (fallback) ===== */
.ps-social a.ps-btn{
  position:relative !important;
  overflow:hidden !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:10px 18px 10px 46px !important;
  border-radius:999px !important;
  border:2px solid #0b2cff !important;
  background:#fff !important;
  color:#0b2cff !important;
  font-weight:700 !important;
  text-decoration:none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease !important;
}

/* ✅ estado "selecionado" / clicado / focado: fundo azul e texto branco */
.ps-social a.ps-btn:hover,
.ps-social a.ps-btn:active,
.ps-social a.ps-btn:focus,
.ps-social a.ps-btn:focus-visible{
  background:#0b2cff !important;
  color:#fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(11,44,255,.22) !important;
  outline:none !important;
}

/* ÍCONE (continua por cima) */
.ps-social a.ps-btn::before{
  content:"" !important;
  position:absolute !important;
  left:16px !important;
  width:20px !important;
  height:20px !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:contain !important;
  z-index:2 !important;
}

/* ===== Força texto dos botões mesmo com lixo invisível no <a> ===== */
.ps-social a.ps-btn{
  font-size:0 !important;
  line-height:0 !important;
}

/* TEXTO (normal) */
.ps-social a.ps-btn::after{
  content:"" !important;
  font-size:14px !important;
  line-height:1 !important;
  font-weight:700 !important;
  color:#0b2cff !important;
  position:relative !important;
  z-index:2 !important;
}

/* TEXTO (em hover/selecionado) -> branco pra aparecer no azul */
.ps-social a.ps-btn:hover::after,
.ps-social a.ps-btn:active::after,
.ps-social a.ps-btn:focus::after,
.ps-social a.ps-btn:focus-visible::after{
  color:#fff !important;
}

/* define o texto por tipo */
.ps-social a.ps-btn-whatsapp::after{ content:"WhatsApp" !important; }
.ps-social a.ps-btn-telegram::after{ content:"Telegram" !important; }
.ps-social a.ps-btn-instagram::after{ content:"Instagram" !important; }



/* ===== ÍCONES OUTLINE (estilo do seu exemplo) ===== */

.ps-info-row .ps-ico{
  width:34px;
  height:34px;
  border-radius:999px;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
}

.ps-info-row .ps-ico::before{
  content:"";
  width:20px;
  height:20px;
  display:block;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

/* 1) relógio */
.ps-info .ps-info-row:nth-child(1) .ps-ico::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

/* 2) caminhão */
.ps-info .ps-info-row:nth-child(2) .ps-ico::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v10H3z'/%3E%3Cpath d='M14 10h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='19' r='1.7'/%3E%3Ccircle cx='18' cy='19' r='1.7'/%3E%3C/svg%3E");
}

/* 3) mapa */
.ps-info .ps-info-row:nth-child(3) .ps-ico::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l-6 3V6l6-3 6 3 6-3v15l-6 3-6-3z'/%3E%3Cpath d='M9 3v15'/%3E%3Cpath d='M15 6v15'/%3E%3C/svg%3E");
}

/* 4) bóia (lifebuoy) */
.ps-info .ps-info-row:nth-child(4) .ps-ico::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4.5 4.5l4 4'/%3E%3Cpath d='M15.5 15.5l4 4'/%3E%3Cpath d='M19.5 4.5l-4 4'/%3E%3Cpath d='M8.5 15.5l-4 4'/%3E%3C/svg%3E");
}

.compraspy-social-footer {
  display: flex !important;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.compraspy-social-footer a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  background: #0500ff;
  color: #fff !important;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none !important;
  letter-spacing: .2px;
  box-shadow: 0 4px 10px rgba(5,0,255,.18);
  transition: .2s ease;
}

.compraspy-social-footer a:hover {
  background: #0200c9;
  color: #fff !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .compraspy-social-footer {
    justify-content: center;
  }

  .compraspy-social-footer a {
    width: 100%;
    max-width: 220px;
  }
}

/* Remove botão "Navegar" nas páginas de categoria */
.li-toggle-sidebar,
.nasa-filter-cat-topbar {
  display: none !important;
}

/* ==========================================================
   PROMSELL — MELHORIAS DE CONVERSÃO v2
   ========================================================== */

/* ---- FAIXA DE OFERTA ---- */
.ps-promo-bar {
  width: 100%;
  background: #0b0f1a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 9999;
}
.ps-promo-bar__track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: ps-promo-scroll 32s linear infinite;
}
.ps-promo-bar__track:hover { animation-play-state: paused; }
@keyframes ps-promo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ps-promo-bar__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255,255,255,.55);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  z-index: 2;
  transition: color .15s;
}
.ps-promo-bar__close:hover { color: #fff; }
.ps-promo-bar__close { display: none !important; }
@media (max-width: 768px) {
  .ps-promo-bar { font-size: 10px; height: 28px; letter-spacing: .04em; }
}

/* Faixas pretas */
.nasa-service-footer,
.vc_custom_900001,
.vc_custom_1503472303921,
#nasa-footer .nasa-service-footer {
  background-color: #000 !important;
  background-image: none !important;
}

/* ---- URGÊNCIA DE ESTOQUE ---- */
.ps-urgency-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #1e293b;
  font-weight: 500;
  margin: 8px 0 6px;
  line-height: 1.4;
}
.ps-urg-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ef4444;
  animation: ps-urg-pulse 1.4s ease-in-out infinite;
}
@keyframes ps-urg-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(.65); }
}

/* ---- COTAÇÃO DO DÓLAR ---- */
.ps-cotacao-widget {
  position: fixed;
  top: 14px;
  left: 180px; /* logo tem ~160px de largura; ajusta se necessário */
  z-index: 9500;
  font-size: 12px;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  line-height: 1;
  background: #f3f4f6;
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
}
.ps-cotacao-widget strong { color: #111827; font-weight: 700; }
@media (max-width: 1023px) { .ps-cotacao-widget { display: none !important; } }

/* ---- SELOS DE CONFIANÇA NO CHECKOUT ---- */
.ps-checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin: 14px 0 0;
  padding: 12px 8px 4px;
  border-top: 1px solid #e5e7eb;
}
.ps-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}
.ps-trust-item svg { flex-shrink: 0; stroke: #16a34a; }
@media (max-width: 480px) {
  .ps-checkout-trust { gap: 8px 12px; }
  .ps-trust-item { font-size: 11px; }
}

/* ---- COLOR SWATCHES VISUAIS ---- */
.ps-sw {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 5px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}

/* ---- COMUNIDADE TELEGRAM (CSS inline via wp_head) ---- */

/* ---- OFERTA ESPECIAL ---- */
.ps-oferta-especial {
  background: #fff;
  border: 2px solid #2563eb;
  border-radius: 14px;
  padding: 18px 18px 22px;
  margin: 0 0 28px;
  box-shadow: 0 4px 20px rgba(37,99,235,.10);
}
.ps-oe-header { margin-bottom: 16px; }
.ps-oe-badge {
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  padding: 5px 14px;
  border-radius: 6px;
  text-transform: uppercase;
}
.ps-oe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ps-oe-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #f8faff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.ps-oe-item:hover {
  box-shadow: 0 6px 20px rgba(37,99,235,.15);
  border-color: #2563eb;
  transform: translateY(-2px);
}
.ps-oe-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.ps-oe-img img { width: 100%; height: 100%; object-fit: contain; }
.ps-oe-info {
  padding: 9px 11px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid #e2e8f0;
}
.ps-oe-name {
  font-size: 12px;
  color: #1e293b;
  line-height: 1.35;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ps-oe-price { font-size: 14px; font-weight: 700; color: #2563eb; }
@media (max-width: 900px) {
  .ps-oe-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .ps-oferta-especial { padding: 14px 12px 18px; }
  .ps-oe-grid { gap: 10px; }
  .ps-oe-price { font-size: 13px; }
}

/* ---- CARTÃO MP — formulário no checkout ---- */
.ps-mp-form { padding: 10px 0 4px; }
.ps-mp-desc { font-size: 12px; color: #64748b; margin-bottom: 14px; }
.ps-mp-sandbox { font-size: 12px; color: #b45309; background: #fef9c3; padding: 7px 10px; border-radius: 6px; margin-bottom: 10px; }
.ps-mp-field { margin-bottom: 12px; }
.ps-mp-field label { display: block; font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 4px; }
.ps-mp-field input,
.ps-mp-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 7px;
  font-size: 14px;
  color: #1e293b;
  background: #fff;
  outline: none;
  transition: border-color .15s;
  -webkit-appearance: none;
}
.ps-mp-field input:focus,
.ps-mp-field select:focus { border-color: #2563eb; }
.ps-mp-input-wrap { position: relative; }
.ps-mp-brand {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ps-mp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ps-mp-notice { font-size: 13px; padding: 10px 12px; border-radius: 7px; margin-top: 8px; }
.ps-mp-error { background: #fee2e2; color: #b91c1c; }
.ps-mp-loading { background: #eff6ff; color: #2563eb; }
.ps-mp-thankyou { padding: 14px 16px; border-radius: 8px; font-size: 14px; margin: 16px 0; }
.ps-mp-approved { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.ps-mp-pending  { background: #fef9c3; color: #854d0e; border: 1px solid #fde68a; }
@media (max-width: 480px) {
  .ps-mp-row { grid-template-columns: 1fr; gap: 0; }
}


/* ---- CUPOM DE BOAS-VINDAS (carrinho) ---- */
.ps-cupom-bv {
  background: #fff;
  border: 1.5px solid #2563eb;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 24px;
}
.ps-cbv-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ps-cbv-tag {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.ps-cbv-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  flex: 1;
  min-width: 140px;
}
.ps-cbv-code-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.ps-cbv-code {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1.5px dashed #2563eb;
  border-radius: 6px;
  padding: 6px 12px;
  letter-spacing: .08em;
}
.ps-cbv-copy {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
  white-space: nowrap;
}
.ps-cbv-copy:hover { opacity: .85; }
.ps-cbv-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
}
.ps-cbv-hint strong { color: #1e293b; }
.ps-cbv-hint--destaque {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 600;
}
.ps-cbv-hint--destaque strong { color: #78350f; }
@media (max-width: 480px) {
  .ps-cbv-row { gap: 10px; }
  .ps-cbv-code-wrap { margin-left: 0; }
  .ps-cbv-title { font-size: 13px; }
}

/* ---- EMAGRECEDORES EM DESTAQUE ---- */
.ps-emag-especial { margin-top: 0 !important; }
@media (min-width: 901px) { #ps-emag-hp { display: none !important; } }
.ps-emag-badge { background: #2563eb !important; }
.ps-emag-btn {
  display: block;
  margin: 16px 0 0;
  text-align: center;
  background: #2563eb;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background .18s;
}
.ps-emag-btn:hover { background: #1d4ed8; color: #fff !important; }

/* ============================================================
   PROMSELL — REDESIGN VISUAL v2
   (cards, freteiros, selos, checkout, emagrecedores, WhatsApp)
   ============================================================ */

/* ── 1. CARDS DE PRODUTO — mobile only (≤768px) ────────── */
@media (max-width: 768px) {

/* ─ Template A: content-product.php (nasa_products shortcode / carousel) ─ */
.products .product-item.grid {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.09) !important;
  background: #fff !important;
  border: 1px solid #e2e6f3 !important;
  transition: box-shadow .2s, border-color .2s !important;
}

/* Zera camadas internas — sem dupla-borda */
.products .product-item.grid .inner-wrap,
.products .product-item.grid .product-outner,
.products .product-item.grid .product-inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Imagem */
.products .product-item.grid .product-img,
.products .product-item.grid .product-image {
  background: #fff !important;
  border-bottom: 1px solid #eef0f5 !important;
  overflow: hidden;
}
.products .product-item.grid .product-img a,
.products .product-item.grid .product-img .main-img,
.products .product-item.grid .product-img .back-img {
  background: #fff !important;
}
.products .product-item.grid .product-img img,
.products .product-item.grid .product-image img {
  width: 100% !important;
  height: 175px !important;
  object-fit: contain !important;
  padding: 6px 12px !important;
  background: #fff !important;
  display: block !important;
}

/* Info */
.products .product-item.grid .info { padding: 8px 12px 6px !important; }
.products .product-item.grid .info .name a,
.products .product-item.grid .info .nasa-name a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e2130 !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.products .product-item.grid .info_main { padding: 0 !important; }

/* ─ Template B: content-product-inner.php (.product-block) ─ */
.product-block.product-grid {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.09) !important;
  background: #fff !important;
  border: 1px solid #e2e6f3 !important;
}
.product-block .product-image .image {
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid #eef0f5;
}
.product-block .product-image .image > a img {
  width: 100%;
  height: 155px;
  object-fit: contain;
  display: block;
  padding: 6px 12px;
  background: #fff;
}

/* Preço */
.products .product-item.grid .price .woocommerce-Price-amount,
.product-block .price .woocommerce-Price-amount {
  color: #1a33ff !important;
  font-weight: 800 !important;
}

/* Título template B */
.product-block h4.name { padding: 0 10px; margin: 4px 0 2px; }
.product-block h4.name a {
  font-size: 13px; font-weight: 600; color: #1e2130; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-block .product-meta { padding: 6px 10px 2px; }

} /* fim @media (max-width: 768px) */

/* ── 2. BADGES ROW NOS CARDS ────────────────────────────── */
.ps-card-badges {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px 6px;
  flex-wrap: wrap;
}
.ps-py-tag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #0b1e8a 0%, #1a33ff 100%);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 3px 8px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.ps-badge-emag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 3px 8px;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ── 3. BOTÃO VER PRODUTO — mobile only ─────────────────── */
.ps-ver-produto {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 6px 10px 10px;
  padding: 10px 0;
  background: #1a33ff;
  border: none;
  border-radius: 8px;
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 2px 10px rgba(26,51,255,.25);
}
@media (max-width: 768px) {
  .ps-ver-produto { display: flex; }
}
.ps-ver-produto:hover {
  background: #0d22d6;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(26,51,255,.38);
}
.ps-ver-produto svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── 4. FAIXA GRUPO DE FRETEIROS ───────────────────────── */
#ps-freteiros-bar {
  background: linear-gradient(90deg, #0b1e8a 0%, #1a33ff 100%);
  color: #fff;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 9988;
}
#ps-freteiros-bar .ps-fb-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.35);
  display: inline-block;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  #ps-freteiros-bar { font-size: 11px; gap: 6px; padding: 7px 10px; }
  #ps-freteiros-bar .ps-fb-sep,
  #ps-freteiros-bar .ps-fb-extra { display: none; }
}

/* ── 5. COMO FUNCIONA (home) ───────────────────────────── */
.ps-como-funciona {
  background: #0d1a5e !important;
  padding: 48px 24px 52px !important;
  text-align: center;
  margin: 0 0 32px;
}
.ps-cf-header { margin-bottom: 36px; }
.ps-cf-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  padding: 4px 16px;
  margin-bottom: 14px;
}
.ps-como-funciona h3 {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 8px !important;
  text-transform: none !important;
  letter-spacing: -.01em !important;
}
.ps-cf-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  margin: 0;
}
.ps-cf-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.ps-cf-arrow {
  font-size: 22px;
  color: rgba(255,255,255,.45);
  padding: 36px 8px 0;
  flex-shrink: 0;
}
.ps-cf-step {
  flex: 1 1 0;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ps-cf-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  gap: 0;
}
.ps-cf-emoji {
  font-size: 28px;
  line-height: 1;
  display: block;
}
.ps-cf-n {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
  margin-top: 2px;
}
.ps-cf-step h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 8px !important;
}
.ps-cf-step p {
  font-size: 13px !important;
  color: rgba(255,255,255,.72) !important;
  margin: 0 !important;
  line-height: 1.55 !important;
  max-width: 180px;
}
@media (max-width: 640px) {
  .ps-como-funciona { padding: 32px 20px 36px !important; }
  .ps-como-funciona h3 { font-size: 21px !important; }
  .ps-cf-subtitle { font-size: 13px; }
  .ps-cf-header { margin-bottom: 24px; }
  .ps-cf-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    margin: 0;
  }
  .ps-cf-arrow { display: none; }
  /* Grid: ícone ocupa coluna esquerda, título+texto empilhados à direita */
  .ps-cf-step {
    display: grid !important;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .ps-cf-step:last-child { border-bottom: none; }
  .ps-cf-num {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    margin: 0;
    align-self: center;
  }
  .ps-cf-step h4 {
    grid-column: 2;
    grid-row: 1;
    font-size: 13px !important;
    margin: 0 !important;
    text-align: left;
    align-self: end;
  }
  .ps-cf-step p {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px !important;
    text-align: left;
    max-width: 100%;
    margin: 0 !important;
    align-self: start;
  }
  .ps-cf-emoji { font-size: 20px; }
}

/* ── 6. SELOS CREDIBILIDADE (página do produto) ────────── */
.ps-selos-wrap {
  margin: 16px 0 20px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}
.ps-selos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.ps-selo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1.5px solid #e5e8ef;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1e2130;
  line-height: 1.35;
  transition: border-color .15s, box-shadow .15s;
}
.ps-selo:hover {
  border-color: #b8c4ff;
  box-shadow: 0 2px 10px rgba(26,51,255,.07);
}
.ps-selo-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #1a33ff;
}
.ps-seller-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e5e8ef;
  border-radius: 10px;
  padding: 10px 16px;
}
.ps-sb-logo-only {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
@media (max-width: 400px) {
  .ps-selos-grid { gap: 6px; }
  .ps-selo { font-size: 11px; padding: 8px 10px; gap: 8px; }
}

/* ── 7. CHECKOUT – barra de progresso ─────────────────── */
.ps-checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px;
  padding: 14px 0 18px;
  border-bottom: 1px solid #eee;
}
.ps-cs-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #b0b0b0;
}
.ps-cs-item.active { color: #1a33ff; }
.ps-cs-item.done   { color: #15803d; }
.ps-cs-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: #eee;
  color: #aaa;
  flex-shrink: 0;
  transition: background .2s;
}
.ps-cs-item.active .ps-cs-num { background: #1a33ff; color: #fff; }
.ps-cs-item.done   .ps-cs-num { background: #15803d; color: #fff; }
.ps-cs-connector {
  width: 48px;
  height: 2px;
  background: #eee;
  margin: 0 4px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .ps-cs-item .ps-cs-label { display: none; }
  .ps-cs-connector { width: 28px; }
}

/* ── 7b. CHECKOUT – connector ativo ──── */
.ps-cs-connector.active { background: #1a33ff; }

/* ── 8. CHECKOUT – botão finalizar verde ─────────────── */
.woocommerce #place_order,
.woocommerce-checkout #place_order {
  background: #16a34a !important;
  border-color: #16a34a !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  padding: 15px 24px !important;
  border-radius: 10px !important;
  width: 100% !important;
  transition: background .18s !important;
}
.woocommerce #place_order:hover,
.woocommerce-checkout #place_order:hover {
  background: #15803d !important;
  border-color: #15803d !important;
}

/* ── 9. CHECKOUT – timer de reserva ─────────────────── */
.ps-checkout-timer {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #92400e;
  font-weight: 600;
  line-height: 1.4;
}
.ps-timer-icon { font-size: 17px; flex-shrink: 0; }
#ps-timer { font-variant-numeric: tabular-nums; font-weight: 800; color: #c2410c; }

/* ── 10. BADGE EMAGRECEDORES ─────────────────────────── */
.ps-badge-emag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(124,58,237,.35);
}

/* ── 10. CHECKOUT TRUST SIGNAL ──────────────────────────── */
.ps-checkout-trust {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  color: #14532d;
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: center;
}
.ps-checkout-trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #555;
}
.ps-checkout-trust-list li { padding: 0; }

/* ── 11. ÍCONES DE PAGAMENTO (produto) ───────────────────── */
.ps-payment-icons {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 4px 0 14px !important;
  font-size: 0 !important;
}
.ps-pay-label {
  font-size: 12px !important;
  color: #666 !important;
  font-weight: 500 !important;
  flex-shrink: 0 !important;
}
.ps-pay-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  border-radius: 6px !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.ps-pay-badge small { font-size: 9px !important; opacity: .8; }
.ps-pay-pix    { background: #dcfce7 !important; color: #15803d !important; }
.ps-pay-card   { background: #eff6ff !important; color: #1d4ed8 !important; }
.ps-pay-boleto { background: #f5f5f5 !important; color: #555 !important; border: 1px solid #e0e0e0 !important; }

/* ── 12. PRAZO DE ENTREGA (produto) ─────────────────────── */
.ps-delivery-estimate {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  background: #f8faff !important;
  border: 1px solid #dce4ff !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  font-size: 13px !important;
  color: #334155 !important;
  margin-bottom: 14px !important;
  line-height: 1.4 !important;
}
.ps-de-truck { font-size: 18px; flex-shrink: 0; }
.ps-delivery-estimate strong { color: #0b1e8a !important; }

/* ── 13. FIXED ADD-TO-CART (NASA tema) — corrige botão invisível em variações ── */
/* Botão adicionar ao carrinho — sempre visível mesmo sem variação selecionada */
.single_add_to_cart_button,
.single_add_to_cart_button.disabled,
.single_add_to_cart_button.wc-variation-selection-needed,
.nasa-add-to-cart-fixed .single_variation_wrap-clone .button,
.nasa-add-to-cart-fixed .single_variation_wrap-clone .button.disabled {
  opacity: 1 !important;
  background-color: #296dc1 !important;
  color: #fff !important;
  cursor: pointer !important;
  filter: none !important;
}

/* ── 14. CONTADOR DE PEDIDOS (home) ──────────────────────── */
.ps-contador {
  background: #f8f9ff !important;
  border-top: 1px solid #e8ecff !important;
  border-bottom: 1px solid #e8ecff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  padding: 4px 0 !important;
  width: 100% !important;
  margin-top: 16px !important;
}
.ps-contador-item {
  display: block !important;
  padding: 10px 28px !important;
  text-align: center !important;
}
.ps-cnt-num {
  display: inline !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1a33ff !important;
  line-height: 1 !important;
  letter-spacing: -.02em !important;
}
.ps-cnt-suffix {
  display: inline !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #1a33ff !important;
  vertical-align: super;
  line-height: 1;
}
.ps-cnt-label {
  display: block !important;
  font-size: 9px !important;
  color: #999 !important;
  font-weight: 600 !important;
  margin-top: 3px !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}
.ps-contador-sep {
  width: 1px !important;
  height: 24px !important;
  background: #dde2f5 !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}
@media (max-width: 480px) {
  .ps-contador-item { padding: 8px 18px !important; }
  .ps-cnt-num { font-size: 18px !important; }
}

/* ── 15. WHATSAPP FLUTUANTE ──────────────────────────── */
/* ── WHATSAPP FLUTUANTE (menu com as vendedoras) ───────────── */
.ps-wa-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9997;
}
#ps-whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #25d366;
  color: #fff !important;
  border-radius: 999px;
  padding: 13px 18px 13px 14px;
  box-shadow: 0 4px 22px rgba(37,211,102,.42);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition: transform .18s, box-shadow .18s;
}
#ps-whatsapp-btn::-webkit-details-marker { display: none; }
#ps-whatsapp-btn::marker { content: ""; }
#ps-whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(37,211,102,.58);
  color: #fff !important;
}
#ps-whatsapp-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Menu abre para cima, ancorado à direita do botão */
.ps-wa-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  min-width: 208px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0,0,0,.18);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ps-wa-head {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #8b93a3;
  padding: 6px 10px 4px;
}
.ps-wa-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #1f2937 !important;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .14s;
}
.ps-wa-opt:hover { background: #f0fdf4; color: #1f2937 !important; }
.ps-wa-opt svg { width: 19px; height: 19px; flex-shrink: 0; color: #25d366; }

@media (max-width: 600px) {
  .ps-wa-wrap { bottom: 16px; right: 16px; }
  #ps-whatsapp-btn { padding: 13px; border-radius: 50%; }
  #ps-whatsapp-btn .ps-wa-label { display: none; }
  .ps-wa-menu { min-width: 196px; }
}
@media (max-width: 768px) {
  .single-product .ps-wa-wrap { bottom: 120px; }
}


/* ── PAGINAÇÃO ───────────────────────────────────────────────── */
.nasa-paginations-warp,
.woocommerce-pagination,
nav.woocommerce-pagination {
  margin: 24px 0 32px !important;
  text-align: center !important;
}

.woocommerce-pagination ul,
.nasa-paginations-warp ul {
  display: inline-flex !important;
  gap: 5px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: none !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.nasa-paginations-warp ul li a,
.nasa-paginations-warp ul li span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 1.5px solid #e2e6f3 !important;
  background: #fff !important;
  color: #1e2130 !important;
  text-decoration: none !important;
  transition: all .18s !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
}

.woocommerce-pagination ul li span.current,
.nasa-paginations-warp ul li span.current {
  background: #1a33ff !important;
  color: #fff !important;
  border-color: #1a33ff !important;
  box-shadow: 0 2px 8px rgba(26,51,255,.25) !important;
}

.woocommerce-pagination ul li a:hover,
.nasa-paginations-warp ul li a:hover {
  border-color: #1a33ff !important;
  color: #1a33ff !important;
  background: #f0f3ff !important;
}

/* Corrigir botão fixo mobile de produto variável */
.nasa-add-to-cart-fixed .nasa-single-btn-clone,
.nasa-add-to-cart-fixed .nasa-single-btn-clone.nasa-clone-disable,
.nasa-add-to-cart-fixed .woocommerce-variation-add-to-cart-clone {
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
}

/* Botão dentro do clone fixo */
.nasa-add-to-cart-fixed .nasa-single-btn-clone button.single_add_to_cart_button,
.nasa-add-to-cart-fixed .nasa-single-btn-clone button.single_add_to_cart_button.disabled,
.nasa-add-to-cart-fixed .nasa-single-btn-clone button.single_add_to_cart_button.wc-variation-selection-needed {
    background: #0000ff !important;
    background-color: #0000ff !important;
    background-image: none !important;
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    border: 1px solid #0000ff !important;
}

/* ── Select de variação no fixed bar mobile ── */
.nasa-add-to-cart-fixed .nasa-attr-select_wrap-clone {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding-right: 0 !important;
    flex-shrink: 1;
    min-width: 0;
}

.nasa-add-to-cart-fixed .nasa-attr-select_wrap-clone label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #555 !important;
    white-space: nowrap;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: .6px;
    flex-shrink: 0;
}

.nasa-add-to-cart-fixed .nasa-attr-select_wrap-clone select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230000ff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    border: 2px solid #0000ff !important;
    border-radius: 10px !important;
    padding: 8px 34px 8px 13px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111 !important;
    cursor: pointer !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-shadow: 0 2px 8px rgba(0,0,255,.10) !important;
    transition: border-color .15s, box-shadow .15s !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.nasa-add-to-cart-fixed .nasa-attr-select_wrap-clone select:focus {
    outline: none !important;
    border-color: #0000cc !important;
    box-shadow: 0 0 0 3px rgba(0,0,255,.18) !important;
}

/* ── CHECKOUT – seções agrupadas por JS ─────────────────── */
/* Remove o card do wrapper externo (o JS cria os cards internos) */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  box-shadow: none;
}
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 {
  display: none;
}
/* Oculta billing fields até o JS agrupar (classe adicionada server-side via body_class) */
.ps-billing-loading .woocommerce-billing-fields {
  opacity: 0 !important;
  pointer-events: none;
}
.woocommerce-billing-fields {
  transition: opacity 0.2s ease;
}

/* Cards das seções injetadas pelo JS */
.ps-co-section {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  padding: 18px 16px 10px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.ps-co-sec-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid #f0f0f0;
}
.ps-co-sec-head svg { color: #6366f1; flex-shrink: 0; }
.ps-co-sec-body { display: flex; flex-wrap: wrap; gap: 0; }
.ps-co-sec-body .form-row { margin-bottom: 14px !important; }
/* Separação entre campos adjacentes (metade da largura) */
.ps-co-sec-body .form-row-first { padding-right: 8px !important; }
.ps-co-sec-body .form-row-last  { padding-left: 8px !important; }
/* Celular e e-mail em linhas separadas, largura total */
.ps-co-sec-body #billing_phone_field,
.ps-co-sec-body #billing_email_field {
  width: 100% !important;
  float: none !important;
  clear: both !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Inputs */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  border: 1.5px solid #e5e7eb !important;
  border-radius: 10px !important;
  padding: 11px 13px !important;
  font-size: 14px !important;
  background: #fafafa !important;
  transition: border-color .15s, box-shadow .15s !important;
}
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: #6366f1 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.1) !important;
  outline: none !important;
}
.woocommerce-checkout .form-row label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
  display: block;
}
/* ── ORDENAÇÃO WooCommerce — mobile redesign ─────────────────────────────── */
/* O tema move o select para .nasa-filter-order .select-wrapper via JS */
@media (max-width: 768px) {
  /* container */
  .nasa-filter-order .select-wrapper,
  .sort-bar .select-wrapper,
  .woocommerce-ordering .select-wrapper {
    overflow: visible !important;
    display: block !important;
    width: 100% !important;
    border-radius: 12px !important;
  }
  /* remove seta triangular do tema */
  .nasa-filter-order .select-wrapper:after,
  .sort-bar .select-wrapper:after,
  .woocommerce-ordering .select-wrapper:after {
    display: none !important;
  }
  /* o select em si */
  .nasa-filter-order .select-wrapper select[name="orderby"],
  .sort-bar select[name="orderby"],
  .woocommerce-ordering select[name="orderby"],
  select.orderby {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #1a1f2e !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 18px !important;
    color: #e2e8f0 !important;
    border: 1.5px solid #2d3748 !important;
    border-radius: 12px !important;
    padding: 12px 42px 12px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.25) !important;
    outline: none !important;
    height: auto !important;
    margin: 0 !important;
  }
  .nasa-filter-order .select-wrapper select[name="orderby"]:focus,
  select.orderby:focus {
    border-color: #1a33ff !important;
    box-shadow: 0 0 0 3px rgba(26,51,255,.18) !important;
  }
}

@media (max-width: 768px) {
  .ps-co-section { padding: 16px 13px 8px; border-radius: 12px; }
}

/* Botão remover item do carrinho */
.woocommerce-cart table.cart td.product-remove {
  text-align: center !important;
  vertical-align: middle !important;
}
.woocommerce-cart table.cart td.product-remove a.remove {
  display: inline-block !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 6px !important;
  background-color: #1a33ff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cline x1='4' y1='4' x2='20' y2='20' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='20' y1='4' x2='4' y2='20' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 70% !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 auto !important;
  outline: none !important;
  font-size: 0 !important;
  color: transparent !important;
  text-decoration: none !important;
  overflow: hidden !important;
}
.woocommerce-cart table.cart td.product-remove a.remove::before,
.woocommerce-cart table.cart td.product-remove a.remove::after {
  display: none !important;
}
.woocommerce-cart table.cart td.product-remove a.remove svg,
.woocommerce-cart table.cart td.product-remove a.remove img,
.woocommerce-cart table.cart td.product-remove a.remove > * {
  display: none !important;
  visibility: hidden !important;
}
@media (max-width: 768px) {
  .woocommerce-cart table.cart td.product-remove a.remove {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Paginação: página ativa com borda azul visível */
.nasa-pagination.style-2 .page-numbers span.current,
.nasa-pagination.style-2 .page-numbers a.current,
.nasa-pagination.style-2 .page-numbers a.nasa-current {
  border: 2px solid #1a33ff !important;
  color: #1a33ff !important;
  background-color: #ffffff !important;
  font-weight: 700 !important;
}

/* Botão X fechar menu mobile */
.ps-mtb-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
  margin-left: auto;
  opacity: 0.85;
}
.ps-mtb-close:hover {
  opacity: 1;
}
