.product-detail {
  min-height: calc(100vh - 80px);
  padding: clamp(28px, 4vw, 56px) clamp(18px, 4vw, 54px);
  background: #f7f1e8;
}

.product-detail__inner {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(360px, 0.95fr);
  gap: clamp(34px, 5vw, 58px);
  align-items: start;
}

.product-detail__gallery {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 22px;
}

.product-detail__thumbs {
  display: grid;
  gap: 12px;
}

.product-detail__thumb {
  width: 128px;
  height: 128px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.product-detail__thumb.is-active {
  border-color: #171717;
}

.product-detail__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.product-detail__thumb--side img {
  object-fit: contain;
  object-position: center;
  transform: scale(1.2);
}

.product-detail__thumb--back img {
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.3);
}

.product-detail__thumb--close img {
  object-position: center 44%;
  transform: scale(1.9);
}

.product-detail__media {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
}

.product-detail__media img {
  position: relative;
  z-index: 1;
  width: min(54%, 420px);
  max-height: 88%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 28px 22px rgba(76, 55, 36, 0.18));
}

.product-detail__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #967961;
  background: #ffffff;
  border: 1px solid #d8c7b8;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(52, 37, 24, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
}

.product-detail__arrow--prev {
  left: 18px;
}

.product-detail__arrow--next {
  right: 18px;
}

.product-detail__arrow:focus-visible,
.product-detail__thumb:focus-visible {
  outline: 2px solid rgba(23, 23, 23, 0.25);
  outline-offset: 3px;
}

.product-detail__info {
  padding-top: 46px;
}

.product-detail__eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  color: #171717;
  background: #eaded2;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}

.product-detail__title {
  margin: 0;
  color: #111111;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.product-detail__accent {
  width: 38px;
  height: 3px;
  margin: 28px 0 24px;
  display: block;
  background: #967961;
}

.product-detail__description {
  max-width: 520px;
  margin: 0;
  color: #5f5852;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.7;
}

.product-detail__price {
  margin: 34px 0 30px;
  color: #111111;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}

.product-detail__features {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dccfc1;
}

.product-detail__features li {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #5f5852;
  border-bottom: 1px solid #dccfc1;
  font-size: 0.95rem;
  font-weight: 500;
}

.product-detail__features i {
  width: 28px;
  color: #a98566;
  font-size: 1.55rem;
  text-align: center;
}

.product-detail__whatsapp {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  background: #151515;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.product-detail__whatsapp i {
  font-size: 1.2rem;
}

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

  .product-detail__info {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .product-detail {
    padding: 18px 14px 34px;
  }

  .product-detail__gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .product-detail__thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-detail__thumb {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
  }

  .product-detail__media {
    min-height: 390px;
  }

  .product-detail__media img {
    width: min(68%, 270px);
  }

  .product-detail__title {
    font-size: 2rem;
  }

  .product-detail__description {
    font-size: 0.95rem;
  }

  .product-detail__whatsapp {
    min-height: 56px;
    font-size: 0.72rem;
  }
}
