/* Shared product-detail layer. Page-specific content stays in HTML; layout and controls are reusable. */
body[data-page="products"] .pd-page {
  --pd-section-space: clamp(68px, 7vw, 104px);
  overflow: clip;
  background: #fff;
}

.pd-page section[id] { scroll-margin-top: 132px; }
.pd-section { padding: var(--pd-section-space) 0; }
.pd-section--soft { background: var(--soft); }
.pd-section--dark { background: var(--navy); color: var(--white); }
.pd-section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, .5fr); gap: 48px; align-items: end; margin-bottom: 34px; }
.pd-section-head h2 { max-width: 760px; font-size: clamp(32px, 4vw, 52px); }
.pd-section-head > p { margin: 0; max-width: 560px; }
.pd-section-head--spaced { margin-top: 48px; }
.pd-section--dark .pd-section-head > p { color: rgba(255,255,255,.7); }

.pd-hero {
  position: relative;
  padding: clamp(126px, 11vw, 166px) 0 clamp(64px, 7vw, 92px);
  color: var(--white);
  background: linear-gradient(135deg, #071426 0%, #0b1f3a 68%, #102c51 100%);
}
.pd-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 52% 25%, rgba(0,99,246,.22), transparent 30%), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 82px 82px; }
.pd-hero__grid { position: relative; display: grid; grid-template-columns: minmax(320px, .95fr) minmax(360px, 1.12fr) minmax(270px, .7fr); gap: clamp(26px, 3vw, 48px); align-items: center; }
.pd-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: rgba(255,255,255,.62); font-size: 14px; }
.pd-breadcrumbs a:hover { color: var(--yellow); }
.pd-hero__copy h1 { max-width: 620px; font-size: clamp(48px, 5.2vw, 78px); }
.pd-hero__copy .lead { color: rgba(255,255,255,.78); font-size: clamp(17px, 1.4vw, 20px); }
.pd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pd-hero__question { display: inline-flex; margin-top: 20px; padding: 0; color: rgba(255,255,255,.82); font: inherit; font-weight: 700; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); background: transparent; cursor: pointer; }
.pd-hero__question:hover { color: var(--yellow); border-color: var(--yellow); }
.pd-hero__media { position: relative; margin: 0; min-height: 500px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: #10233c; box-shadow: 0 34px 86px rgba(0,0,0,.34); }
.pd-hero__media::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(transparent, rgba(5,16,31,.48)); }
.pd-hero__media img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; object-position: 52% center; }
.pd-quick { padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.pd-quick__title { margin: 0 0 12px; color: var(--yellow); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.pd-quick dl { margin: 0; }
.pd-quick dl > div { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.pd-quick dt { color: rgba(255,255,255,.54); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.pd-quick dd { margin: 4px 0 0; color: #fff; font-weight: 720; line-height: 1.35; }

.pd-anchor-bar { position: sticky; top: 72px; z-index: 52; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
.pd-anchor-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pd-anchor-nav::-webkit-scrollbar { display: none; }
.pd-anchor-nav a { position: relative; flex: 0 0 auto; padding: 16px 14px; color: #516074; font-size: 14px; font-weight: 750; white-space: nowrap; }
.pd-anchor-nav a::after { content: ""; position: absolute; right: 14px; bottom: 0; left: 14px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform var(--transition-fast); }
.pd-anchor-nav a:hover, .pd-anchor-nav a.is-active { color: var(--navy); }
.pd-anchor-nav a.is-active::after { transform: scaleX(1); }

.pd-about { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: clamp(42px, 7vw, 96px); align-items: start; }
.pd-about__copy h2 { font-size: clamp(34px, 4vw, 54px); }
.pd-about__copy p { font-size: 17px; }
.pd-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.pd-fact { min-height: 144px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pd-fact span { display: block; margin-bottom: 20px; color: var(--blue); font-size: 13px; font-weight: 850; letter-spacing: .12em; }
.pd-fact h3 { font-size: 19px; }
.pd-fact p { margin-top: 8px; font-size: 14px; line-height: 1.55; }

.pd-choice-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.pd-choice { position: relative; min-height: 188px; padding: 22px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.pd-choice:hover { border-color: rgba(0,99,246,.46); box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.pd-choice.is-selected { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(0,99,246,.11); }
.pd-choice.is-selected::before { content: ""; position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255,201,40,.2); }
.pd-choice__code { display: block; margin-bottom: 26px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.pd-choice strong { display: block; font-size: 19px; line-height: 1.25; }
.pd-choice small { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.pd-selection-summary { display: grid; grid-template-columns: auto 1fr; gap: 16px 24px; align-items: start; margin-top: 20px; padding: 20px 22px; border-left: 3px solid var(--yellow); background: var(--navy); color: #fff; border-radius: 0 12px 12px 0; }
.pd-selection-summary strong { color: var(--yellow); }
.pd-selection-summary p { margin: 0; color: rgba(255,255,255,.72); }

.pd-size-tools { display: grid; grid-template-columns: minmax(260px, 1fr) 190px 190px; gap: 12px; margin-bottom: 18px; }
.pd-field { display: grid; gap: 7px; color: var(--navy); font-size: 13px; font-weight: 760; }
.pd-field input, .pd-field select, .pd-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cfd8e4; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.pd-field textarea { min-height: 118px; resize: vertical; }
.pd-field input:focus, .pd-field select:focus, .pd-field textarea:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px rgba(0,99,246,.12); }
.pd-size-table-wrap { max-height: 590px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pd-size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-size-table th { position: sticky; top: 0; z-index: 2; padding: 13px 14px; text-align: left; background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .04em; }
.pd-size-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.pd-size-table tbody tr { transition: background var(--transition-fast), box-shadow var(--transition-fast); }
.pd-size-table tbody tr:hover { background: #f6f9fd; }
.pd-size-table tbody tr.is-selected { background: #edf5ff; box-shadow: inset 3px 0 var(--blue); }
.pd-size-table tbody tr[hidden] { display: none; }
.pd-size-table__marks { color: var(--navy); font-weight: 780; }
.pd-size-select { min-height: 38px; padding: 8px 12px; border: 1px solid rgba(0,99,246,.3); border-radius: 9px; background: transparent; color: var(--blue); font-weight: 760; cursor: pointer; }
.pd-size-select:hover { color: #fff; background: var(--blue); }
.pd-size-empty { padding: 18px; color: var(--muted); text-align: center; }
.pd-source-note { margin-top: 14px; font-size: 13px; }

.pd-compare-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pd-compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-compare th, .pd-compare td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pd-compare th { background: #f7f9fc; color: var(--navy); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.pd-compare tr:last-child td { border-bottom: 0; }
.pd-level { display: inline-flex; min-height: 26px; align-items: center; padding: 3px 8px; border-radius: 7px; background: #eef4fb; color: var(--navy); font-size: 12px; font-weight: 780; }

.pd-gallery { display: grid; grid-template-columns: 1.35fr .65fr .65fr; grid-auto-rows: 248px; gap: 12px; }
.pd-gallery__item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 12px; background: #dfe5ec; cursor: zoom-in; }
.pd-gallery__item:first-child { grid-row: span 2; }
.pd-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.pd-gallery__item:first-child img { object-position: 50% center; }
.pd-gallery__item:hover img { transform: scale(1.035); }
.pd-gallery__item span { position: absolute; right: 0; bottom: 0; left: 0; padding: 34px 16px 14px; color: #fff; font-size: 14px; font-weight: 750; text-align: left; background: linear-gradient(transparent, rgba(5,16,31,.82)); }
.pd-lightbox { width: min(1120px, calc(100% - 32px)); max-width: none; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #071426; color: #fff; }
.pd-lightbox::backdrop { background: rgba(3,9,18,.86); backdrop-filter: blur(7px); }
.pd-lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #071426; }
.pd-lightbox__caption { padding: 14px 58px 16px 18px; color: rgba(255,255,255,.76); }
.pd-lightbox__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; background: rgba(7,20,38,.74); color: #fff; font-size: 24px; cursor: pointer; }

.pd-route { display: grid; grid-template-columns: repeat(9, minmax(0,1fr)); gap: 0; counter-reset: route; }
.pd-route li { position: relative; min-height: 160px; padding: 50px 14px 16px 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.45; }
.pd-route li::before { counter-increment: route; content: counter(route, decimal-leading-zero); position: absolute; top: -16px; left: 0; display: grid; width: 34px; height: 32px; place-items: center; background: var(--navy); color: var(--yellow); font-size: 12px; font-weight: 850; }
.pd-route li:not(:last-child)::after { content: ""; position: absolute; top: -2px; right: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }

.pd-calculation { display: grid; grid-template-columns: minmax(260px, .58fr) minmax(0, 1.42fr); gap: clamp(34px, 6vw, 82px); align-items: start; }
.pd-calculation__aside { position: sticky; top: 148px; }
.pd-calculation__aside h2 { font-size: clamp(34px, 4vw, 52px); }
.pd-config-summary { margin-top: 26px; padding: 22px; border-radius: 12px; background: var(--navy); color: #fff; }
.pd-config-summary h3 { margin-bottom: 12px; color: var(--yellow); font-size: 16px; }
.pd-config-summary dl { margin: 0; }
.pd-config-summary div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.12); }
.pd-config-summary dt { color: rgba(255,255,255,.54); font-size: 12px; }
.pd-config-summary dd { margin: 0; font-size: 13px; font-weight: 720; }
.pd-request-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }
.pd-request-form__full { grid-column: 1 / -1; }
.pd-request-form .contact-upload { grid-column: 1 / -1; }
.pd-upload { grid-column: 1 / -1; position: relative; }
.pd-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pd-upload label { display: grid; min-height: 118px; place-content: center; padding: 18px; border: 1px dashed #aebccc; border-radius: 12px; background: #f8fafc; text-align: center; cursor: pointer; transition: border-color var(--transition-fast), background var(--transition-fast); }
.pd-upload.is-dragover label { border-color: var(--blue); background: #eef6ff; }
.pd-upload label strong { color: var(--navy); }
.pd-upload label span { color: var(--muted); font-size: 13px; }
.pd-upload__list { margin-top: 8px; color: var(--muted); font-size: 13px; }
.pd-consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13px; }
.pd-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; }
.pd-form-footer { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; }
.pd-form-footer p { margin: 0; font-size: 13px; }

.pd-catalog { display: grid; grid-template-columns: minmax(0, .72fr) minmax(520px, 1.28fr); gap: 44px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 14px; background: linear-gradient(135deg, #08182c, #102d50); color: #fff; }
.pd-catalog--spaced { margin-top: 48px; }
.pd-catalog h2 { font-size: clamp(28px, 3vw, 42px); }
.pd-catalog p { color: rgba(255,255,255,.68); }
.pd-catalog-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.pd-catalog-form .pd-field { color: rgba(255,255,255,.84); }
.pd-catalog-form .pd-consent { color: rgba(255,255,255,.68); }
.pd-catalog-form .pd-consent, .pd-catalog-form__action { grid-column: 1 / -1; }

.pd-faq { display: grid; grid-template-columns: minmax(280px,.55fr) minmax(0,1.45fr); gap: clamp(38px, 7vw, 92px); align-items: start; }
.pd-faq h2 { font-size: clamp(34px, 4vw, 52px); }
.pd-faq__list details { border-top: 1px solid var(--line); }
.pd-faq__list details:last-child { border-bottom: 1px solid var(--line); }
.pd-faq__list summary { position: relative; padding: 20px 48px 20px 0; color: var(--navy); font-size: 17px; font-weight: 780; cursor: pointer; list-style: none; }
.pd-faq__list summary::-webkit-details-marker { display: none; }
.pd-faq__list summary::after { content: "+"; position: absolute; top: 17px; right: 4px; color: var(--blue); font-size: 24px; font-weight: 400; }
.pd-faq__list details[open] summary::after { content: "−"; }
.pd-faq__list details p { margin: 0; padding: 0 40px 20px 0; }

.pd-related { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.pd-related-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.pd-related-card:hover { border-color: rgba(0,99,246,.44); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.pd-related-card img { width: 100%; height: 210px; object-fit: cover; transition: transform 420ms ease; }
.pd-related-card:hover img { transform: scale(1.035); }
.pd-related-card__body { padding: 18px; }
.pd-related-card h3 { font-size: 20px; }
.pd-related-card p { font-size: 14px; line-height: 1.55; }
.pd-related-card span { display: inline-flex; margin-top: 14px; color: var(--blue); font-size: 14px; font-weight: 780; }
.pd-related-card:hover span { transform: translateX(4px); }

.pd-mobile-cta { display: none; }

@media (max-width: 1180px) {
  .pd-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr); }
  .pd-quick { grid-column: 1 / -1; display: grid; grid-template-columns: 170px 1fr; align-items: start; }
  .pd-quick dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 20px; }
  .pd-quick dl > div { padding-top: 8px; }
  .pd-choice-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pd-route { grid-template-columns: repeat(5,minmax(0,1fr)); row-gap: 28px; }
  .pd-related-card img { height: 185px; }
}

@media (max-width: 900px) {
  .pd-section-head, .pd-about, .pd-calculation, .pd-faq, .pd-catalog { grid-template-columns: 1fr; }
  .pd-section-head { gap: 16px; }
  .pd-hero__grid { grid-template-columns: 1fr; }
  .pd-hero__copy h1 { max-width: none; }
  .pd-hero__media, .pd-hero__media img { min-height: 420px; }
  .pd-quick { grid-column: auto; }
  .pd-calculation__aside { position: static; }
  .pd-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pd-size-tools { grid-template-columns: 1fr 1fr; }
  .pd-size-tools .pd-field:first-child { grid-column: 1 / -1; }
  .pd-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .pd-gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .pd-route { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pd-catalog { gap: 24px; }
  .pd-catalog-form { grid-template-columns: 1fr 1fr; }
  .pd-catalog-form .pd-field:last-of-type { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body[data-page="products"] .pd-page { --pd-section-space: 58px; padding-bottom: 76px; }
  .pd-page section[id] { scroll-margin-top: 116px; }
  .pd-hero { padding-top: 116px; }
  .pd-hero__copy h1 { font-size: clamp(40px, 12vw, 56px); }
  .pd-hero__actions { display: grid; }
  .pd-hero__actions .btn { width: 100%; min-height: 48px; }
  .pd-hero__media, .pd-hero__media img { min-height: 320px; }
  .pd-quick { display: block; }
  .pd-quick dl { grid-template-columns: 1fr 1fr; }
  .pd-anchor-bar { top: 64px; }
  .pd-anchor-nav a { padding: 14px 12px; }
  .pd-about__copy p { font-size: 16px; }
  .pd-fact p, .pd-choice small, .pd-related-card p { font-size: 15px; }
  .pd-facts, .pd-choice-grid { grid-template-columns: 1fr; }
  .pd-choice { min-height: 154px; }
  .pd-selection-summary { grid-template-columns: 1fr; gap: 4px; }
  .pd-size-tools { grid-template-columns: 1fr; }
  .pd-size-tools .pd-field:first-child { grid-column: auto; }
  .pd-size-table-wrap { max-height: none; overflow: visible; border: 0; background: transparent; }
  .pd-size-table, .pd-size-table tbody { display: grid; gap: 10px; }
  .pd-size-table thead { display: none; }
  .pd-size-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .pd-size-table td { display: grid; gap: 2px; padding: 0; border: 0; }
  .pd-size-table td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
  .pd-size-table td:first-child, .pd-size-table td:last-child { grid-column: 1 / -1; }
  .pd-size-select { width: 100%; min-height: 44px; margin-top: 6px; }
  .pd-compare-wrap { overflow: visible; border: 0; background: transparent; }
  .pd-compare, .pd-compare tbody { display: grid; gap: 12px; }
  .pd-compare thead { display: none; }
  .pd-compare tr { display: grid; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .pd-compare td { display: grid; grid-template-columns: minmax(105px,.7fr) 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid #edf0f4; }
  .pd-compare td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
  .pd-gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .pd-gallery__item:first-child { grid-column: auto; }
  .pd-route { grid-template-columns: 1fr; gap: 0; }
  .pd-route li { min-height: 0; padding: 18px 12px 18px 54px; border-top: 0; border-left: 1px solid rgba(255,255,255,.22); }
  .pd-route li::before { top: 10px; left: -17px; }
  .pd-route li:not(:last-child)::after { display: none; }
  .pd-request-form { grid-template-columns: 1fr; }
  .pd-request-form__full, .pd-request-form .contact-upload, .pd-upload, .pd-consent, .pd-form-footer { grid-column: auto; }
  .pd-form-footer { display: grid; }
  .pd-form-footer .btn { width: 100%; min-height: 48px; }
  .pd-catalog { padding: 24px 18px; }
  .pd-catalog-form { grid-template-columns: 1fr; }
  .pd-catalog-form .pd-field:last-of-type, .pd-catalog-form .pd-consent, .pd-catalog-form__action { grid-column: auto; }
  .pd-related { grid-template-columns: 1fr; }
  .pd-related-card img { height: 210px; }
  .pd-mobile-cta { position: fixed; right: 0; bottom: 0; left: 0; z-index: 78; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -14px 34px rgba(11,31,58,.12); backdrop-filter: blur(14px); }
  .pd-mobile-cta .btn { min-height: 46px; padding: 10px 12px; font-size: 13px; }
}

@media (max-width: 430px) {
  .pd-quick dl { grid-template-columns: 1fr; }
  .pd-gallery { grid-auto-rows: 210px; }
  .pd-facts { gap: 10px; }
  .pd-fact { min-height: 0; }
}

/* Metal-roll product details: assortment, grade comparison and theoretical mass. */
.pd-sheet-hero__media img { object-position: 52% center; }
.pd-sheet-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-norm-note { margin-top: 26px; padding: 20px 22px; border-left: 3px solid var(--yellow); border-radius: 0 12px 12px 0; background: #f4f7fa; }
.pd-norm-note strong { display: block; margin-bottom: 7px; color: var(--navy); font-size: 14px; }
.pd-norm-note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.pd-grade-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.pd-grade-card { position: relative; overflow: hidden; min-height: 300px; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }
.pd-grade-card::after { content: ""; position: absolute; right: -80px; bottom: -105px; width: 230px; height: 230px; border: 1px solid rgba(0, 99, 246, .13); border-radius: 50%; }
.pd-grade-card > span { color: var(--blue); font-size: 11px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.pd-grade-card h3 { margin: 10px 0 12px; font-size: clamp(32px, 4vw, 48px); }
.pd-grade-card p { max-width: 560px; }
.pd-grade-card ul { display: grid; gap: 7px; margin: 20px 0 26px; padding: 0; list-style: none; }
.pd-grade-card li { position: relative; padding-left: 18px; color: var(--navy); font-size: 14px; }
.pd-grade-card li::before { content: ""; position: absolute; top: .65em; left: 0; width: 7px; height: 1px; background: var(--yellow); }
.pd-grade-card button { position: relative; z-index: 1; display: inline-flex; min-height: 44px; gap: 12px; align-items: center; padding: 0; border: 0; background: transparent; color: var(--blue); font-weight: 780; cursor: pointer; }
.pd-grade-card button span { transition: transform var(--transition-fast); }
.pd-grade-card button:hover span { transform: translateX(4px); }
.pd-grade-card--accent { border-color: rgba(0, 99, 246, .28); background: linear-gradient(145deg, #fff, #f1f6fc); }
.pd-sheet-compare-wrap { margin-top: 0; }
.pd-sheet-compare td:first-child { width: 24%; }

.pd-sheet-tools { grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, .46fr)); }
.pd-sheet-selection { grid-template-columns: 150px minmax(0, 1fr) auto; }
.pd-inline-action { min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 780; cursor: pointer; }
.pd-inline-action:disabled { color: #9aa7b6; cursor: not-allowed; }
.pd-assortment-table th:nth-child(1) { width: 14%; }
.pd-assortment-table th:nth-child(2) { width: 16%; }
.pd-assortment-table th:nth-child(3) { width: 20%; }
.pd-assortment-table th:nth-child(4) { width: 25%; }
.pd-assortment-table .pd-size-select { white-space: nowrap; }
.pd-sheet-disclaimer { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

.pd-mass-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(560px, 1.28fr); gap: clamp(36px, 7vw, 92px); align-items: center; }
.pd-mass-copy h2 { max-width: 620px; font-size: clamp(36px, 4.7vw, 60px); }
.pd-mass-copy p { color: rgba(255, 255, 255, .68); }
.pd-mass-copy ul { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.pd-mass-copy li { position: relative; padding-left: 18px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.pd-mass-copy li::before { content: ""; position: absolute; top: .65em; left: 0; width: 7px; height: 1px; background: var(--yellow); }
.pd-mass-calculator { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: clamp(22px, 3vw, 34px); border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: 0 24px 70px rgba(0, 0, 0, .18); }
.pd-mass-calculator .pd-field { color: rgba(255, 255, 255, .84); }
.pd-mass-calculator__grade { grid-column: 1 / -1; }
.pd-mass-result { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: 12px; background: #fff; color: var(--navy); }
.pd-mass-result div { padding: 20px; }
.pd-mass-result div + div { border-left: 1px solid var(--line); }
.pd-mass-result span { display: block; color: var(--muted); font-size: 12px; }
.pd-mass-result strong { display: block; margin-top: 5px; font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.pd-mass-result p { grid-column: 1 / -1; margin: 0; padding: 12px 20px; border-top: 1px solid var(--line); background: #f5f8fb; color: var(--muted); font-size: 13px; }
.pd-mass-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pd-mass-actions .btn { width: 100%; }

.pd-tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pd-tech-card { display: flex; min-height: 520px; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.pd-tech-card:hover { border-color: rgba(0, 99, 246, .35); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.pd-tech-card > span { color: var(--blue); font-size: 12px; font-weight: 850; }
.pd-tech-card h3 { margin: 12px 0 20px; font-size: 25px; }
.pd-tech-card dl { margin: 0 0 24px; }
.pd-tech-card dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.pd-tech-card dt { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.pd-tech-card dd { margin: 0; color: var(--navy); font-size: 13px; line-height: 1.45; }
.pd-tech-card > a, .pd-tech-card > button { display: inline-flex; min-height: 44px; gap: 10px; align-items: center; align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 14px; font-weight: 780; cursor: pointer; }
.pd-tech-card > a span, .pd-tech-card > button span { transition: transform var(--transition-fast); }
.pd-tech-card > a:hover span, .pd-tech-card > button:hover span { transform: translateX(4px); }
.pd-sheet-service-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

.pd-processing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pd-processing-grid article { position: relative; min-height: 235px; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pd-processing-grid article > span { color: var(--blue); font-size: 11px; font-weight: 850; }
.pd-processing-grid h3 { margin: 28px 0 10px; font-size: 24px; }
.pd-processing-grid p { font-size: 14px; }
.pd-processing-grid button, .pd-processing-grid a { position: absolute; right: 25px; bottom: 22px; left: 25px; display: inline-flex; min-height: 44px; align-items: center; border: 0; background: transparent; color: var(--blue); font-size: 14px; font-weight: 780; cursor: pointer; }

.pd-delivery { display: grid; grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr); gap: clamp(38px, 7vw, 92px); align-items: start; }
.pd-delivery > div:first-child h2 { font-size: clamp(36px, 4.7vw, 60px); }
.pd-delivery > div:first-child p { color: rgba(255, 255, 255, .7); }
.pd-delivery-options { display: grid; gap: 0; }
.pd-delivery-options article { display: grid; grid-template-columns: 60px minmax(150px, .55fr) minmax(0, 1.45fr); gap: 18px; align-items: start; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.pd-delivery-options article:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.pd-delivery-options span { color: var(--yellow); font-size: 12px; font-weight: 820; }
.pd-delivery-options h3 { margin: 0; color: #fff; font-size: 20px; }
.pd-delivery-options p { margin: 0; color: rgba(255, 255, 255, .66); font-size: 14px; }

@media (max-width: 1180px) {
  .pd-sheet-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-mass-layout { grid-template-columns: minmax(260px, .7fr) minmax(480px, 1.3fr); gap: 40px; }
  .pd-tech-card { min-height: 560px; }
}

@media (max-width: 900px) {
  .pd-grade-cards, .pd-mass-layout, .pd-delivery { grid-template-columns: 1fr; }
  .pd-tech-grid { grid-template-columns: 1fr; }
  .pd-tech-card { min-height: 0; }
  .pd-processing-grid { grid-template-columns: 1fr 1fr; }
  .pd-processing-grid article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .pd-sheet-facts, .pd-grade-cards, .pd-processing-grid { grid-template-columns: 1fr; }
  .pd-sheet-tools { grid-template-columns: 1fr; }
  .pd-sheet-selection { grid-template-columns: 1fr; }
  .pd-inline-action { justify-self: start; padding: 0; }
  .pd-assortment-table tr { grid-template-columns: 1fr 1fr; }
  .pd-assortment-table td:nth-child(3), .pd-assortment-table td:nth-child(4), .pd-assortment-table td:last-child { grid-column: 1 / -1; }
  .pd-mass-calculator { grid-template-columns: 1fr; }
  .pd-mass-calculator__grade, .pd-mass-result, .pd-mass-actions { grid-column: auto; }
  .pd-mass-result, .pd-mass-actions { grid-template-columns: 1fr; }
  .pd-mass-result div + div { border-top: 1px solid var(--line); border-left: 0; }
  .pd-delivery-options article { grid-template-columns: 42px 1fr; }
  .pd-delivery-options article p { grid-column: 2; }
  .pd-processing-grid article:last-child { grid-column: auto; }
}
