/* ============== PRODUCT DETAIL PAGE — Conversion-focused ============== */

.pdp { padding: 30px 0 100px; }

/* Badges row */
.pdp-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pdp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(20, 42, 74, 0.06);
  border: 1px solid rgba(20, 42, 74, 0.12);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: #0c1e38;
}
.pdp-badge.gold {
  background: var(--gold);
  color: #0c1e38;
  border-color: var(--gold);
}

/* Rating row */
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 14px;
}
.pdp-rating .stars {
  color: var(--gold);
  letter-spacing: 0.06em;
  font-size: 16px;
}
.pdp-rating .rating-text {
  font-size: 13px;
  color: #4a4434;
  font-weight: 500;
}

/* Stone meaning chips */
.pdp-meaning {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
}
.pdp-meaning span {
  font-size: 10px;
  padding: 7px 14px;
  background: rgba(196, 96, 74, 0.1);
  color: var(--coral);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(196, 96, 74, 0.25);
}

/* Price row */
.pdp-price-row {
  margin: 24px 0 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pdp-price {
  font-size: 32px !important;
  font-family: var(--serif);
  color: #0c1e38;
  margin: 0 0 6px !important;
  font-weight: 500;
}
.pdp-price .old {
  text-decoration: line-through;
  color: #8a8273;
  margin-right: 14px;
  font-size: 18px;
  font-weight: 400;
}
.pdp-savings {
  font-size: 13px;
  color: var(--coral);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Tagline */
.pdp-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: #4a4434;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 480px;
}

/* Options stronger */
.pdp-options { margin: 0 0 32px; }
.pdp-options h4 {
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.swatch {
  padding: 13px 22px;
  border: 1.5px solid rgba(20, 42, 74, 0.15);
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
  font-weight: 600;
  color: #0c1e38;
  background: var(--bg-soft);
  text-transform: uppercase;
}
.swatch:hover { border-color: var(--coral); color: var(--coral); }
.swatch.active {
  border-color: #0c1e38;
  background: #0c1e38;
  color: #fff;
}

/* CTA — bigger, stronger */
.pdp-cta {
  display: flex;
  gap: 10px;
  margin: 28px 0 14px;
  align-items: stretch;
}
.qty-input {
  display: flex;
  border: 1.5px solid rgba(20, 42, 74, 0.2);
  background: var(--bg-soft);
  align-items: center;
}
.qty-input button {
  padding: 0 18px;
  height: 100%;
  font-size: 18px;
  color: #0c1e38;
  font-weight: 600;
  background: transparent;
}
.qty-input button:hover { background: rgba(20, 42, 74, 0.04); }
.qty-input input {
  width: 50px;
  height: 100%;
  background: transparent;
  border: none;
  color: #0c1e38;
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
}

.pdp-add-to-bag {
  flex: 1;
  padding: 19px 28px !important;
  font-size: 12px !important;
  letter-spacing: 0.36em !important;
  font-weight: 700 !important;
  background: #0c1e38 !important;
  color: #fff !important;
  border: 1.5px solid #0c1e38 !important;
  justify-content: center;
}
.pdp-add-to-bag::before { background: var(--coral) !important; }
.pdp-add-to-bag:hover { color: #fff !important; }

/* Wishlist */
.pdp-wishlist {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #0c1e38;
  font-weight: 600;
  padding: 10px 0;
  border: none;
  background: transparent;
  margin-top: 4px;
  cursor: pointer;
}
.pdp-wishlist:hover { color: var(--coral); }
.pdp-wishlist svg { stroke: currentColor; }

/* Stock indicator */
.pdp-stock {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 24px;
  padding: 14px 18px;
  background: rgba(196, 96, 74, 0.07);
  border-left: 3px solid var(--coral);
  font-size: 13.5px;
  color: #0c1e38;
  font-weight: 500;
}
.pdp-stock strong { color: var(--coral); margin-right: 4px; }
.stock-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #2a8b5f;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(42, 139, 95, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(42, 139, 95, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(42, 139, 95, 0); }
}

/* Trust grid */
.pdp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pdp-trust .feature { display: flex; gap: 14px; align-items: flex-start; }
.pdp-trust .feature span {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--coral);
  color: var(--coral);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.pdp-trust .feature strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  color: #0c1e38;
  margin-bottom: 4px;
  font-weight: 500;
}
.pdp-trust .feature p {
  font-size: 12.5px;
  color: #4a4434;
  line-height: 1.5;
  margin: 0;
}

/* Private viewing link */
.pdp-private-link {
  display: block;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #4a4434;
  font-style: italic;
  font-family: var(--serif);
}
.pdp-private-link:hover { color: var(--coral); opacity: 1; }

/* Gallery */
.pdp-main {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-warm);
  overflow: hidden;
  cursor: zoom-in;
}
.pdp-zoom-hint {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #0c1e38;
  padding: 7px 14px;
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
  border: 1px solid var(--line);
}
.pdp-thumb { aspect-ratio: 1; cursor: pointer; }

/* DETAILS TABS */
.pdp-details {
  margin-top: 90px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}
.pdp-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.pdp-tabs .tab {
  padding: 16px 28px 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: #4a4434;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.pdp-tabs .tab:hover { color: #0c1e38; }
.pdp-tabs .tab.active {
  color: var(--coral);
  border-bottom-color: var(--coral);
}
.pdp-tab-content {
  display: none;
  max-width: 800px;
  padding: 12px 0 12px;
}
.pdp-tab-content.active { display: block; }
.pdp-tab-content h3 {
  font-size: 28px;
  color: #0c1e38;
  margin-bottom: 18px;
  font-weight: 400;
}
.pdp-tab-content h3 em { color: var(--coral); font-weight: 500; }
.pdp-tab-content p {
  color: #4a4434;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 16px;
}
.pdp-tab-content p strong {
  color: #0c1e38;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.materials-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.materials-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.materials-list li:last-child { border-bottom: none; }
.materials-list li strong {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
}
.materials-list li span {
  font-size: 15px;
  color: #4a4434;
  line-height: 1.65;
}

/* TESTIMONIAL block (PDP-specific) */
.pdp-testimonial {
  background: var(--bg-warm);
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pdp-testimonial-quote .stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: inline-block;
}
.pdp-testimonial-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  line-height: 1.55;
  color: #0c1e38;
  max-width: 760px;
  margin: 0 auto 22px;
  font-weight: 400;
}
.pdp-testimonial-quote cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
}

/* STICKY MOBILE ADD-TO-BAG */
.pdp-sticky-atc {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 252, 244, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 12px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.pdp-sticky-atc.visible { transform: translateY(0); }
.pdp-sticky-info { flex: 1; min-width: 0; }
.pdp-sticky-name {
  font-family: var(--serif);
  font-size: 14px;
  color: #0c1e38;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdp-sticky-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--coral);
  font-weight: 600;
}
.pdp-sticky-btn {
  flex-shrink: 0;
  padding: 14px 20px !important;
  font-size: 10px !important;
  letter-spacing: 0.28em !important;
}

/* ============== MOBILE PDP ============== */
@media (max-width: 760px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp-info { padding-top: 0; }
  .pdp-badges { gap: 6px; }
  .pdp-badge { padding: 5px 10px; font-size: 9px; letter-spacing: 0.2em; }
  .pdp-rating { gap: 10px; }
  .pdp-rating .stars { font-size: 14px; }
  .pdp-rating .rating-text { font-size: 12px; }
  .pdp-meaning { gap: 6px; margin: 14px 0 18px; }
  .pdp-meaning span { font-size: 9px; padding: 6px 11px; letter-spacing: 0.28em; }
  .pdp-price-row { padding: 16px 0; margin: 18px 0; }
  .pdp-price { font-size: 24px !important; }
  .pdp-price .old { font-size: 14px; margin-right: 10px; }
  .pdp-savings { font-size: 12px; }
  .pdp-tagline { font-size: 14.5px; margin-bottom: 24px; }
  .swatch { padding: 11px 16px; font-size: 11px; letter-spacing: 0.14em; }
  .pdp-cta { flex-direction: row; gap: 8px; }
  .qty-input button { padding: 0 12px; }
  .qty-input input { width: 40px; font-size: 16px; }
  .pdp-add-to-bag {
    padding: 16px 18px !important;
    font-size: 10px !important;
    letter-spacing: 0.24em !important;
  }
  .pdp-stock { padding: 12px 14px; font-size: 12.5px; gap: 8px; }
  .pdp-trust { grid-template-columns: 1fr; gap: 14px; padding-top: 22px; margin-top: 22px; }
  .pdp-trust .feature span { width: 32px; height: 32px; }
  .pdp-trust .feature strong { font-size: 14.5px; }
  .pdp-trust .feature p { font-size: 12px; }

  .pdp-details { margin-top: 60px; padding-top: 50px; }
  .pdp-tabs { gap: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0; }
  .pdp-tabs .tab { padding: 14px 16px 12px; font-size: 9.5px; letter-spacing: 0.24em; flex-shrink: 0; }
  .pdp-tab-content h3 { font-size: 22px; }
  .pdp-tab-content p { font-size: 14.5px; }
  .materials-list li { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .materials-list li span { font-size: 13.5px; }

  .pdp-testimonial { padding: 60px 20px; }
  .pdp-testimonial-quote p { font-size: 1.1rem; }

  .pdp-sticky-atc { display: flex; }
  body { padding-bottom: 80px; }
}

@media (max-width: 380px) {
  .pdp-cta { flex-wrap: wrap; }
  .qty-input { width: 100%; justify-content: center; height: 50px; }
  .pdp-add-to-bag { width: 100%; }
}
