/* SIC PDP — 4 vídeos de quem já usa v7
   SÓ PRÉVIA até o Samuel aprovar. Não publicar.
   Posição: fim da coluna de compra, logo após .sic-leve (selos/garantias),
   antes da descrição. Não edita product-form.tpl nem layout.tpl.
   Padding da faixa preta (medido 25/11/2026, viewport 390, ao vivo v6):
     ANTES: padding 50px 0 → vão de 50px acima do título e 50px abaixo dos cards.
     A causa é só .sic-pdp-videos; wrap e ancestrais do tema têm fundo transparente.
     DEPOIS: padding 16px 0 20px (proporção Prohall: .pso-ugc--reels tem 16px no topo
     e 0 embaixo; Samuel pediu 16–20 em cima e ~20 embaixo).
   Cards 3/4, raio 12, gap 12; 2 visíveis na coluna de compra (mais estreita que a faixa v4).
   Autoplay mudo nos cards: ver sic-pdp-videos-v7.js.
   Citações ficam fora desta faixa, no fundo claro, com divisor fino. */

html body.template-product .sic-pdp-videos{
  background:#000;
  color:#f2f2f2;
  padding:16px 0 20px;
  border:none;
  border-bottom:none;
  box-sizing:border-box;
  position:relative;
  left:0;
  margin:20px 0 0;
  width:100%;
  max-width:none;
}
html body.template-product .sic-pdp-videos__wrap{
  width:100%;
  max-width:none;
  padding:0 10px;
  box-sizing:border-box;
}
@media (min-width:1025px){
  html body.template-product .sic-pdp-videos__wrap{padding:0;}
}

html body.template-product .sic-pdp-videos__header{
  margin:0;
  padding:0;
  background:none;
}
html body.template-product .sic-pdp-videos__carousel{
  margin-top:12px;
}
html body.template-product .sic-pdp-videos__kicker,
html body.template-product .sic-pdp-videos__title{
  font-family:inherit;
  margin:0;
  padding:0;
  background:none !important;
  text-align:left;
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  text-indent:0 !important;
}
html body.template-product .sic-pdp-videos__kicker{
  font-size:15px !important;
  font-weight:600 !important;
  line-height:28px !important;
  letter-spacing:0.28px;
  color:#f2f2f2 !important;
  -webkit-text-fill-color:#f2f2f2 !important;
}
html body.template-product .sic-pdp-videos__title{
  font-size:14px !important;
  font-weight:400 !important;
  line-height:22px !important;
  letter-spacing:0.28px;
  color:#a8a8a8 !important;
  -webkit-text-fill-color:#a8a8a8 !important;
}

html body.template-product .sic-pdp-videos__carousel{position:relative;}
html body.template-product .sic-pdp-videos__track{
  display:flex;
  gap:12px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding-bottom:4px;
}
html body.template-product .sic-pdp-videos__track::-webkit-scrollbar{display:none;}

html body.template-product .sic-pdp-videos__card{
  position:relative;
  flex:0 0 calc((100% - 12px) / 2);
  aspect-ratio:3 / 4;
  border-radius:12px;
  overflow:hidden;
  border:none;
  padding:0;
  margin:0;
  cursor:pointer;
  background:#111;
  scroll-snap-align:start;
  appearance:none;
  -webkit-appearance:none;
  color:inherit;
  font:inherit;
}
/* Na coluna de compra (v7) cabem 2 cards com bom tamanho; 3 ficavam miúdos. */
@media (min-width:1025px){
  html body.template-product .sic-pdp-videos__card{
    flex:0 0 calc((100% - 12px) / 2);
  }
}

html body.template-product .sic-pdp-videos__poster,
html body.template-product .sic-pdp-videos__card img,
html body.template-product .sic-pdp-videos__card video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  pointer-events:none;
  margin:0;
}
html body.template-product .sic-pdp-videos__card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%);
  pointer-events:none;
}

/* play central, escuro translúcido (Prohall PDP: 46×46) */
html body.template-product .sic-pdp-videos__play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:46px;
  height:46px;
  border-radius:50%;
  background:rgba(0,0,0,.5);
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  pointer-events:none;
}
html body.template-product .sic-pdp-videos__play svg{
  width:20px;
  height:20px;
  fill:#fff;
  stroke:none;
  margin-left:2px;
}

html body.template-product .sic-pdp-videos__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid #e6e6e6;
  background:#fff;
  color:#232323;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 2px 10px rgba(0,0,0,.15);
  transition:opacity .15s;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
}
html body.template-product .sic-pdp-videos__arrow svg{width:13px;height:13px;fill:currentColor;}
html body.template-product .sic-pdp-videos__arrow--prev{left:6px;}
html body.template-product .sic-pdp-videos__arrow--next{right:6px;}
@media (min-width:1025px){
  html body.template-product .sic-pdp-videos__arrow--prev{left:6px;}
  html body.template-product .sic-pdp-videos__arrow--next{right:6px;}
}
html body.template-product .sic-pdp-videos__arrow--prev svg{transform:scaleX(-1);}
html body.template-product .sic-pdp-videos__arrow[disabled]{opacity:0;pointer-events:none;}
html body.template-product .sic-pdp-videos__arrow:hover{opacity:.92;}

html body .sic-pdp-videos-modal{
  position:fixed;
  inset:0;
  z-index:2147483000;
  background:rgba(0,0,0,.94);
  display:none;
  opacity:0;
  transition:opacity .25s ease;
  --sicv-w:min(94vw, calc(82vh * 9 / 16));
}
html body .sic-pdp-videos-modal.is-open{display:block;opacity:1;}
html body.sic-pdp-videos-lock{overflow:hidden !important;}

html body .sic-pdp-videos-modal__close,
html body .sic-pdp-videos-modal__nav{
  position:absolute;
  z-index:6;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.15);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
}
html body .sic-pdp-videos-modal__close{
  top:14px;right:14px;width:42px;height:42px;
}
html body .sic-pdp-videos-modal__close svg{width:20px;height:20px;}
html body .sic-pdp-videos-modal__nav{
  top:50%;transform:translateY(-50%);width:44px;height:44px;display:none;
}
html body .sic-pdp-videos-modal__nav svg{width:14px;height:14px;fill:currentColor;}
html body .sic-pdp-videos-modal__nav--prev{left:24px;}
html body .sic-pdp-videos-modal__nav--next{right:24px;}
html body .sic-pdp-videos-modal__nav--prev svg{transform:scaleX(-1);}
html body .sic-pdp-videos-modal__nav[disabled]{opacity:.25;pointer-events:none;}
@media (min-width:768px){
  html body .sic-pdp-videos-modal__nav{display:flex;}
}
html body .sic-pdp-videos-modal__stage{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
}
html body .sic-pdp-videos-modal__stage video{
  width:var(--sicv-w);
  height:auto;
  max-height:82vh;
  object-fit:contain;
  background:#000;
  border-radius:14px;
}
