/*
 * izolmak.com.mk product and family pages made from FIBRAN's data (tools/izolmak-products/build.py), on top of
 * solutions.20261024.css (the hero, buttons and band). Board: https://claude.ai/artifact/Sx5mx939WxCeseGzM2FLTc.
 * The file name changes with its content: CSS is cached 30 days.
 */
.pd h2, .pd h3 { text-transform: none; }
.pd-sec { padding: 64px 0; scroll-margin-top: 0; }
.pd-sec--tint { background: #F0F2FA; }
.pd-stack { display: flex; flex-direction: column; gap: 20px; }
.pd .pd-h2 { margin: 0; font-size: clamp(24px, 2.6vw, 28px); line-height: 1.25; color: var(--sp-blue); }
.pd .pd-h3 { margin: 12px 0 0; font-size: 18px; line-height: 1.35; color: var(--sp-blue); }
.pd-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pd-text p { margin: 0; font-size: 17px; line-height: 1.7; color: #374151; }
.pd-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; }
.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 48px; align-items: start; }
.pd-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* hero figures */
.pd-figs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pd-figs li { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px; background: rgba(255, 255, 255, .08); }
.pd-figs b { font-size: 20px; line-height: 1.2; color: #ffffff; }
.pd-figs span { font-size: 12px; color: #c9d3ee; }

/* in-page links, family groups */
.pd-jumps, .pd-groups { border-bottom: 1px solid #e5e7eb; background: #ffffff; }
.pd-jumps .sp-wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.pd-jumps a { display: inline-flex; align-items: center; min-height: 48px; border-bottom: 3px solid transparent; color: var(--sp-ground);
  font-size: 15px; font-weight: 600; text-decoration: none; }
.pd-jumps a:hover { border-bottom-color: var(--sp-yellow); color: var(--sp-ground); }
.pd-groups { background: #F0F2FA; }
.pd-groups .sp-wrap { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.pd-groups a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid #d8dde6;
  border-radius: 22px; background: #ffffff; color: var(--sp-ground); font-size: 15px; font-weight: 600; text-decoration: none; }
.pd-groups a:hover { border-color: var(--sp-blue); color: var(--sp-ground); }
.pd-groups a span, .pd-group-head h2 span { font-size: 13px; font-weight: 600; color: #6b7280; }
.pd-group-head { max-width: 760px; }
.pd-group-head p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: #374151; }

/* facings, edges, grades */
.pd-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pd-variants li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; background: #F0F2FA; font-size: 14px; line-height: 1.45; }
.pd-variants b { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 30px; padding: 0 6px;
  border-radius: 6px; background: var(--sp-blue); color: #ffffff; font-size: 13px; box-sizing: border-box; }

/* support */
.pd-help { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 10px; background: var(--sp-ground); color: #ffffff; }
.pd .pd-help h2 { margin: 0; font-size: 20px; color: #ffffff; }
.pd-help p { margin: 0; font-size: 15px; line-height: 1.55; color: #dfe5f5; }
.pd-phone { color: #ffffff; font-weight: 700; }
.pd-phone:hover { color: var(--sp-yellow); }

/* tables */
.pd-box { border-radius: 10px; background: #ffffff; }
.pd-scroll { overflow-x: auto; }
.pd-scroll:focus-visible { outline: 3px solid var(--sp-yellow); outline-offset: 2px; }
.pd-table { width: 100%; border-collapse: collapse; }
.pd-table th, .pd-table td { padding: 12px 16px; border-bottom: 1px solid #e5e7eb; font-size: 15px; line-height: 1.45; text-align: left; vertical-align: top; }
.pd-table tr:last-child th, .pd-table tr:last-child td { border-bottom: 0; }
.pd-table thead th { background: #f8f9fc; color: #6b7280; font-size: 13px; font-weight: 600; }
.pd-table tbody th { font-weight: 500; color: #1f2937; }
.pd-spec { min-width: 720px; }
.pd-spec .pd-v { font-weight: 700; color: var(--sp-ground); }
.pd-spec .pd-std { color: #6b7280; }
.pd-table:not(.pd-spec) td { white-space: nowrap; }
.pd-code { margin: 0; font-size: 13px; color: #4b5563; }
.pd-code code { display: inline-block; padding: 4px 8px; border-radius: 6px; background: #ffffff; color: var(--sp-ground); font-size: 13px; word-break: break-word; }
.pd-note { margin: 0; font-size: 14px; color: #4b5563; }

/* thermal resistance by thickness */
.pd-rbox { overflow-x: auto; padding: 24px 20px 16px; }
.pd-bars { display: grid; grid-template-columns: repeat(var(--n), minmax(44px, 1fr)); gap: 8px; align-items: end; min-width: calc(var(--n) * 52px);
  margin: 0; padding: 0; list-style: none; }
.pd-bars li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: #4b5563; }
.pd-bars b { font-size: 14px; color: var(--sp-ground); }
.pd-bar { display: block; width: 100%; max-width: 44px; border-radius: 6px 6px 0 0; background: var(--sp-blue); }
.pd-bars-key { margin: 12px 0 0; font-size: 13px; color: #6b7280; }

/* applications, advantages */
.pd-list { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.65; color: #374151; }
.pd-list li + li { margin-top: 4px; }
.pd-adv { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pd-adv li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; color: #374151; }
.pd-tick { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 1px;
  border-radius: 50%; background: var(--sp-yellow); color: var(--sp-ground); }

/* documents */
.pd-docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pd-docs a { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 18px; border: 1px solid #d8dde6;
  border-radius: 10px; background: #ffffff; color: #1f2937; text-decoration: none; }
.pd-docs a:hover { border-color: var(--sp-blue); box-shadow: 0 6px 18px rgba(27, 54, 121, .12); }
.pd-docs b { font-size: 13px; letter-spacing: 1px; color: var(--sp-gold); }
.pd-doc-name { font-weight: 700; line-height: 1.35; color: var(--sp-ground); }
.pd-doc-where { font-size: 13px; color: #6b7280; }
.pd-certs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.pd-certs > span:first-child { margin-right: 4px; font-size: 14px; color: #4b5563; }
.pd-cert { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid #d8dde6; border-radius: 16px;
  background: #ffffff; color: var(--sp-blue); font-size: 13px; font-weight: 600; }
.pd-src { margin: 0; font-size: 13px; color: #6b7280; }

/* product cards */
.pd-more { display: inline-flex; align-items: center; gap: 8px; color: var(--sp-blue); font-weight: 700; text-decoration: none; }
.pd-more:hover { text-decoration: underline; }
.pd-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pd-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pd-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #ffffff; color: inherit; text-decoration: none;
  box-shadow: 0 2px 12px rgba(27, 54, 121, .1); transition: box-shadow .2s ease, transform .2s ease; }
.pd-card:hover { box-shadow: 0 8px 24px rgba(27, 54, 121, .18); transform: translateY(-2px); }
.pd-card-media { display: block; height: 150px; padding: 8px; background: #ffffff; box-sizing: border-box; }
.pd-card-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pd-card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.pd-card-name { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--sp-blue); }
.pd-card-text { font-size: 14px; line-height: 1.45; color: #4b5563; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.pd-chip { padding: 3px 8px; border-radius: 12px; background: #e8ecf7; color: var(--sp-blue); font-size: 12px; font-weight: 700; }
.pd-chip + .pd-chip { background: #fff1c9; color: #6b4800; }

.pd a:focus-visible { outline: 3px solid var(--sp-yellow); outline-offset: 3px; }

@media (max-width: 1024px) {
  .pd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pd-body, .pd-two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pd-sec { padding: 48px 0; }
  .pd-cards, .pd-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pd-variants, .pd-docs { grid-template-columns: minmax(0, 1fr); }
  .pd-cards, .pd-cards--3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pd-card { flex-direction: row; }
  .pd-card-media { flex: none; width: 112px; height: auto; min-height: 96px; }
  .pd-table th, .pd-table td { padding: 10px 12px; font-size: 14px; }
  .pd-figs li { padding: 8px 12px; }
  .pd-figs b { font-size: 17px; }
}
/* the technical data on a phone: each row stacked, the value right under its name */
@media (max-width: 640px) {
  .pd-spec { min-width: 0; }
  .pd-spec thead { display: none; }
  .pd-spec, .pd-spec tbody { display: block; }
  .pd-spec tr { display: grid; grid-template-columns: fit-content(72%) minmax(0, 1fr); grid-template-areas: "l l" "v u" "s d"; gap: 2px 8px;
    padding: 12px 14px; border-bottom: 1px solid #e5e7eb; }
  .pd-spec tr:last-child { border-bottom: 0; }
  .pd-spec th, .pd-spec td { padding: 0; border: 0; font-size: 14px; }
  .pd-spec tbody th { grid-area: l; font-weight: 600; }
  .pd-spec td:nth-child(2) { grid-area: s; font-size: 12px; color: #6b7280; }
  .pd-spec td:nth-child(3) { grid-area: u; align-self: end; color: #4b5563; }
  .pd-spec .pd-v { grid-area: v; font-size: 16px; }
  .pd-spec .pd-std { grid-area: d; font-size: 12px; }
  .pd-spec td:empty, .pd-spec .pd-dash { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pd-card { transition: none; } }
