/* SIC 24/11/2026 (Ultron) — galeria da página de produto no estilo Prohall.
   Só em body.template-product. Escopo: .product-images / galeria + card de oferta,
   e esconder (só visual) miniaturas e breadcrumb. Não toca no header, no H1,
   no #auto-bk-star-section nem no selo de vendas (área da Karen: sic-pdp-topo-v1). */

html body.template-product{
  --sicg-fundo:#0e0e10;
  --sicg-card:#ffffff;
  --sicg-raio:22px;
  --sicg-verde:#3cbd7a;
  --sicg-btn:rgba(17,17,17,.82);
  --sicg-rosa:#ff3d8b;
  --sicg-ouro:#f2b308;
}

/* Miniaturas e breadcrumb: escondidos só no visual (o HTML e o JSON-LD BreadcrumbList continuam). */
html body.template-product .product-images .product-images-thumbs{display:none !important}
html body.template-product .product-info .breadcrumbs{display:none !important}
/* Contador "1 / 4" do tema sai (o selo de desconto ocupa o canto, como na Prohall). */
html body.template-product .product-images .js-swiper-product-pagination{display:none !important}

/* Fundo escuro atrás da galeria (flag data-fundo="escuro" no config). */
html body.template-product .product-images.sicg-escuro{
  background:var(--sicg-fundo);
}
@media (max-width:767px){
  html body.template-product #single-product > .container{padding-top:0 !important}
  html body.template-product .product-images.sicg-escuro{
    margin:0 -16px 20px !important;
    padding:16px 12px 18px;
  }
  html body.template-product .product-images:not(.sicg-escuro){padding-top:14px;margin-bottom:22px !important}
}
@media (min-width:768px){
  html body.template-product .product-images{
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  html body.template-product .product-images.sicg-escuro{
    border-radius:28px;
    padding:28px;
    align-self:flex-start;
  }
  html body.template-product .product-images .product-images-slider{
    width:100% !important;
    max-width:620px;
  }
  html body.template-product .sicg-oferta{width:100%;max-width:620px}
}

/* Card branco da galeria */
html body.template-product .product-images .product-images-slider.sicg-on{
  position:relative;
  background:var(--sicg-card);
  border-radius:var(--sicg-raio);
  overflow:hidden;
  isolation:isolate;
  margin-bottom:0 !important;
}
html body.template-product .product-images:not(.sicg-escuro) .product-images-slider.sicg-on{
  border:1px solid #ececec;
  box-shadow:0 8px 24px -16px rgba(0,0,0,.22);
}
html body.template-product .product-images-slider.sicg-on .js-swiper-product{border-radius:var(--sicg-raio)}

/* Selos */
html body.template-product .sicg-selo{
  position:absolute;
  z-index:6;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  line-height:1;
  white-space:nowrap;
  pointer-events:none;
  font-family:"Poppins","Jost",system-ui,sans-serif;
}
html body.template-product .sicg-selo--off{
  top:14px;right:14px;
  padding:7px 12px;
  background:var(--sicg-verde);
  color:#fff;
  font-size:14px;font-weight:700;letter-spacing:.02em;
}
html body.template-product .sicg-selo--clube{
  left:14px;bottom:14px;
  padding:8px 12px;
  background:#0e0e10;
  color:var(--sicg-ouro);
  font-size:12px;font-weight:800;letter-spacing:.02em;
}
html body.template-product .sicg-selo--clube svg{width:15px;height:15px;fill:currentColor;flex:none}

/* Botões redondos (setas e expandir) */
html body.template-product .sicg-btn{
  position:absolute;
  z-index:6;
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;
  padding:0;margin:0;
  border:0;border-radius:999px;
  background:var(--sicg-btn);
  color:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.25);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:opacity .2s,transform .2s;
}
html body.template-product .sicg-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
html body.template-product .sicg-btn:focus-visible{outline:2px solid var(--sicg-verde);outline-offset:2px}
html body.template-product .sicg-btn--prev{left:10px;top:50%;transform:translateY(-50%)}
html body.template-product .sicg-btn--next{right:10px;top:50%;transform:translateY(-50%)}
html body.template-product .sicg-btn[disabled]{opacity:.35;cursor:default}
html body.template-product .sicg-btn--zoom{right:14px;bottom:14px;width:40px;height:40px}
html body.template-product .sicg-btn--zoom svg{width:18px;height:18px}
@media (min-width:768px){
  html body.template-product .sicg-btn{width:42px;height:42px}
  html body.template-product .sicg-btn--prev{left:16px}
  html body.template-product .sicg-btn--next{right:16px}
  html body.template-product .sicg-btn--zoom{width:44px;height:44px;right:18px;bottom:18px}
  html body.template-product .sicg-selo--off{top:18px;right:18px;font-size:15px;padding:8px 14px}
  html body.template-product .sicg-selo--clube{left:18px;bottom:18px;font-size:13px}
}

/* Card de oferta (só com data real de fim; flag) */
html body.template-product .sicg-oferta{
  margin-top:12px;
  padding:14px 16px;
  border:1.5px solid var(--sicg-rosa);
  border-radius:16px;
  background:#141416;
  box-shadow:0 10px 24px -14px rgba(255,61,139,.55);
  color:#fff;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 12px;
  font-family:"Poppins","Jost",system-ui,sans-serif;
}
html body.template-product .sicg-oferta[hidden]{display:none !important}
html body.template-product .sicg-oferta__esq{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
html body.template-product .sicg-oferta__pilula{
  display:inline-block;padding:4px 10px;border-radius:999px;
  background:var(--sicg-rosa);color:#fff;
  font-size:11px;font-weight:800;letter-spacing:.06em;line-height:1.2;
}
html body.template-product .sicg-oferta__txt{font-size:14px;font-weight:600;color:#fff;line-height:1.2}
html body.template-product .sicg-oferta__relogio{display:flex;align-items:center;gap:4px}
html body.template-product .sicg-oferta__caixa{
  min-width:40px;padding:7px 6px;border-radius:8px;
  background:#232327;border:1px solid rgba(255,255,255,.12);
  text-align:center;font-size:18px;font-weight:800;line-height:1;
  font-variant-numeric:tabular-nums;color:#fff;
}
html body.template-product .sicg-oferta__caixa small{display:block;margin-top:3px;font-size:9px;font-weight:600;opacity:.7;letter-spacing:.04em}
html body.template-product .sicg-oferta__dois{font-weight:800;color:var(--sicg-rosa)}

/* Palco quadrado como na Prohall: todas as fotos no mesmo quadro (as em pé ficam inteiras, sem corte). */
html body.template-product .product-images-slider.sicg-on .js-product-slide-link{padding-bottom:100% !important}
html body.template-product .product-images-slider.sicg-on .js-product-slide-img{
  top:0 !important;left:0 !important;right:0 !important;bottom:0 !important;
  width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;
  transform:none !important;object-fit:contain;
}
