/* product detail page */
.product-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: "Inter";
  color: var(--dark-text);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.3s ease;
}

.product-back:hover {
  color: var(--black-text);
}

.product-back i {
  font-size: 11px;
}

/* layout */
.product-section {
  display: flex;
  gap: 96px;
  align-items: flex-start;
}

.product-gallery {
  flex: 0 0 55%;
}

.product-info {
  flex: 1;
  padding-top: 8px;
}

/* main image */
.product-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 16px;
  cursor: zoom-in;
}

.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.7s ease;
}

.product-main-img:hover img {
  transform: scale(1);
}

/* thumbnails */
.product-thumbs {
  display: flex;
  gap: 12px;
}

.product-thumb {
  width: 80px;
  height: 80px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--black-text);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* breadcrumb */
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.product-breadcrumb a,
.product-breadcrumb span {
  font-size: 12px;
  font-family: "Inter";
  color: var(--dark-text);
  text-decoration: none;
}

.product-breadcrumb .current {
  color: var(--black-text);
}

.product-breadcrumb .sep {
  color: var(--dark-text);
}

/* title */
.product-title {
  font-family: "Playfair Display";
  color: var(--black-text);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: 36px;
}

/* meta */
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.product-meta p {
  font-size: 14px;
  font-family: "Inter";
  color: var(--dark-text);
  line-height: 1.6;
}

/* status badge */
.product-status {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(45, 45, 45, 0.2);
  font-size: 13px;
  font-family: "Inter";
  background-color: rgba(201, 169, 97, 0.1);
  color: #c9a961;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  border: none;
}

/* price */
.product-price {
  font-size: 28px;
  font-family: "Inter";
  color: var(--black-text);
  font-weight: 400;
  margin-bottom: 20px;
}

/* buttons */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.product-btn-inquire {
  display: block;
  width: 100%;
  padding: 14px 32px;
  background-color: var(--black-text);
  color: var(--white-text);
  font-family: "Inter";
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1.5;
  transition: opacity 0.3s ease;
}

.product-btn-inquire:hover {
  opacity: 0.8;
}

.product-btn-purchase {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: transparent;
  color: var(--black-text);
  font-family: "Inter";
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(45, 45, 45, 0.2);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.product-btn-purchase:hover {
  border-color: var(--black-text);
}

/* description */
.product-description {
  font-size: 15px;
  font-family: "Inter";
  color: var(--secondary-color);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* collection link */
.product-collection-link {
  font-size: 13px;
  font-family: "Inter";
  color: var(--black-text);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.product-collection-link:hover {
  /* opacity: 0.6; */
  color: #c9a961;
}
.product-main-img {
  overflow: hidden;
  cursor: crosshair;
}
#mainImg {
  transform: scale(1);
  transition: transform 0.2s ease;
}
/* responsive */
@media (max-width: 768px) {
  .product-section {
    flex-direction: column;
    gap: 32px;
  }

  .product-gallery {
    flex: none;
    width: 100%;
  }

  .product-thumb {
    width: 64px;
    height: 64px;
  }
}
