.product-detail {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(21, 29, 40, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product-detail__shell {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  max-width: 1180px;
  min-height: calc(100vh - 4rem);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 1.8rem;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.product-detail__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(2.9rem, 7vw, 3.7rem);
  margin-bottom: 1rem;
}

.product-detail__back {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(9.5rem, 27vw, 11.6rem);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.product-detail__close {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: clamp(2.9rem, 7vw, 3.7rem);
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.product-detail__media-stack {
  width: 100%;
  min-width: 0;
}

.product-detail__media-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 560px;
}

.product-detail__media {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 1.45rem;
  overflow: hidden;
  background: #eef4fb;
}

.product-detail__media .product-card__photo {
  height: 100%;
}

.product-detail__media .product-card__photo img {
  object-fit: cover;
  object-position: center;
}

.product-detail__photo-label {
  margin: 0.85rem 0 0;
  color: #4a4037;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.product-detail__photo-size {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0.45rem 0 0;
  padding: 0.52rem 0.78rem;
  border: 1px solid rgba(218, 182, 121, 0.72);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(248, 239, 226, 0.96));
  color: #6a553a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 16px rgba(214, 184, 137, 0.18);
}

.product-detail__photo-size-icon {
  font-size: 1rem;
  color: #c89c56;
}

.product-detail__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  align-content: start;
  width: 100%;
  margin-top: 0.85rem;
}

.product-detail__thumb {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(18, 37, 58, 0.08);
}

.product-detail__thumb.is-active {
  box-shadow:
    0 0 0 2px rgba(29, 111, 184, 0.48),
    inset 0 0 0 1px rgba(29, 111, 184, 0.12);
}

.product-detail__thumb .product-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.85rem;
}

.product-detail__thumb .product-card__photo img {
  object-fit: cover;
  object-position: center;
}

.product-card__photo--matheus-policial-tight img {
  transform: scale(1.12);
  transform-origin: center;
}

.product-detail__hero-copy--mobile {
  display: none;
}

.product-detail__hero-copy--desktop {
  display: block;
}

.product-detail__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-detail__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  line-height: 0.98;
}

.product-detail__summary,
.product-detail__description {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-detail__sticky-actions {
  display: none;
}

.product-detail__sticky-share,
.product-detail__sticky-whatsapp {
  min-width: 0;
}

.product-detail__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.product-detail__cta-button:focus,
.product-detail__cta-button:active {
  outline: none;
  box-shadow: none;
}

.product-detail__cta-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(214, 184, 137, 0.34);
  border-radius: 999px;
}

.product-detail__cta-button--share {
  width: min(15.3rem, 100%);
}

.product-detail__cta-button--whatsapp {
  width: min(23.8rem, 100%);
}

.product-detail__cta-image {
  display: block;
  width: 100%;
  height: auto;
}

.product-detail__specs {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.product-detail__specs li {
  display: grid;
  grid-template-columns: 2.55rem 1fr;
  gap: 0.58rem;
  align-items: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #384047;
}

.product-detail__spec-icon {
  width: 2.1rem;
  height: 2.1rem;
  margin-top: 0.08rem;
  margin-left: -0.12rem;
  justify-self: start;
  align-self: start;
  object-fit: contain;
}

.product-detail__spec-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3e454b;
  margin-bottom: 0.14rem;
}

.product-detail__spec-value {
  display: block;
  line-height: 1.55;
}
