/* ============================================
   Product Detail Page
   ============================================ */

body {
  padding-top: 90px;
}

@media (max-width: 768px) {
  body { padding-top: 72px; }
}

/* Material chip */
.pd-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal, #222);
  background: rgba(201, 163, 106, 0.12);
  border: 1px solid rgba(201, 163, 106, 0.35);
}

/* Bullet */
.pd-bullet {
  flex-shrink: 0;
  margin-top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--champagne, #C9A36A);
  box-shadow: 0 0 0 4px rgba(201, 163, 106, 0.12);
}

/* Related product card */
.pd-related-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.pd-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 163, 106, 0.5);
  box-shadow: 0 16px 40px rgba(34, 34, 34, 0.08);
}

.pd-related-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--sand, #E8DED0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pd-related-image img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-related-card:hover .pd-related-image img {
  transform: scale(1.04);
}

.pd-related-body {
  padding: 22px 24px 24px;
}

.pd-related-cat {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--champagne, #C9A36A);
  margin-bottom: 8px;
}

.pd-related-title {
  font-family: var(--font-heading, serif);
  font-size: 20px;
  color: var(--charcoal, #222);
  margin-bottom: 6px;
  line-height: 1.25;
}

.pd-related-sub {
  font-size: 13px;
  color: rgba(34, 34, 34, 0.6);
  line-height: 1.5;
}

/* Outline light button (dark backgrounds) */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--champagne, #C9A36A);
  color: var(--champagne, #C9A36A);
}

/* Thumb transitions */
button[data-pd-thumb] {
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

button[data-pd-thumb]:hover {
  transform: translateY(-2px);
}

/* Dark mode */
[data-theme="dark"] .pd-chip {
  background: rgba(232, 213, 183, 0.1);
  border-color: rgba(232, 213, 183, 0.3);
  color: var(--ivory, #F8F5F0);
}

[data-theme="dark"] .pd-related-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .pd-related-card:hover {
  border-color: rgba(232, 213, 183, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .pd-related-title {
  color: var(--ivory, #F8F5F0);
}

[data-theme="dark"] .pd-related-sub {
  color: rgba(248, 245, 240, 0.6);
}

/* Product Price Block */
.pd-price-block {
  padding: 26px 28px;
  background: linear-gradient(135deg, #FBF7EF 0%, #F4ECDE 100%);
  border-left: 3px solid #C9A36A;
  border-radius: 4px;
}
.pd-price-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6B5C42;
  margin-bottom: 12px;
}
.pd-price-amount {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 52px;
  line-height: 1;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1, 'liga' 0;
  display: flex;
  align-items: baseline;
}
.pd-price-currency {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-right: 4px;
  vertical-align: 12px;
  color: #A87F45;
  letter-spacing: 0.02em;
}
.pd-price-note {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: #6B5C42;
  margin-top: 10px;
  letter-spacing: 0.02em;
}
[data-theme="dark"] .pd-price-block {
  background: linear-gradient(135deg, #2A2520 0%, #1F1B17 100%);
  border-left-color: #D4B478;
}
[data-theme="dark"] .pd-price-label,
[data-theme="dark"] .pd-price-note {
  color: #B89A6A;
}
[data-theme="dark"] .pd-price-amount {
  color: #F0E6D2;
}
[data-theme="dark"] .pd-price-currency {
  color: #D4B478;
}
[data-theme="dark"] .pd-price-badge {
  color: #D4B478;
  background: rgba(212, 180, 120, 0.08);
  border-color: rgba(212, 180, 120, 0.32);
}
[data-theme="dark"] .pd-price-suffix {
  color: rgba(240, 230, 210, 0.5);
}
[data-theme="dark"] .pd-price-from {
  color: rgba(240, 230, 210, 0.65);
}
[data-theme="dark"] .pd-price-volume {
  color: #7A8F74;
  border-top-color: rgba(212, 180, 120, 0.2);
}
[data-theme="dark"] .pd-price-volume::before {
  background: #7A8F74;
}
[data-theme="dark"] .pd-price-item-original {
  color: rgba(240, 230, 210, 0.4);
}

/* Related product price */
.pd-related-price {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 22px;
  color: #1a1a1a;
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1, 'liga' 0;
  display: flex;
  align-items: baseline;
  line-height: 1.2;
}
.pd-related-price-prefix {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6B5C42;
  margin-right: 8px;
  align-self: center;
  display: inline-flex;
  align-items: center;
}
.pd-related-price-prefix::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: #C9A36A;
  margin-right: 8px;
}
.pd-related-price-currency {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #A87F45;
  margin-right: 1px;
  vertical-align: 4px;
}
[data-theme="dark"] .pd-related-price {
  color: #F0E6D2;
}
[data-theme="dark"] .pd-related-price-prefix {
  color: #B89A6A;
}
[data-theme="dark"] .pd-related-price-prefix::before {
  background: #D4B478;
}
[data-theme="dark"] .pd-related-price-currency {
  color: #D4B478;
}

/* Multi-item price list (e.g. 2-piece set with separate prices) */
.pd-price-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}
.pd-price-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(201, 163, 106, 0.35);
}
.pd-price-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pd-price-item.is-first {
  /* keep first item visually identical; reserved for future emphasis */
}
.pd-price-item-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #4A3F2C;
}
.pd-price-item-note {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 400;
  color: #C9A36A;
  margin-left: 6px;
  letter-spacing: 0.04em;
}
.pd-price-item-amount {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1, 'liga' 0;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.pd-price-item-amount .pd-price-currency {
  font-size: 16px;
  margin-right: 2px;
}
.pd-price-item-original {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(34, 34, 34, 0.4);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  margin-right: 8px;
  align-self: center;
  letter-spacing: 0.02em;
}
[data-theme="dark"] .pd-price-item {
  border-bottom-color: rgba(212, 180, 120, 0.3);
}
[data-theme="dark"] .pd-price-item-label {
  color: #B89A6A;
}
[data-theme="dark"] .pd-price-item-amount {
  color: #F0E6D2;
}
