/* =========================================================
   MARWA NUTRACEUTICALS — PRODUCT DETAIL PAGE (AWWWARDS)
========================================================= */

/* PDP Layout */
.pdp-wrapper {
  padding: 150px 5% 100px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Ensure PDP content is visible immediately without relying on scroll */
.pdp-wrapper .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.breadcrumb {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 50px;
}
.breadcrumb a { color: var(--accent-gold); transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--text-light); }

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

/* Gallery */
.pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pdp-main-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.pdp-main-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s var(--ease);
}
.pdp-main-image:hover img {
  transform: scale(1.02);
}
.pdp-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pdp-thumb {
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease), border 0.3s var(--ease);
  border: 1px solid transparent;
}
.pdp-thumb.active, .pdp-thumb:hover {
  opacity: 1;
  border-color: var(--accent-gold);
}
.pdp-thumb img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
}

/* Product Info */
.pdp-info {
  display: flex;
  flex-direction: column;
}
.pdp-category {
  font-size: 12px;
  color: var(--accent-mint);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
}
.pdp-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 400;
}
.pdp-rating {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 30px; font-size: 14px; color: var(--accent-gold);
}
.pdp-rating span { color: var(--text-dim); }

.pdp-price-wrap {
  display: flex; align-items: center; gap: 15px;
  margin-bottom: 30px;
}
.pdp-price {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--text-light);
}
.pdp-price del {
  font-size: 20px;
  color: var(--text-dim);
}
.pdp-sale-badge {
  background: var(--accent-green);
  color: var(--bg-dark);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
}

.pdp-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 40px;
}

.pdp-stock {
  font-size: 13px;
  color: var(--accent-mint);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.pdp-stock::before {
  content: ''; display: inline-block; width: 8px; height: 8px;
  background: var(--accent-mint); border-radius: 50%;
}

/* Actions */
.pdp-actions {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 15px;
  margin-bottom: 15px;
}
.pdp-qty {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 0 15px; height: 60px;
}
.pdp-qty button {
  color: var(--text-light); font-size: 18px; width: 30px; text-align: center;
}
.pdp-qty input {
  width: 40px; text-align: center;
  background: transparent; border: none; color: var(--text-light);
  font-size: 16px; font-weight: 500; outline: none;
}
.pdp-btn-cart {
  background: var(--accent-gold);
  color: var(--bg-dark);
  border: none;
  border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pdp-btn-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(203, 163, 101, 0.2);
}
.pdp-btn-buy {
  width: 100%; height: 60px;
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 40px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pdp-btn-buy:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--text-light);
}

/* Trust Points */
.pdp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.pdp-trust-item {
  display: flex; align-items: center; gap: 15px;
}
.pdp-trust-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-gold);
}
.pdp-trust-text {
  font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim);
}

/* Accordions */
.pdp-accordions {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.accordion-header {
  width: 100%; text-align: left;
  padding: 25px 0;
  font-size: 14px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-light);
}
.accordion-header::after {
  content: '+'; font-size: 20px; font-weight: 300; transition: transform 0.3s var(--ease);
}
.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}
.accordion-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.accordion-item.active .accordion-content {
  max-height: 500px;
}
.accordion-content p {
  padding-bottom: 25px;
  font-size: 15px; color: var(--text-dim); line-height: 1.8;
}

/* Reviews Section */
.pdp-reviews-section {
  padding: 100px 5%;
  background: var(--bg-panel);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.reviews-header {
  text-align: center; margin-bottom: 60px;
}
.reviews-header h2 {
  font-family: var(--font-serif); font-size: 40px; font-weight: 400; margin-bottom: 15px;
}
.reviews-empty {
  text-align: center; padding: 60px;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 20px;
}
.reviews-empty p {
  font-size: 16px; color: var(--text-dim); margin-bottom: 20px;
}

/* Toast Animation */
.pdp-toast {
  position: fixed; bottom: 30px; right: 30px;
  background: var(--accent-green); color: var(--bg-dark);
  padding: 20px 40px; border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  transform: translateY(100px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  z-index: 1000;
}
.pdp-toast.show {
  transform: translateY(0); opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 40px; }
  .pdp-thumbnails { gap: 10px; }
  .pdp-thumb { height: 80px; }
  .pdp-title { font-size: 32px; }
  .pdp-actions { grid-template-columns: 120px 1fr; gap: 15px; }
  .pdp-qty { margin-bottom: 0; }
}
