﻿/* ===== Product detail — premium PDP ===== */
.pdp {
  --pdp-navy: #15306b;
  --pdp-ink: #0f172a;
  --pdp-muted: #64748b;
  --pdp-line: #e6e9f0;
  --pdp-soft: #f4f7fc;
  --pdp-r: 10px;
  --pdp-r-sm: 6px;
  --pdp-r-lg: 12px;
  padding-bottom: 56px;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(37, 99, 235, .07), transparent 55%),
    radial-gradient(700px 360px at 92% 8%, rgba(21, 48, 107, .05), transparent 50%),
    #f8fafc;
}
.pdp .container { max-width: var(--shop-wrap); }

.pdp-crumb { padding: 18px 0 10px; }
.pdp-crumb .sep { opacity: .45; }

/* Hero grid */
.pdp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 36px;
  align-items: start;
  padding: 8px 0 8px;
}

/* Gallery */
.pdp-gallery { position: sticky; top: 88px; align-self: start; }
.pdp-stage {
  position: relative;
  border-radius: var(--pdp-r-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: #eef2f7;
  border: 1px solid rgba(21, 48, 107, .08);
  box-shadow: 0 10px 28px rgba(15, 48, 107, .07);
  transition: box-shadow .25s ease;
}
.pdp-stage-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: zoom-in;
}
.pdp-stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.pdp-stage:hover .pdp-stage-media img { transform: scale(1.035); }
.pdp-zoom-hint {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%) translateY(8px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.pdp-stage:hover .pdp-zoom-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.pdp-zoom-hint svg { width: 14px; height: 14px; }
.pdp-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--pdp-navy);
  opacity: .55;
  text-align: center;
  padding: 24px;
}
.pdp-placeholder svg { width: 56px; height: 56px; }
.pdp-placeholder span { font-size: 15px; font-weight: 700; max-width: 220px; line-height: 1.3; }

.pdp-chip-ai {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .28);
}
.pdp-chip-ai svg { width: 12px; height: 12px; }

.pdp-stage-tools {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdp-icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--pdp-r-sm);
  border: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pdp-ink);
  cursor: pointer;
  transition: transform .15s ease, color .15s ease, border-color .15s ease;
}
.pdp-icon-btn svg { width: 17px; height: 17px; }
.pdp-icon-btn:hover {
  color: #2563eb;
  border-color: rgba(37, 99, 235, .3);
  transform: translateY(-1px);
}
.pdp-icon-btn.is-copied { color: #16a34a; }

.pdp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--pdp-ink);
  box-shadow: 0 4px 14px rgba(15, 23, 42, .16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, color .15s ease;
}
.pdp-nav svg { width: 18px; height: 18px; }
.pdp-nav:hover { background: #fff; color: #2563eb; transform: translateY(-50%) scale(1.04); }
.pdp-nav-prev { left: 12px; }
.pdp-nav-next { right: 12px; }
.pdp-counter {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .02em;
}

.pdp-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.pdp-thumbs {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs-nav {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.pdp-thumbs-nav svg { width: 16px; height: 16px; }
.pdp-thumbs-nav:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #f8fbff;
}
.pdp-thumb {
  flex: 0 0 68px;
  width: 68px;
  aspect-ratio: 1;
  border-radius: var(--pdp-r-sm);
  border: 1.5px solid transparent;
  background: #eef2f7;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { border-color: #cbd5e1; transform: translateY(-1px); }
.pdp-thumb.is-on {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .16);
}

/* Buy column */
.pdp-buy-inner {
  background: #fff;
  border: 1px solid rgba(21, 48, 107, .08);
  border-radius: var(--pdp-r-lg);
  padding: 22px 22px 18px;
  box-shadow: 0 12px 32px rgba(15, 48, 107, .06);
}
.pdp-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pdp-muted);
  margin: 0 0 8px;
}
.pdp-title {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--pdp-ink);
  margin: 0 0 14px;
}
.pdp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 0;
  margin-bottom: 4px;
  border-top: 1px solid var(--pdp-line);
  border-bottom: 1px solid var(--pdp-line);
  font-size: 12.5px;
}
.pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #047857;
}
.pdp-stock .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .18);
}
.pdp-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pdp-muted);
  font-weight: 600;
  text-decoration: none;
}
.pdp-rating .stars { color: #f59e0b; letter-spacing: 1px; }
.pdp-rating strong { color: var(--pdp-ink); font-weight: 800; }
.pdp-rating.muted { color: #2563eb; }
.pdp-sku { margin-left: auto; color: var(--pdp-muted); font-weight: 600; }
.pdp-sku b { color: var(--pdp-ink); font-family: ui-monospace, monospace; font-size: 12px; }

.pdp-ai-hint {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 14px 0 4px;
  padding: 12px 14px;
  border-radius: var(--pdp-r);
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid rgba(37, 99, 235, .14);
}
.pdp-ai-score {
  width: 44px; height: 44px;
  border-radius: var(--pdp-r-sm);
  background: #fff;
  border: 1px solid rgba(37, 99, 235, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #1e3a8a;
  flex-shrink: 0;
}
.pdp-ai-hint strong { display: block; font-size: 13px; margin-bottom: 2px; }
.pdp-ai-hint p { margin: 0; font-size: 12px; color: var(--pdp-muted); line-height: 1.4; }

.pdp-lead {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}
.pdp-lead a {
  margin-left: 4px;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}
.pdp-lead a:hover { text-decoration: underline; }

/* Config */
.pdp-config {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--pdp-r);
  background: var(--pdp-soft);
  border: 1px solid rgba(21, 48, 107, .06);
}
.pdp-cfg-row + .pdp-cfg-row { margin-top: 14px; }
.pdp-cfg-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pdp-ink);
  margin-bottom: 8px;
}
.pdp-cfg-label span {
  font-weight: 600;
  color: #2563eb;
  font-size: 12px;
}
.pdp-select {
  width: 100%;
  appearance: none;
  border: 1.5px solid #dbe2ea;
  background: #fff;
  color: #1e293b;
  border-radius: var(--pdp-r-sm);
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
}
.pdp-select:focus {
  outline: none;
  border-color: #2563eb;
}
.pdp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-opt {
  appearance: none;
  border: 1.5px solid #dbe2ea;
  background: #fff;
  color: #1e293b;
  border-radius: var(--pdp-r-sm);
  padding: 9px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  position: relative;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.pdp-opt:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
}
.pdp-opt.is-on {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.pdp-opt.is-ai.is-on::after {
  content: "AI";
  position: absolute;
  top: -7px; right: -6px;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  color: #fff;
  background: #1e3a8a;
}

/* Price */
.pdp-price {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--pdp-r);
  border: 1px solid var(--pdp-line);
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.pdp-price-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 4px;
}
.pdp-price-top .lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pdp-muted);
}
.pdp-price-top .hint { font-size: 12px; color: var(--pdp-muted); font-weight: 600; }
.pdp-price-val {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--pdp-navy);
  line-height: 1.1;
}
.pdp-price-note {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: #94a3b8;
}

/* CTA */
.pdp-cta { margin-top: 16px; }
.pdp-btn-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--pdp-r);
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .28);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.pdp-btn-primary svg { width: 18px; height: 18px; }
.pdp-btn-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, .34);
}
.pdp-btn-sm { width: auto; padding: 11px 18px; font-size: 13.5px; }
.pdp-cta-sec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.pdp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 8px;
  border-radius: var(--pdp-r-sm);
  border: 1.5px solid #dbe2ea;
  background: #fff;
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.pdp-btn-ghost:hover {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #f8fbff;
}

.pdp-trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--pdp-line);
  display: grid;
  gap: 10px;
}
.pdp-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}
.pdp-trust svg {
  width: 16px; height: 16px;
  color: #2563eb;
  flex-shrink: 0;
}

/* Content body */
.pdp-body {
  margin: 40px 0 0;
  background: #fff;
  border: 1px solid rgba(21, 48, 107, .08);
  border-radius: var(--pdp-r-lg);
  overflow: clip;
  box-shadow: 0 10px 28px rgba(15, 48, 107, .05);
}
.pdp-tabs {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--pdp-line);
  background: linear-gradient(180deg, #f8fafc, #fff);
  border-radius: var(--pdp-r-lg) var(--pdp-r-lg) 0 0;
  position: relative;
  top: auto;
  z-index: 1;
}
.pdp-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 15px 22px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pdp-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.pdp-tab.is-on, .pdp-tab:hover {
  color: var(--pdp-navy);
  border-bottom-color: #2563eb;
}
.pdp-panel { padding: 28px 30px 34px; }
.pdp-panel[hidden] { display: none !important; }
.pdp-panel h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  color: var(--pdp-ink);
}
.pdp-panel-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px);
  gap: 28px;
  align-items: start;
}
.pdp-prose {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  max-width: 72ch;
}
.pdp-prose.muted { color: var(--pdp-muted); }
.pdp-prose h2, .pdp-prose h3 { font-size: 1.15em; margin: 1.2em 0 .5em; color: var(--pdp-ink); }
.pdp-prose p { margin: 0 0 .9em; }
.pdp-prose ul, .pdp-prose ol { margin: 0 0 1em 1.2em; }
.pdp-prose a { color: #2563eb; font-weight: 600; }
.pdp-prose img { max-width: 100%; height: auto; border-radius: var(--pdp-r-sm); margin: 12px 0; }

.pdp-facts {
  padding: 16px;
  background: var(--pdp-soft);
  border-radius: var(--pdp-r);
  border: 1px solid rgba(21, 48, 107, .07);
  position: sticky;
  top: 120px;
}
.pdp-facts h3 { font-size: 13px; font-weight: 800; margin: 0 0 12px; letter-spacing: .02em; }
.pdp-facts dl { display: grid; gap: 9px; margin: 0; }
.pdp-facts dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.pdp-facts dt { color: var(--pdp-muted); font-weight: 600; }
.pdp-facts dd { margin: 0; font-weight: 750; color: var(--pdp-ink); text-align: right; }
.pdp-facts-cta {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 750;
  color: #2563eb;
  text-decoration: none;
}
.pdp-facts-cta:hover { text-decoration: underline; }

.pdp-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.pdp-reviews-head h2 { margin: 0; }
.pdp-reviews-sum { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--pdp-muted); }
.pdp-reviews-sum strong { font-size: 28px; font-weight: 800; color: var(--pdp-ink); letter-spacing: -.03em; }
.pdp-empty { color: var(--pdp-muted); font-size: 14px; margin: 0 0 20px; }
.pdp-review-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.pdp-review-list .review {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef2f7;
}
.review .avatar {
  width: 44px; height: 44px;
  border-radius: var(--pdp-r);
  background: #eff6ff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.review-head strong { font-size: 13.5px; }
.review-head .stars { color: #f59e0b; letter-spacing: 1px; font-size: 13px; }
.review-head .date { font-size: 11.5px; color: #94a3b8; margin-left: auto; }
.review-meta span {
  font-size: 10.5px;
  color: #047857;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.review-title { font-size: 14px; font-weight: 800; margin: 6px 0; color: var(--pdp-ink); }
.review-body { font-size: 13px; color: #334155; line-height: 1.55; margin: 0; }
.review-staff {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--pdp-soft);
  border-radius: var(--pdp-r-sm);
  border-left: 3px solid #2563eb;
}
.review-staff strong { display: block; font-size: 12px; margin-bottom: 4px; color: #1d4ed8; }
.review-staff p { margin: 0; font-size: 12.5px; color: #334155; line-height: 1.5; }

.pdp-review-form {
  padding: 18px;
  background: var(--pdp-soft);
  border-radius: var(--pdp-r);
  border: 1px solid rgba(21, 48, 107, .07);
}
.pdp-review-form h3 { font-size: 16px; font-weight: 800; margin: 0 0 12px; }
.pdp-review-form .muted { font-size: 13.5px; color: var(--pdp-muted); margin: 0; }
.pdp-review-form .muted a { color: #2563eb; font-weight: 700; }
.pdp-form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.pdp-form .field { display: flex; flex-direction: column; gap: 6px; }
.pdp-form .field-label { font-size: 12.5px; font-weight: 700; color: #1e293b; }
.pdp-form .req { color: #dc2626; }
.pdp-form input, .pdp-form select, .pdp-form textarea {
  border: 1.5px solid #dbe2ea;
  border-radius: var(--pdp-r-sm);
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
.pdp-form input:focus, .pdp-form select:focus, .pdp-form textarea:focus {
  outline: none; border-color: #2563eb;
}
.pdp-form .field-help { font-size: 12px; color: var(--pdp-muted); margin: 0; }
.pdp-alert {
  padding: 12px 14px;
  border-radius: var(--pdp-r-sm);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.pdp-alert.ok { background: #ecfdf5; color: #047857; }
.pdp-alert.err { background: #fef2f2; color: #b91c1c; }

html.pdp-lb-lock, html.pdp-lb-lock body { overflow: hidden; }

.pdp-lb {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.pdp-lb.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pdp-lb-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 50% 18%, rgba(37, 99, 235, .16), transparent 58%),
    rgba(7, 12, 24, .86);
  backdrop-filter: blur(18px);
}
.pdp-lb-close,
.pdp-lb-nav {
  position: absolute;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #0f172a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.pdp-lb-close svg, .pdp-lb-nav svg { width: 20px; height: 20px; }
.pdp-lb-close:hover, .pdp-lb-nav:hover {
  background: #fff;
  color: #2563eb;
  transform: scale(1.06);
}
.pdp-lb-close { top: 22px; right: 22px; }
.pdp-lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.pdp-lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.pdp-lb-prev:hover, .pdp-lb-next:hover { transform: translateY(-50%) scale(1.06); }

.pdp-lb-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  width: min(920px, calc(100vw - 160px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pdp-lb.is-open .pdp-lb-figure {
  animation: pdpLbIn .38s cubic-bezier(.22, 1, .36, 1);
}
@keyframes pdpLbIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.pdp-lb-stage {
  width: 100%;
  aspect-ratio: 1;
  max-height: min(72vh, 820px);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, #ffffff 0%, #eef2f7 70%, #e2e8f0 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 28px 80px rgba(0, 0, 0, .38);
  cursor: zoom-in;
  --ox: 50%;
  --oy: 50%;
}
.pdp-lb-stage.is-zoomed { cursor: zoom-out; }
.pdp-lb-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  transform-origin: var(--ox) var(--oy);
}
.pdp-lb-stage.is-zoomed img { transform: scale(2.15); }
.pdp-lb-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  color: #e2e8f0;
}
.pdp-lb-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.pdp-lb-count {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.pdp-lb-thumbs {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  max-width: min(920px, calc(100vw - 80px));
  overflow-x: auto;
  padding: 4px 0 2px;
  scrollbar-width: none;
}
.pdp-lb-thumbs::-webkit-scrollbar { display: none; }
.pdp-lb-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  opacity: .72;
  transition: opacity .15s ease, border-color .15s ease, transform .15s ease;
}
.pdp-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-lb-thumb:hover { opacity: 1; transform: translateY(-1px); }
.pdp-lb-thumb.is-on {
  opacity: 1;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, .28);
}

@media (max-width: 980px) {
  .pdp-hero { grid-template-columns: 1fr; gap: 22px; }
  .pdp-gallery, .pdp-buy-inner { position: static; }
  .pdp-panel-grid { grid-template-columns: 1fr; }
  .pdp-facts { position: static; }
}
@media (max-width: 640px) {
  .pdp-buy-inner { padding: 18px 14px 16px; border-radius: var(--pdp-r-lg); }
  .pdp-cta-sec { grid-template-columns: 1fr; }
  .pdp-price-val { font-size: 28px; }
  .pdp-panel { padding: 20px 16px 24px; }
  .pdp-tabs { overflow-x: auto; }
  .pdp-sku { margin-left: 0; width: 100%; }
  .pdp-nav { width: 34px; height: 34px; }
  .pdp-nav-prev { left: 8px; }
  .pdp-nav-next { right: 8px; }
  .pdp-thumb { flex-basis: 60px; width: 60px; }
  .pdp-lb { padding: 16px 10px 12px; }
  .pdp-lb-figure { width: calc(100vw - 20px); }
  .pdp-lb-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .pdp-lb-prev { left: 8px; }
  .pdp-lb-next { right: 8px; }
  .pdp-zoom-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-opt, .pdp-btn-primary, .pdp-stage-media img, .pdp-thumb, .pdp-icon-btn, .pdp-lb, .pdp-lb-figure { transition: none; animation: none; }
}
