#detalhes-produto .gallery-main{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
}

#detalhes-produto .gallery-image{
  width:100%;
  height:420px;
  object-fit:contain;
  background:#fff;
}

@media (max-width: 768px){
  #detalhes-produto .gallery-image{
    height:320px;
  }
}

#detalhes-produto .gallery-thumbs{
  display:flex;
  gap:8px;
  margin-top:12px;
  overflow-x:auto;
  padding-bottom:4px;
}

#detalhes-produto .thumb{
  border:1px solid #E5E7EB;
  border-radius:8px;
  background:#fff;
  padding:2px;
  width:74px;
  height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  cursor:pointer;
}

#detalhes-produto .thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:6px;
}

#detalhes-produto .thumb.active,
#detalhes-produto .thumb:hover{
  border-color:#2D39F5;
  box-shadow:0 0 0 2px rgba(45,57,245,.15) inset;
}

/* Vídeo thumb */
#detalhes-produto .video-thumb{
  width:100%;
  height:100%;
  background:#111827;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
}

#detalhes-produto .video-thumb svg{
  width:28px;
  height:28px;
  fill:#fff;
}

/* ====== Cores (chips) ====== */
#detalhes-produto .cor-box{
  display:inline-block;
  border:1px solid #E2E4E6;
  border-radius:9999px;
  font-weight:500;
}

/* ====== Descrição ====== */
.product-description p{
  margin-bottom:10px;
}

/* ====== “Download” card ====== */
#detalhes-produto .card.border-radius-20{
  border-radius:20px;
}

/* ===== Galeria ===== */
.product-gallery{
  background:#fff;
  border-radius:12px;
  padding:12px;
}

/* “card” da imagem grande */
.product-gallery .gallery-main{
  position:relative;
  border:1px solid #E2E4E6;
  border-radius:6px;
  background:#fff;
  height:420px;
  overflow:hidden;
}

/* panes padrão: escondidos */
.product-gallery .gallery-main .tab-pane{
  display:none;
  height:100%;
}

/* pane ativo: vira flex para centralizar a imagem */
.product-gallery .gallery-main .tab-pane.active{
  display:flex;
  align-items:center;
  justify-content:center;
}

/* imagem grande */
.product-gallery .gallery-image{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

/* thumbs embaixo */
.product-gallery .gallery-thumbs{
  display:flex;
  gap:8px;
  margin-top:12px;
  overflow-x:auto;
  padding-bottom:4px;
}

.product-gallery .gallery-thumbs .thumb{
  width:60px;
  height:60px;
  padding:0;
  border:1px solid #E2E4E6;
  border-radius:6px;
  background:#fff;
  overflow:hidden;
}

.product-gallery .gallery-thumbs .thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.product-gallery .gallery-thumbs .thumb.active,
.product-gallery .gallery-thumbs .thumb:hover{
  border-color:#2D39F5;
  box-shadow:0 0 0 2px rgba(45,57,245,.15) inset;
}

/* header do produto (lado direito) */
.prod-title{
  font-size:32px;
  font-weight:700;
  color:#111;
  margin:0;
}

.title-bar{
  display:block;
  width:44px;
  height:3px;
  background:#111;
  border-radius:2px;
  margin:10px 0 16px;
}

.prod-summary{
  font-size:15px;
  line-height:1.6;
  color:#111;
  margin-bottom:18px;
}

/* bloco com Potência/Topologia/Forma/Modelos… */
.prod-speclines{
  font-size:14px;
  line-height:1.6;
  color:#111;
}

.prod-speclines p{
  margin:0 0 6px;
}

.prod-speclines ul{
  margin:6px 0 0 18px;
}

.prod-speclines li{
  margin:2px 0;
}

/* botões */
.prod-cta{
  display:flex;
  gap:12px;
}

.btn-choice{
  --accent:#5B3DF5;
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--accent);
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:4px;
  font-weight:600;
}

.btn-choice svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

.btn-shop{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#111;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:4px;
  font-weight:600;
}

.btn-shop svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

/* compartilhar / comparar */
.prod-meta{
  font-size:14px;
  color:#111;
}

.prod-meta .link-share{
  color:#007AFF;
  text-decoration:none;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
}

.prod-meta .link-share:hover{
  text-decoration:underline;
}

.prod-meta svg{
  width:18px;
  height:18px;
  fill:#6b7280;
  margin-right:8px;
  vertical-align:-3px;
}

/* ===== Popover de compartilhamento ===== */

.share-popover{
  --share-accent:#3B82F6;
  position:absolute;
  z-index:1100;
  min-width: 260px;
  background:#fff;
  border:1px solid #E5E7EB;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  border-radius:12px;
  padding:14px;
  opacity:0;
  transform: translateY(6px) scale(.98);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}

.share-popover.is-open{
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:auto;
}

.share-popover::after{
  content:"";
  position:absolute;
  top:-8px;
  left:24px;
  width:14px;
  height:14px;
  background:#fff;
  border-left:1px solid #E5E7EB;
  border-top:1px solid #E5E7EB;
  transform: rotate(45deg);
}

.share-actions{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
}

.share-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:9999px;
  background: var(--share-accent);
  color:#fff;
  border:none;
  outline:0;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease;
}

.share-btn:hover{
  transform: translateY(-1px);
  filter: brightness(.96);
}

.share-btn svg{
  width:20px;
  height:20px;
  fill:#fff;
}

.share-btn.copy{
  background:#111827;
}

.share-tip{
  font-size:12px;
  color:#10B981;
  margin-top:8px;
  min-height:16px;
}

/* ===== Barra 50/50 — abas visuais ===== */
.product-tabs-rail{
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 36px;
  margin: 12px 0 24px;
  overflow: hidden;
}

.product-tabs-rail .tab-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #BFBFBF;          /* cinza do lado inativo */
  color: #FFFFFF;
  border: none;
  outline: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
}

.product-tabs-rail .tab-btn.active{
  background: var(--bs-blue);          /* azul do lado ativo (ajuste se quiser) */
  color: #FFFFFF;
}

.product-tabs-rail .tab-btn[aria-disabled="true"]{
  pointer-events: none;          /* o segundo não faz nada */
}

.product-tabs-rail .tab-btn:focus-visible{
  outline: 2px solid #2D39F5;
  outline-offset: 2px;
}




/* Em telas pequenas preferimos o share nativo; o popover é apenas fallback */
@media (max-width: 768px){
  .share-popover{
    display:none;
  }
}


@media (max-width: 768px){
  .product-gallery .gallery-main{
    height:320px;
  }
}

@media (min-width: 992px){
  /* empurra o rodapé da coluna direita um pouco para cima
     para alinhar com o fim da imagem grande, não com as thumbs */
  .product-top .col-info .prod-bottom{
    margin-bottom: 110px; /* 74px dos thumbs + ~12px de gap */
  }
}


/* ===== Detalhes técnicos ===== */
.specs-wrap{
  margin-top: 28px;
}

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

.specs-title{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
}

.specs-bar{
  display: inline-block;
  width: 36px;
  height: 3px;
  background: #2D39F5;
  border-radius: 2px;
}

/* grid 2 colunas */
.specs-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* tabela */
.spec-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFFFFF;
  border: 1px solid #E2E4E6;
  border-radius: 6px;
  overflow: hidden;
}

.spec-table th,
.spec-table td{
  padding: 12px 14px;
  font-size: 14px;
  color: #111111;
  border-bottom: 1px solid #E9EEF3;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td{
  border-bottom: 0;
}

/* rótulos da esquerda (azul claro constante) */
.spec-table th{
  width: 58%;
  background: #F9F9F9;
  font-weight: 500;
}

/* listras na coluna de valores */
.spec-table td{
  background: #F9F9F9;
}

.spec-table tr:nth-child(even) td{
  background: #ECF4F8;
}
.spec-table tr:nth-child(even) th{
  background: #ECF4F8;
}

/* responsivo: empilha as duas tabelas */
@media (max-width: 992px){
  .specs-grid{
    grid-template-columns: 1fr;
  }
}


.navs-fale-conosco{
  text-align: center;
  position: absolute;
  max-width: 170px;
  left: 86%;
}

.card-fale-conosco {
  position: relative;
  color: white;
  padding: 4.8rem 2rem;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 2 / 1;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.card-fale-conosco::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0; /* gradiente na base */
  transition: opacity 0.3s ease;
}

.card-fale-conosco::after {
  content: "";
  position: absolute;
  inset: 0;
  background: black;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1; /* sombra por cima do gradiente */
}

.card-fale-conosco:hover::after {
  opacity: 0.3; /* camada preta sutil por cima do gradiente */
}


.card-fale-conosco::before {
  background: linear-gradient(90deg, rgba(134, 134, 134, 0.61) 0%, rgba(0, 0, 0, 0.00) 80%);
}

.card-fale-conosco > * {
  position: relative;
  z-index: 2; /* conteúdo por cima de tudo */
}

.card-fale-conosco .icon {
  width: 56px;
  height: 56px;
}

.card-fale-conosco h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 1rem;
  max-width: 76%;
}

.card-fale-conosco span {
  color: white;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 85px;
}

#navegacao-fale-conosco{
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

#produtos{
  max-width: 1220px;
}

@media (max-width: 768px){
  .card-fale-conosco {
    padding: 0.5rem 2rem;
  }
  .card-fale-conosco h2 {
    font-size: 1.9rem;
  }
}

.btn-details {
  width: 80%!important;
}

/* ===== Página de listagem de produtos ===== */

.product-list-page .page-title{
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #111111;
}

/* abas superiores */
.tabs-line{
  display: flex;
  gap: 18px;
  align-items: center;
}

.tabs-line .tab{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6B7280;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
}

.tabs-line .tab .badge{
  background: #EEF2FF;
  color: #374151;
  font-weight: 600;
}

.tabs-line .tab.active{
  color: #111111;
  border-color: #2D39F5;
}
/* bloco geral do card de filtros */
.filtro{
  background:#F6F5F5;
  padding:16px;
}

/* título “Filtros” com traço */
.filters-title{
  font-weight:700;
  color:#111;
  margin:0 0 10px;
}
.filters-title::after{
  content:"";
  display:block;
  width:64px; height:2px;
  background:#403D3D;
  border-radius:2px;
  margin:6px 0 0 2px;
}

/* cabeçalho master (Detalhes técnicos) */
.specs-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border:0;
  background:transparent;
  color:#0f3b47;
  font-weight:700;
  border-bottom:1px solid #E5E7EB;
}
.specs-toggle .chevron{
  inline-size: 18px;
  block-size: 10px;
  background:
          conic-gradient(from 135deg at 60% 40%,#0f3b47 90deg,transparent 0) 0 0/100% 100% no-repeat;
  transform: rotate(90deg);             /* fechado = seta à direita */
  transition: transform .18s ease;
}
.specs-toggle[aria-expanded="true"] .chevron{
  transform: rotate(180deg);            /* aberto = seta para cima */
}

/* painel que contém os facets */
.specs-panel{ padding-top:10px; }

/* itens/linhas de cada facet (parecidos com “cards” clicáveis) */
.facet{ margin-bottom:10px; }

.facet-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  background:#F8F9FB;
  border: 0px solid transparent;
  border-radius:4px;
  font-weight:700;
  color:#111;
}
.facet-head .chevron{
  inline-size: 18px;
  block-size: 10px;
  background:
          conic-gradient(from 135deg at 60% 40%,#6B7280 90deg,transparent 0) 0 0/100% 100% no-repeat;
  transform: rotate(90deg);
  transition: transform .18s ease;
}
.facet-head[aria-expanded="true"] .chevron{
  transform: rotate(180deg);
}

/* corpo do facet */
.facet-body{
  border:1px solid #E5E7EB;
  border-top:0;
  border-radius:0 0 4px 4px;
  background:#fff;
  padding:10px 12px;
}

/* lista com barra à esquerda (como no anexo) */
.filter-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-left:10px;
}

.filter-list .form-check{ cursor:pointer; }
.filter-list .count{ color:#6B7280; font-size:12px; }
.filter-accordion{
  padding-left: 15px;
}

.btn-apagar{
  color: #D6D0CF;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}
.btn-apagar:hover{
  color:  #737373;
}

.resultados{
  color: #01001C!important;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
}
/* sidebar sticky */
.filters{ position:sticky; top:130px; display:flex; flex-direction:column; gap:16px; }
@media (max-width: 991px){ .filters{ position:static; } }


/* Agrupamento de Aplicação (Solução + itens) */
.aplic-solution { margin-top: 8px; }

.aplic-solution-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  background:#F1F5F9;
  border:0;
  border-radius:4px;
  font-weight:700;
  color:#111;
}

.aplic-solution-head .chevron{
  inline-size: 18px;
  block-size: 10px;
  background: conic-gradient(from 135deg at 60% 40%, #6B7280 90deg, transparent 0) 0 0/100% 100% no-repeat;
  transform: rotate(180deg);
  transition: transform .18s ease;
}
.aplic-solution-head[aria-expanded="false"] .chevron{ transform: rotate(90deg); }

.aplic-solution-body{ padding:10px 0 0 22px; }

/* Garante que .facet-body só some se tiver hidden */
.facet-body { display: block; }
.facet-body[hidden] { display: none !important; }

.spec-info-icon {
  display:inline-flex; vertical-align:middle; margin-left:.4rem; line-height:1; cursor:help;
}
.spec-info-icon svg { display:block; }

.spec-info{ position:relative; display:inline-flex; align-items:center; margin-left:.4rem; }
.spec-info__btn{ background:none; border:0; padding:0; line-height:1; cursor:pointer; display:inline-flex; }
.spec-info__tip{
  position:absolute; top:133%;; left:0; transform:translateY(8px);
  background:#0EA5E9; color:#fff; border-radius:6px; padding:8px 10px;
  max-width:80vw; width:min(28rem, 80vw); font-size:.85rem; line-height:1.3;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .15s ease, transform .15s ease, visibility .15s;
  z-index:10;
}
.spec-info__tip::after{
  content:""; position:absolute; top:-6px; left:12px; width:10px; height:10px;
  background:#0EA5E9; transform:rotate(45deg);
}
@media (hover:hover){
  .spec-info:hover .spec-info__tip,
  .spec-info:focus-within .spec-info__tip{
    opacity:1; visibility:visible; transform:translateY(4px);
  }
}
/* estado “aberto” por clique/touch */
.spec-info--open .spec-info__tip{
  opacity:1; visibility:visible; transform:translateY(4px); pointer-events:auto;
}



