/* =====================================================================
   LabBrilliance — product page styles
   Gallery + zoom, fullscreen viewer, options, enquiry actions,
   specifications, certificates, related items, Try at Home popup.
   Requires lb-site.css.
   ===================================================================== */

/* Breadcrumb */
.breadcrumb { max-width: 1400px; margin: auto; padding: 20px 5% 14px; font-size: 11px; color: #827b72; letter-spacing: .04em; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #bdb3a7; }
.breadcrumb a:hover { color: var(--lb-gold); }
.breadcrumb [aria-current] { color: var(--lb-ink); }

/* Hero layout */
.pd-hero {
  max-width: 1400px; margin: auto; padding: 6px 5% 76px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
}

/* ---------- Gallery ---------- */
.pd-gallery {
  position: sticky; top: calc(var(--lb-header-h) + 18px);
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; min-width: 0;
}
.pd-thumbs { display: grid; gap: 10px; align-content: start; }
.pd-thumb {
  position: relative; padding: 0; border: 1px solid var(--lb-line); background: var(--lb-cream);
  aspect-ratio: 1; overflow: hidden; border-radius: 4px; opacity: .72; transition: opacity .2s, border-color .2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb[aria-current="true"] { opacity: 1; border-color: var(--lb-gold); box-shadow: inset 0 0 0 1px var(--lb-gold); }

.pd-stage { position: relative; min-width: 0; border-radius: 6px; overflow: hidden; background: var(--lb-cream); border: 1px solid #efe7dc; }
.pd-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain; outline: none;
}
.pd-track::-webkit-scrollbar { display: none; }
.pd-track:focus-visible { box-shadow: inset 0 0 0 2px var(--lb-gold); }
.pd-slide {
  flex: 0 0 100%; margin: 0; position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  scroll-snap-align: center; scroll-snap-stop: always; cursor: zoom-in; background: var(--lb-cream);
}
.pd-slide img {
  width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.pd-slide.is-zooming img { transform: scale(2.2); transition: transform .2s ease-out; }

.pd-tag {
  position: absolute; left: 14px; top: 14px; z-index: 1; pointer-events: none;
  padding: 6px 11px; border: 1px solid #ecdcbf; border-radius: 20px; background: rgba(255, 253, 250, .94);
  color: #6b5434; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pd-tag--placeholder { background: #fbf3e4; border-style: dashed; }

.pd-stage-btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--lb-line); border-radius: 50%; background: rgba(255, 253, 250, .94); color: var(--lb-ink);
  transition: opacity .25s, background-color .2s;
}
.pd-stage-btn:hover { background: #fff; }
.pd-stage-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-stage-btn--prev, .pd-stage-btn--next { top: 50%; transform: translateY(-50%); opacity: 0; }
.pd-stage-btn--prev { left: 14px; }
.pd-stage-btn--next { right: 14px; }
.pd-stage:hover .pd-stage-btn--prev, .pd-stage:hover .pd-stage-btn--next,
.pd-stage-btn:focus-visible { opacity: 1; }
.pd-stage-btn--expand { right: 14px; top: 14px; }
.pd-stage.is-zooming .pd-stage-btn, .pd-stage.is-zooming .pd-counter,
.pd-stage.is-zooming .pd-hint { opacity: 0; pointer-events: none; }

.pd-counter {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 1; pointer-events: none;
  padding: 6px 12px; border-radius: 20px; background: rgba(255, 253, 250, .94); font-size: 10px; letter-spacing: .14em;
  transition: opacity .2s;
}
.pd-hint {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; pointer-events: none;
  padding: 6px 10px; border-radius: 20px; background: rgba(255, 253, 250, .9); color: var(--lb-muted); font-size: 10px;
  transition: opacity .2s;
}

/* ---------- Product information ---------- */
.pd-info { min-width: 0; padding-top: 4px; }
.pd-eyebrow { margin: 0 0 12px; color: var(--lb-gold); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.pd-title { margin: 0 0 12px; font: 400 clamp(30px, 3.2vw, 44px)/1.14 var(--lb-serif); }
.pd-code { margin: 0 0 18px; color: var(--lb-muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pd-code .lb-tbc { text-transform: none; letter-spacing: .03em; }
.pd-lede { margin: 0 0 24px; color: #5f5850; font: 16px/1.75 var(--lb-serif); }

.pd-price { padding: 18px 20px; background: var(--lb-cream); border: 1px solid #eee3d4; border-radius: 4px; }
.pd-price-label { display: block; font: 400 25px/1.2 var(--lb-serif); }
.pd-price p { margin: 7px 0 0; color: var(--lb-muted); font-size: 12px; line-height: 1.6; }

.pd-option { margin: 22px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--lb-line); min-width: 0; }
.pd-option-legend {
  float: left; width: 100%; padding: 0; margin: 0 0 13px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pd-option-value { color: var(--lb-muted); font-weight: 400; font-size: 12px; letter-spacing: 0; text-transform: none; }
.pd-choices { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.pd-choice { position: relative; display: inline-flex; }
.pd-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pd-choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--lb-line); border-radius: 2px; background: #fff; font-size: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.pd-choice:hover span { border-color: var(--lb-gold-soft); }
.pd-choice input:checked + span { border-color: var(--lb-ink); box-shadow: inset 0 0 0 1px var(--lb-ink); }
.pd-choice input:focus-visible + span { outline: 2px solid var(--lb-gold); outline-offset: 2px; }
.pd-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .16); }
.pd-dot--yellow { background: linear-gradient(135deg, #ecd08b, #c99a45); }
.pd-dot--white { background: linear-gradient(135deg, #f6f5f2, #c9c6bf); }
.pd-dot--rose { background: linear-gradient(135deg, #f0c1ac, #c98a70); }

.pd-select-wrap { clear: both; position: relative; }
.pd-select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border-right: 1.5px solid var(--lb-ink); border-bottom: 1.5px solid var(--lb-ink); transform: rotate(45deg);
}
.pd-select {
  width: 100%; min-height: 48px; padding: 12px 42px 12px 14px; appearance: none; -webkit-appearance: none;
  border: 1px solid var(--lb-line); border-radius: 2px; background: #fff; font-size: 13px; outline: none;
}
.pd-select:focus { border-color: var(--lb-gold); }
.pd-help-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding-bottom: 2px;
  border-bottom: 1px solid currentColor; color: var(--lb-gold-dark); font-size: 12px;
}
.pd-help-link:hover { color: var(--lb-ink); }

.pd-actions { display: grid; gap: 10px; margin-top: 26px; }
.pd-actions .lb-btn { width: 100%; }
.pd-actions-note { margin: 12px 0 0; color: var(--lb-muted); font-size: 12px; line-height: 1.6; }

.pd-assure {
  list-style: none; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--lb-line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px;
}
.pd-assure li { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; line-height: 1.45; }
.pd-assure svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: var(--lb-gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pd-assure strong { display: block; margin-bottom: 2px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.pd-assure span { color: var(--lb-muted); }
.pd-assure-link { margin: 14px 0 0; font-size: 12px; }
.pd-assure-link a { color: var(--lb-gold-dark); border-bottom: 1px solid currentColor; }

/* ---------- Details, specifications, certificates ---------- */
.pd-details { background: var(--lb-cream); padding: 76px 5%; }
.pd-section-head { max-width: 1240px; margin: 0 auto 30px; text-align: center; }
.pd-section-head p { margin: 0 0 10px; color: var(--lb-gold); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.pd-section-head h2 { margin: 0; font: 400 clamp(28px, 3vw, 38px)/1.2 var(--lb-serif); }
.pd-details-grid { max-width: 1240px; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; align-items: start; }
.pd-block { background: var(--lb-paper); border: 1px solid #ece2d5; border-radius: 8px; padding: clamp(22px, 3vw, 32px); margin-bottom: 22px; }
.pd-block:last-child { margin-bottom: 0; }
.pd-block > h3 { margin: 0 0 14px; font: 400 24px/1.3 var(--lb-serif); }
.pd-block > p { margin: 0 0 12px; color: #5f5850; font: 15px/1.8 var(--lb-serif); }
.pd-block > p:last-child { margin-bottom: 0; }

.pd-spec-wrap { overflow-x: auto; }
.pd-specs { width: 100%; border-collapse: collapse; font-size: 13px; }
.pd-specs + .pd-specs { margin-top: 26px; }
.pd-specs caption { padding: 0 0 8px; text-align: left; color: var(--lb-gold); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.pd-specs th, .pd-specs td { padding: 13px 0; border-bottom: 1px solid var(--lb-line); text-align: left; vertical-align: top; }
.pd-specs th { width: 42%; padding-right: 16px; color: var(--lb-muted); font-weight: 400; }

.pd-cert { background: var(--lb-paper); border: 1px solid #ece2d5; border-radius: 8px; padding: 24px; margin-bottom: 16px; }
.pd-cert-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pd-seal { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border: 1px solid var(--lb-gold); border-radius: 50%; color: var(--lb-gold); }
.pd-seal svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pd-cert-head small { display: block; margin-bottom: 3px; color: var(--lb-gold); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.pd-cert-head h3 { margin: 0; font: 400 19px/1.3 var(--lb-serif); }
.pd-cert dl { margin: 0; display: grid; gap: 10px; font-size: 13px; }
.pd-cert dl div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--lb-line); }
.pd-cert dt { color: var(--lb-muted); }
.pd-cert dd { margin: 0; text-align: right; }
.pd-cert p { margin: 14px 0 0; color: var(--lb-muted); font-size: 12px; line-height: 1.65; }

.pd-acc { border-top: 1px solid var(--lb-line); }
.pd-acc:last-child { border-bottom: 1px solid var(--lb-line); }
.pd-acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 18px 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pd-acc summary::-webkit-details-marker { display: none; }
.pd-acc summary::after { content: "+"; color: var(--lb-gold); font-size: 19px; font-weight: 400; letter-spacing: 0; }
.pd-acc[open] summary::after { content: "\2212"; }
.pd-acc-body { padding: 0 0 18px; color: #5f5850; font: 14px/1.8 var(--lb-serif); }
.pd-acc-body p { margin: 0 0 10px; }
.pd-acc-body ul { margin: 0 0 10px; padding-left: 18px; }
.pd-acc-body small { display: block; color: var(--lb-muted); font: 12px/1.6 var(--lb-sans); }
.pd-acc-body a { color: var(--lb-gold-dark); border-bottom: 1px solid currentColor; }

/* ---------- Related ---------- */
.pd-related { padding: 76px 5% 86px; }
.pd-related-grid { max-width: 1240px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pd-card {
  display: block; min-width: 0; padding: 10px; overflow: hidden; background: var(--lb-paper);
  border: 1px solid #eee6dc; border-radius: 8px; box-shadow: 0 3px 14px rgba(68, 51, 34, .055);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.pd-card:hover { transform: translateY(-7px); border-color: #d7c2a5; box-shadow: 0 15px 32px rgba(68, 51, 34, .13); }
.pd-card-img { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 5px; background: var(--lb-cream); }
.pd-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2, .7, .2, 1); }
.pd-card:hover .pd-card-img img { transform: scale(1.06); }
.pd-card-body { padding: 15px 5px 8px; }
.pd-card-body h3 { margin: 0 0 6px; font: 400 17px/1.4 var(--lb-serif); }
.pd-card-body p { margin: 0 0 12px; color: var(--lb-muted); font-size: 12px; }
.pd-card-link { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid #c9b394; color: #62513e; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.pd-card:hover .pd-card-link { color: var(--lb-gold); border-color: var(--lb-gold); }

/* ---------- Fullscreen viewer ---------- */
.pd-viewer {
  position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(23, 22, 20, .97); color: #f8f3eb;
}
.pd-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: max(14px, env(safe-area-inset-top)) 18px 10px; }
.pd-viewer-meta { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.pd-viewer-count { font-size: 11px; letter-spacing: .16em; white-space: nowrap; }
.pd-viewer-label { overflow: hidden; color: #c6a77d; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.pd-viewer-tools { display: flex; gap: 8px; }
.pd-viewer-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: 0 0 44px;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; background: transparent; color: #fff; transition: background-color .2s;
}
.pd-viewer-btn:hover { background: rgba(255, 255, 255, .1); }
.pd-viewer-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-viewer-stage { position: relative; overflow: hidden; display: grid; place-items: center; touch-action: none; cursor: zoom-in; }
.pd-viewer-stage.is-zoomed { cursor: grab; }
.pd-viewer-stage.is-dragging { cursor: grabbing; }
.pd-viewer-img {
  max-width: min(92vw, 1200px); max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px);
  width: auto; height: auto; object-fit: contain; border-radius: 4px; will-change: transform; transition: transform .25s ease;
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.pd-viewer-stage.is-dragging .pd-viewer-img, .pd-viewer-stage.is-pinching .pd-viewer-img { transition: none; }
.pd-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; flex-basis: 52px; background: rgba(23, 22, 20, .5); }
.pd-viewer-nav--prev { left: 18px; }
.pd-viewer-nav--next { right: 18px; }
.pd-viewer-foot { padding: 10px 16px max(16px, env(safe-area-inset-bottom)); }
.pd-viewer-thumbs { display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.pd-viewer-thumbs button { width: 56px; height: 56px; flex: 0 0 56px; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; background: #2a2622; opacity: .5; transition: opacity .2s, border-color .2s; }
.pd-viewer-thumbs button[aria-current="true"] { opacity: 1; border-color: #c6a77d; }
.pd-viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-viewer-hint { margin: 8px 0 0; color: #a69d94; font-size: 11px; text-align: center; }

/* ---------- Try at Home popup ---------- */
.th-overlay {
  position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(22, 21, 20, .72); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.th-modal {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  display: grid; grid-template-columns: 330px minmax(0, 1fr); background: var(--lb-paper); border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3); overscroll-behavior: contain;
}
.th-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: #f2efeb; color: #171411; font-size: 25px; line-height: 1;
}
.th-product { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--lb-cream); border-right: 1px solid var(--lb-line); }
.th-product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #efe6da; }
.th-eyebrow { margin: 0; color: var(--lb-gold); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.th-product h3 { margin: 0; font: 400 21px/1.3 var(--lb-serif); }
.th-selection { margin: 0; display: grid; gap: 8px; font-size: 12px; }
.th-selection div { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--lb-line); }
.th-selection dt { color: var(--lb-muted); }
.th-selection dd { margin: 0; text-align: right; }
.th-small { margin: 0; color: var(--lb-muted); font-size: 11px; line-height: 1.6; }
.th-form-area { min-width: 0; padding: 34px 34px 28px; }
.th-title { margin: 0 44px 8px 0; font: 400 32px/1.2 var(--lb-serif); letter-spacing: -.01em; }
.th-subtitle { margin: 0 0 22px; color: var(--lb-muted); font-size: 14px; line-height: 1.6; }
.th-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.th-field { min-width: 0; }
.th-full { grid-column: 1 / -1; }
.th-field label { display: block; margin-bottom: 6px; color: #3a332d; font-size: 12px; letter-spacing: .03em; }
.th-req { color: #a65f49; font-weight: 700; }
.th-field input, .th-field select, .th-field textarea {
  display: block; width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #ddd5cb; border-radius: 8px;
  background: #fff; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.th-field textarea { min-height: 78px; resize: vertical; }
.th-field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #292521 50%), linear-gradient(135deg, #292521 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.th-field input:focus, .th-field select:focus, .th-field textarea:focus { border-color: var(--lb-gold); box-shadow: 0 0 0 3px rgba(168, 132, 85, .15); }
.th-field input:user-invalid, .th-field select:user-invalid, .th-field textarea:user-invalid { border-color: #b5523a; }
.th-submit {
  width: 100%; min-height: 54px; margin-top: 22px; padding: 14px 18px; border: 0; border-radius: 32px;
  background: linear-gradient(100deg, #b97962, #a96753); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .02em;
  transition: filter .2s, transform .2s;
}
.th-submit:hover { filter: brightness(.94); transform: translateY(-1px); }
.th-note { margin: 10px 0 0; color: #8b8179; font-size: 11px; line-height: 1.55; text-align: center; }

/* ---------- Mobile sticky action bar ---------- */
.pd-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 250, .97);
  border-top: 1px solid var(--lb-line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06);
  transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s;
}
.pd-sticky.is-visible { transform: none; visibility: visible; transition: transform .3s ease; }
.pd-sticky .lb-btn { min-height: 46px; padding: 10px 8px; font-size: 10px; letter-spacing: .1em; }
.pd-sticky .lb-btn svg { width: 16px; height: 16px; flex-basis: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pd-details-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .pd-assure { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pd-hero { grid-template-columns: 1fr; padding-bottom: 56px; }
  .pd-gallery { position: static; grid-template-columns: 1fr; }
  .pd-thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 68px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .pd-hint { display: none; }
  .pd-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-details-grid { grid-template-columns: 1fr; }
  .pd-cert-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pd-cert { margin-bottom: 0; }
}
@media (hover: none) {
  .pd-stage-btn--prev, .pd-stage-btn--next { display: none; }
  .pd-slide { cursor: pointer; }
}
@media (max-width: 760px) {
  .lb-float-wa { display: none; }
  .pd-sticky { display: grid; }
  body.has-sticky-bar { padding-bottom: 74px; }
  .pd-details, .pd-related { padding-top: 56px; padding-bottom: 60px; }
  .pd-related-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; }
  .pd-card { scroll-snap-align: start; }
  .pd-card:hover { transform: none; }
  .th-overlay { padding: 0; align-items: stretch; }
  .th-modal { grid-template-columns: 1fr; width: 100%; max-height: none; height: 100%; border-radius: 0; }
  .th-product { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 16px 60px 16px 18px; border-right: 0; border-bottom: 1px solid var(--lb-line); }
  .th-product img { grid-row: span 3; width: 72px; }
  .th-product h3 { font-size: 17px; }
  .th-selection { grid-column: 2; display: block; font-size: 11px; color: var(--lb-muted); }
  .th-selection div { display: inline; padding: 0; border: 0; }
  .th-selection div + div::before { content: " · "; }
  .th-selection dt { display: none; }
  .th-selection dd { display: inline; }
  .th-small { display: none; }
  .th-form-area { padding: 22px 18px 26px; }
  .th-title { font-size: 26px; }
  .th-subtitle { font-size: 13px; margin-bottom: 16px; }
  .pd-viewer-nav { display: none; }
  .pd-viewer-thumbs button { width: 46px; height: 46px; flex-basis: 46px; }
}
@media (max-width: 560px) {
  .pd-cert-list { grid-template-columns: 1fr; }
  .pd-assure { grid-template-columns: 1fr; }
  .th-fields { grid-template-columns: 1fr; }
  .pd-specs th { width: 48%; }
}
@media (max-width: 480px) {
  .breadcrumb { padding-top: 14px; }
  .pd-hero { padding-left: 4%; padding-right: 4%; }
  .pd-choice span { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-track { scroll-behavior: auto; }
  .pd-slide.is-zooming img { transition: none; }
}
