/* Product Details Page Styles */

/* Light Theme Overrides */
body.light-theme {
  background: var(--cream, #F7F2E8);
  color: var(--primary);
}

.breadcrumbs {
  padding: 130px 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: rgba(7, 27, 17, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: rgba(7, 27, 17, 0.8);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--terracotta);
}

.pdp-container {
  padding: 20px 40px 100px;
  max-width: 1280px;
  margin: 0 auto;
}

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

/* Gallery */
.pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.pdp-main-image-container {
  width: 100%;
  aspect-ratio: 4/5;
  background: #fcfcfc;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pdp-main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.pdp-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.pdp-thumbnail {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.pdp-thumbnail:hover {
  opacity: 0.9;
}

.pdp-thumbnail.active {
  opacity: 1;
  border-color: var(--gold);
}

/* Product Info */
.pdp-info {
  padding-top: 20px;
}

.pdp-info .stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-count {
  color: rgba(7, 27, 17, 0.5);
  font-size: 0.85rem;
  letter-spacing: normal;
  font-family: 'Inter', sans-serif;
}

.pdp-title {
  color: var(--primary);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.pdp-subtitle {
  color: var(--terracotta);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.pdp-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.pdp-price .mrp {
  font-size: 1.1rem;
  color: rgba(7, 27, 17, 0.4);
  text-decoration: line-through;
  font-weight: 400;
}

.pdp-description {
  color: rgba(7, 27, 17, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.pdp-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.pdp-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
}

.pdp-features li svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.pdp-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.qty-selector {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
}

.pdp-add-cart {
  flex: 1;
  padding: 18px;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  cursor: pointer;
}

.pdp-add-cart:hover {
  background: var(--gold);
  color: var(--primary);
}

.pdp-buy-now {
  width: 100%;
  padding: 18px;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pdp-buy-now:hover {
  background: var(--terracotta);
  color: white;
}

/* Wishlist Button Overlay */
.wishlist-overlay-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  z-index: 10;
}

.wishlist-overlay-btn:hover {
  transform: scale(1.1);
  color: #ff4747;
}

.wishlist-overlay-btn.active {
  color: #ff4747;
}

.wishlist-overlay-btn.active svg {
  fill: #ff4747;
}

/* Responsive */
@media (max-width: 900px) {
  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pdp-gallery {
    position: static;
  }
}
