/* Product Page Styles */
.product-page {
  padding: 120px 0 80px;
}
.back-link {
  display: inline-block; margin-bottom: 40px;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: #777; transition: color 0.3s;
}
.back-link:hover { color: #111; }

.product-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}

/* Gallery Slider */
.product-gallery { position: relative; }
.product-main-img {
  background: #f5f5f5; overflow: hidden; position: relative;
  aspect-ratio: 1; /* square uniform format */
}
.slide-container {
  position: absolute; inset: 0;
}
.slide-container img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  filter: blur(4px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-container img.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 20px; color: #fff;
  transition: all 0.3s; z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.gallery-arrow:hover {
  background: rgba(255,255,255,0.45);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.gallery-arrow.prev { left: 16px; }
.gallery-arrow.next { right: 16px; }
.gallery-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px; padding: 6px 12px;
}
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer; transition: all 0.3s; border: none;
}
.gallery-dot.active {
  background: #fff; transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.gallery-thumbs {
  display: flex; gap: 8px; margin-top: 12px;
}
.gallery-thumb {
  flex: 1; aspect-ratio: 1; overflow: hidden; cursor: pointer;
  opacity: 0.4; transition: all 0.3s; border: 2px solid transparent;
  border-radius: 8px;
}
.gallery-thumb:hover { opacity: 0.7; }
.gallery-thumb.active { opacity: 1; border-color: #111; }
.gallery-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 6px;
}

/* Details */
.product-series {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: #999; margin-bottom: 8px;
}
.product-page-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 48px; font-weight: 900; margin-bottom: 4px;
  letter-spacing: 1px;
}
.product-page-type {
  font-size: 14px; color: #777; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 32px;
}
.product-page-price {
  font-family: 'Unbounded', sans-serif;
  font-size: 32px; font-weight: 700; margin-bottom: 40px;
}
.product-page-specs {
  margin-bottom: 40px;
}
.spec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}
.spec-label { color: #777; }
.spec-value { font-weight: 500; text-align: right; }

.product-buy-btn {
  width: 100%; text-align: center; padding: 18px 36px;
  font-size: 14px; margin-bottom: 24px; display: block;
}
.product-note {
  font-size: 13px; color: #999; line-height: 1.7; text-align: center;
}

@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr; gap: 32px;
  }
  .product-page-name { font-size: 36px; }
  .product-page-price { font-size: 26px; }
  .gallery-thumb { width: 56px; height: 56px; }
}
