/* =========================================================
   Premium Product Details (PDP)
   Colors: primary #2563EB · secondary #10B981 · bg #F8FAFC
   ========================================================= */

.pdp {
  --pdp-primary: #2563EB;
  --pdp-primary-dark: #1D4ED8;
  --pdp-secondary: #10B981;
  --pdp-secondary-dark: #059669;
  --pdp-bg: #F8FAFC;
  --pdp-card: #ffffff;
  --pdp-text: #0f172a;
  --pdp-muted: #64748b;
  --pdp-border: rgba(15, 23, 42, 0.08);
  --pdp-radius: 24px;
  --pdp-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --pdp-shadow-sm: 0 4px 18px rgba(15, 23, 42, 0.06);
  --pdp-ease: 300ms cubic-bezier(0.22, 1, 0.36, 1);

  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(900px 380px at 90% 0%, rgba(16, 185, 129, 0.07), transparent 55%),
    var(--pdp-bg);
  color: var(--pdp-text);
  font-family: 'Poppins', system-ui, sans-serif;
  padding-bottom: 5rem;
}

.pdp-container {
  max-width: 1320px;
}

/* Breadcrumb */
.pdp-breadcrumb {
  margin-bottom: 1.25rem;
}

.pdp-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--pdp-muted);
}

.pdp-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: #94a3b8;
}

.pdp-breadcrumb a {
  color: var(--pdp-muted);
  text-decoration: none;
  transition: color var(--pdp-ease);
}

.pdp-breadcrumb a:hover,
.pdp-breadcrumb a:focus-visible {
  color: var(--pdp-primary);
}

.pdp-breadcrumb li[aria-current="page"] {
  color: var(--pdp-text);
  font-weight: 500;
}

/* Grid */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .pdp-grid {
    grid-template-columns: 45% 55%;
    gap: 2.5rem;
  }
}

/* Gallery */
.pdp-gallery {
  position: relative;
}

.pdp-stage {
  position: relative;
  background: var(--pdp-card);
  border-radius: var(--pdp-radius);
  box-shadow: var(--pdp-shadow);
  border: 1px solid var(--pdp-border);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

@media (min-width: 992px) {
  .pdp-stage {
    min-height: 650px;
  }
}

.pdp-zoom-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.pdp-main-image {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 1.5rem;
  transition: opacity var(--pdp-ease), transform var(--pdp-ease);
  user-select: none;
}

@media (min-width: 992px) {
  .pdp-main-image {
    max-height: 620px;
  }
}

.pdp-main-image.is-fading {
  opacity: 0;
  transform: scale(0.98);
}

.pdp-lens {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px solid rgba(37, 99, 235, 0.45);
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  pointer-events: none;
  z-index: 3;
}

.pdp-zoom-result {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px solid var(--pdp-border);
  box-shadow: var(--pdp-shadow);
  background-repeat: no-repeat;
  background-color: #fff;
  z-index: 4;
  pointer-events: none;
  display: none;
}

@media (min-width: 1200px) {
  .pdp-zoom-result.is-visible {
    display: block;
  }
}

.pdp-fullscreen-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: var(--pdp-shadow-sm);
  color: var(--pdp-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--pdp-ease), background var(--pdp-ease);
}

.pdp-fullscreen-btn:hover,
.pdp-fullscreen-btn:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  outline: 2px solid var(--pdp-primary);
  outline-offset: 2px;
}

/* Thumbs */
.pdp-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.pdp-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: var(--pdp-card);
  box-shadow: var(--pdp-shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--pdp-ease), transform var(--pdp-ease);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.pdp-thumb:hover,
.pdp-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.4);
  outline: none;
}

.pdp-thumb.is-active {
  border-color: var(--pdp-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Info sticky */
.pdp-info-sticky {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--pdp-border);
  border-radius: var(--pdp-radius);
  box-shadow: var(--pdp-shadow);
  padding: 1.5rem 1.5rem 1.75rem;
}

@media (min-width: 992px) {
  .pdp-info-sticky {
    position: sticky;
    top: 96px;
    padding: 2rem;
  }
}

.pdp-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pdp-primary);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.pdp-title {
  font-size: clamp(1.5rem, 2.4vw, 2.375rem); /* ~38px on desktop */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--pdp-text);
}

.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.pdp-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--pdp-muted);
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.pdp-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: inherit;
  text-decoration: none;
}

.pdp-rating:hover {
  color: var(--pdp-primary);
}

.pdp-stars {
  color: #f59e0b;
  letter-spacing: 0.05em;
}

.pdp-rating-score {
  font-weight: 600;
}

.pdp-rating-count {
  color: var(--pdp-muted);
}

/* Stock */
.pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.pdp-stock--inline {
  margin: 0;
  font-weight: 500;
}

.pdp-stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.pdp-stock--in {
  color: var(--pdp-secondary);
}

.pdp-stock--in .pdp-stock-dot {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.pdp-stock--low {
  color: #ea580c;
}

.pdp-stock--low .pdp-stock-dot {
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.18);
}

.pdp-stock--out {
  color: #dc2626;
}

.pdp-stock--out .pdp-stock-dot {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18);
}

.pdp-stock-qty {
  font-weight: 500;
  color: var(--pdp-muted);
  font-size: 0.85rem;
}

.pdp-stock-bar {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin: 0.35rem 0 0.25rem;
  max-width: 220px;
}

.pdp-stock-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f97316, #ea580c);
  transition: width var(--pdp-ease);
}

.pdp-stock-urgent {
  font-size: 0.8125rem;
  color: #c2410c;
  margin: 0 0 0.75rem;
  font-weight: 500;
}

/* Price */
.pdp-price-block {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(16, 185, 129, 0.06));
  border: 1px solid var(--pdp-border);
}

.pdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
}

.pdp-price {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--pdp-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pdp-price-old {
  font-size: 1.1rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.pdp-badge-sale {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

.pdp-save {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--pdp-secondary);
  font-weight: 600;
}

.pdp-login-price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--pdp-primary);
  text-decoration: none;
}

.pdp-login-price:hover {
  text-decoration: underline;
}

/* Perks */
.pdp-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.pdp-perks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--pdp-muted);
}

.pdp-perks i {
  color: var(--pdp-secondary);
  font-size: 1.05rem;
}

/* Qty */
.pdp-qty-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pdp-muted);
  margin-bottom: 0.4rem;
}

.pdp-qty.quantity-group {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  max-width: 180px;
  border: 1px solid var(--pdp-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 1rem;
  box-shadow: var(--pdp-shadow-sm);
}

.pdp-qty .btn {
  width: 46px;
  min-height: 46px;
  border: 0;
  background: #f8fafc;
  color: var(--pdp-text);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  transition: background var(--pdp-ease);
}

.pdp-qty .btn:hover,
.pdp-qty .btn:focus-visible {
  background: #eef2ff;
  color: var(--pdp-primary);
}

.pdp-qty .quantity-input {
  flex: 1;
  min-width: 0;
  border: 0;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--pdp-text);
  background: transparent;
  -moz-appearance: textfield;
}

.pdp-qty .quantity-input::-webkit-outer-spin-button,
.pdp-qty .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp-qty .quantity-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.25);
}

/* Actions */
.pdp-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 576px) {
  .pdp-actions {
    grid-template-columns: 1.2fr 1fr;
  }
}

.pdp-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--pdp-ease), box-shadow var(--pdp-ease), filter var(--pdp-ease);
}

.pdp-btn:hover {
  transform: translateY(-2px);
}

.pdp-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
}

.pdp-btn:active {
  transform: translateY(0);
}

.pdp-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #2563EB 50%, #1d4ed8 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.pdp-btn-primary:hover {
  filter: brightness(1.05);
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.35);
}

.pdp-btn-buy {
  color: #fff;
  background: linear-gradient(135deg, #34d399 0%, #10B981 50%, #059669 100%);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
}

.pdp-btn-buy:hover {
  filter: brightness(1.05);
  color: #fff;
}

.pdp-btn-outline {
  background: #fff;
  color: var(--pdp-primary);
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.pdp-btn-muted {
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

.pdp-btn-muted:hover {
  transform: none;
}

.pdp-btn-block {
  width: 100%;
}

/* Ripple */
.pdp-btn .pdp-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: pdp-ripple 0.55s ease-out;
  pointer-events: none;
}

@keyframes pdp-ripple {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.pdp-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.pdp-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--pdp-border);
  background: #ffffff;
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--pdp-ease), border-color var(--pdp-ease), transform var(--pdp-ease), color var(--pdp-ease);
}

.pdp-icon-btn:hover,
.pdp-icon-btn:focus-visible {
  border-color: rgba(37, 99, 235, 0.35);
  background: #eff6ff;
  color: var(--pdp-primary);
  outline: none;
  transform: translateY(-1px);
}

.pdp-icon-btn.btn-wishlist-pdp.active,
.pdp-icon-btn.btn-wishlist-pdp.active:hover {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.35);
  background: #fef2f2;
}

/* Below sections */
.pdp-below {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 992px) {
  .pdp-below {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.75rem;
  }
}

.pdp-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.pdp-details-card,
.pdp-accordion .accordion-item {
  background: var(--pdp-card);
  border: 1px solid var(--pdp-border);
  border-radius: var(--pdp-radius);
  box-shadow: var(--pdp-shadow-sm);
}

.pdp-details-card {
  padding: 1.5rem;
}

.pdp-table {
  width: 100%;
  border-collapse: collapse;
}

.pdp-table th,
.pdp-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  vertical-align: top;
}

.pdp-table tr:last-child th,
.pdp-table tr:last-child td {
  border-bottom: 0;
}

.pdp-table th {
  width: 38%;
  color: var(--pdp-muted);
  font-weight: 500;
}

.pdp-table td {
  font-weight: 500;
  color: var(--pdp-text);
}

.pdp-table a {
  color: var(--pdp-primary);
  text-decoration: none;
}

.pdp-table a:hover {
  text-decoration: underline;
}

.pdp-accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-padding-x: 1.25rem;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-body-padding-x: 1.25rem;
  --bs-accordion-body-padding-y: 0 1.25rem 1.15rem;
}

.pdp-accordion .accordion-item {
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.pdp-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.pdp-accordion .accordion-button {
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: none !important;
  background: transparent;
}

.pdp-accordion .accordion-button:not(.collapsed) {
  color: var(--pdp-primary);
  background: rgba(37, 99, 235, 0.04);
}

.pdp-accordion .accordion-body {
  color: var(--pdp-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.pdp-reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pdp-reviews-score {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pdp-reviews-score strong {
  font-size: 1.75rem;
  color: var(--pdp-text);
}

/* Related */
.pdp-related {
  margin-top: 2.75rem;
  padding-top: 0.5rem;
}

.pdp-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pdp-related-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pdp-primary);
  text-decoration: none;
}

.pdp-related-link:hover {
  text-decoration: underline;
}

.pdp-related-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 240px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.pdp-related-card {
  scroll-snap-align: start;
  background: var(--pdp-card);
  border: 1px solid var(--pdp-border);
  border-radius: 20px;
  box-shadow: var(--pdp-shadow-sm);
  overflow: hidden;
  transition: transform var(--pdp-ease), box-shadow var(--pdp-ease);
}

.pdp-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pdp-shadow);
}

.pdp-related-media {
  display: block;
  aspect-ratio: 1;
  background: #f8fafc;
  padding: 0.75rem;
}

.pdp-related-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-related-body {
  padding: 0.85rem 1rem 1rem;
}

.pdp-related-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  line-height: 1.35;
  min-height: 2.5em;
}

.pdp-related-title a {
  color: inherit;
  text-decoration: none;
}

.pdp-related-title a:hover {
  color: var(--pdp-primary);
}

.pdp-related-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pdp-related-price {
  font-weight: 700;
  color: var(--pdp-primary);
  font-size: 0.95rem;
}

.pdp-related-price.muted {
  color: var(--pdp-muted);
  font-weight: 500;
  font-size: 0.8rem;
}

/* Lightbox */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pdp-lightbox[hidden] {
  display: none !important;
}

.pdp-lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pdp-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.pdp-lightbox-close:hover,
.pdp-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: 2px solid #fff;
}

/* Mobile sticky bar */
.pdp-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  /* Sit above site mobile bottom nav (~64px) */
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  z-index: 1080;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--pdp-border);
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
}

@media (min-width: 992px) {
  .pdp-mobile-bar {
    display: none !important;
  }
}

.pdp-mobile-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto;
}

.pdp-mobile-price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pdp-primary);
  white-space: nowrap;
}

.pdp-mobile-bar .pdp-btn {
  flex: 1;
  min-height: 48px;
}

body:has(.pdp-mobile-bar) .pdp {
  padding-bottom: 8.5rem;
}

@media (max-width: 991.98px) {
  body:has(.pdp-mobile-bar) .pdp {
    padding-bottom: calc(9.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pdp *,
  .pdp *::before,
  .pdp *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Narrow phones */
@media (max-width: 390px) {
  .pdp-info-sticky {
    padding: 1.15rem;
  }

  .pdp-title {
    font-size: 1.35rem;
  }

  .pdp-actions {
    grid-template-columns: 1fr;
  }

  .pdp-thumb {
    width: 64px;
    height: 64px;
  }
}

/* Dark theme soft adapt */
[data-theme="dark"] .pdp {
  --pdp-bg: #0b1220;
  --pdp-card: #111827;
  --pdp-text: #e5e7eb;
  --pdp-muted: #9ca3af;
  --pdp-border: rgba(255, 255, 255, 0.08);
  --pdp-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .pdp-info-sticky,
[data-theme="dark"] .pdp-details-card,
[data-theme="dark"] .pdp-accordion .accordion-item,
[data-theme="dark"] .pdp-related-card,
[data-theme="dark"] .pdp-thumb,
[data-theme="dark"] .pdp-qty.quantity-group,
[data-theme="dark"] .pdp-mobile-bar {
  background: rgba(17, 24, 39, 0.92);
}

[data-theme="dark"] .pdp-stage {
  background: #ffffff;
}

[data-theme="dark"] .pdp-meta-chip,
[data-theme="dark"] .pdp-qty .btn {
  background: #1f2937;
  color: #e5e7eb;
}

[data-theme="dark"] .pdp-icon-btn {
  background: #1f2937;
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .pdp-icon-btn:hover,
[data-theme="dark"] .pdp-icon-btn:focus-visible {
  background: #111827;
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.45);
}

[data-theme="dark"] .pdp-price-block {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(16, 185, 129, 0.12));
}

[data-theme="dark"] .pdp-table th,
[data-theme="dark"] .pdp-table td {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .pdp-icon-btn.btn-wishlist-pdp.active,
[data-theme="dark"] .pdp-icon-btn.btn-wishlist-pdp.active:hover {
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
}
