/* ============================================================
   NAUSHAD COSMETICS — Product Detail Page (product.html)
   ============================================================ */

.pp-wrap { padding: 32px 0 70px; }

.pp-crumb {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mute);
  margin-bottom: 20px;
}
.pp-crumb a { color: var(--ink-soft); }
.pp-crumb a:hover { color: var(--rose); }

/* ---------- Overview card ---------- */
.pp-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: 0 14px 40px rgba(216, 143, 163, 0.14);
}

@media (max-width: 860px) {
  .pp-card { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Gallery ---------- */
.pp-gallery {
  display: flex;
  gap: 14px;
}

@media (max-width: 860px) {
  .pp-gallery { flex-direction: column-reverse; }
}

.pp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
}

@media (max-width: 860px) {
  .pp-thumbs { flex-direction: row; }
}

.pp-thumb {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: linear-gradient(160deg, #f7dbe3, #fdf1f3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease;
  flex: none;
}
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb svg { width: 55%; height: 55%; color: var(--rose); }
.pp-thumb.active { border-color: var(--gold); }
.pp-thumb:hover { border-color: var(--rose); }

.pp-main-media {
  position: relative;
  flex: 1;
  aspect-ratio: 1 / 1;
  max-height: 440px;
  border-radius: 16px;
  background: linear-gradient(160deg, #f7dbe3, #fdf1f3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pp-main-media img { width: 100%; height: 100%; object-fit: cover; }
.pp-main-media > svg { width: 30%; height: 30%; color: var(--rose); }

.pp-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(58, 30, 39, 0.15);
  transition: transform 0.25s var(--transition-smooth);
}
.pp-wishlist svg { width: 20px; height: 20px; color: var(--ink-soft); transition: all 0.25s ease; }
.pp-wishlist:hover { transform: scale(1.1); }
.pp-wishlist:hover svg { color: var(--rose); }
.pp-wishlist.active svg { fill: var(--rose); stroke: var(--rose); }

/* ---------- Info column ---------- */
.pp-brand {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 6px;
}

.pp-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 14px;
}

.pp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.pp-rating-badge {
  background: var(--sage);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 8px;
}

.pp-rating-text { font-size: 0.8rem; color: var(--mute); }

.pp-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.pp-price {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
}

.pp-price-was {
  font-size: 1rem;
  color: var(--mute);
  text-decoration: line-through;
}

.pp-discount {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sage);
  background: rgba(124, 148, 115, 0.15);
  padding: 3px 9px;
  border-radius: 8px;
}

.pp-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.pp-size-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.pp-size-label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.pp-size-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--pink-dim);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 16px;
}

.pp-order-btn {
  width: 100%;
  padding: 16px 20px;
  border-radius: 28px;
  border: 1px solid var(--rose);
  background: var(--rose);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}
.pp-order-btn:hover {
  background: #c67b90;
  border-color: #c67b90;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(216, 143, 163, 0.4);
}

.pp-order-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--mute);
  margin-top: 12px;
}

/* ---------- Details / tabs card ---------- */
.pp-details-card {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 10px 30px rgba(216, 143, 163, 0.1);
}

.pp-details-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin: 0 0 18px;
  color: var(--ink);
}

.pp-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.pp-tab {
  background: none;
  border: none;
  padding: 0 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--mute);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease;
}
.pp-tab:hover { color: var(--ink-soft); }
.pp-tab.active { color: var(--rose); border-bottom-color: var(--rose); }

.pp-tab-panel { display: none; }
.pp-tab-panel.active { display: block; animation: fadeInTab 0.3s ease; }

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pp-tab-panel p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.pp-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.pp-checklist li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 800;
  flex: none;
  margin-top: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .pp-tab-panel.active { animation: none; }
}
