/* PRODUCT DETAILS PAGE */

/* --- Breadcrumb --- */
.breadcrumb-bar {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-bar a,
.breadcrumb-bar span,
.breadcrumb-bar i {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.breadcrumb-bar a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-bar a:hover { color: var(--pink); }

.breadcrumb-bar i {
  color: var(--pink-mid);
  font-size: 0.65rem;
  margin: 0 6px;
}

.breadcrumb-bar span { color: var(--pink); }

/* PRODUCT SECTION */
.product-section { padding: 48px 0 56px; }
.gallery-wrap { position: sticky; top: 90px; }

.main-img-wrap {
  position: relative;
  background: linear-gradient(135deg, #fdf0f4 0%, #fce4ef 100%);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.main-img-wrap:hover .main-img { transform: scale(1.03); }

.img-fallback {
  font-size: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}

/* Artist / Title / Release  */
.pd-artist-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--pink);
  margin-bottom: 8px;
}

.pd-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}

/* Price  */
.pd-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pd-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.2s;
}

.pd-per {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

/* Sections */
.pd-section { margin-bottom: 24px; }

.pd-section-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

/* Version buttons  */
.version-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.version-btn {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.18s;
  line-height: 1.3;
  text-align: left;
}

.version-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-light);
}

.version-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

/* Qty */
.qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

.qty-btn {
  width: 36px; height: 36px;
  background: var(--pink-light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--pink);
  font-size: 1.1rem; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}

.qty-btn:hover {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

.qty-num {
  width: 48px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Actions  */
.pd-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.btn-cart {
  flex: 1;
  min-width: 160px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  color: var(--pink);
  background: var(--white);
  border: 2px solid var(--pink);
  border-radius: 50px;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.btn-cart:hover {
  background: var(--pink-light);
  transform: translateY(-2px);
}

.btn-order-now {
  flex: 1;
  min-width: 160px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  color: var(--white);
  background: var(--pink);
  border: none;
  border-radius: 50px;
  padding: 14px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.btn-order-now:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,122,154,0.35);
}

/* Toast */
.cart-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #edf7f0;
  border: 1.5px solid #7cc49a;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #2d6b47;
  margin-bottom: 16px;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Guarantees*/
.guarantees {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--pink-light);
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-top: 8px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}

.guarantee-item i { color: var(--pink); font-size: 1rem; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .gallery-wrap { position: static; }
}

@media (max-width: 768px) {
  .product-section { padding: 32px 0 40px; }
  .pd-actions { flex-direction: column; }
  .btn-cart, .btn-order-now { width: 100%; }
  .pd-title { font-size: 1.6rem; }
  .pd-price { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .version-btn { font-size: 0.74rem; padding: 7px 12px; }
}