/* =========================================================================
   Pagina de produto — topo proprio (preco do catalogo) + conteudo do espelho
   ========================================================================= */

.gs-product-page {
  background: #fff;
}

/* ---------- breadcrumb ---------- */

.gs-breadcrumb {
  background: #e8e8e8;
  color: #595959;
  font-size: 13px;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.gs-breadcrumb__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1272px;
  padding: 10px 24px;
}

.gs-breadcrumb a {
  color: #595959;
  text-decoration: none;
}

.gs-breadcrumb a:hover {
  color: #137dae;
  text-decoration: underline;
}

.gs-breadcrumb__sep {
  color: #999;
}

.gs-breadcrumb [aria-current="page"] {
  color: #111;
  font-weight: 600;
}

/* ---------- topo ---------- */

.gs-product-hero {
  align-items: flex-start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 380px;
  margin: 0 auto;
  max-width: 1272px;
  padding: 44px 24px 56px;
}

.gs-product-hero__media {
  align-items: center;
  background: #f6f6f6;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  min-height: 420px;
  padding: 24px;
}

.gs-product-hero__stage {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 340px;
  width: 100%;
}

.gs-product-hero__media img {
  display: block;
  height: auto;
  max-height: 480px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.gs-product-hero__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.gs-product-hero__thumb {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  height: 62px;
  overflow: hidden;
  padding: 2px;
  width: 62px;
}

.gs-product-hero__thumb img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.gs-product-hero__thumb:hover,
.gs-product-hero__thumb.is-active {
  border-color: #00a000;
}

.gs-product-hero__info {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gs-product-hero__title {
  color: #16181d;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.gs-product-hero__old {
  color: #777;
  font-size: 14px;
  margin: 0;
}

.gs-product-hero__old s {
  color: #999;
}

.gs-product-hero__discount {
  background: #00a000;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-left: 6px;
  padding: 2px 6px;
}

.gs-product-hero__price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gs-product-hero__value {
  color: #00a000;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1;
}

.gs-product-hero__each {
  color: #555;
  font-size: 14px;
}

.gs-product-hero__pix {
  color: #333;
  flex: 1 0 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.gs-product-hero__installments {
  color: #444;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.gs-product-hero__buy {
  background: #00a000;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .6px;
  margin-top: 12px;
  padding: 16px 24px;
  text-transform: uppercase;
  transition: background .2s ease, transform .1s ease;
  width: 100%;
}

.gs-product-hero__buy:hover:not(:disabled) {
  background: #008a00;
}

.gs-product-hero__buy:active:not(:disabled) {
  transform: translateY(1px);
}

.gs-product-hero__buy:disabled {
  background: #9e9e9e;
  cursor: not-allowed;
}

.gs-product-hero__stock {
  color: #008a00;
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0 0;
}

.gs-product-hero__stock::before {
  content: "✓";
  margin-right: 6px;
}

.gs-product-hero__stock--off {
  color: #b00020;
}

.gs-product-hero__stock--off::before {
  content: "!";
}

.gs-product-hero__ship {
  color: #666;
  font-size: 13px;
  margin: 2px 0 0;
}

/* ---------- conteudo vindo do espelho ---------- */

.gs-product-content {
  clear: both;
  overflow-x: clip;
}

.gs-product-content img,
.gs-product-content video,
.gs-product-content iframe {
  height: auto;
  max-width: 100%;
}

.gs-product-content section,
.gs-product-content .weContainer,
.gs-product-content [class*="container"] {
  max-width: 100%;
}

.gs-product-content .texto-lista,
.gs-product-content .texto-lista * {
  overflow-wrap: break-word;
  word-break: normal;
}

.gs-product-content p,
.gs-product-content li {
  overflow-wrap: break-word;
}

/* Restos de widgets que dependiam do JavaScript original. */
.gs-product-content .btFavorito,
.gs-product-content .attrSimples,
.gs-product-content .attrUnico,
.gs-product-content .botao-compra,
.gs-product-content .vfr__container,
.gs-product-content #sizebay-container,
.gs-product-content .gpontos,
.gs-product-content .szb-vfr-btns,
.gs-product-content .pop-formas-pagamento-fundo,
.gs-product-content .parcelasOcultas {
  display: none !important;
}

/* ---------- mobile ---------- */

@media (max-width: 991.98px) {
  .gs-product-hero {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 16px 32px;
  }

  .gs-product-hero__media {
    min-height: 0;
    padding: 14px;
  }

  .gs-product-hero__stage {
    min-height: 0;
  }

  .gs-product-hero__media img {
    max-height: 300px;
  }

  .gs-product-hero__thumbs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    width: 100%;
  }

  .gs-product-hero__thumb {
    flex: 0 0 auto;
    height: 56px;
    width: 56px;
  }

  .gs-product-hero__title {
    font-size: 20px;
  }

  .gs-product-hero__value {
    font-size: 32px;
  }

  .gs-breadcrumb__inner {
    padding: 8px 16px;
    font-size: 11px;
  }
}
