/* Pulse Lux — ajustes de 22/10/2026: menu (desktop e celular) e página de produto.
   Carregado por último em todas as páginas; usa body/!important só onde o tema já força estilos. */

/* Altura da tela sem JS: 1svh é estável no celular (não pula com a barra de endereço) */
@supports (height:1svh){:root{--plx-vh:1svh}}

:root{--plx-font-ui:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--plx-gold-ui:#b8860b;--plx-line-ui:#ebe5dc}

/* ---------- LCP no celular ---------- */
/* O scroll-snap dos carrosséis se reajustava sozinho ao carregar (Instagram, Destaques, provas sociais);
   em telas de toque o Chrome trata isso como rolagem do usuário e para de medir o LCP (PageSpeed dava "NO_LCP").
   O snap só liga depois da primeira interação (classe plx-snap-ready, refresh-2026.php). */
html:not(.plx-snap-ready) body .plx-real-carousel-track,
html:not(.plx-snap-ready) body [class*="carousel-track"],
html:not(.plx-snap-ready) body .plxps-track,
html:not(.plx-snap-ready) body .plx-instagram-grid,
html:not(.plx-snap-ready) body .plx-product-thumbs,
html:not(.plx-snap-ready) body .plx-product-carousel,
html:not(.plx-snap-ready) body [class*="-carousel"]{scroll-snap-type:none!important}

/* ---------- Acessibilidade ---------- */
/* Dourado de texto com contraste AA (o #b8860b dava ~3:1 sobre branco/marfim); bordas e estrelas seguem no tom original */
body .plx-home-guide-kicker,
body .plx-quality-stars.plx-quality-original,
body .plx-single-price ins, body .plx-single-price ins .woocommerce-Price-amount,
body .plx-product-card .price ins, body .plx-product-card .price ins .woocommerce-Price-amount,
body .plx-product-card ins .woocommerce-Price-amount{color:#8a6508!important}
/* Carrinho fechado: aria-hidden com links focáveis dentro; fora da tela também deixa de receber foco */
body .plx-cart-drawer[aria-hidden="true"]{visibility:hidden}

/* ---------- Menu desktop: submenus ---------- */
@media (min-width:1101px){
  body .plx-header .plx-nav .menu>li>ul.sub-menu{min-width:240px!important;padding:10px 0!important;border:1px solid var(--plx-line-ui)!important;border-top:2px solid var(--plx-gold-ui)!important;box-shadow:0 22px 50px rgba(0,0,0,.10)!important}
  body .plx-header .plx-nav .menu>li>ul.sub-menu>li{margin:0!important;padding:0!important}
  body .plx-header .plx-nav .menu>li>ul.sub-menu>li>a{display:block!important;padding:10px 22px!important;border-bottom:0!important;color:#111!important;font-size:12.5px!important;font-weight:500!important;letter-spacing:.08em!important;text-transform:uppercase!important;line-height:1.3!important;transition:background .15s ease,color .15s ease!important}
  body .plx-header .plx-nav .menu>li>ul.sub-menu>li>a:hover,body .plx-header .plx-nav .menu>li>ul.sub-menu>li>a:focus-visible{background:#f7f4ee!important;color:var(--plx-gold-ui)!important;text-decoration:none!important}
  body .plx-header .plx-nav .menu>li>ul.sub-menu>li>a::after{display:none!important}
  /* "Ver todos" fecha a lista de Relógios */
  body .plx-header .plx-nav .menu>li>ul.sub-menu>li.menu-item-4316{margin-top:6px!important;padding-top:6px!important;border-top:1px solid var(--plx-line-ui)!important}
  body .plx-header .plx-nav .menu>li>ul.sub-menu>li.menu-item-4316>a{color:var(--plx-gold-ui)!important;font-weight:700!important}
  /* Marcas em duas colunas, sem caixa alta (nomes próprios) */
  body .plx-header .plx-nav .menu>li.menu-item-3277>ul.sub-menu,
  body .plx-header .plx-nav .menu>li.menu-item-3277:hover>ul.sub-menu,
  body .plx-header .plx-nav .menu>li.menu-item-3277:focus-within>ul.sub-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:380px!important;width:380px!important;padding:12px 0!important}
  body .plx-header .plx-nav .menu>li.menu-item-3277>ul.sub-menu>li>a{text-transform:none!important;letter-spacing:.01em!important;font-size:14px!important}
}

/* ---------- Menu celular (gaveta) ---------- */
/* width:100vw incluía a barra de rolagem e deslocava a gaveta 15 px para fora da tela */
body .plx-mobile-menu{width:min(430px,100%)!important;max-width:100%!important;padding:76px 24px 36px!important}
body .plx-mobile-menu>ul>li{border-bottom:1px solid var(--plx-line-ui)!important}
body #plx-mobile-menu-drawer.plx-mobile-menu>ul>li>a,body #plx-mobile-menu-drawer.plx-mobile-menu>ul>li>.plx-mobile-row>a{display:flex!important;align-items:center!important;min-height:56px!important;font-size:15px!important;font-weight:600!important;letter-spacing:.1em!important;line-height:1.2!important}
body .plx-mobile-menu .sub-menu{margin:0 0 14px!important;padding:2px 0 0 14px!important;border-left:2px solid var(--plx-gold-ui)!important}
body .plx-mobile-menu .sub-menu li{border:0!important}
body .plx-mobile-menu .sub-menu a{min-height:42px!important;font-size:12.5px!important;font-weight:500!important;letter-spacing:.06em!important;color:#333!important;border-bottom:0!important}
body .plx-mobile-menu .plx-submenu-toggle{width:34px!important;height:34px!important}

/* ---------- Páginas de categoria: título visível (estava display:none) ---------- */
body .plx-shop-archive .plx-archive-page-head{padding:28px 0 4px!important;height:auto!important}
body .plx-shop-archive .plx-archive-page-head h1{display:block!important;margin:0 0 8px!important;font-family:var(--plx-font-ui)!important;font-size:clamp(28px,3vw,40px)!important;font-weight:700!important;letter-spacing:-.015em!important;line-height:1.1!important;color:#000!important}
body .plx-archive-level{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 6px;font-size:14px;color:#555}
body .plx-archive-level a{color:#000;font-weight:600;text-decoration:none;border-bottom:1px solid currentColor}
body .plx-archive-level a:hover{color:var(--plx-gold-ui)}

/* ---------- Página de produto ---------- */
body .plx-product-page,
body .plx-product-page .plx-product-summary,
body .plx-product-page .plx-product-summary h1,
body .plx-product-page .plx-prose,
body .plx-product-page .plx-prose *,
body .plx-product-page .plx-product-info-tab-nav button,
body .plx-product-page .single_add_to_cart_button,
body .plx-product-page .plx-shipping-box,
body .plx-product-page .plx-shipping-box *,
body .plx-product-page .plx-product-trust-row *{font-family:var(--plx-font-ui)!important}

body .plx-product-page .plx-product-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#777}
body .plx-product-page .plx-product-crumbs a{color:#777;text-decoration:none}
body .plx-product-page .plx-product-crumbs a:hover{color:#000}
body .plx-product-page .plx-product-crumbs span{color:#c8c2b6}
body .plx-product-page .plx-product-crumbs span:last-child{display:none}

body .plx-product-page .plx-product-summary h1{font-size:clamp(26px,2.4vw,36px)!important;font-weight:700!important;letter-spacing:-.015em!important;line-height:1.12!important}

/* Nível de qualidade */
body .plx-product-page .plx-product-level{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;max-width:460px;margin:4px 0 20px;padding:14px 16px;background:#f7f4ee;border:1px solid #e7e0d2}
body .plx-product-page .plx-product-level-main{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
body .plx-product-page .plx-product-level-label{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8a7a5a}
body .plx-product-page .plx-product-level-main strong{font-size:15px;font-weight:700;color:#000}
body .plx-product-page .plx-product-level-meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:#555}
body .plx-product-page .plx-product-level-meta a{color:#000;font-weight:600;text-decoration:none;border-bottom:1px solid currentColor}
body .plx-product-page .plx-product-level-meta a:hover{color:var(--plx-gold-ui)}
body .plx-quality-stars{display:inline-flex;gap:1px;font-size:13px;line-height:1;letter-spacing:0;white-space:nowrap}
body .plx-quality-stars .is-on{color:#c9a227}
body .plx-quality-stars .is-off{color:#d9d4c8}
body .plx-quality-stars.plx-quality-original{padding:3px 8px;border:1px solid currentColor;color:#b8860b;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}

/* Frete: campo alinhado (o ícone quebrado ocupava espaço) */
body .plx-product-page .plx-shipping-box h3{margin:0 0 10px!important;font-size:13px!important;font-weight:700!important;letter-spacing:.02em!important;color:#000!important}
body .plx-product-page .plx-shipping-form{display:flex!important;align-items:stretch!important;gap:8px!important}
body .plx-product-page .plx-shipping-icon:empty,
body .plx-product-page .plx-shipping-icon .plx-svg-file-icon{display:none!important}
body .plx-product-page .plx-shipping-form input{flex:1 1 auto!important;min-width:0!important;margin:0!important;height:48px!important}

/* Selos de confiança com ícone */
body .plx-product-page .plx-product-trust-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:18px!important;padding-top:18px!important;border-top:1px solid var(--plx-line-ui)!important}
body .plx-product-page .plx-product-trust-row>span{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto auto;column-gap:10px!important;align-items:center!important}
body .plx-product-page .plx-trust-icon{grid-row:1/3;width:24px;height:24px;color:var(--plx-gold-ui)}
body .plx-product-page .plx-product-trust-row strong{font-size:13px!important;font-weight:700!important;line-height:1.25!important}
body .plx-product-page .plx-product-trust-row small{font-size:12px!important;line-height:1.35!important;color:#666!important}

/* Descrição em coluna única e confortável quando não há imagem lateral própria */
body .plx-product-page .plx-product-info-grid.plx-product-info-single{display:block!important;max-width:860px!important;margin-left:auto!important;margin-right:auto!important}
body .plx-product-page .plx-prose{font-size:16px!important;line-height:1.7!important;color:#222!important}
body .plx-product-page .plx-prose p,body .plx-product-page .plx-prose li{font-size:16px!important}

/* Aviso de variação não escolhida (substitui o alert() do WooCommerce) */
body .plx-variation-hint{max-width:460px;margin:0 0 10px;padding:10px 14px;background:#fff6e5;border-left:3px solid var(--plx-gold-ui);color:#5a4200;font-size:13.5px;font-weight:600;line-height:1.4}
@keyframes plxAttention{0%,100%{transform:none}20%,60%{transform:translateX(-4px)}40%,80%{transform:translateX(4px)}}
body .plx-attention{animation:plxAttention .45s ease 1}

/* Avaliações: mesma fonte do site e sem o resumo "0,0" quando ainda não há avaliações */
body .plx-product-page .plx-product-reviews,
body .plx-product-page .plx-product-reviews :is(h2,h3,p,a,button,label,input,textarea,strong,small,li,.plx-eyebrow){font-family:var(--plx-font-ui)!important}
body .plx-product-page .plx-reviews-is-empty .plx-reviews-summary-grid{display:none!important}

@media (max-width:640px){
  body .plx-product-page .plx-product-trust-row{grid-template-columns:1fr!important;gap:12px!important}
  body .plx-product-page .plx-product-level{padding:12px 14px}
}
