.breadcrumb {
  padding: 24px 0 10px;
  color: #7a7e85;
  font-size: 12px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr);
  gap: 42px;
  align-items: start;
  padding: 16px 0 34px;
}

/* Galeria de fotos em formato de carrossel */
.gallery {
  min-width: 0;
}

.carousel-stage {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(20, 22, 25, 0.05);
}

.gallery-card {
  display: none;
  min-height: 590px;
  margin: 0;
  padding: 28px 54px 52px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: carouselFade 0.25s ease;
}

.gallery-card.is-active {
  display: flex;
}

.gallery-card img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-card figcaption {
  position: absolute;
  right: 70px;
  bottom: 18px;
  left: 70px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dde0e4;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #17181b;
  cursor: pointer;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(20, 22, 25, 0.12);
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
  left: 16px;
}

.carousel-arrow.next {
  right: 16px;
}

.carousel-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #555a61;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(20, 22, 25, 0.08);
}

.carousel-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.carousel-thumb {
  min-width: 0;
  height: 112px;
  padding: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(20, 22, 25, 0.08);
}

.carousel-thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(212, 163, 0, 0.14);
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

@keyframes carouselFade {
  from {
    opacity: 0.35;
    transform: translateX(8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.product-info {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 12px 35px rgba(20,22,25,.06);
}

.product-kicker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.product-info h1 {
  font-size: 30px;
  line-height: 1.13;
  letter-spacing: -.9px;
  margin: 8px 0;
}

.rating-row {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.price-box {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.price-box .price {
  font-size: 34px;
}

.mini-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.mini-specs span {
  font-size: 11px;
  font-weight: 800;
  background: #f5f6f7;
  padding: 7px 9px;
  border-radius: 9px;
}

.buy-form {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  margin: 18px 0;
}

.buy-form label {
  grid-column: 1/-1;
  font-size: 12px;
  font-weight: 900;
}

.buy-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.buy-actions {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spec-box {
  margin-top: 18px;
  background: #f7f8f8;
  border-radius: 14px;
  padding: 16px;
}

.spec-box h3 {
  font-size: 14px;
  margin: 0 0 10px;
}

.spec-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.spec-list li {
  font-size: 12px;
  color: #555a61;
  padding: 6px 0;
  border-bottom: 1px solid #e7e8ea;
}

.spec-list li:last-child {
  border-bottom: 0;
}

.content-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.content-card h2 {
  margin-top: 0;
  font-size: 19px;
}

.content-card p {
  color: #5e6269;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}

.nutrition-grid img {
  height: 340px;
  width: 100%;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
}

@media (max-width:950px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
  }

  .gallery-card {
    min-height: 500px;
  }

  .gallery-card img {
    height: 410px;
  }
}

@media (max-width:650px) {
  .gallery-card {
    min-height: 400px;
    padding: 20px 44px 48px;
  }

  .gallery-card img {
    height: 320px;
  }

  .gallery-card figcaption {
    right: 54px;
    left: 54px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }

  .carousel-thumbnails {
    gap: 7px;
  }

  .carousel-thumb {
    height: 78px;
    padding: 5px;
    border-radius: 11px;
  }

  .product-info {
    padding: 19px;
  }

  .product-info h1 {
    font-size: 25px;
  }

  .content-sections {
    grid-template-columns: 1fr;
  }

  .buy-actions {
    grid-template-columns: 1fr;
  }
}

/* Categoria relacionada sem duplicar outros produtos dentro do HTML individual. */
.related-category-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}
.related-category-cta p {
  margin: 0;
}
@media (max-width: 680px) {
  .related-category-cta {
    align-items: stretch;
    flex-direction: column;
  }
}


/* Ajuste visual para destacar produtos claros */
.carousel-stage {
  background: #f6f7f8;
}

.gallery-card {
  background: linear-gradient(180deg, #fafafa 0%, #f1f3f5 100%);
}

.carousel-thumb {
  background: #f6f7f8;
}
