.product-card {
  --ink: #182844;
  --muted: #536174;
  --accent: #173d83;
  --line: #dce3ed;
  color: var(--ink);
  font-family: Montserrat, sans-serif;
  padding-bottom: 52px;
}
#glob > .product-card:first-child { padding-top: 72px; }
.product-card *, .product-card *::before, .product-card *::after { box-sizing: border-box; }
.product-card h1 { font-size: clamp(27px, 3.4vw, 47px); line-height: 1.12; margin: 0 0 14px; }
.product-card h2 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.2; margin: 0 0 16px; }
.product-card p { line-height: 1.6; margin: 0 0 14px; }
.product-card a:not(.pc-button) { color: var(--accent); text-underline-offset: 3px; }
.pc-section { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 125px; }
.pc-hero, .pc-columns { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 46px); align-items: start; }
.pc-hero { padding: 16px 0 30px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.pc-gallery { margin: 0; min-width: 0; }
.pc-gallery-main {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f2f3f6;
  overflow: hidden;
  border-radius: 8px;
}
.pc-gallery-main .pc-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-gallery-main[data-studio="true"] { background: #efedea; }
.pc-gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 9px; min-height: 3.2em; }
.pc-thumbs { display: flex; overflow-x: auto; gap: 8px; padding: 7px 2px; }
.pc-thumbs a {
  flex: 0 0 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #f2f3f6;
}
.pc-thumbs a[aria-current="true"] { border-color: var(--accent); }
.pc-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.pc-actions, .pc-jumps { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.pc-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; border-radius: 5px; border: 1px solid var(--accent); padding: 9px 15px;
  background: var(--accent); color: #fff !important; cursor: pointer; font: inherit; font-weight: 700;
}
.pc-button:hover { background: #102a5a; }
.pc-button:disabled { opacity: .65; cursor: default; }
.pc-jumps { padding: 13px 0; border-block: 1px solid var(--line); font-size: 14px; }
.pc-jumps a { padding-block: 5px; }
.pc-quick { margin: 18px 0; display: grid; gap: 8px; }
.pc-quick > div { display: grid; grid-template-columns: minmax(90px, .55fr) 1fr; gap: 9px; }
.pc-quick dt { color: var(--muted); }
.pc-quick dd { margin: 0; font-weight: 650; }
.pc-table-wrap { overflow-x: auto; }
.pc-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.pc-table th, .pc-table td { text-align: left; vertical-align: top; padding: 10px 11px; border-bottom: 1px solid var(--line); }
.pc-table th { font-weight: 700; background: #f6f8fb; }
.pc-compare { min-width: 520px; }
.pc-compare tr[aria-current="true"] td { background: #edf3ff; font-weight: 650; }
.pc-diagram { margin: 0; padding: 16px; border-radius: 8px; background: #f4f6f9; }
.pc-shape { position: relative; width: min(210px, 100%); aspect-ratio: 2 / 1; margin: 4px auto 16px; }
.pc-shape i { position: absolute; inset: 0; }
.pc-shape-top { clip-path: polygon(0 41%, 48% 4%, 100% 36%, 52% 72%); background: #8b96a6; }
.pc-shape-front { clip-path: polygon(0 41%, 52% 72%, 52% 96%, 0 64%); background: #536174; }
.pc-shape-side { clip-path: polygon(52% 72%, 100% 36%, 100% 61%, 52% 96%); background: #3c4d64; }
.pc-shape[data-split="top"] .pc-shape-top,
.pc-shape[data-split="all"] .pc-shape-top,
.pc-shape[data-split="sides"] .pc-shape-front,
.pc-shape[data-split="sides"] .pc-shape-side,
.pc-shape[data-split="all"] .pc-shape-front,
.pc-shape[data-split="all"] .pc-shape-side {
  background-image: repeating-linear-gradient(140deg,#fff3 0 2px,transparent 2px 7px);
}
.pc-faces { margin: 0; }
.pc-faces div { display: grid; grid-template-columns: 65px 1fr; gap: 8px; padding: 5px 0; }
.pc-faces dt { font-weight: 750; }
.pc-faces dd { margin: 0; }
.pc-form, .pc-calculator { padding: 18px; background: #f4f6f9; border-radius: 8px; }
.pc-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 13px; }
.pc-fields label { display: grid; gap: 5px; color: var(--muted); font-size: 14px; }
.pc-fields input, .pc-fields select { min-width: 0; width: 100%; min-height: 44px; border: 1px solid #9ba9bd; background: #fff; border-radius: 4px; padding: 9px; font: inherit; color: var(--ink); }
.pc-phone { display: block; max-width: 360px; }
.pc-optional { margin-bottom: 13px; }
.pc-optional summary { cursor: pointer; color: var(--accent); padding: 4px 0; }
.pc-optional .pc-fields { margin: 8px 0 0; }
.pc-form .pc-result[data-state="error"] { color: #8b2924; }
.pc-form .pc-result[data-state="success"] { color: #1f673f; }
.pc-calc-hint { color: var(--muted); font-size: 14px; }
.pc-result { display: block; margin-top: 12px; line-height: 1.5; color: var(--ink); }
.pc-result:empty { display: none; }
.pc-faq details { border-bottom: 1px solid var(--line); padding: 11px 0; }
.pc-faq summary { font-weight: 700; cursor: pointer; }
.pc-faq details p { margin: 10px 0 0; }
.pc-pack-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px,100%), 1fr)); gap: 12px; }
.pc-pack-images a { display: block; }
.pc-pack-images img { width: 100%; max-width: 200px; height: auto; aspect-ratio: 1; object-fit: cover; }
.pc-pack-images span { display: block; font-size: 14px; }
.pc-links { display: flex; flex-wrap: wrap; gap: 8px 17px; padding-left: 16px; }
.ug-order { scroll-margin-top: 105px; }
.ug-order #quote { display: block; scroll-margin-top: 100px; }
.ug-order .ug-order-weight { margin-top: 16px; }
#order.ug-order .ug-order-weight a { color: white; text-decoration: underline; }
@media (max-width: 992px) {
  #glob > .product-card:first-child { padding-top: 12px; }
}
@media (max-width: 760px) {
  .pc-hero, .pc-columns { grid-template-columns: minmax(0,1fr); }
  .pc-hero > div { grid-row: 1; }
  .pc-section { padding-block: 24px; }
  .pc-form, .pc-calculator { padding: 13px; }
}

/* Product first; original material information and finish links remain below. */
#full-sawn { scroll-margin-top: 132px; }
.product-card .pc-product-heading { font-size: clamp(27px,3.4vw,47px); line-height:1.12; margin:0 0 14px; }
.product-card h3 { font-size:clamp(22px,2.5vw,30px);line-height:1.2;margin:0 0 16px; }
.pc-provenance { font-size:13px;color:#536174;padding-top:20px; }
.pc-weight-example { background:#f1f5fb;padding:14px;border-left:3px solid #173d83; }
.pc-table caption {text-align:left;padding:0 0 10px;}
@media(max-width:640px){ #glob > .product-card:first-child {padding-top:20px;} }
#header { background:#fff; }
.pc-product-breadcrumbs { font-size:14px; }
@media(max-width:640px){ #full-sawn {scroll-margin-top:12px;} }
