/* ============================================================
   CLAWC — PRODUCT DETAIL PREVIEW (PDP) STYLES
   ============================================================ */

.pdp-page-body {
  background: var(--void, #0a0908);
  color: var(--bone, #ece6e1);
  min-height: 100vh;
  padding-top: 72px;
}

/* Ensure PDP Nav always has a solid dark luxury backdrop */
.pdp-page-body .nav {
  background: rgba(10, 9, 8, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--hairline-blush, rgba(201, 138, 154, 0.25)) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Top Breadcrumb Bar */
.pdp-top-bar {
  margin-top: 76px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(232, 196, 204, 0.12);
  margin-bottom: 28px;
}

.pdp-breadcrumb {
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--bone-dim, #a69e97);
  text-transform: uppercase;
}

.pdp-breadcrumb a {
  color: var(--bone-dim, #a69e97);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pdp-breadcrumb a:hover {
  color: var(--pale-pink, #e8c4cc);
}

.pdp-breadcrumb span {
  color: var(--pale-pink, #e8c4cc);
}

.pdp-return-link {
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush-soft, #c98a9a);
  text-decoration: none;
  border: 1px solid rgba(232, 196, 204, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  transition: all 0.25s ease;
}

.pdp-return-link:hover {
  background: rgba(232, 196, 204, 0.1);
  color: var(--pale-pink, #e8c4cc);
  border-color: var(--pale-pink, #e8c4cc);
}

/* PDP 2-Column Layout */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
  padding-bottom: 90px;
}

/* Left Column: Media */
.pdp-media-col {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pdp-stage-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #141114;
  border: 1px solid var(--hairline-blush, rgba(201,138,154,0.3));
  box-shadow: 0 20px 60px rgba(0,0,0,0.85), 0 0 35px rgba(232, 196, 204, 0.12);
}

.pdp-main-art {
  width: 100%;
  height: 100%;
  position: relative;
}

.pdp-main-art .frame__art {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.6s cubic-bezier(.22,.61,.24,1);
}

.pdp-stage-frame:hover .frame__art {
  transform: scale(1.02);
}

.pdp-frame-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 5;
  pointer-events: none;
}

.pdp-frame-corner.tl {
  top: 10px;
  left: 10px;
}

.pdp-frame-corner.br {
  bottom: 10px;
  right: 10px;
  transform: rotate(180deg);
}

.pdp-badge-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  background: rgba(14, 12, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 196, 204, 0.3);
  color: var(--pale-pink, #e8c4cc);
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.pdp-thumb-tray {
  display: flex;
  gap: 12px;
}

.pdp-thumb-btn {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(232, 196, 204, 0.2);
  background: #141114;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.pdp-thumb-btn.is-active {
  border-color: var(--pale-pink, #e8c4cc);
  box-shadow: 0 0 14px rgba(232, 196, 204, 0.3);
}

.pdp-thumb-btn .frame__art {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #141214;
}

/* Right Column: Info & Form */
.pdp-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pdp-meta-top {
  border-bottom: 1px solid rgba(232, 196, 204, 0.12);
  padding-bottom: 20px;
}

.pdp-eyebrow {
  display: block;
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--bone-dim, #a39791);
  margin-bottom: 8px;
}

.pdp-title {
  font-family: var(--f-serif, 'Cormorant Garamond', serif);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.pdp-price {
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pale-pink, #e8c4cc);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.pdp-status-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--bone-dim, #a69e97);
  text-transform: uppercase;
}

.pdp-desc {
  font-family: var(--f-serif, 'Cormorant Garamond', serif);
  font-size: 1.12rem;
  line-height: 1.68;
  color: var(--text-soft, #c4bcbe);
  margin: 0;
}

/* Selection Options Card - Victorian Gothic Reliquary (Smoky Rose Velvet & Multi-Depth Frame) */
.pdp-selection-card {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(246, 218, 224, 0.98) 0%, rgba(228, 190, 200, 0.96) 42%, rgba(192, 144, 156, 0.94) 80%, rgba(156, 106, 120, 0.98) 100%);
  border: 1px solid rgba(75, 24, 38, 0.6);
  border-radius: 2px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.28),
    inset 0 0 0 4px rgba(75, 24, 38, 0.35),
    inset 0 0 40px rgba(60, 16, 28, 0.2),
    0 24px 60px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.pdp-selection-card::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  bottom: 6px;
  left: 6px;
  border: 1px solid rgba(85, 26, 42, 0.22);
  pointer-events: none;
  border-radius: 1px;
}

.pdp-option-sec {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-option-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdp-option-label {
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a0a12;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdp-option-label::before {
  content: '✦';
  font-size: 8px;
  color: #8c1d35;
}

.pdp-option-label .req {
  color: #8f2038;
}

.pdp-guide-toggle-btn {
  background: transparent;
  border: none;
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #631728;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.pdp-guide-toggle-btn:hover {
  color: #12090e;
}

.pdp-guide-drawer {
  border: 1px solid rgba(75, 24, 38, 0.45);
  border-radius: 2px;
  overflow: hidden;
  background: #0c080c;
  margin-top: 6px;
}

.pdp-guide-img {
  width: 100%;
  height: auto;
  display: block;
}

.pdp-select {
  width: 100%;
  padding: 13px 16px;
  background: #0c080c;
  border: 1px solid rgba(75, 24, 38, 0.45);
  border-radius: 2px;
  color: #f7f1ea;
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s ease;
}

.pdp-select:focus, .pdp-select:hover {
  border-color: #8f2038;
  background: #140d14;
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 14px rgba(143, 32, 56, 0.3);
}

.pdp-select option {
  background: #110e11;
  color: #ece6e1;
}

/* Custom Supply & Set Dropdowns Container */
#pdpSupplyDropdownsContainer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.pdp-supply-dropdown-select {
  width: 100%;
}

.pdp-sizing-tag {
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #631728;
  background: rgba(99, 29, 46, 0.14);
  border: 1px solid rgba(99, 29, 46, 0.3);
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 600;
}

.pdp-sizing-hint {
  font-family: var(--f-serif, 'Cormorant Garamond', serif);
  font-style: italic;
  font-size: 0.92rem;
  color: #4a2833;
  margin: 0;
  line-height: 1.45;
}

/* Action CTA Row */
.pdp-action-sec {
  padding-top: 14px;
  border-top: 1px solid rgba(75, 24, 38, 0.22);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.pdp-action-sec::before {
  content: '✦';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #7a2235;
  background: #deb0b9;
  padding: 0 8px;
  line-height: 1;
}

.pdp-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.pdp-qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(75, 24, 38, 0.45);
  border-radius: 2px;
  background: #0c080c;
  height: 48px;
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s ease;
}

.pdp-qty-picker:hover {
  border-color: #8f2038;
}

.pdp-qty-btn {
  width: 42px;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--bone, #ece6e1);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.pdp-qty-btn:hover {
  background: rgba(143, 32, 56, 0.25);
  color: #ffffff;
}

.pdp-qty-num {
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0 14px;
  color: #ffffff;
}

.pdp-add-btn {
  flex: 1;
  height: 48px;
  background: linear-gradient(135deg, #fcecef 0%, #f5d3dc 45%, #deb0bd 100%);
  color: #1a0812;
  border: 1.5px solid rgba(85, 26, 42, 0.45);
  border-radius: 3px;
  font-family: var(--f-sans, 'Jost', sans-serif);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(75, 24, 38, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all 0.25s cubic-bezier(.22,.61,.24,1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pdp-add-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #faeef1 40%, #f7d5de 100%);
  color: #10040a;
  border-color: #8f2038;
  box-shadow: 0 10px 28px rgba(75, 24, 38, 0.35), 0 0 24px rgba(246, 218, 224, 0.65);
  transform: translateY(-2px);
}

.pdp-add-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(75, 24, 38, 0.3);
}

/* Accordions - Victorian Reliquary Cases */
.pdp-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.pdp-accordion-item {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(246, 218, 224, 0.98) 0%, rgba(224, 185, 195, 0.95) 50%, rgba(175, 126, 138, 0.92) 100%);
  border: 1px solid rgba(75, 24, 38, 0.5);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.2),
    inset 0 0 25px rgba(60, 16, 28, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.55);
}

.pdp-accordion-item:hover, .pdp-accordion-item[open] {
  border-color: #7a2235;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.25),
    inset 0 0 35px rgba(60, 16, 28, 0.25),
    0 14px 40px rgba(0, 0, 0, 0.65);
}

.pdp-accordion-header {
  padding: 16px 22px;
  font-family: var(--f-serif, 'Cormorant Garamond', serif);
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #12090e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.pdp-accordion-header::-webkit-details-marker {
  display: none;
}

.pdp-accordion-icon {
  color: #631728;
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.pdp-accordion-item[open] .pdp-accordion-icon {
  transform: rotate(180deg);
}

.pdp-accordion-content {
  padding: 16px 22px 20px;
  font-family: var(--f-serif, 'Cormorant Garamond', serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #351a24;
  border-top: 1px solid rgba(75, 24, 38, 0.18);
}

.pdp-accordion-content ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-accordion-content strong {
  color: #12090e;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pdp-media-col {
    position: static;
  }
  .pdp-top-bar {
    margin-top: 64px;
    padding: 10px 16px;
    margin-bottom: 18px;
  }
}

@media (max-width: 600px) {
  .pdp-cta-row {
    flex-direction: column;
  }
  .pdp-qty-picker {
    width: 100%;
    justify-content: space-between;
  }
  .pdp-add-btn {
    width: 100%;
  }
}
