/* Product detail aligned with the current REPDATABASE light periwinkle system. */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body.product-detail-page {
  --pd-ink: #19182a;
  --pd-navy: #3f4775;
  --pd-muted: rgba(25, 24, 42, .58);
  --pd-line: rgba(77, 79, 132, .15);
  --pd-canvas: #e8e6f7;
  --pd-glass: rgba(255, 255, 255, .58);
  --pd-gradient: linear-gradient(145deg, #e7d8ff 0%, #ced0ff 48%, #b8c0ff 100%);
  --bg: var(--pd-canvas);
  --panel: rgba(255,255,255,.58);
  --panel-soft: rgba(244,243,255,.72);
  --line: var(--pd-line);
  --line-strong: rgba(84, 91, 145, .32);
  --text: var(--pd-ink);
  --muted: var(--pd-muted);
  --soft: rgba(255,255,255,.5);
  --purple: #626b9c;
  margin: 0;
  color: var(--pd-ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(231,216,255,.76), transparent 30%),
    radial-gradient(circle at 94% 18%, rgba(184,192,255,.55), transparent 32%),
    var(--pd-canvas) !important;
}

body.product-detail-page .page {
  width: min(1480px, calc(100% - 48px));
  padding: 22px 0 68px;
}

/* Compact detail navbar */
body.product-detail-page .nav {
  position: sticky;
  top: 14px;
  z-index: 80;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(245px, auto) minmax(320px, 560px) 44px;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--pd-line);
  border-radius: 22px;
  background: rgba(218,218,255,.82);
  box-shadow: 0 16px 38px rgba(101,105,173,.16), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

body.product-detail-page .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--pd-ink);
  text-decoration: none;
}

.product-nav-brand-icon {
  width: 45px;
  height: 45px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 14px;
  background: rgba(255,255,255,.48);
  box-shadow: 0 9px 22px rgba(81,76,145,.16), inset 0 1px 0 rgba(255,255,255,.82);
  object-fit: cover;
}

.product-nav-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3f4775;
  font-size: 1.38rem;
  font-weight: 950;
  letter-spacing: -.06em;
  white-space: nowrap;
}

.product-nav-wordmark b {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 9px;
  color: #4b548a;
  background: rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 6px 15px rgba(93,80,150,.1);
  font-size: .72em;
}

body.product-detail-page .nav.nav-search-host .nav-search {
  width: 100% !important;
  min-width: 0 !important;
  justify-self: end;
  border: 1px solid rgba(86,88,145,.16) !important;
  background: rgba(255,255,255,.68) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 8px 20px rgba(89,91,151,.08) !important;
}

body.product-detail-page .nav-search-enhanced .nav-search-icon { color: rgba(63,71,117,.68) !important; }
body.product-detail-page .nav-search-enhanced:focus-within .nav-search-icon { color: #626b9c !important; }
body.product-detail-page .nav-search-enhanced #nav-search-input { color: var(--pd-ink) !important; }
body.product-detail-page .nav-search-enhanced #nav-search-input::placeholder { color: rgba(63,71,117,.48) !important; }
body.product-detail-page .nav-search-enhanced > .nav-suggest {
  border-color: var(--pd-line) !important;
  background: rgba(248,247,255,.97) !important;
  box-shadow: 0 20px 42px rgba(76,78,132,.18) !important;
}
body.product-detail-page .nav-search-enhanced .nav-suggest-item {
  color:#242647 !important;
  background:rgba(255,255,255,.48) !important;
}
body.product-detail-page .nav-search-enhanced .nav-suggest-item:hover,
body.product-detail-page .nav-search-enhanced .nav-suggest-item.active {
  border-color:rgba(105,96,205,.2) !important;
  background:#eeedff !important;
}
body.product-detail-page .nav-search-enhanced .nav-suggest-title {
  color:#171936 !important;
  text-shadow:none !important;
}
body.product-detail-page .nav-search-enhanced .nav-suggest-sub {
  color:#777996 !important;
}
body.product-detail-page .nav-search-enhanced .nav-suggest-price {
  color:#8752d7 !important;
  text-shadow:none !important;
}
body.product-detail-page .nav-search-enhanced .nav-suggest-thumb {
  border-color:rgba(92,89,156,.13) !important;
  background:#ececf7 !important;
}
body.product-detail-page .nav-search-enhanced .nav-suggest-empty { color:#777996 !important; }
body.product-detail-page .nav-search-enhanced .nav-suggest-empty-title { color:#171936 !important; }
body.product-detail-page .nav-search-enhanced .nav-suggest-empty-sub { color:#8587a1 !important; }

body.product-detail-page .back {
  width: 44px;
  min-height: 44px;
  justify-content: center;
  border-color: rgba(77,79,132,.15);
  border-radius: 13px;
  padding: 0;
  color: #4a527f;
  background: rgba(255,255,255,.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

body.product-detail-page .back:hover { background: rgba(255,255,255,.76); transform: translateY(-1px); }

/* Product shell */
body.product-detail-page .layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  gap: 26px;
  padding: 20px;
  border: 1px solid var(--pd-line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.44), rgba(222,226,255,.38));
  box-shadow: 0 24px 58px rgba(95,98,163,.14), inset 0 1px 0 rgba(255,255,255,.7);
}

body.product-detail-page .gallery { top: 108px; }

body.product-detail-page .hero-image {
  min-height: 650px;
  border-color: var(--pd-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.9), rgba(247,247,255,.7) 60%, rgba(221,224,250,.7));
  box-shadow: inset 0 1px 0 #fff, 0 16px 36px rgba(76,78,132,.1);
}

body.product-detail-page .hero-image img {
  max-width: 94%;
  max-height: 610px;
  border-radius: 14px;
}

body.product-detail-page .details {
  min-width: 0;
  padding: 10px 8px 4px;
}

body.product-detail-page h1 {
  color: var(--pd-ink);
  font-size: clamp(2.25rem, 3.5vw, 4rem);
  line-height: .98;
}

body.product-detail-page .tag,
body.product-detail-page .pill {
  border-color: rgba(77,79,132,.14);
  color: #48517e;
  background: rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76);
}

body.product-detail-page .buy-row {
  border-bottom-color: var(--pd-line);
}

body.product-detail-page .price { color: #32d978; text-shadow: 0 1px 0 rgba(255,255,255,.75); }

body.product-detail-page .rating {
  border-color: var(--pd-line);
  color: var(--pd-ink);
  background: rgba(255,255,255,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}
body.product-detail-page .rating:hover,
body.product-detail-page .rating:focus-visible,
body.product-detail-page .rating.is-confirmed { border-color: rgba(98,107,156,.3); background: rgba(184,192,255,.3); }
body.product-detail-page .rating .product-rating-value { color: var(--pd-ink); }
body.product-detail-page .rating .product-rating-count { color: var(--pd-muted); }
body.product-detail-page .rating::after,
body.product-detail-page .rating::before { border-color: var(--pd-line); color: var(--pd-ink); background: rgba(248,247,255,.98); box-shadow: 0 16px 36px rgba(76,78,132,.18); }

body.product-detail-page .agent-btn {
  border: 1px solid rgba(255,255,255,.6);
  color: var(--agent-cta-text, var(--pd-ink)) !important;
  background: var(--agent-cta-gradient, linear-gradient(135deg,#b8c0ff,#e7d8ff)) !important;
  box-shadow: 0 12px 26px var(--agent-shadow, rgba(86,89,151,.18)), inset 0 1px 0 rgba(255,255,255,.42);
  transform: translate3d(0,0,0);
  transition: transform .38s cubic-bezier(.22,.75,.25,1), box-shadow .38s ease, filter .3s ease;
  will-change: transform;
}
body.product-detail-page .agent-btn:hover { box-shadow: 0 16px 34px var(--agent-glow, rgba(86,89,151,.28)), inset 0 1px 0 rgba(255,255,255,.5); transform: translate3d(0,-3px,0); }
body.product-detail-page .source-btn {
  border-color: rgba(77,79,132,.16);
  background: #626b9c;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  transform: translate3d(0,0,0);
  transition: transform .38s cubic-bezier(.22,.75,.25,1), box-shadow .38s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
  will-change: transform;
}

body.product-detail-page .section { border-top-color: var(--pd-line); }
body.product-detail-page .section-title,
body.product-detail-page .option-title { color: #414971; }

body.product-detail-page .spec,
body.product-detail-page .agent-link,
body.product-detail-page .empty {
  border-color: var(--pd-line);
  color: var(--pd-ink);
  background: linear-gradient(145deg,rgba(255,255,255,.58),rgba(222,226,255,.42));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74);
}
body.product-detail-page .spec-label,
body.product-detail-page .agent-link small { color: var(--pd-muted); }
body.product-detail-page .spec-value { color: var(--pd-ink); }
body.product-detail-page .spec-info {
  border-color: rgba(77,79,132,.16);
  color: #59618e;
  background: rgba(255,255,255,.5);
}
body.product-detail-page .spec-popover {
  border-color: rgba(77,79,132,.22);
  color: var(--pd-muted);
  background: rgba(248,247,255,.98);
  box-shadow: 0 18px 45px rgba(76,78,132,.18);
}
body.product-detail-page .spec-popover-title { color: var(--pd-ink); }
body.product-detail-page .batch-tier-labels { color: var(--pd-muted); }
body.product-detail-page .batch-tier-popover.is-budget .batch-tier-budget,
body.product-detail-page .batch-tier-popover.is-good .batch-tier-good,
body.product-detail-page .batch-tier-popover.is-top .batch-tier-top { color: var(--pd-ink); }

body.product-detail-page .toggle {
  border-color: rgba(77,79,132,.16);
  color: #48517e;
  background: rgba(255,255,255,.44);
}
body.product-detail-page .qc-item {
  border-color: rgba(77,79,132,.14);
  background: rgba(255,255,255,.52);
  box-shadow: 0 9px 20px rgba(76,78,132,.08);
}

/* Reports and admin tools keep their semantic warning colors, on a light surface. */
body.product-detail-page .report-panel,
body.product-detail-page .admin-update-panel {
  border-color: rgba(116,119,171,.22);
  color: var(--pd-ink);
  background: rgba(248,247,255,.98);
  box-shadow: 0 24px 60px rgba(76,78,132,.22), inset 0 1px 0 #fff;
}
body.product-detail-page .report-panel-header,
body.product-detail-page .report-checkbox-group,
body.product-detail-page .report-checkbox { border-color: var(--pd-line); background: rgba(222,226,255,.28); }
body.product-detail-page .report-panel strong,
body.product-detail-page .report-group-title,
body.product-detail-page .report-checkbox,
body.product-detail-page .report-field-label { color: var(--pd-ink) !important; }
body.product-detail-page .report-select-trigger,
body.product-detail-page .report-select-menu,
body.product-detail-page .report-panel textarea {
  border-color: var(--pd-line);
  color: var(--pd-ink);
  background: rgba(255,255,255,.78);
}
body.product-detail-page .report-select-option { color: var(--pd-muted); }
body.product-detail-page .report-select-option:hover,
body.product-detail-page .report-select-option.active { color: var(--pd-ink); background: rgba(184,192,255,.28); }
body.product-detail-page .report-select-caret { border-color: #59618e; }

body.product-detail-page .admin-update-copy,
body.product-detail-page .admin-update-status { color: var(--pd-muted); }
body.product-detail-page .admin-update-option,
body.product-detail-page .admin-update-log { border-color: var(--pd-line); color: var(--pd-ink); background: rgba(255,255,255,.58); }

/* Loading and empty states */
body.product-detail-page .product-fetch-screen,
body.product-detail-page .missing { color: var(--pd-ink); }
body.product-detail-page .product-fetch-card {
  border-color: var(--pd-line);
  color: var(--pd-ink);
  background: var(--pd-gradient);
  box-shadow: 0 24px 58px rgba(95,98,163,.16), inset 0 1px 0 rgba(255,255,255,.72);
}
body.product-detail-page .product-fetch-card h1 { color: var(--pd-ink); }
body.product-detail-page .product-fetch-card p,
body.product-detail-page .product-fetch-domain { color: var(--pd-muted); }
body.product-detail-page .product-fetch-progress { background: rgba(255,255,255,.42); }
body.product-detail-page .product-fetch-progress::after { background: linear-gradient(90deg,#8d97dc,#c8b6ec); }

/* Product Checker: compact, informative live-fetch state. */
body.product-detail-page :is(#adminEditToggle,#adminUpdateToggle)[hidden] { display:none !important; }

body.product-detail-page .product-fetch-screen {
  min-height:calc(100dvh - 86px);
  padding:40px 20px 72px;
}
body.product-detail-page .product-fetch-card {
  width:min(620px,100%);
  padding:24px 28px 28px;
  border:1px solid rgba(111,104,216,.2);
  border-radius:24px;
  text-align:left;
  background:
    radial-gradient(circle at 82% 0,rgba(157,146,255,.19),transparent 36%),
    linear-gradient(145deg,rgba(255,255,255,.96),rgba(241,241,255,.94));
  box-shadow:0 28px 70px rgba(71,69,137,.17),inset 0 1px 0 #fff;
}
body.product-detail-page .product-fetch-card::before { opacity:.35; }
body.product-detail-page .product-fetch-topline {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
  color:#77799e;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.035em;
  text-transform:uppercase;
}
body.product-detail-page .product-fetch-topline span { display:flex;align-items:center;gap:8px; }
body.product-detail-page .product-fetch-topline span i {
  width:8px;height:8px;border-radius:50%;background:#4cc892;
  box-shadow:0 0 0 5px rgba(76,200,146,.12);
}
body.product-detail-page .product-fetch-topline b {
  min-width:46px;
  padding:6px 9px;
  border:1px solid rgba(100,98,166,.12);
  border-radius:8px;
  color:#65678c;
  background:rgba(255,255,255,.65);
  text-align:center;
}
body.product-detail-page .product-fetch-visual {
  width:68px;
  height:68px;
  margin:0 0 18px;
  border-radius:19px;
  color:#7267e8;
  background:linear-gradient(145deg,#fff,rgba(220,216,255,.68));
  box-shadow:0 14px 28px rgba(104,94,206,.16),inset 0 0 0 1px rgba(255,255,255,.75);
}
body.product-detail-page .product-fetch-visual svg { width:31px; }
body.product-detail-page .product-fetch-visual::after {
  left:11px;right:11px;
  background:linear-gradient(90deg,transparent,#8176ef,transparent);
  box-shadow:0 0 10px rgba(112,98,224,.38);
}
body.product-detail-page .product-fetch-kicker { margin-bottom:7px;color:#766be4;font-size:.64rem; }
body.product-detail-page .product-fetch-card h1 {
  max-width:none;
  color:#17193c;
  font-size:clamp(2rem,5vw,2.75rem);
  line-height:1.05;
  letter-spacing:-.045em;
}
body.product-detail-page .product-fetch-card > p:not(.product-fetch-status) {
  max-width:480px;
  margin:10px 0 0;
  color:#747695;
  font-size:.82rem;
  line-height:1.55;
}
body.product-detail-page .product-fetch-source {
  position:relative;
  display:grid;
  grid-template-columns:28px auto 1fr;
  align-items:center;
  gap:9px;
  margin-top:18px;
  padding:10px 12px;
  border:1px solid rgba(105,102,178,.12);
  border-radius:12px;
  color:#898aa7;
  background:rgba(255,255,255,.58);
  font-size:.7rem;
}
body.product-detail-page .product-fetch-source i {
  display:grid;width:28px;height:28px;place-items:center;border-radius:8px;
  color:#7168db;background:#ebe9ff;font-style:normal;font-weight:900;
}
body.product-detail-page .product-fetch-source strong { justify-self:end;color:#3d3f68;font-size:.72rem; }
body.product-detail-page .product-fetch-progress {
  height:6px;
  margin-top:22px;
  background:#e1e3f5;
}
body.product-detail-page .product-fetch-progress::after { display:none; }
body.product-detail-page .product-fetch-progress i {
  display:block;
  width:18%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#7569e6,#9b91f1);
  box-shadow:0 3px 10px rgba(108,95,220,.24);
  transition:width .55s cubic-bezier(.22,1,.36,1);
}
body.product-detail-page .product-fetch-progress[data-stage="2"] i { width:58%; }
body.product-detail-page .product-fetch-progress[data-stage="3"] i { width:86%; }
body.product-detail-page .product-fetch-steps {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:18px;
  color:#9697af;
  font-size:inherit;
  letter-spacing:0;
  text-transform:none;
}
body.product-detail-page .product-fetch-steps span {
  display:grid;
  grid-template-columns:27px 1fr;
  grid-template-rows:auto auto;
  column-gap:8px;
  align-items:center;
  min-width:0;
  padding:9px;
  border:1px solid transparent;
  border-radius:11px;
  transition:.25s ease;
}
body.product-detail-page .product-fetch-steps span i {
  grid-row:1/3;
  display:grid;
  width:27px;height:27px;
  place-items:center;
  border-radius:50%;
  color:#9698b4;
  background:#e9eaf5;
  font-size:.65rem;
  font-style:normal;
  font-weight:900;
}
body.product-detail-page .product-fetch-steps span b { color:#737591;font-size:.68rem;white-space:nowrap; }
body.product-detail-page .product-fetch-steps span small { margin-top:2px;color:#aaaabd;font-size:.55rem;white-space:nowrap; }
body.product-detail-page .product-fetch-steps span.is-active {
  border-color:rgba(117,105,230,.16);
  background:rgba(233,231,255,.65);
}
body.product-detail-page .product-fetch-steps span.is-active i { color:#fff;background:#776be6;box-shadow:0 5px 12px rgba(100,88,213,.24); }
body.product-detail-page .product-fetch-steps span.is-active b { color:#4b477c; }
body.product-detail-page .product-fetch-steps span.is-complete i { color:#fff;background:#51bc8c; }
body.product-detail-page .product-fetch-status {
  position:relative;
  min-height:18px;
  margin:15px 0 0 !important;
  color:#77799a !important;
  font-size:.66rem !important;
  font-weight:700 !important;
  text-align:center;
}

/* Full live-lookup dashboard in the Finds periwinkle palette. */
body.product-detail-page .product-fetch-screen {
  padding:44px 22px 76px;
  background:
    radial-gradient(circle at 12% 8%,rgba(231,216,255,.72),transparent 28%),
    radial-gradient(circle at 88% 82%,rgba(184,192,255,.58),transparent 30%),
    linear-gradient(145deg,#eeebfb,#dfe3fb);
}
body.product-detail-page .product-fetch-card {
  width:min(1120px,100%);
  padding:34px 42px 36px;
  border-color:rgba(77,79,132,.13);
  border-radius:25px;
  background:linear-gradient(150deg,rgba(255,255,255,.91),rgba(247,247,255,.8));
  box-shadow:0 30px 75px rgba(77,79,132,.18),inset 0 1px 0 #fff;
  backdrop-filter:blur(22px);
}
body.product-detail-page .product-fetch-topline { margin-bottom:30px;color:#626b9c; }
body.product-detail-page .product-fetch-topline b {
  display:flex;align-items:center;gap:7px;min-width:72px;padding:7px 11px;
  border-color:rgba(104,115,184,.13);border-radius:999px;
  color:#6873b8;background:rgba(184,192,255,.25);
}
body.product-detail-page .product-fetch-topline b svg { width:13px;height:13px;fill:currentColor; }
body.product-detail-page .product-fetch-hero { display:flex;align-items:center;gap:28px;margin-bottom:28px; }
body.product-detail-page .product-fetch-visual {
  flex:0 0 108px;width:108px;height:108px;margin:0;border-radius:27px;
  color:#6873b8;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(220,224,255,.72));
  box-shadow:0 16px 34px rgba(77,79,132,.12),inset 0 0 0 1px rgba(104,115,184,.16);
}
body.product-detail-page .product-fetch-visual svg { width:48px; }
body.product-detail-page .product-fetch-visual::after {
  left:18px;right:18px;background:linear-gradient(90deg,transparent,#818bd0,transparent);
  box-shadow:0 0 12px rgba(104,115,184,.34);
}
body.product-detail-page .product-fetch-copy { min-width:0; }
body.product-detail-page .product-fetch-kicker { color:#6873b8;font-size:.67rem; }
body.product-detail-page .product-fetch-card h1 { color:#202037;font-size:clamp(2.25rem,5vw,3.15rem); }
body.product-detail-page .product-fetch-copy p { margin:12px 0 0;color:#697096;font-size:.86rem;line-height:1.55; }
body.product-detail-page .product-fetch-source {
  min-height:68px;margin-top:0;padding:12px 16px;border-color:rgba(77,79,132,.11);border-radius:14px;
  background:rgba(255,255,255,.44);box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
body.product-detail-page .product-fetch-source i { color:#6873b8;background:linear-gradient(145deg,#e7eaff,#dddfff); }
body.product-detail-page .product-fetch-source strong { color:#353b63; }
body.product-detail-page .product-fetch-progress-panel {
  margin-top:24px;padding:21px 22px 20px;border:1px solid rgba(77,79,132,.11);border-radius:16px;
  background:rgba(255,255,255,.38);box-shadow:inset 0 1px 0 rgba(255,255,255,.76);
}
body.product-detail-page .product-fetch-progress-head { display:flex;align-items:center;justify-content:space-between;color:#59649d;font-size:.64rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase; }
body.product-detail-page .product-fetch-progress-head b { color:#6873b8;font-size:.77rem;letter-spacing:0; }
body.product-detail-page .product-fetch-progress { height:8px;margin-top:14px;background:rgba(184,192,255,.2); }
body.product-detail-page .product-fetch-progress i { background:linear-gradient(90deg,#818bd0,#b8c0ff,#d5c7f3);box-shadow:0 4px 12px rgba(104,115,184,.2); }
body.product-detail-page .product-fetch-steps { margin-top:22px; }
body.product-detail-page .product-fetch-steps span { padding:8px 6px; }
body.product-detail-page .product-fetch-steps span.is-active { border-color:transparent;background:transparent; }
body.product-detail-page .product-fetch-steps span.is-active i { background:#818bd0;box-shadow:0 0 0 5px rgba(184,192,255,.3),0 5px 13px rgba(77,79,132,.18); }
body.product-detail-page .product-fetch-steps span.is-complete i { color:#2fad7d;background:#effff8;box-shadow:inset 0 0 0 1px rgba(47,173,125,.2); }
body.product-detail-page .product-fetch-status {
  display:flex;align-items:center;gap:14px;min-height:64px;margin:18px 0 0!important;padding:12px 16px;
  border:1px solid rgba(104,115,184,.1);border-radius:14px;color:#50587f!important;
  background:linear-gradient(135deg,rgba(231,216,255,.38),rgba(184,192,255,.25));text-align:left;
}
body.product-detail-page .product-fetch-status i {
  width:22px;height:22px;display:block;flex:0 0 22px;box-sizing:border-box;
  border:2px solid rgba(104,115,184,.2);border-top-color:#7479cf;border-radius:50%;
  animation:product-fetch-spin .75s linear infinite;
}
body.product-detail-page .product-fetch-status span { min-width:0; }
body.product-detail-page .product-fetch-status b,
body.product-detail-page .product-fetch-status small { display:block; }
body.product-detail-page .product-fetch-status b { color:#4d507a;font-size:.69rem; }
body.product-detail-page .product-fetch-status small { margin-top:4px;color:#8587a6;font-size:.56rem; }
body.product-detail-page .product-fetch-benefits {
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px;padding-top:19px;
  border-top:1px solid rgba(77,79,132,.1);
}
body.product-detail-page .product-fetch-benefits > span {
  display:grid;grid-template-columns:30px 1fr;align-items:center;column-gap:9px;min-width:0;
  padding:10px;border:1px solid rgba(104,115,184,.09);border-radius:12px;background:rgba(255,255,255,.28);
}
body.product-detail-page .product-fetch-benefits i {
  grid-row:1/3;width:30px;height:30px;display:grid;place-items:center;border-radius:9px;
  color:#6c70c2;background:linear-gradient(145deg,#eee7ff,#dce2ff);font-style:normal;font-size:.85rem;
}
body.product-detail-page .product-fetch-benefits b { color:#555985;font-size:.59rem;white-space:nowrap; }
body.product-detail-page .product-fetch-benefits small { margin-top:2px;color:#9293aa;font-size:.5rem;white-space:nowrap; }
@keyframes product-fetch-spin { to { transform:rotate(360deg); } }

body.product-detail-page .product-fetch-dashboard { display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);gap:16px;align-items:stretch; }
body.product-detail-page .product-fetch-dashboard-main { display:flex;min-width:0;flex-direction:column;gap:16px; }
body.product-detail-page .product-fetch-dashboard-main .product-fetch-progress-panel { margin-top:0; }
body.product-detail-page .product-fetch-activity,
body.product-detail-page .product-fetch-preview { border:1px solid rgba(77,79,132,.12);border-radius:16px;background:rgba(255,255,255,.4);box-shadow:inset 0 1px 0 rgba(255,255,255,.78); }
body.product-detail-page .product-fetch-activity { padding:15px 16px; }
body.product-detail-page .product-fetch-activity > header,
body.product-detail-page .product-fetch-preview > header { display:flex;align-items:center;justify-content:space-between;color:#62679b;font-size:.57rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase; }
body.product-detail-page .product-fetch-activity > header span,
body.product-detail-page .product-fetch-preview > header span { display:flex;align-items:center;gap:7px; }
body.product-detail-page .product-fetch-activity > header i,
body.product-detail-page .product-fetch-preview > header i { width:7px;height:7px;border-radius:50%;background:#51c997;box-shadow:0 0 0 4px rgba(81,201,151,.1); }
body.product-detail-page .product-fetch-activity > header small { color:#999ab0;font-size:.49rem;letter-spacing:0;text-transform:none; }
body.product-detail-page .product-fetch-activity-row { display:grid;grid-template-columns:22px 38px 1fr;align-items:center;gap:8px;min-height:35px;color:#9293aa;font-size:.54rem; }
body.product-detail-page .product-fetch-activity-row > i { width:17px;height:17px;display:grid;place-items:center;box-sizing:border-box;border:1px solid rgba(108,112,194,.2);border-radius:50%;font-size:.48rem;font-style:normal; }
body.product-detail-page .product-fetch-activity-row time { color:#a1a2b6;font-size:.5rem; }
body.product-detail-page .product-fetch-activity-row span { display:flex;align-items:center;justify-content:space-between;gap:10px; }
body.product-detail-page .product-fetch-activity-row span b { color:#777993;font-size:.57rem; }
body.product-detail-page .product-fetch-activity-row span small { color:#a0a1b5;font-size:.49rem; }
body.product-detail-page .product-fetch-activity-row.is-complete > i { color:#278d68;border-color:rgba(47,173,125,.24);background:#e9fff6; }
body.product-detail-page .product-fetch-activity-row.is-complete span small { color:#3da77e; }
body.product-detail-page .product-fetch-activity-row.is-active { color:#50547d; }
body.product-detail-page .product-fetch-activity-row.is-active > i { border:2px solid rgba(116,121,207,.2);border-top-color:#7479cf;animation:product-fetch-spin .75s linear infinite; }
body.product-detail-page .product-fetch-activity-row.is-active span b { color:#3f4268; }
body.product-detail-page .product-fetch-activity-row.is-active span small { color:#656ac0; }
body.product-detail-page .product-fetch-preview { padding:17px; }
body.product-detail-page .product-fetch-preview > header { display:grid;grid-template-columns:1fr;gap:9px; }
body.product-detail-page .product-fetch-preview > header small { color:#8f91aa;font-size:.54rem;font-weight:600;letter-spacing:0;text-transform:none; }
body.product-detail-page .product-fetch-skeleton { display:grid;grid-template-columns:1fr 1.15fr;gap:10px;margin-top:15px;padding:14px;border:1px solid rgba(77,79,132,.08);border-radius:13px;background:rgba(231,233,249,.44); }
body.product-detail-page .product-fetch-skeleton-image { height:122px;display:grid;place-items:center;border-radius:9px;color:#a2a4c8;background:linear-gradient(145deg,#e8e9f6,#dddff0);font-size:1.8rem; }
body.product-detail-page .product-fetch-skeleton-copy { display:flex;flex-direction:column;gap:8px;padding-top:4px; }
body.product-detail-page .product-fetch-skeleton-copy > i,
body.product-detail-page .product-fetch-skeleton-lines i { height:7px;display:block;border-radius:999px;background:#d8daec; }
body.product-detail-page .product-fetch-skeleton-copy > i:nth-child(2) { width:72%; }.product-fetch-skeleton-copy > i:nth-child(3){width:54%}
body.product-detail-page .product-fetch-skeleton-copy b { display:flex;gap:7px;margin-top:3px; }.product-fetch-skeleton-copy em{width:42px;height:18px;border-radius:999px;background:#dfe1f0}
body.product-detail-page .product-fetch-skeleton-thumbs { display:grid;grid-template-columns:repeat(3,1fr);gap:7px; }.product-fetch-skeleton-thumbs i{height:45px;border-radius:7px;background:#dfe1f0}
body.product-detail-page .product-fetch-skeleton-lines { display:flex;flex-direction:column;gap:7px;padding-top:5px; }.product-fetch-skeleton-lines i:nth-child(2){width:86%}.product-fetch-skeleton-lines i:nth-child(3){width:68%}.product-fetch-skeleton-lines i:nth-child(4){width:52%}
body.product-detail-page .product-fetch-benefits { grid-template-columns:repeat(4,1fr); }
@media (max-width:600px) {
  body.product-detail-page .product-fetch-screen { padding:20px 12px 50px; }
  body.product-detail-page .product-fetch-card { padding:20px 17px 22px;border-radius:19px; }
  body.product-detail-page .product-fetch-card h1 { font-size:2rem; }
  body.product-detail-page .product-fetch-hero { align-items:flex-start;gap:15px; }
  body.product-detail-page .product-fetch-visual { flex-basis:72px;width:72px;height:72px;border-radius:20px; }
  body.product-detail-page .product-fetch-visual svg { width:34px; }
  body.product-detail-page .product-fetch-progress-panel { padding:17px 14px; }
  body.product-detail-page .product-fetch-steps { grid-template-columns:1fr; }
  body.product-detail-page .product-fetch-steps span { padding:7px 9px; }
  body.product-detail-page .product-fetch-benefits { grid-template-columns:1fr; }
}
@media (max-width:850px) {
  body.product-detail-page .product-fetch-dashboard { grid-template-columns:1fr; }
  body.product-detail-page .product-fetch-preview { display:none; }
  body.product-detail-page .product-fetch-benefits { grid-template-columns:repeat(2,1fr); }
}

/* Borderless reference composition: dashboard content sits directly on the page. */
body.product-detail-page .product-fetch-screen {
  min-height:0;
  height:calc(100dvh - 86px);
  display:block;
  box-sizing:border-box;
  padding:14px clamp(24px,4vw,64px) 16px;
  overflow:hidden;
  background:transparent !important;
}
body.product-detail-page .product-fetch-card {
  width:min(1180px,100%);
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
body.product-detail-page .product-fetch-card::before { display:none; }
body.product-detail-page .product-fetch-topline { margin-bottom:13px; }
body.product-detail-page .product-fetch-hero { margin-bottom:16px; }
body.product-detail-page .product-fetch-visual { display:none; }
body.product-detail-page .product-fetch-kicker { display:none; }
body.product-detail-page .product-fetch-card h1 {
  font-size:clamp(2.6rem,5.2vw,4.2rem);
  letter-spacing:-.055em;
}
body.product-detail-page .product-fetch-copy p { margin-top:7px; }
body.product-detail-page .product-fetch-dashboard {
  grid-template-columns:minmax(0,1.42fr) minmax(330px,.98fr);
  gap:16px;
}
body.product-detail-page .product-fetch-dashboard-main { gap:12px; }
body.product-detail-page .product-fetch-source,
body.product-detail-page .product-fetch-progress-panel,
body.product-detail-page .product-fetch-activity,
body.product-detail-page .product-fetch-preview {
  border-color:rgba(73,75,126,.15);
  background:rgba(255,255,255,.34);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 10px 28px rgba(77,79,132,.055);
}
body.product-detail-page .product-fetch-source { min-height:58px; }
body.product-detail-page .product-fetch-progress-panel { padding:17px 20px 15px; }
body.product-detail-page .product-fetch-progress { margin-top:10px; }
body.product-detail-page .product-fetch-steps { margin-top:14px; }
body.product-detail-page .product-fetch-activity { flex:1;padding:12px 16px; }
body.product-detail-page .product-fetch-activity-row { min-height:29px; }
body.product-detail-page .product-fetch-preview { display:flex;flex-direction:column;padding:15px; }
body.product-detail-page .product-fetch-skeleton { flex:1;min-height:238px;margin-top:11px; }
body.product-detail-page .product-fetch-skeleton-image { height:108px; }
body.product-detail-page .product-fetch-benefits {
  margin-top:13px;padding:7px;
  border:1px solid rgba(73,75,126,.13);border-radius:14px;
  background:rgba(255,255,255,.27);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68);
}
body.product-detail-page .product-fetch-benefits > span { border:0;background:transparent; }
body.product-detail-page .product-fetch-benefits > span { padding:7px; }
@media(max-width:850px){
  body.product-detail-page .product-fetch-screen{height:auto;min-height:calc(100dvh - 86px);padding:18px 18px 30px;overflow:visible}
  body.product-detail-page .product-fetch-dashboard{grid-template-columns:1fr}
  body.product-detail-page .product-fetch-preview{display:none}
}

/* Lightbox */
body.product-detail-page .lightbox { background: rgba(31,31,54,.78); }
body.product-detail-page .lightbox button { border-color: rgba(255,255,255,.34); color: var(--pd-ink); background: rgba(245,244,255,.92); }

/* Product admin controls: clear, high-contrast periwinkle system. */
body.product-detail-page :is(.admin-edit-toggle,.admin-update-toggle,.report-btn) {
  width:42px;
  height:42px;
  border-radius:13px;
  box-shadow:0 8px 18px rgba(76,78,132,.1),inset 0 1px 0 rgba(255,255,255,.88);
  opacity:1;
  filter:none;
}
body.product-detail-page .admin-edit-toggle {
  border-color:rgba(72,83,139,.2);
  color:#4d588e;
  background:linear-gradient(145deg,#edf0ff,#dce1ff);
}
body.product-detail-page .admin-update-toggle {
  border-color:rgba(100,108,174,.2);
  color:#59649d;
  background:linear-gradient(145deg,#e4e7ff,#e8ddff);
}
body.product-detail-page .report-btn {
  border-color:rgba(190,76,105,.2);
  color:#aa4963;
  background:linear-gradient(145deg,#fff0f4,#f9dfe8);
}
body.product-detail-page :is(.admin-edit-toggle,.admin-update-toggle,.report-btn):hover {
  transform:translateY(-2px);
  filter:none;
  box-shadow:0 12px 24px rgba(76,78,132,.15),inset 0 1px 0 #fff;
}
body.product-detail-page .admin-edit-toggle:hover,
body.product-detail-page .admin-edit-toggle.active {
  border-color:rgba(72,83,139,.32);
  color:#fff;
  background:linear-gradient(145deg,#6975b5,#515d98);
}
body.product-detail-page .admin-update-toggle:hover,
body.product-detail-page .admin-update-toggle.active {
  border-color:rgba(91,101,166,.28);
  color:#3f497a;
  background:linear-gradient(145deg,#d4d9ff,#dfd3ff);
  box-shadow:0 12px 24px rgba(76,78,132,.14),inset 0 1px 0 #fff;
}
body.product-detail-page .report-btn:hover {
  border-color:rgba(190,76,105,.34);
  color:#963d57;
  background:linear-gradient(145deg,#ffe9ef,#f5d3df);
}

/* Report opens only after a click, never just by crossing it with the mouse. */
body.product-detail-page .report-icon-wrap:hover .report-panel:not(.open) {
  opacity:0;
  pointer-events:none;
  transform:translateY(-4px);
}
body.product-detail-page .report-panel {
  width:min(430px,calc(100vw - 28px));
  overflow-y:auto;
  border:1px solid rgba(91,100,158,.16);
  border-radius:21px;
  color:var(--pd-ink);
  background:linear-gradient(155deg,#faf9ff 0%,#eef0ff 100%);
  box-shadow:0 26px 64px rgba(54,58,111,.24),inset 0 1px 0 #fff;
}
body.product-detail-page .report-panel-header {
  padding:18px 19px 15px;
  border-bottom:1px solid rgba(77,79,132,.1);
  border-radius:20px 20px 0 0;
  background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(231,233,255,.58));
}
body.product-detail-page .report-panel-header strong { color:#202037!important;font-size:1rem; }
body.product-detail-page .report-panel-hint { color:rgba(36,37,70,.53)!important;opacity:1; }
body.product-detail-page .report-field-label { color:#505986!important; }
body.product-detail-page .report-select-trigger {
  border:1px solid rgba(77,79,132,.14);
  color:#292a45;
  background:#f7f6ff;
  box-shadow:inset 0 1px 0 #fff;
}
body.product-detail-page .report-select-trigger:hover,
body.product-detail-page .report-select.open .report-select-trigger {
  border-color:rgba(91,101,162,.28);
  color:#202037;
  background:#f0f1ff;
}
body.product-detail-page .report-select-menu {
  border:1px solid rgba(77,79,132,.14);
  color:#292a45;
  background:#f8f7ff;
  box-shadow:0 18px 38px rgba(54,58,111,.2);
}
body.product-detail-page .report-select-option { color:#505166; }
body.product-detail-page .report-select-option:hover { color:#292a45;background:#e8eafb; }
body.product-detail-page .report-select-option.active { color:#30375f;background:linear-gradient(135deg,#dfe3ff,#ece4ff); }
body.product-detail-page .report-select-option.active::after { border-color:#6873aa; }
body.product-detail-page .report-checkbox-group { border-color:rgba(77,79,132,.11);background:rgba(235,237,255,.62); }
body.product-detail-page .report-checkbox { border-color:rgba(77,79,132,.1)!important;color:#35364f!important;background:rgba(255,255,255,.58)!important; }
body.product-detail-page .report-checkbox:hover { border-color:rgba(91,101,162,.2)!important;background:#fff!important; }
body.product-detail-page .report-checkbox input { accent-color:#6873b8; }
body.product-detail-page .report-panel textarea { border-color:rgba(77,79,132,.13);color:#292a45;background:#fff; }
body.product-detail-page .report-submit {
  border-color:rgba(255,255,255,.68);
  color:#303653;
  background:linear-gradient(135deg,#d7dcff,#e9dfff);
  box-shadow:0 11px 24px rgba(76,78,132,.13),inset 0 1px 0 #fff;
}
body.product-detail-page .report-submit:hover { border-color:rgba(91,101,162,.24);color:#202037;background:linear-gradient(135deg,#cfd5ff,#e4d8ff); }

/* Refresh product panel. */
body.product-detail-page .admin-update-panel {
  padding:20px;
  border:1px solid rgba(77,79,132,.13);
  border-radius:20px;
  background:radial-gradient(circle at 100% 0,rgba(255,255,255,.7),transparent 31%),linear-gradient(145deg,rgba(247,247,255,.88),rgba(224,228,255,.72));
  box-shadow:0 18px 44px rgba(76,78,132,.11),inset 0 1px 0 #fff;
}
body.product-detail-page .admin-update-panel::before { width:4px;background:linear-gradient(180deg,#8791d1,#b7bdf2 70%,transparent); }
body.product-detail-page .admin-update-panel::after { border-color:rgba(91,101,162,.08); }
body.product-detail-page .admin-update-head-icon { border-color:rgba(91,101,162,.14);color:#59649d;background:linear-gradient(145deg,#dce1ff,#e9dfff);box-shadow:inset 0 1px 0 #fff; }
body.product-detail-page .admin-update-title { color:#202037!important; }
body.product-detail-page .admin-update-copy { color:rgba(36,37,70,.54)!important; }
body.product-detail-page .admin-update-option { border-color:rgba(77,79,132,.11);color:#34364f;background:rgba(255,255,255,.55);box-shadow:inset 0 1px 0 rgba(255,255,255,.82); }
body.product-detail-page .admin-update-option:hover { border-color:rgba(91,101,162,.2);color:#202037;background:rgba(255,255,255,.78); }
body.product-detail-page .admin-update-option:has(input:checked) { border-color:rgba(91,101,162,.25);color:#262943;background:linear-gradient(135deg,rgba(207,213,255,.68),rgba(231,222,255,.62)); }
body.product-detail-page .admin-update-option input { border-color:rgba(77,79,132,.22);background:#fff; }
body.product-detail-page .admin-update-option input:checked { border-color:#6873b8;background:linear-gradient(135deg,#7b86c7,#626da9);box-shadow:0 0 0 3px rgba(104,115,184,.1); }
body.product-detail-page .admin-update-run,
body.product-detail-page .admin-update-reload { border-color:rgba(255,255,255,.66);color:#29304f;background:linear-gradient(135deg,#c8ceff,#e3d8ff);box-shadow:0 9px 20px rgba(76,78,132,.12),inset 0 1px 0 #fff; }
body.product-detail-page .admin-update-reload { background:linear-gradient(135deg,#edf0ff,#dce2ff); }
body.product-detail-page :is(.admin-update-run,.admin-update-reload):hover { border-color:rgba(91,101,162,.24);filter:none;background:linear-gradient(135deg,#bec5fb,#ddd0fa); }
body.product-detail-page .admin-update-status { color:#515a88!important; }
body.product-detail-page .admin-update-log { border-color:rgba(77,79,132,.13);color:#313653;background:#f5f5ff;box-shadow:inset 0 1px 5px rgba(76,78,132,.06); }

/* Edit mode uses calm blue focus states instead of yellow outlines and black fields. */
body.product-detail-page #product-page-container.admin-edit-mode .admin-edit-active {
  outline:2px solid rgba(91,101,162,.34)!important;
  outline-offset:3px;
  border-radius:9px;
  color:var(--pd-ink)!important;
  background:rgba(226,229,255,.42)!important;
  box-shadow:0 0 0 5px rgba(104,115,184,.055);
}
body.product-detail-page #product-page-container.admin-edit-mode .admin-edit-active:hover { background:rgba(216,220,255,.56)!important; }
body.product-detail-page .admin-add-tag-btn { border-color:rgba(91,101,162,.24)!important;color:#535e94!important;background:rgba(226,229,255,.48)!important; }
body.product-detail-page .admin-add-tag-btn:hover { color:#343c68!important;background:rgba(211,216,255,.72)!important; }
body.product-detail-page .admin-field-select,
body.product-detail-page .admin-field-input { border:1px solid rgba(77,79,132,.2);border-radius:10px;color:#202037;background:#f8f7ff;box-shadow:inset 0 1px 0 #fff; }
body.product-detail-page .admin-field-select:focus,
body.product-detail-page .admin-field-input:focus { border-color:rgba(91,101,162,.42);box-shadow:0 0 0 3px rgba(104,115,184,.1); }
body.product-detail-page #product-page-container:not(.admin-edit-mode) .admin-field-select { color:var(--pd-ink);background:transparent; }
body.product-detail-page .hero-image.admin-drag-over { border-color:#6873b8!important;background:rgba(207,213,255,.35)!important; }

body.product-detail-page .admin-product-image-tools {
  position:absolute;
  z-index:12;
  left:50%;
  bottom:16px;
  display:none;
  align-items:center;
  gap:8px;
  padding:7px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:14px;
  background:rgba(246,246,255,.88);
  box-shadow:0 14px 34px rgba(49,53,102,.2),inset 0 1px 0 #fff;
  backdrop-filter:blur(18px);
  transform:translateX(-50%);
}
body.product-detail-page #product-page-container.admin-edit-mode .admin-product-image-tools { display:flex; }
body.product-detail-page .admin-product-image-tools button,
body.product-detail-page .admin-product-image-tools label {
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 12px;
  border:1px solid rgba(104,115,184,.14);
  border-radius:10px;
  color:#4f598d;
  background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(222,226,255,.72));
  font:inherit;
  font-size:.61rem;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
}
body.product-detail-page .admin-product-image-tools button:hover,
body.product-detail-page .admin-product-image-tools label:hover { border-color:rgba(104,115,184,.28);background:linear-gradient(145deg,#fff,#d7dcff); }

body.product-detail-page .admin-image-qc-picker {
  position:absolute;
  z-index:20;
  inset:12px;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.8);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(248,248,255,.97),rgba(225,228,252,.96));
  box-shadow:0 22px 55px rgba(42,46,93,.25),inset 0 1px 0 #fff;
  backdrop-filter:blur(22px);
}
body.product-detail-page .admin-image-qc-picker[hidden] { display:none!important; }
body.product-detail-page .admin-image-qc-picker > header {
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:12px 14px 12px 17px;
  border-bottom:1px solid rgba(77,79,132,.1);
}
body.product-detail-page .admin-image-qc-picker > header > div { display:grid;gap:3px; }
body.product-detail-page .admin-image-qc-picker > header span { color:#6873b8;font-size:.5rem;font-weight:950;letter-spacing:.12em; }
body.product-detail-page .admin-image-qc-picker > header strong { color:#252943;font-size:.78rem; }
body.product-detail-page .admin-image-qc-picker > header button {
  width:35px;height:35px;border:1px solid rgba(77,79,132,.12);border-radius:10px;color:#59628f;background:rgba(255,255,255,.68);cursor:pointer;font-size:1rem;
}
body.product-detail-page .admin-image-qc-picker > div {
  min-height:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-content:start;
  gap:8px;
  padding:12px;
  overflow:auto;
  scrollbar-color:#aeb7e9 transparent;
}
body.product-detail-page .admin-image-qc-picker > div > button {
  position:relative;
  aspect-ratio:1;
  padding:0;
  overflow:hidden;
  border:2px solid transparent;
  border-radius:11px;
  background:#e7e8f8;
  cursor:pointer;
}
body.product-detail-page .admin-image-qc-picker > div > button:hover { border-color:#7d88ca; }
body.product-detail-page .admin-image-qc-picker > div > button img { width:100%;height:100%;object-fit:cover; }
body.product-detail-page .admin-image-qc-picker > div > button span {
  position:absolute;right:4px;bottom:4px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 4px;border-radius:7px;color:#fff;background:rgba(39,42,72,.72);font-size:.48rem;font-weight:900;
}
body.product-detail-page .admin-image-qc-picker > div > p { grid-column:1/-1;margin:auto;color:#737995;font-size:.68rem; }

@media(max-width:620px) {
  body.product-detail-page .admin-product-image-tools { width:calc(100% - 24px);bottom:12px; }
  body.product-detail-page .admin-product-image-tools > * { flex:1;min-width:0;padding:0 8px; }
  body.product-detail-page .admin-product-image-tools span { overflow:hidden;text-overflow:ellipsis; }
  body.product-detail-page .admin-image-qc-picker > div { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* Refined product metadata, source action, edit selects and info helpers. */
body.product-detail-page .tags { gap:8px; }
body.product-detail-page .tag {
  min-height:31px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 11px;
  border:1px solid rgba(77,79,132,.11);
  border-radius:10px;
  color:#4b5485;
  background:linear-gradient(145deg,rgba(255,255,255,.66),rgba(226,229,255,.52));
  box-shadow:0 6px 14px rgba(76,78,132,.06),inset 0 1px 0 rgba(255,255,255,.9);
  font-size:.63rem;
  font-weight:900;
  letter-spacing:.025em;
  text-transform:none;
}
body.product-detail-page .tag::before {
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#8c96d1;
  box-shadow:0 0 0 3px rgba(140,150,209,.12);
}
body.product-detail-page .tag.brand {
  color:#665483;
  background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(235,224,255,.56));
}
body.product-detail-page .tag.brand::before { border-radius:2px;background:#ad8ac9;box-shadow:0 0 0 3px rgba(173,138,201,.11);transform:rotate(45deg); }
body.product-detail-page .tag:hover { border-color:rgba(91,101,162,.22);background:linear-gradient(145deg,#f8f8ff,#e1e5ff);transform:translateY(-1px); }
body.product-detail-page .tag.brand:hover { background:linear-gradient(145deg,#faf8ff,#eadfff); }

body.product-detail-page .source-btn {
  width:62px;
  min-height:58px;
  border:1px solid rgba(77,79,132,.14);
  border-radius:14px;
  color:#505b91;
  background:linear-gradient(145deg,#f7f7ff,#dfe4ff);
  box-shadow:0 10px 22px rgba(76,78,132,.1),inset 0 1px 0 #fff;
}
body.product-detail-page .source-btn svg { width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
body.product-detail-page .source-btn:hover { border-color:rgba(91,101,162,.25);color:#343e70;background:linear-gradient(145deg,#ecefff,#d5dcff);box-shadow:0 15px 30px rgba(76,78,132,.16),inset 0 1px 0 #fff;transform:translate3d(0,-3px,0); }

body.product-detail-page .agent-btn:active,
body.product-detail-page .source-btn:active {
  transform: translate3d(0,-1px,0);
  transition-duration: .14s;
}

/* Completely neutralize the hidden admin select outside edit mode. */
body.product-detail-page #product-page-container:not(.admin-edit-mode) .admin-field-select {
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  color:var(--pd-ink)!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  appearance:none!important;
  pointer-events:none!important;
}
body.product-detail-page #product-page-container.admin-edit-mode .admin-field-select {
  min-height:42px;
  padding:0 42px 0 13px;
  border:1px solid rgba(77,79,132,.18);
  border-radius:12px;
  color:#292a45;
  background-color:#f8f7ff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2359649d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 13px center;
  background-size:14px;
  box-shadow:0 7px 16px rgba(76,78,132,.06),inset 0 1px 0 #fff;
  appearance:none;
  cursor:pointer;
}
body.product-detail-page #product-page-container.admin-edit-mode .admin-field-select:hover { border-color:rgba(91,101,162,.28);background-color:#fff; }
body.product-detail-page #product-page-container.admin-edit-mode .admin-field-select:focus { border-color:rgba(91,101,162,.42);background-color:#fff;box-shadow:0 0 0 3px rgba(104,115,184,.1),inset 0 1px 0 #fff; }
body.product-detail-page .admin-field-select option { color:#292a45;background:#f8f7ff;font-weight:750; }

body.product-detail-page .spec { overflow:visible;border-radius:15px;padding:14px 44px 14px 15px;background:linear-gradient(145deg,rgba(255,255,255,.64),rgba(226,230,255,.46));box-shadow:0 8px 20px rgba(76,78,132,.055),inset 0 1px 0 rgba(255,255,255,.88); }
body.product-detail-page .spec-info {
  top:11px;
  right:11px;
  width:24px;
  height:24px;
  border:1px solid rgba(77,79,132,.13);
  color:#5b6598;
  background:linear-gradient(145deg,#fff,#e7eaff);
  box-shadow:0 5px 12px rgba(76,78,132,.07),inset 0 1px 0 #fff;
  font-size:.68rem;
}
body.product-detail-page .spec-info:hover,
body.product-detail-page .spec-info:focus-visible { border-color:rgba(91,101,162,.28);color:#fff;background:linear-gradient(145deg,#7c87c5,#626da9);box-shadow:0 7px 16px rgba(76,78,132,.14); }
body.product-detail-page .spec-popover {
  right:8px;
  bottom:calc(100% + 9px);
  width:min(260px,calc(100vw - 42px));
  padding:14px 15px;
  border:1px solid rgba(77,79,132,.13);
  border-radius:15px;
  color:rgba(36,37,70,.6);
  background:linear-gradient(155deg,#fbfaff,#eff1ff);
  box-shadow:0 20px 48px rgba(54,58,111,.2),inset 0 1px 0 #fff;
}
body.product-detail-page .spec-popover::after { content:"";position:absolute;right:12px;top:100%;width:11px;height:11px;border-right:1px solid rgba(77,79,132,.13);border-bottom:1px solid rgba(77,79,132,.13);background:#eff1ff;transform:translateY(-6px) rotate(45deg); }
body.product-detail-page .spec-popover-title { display:flex;align-items:center;gap:7px;margin-bottom:6px;color:#292a45;font-size:.75rem; }
body.product-detail-page .spec-popover-title::before { content:"i";width:18px;height:18px;display:grid;place-items:center;border-radius:6px;color:#fff;background:#6873aa;font-size:.59rem;font-weight:950; }
body.product-detail-page .spec-popover-copy { color:rgba(36,37,70,.58);font-size:.69rem;line-height:1.55; }

/* Simpler metadata and info language, matching the rest of Finds. */
body.product-detail-page .tag,
body.product-detail-page .tag.brand {
  min-height:29px;
  gap:0;
  padding:0 11px;
  border:1px solid rgba(77,79,132,.14);
  border-radius:8px;
  color:#4b5482;
  background:rgba(255,255,255,.5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82);
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.025em;
  text-transform:uppercase;
  transform:none;
}
body.product-detail-page .tag.brand { color:#62547e;background:rgba(243,238,255,.58); }
body.product-detail-page .tag::before,
body.product-detail-page .tag.brand::before { display:none;content:none; }
body.product-detail-page .tag:hover { border-color:rgba(91,101,162,.22);background:rgba(255,255,255,.72);transform:none; }
body.product-detail-page .tag.brand:hover { background:rgba(239,232,255,.76); }

body.product-detail-page .spec-info {
  width:22px;
  height:22px;
  border-color:rgba(77,79,132,.12);
  color:#68719d;
  background:rgba(255,255,255,.58);
  box-shadow:none;
  font-size:.64rem;
}
body.product-detail-page .spec-info:hover,
body.product-detail-page .spec-info:focus-visible { border-color:rgba(91,101,162,.25);color:#4b5588;background:#e5e8ff;box-shadow:none; }
body.product-detail-page .spec-popover {
  width:min(225px,calc(100vw - 42px));
  padding:12px 13px;
  border:1px solid rgba(77,79,132,.14);
  border-radius:12px;
  color:rgba(36,37,70,.58);
  background:#f8f7ff;
  box-shadow:0 16px 36px rgba(54,58,111,.17);
}
body.product-detail-page .spec-popover::after { display:none;content:none; }
body.product-detail-page .spec-popover-title { display:block;margin-bottom:4px;color:#343650;font-size:.7rem;font-weight:850; }
body.product-detail-page .spec-popover-title::before { display:none;content:none; }
body.product-detail-page .spec-popover-copy { color:rgba(36,37,70,.56);font-size:.65rem;line-height:1.45; }
body.product-detail-page .batch-tier-scale,
body.product-detail-page .batch-tier-labels { display:none!important; }
body.product-detail-page .batch-tier-copy { margin-bottom:0; }

/* Exact desktop page-link typography used by the shared Finds navbar. */
body.product-detail-page .nav-link,
body.product-detail-page .nav-dropdown-btn {
  min-height:42px;
  padding:10px 18px;
  font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif!important;
  font-size:.95rem!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:normal!important;
}

/* Premium metadata badges with a real type/brand hierarchy. */
body.product-detail-page .tag,
body.product-detail-page .tag.brand {
  position:relative;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:0 12px 0 8px;
  overflow:hidden;
  border:1px solid rgba(77,79,132,.13);
  border-radius:12px;
  color:#343b68;
  background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(220,225,255,.58));
  box-shadow:0 8px 18px rgba(76,78,132,.08),inset 0 1px 0 rgba(255,255,255,.92);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.01em;
  text-transform:none;
  text-decoration:none;
  cursor:pointer;
  transition:transform .28s cubic-bezier(.22,.61,.36,1),border-color .28s ease,background .28s ease,box-shadow .28s ease;
}
body.product-detail-page .tag::before,
body.product-detail-page .tag.brand::before {
  content:"";
  width:27px;
  height:27px;
  display:block;
  flex:0 0 27px;
  border-radius:9px;
  background-color:rgba(123,134,199,.14);
  background-repeat:no-repeat;
  background-position:center;
  background-size:14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
  transform:none;
}
body.product-detail-page .tag.type::before {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2359649d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E");
}
body.product-detail-page .tag.brand {
  color:#57456f;
  background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(235,219,255,.6));
}
body.product-detail-page .tag.brand::before {
  background-color:rgba(174,132,202,.13);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a66a5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h7l9 9-6 6-9-9V5Z'/%3E%3Ccircle cx='8.5' cy='8.5' r='1'/%3E%3C/svg%3E");
}
body.product-detail-page .tag::after {
  content:"TYPE";
  align-self:center;
  margin-left:2px;
  padding:4px 6px;
  border-radius:6px;
  color:rgba(66,75,120,.64);
  background:rgba(255,255,255,.44);
  font-size:.48rem;
  font-weight:950;
  letter-spacing:.08em;
}
body.product-detail-page .tag.brand::after { content:"BRAND";color:rgba(101,71,122,.62); }
body.product-detail-page .tag,
body.product-detail-page .tag::before,
body.product-detail-page .tag::after { cursor:pointer!important; }
body.product-detail-page .tag:hover { border-color:rgba(91,101,162,.24);background:linear-gradient(145deg,#fff,#dfe4ff);transform:translateY(-1px);box-shadow:0 10px 22px rgba(76,78,132,.1),inset 0 1px 0 rgba(255,255,255,.92); }
body.product-detail-page .tag.brand:hover { background:linear-gradient(145deg,#fff,#eadcff); }

/* Info controls use a visible periwinkle indicator rather than a white dot. */
body.product-detail-page .spec-info {
  width:26px;
  height:26px;
  border:1px solid rgba(255,255,255,.66);
  color:#fff;
  background:linear-gradient(145deg,#7d88c8,#626da9);
  box-shadow:0 7px 16px rgba(76,78,132,.16),inset 0 1px 0 rgba(255,255,255,.3);
  font-size:.68rem;
}
body.product-detail-page .spec-info:hover,
body.product-detail-page .spec-info:focus-visible { border-color:rgba(255,255,255,.8);color:#fff;background:linear-gradient(145deg,#6976b8,#505c98);box-shadow:0 9px 20px rgba(76,78,132,.22);transform:translateY(-1px); }
body.product-detail-page .spec-popover {
  width:min(245px,calc(100vw - 42px));
  padding:0;
  overflow:hidden;
  border:1px solid rgba(77,79,132,.14);
  border-radius:15px;
  background:#f8f7ff;
  box-shadow:0 20px 46px rgba(54,58,111,.2),inset 0 1px 0 #fff;
}
body.product-detail-page .spec-popover-title {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  padding:11px 13px;
  border-bottom:1px solid rgba(77,79,132,.1);
  color:#30344f;
  background:linear-gradient(135deg,#eef0ff,#e8e0ff);
  font-size:.7rem;
  font-weight:900;
}
body.product-detail-page .spec-popover-title::before { content:"i";width:19px;height:19px;display:grid;place-items:center;flex:0 0 19px;border-radius:6px;color:#fff;background:#6873aa;font-size:.57rem;font-weight:950; }
body.product-detail-page .spec-popover-copy { padding:11px 13px;color:rgba(36,37,70,.58);font-size:.66rem;line-height:1.5; }

/* The rating uses the same information system as product specs. */
body.product-detail-page .rating::before,
body.product-detail-page .rating::after { display:none!important;content:none!important; }
body.product-detail-page .product-rating-tooltip {
  position:absolute;
  right:0;
  bottom:calc(100% + 12px);
  z-index:24;
  width:255px;
  overflow:hidden;
  border:1px solid rgba(77,79,132,.14);
  border-radius:15px;
  color:#30344f;
  background:#f8f7ff;
  box-shadow:0 20px 46px rgba(54,58,111,.2),inset 0 1px 0 #fff;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(6px);
  transition:.18s ease;
  white-space:normal;
  text-align:left;
}
body.product-detail-page .product-rating-tooltip strong { display:flex;align-items:center;gap:8px;padding:11px 13px;border-bottom:1px solid rgba(77,79,132,.1);background:linear-gradient(135deg,#eef0ff,#e8e0ff);font-size:.7rem;font-weight:900; }
body.product-detail-page .product-rating-tooltip strong i { width:19px;height:19px;display:grid;place-items:center;flex:0 0 19px;border-radius:6px;color:#fff;background:#6873aa;font-size:.57rem;font-style:normal;font-weight:950; }
body.product-detail-page .product-rating-tooltip small { display:block;padding:11px 13px;color:rgba(36,37,70,.58);font-size:.66rem;font-weight:700;line-height:1.5; }
body.product-detail-page .rating:hover .product-rating-tooltip,
body.product-detail-page .rating:focus-visible .product-rating-tooltip { opacity:1;visibility:visible;transform:none; }

/* Unified edit-mode action set. */
body.product-detail-page :is(.admin-add-btn,.admin-del-btn,.admin-edit-toggle,.admin-update-toggle) {
  width:44px;
  height:44px;
  border-radius:14px;
  box-shadow:0 8px 18px rgba(76,78,132,.1),inset 0 1px 0 rgba(255,255,255,.86);
}
body.product-detail-page .admin-add-btn { border-color:rgba(53,157,111,.2);color:#318663;background:linear-gradient(145deg,#e5fff2,#d2f4e4); }
body.product-detail-page .admin-del-btn { border-color:rgba(190,76,105,.2);color:#aa4963;background:linear-gradient(145deg,#fff0f4,#f7dce5); }
body.product-detail-page .admin-update-toggle { border-color:rgba(91,101,162,.18);color:#59649d;background:linear-gradient(145deg,#e4e7ff,#e8ddff); }
body.product-detail-page .admin-add-btn:hover { border-color:rgba(53,157,111,.34);color:#fff;background:linear-gradient(145deg,#45ae7e,#318963);box-shadow:0 11px 23px rgba(49,137,99,.18),inset 0 1px 0 rgba(255,255,255,.28); }
body.product-detail-page .admin-del-btn:hover { border-color:rgba(190,76,105,.34);color:#fff;background:linear-gradient(145deg,#ca607c,#a94460);box-shadow:0 11px 23px rgba(169,68,96,.18),inset 0 1px 0 rgba(255,255,255,.25); }
body.product-detail-page .admin-update-toggle:hover,
body.product-detail-page .admin-update-toggle.active { border-color:rgba(91,101,162,.28);color:#3f497a;background:linear-gradient(145deg,#d2d8ff,#dfd3ff);box-shadow:0 11px 23px rgba(76,78,132,.14),inset 0 1px 0 #fff; }
body.product-detail-page :is(.admin-add-btn,.admin-del-btn,.admin-edit-toggle,.admin-update-toggle) svg { width:19px;height:19px;stroke-width:2; }

/* Requested metadata behavior: uppercase labels, visible batch tier and seller affordance. */
body.product-detail-page .tag,
body.product-detail-page .tag.brand { text-transform:uppercase; }

body.product-detail-page .batch-tier-popover .batch-tier-copy { margin-bottom:12px; }
body.product-detail-page .batch-tier-popover .batch-tier-scale {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin:0;
  padding:11px 13px 7px;
  border-top:1px solid rgba(77,79,132,.09);
  background:rgba(235,237,255,.46);
}
body.product-detail-page .batch-tier-popover .batch-tier-scale span {
  position:relative;
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(77,79,132,.12);
  box-shadow:inset 0 1px 2px rgba(49,52,94,.08);
}
body.product-detail-page .batch-tier-popover .batch-tier-labels {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  padding:0 13px 12px;
  color:rgba(52,55,85,.44);
  background:rgba(235,237,255,.46);
  font-size:.54rem;
  font-weight:900;
  letter-spacing:.055em;
  text-align:center;
  text-transform:uppercase;
}
body.product-detail-page .batch-tier-popover.is-budget .batch-tier-scale span:nth-child(1) { background:linear-gradient(90deg,#93a0dd,#7480bd);box-shadow:0 4px 10px rgba(83,95,160,.2); }
body.product-detail-page .batch-tier-popover.is-good .batch-tier-scale span:nth-child(-n+2) { background:linear-gradient(90deg,#8492d2,#6b77b5);box-shadow:0 4px 10px rgba(83,95,160,.2); }
body.product-detail-page .batch-tier-popover.is-top .batch-tier-scale span { background:linear-gradient(90deg,#7a88cb,#a085c6);box-shadow:0 4px 10px rgba(83,95,160,.2); }
body.product-detail-page .batch-tier-popover.is-budget .batch-tier-budget,
body.product-detail-page .batch-tier-popover.is-good .batch-tier-good,
body.product-detail-page .batch-tier-popover.is-top .batch-tier-top {
  min-height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:stretch;
  border:1px solid rgba(91,101,162,.14);
  border-radius:7px;
  color:#3f4979;
  background:rgba(255,255,255,.68);
  box-shadow:inset 0 1px 0 #fff;
}

body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller {
  display:block;
  width:100%;
}
body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller > a.spec-value {
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  border-radius:7px;
  color:#343b68;
  text-decoration:none;
  cursor:pointer;
  transition:color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller > a.spec-value::after {
  content:none;
}
body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller .seller-chevron {
  position:absolute;
  top:50%;
  right:14px;
  width:14px;
  height:14px;
  display:block;
  fill:none;
  stroke:#6873aa;
  stroke-width:2.25;
  stroke-linecap:round;
  stroke-linejoin:round;
  transform:translateY(-50%);
}
body.product-detail-page #product-page-container.admin-edit-mode #val-seller .seller-chevron {
  display:none;
}
body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller > a.spec-value:hover,
body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller > a.spec-value:focus-visible {
  padding:0;
  margin:0;
  color:#343b68;
  background:transparent;
  box-shadow:none;
  outline:none;
  transform:none;
}
body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller > a.spec-value:hover .seller-chevron,
body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller > a.spec-value:focus-visible .seller-chevron {
  stroke:#6873aa;
  transform:translateY(-50%);
}
body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller > a.spec-value:hover::after,
body.product-detail-page #product-page-container:not(.admin-edit-mode) #val-seller > a.spec-value:focus-visible::after { opacity:1;transform:translate(0,0); }

/* Footer */
.product-footer {
  width: min(1480px, calc(100% - 48px));
  min-height: 110px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin: 0 auto 28px;
  padding: 22px 28px;
  border: 1px solid var(--pd-line);
  border-radius: 22px;
  color: var(--pd-muted);
  background: linear-gradient(145deg,rgba(231,216,255,.72),rgba(184,192,255,.64));
  box-shadow: 0 16px 38px rgba(101,105,173,.12), inset 0 1px 0 rgba(255,255,255,.72);
}
.product-footer-brand { display:flex;align-items:center;gap:10px;color:#3f4775;text-decoration:none;font-size:1.05rem;font-weight:950;letter-spacing:-.05em; }
.product-footer-brand img { width:38px;height:38px;padding:3px;border-radius:12px;background:rgba(255,255,255,.5);box-shadow:inset 0 1px 0 #fff; }
.product-footer-brand span { display:flex;align-items:center;gap:4px; }
.product-footer-brand b { padding:2px 5px;border-radius:6px;background:rgba(255,255,255,.5);font-size:.75em; }
.product-footer p { margin:0;font-size:.78rem; }
.product-footer nav { display:flex;gap:18px; }
.product-footer nav a { color:#414971;text-decoration:none;font-size:.75rem;font-weight:850; }
.product-footer nav a:hover { color:var(--pd-ink); }

@media (max-width: 980px) {
  body.product-detail-page .page,
  .product-footer { width:min(100% - 24px, 760px); }
  body.product-detail-page .nav { grid-template-columns: 1fr 44px; }
  body.product-detail-page .nav.nav-search-host .nav-search { grid-column:1 / -1;grid-row:2; }
  body.product-detail-page .layout { grid-template-columns:1fr;padding:14px; }
  body.product-detail-page .gallery { position:static; }
  body.product-detail-page .hero-image { min-height:440px; }
  .product-footer { grid-template-columns:1fr;text-align:center;justify-items:center; }
}

@media (max-width: 600px) {
  body.product-detail-page .page { width:calc(100% - 16px);padding-top:8px; }
  body.product-detail-page .nav { top:8px;border-radius:17px;padding:8px; }
  .product-nav-brand-icon { width:40px;height:40px; }
  .product-nav-wordmark { font-size:1.08rem; }
  body.product-detail-page .layout { border-radius:20px;padding:9px; }
  body.product-detail-page .hero-image { min-height:330px;border-radius:17px; }
  body.product-detail-page .details { padding:8px 4px; }
  body.product-detail-page h1 { font-size:clamp(2rem,11vw,3rem); }
  body.product-detail-page .specs { grid-template-columns:1fr; }
  .product-footer { width:calc(100% - 16px); }
  .product-footer nav { flex-wrap:wrap;justify-content:center; }
}

/* Full shared site chrome used by the catalogue pages. */
body.product-detail-page .header-main {
  position: relative;
  z-index: 1000;
  width: min(1480px, calc(100% - 48px));
  margin: 22px auto 0;
}

body.product-detail-page .nav-container {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(350px, 1fr) minmax(360px, 570px);
  align-items: center;
  gap: 24px;
  padding: 9px 14px 9px 16px;
  border: 1px solid var(--pd-line);
  border-radius: 22px;
  background: var(--pd-gradient);
  box-shadow: 0 16px 38px rgba(101,105,173,.16), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

body.product-detail-page .nav-logo .logo-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pd-ink);
  text-decoration: none;
}

body.product-detail-page .nav-brand-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 14px;
  background: rgba(255,255,255,.46);
  box-shadow: 0 9px 22px rgba(81,76,145,.18), inset 0 1px 0 rgba(255,255,255,.82);
  object-fit: cover;
}

body.product-detail-page .nav-brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3f4775;
  font-size: 1.38rem;
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: 1;
  white-space: nowrap;
}

body.product-detail-page .nav-brand-wordmark b {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 9px;
  color: #4b548a;
  background: rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 6px 15px rgba(93,80,150,.1);
  font-size: .72em;
}

body.product-detail-page .nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.product-detail-page .nav-link,
body.product-detail-page .nav-dropdown-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 15px;
  color: rgba(25,24,42,.68);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  transition: .18s ease;
}

body.product-detail-page .nav-link:hover,
body.product-detail-page .nav-dropdown-btn:hover {
  color: var(--pd-ink);
  background: rgba(255,255,255,.36);
}

body.product-detail-page .nav-link.active,
body.product-detail-page .nav-dropdown-btn[aria-expanded="true"] {
  border-color: rgba(255,255,255,.5);
  color: var(--pd-ink);
  background: rgba(255,255,255,.58);
  box-shadow: 0 8px 20px rgba(86,88,145,.12), inset 0 1px 0 rgba(255,255,255,.76);
}

body.product-detail-page .nav-dropdown { position: relative; }
body.product-detail-page .nav-dropdown-caret { font-size: .67rem; transition: transform .18s ease; }
body.product-detail-page .nav-dropdown-btn[aria-expanded="true"] .nav-dropdown-caret { transform: rotate(180deg); }

body.product-detail-page .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 1100;
  width: 250px;
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid var(--pd-line);
  border-radius: 17px;
  background: rgba(248,247,255,.97);
  box-shadow: 0 20px 42px rgba(76,78,132,.18), inset 0 1px 0 #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -7px) scale(.985);
  transition: .18s ease;
}

body.product-detail-page .nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

/* Final Dreamy Periwinkle pass for every product-detail control. */
body.product-detail-page {
  --pd-pink: #e7d8ff;
  --pd-blue: #b8c0ff;
  --pd-periwinkle: #cdd0ff;
  --pd-accent: #6570ad;
  --pd-accent-dark: #424b7c;
  --pd-surface: rgba(247,246,255,.7);
  --pd-control: linear-gradient(145deg, rgba(231,216,255,.78), rgba(184,192,255,.72));
}

body.product-detail-page .layout,
body.product-detail-page .qc-gallery-section {
  border-color: rgba(96,103,166,.17);
  background: linear-gradient(145deg, rgba(247,243,255,.7), rgba(209,214,255,.58));
  box-shadow: 0 20px 48px rgba(91,96,157,.12), inset 0 1px 0 rgba(255,255,255,.82);
}

body.product-detail-page .hero-image,
body.product-detail-page .product-thumb,
body.product-detail-page .qc-item {
  border-color: rgba(92,99,159,.14);
  background: linear-gradient(145deg, rgba(231,216,255,.38), rgba(184,192,255,.34));
}

body.product-detail-page .product-thumb.active {
  border-color: var(--pd-accent);
  box-shadow: 0 0 0 3px rgba(184,192,255,.42), 0 8px 18px rgba(82,89,150,.13);
}

body.product-detail-page .price {
  color: var(--pd-accent-dark);
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
}

body.product-detail-page .source-btn {
  border-color: rgba(91,98,158,.15);
  color: #424b78;
  background: rgba(231,216,255,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

body.product-detail-page .spec,
body.product-detail-page .pill,
body.product-detail-page .rating,
body.product-detail-page .community-rating-card {
  border-color: rgba(91,98,158,.14);
  background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(223,225,255,.5));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76);
}

body.product-detail-page .qc-filters button,
body.product-detail-page .qc-view-more,
body.product-detail-page .qc-bulk-toggle,
body.product-detail-page .qc-bulk-actions button,
body.product-detail-page .qc-bulk-actions select,
body.product-detail-page .community-review-toggle,
body.product-detail-page .community-review-form select {
  border-color: rgba(91,98,158,.14);
  color: #4a527e;
  background: linear-gradient(145deg, rgba(231,216,255,.56), rgba(184,192,255,.48));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

body.product-detail-page .qc-filters button:hover,
body.product-detail-page .qc-view-more:hover,
body.product-detail-page .community-review-toggle:hover {
  color: #30385e;
  background: linear-gradient(145deg, rgba(231,216,255,.86), rgba(184,192,255,.76));
}

body.product-detail-page .qc-filters button.active,
body.product-detail-page .qc-bulk-toggle.active,
body.product-detail-page .qc-bulk-actions .qc-bulk-apply {
  border-color: rgba(88,96,157,.25);
  color: #303858;
  background: linear-gradient(135deg, var(--pd-pink), var(--pd-blue));
  box-shadow: 0 7px 16px rgba(85,91,151,.16), inset 0 1px 0 rgba(255,255,255,.72);
}

body.product-detail-page .qc-bulk-selecting .qc-item.qc-selected::after {
  border-color: var(--pd-accent);
  background: rgba(184,192,255,.28);
}
body.product-detail-page .qc-bulk-selecting .qc-item.qc-selected::before,
body.product-detail-page .qc-category-admin-enabled .qc-item::after {
  color: #303858;
  background: linear-gradient(135deg, var(--pd-pink), var(--pd-blue));
  box-shadow: 0 5px 14px rgba(78,84,143,.22), inset 0 1px 0 rgba(255,255,255,.7);
}

.qc-category-menu {
  border-color: rgba(91,98,158,.18);
  background: linear-gradient(145deg, rgba(248,244,255,.98), rgba(220,224,255,.97));
  box-shadow: 0 20px 48px rgba(70,75,132,.2), inset 0 1px 0 rgba(255,255,255,.84);
}
.qc-category-menu button:hover,
.qc-category-menu button.active {
  color: #343c68;
  background: linear-gradient(135deg, rgba(231,216,255,.82), rgba(184,192,255,.74));
}

body.product-detail-page .community-bar { background: rgba(184,192,255,.28); }
body.product-detail-page .community-bar i { background: linear-gradient(90deg, #8f92cf, #6570ad); }
body.product-detail-page .community-review-form button[type="submit"] {
  color: #303858;
  background: linear-gradient(135deg, var(--pd-pink), var(--pd-blue));
  box-shadow: 0 7px 16px rgba(85,91,151,.15), inset 0 1px 0 rgba(255,255,255,.72);
}

body.product-detail-page .community-rating-head strong span,
body.product-detail-page .qc-view-more b { color: var(--pd-accent); }

/* Compact marketplace-style product layout. */
body.product-detail-page .page {
  width: min(1540px, calc(100% - 32px));
}

body.product-detail-page .layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
  gap: 18px 20px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 16px 42px rgba(76,78,132,.09), inset 0 1px 0 rgba(255,255,255,.9);
}

body.product-detail-page .gallery {
  position: static;
  align-self: start;
}

body.product-detail-page .hero-image {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.72 / 1;
  overflow: hidden;
  border-radius: 13px;
  background: #f1f1f5;
  box-shadow: none;
}

body.product-detail-page .hero-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
}

body.product-detail-page .hero-image-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 42px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(25,25,35,.7);
  font-size: .7rem;
  font-weight: 850;
  text-align: center;
  backdrop-filter: blur(8px);
}

body.product-detail-page .product-thumbnails {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

body.product-detail-page .product-thumb {
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  padding: 0;
  background: #f2f2f8;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.product-detail-page .product-thumb:hover { transform: translateY(-1px); }
body.product-detail-page .product-thumb.active {
  border-color: #5947ff;
  box-shadow: 0 0 0 2px rgba(89,71,255,.1);
}
body.product-detail-page .product-thumb img { width:100%;height:100%;display:block;object-fit:cover; }

body.product-detail-page .details {
  padding: 2px 0 0;
}

body.product-detail-page .product-topline { min-height: 28px; }
body.product-detail-page .product-title {
  margin: 4px 0 8px;
  font-size: clamp(1.55rem, 2.1vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

body.product-detail-page .buy-row {
  min-height: 52px;
  margin: 0;
  padding: 0 0 10px;
  border-bottom: 0;
}
body.product-detail-page .price {
  color: #5545ff;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 950;
}
body.product-detail-page .rating { margin-left:auto; }

body.product-detail-page .actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  margin: 0 0 10px;
}
body.product-detail-page .agent-btn,
body.product-detail-page .source-btn {
  min-height: 48px;
  border-radius: 9px;
}
body.product-detail-page .source-btn { width:auto;background:#f4f3fb;color:#30304a; }

body.product-detail-page .product-info-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
body.product-detail-page .product-info-section .section-head { display:none; }
body.product-detail-page .specs { gap: 7px; }
body.product-detail-page .spec {
  min-height: 57px;
  border-radius: 9px;
  padding: 10px 38px 9px 12px;
  background: rgba(255,255,255,.62);
  box-shadow: none;
}
body.product-detail-page .spec-label { font-size:.58rem; }
body.product-detail-page .spec-value { font-size:.79rem; }

body.product-detail-page .details > .section:last-of-type {
  margin-top: 8px;
  padding-top: 10px;
}
body.product-detail-page .option-group { margin-bottom:9px; }
body.product-detail-page .option-title { margin-bottom:9px;color:#252b48;font-size:.69rem;font-weight:850;letter-spacing:0;text-transform:none; }
body.product-detail-page .option-title span { color:#252b48; }
body.product-detail-page .option-row { display:flex;align-items:center;gap:14px;min-width:0; }
body.product-detail-page .option-list { flex:1;gap:7px;min-width:0; }
body.product-detail-page .option-list.collapsed { max-height:34px;flex-wrap:nowrap;overflow:hidden; }
body.product-detail-page .pill { min-height:29px;border-radius:7px;padding:5px 9px;font-size:.68rem; }
body.product-detail-page .variants-group .pill { min-width:82px;min-height:34px;padding:4px 10px 4px 5px;border-color:rgba(91,98,158,.14);background:rgba(255,255,255,.58);box-shadow:0 3px 9px rgba(76,78,132,.05);cursor:pointer; }
body.product-detail-page .variants-group .pill:hover { border-color:#8170df;background:#fff;transform:none; }
body.product-detail-page .variants-group .swatch { width:31px;height:23px;flex-basis:31px;border-radius:3px;border-color:rgba(62,67,104,.14); }
body.product-detail-page .option-row > .toggle { flex:0 0 auto;min-width:122px;margin:0;padding:8px 14px;border:0;border-radius:6px;color:#6554bd;background:rgba(238,238,255,.7);font-size:.58rem;text-transform:none;transition:background .2s ease,color .2s ease; }
body.product-detail-page .option-row > .toggle:hover { color:#4e3ba9;background:#e8e5ff; }

body.product-detail-page .qc-gallery-section {
  grid-column: 1 / -1;
  margin-top: 0;
  padding: 16px;
  border: 1px solid var(--pd-line);
  border-radius: 15px;
  background: rgba(255,255,255,.48);
}
body.product-detail-page .qc-gallery-section .section-head { margin-bottom:12px; }
body.product-detail-page .qc-gallery-section .section-head { display:flex;align-items:center;justify-content:space-between;gap:12px; }
body.product-detail-page .qc-load-status {
  min-height:26px;
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(91,98,158,.11);
  border-radius:999px;
  padding:0 10px;
  color:#626887;
  background:linear-gradient(145deg,rgba(231,216,255,.48),rgba(184,192,255,.4));
  font-size:.56rem;
  font-weight:800;
  transition:opacity .3s ease;
}
body.product-detail-page .qc-load-status[hidden] { display:none; }
body.product-detail-page .qc-load-status.ready { color:#46517b;background:rgba(184,192,255,.42); }
body.product-detail-page .qc-load-status.settled { opacity:.58; }
body.product-detail-page .qc-gallery-section .section-title {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.1rem;
}
body.product-detail-page .qc-gallery-section .section-title span {
  padding:4px 8px;
  border-radius:999px;
  color:#64698c;
  background:#f0effb;
  font-size:.62rem;
  font-weight:800;
}
body.product-detail-page .qc-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}
body.product-detail-page .qc-item {
  aspect-ratio: 1.42 / 1;
  border-radius: 9px;
  box-shadow: none;
  content-visibility:auto;
  contain-intrinsic-size:180px 127px;
}

body.product-detail-page .qc-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: stretch;
  gap: 18px;
}

body.product-detail-page .qc-gallery-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

body.product-detail-page .community-rating-card {
  position: static;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid rgba(77,79,132,.13);
  border-radius: 13px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 24px rgba(76,78,132,.06), inset 0 1px 0 #fff;
}
body.product-detail-page .community-issue-card { margin-top:auto; }

body.product-detail-page .qc-grid.is-collapsed .qc-item-extra { display:none; }
body.product-detail-page .qc-item[hidden],
body.product-detail-page .qc-view-more[hidden] { display:none!important; }
body.product-detail-page .qc-filters {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 11px;
}
body.product-detail-page .qc-filters button {
  min-height:28px;
  border:1px solid rgba(77,79,132,.08);
  border-radius:7px;
  padding:0 12px;
  color:#555a7d;
  background:#f3f2fb;
  cursor:pointer;
  font-size:.6rem;
  font-weight:800;
  transition:.16s ease;
}
body.product-detail-page .qc-filters button:hover { color:#4d3ee2;background:#ebe8ff; }
body.product-detail-page .qc-filters button.active {
  border-color:#6553f4;
  color:#fff;
  background:linear-gradient(135deg,#5c49f2,#7662ff);
  box-shadow:0 5px 12px rgba(91,72,235,.2);
}
body.product-detail-page .qc-category-admin-enabled .qc-item { position:relative; }
body.product-detail-page .qc-category-admin-enabled .qc-item::after {
  content:"✎";
  position:absolute;
  right:6px;
  top:6px;
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.72);
  border-radius:7px;
  color:#fff;
  background:rgba(51,43,111,.72);
  box-shadow:0 4px 12px rgba(27,22,72,.18);
  font-size:.62rem;
  opacity:0;
  transform:translateY(-2px);
  transition:.16s ease;
  pointer-events:none;
}
body.product-detail-page .qc-category-admin-enabled .qc-item:hover::after { opacity:1;transform:none; }
body.product-detail-page .qc-bulk-toolbar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
}
body.product-detail-page .qc-category-stats {
  display:flex;
  align-items:center;
  gap:6px;
}
body.product-detail-page .qc-category-stats span {
  min-height:27px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:1px solid rgba(91,98,158,.11);
  border-radius:999px;
  padding:0 9px;
  color:#686d8d;
  background:rgba(255,255,255,.46);
  font-size:.56rem;
  font-weight:750;
}
body.product-detail-page .qc-category-stats span.done { color:#4f587f;background:rgba(184,192,255,.3); }
body.product-detail-page .qc-category-stats b { color:#353d68;font-size:.62rem; }
body.product-detail-page .qc-category-stats .qc-preview-toggle {
  min-height:27px;
  border:1px solid rgba(91,98,158,.12);
  border-radius:999px;
  padding:0 10px;
  color:#50587f;
  background:linear-gradient(145deg,rgba(231,216,255,.58),rgba(184,192,255,.48));
  cursor:pointer;
  font-size:.56rem;
  font-weight:800;
}
body.product-detail-page .qc-category-stats .qc-preview-toggle.active { color:#303858;background:linear-gradient(135deg,#e7d8ff,#b8c0ff); }
body.product-detail-page .qc-category-preview {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0 0 12px;
  padding:10px;
  border:1px solid rgba(91,98,158,.13);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(247,243,255,.72),rgba(205,208,255,.52));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78);
}
body.product-detail-page .qc-category-preview[hidden] { display:none; }
body.product-detail-page .qc-preview-group {
  min-width:0;
  padding:8px;
  border:1px solid rgba(91,98,158,.1);
  border-radius:9px;
  background:rgba(255,255,255,.42);
}
body.product-detail-page .qc-preview-group header { display:flex;align-items:center;justify-content:space-between;margin-bottom:7px; }
body.product-detail-page .qc-preview-group header strong { color:#41496f;font-size:.62rem; }
body.product-detail-page .qc-preview-group header span {
  min-width:21px;height:21px;display:grid;place-items:center;border-radius:999px;
  color:#4b537c;background:rgba(184,192,255,.4);font-size:.55rem;font-weight:850;
}
body.product-detail-page .qc-preview-images { display:flex;gap:5px;overflow-x:auto;padding:1px 1px 4px;scrollbar-width:thin; }
body.product-detail-page .qc-preview-images button {
  width:54px;height:45px;flex:0 0 54px;overflow:hidden;border:1px solid rgba(91,98,158,.12);
  border-radius:6px;padding:0;background:#dfe1ff;cursor:zoom-in;
}
body.product-detail-page .qc-preview-images button:hover { border-color:#6570ad;transform:translateY(-1px); }
body.product-detail-page .qc-preview-images img { width:100%;height:100%;display:block;object-fit:cover; }
body.product-detail-page .qc-preview-images small { min-height:45px;display:flex;align-items:center;color:#888ba4;font-size:.55rem; }
@media (max-width:700px) { body.product-detail-page .qc-category-preview { grid-template-columns:1fr; } }
body.product-detail-page .qc-bulk-toggle,
body.product-detail-page .qc-bulk-actions button,
body.product-detail-page .qc-bulk-actions select {
  min-height:31px;
  border:1px solid rgba(77,79,132,.12);
  border-radius:7px;
  padding:0 10px;
  color:#525676;
  background:#f5f4fc;
  font-size:.6rem;
  font-weight:800;
}
body.product-detail-page .qc-bulk-toggle,
body.product-detail-page .qc-bulk-actions button { cursor:pointer; }
body.product-detail-page .qc-bulk-toggle.active { border-color:#6553f4;color:#fff;background:#6553f4; }
body.product-detail-page .qc-bulk-actions { display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:7px; }
body.product-detail-page .qc-bulk-actions[hidden] { display:none; }
body.product-detail-page .qc-bulk-actions strong { color:#424562;font-size:.62rem; }
body.product-detail-page .qc-bulk-actions small { color:#6a6e90;font-size:.57rem; }
body.product-detail-page .qc-bulk-actions .qc-bulk-apply { border-color:#6553f4;color:#fff;background:#6553f4; }
body.product-detail-page .qc-bulk-actions .qc-bulk-apply:disabled { opacity:.45;cursor:not-allowed; }
body.product-detail-page .qc-bulk-actions .qc-bulk-cancel { width:31px;padding:0;color:#bd5368; }
body.product-detail-page .qc-bulk-selecting .qc-item { cursor:copy; }
body.product-detail-page .qc-bulk-selecting .qc-item::after { content:"";opacity:1;inset:0;width:auto;height:auto;border:2px solid transparent;border-radius:inherit;background:rgba(87,69,235,.04); }
body.product-detail-page .qc-bulk-selecting .qc-item.qc-selected::after { border-color:#6653f4;background:rgba(91,72,235,.2);box-shadow:inset 0 0 0 3px rgba(255,255,255,.72); }
body.product-detail-page .qc-bulk-selecting .qc-item.qc-selected::before {
  content:"✓";
  position:absolute;
  z-index:2;
  right:7px;
  top:7px;
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:#6553f4;
  box-shadow:0 4px 12px rgba(52,39,159,.3);
  font-size:.7rem;
  font-weight:900;
}
.qc-category-menu {
  position:fixed;
  z-index:10050;
  width:180px;
  display:none;
  gap:4px;
  padding:9px;
  border:1px solid rgba(77,79,132,.16);
  border-radius:11px;
  background:rgba(252,251,255,.98);
  box-shadow:0 18px 48px rgba(48,44,92,.22),inset 0 1px 0 #fff;
  backdrop-filter:blur(18px);
}
.qc-category-menu.open { display:grid; }
.qc-category-menu strong { padding:5px 7px 7px;color:#303250;font-size:.68rem; }
.qc-category-menu button {
  min-height:32px;
  border:0;
  border-radius:7px;
  padding:0 9px;
  color:#505474;
  background:transparent;
  cursor:pointer;
  text-align:left;
  font-size:.63rem;
  font-weight:750;
}
.qc-category-menu button:hover,
.qc-category-menu button.active { color:#4c3dde;background:#ebe8ff; }
.qc-category-menu button.remove { margin-top:3px;border-top:1px solid rgba(77,79,132,.08);color:#c24f64; }
.qc-category-menu small { min-height:12px;padding:3px 7px 0;color:#737795;font-size:.55rem; }
body.product-detail-page .qc-view-more {
  align-self:center;
  width:auto;
  min-width:220px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:12px auto 0;
  border:1px solid rgba(77,79,132,.1);
  border-radius:11px;
  padding:0 16px;
  color:#51577e;
  background:#f3f2fb;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  cursor:pointer;
  font-size:.64rem;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  transition:.18s ease;
}
body.product-detail-page .qc-view-more:hover { color:#493be0;background:#eae7ff;transform:translateY(-1px); }
body.product-detail-page .qc-view-more span { display:inline-flex;align-items:center; }
body.product-detail-page .qc-view-more b {
  min-width:31px;
  height:22px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  padding:0 7px;
  color:#59628f;
  background:rgba(255,255,255,.48);
  font-size:.58rem;
  line-height:1;
}
body.product-detail-page .qc-view-more i {
  width:7px;
  height:7px;
  display:block;
  flex:0 0 7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  font-size:0;
  font-style:normal;
  transform:translateY(-2px) rotate(45deg);
  transition:transform .18s ease;
}
body.product-detail-page .qc-view-more[aria-expanded="true"] i { transform:translateY(2px) rotate(225deg); }

body.product-detail-page .community-rating-head,
body.product-detail-page .community-rating-head strong,
body.product-detail-page .community-metric > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.product-detail-page .community-rating-head strong { justify-content:flex-start;color:#292b4c;font-size:.78rem; }
body.product-detail-page .community-rating-head strong span { color:#6d5cff;font-size:1rem; }
body.product-detail-page .community-votes { color:#737797;font-size:.6rem;font-weight:750; }
body.product-detail-page .community-rating-source {
  margin: 8px 0 12px;
  color: #7a7d99;
  font-size: .58rem;
  line-height: 1.4;
}
body.product-detail-page .community-metric { margin-top:12px; }
body.product-detail-page .community-metric > div { margin-bottom:7px;color:#353751;font-size:.62rem;font-weight:800; }
body.product-detail-page .community-metric b { color:#737797;font-size:.61rem; }
body.product-detail-page .community-bar { height:5px;display:block;overflow:hidden;border-radius:99px;background:#ececf7; }
body.product-detail-page .community-bar i {
  height:100%;
  display:block;
  border-radius:inherit;
  background:linear-gradient(90deg,#755dff,#8a6cff);
  transition:width .45s ease;
}
body.product-detail-page .community-review-toggle {
  width:100%;
  min-height:38px;
  margin-top:16px;
  border:0;
  border-radius:8px;
  color:#5e50dc;
  background:#f4f2ff;
  cursor:pointer;
  font-size:.65rem;
  font-weight:800;
}
body.product-detail-page .community-review-toggle:hover { background:#ebe7ff; }
body.product-detail-page .community-review-form {
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(77,79,132,.1);
}
body.product-detail-page .community-review-form[hidden] { display:none; }
body.product-detail-page .community-review-form label {
  display:grid;
  grid-template-columns:1fr 74px;
  align-items:center;
  gap:8px;
  margin:7px 0;
  color:#454762;
  font-size:.62rem;
  font-weight:750;
}
body.product-detail-page .community-review-form select {
  min-height:31px;
  border:1px solid rgba(77,79,132,.16);
  border-radius:7px;
  padding:0 7px;
  color:#353751;
  background:#fff;
  font:inherit;
}
body.product-detail-page .community-review-form button {
  width:100%;
  min-height:34px;
  margin-top:6px;
  border:0;
  border-radius:8px;
  color:#fff;
  background:linear-gradient(135deg,#6653f5,#8a63ff);
  cursor:pointer;
  font-size:.64rem;
  font-weight:850;
}
body.product-detail-page .community-review-form button:disabled { opacity:.58;cursor:wait; }
body.product-detail-page .community-review-status { min-height:14px;margin:6px 0 0;color:#666b91;font-size:.58rem;text-align:center; }
body.product-detail-page .community-issue-card {
  margin:auto -15px -15px;
  padding:14px 15px 15px;
  border-top:1px solid rgba(77,79,132,.11);
}
body.product-detail-page .community-issue-card strong { display:flex;gap:7px;color:#5547eb;font-size:.64rem; }
body.product-detail-page .community-issue-card strong span { color:#363850; }
body.product-detail-page .community-issue-card p { margin:6px 0 10px;padding-left:18px;color:#737792;font-size:.55rem;line-height:1.4; }
body.product-detail-page .community-report-button {
  width:100%;
  min-height:34px;
  border:1px solid rgba(229,91,111,.15);
  border-radius:8px;
  color:#e35068;
  background:#fff1f3;
  cursor:pointer;
  font-size:.62rem;
  font-weight:850;
}
body.product-detail-page .community-report-button:hover { background:#ffe7eb; }

@media (max-width: 980px) {
  body.product-detail-page .layout { grid-template-columns:1fr; }
  body.product-detail-page .qc-gallery-section { grid-column:auto; }
  body.product-detail-page .qc-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.product-detail-page .qc-gallery-layout { grid-template-columns:1fr; }
  body.product-detail-page .community-rating-card { position:static; }
}

@media (max-width: 600px) {
  body.product-detail-page .page { width:calc(100% - 12px); }
  body.product-detail-page .layout { padding:7px;gap:12px;border-radius:15px; }
  body.product-detail-page .hero-image { aspect-ratio:1.12 / 1; }
  body.product-detail-page .product-thumbnails { grid-template-columns:repeat(5,minmax(0,1fr));gap:6px; }
  body.product-detail-page .product-thumb:nth-child(n+6) { display:none; }
  body.product-detail-page .actions { grid-template-columns:1fr 52px; }
  body.product-detail-page .qc-gallery-section { padding:10px; }
  body.product-detail-page .qc-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
}

@media (hover: hover) and (pointer: fine) {
  body.product-detail-page .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }

  body.product-detail-page .nav-dropdown:hover .nav-dropdown-caret {
    transform: rotate(180deg);
  }
}

body.product-detail-page .nav-dropdown-item,
body.product-detail-page .nav-dropdown-item-topandbottom {
  min-height: 39px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 0 12px;
  color: #313653;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 800;
}

body.product-detail-page .nav-dropdown-item:hover,
body.product-detail-page .nav-dropdown-item-topandbottom:hover { background: rgba(184,192,255,.28); }

body.product-detail-page .nav-actions {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 10px;
}

body.product-detail-page .nav-search {
  position: relative;
  min-width: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(86,88,145,.16) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.68) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 8px 20px rgba(89,91,151,.08) !important;
}

body.product-detail-page .nav-search > #nav-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--pd-ink);
  background: transparent;
}

body.product-detail-page .nav-utility-btn { text-decoration: none; }
body.product-detail-page .mobile-menu-btn { display: none; }

body.product-detail-page .page { padding-top: 34px; }

/* Full shared footer */
body.product-detail-page .footer-main {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto 28px;
}

body.product-detail-page .footer-card {
  padding: 42px 48px 22px;
  border: 1px solid var(--pd-line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(231,216,255,.84), rgba(184,192,255,.78));
  box-shadow: 0 20px 48px rgba(95,98,163,.14), inset 0 1px 0 rgba(255,255,255,.72);
}

body.product-detail-page .footer-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1.5fr) repeat(3, minmax(130px, .65fr));
  gap: 52px;
}

body.product-detail-page .footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #3f4775;
  text-decoration: none;
}
body.product-detail-page .footer-brand-icon { width:44px;height:44px;padding:3px;border-radius:14px;background:rgba(255,255,255,.48);box-shadow:inset 0 1px 0 #fff; }
body.product-detail-page .footer-brand-wordmark { display:flex;align-items:center;gap:5px;font-size:1.38rem;font-weight:950;letter-spacing:-.06em; }
body.product-detail-page .footer-brand-wordmark b { padding:4px 7px;border-radius:8px;background:rgba(255,255,255,.5);font-size:.72em; }
body.product-detail-page .footer-description { max-width:440px;margin:18px 0 24px;color:var(--pd-muted);font-size:.84rem;line-height:1.65; }
body.product-detail-page .footer-cta { display:flex;flex-wrap:wrap;gap:10px; }
body.product-detail-page .agent-register-footer,
body.product-detail-page .btn-discord { min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid rgba(255,255,255,.58);border-radius:12px;padding:0 17px;color:var(--pd-ink);background:rgba(255,255,255,.66);box-shadow:inset 0 1px 0 #fff;text-decoration:none;font-size:.69rem;font-weight:900; }
body.product-detail-page .btn-discord { color:#fff;background:#5968ed; }
body.product-detail-page .agent-register-footer img,
body.product-detail-page .btn-discord img { width:21px;height:21px;object-fit:contain; }
body.product-detail-page .footer-label { margin:7px 0 20px;color:#4b5482;font-size:.66rem;font-weight:950;letter-spacing:.1em; }
body.product-detail-page .footer-links { display:grid;gap:14px;margin:0;padding:0;list-style:none; }
body.product-detail-page .link-item { color:var(--pd-muted);text-decoration:none;font-size:.8rem;font-weight:700; }
body.product-detail-page .link-item:hover { color:var(--pd-ink); }
body.product-detail-page .footer-legal { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:38px;padding-top:22px;border-top:1px solid rgba(77,79,132,.12);color:rgba(25,24,42,.52);font-size:.64rem;font-weight:800; }
body.product-detail-page .legal-links { display:flex;gap:24px; }
body.product-detail-page .legal-item { color:inherit;text-decoration:none; }

@media (max-width: 1120px) {
  body.product-detail-page .nav-container { grid-template-columns:auto 1fr; }
  body.product-detail-page .nav-menu { grid-column:1 / -1;grid-row:2; }
  body.product-detail-page .nav-actions { grid-column:2;grid-row:1; }
  body.product-detail-page .footer-grid { grid-template-columns:1.4fr repeat(3,1fr);gap:28px; }
}

@media (max-width: 760px) {
  body.product-detail-page .header-main,
  body.product-detail-page .footer-main { width:calc(100% - 16px);margin-top:8px; }
  body.product-detail-page .nav-container { grid-template-columns:1fr auto;border-radius:18px;padding:8px; }
  body.product-detail-page .mobile-menu-btn { width:42px;height:42px;display:grid;place-content:center;gap:4px;border:1px solid var(--pd-line);border-radius:12px;background:rgba(255,255,255,.5); }
  body.product-detail-page .mobile-menu-btn span { width:18px;height:2px;border-radius:3px;background:#4b5482; }
  body.product-detail-page .nav-menu { display:none;grid-column:1 / -1;grid-row:2;align-items:stretch;flex-direction:column;padding-top:8px; }
  body.product-detail-page .nav-container.mobile-open .nav-menu { display:flex; }
  body.product-detail-page .nav-link,
  body.product-detail-page .nav-dropdown-btn { width:100%;justify-content:flex-start; }
  body.product-detail-page .nav-dropdown-menu { position:static;width:100%;display:none;margin-top:6px;opacity:1;visibility:visible;pointer-events:auto;transform:none; }
  body.product-detail-page .nav-dropdown.open .nav-dropdown-menu { display:grid;transform:none; }
  body.product-detail-page .nav-actions { grid-column:1 / -1;grid-row:3; }
  body.product-detail-page .footer-card { padding:28px 22px 20px; }
  body.product-detail-page .footer-grid { grid-template-columns:1fr 1fr; }
  body.product-detail-page .footer-branding { grid-column:1 / -1; }
}

@media (max-width: 520px) {
  body.product-detail-page .nav-brand-wordmark { font-size:1.08rem; }
  body.product-detail-page .nav-brand-icon { width:40px;height:40px;flex-basis:40px; }
  body.product-detail-page .nav-actions { grid-template-columns:1fr auto; }
  body.product-detail-page .footer-grid { grid-template-columns:1fr; }
  body.product-detail-page .footer-branding { grid-column:auto; }
  body.product-detail-page .footer-legal { align-items:flex-start;flex-direction:column; }
}

/* Exact desktop navbar geometry shared with Home and Finds. */
@media (min-width: 993px) {
  body.product-detail-page .header-main {
    width: 100%;
    height: 104px;
    margin: 0;
  }

  body.product-detail-page .nav-container {
    position: fixed;
    top: 0;
    left: calc(50% + 8px);
    width: calc(100% - 44px);
    max-width: 1480px;
    height: 70px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 20px 0 0;
    padding: 0 14px;
    border-color: rgba(91,91,158,.16) !important;
    background: linear-gradient(145deg, #e7d8ff 0%, #ced0ff 48%, #b8c0ff 100%) !important;
    box-shadow: 0 16px 38px rgba(101,105,173,.16), inset 0 1px 0 rgba(255,255,255,.72) !important;
    transform: translateX(-50%);
  }

  body.product-detail-page .nav-logo {
    flex: 0 0 240px;
    display: flex;
    align-items: center;
  }

  body.product-detail-page .nav-logo .logo-text { gap: 13px; }

  body.product-detail-page .nav-menu {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    margin: 0 !important;
  }

  body.product-detail-page .nav-link,
  body.product-detail-page .nav-dropdown-btn {
    min-height: 42px;
    padding: 0 15px;
  }

  body.product-detail-page .nav-actions {
    flex: 0 1 530px;
    width: min(530px, 38vw);
    min-width: 360px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
  }

  body.product-detail-page .nav-search {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    height: 46px;
  }

  body.product-detail-page #user-center-toggle.nav-account-icon-only {
    flex: 0 0 auto;
  }

  body.product-detail-page .page { padding-top: 24px; }
}

@media (min-width: 993px) and (max-width: 1260px) {
  body.product-detail-page .nav-logo { flex-basis: 205px; }
  body.product-detail-page .nav-brand-wordmark { font-size: 1.15rem; }
  body.product-detail-page .nav-actions { flex-basis: 430px;min-width:310px; }
}

/* Product detail must use the same final desktop chrome, without local variants. */
@media (min-width: 993px) {
  body.product-detail-page .nav-container {
    width: 95%;
    max-width: 1480px;
    height: 70px;
    min-height: 70px;
    padding: 0 40px;
    background: linear-gradient(145deg, #e7d8ff 0%, #ced0ff 48%, #b8c0ff 100%) !important;
    border-color: rgba(91,91,158,.16) !important;
    box-shadow: 0 16px 38px rgba(101,105,173,.16), inset 0 1px 0 rgba(255,255,255,.72) !important;
  }

  body.product-detail-page .nav-logo {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  body.product-detail-page .nav-menu {
    flex: 2;
    width: auto;
    justify-content: center;
    gap: 15px;
    margin-left: 82px !important;
  }

  body.product-detail-page .nav-actions {
    flex: 1;
    width: auto;
    min-width: 0;
    max-width: none;
    margin-left: 0;
  }

  body.product-detail-page .nav-search,
  body.product-detail-page .nav-search.nav-search-enhanced {
    flex: 0 0 360px !important;
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  body.product-detail-page #user-center-toggle.nav-account-icon-only,
  body.product-detail-page #user-center-toggle.nav-account-icon-only:hover,
  body.product-detail-page #user-center-toggle.nav-account-icon-only.is-logged-in,
  body.product-detail-page #user-center-toggle.nav-account-icon-only.is-logged-in:hover,
  body.product-detail-page #user-center-toggle.nav-account-icon-only.menu-open,
  body.product-detail-page #user-center-toggle.nav-account-icon-only.menu-open:hover {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
  }

  body.product-detail-page #user-center-toggle.nav-account-icon-only::before,
  body.product-detail-page #user-center-toggle.nav-account-icon-only:hover::before { opacity: 0 !important; }

  body.product-detail-page .nav-link,
  body.product-detail-page .nav-dropdown-btn {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid transparent;
    color: rgba(25,24,42,.68) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none;
    font-size: .82rem;
    font-weight: 800;
  }

  body.product-detail-page .nav-link:not(.active):hover,
  body.product-detail-page .nav-dropdown-btn:hover,
  body.product-detail-page .nav-dropdown-btn[aria-expanded="true"] {
    border-color: transparent !important;
    color: var(--pd-ink) !important;
    background: linear-gradient(135deg, rgba(184,192,255,.72), rgba(231,216,255,.72)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 7px 17px rgba(85,88,146,.1) !important;
    transform: translateY(-1px);
  }

  body.product-detail-page .nav-link.active {
    border-color: rgba(255,255,255,.5) !important;
    color: var(--pd-ink) !important;
    background: rgba(255,255,255,.58) !important;
    box-shadow: 0 8px 20px rgba(86,88,145,.12), inset 0 1px 0 rgba(255,255,255,.76) !important;
  }
}
