/* RackingZone — Products section: /products/ hub (pc-), category template (pcat-), product detail template (pd-).
   Shared components (cards, tables, forms, accordion, modal, lightbox) come from global.css. */

/* =====================================================================
   /products/ — Product Center hub
   ===================================================================== */
.pc-hero { padding-bottom: 56px; }
.pc-hero h1 { max-width: 640px; }
.pc-search {
  display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; max-width: 560px;
  background: var(--main); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); padding: 6px 6px 6px 1rem;
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.pc-search:focus-within { border-color: rgba(7, 128, 128, .45); box-shadow: 0 14px 34px rgba(7, 128, 128, .14); }
.pc-search > .bi { color: var(--teal); }
.pc-search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 44px; outline: none; font-size: .97rem; color: var(--ink); }
.pc-search .btn { padding: .55rem 1.1rem; }
.pc-tags { margin-top: .9rem; }
.pc-tags .chip { font-family: var(--font-body); }
.pc-tags .chip:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.pc-jump { background: var(--main); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: .5rem; }
.pc-jump a { display: flex; align-items: center; gap: .9rem; padding: .85rem .9rem; border-radius: 12px; color: var(--ink); transition: background .25s var(--ease); }
.pc-jump a + a { border-top: 1px solid var(--line); }
.pc-jump a:hover { background: var(--bg); color: var(--ink); }
.pc-jump strong { display: block; font-family: var(--font-head); font-size: 1.08rem; line-height: 1.2; }
.pc-jump small { color: var(--muted); font-size: .82rem; }
.pc-jump > a > .bi { margin-left: auto; font-size: 1.4rem; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.pc-jump a:hover > .bi { transform: translateY(3px); color: var(--red); }

/* ---------- Selector ---------- */
.pc-quiz { margin-top: 1.5rem; }
.pc-q { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.pc-q legend { display: flex; align-items: center; gap: .65rem; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: .8rem; }
.pc-qn { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.pc-q.is-answered .pc-qn { background: var(--teal); }
.pc-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.pc-opt { position: relative; margin: 0; cursor: pointer; }
.pc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pc-opt > span {
  display: block; height: 100%; padding: .8rem .95rem .85rem 2.4rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg);
  transition: all .22s var(--ease); position: relative;
}
.pc-opt > span::before {
  content: ""; position: absolute; left: .9rem; top: 1.02rem; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b9b3ac; background: #fff; transition: all .2s var(--ease);
}
.pc-opt strong { display: block; font-size: .93rem; color: var(--ink); line-height: 1.3; }
.pc-opt small { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; line-height: 1.35; }
.pc-opt:hover > span { border-color: var(--ink); background: var(--main); }
.pc-opt input:focus-visible + span { box-shadow: 0 0 0 .2rem rgba(7, 128, 128, .3); }
.pc-opt input:checked + span { border-color: var(--teal); background: var(--teal-soft); }
.pc-opt input:checked + span::before { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 3px #fff; }

.pc-result { background: var(--ink); color: rgba(255, 255, 255, .85); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg); margin-top: 1.5rem; }
@media (min-width: 992px) { .pc-result { margin-top: 0; } }
.pc-result-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.pc-result .kicker.ink { background: rgba(255, 255, 255, .12); }
.pc-progress { font-size: .8rem; color: rgba(255, 255, 255, .65); }
.pc-result-empty { text-align: center; padding: 1.8rem .5rem; border: 1.5px dashed rgba(255, 255, 255, .2); border-radius: 14px; }
.pc-result-empty .bi { font-size: 2.2rem; color: #7fd1d1; }
.pc-result-empty p { margin: .6rem 0 0; font-size: .92rem; }
.pc-rec { display: block; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 1rem 1.05rem; color: #fff; transition: background .25s var(--ease), transform .25s var(--ease); animation: dropIn .35s var(--ease) both; }
.pc-rec + .pc-rec { margin-top: .7rem; }
.pc-rec:hover { background: rgba(255, 255, 255, .11); color: #fff; transform: translateX(4px); }
.pc-rec-top { display: flex; align-items: center; gap: .7rem; }
.pc-rank { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.pc-rec:not(:first-child) .pc-rank { background: rgba(255, 255, 255, .16); }
.pc-rec h3 { color: #fff; font-size: 1.12rem; margin: 0; flex: 1; }
.pc-rec h3 .bi { font-size: .9rem; color: #7fd1d1; margin-left: .3rem; }
.pc-match { font-size: .74rem; color: #7fd1d1; font-weight: 600; white-space: nowrap; }
.pc-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin: .65rem 0 .55rem; overflow: hidden; }
.pc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #7fd1d1); border-radius: 4px; transition: width .5s var(--ease); }
.pc-rec ul { list-style: none; padding: 0; margin: 0; font-size: .84rem; color: rgba(255, 255, 255, .75); }
.pc-rec li { position: relative; padding-left: 1.2rem; margin-top: .2rem; }
.pc-rec li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: #7fd1d1; }
.pc-rec li.caveat::before { content: "\F33A"; color: #ffd166; }
.pc-rec .pc-cost-line { font-size: .78rem; color: rgba(255, 255, 255, .55); margin-top: .45rem; }
.pc-result-foot { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.pc-result-foot .small-muted { color: rgba(255, 255, 255, .6); }
.pc-result-foot .btn-line { color: #fff; border-color: rgba(255, 255, 255, .5); }
.pc-result-foot .btn-line:hover { background: #fff; color: var(--ink); }

/* ---------- Comparison matrix ---------- */
.pc-legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--muted); }
.pc-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.pc-dot, .pc-dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #e4ddd5; }
.pc-dot.on, .pc-dots i.on { background: var(--teal); }
.pc-dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.pc-matrix th[scope="row"] a { color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1rem; border-bottom: 2px solid rgba(7, 128, 128, .25); }
.pc-matrix th[scope="row"] a:hover { color: var(--teal); border-bottom-color: var(--teal); }
.pc-matrix td { vertical-align: middle; }
.pc-matrix td:last-child { color: var(--muted); font-size: .88rem; min-width: 220px; }
.pc-matrix strong { color: var(--ink); white-space: nowrap; }
.pc-cost { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 0 .4rem; margin-left: .3rem; white-space: nowrap; }
.pc-cost.lo { color: var(--teal); background: var(--teal-soft); border-color: transparent; }
.pc-cost.hi { color: var(--red-dark); background: var(--red-soft); border-color: transparent; }
.pc-matrix caption a { color: var(--muted); text-decoration: underline; }
@media (max-width: 767.98px) {
  /* stacked cards instead of a wide table */
  .pc-matrix-wrap { border: 0; background: transparent; overflow: visible; }
  .pc-matrix thead { display: none; }
  .pc-matrix, .pc-matrix tbody, .pc-matrix tr, .pc-matrix th, .pc-matrix td { display: block; width: 100%; }
  .pc-matrix tr { background: var(--main) !important; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; padding: .4rem 0; }
  .pc-matrix th[scope="row"] { border-bottom: 1px solid var(--line); padding: .7rem 1rem; }
  .pc-matrix td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .45rem 1rem; text-align: right; }
  .pc-matrix td::before { content: attr(data-label); font-weight: 600; color: var(--ink); text-align: left; flex: none; }
  .pc-matrix td:last-child { min-width: 0; }
  .pc-matrix caption { display: block; padding: .2rem 0; }
}

/* ---------- Grouped category list ---------- */
.pc-group { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.pc-group:first-of-type { border-top: 0; padding-top: .5rem; }
.pc-group[hidden] { display: none; }
.pc-group-label { position: sticky; top: 110px; align-self: start; }
.pc-group-label h3 { font-size: 1.45rem; font-weight: 800; margin: .8rem 0 .4rem; }
.pc-group-label p { color: var(--muted); font-size: .9rem; margin: 0; }
.pc-group-items { margin-bottom: -1rem; }
@media (max-width: 991.98px) {
  .pc-group { grid-template-columns: 1fr; gap: 1rem; }
  .pc-group-label { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; }
  .pc-group-label h3 { margin: 0; }
  .pc-group-label p { grid-column: 1 / -1; margin-top: .5rem; }
}
.sys-card { display: flex; align-items: stretch; height: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); position: relative; transition: all .35s var(--ease); }
.sys-card:hover { color: var(--ink); background: var(--main); border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sys-media { width: 38%; flex: none; overflow: hidden; background: var(--line); }
.sys-media img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; transition: transform .7s var(--ease); }
.sys-card:hover .sys-media img { transform: scale(1.07); }
.sys-body { padding: 1rem 2.8rem 1rem 1.1rem; display: flex; flex-direction: column; }
.sys-body h4 { font-size: 1.12rem; margin: 0 0 .3rem; line-height: 1.25; transition: color .2s; }
.sys-card:hover h4 { color: var(--teal); }
.sys-body p { font-size: .87rem; color: var(--muted); margin: 0 0 .7rem; line-height: 1.5; }
.sys-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: .35rem; }
.sys-meta span { font-size: .72rem; font-weight: 600; border-radius: 6px; padding: .12rem .45rem; background: var(--main); border: 1px solid var(--line); color: var(--muted); }
.sys-meta span:first-child { background: var(--teal-soft); border-color: transparent; color: var(--teal); }
.sys-go { position: absolute; right: .9rem; top: 1rem; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--main); color: var(--ink); transition: all .3s var(--ease); }
.sys-card:hover .sys-go { background: var(--red); color: #fff; transform: rotate(-45deg); }
@media (max-width: 575.98px) {
  .sys-media { width: 34%; }
  .sys-media img { min-height: 130px; }
  .sys-body { padding: .85rem 2.4rem .9rem .9rem; }
  .sys-body h4 { font-size: 1.02rem; }
  .sys-body p { font-size: .82rem; }
  .sys-go { width: 26px; height: 26px; right: .6rem; top: .8rem; }
}
[data-cat][hidden] { display: none !important; }
.pc-empty { margin: 1rem 0; }

/* ---------- Services strip (dark band) ---------- */
.pc-services { background: var(--ink); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.pc-services::before { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 93, 72, .35), transparent 70%); }
.pc-services .container { position: relative; }
.pc-services h2 { color: #fff; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; }
.pc-services p a { color: #7fd1d1; text-decoration: underline; }
.svc-tile { display: block; height: 100%; border-radius: var(--radius); padding: 1.5rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); transition: all .3s var(--ease); }
.svc-tile:hover { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9); transform: translateY(-4px); }
.svc-tile h3 { color: #fff; font-size: 1.3rem; margin: 1rem 0 .4rem; }
.svc-tile p { font-size: .9rem; margin-bottom: 1rem; }
.svc-tile .link-arrow { color: #7fd1d1; }
.svc-tile .icon-tile:not(.red) { background: rgba(127, 209, 209, .15); color: #7fd1d1; }

/* =====================================================================
   /products/{category}/ — category template
   ===================================================================== */
.pcat-hero { background: var(--main); padding: 36px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.pcat-hero::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 34%; background: var(--bg); z-index: 0; }
.pcat-hero > .container { position: relative; z-index: 1; }
.pcat-hero .rz-breadcrumb { margin-bottom: 1.6rem; }
.pcat-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; margin: .7rem 0 1rem; }
.pcat-hero .lead { font-size: 1.08rem; color: var(--muted); }
.pcat-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: 1.4rem; }
.pcat-fact { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.pcat-fact > .bi { width: 36px; height: 36px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--main); color: var(--red); font-size: 1.05rem; box-shadow: var(--shadow-sm); }
.pcat-fact small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.pcat-fact strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); line-height: 1.25; }
.pcat-figure { position: relative; margin: 0; }
.pcat-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.pcat-figure::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 45%; height: 55%; border-radius: var(--radius-lg); background: repeating-linear-gradient(-45deg, var(--teal) 0 8px, transparent 8px 18px); opacity: .18; z-index: -1; }
.pcat-figure figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 600; color: var(--ink); background: rgba(255, 255, 254, .9); padding: .25rem .6rem; border-radius: 6px; }
@media (max-width: 991.98px) { .pcat-hero::after { display: none; } .pcat-figure::before { display: none; } }
@media (max-width: 575.98px) {
  .pcat-hero { padding: 24px 0 40px; }
  .pcat-fact { padding: .55rem .6rem; gap: .5rem; }
  .pcat-fact > .bi { width: 30px; height: 30px; font-size: .92rem; }
  .pcat-fact strong { font-size: .9rem; }
}

.pcat-subnav { position: sticky; top: 62px; z-index: 1020; background: rgba(248, 245, 242, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pcat-subnav .container, .pd-tabs .container { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.pcat-subnav .container::-webkit-scrollbar, .pd-tabs .container::-webkit-scrollbar { display: none; }
.pcat-subnav a, .pd-tabs a { flex: none; padding: .8rem .85rem; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.pcat-subnav a:hover, .pd-tabs a:hover { color: var(--ink); }
.pcat-subnav a.active, .pd-tabs a.active { color: var(--ink); border-bottom-color: var(--red); }
@media (max-width: 1199.98px) { .pcat-subnav, .pd-tabs { top: 58px; } }

.pcat-sec { padding: 2.6rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.pcat-sec:first-child { padding-top: .5rem; }
.pcat-sec h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; margin: .5rem 0 1rem; }
.pcat-sec > p { color: var(--text); }
.pcat-steps { list-style: none; padding: 0; margin: 1.4rem 0 0; counter-reset: none; }
.pcat-steps li { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--main); border: 1px solid var(--line); border-radius: var(--radius); }
.pcat-steps li + li { margin-top: .7rem; }
.pcat-step-n { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--red); line-height: 1; min-width: 2.1rem; }
.pcat-steps h3 { font-size: 1.08rem; margin: 0 0 .3rem; }
.pcat-steps p { margin: 0; font-size: .93rem; color: var(--muted); }
.pcat-pc { height: 100%; border-radius: var(--radius); padding: 1.3rem 1.3rem .8rem; border: 1px solid var(--line); background: var(--main); }
.pcat-pc h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; }
.pcat-pros { border-top: 4px solid var(--teal); }
.pcat-pros h3 .bi { color: var(--teal); }
.pcat-cons { border-top: 4px solid var(--red); }
.pcat-cons h3 .bi { color: var(--red); }
.pcat-pc li { font-size: .93rem; }
.pcat-specs th[scope="row"] { width: 38%; }
.pcat-specs td a { text-decoration: underline; }

.pcat-cost { display: grid; grid-template-columns: 240px 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--main); }
.pcat-cost-figure { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.pcat-cost-figure::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 140px; height: 140px; border-radius: 50%; border: 24px solid rgba(255, 255, 255, .06); }
.pcat-cost-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7fd1d1; }
.pcat-cost-figure strong { font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; color: #fff; line-height: 1.1; margin: .3rem 0 .2rem; }
.pcat-cost-unit { font-size: .84rem; }
.pcat-cost-varies .pcat-cost-figure { background: var(--teal); }
.pcat-cost-varies .pcat-cost-label { color: rgba(255, 255, 255, .92); }
.pcat-cost-varies .pcat-cost-unit { color: rgba(255, 255, 255, .92); }
.pcat-cost-body { padding: 1.4rem 1.5rem; font-size: .93rem; }
.pcat-cost-body a { text-decoration: underline; }
.pcat-cost-body .check-list li { margin-bottom: .4rem; }
.pcat-cost-drivers { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.pcat-drivers { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pcat-drivers li { display: inline-flex; align-items: center; font-size: .84rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .75rem .2rem .35rem; }
.pcat-drivers .bi { color: var(--teal); font-size: 1.2rem; line-height: 1; }
@media (max-width: 767.98px) { .pcat-cost { grid-template-columns: 1fr; } .pcat-cost-figure { padding: 1.2rem 1.3rem; } }

.pcat-app { display: flex; gap: .9rem; align-items: flex-start; height: 100%; padding: 1rem; border-radius: var(--radius); background: var(--main); border: 1px solid var(--line); transition: all .3s var(--ease); }
.pcat-app:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.pcat-app h3 { font-size: 1.02rem; margin: .1rem 0 .25rem; }
.pcat-app p { font-size: .86rem; color: var(--muted); margin: 0; }
.pcat-slot .btn { flex: none; padding: .5rem .95rem; }
@media (max-width: 575.98px) { .pcat-slot { flex-wrap: wrap; } .pcat-slot .btn { width: 100%; } }
.pcat-content .listing-note { margin-top: 2rem; }

.pcat-side { padding-top: .5rem; }
@media (min-width: 992px) { .pcat-side.sticky-side { top: 124px; } }
/* The ask form is ~930px tall: on viewports that can't show it whole (e.g. 1440x900 laptops) sticking it would hide
   the submit button until the column ends, so it only sticks where it fits. */
@media (min-width: 992px) and (max-height: 1099.98px) { .pcat-side.sticky-side { position: static; } }
@media (max-width: 991.98px) { .pcat-side { margin-top: 2.5rem; scroll-margin-top: 110px; } }
.pcat-side .side-card h3 { font-size: 1.35rem; }
.pcat-side .rz-form textarea.form-control { height: auto; }
.pcat-side-mail { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.pcat-side .rz-form.is-done + .pcat-side-mail { display: none; }

/* =====================================================================
   /products/sample-product/ — product detail template
   ===================================================================== */
.pd-top { background: var(--main); padding: 32px 0 48px; border-bottom: 1px solid var(--line); }
.pd-top .rz-breadcrumb { margin-bottom: 1.4rem; }
.pd-main { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .25s; }
.pd-main:hover img { transform: scale(1.03); }
.pd-main.is-swapping img { opacity: .35; }
.pd-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--ink); background: rgba(255, 255, 254, .92); padding: .3rem .65rem; border-radius: 8px; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin-top: .7rem; }
.pd-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--bg); aspect-ratio: 4 / 3; cursor: pointer; opacity: .75; transition: all .2s var(--ease); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.active { border-color: var(--teal); opacity: 1; }
.pd-thumb:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.pd-summary h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.12; margin: .8rem 0 .6rem; }
.pd-sample { color: var(--muted); font-weight: 600; font-size: .7em; }
.pd-model { font-size: .92rem; color: var(--muted); margin-bottom: .8rem; }
.pd-model strong { color: var(--ink); font-family: var(--font-head); }
.pd-intro { color: var(--text); }
.pd-highlights { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pd-highlights li { display: flex; gap: .65rem; align-items: center; padding: .8rem .95rem; background: var(--bg); }
.pd-highlights li:nth-child(odd) { border-right: 1px solid var(--line); }
.pd-highlights li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.pd-highlights .bi { color: var(--teal); font-size: 1.2rem; }
.pd-highlights small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.pd-highlights strong { font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); }
.pd-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.pd-actions .btn { flex: 1 1 190px; white-space: nowrap; font-size: 1.05rem; padding: .8rem 1rem; }
.pd-assure { font-size: .84rem; color: var(--muted); margin: .8rem 0 0; display: flex; gap: .4rem; align-items: center; }
.pd-assure .bi { color: var(--teal); }

.pd-tabs { position: sticky; top: 62px; z-index: 1020; background: rgba(255, 255, 254, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pd-sec { padding: 1rem 0 2.4rem; scroll-margin-top: 130px; }
.pd-sec h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }
.pd-spec th[scope="row"] { width: 34%; }
.pd-spec .pd-spec-group th { background: var(--bg) !important; font-family: var(--font-head); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); padding: .55rem 1rem; }
.pd-spec tbody tr.pd-spec-group:hover { background: var(--bg); }

.pd-media-card { height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--main); }
.pd-cad { aspect-ratio: 16 / 10; }
.pd-cad .ph { min-height: 0; background: repeating-linear-gradient(0deg, rgba(7, 128, 128, .07) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(7, 128, 128, .07) 0 1px, transparent 1px 22px), #f7fbfb; }
.pd-media-body { padding: 1rem 1.1rem 1.15rem; }
.pd-media-body h3 { font-size: 1.08rem; margin: 0 0 .3rem; }
.pd-media-body p { font-size: .87rem; color: var(--muted); margin-bottom: .7rem; }
.pd-video { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.pd-video img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform .6s var(--ease); }
.pd-video:hover img { transform: scale(1.04); }
.pd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pd-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 2rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(244, 93, 72, .45); transition: transform .25s var(--ease); }
.pd-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.pd-play .bi { margin-left: 4px; }
.pd-video-note { position: absolute; left: 10px; bottom: 10px; font-size: .7rem; color: #fff; background: rgba(0, 0, 0, .45); padding: .15rem .5rem; border-radius: 5px; }
.pd-video-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem 1.4rem; background: rgba(35, 35, 35, .92); color: rgba(255, 255, 255, .85); font-size: .86rem; }
.pd-video-msg .bi { font-size: 1.8rem; color: #7fd1d1; margin-bottom: .4rem; }

.pd-downloads { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--main); }
.pd-downloads li { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; }
.pd-downloads li + li { border-top: 1px solid var(--line); }
.pd-downloads strong { display: block; color: var(--ink); font-size: .95rem; }
.pd-downloads small { color: var(--muted); font-size: .78rem; }
.pd-downloads .btn { margin-left: auto; white-space: nowrap; padding: .4rem .8rem; }
.pd-file { width: 42px; height: 42px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; background: var(--red-soft); color: var(--red); }
.pd-file.dwg { background: var(--teal-soft); color: var(--teal); }

.pd-supplier h3 { font-size: 1.2rem; margin: 0; }
.pd-logo { width: 64px; height: 64px; flex: none; }
.pd-logo .ph { height: 100%; }
.pd-sup-facts { list-style: none; padding: 0; margin: 1.2rem 0; font-size: .88rem; }
.pd-sup-facts li { display: flex; gap: .6rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.pd-sup-facts .bi { color: var(--teal); }
.pd-sup-note { font-size: .76rem; color: var(--muted); margin: 1rem 0 0; }

.pd-rel { display: block; height: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: all .35s var(--ease); }
.pd-rel:hover { color: var(--ink); background: var(--main); box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.pd-rel-media { aspect-ratio: 4 / 3; overflow: hidden; }
.pd-rel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pd-rel:hover .pd-rel-media img { transform: scale(1.06); }
.pd-rel-body { padding: .85rem 1rem 1rem; }
.pd-rel-body h3 { font-size: 1rem; margin: .4rem 0 .2rem; line-height: 1.3; }
.pd-rel-body p { font-size: .8rem; color: var(--muted); margin: 0; }

.pd-for { display: flex; flex-direction: column; gap: .1rem; padding: .8rem 1rem; margin-bottom: 1rem; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; }
.pd-for strong { font-family: var(--font-head); color: var(--ink); line-height: 1.3; }
.rz-modal .rz-form textarea.form-control { height: auto; }
.rz-modal .form-success .bi { font-size: 3rem; color: var(--teal); }

@media (max-width: 575.98px) {
  .pd-thumbs { gap: .35rem; }
  .pd-highlights li { padding: .65rem .7rem; }
  .pd-highlights strong { font-size: .92rem; }
  .pd-downloads li { flex-wrap: wrap; }
  .pd-downloads .btn { margin-left: 54px; }
}
