/* Phase 5: the Custom Size Boxes page. Brand tokens, 4/8/12/16/24/32/48 spacing and the type scale only. The drawing is the Size component's own. */
.csz__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.csz__intro h1 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.csz__intro .lede { margin: 0; max-width: 460px; }
.buy__style { display: flex; flex-direction: column; gap: 4px; }
.buy__style label { font: 600 13px/16px var(--font-body); color: var(--pw-bark); }
.buy__style .ui-select__btn { min-height: 44px; }
.csz__block { margin-top: 48px; }
.csz__block h2 { margin: 0 0 24px; font: 700 30px/36px var(--font-display); color: var(--pw-bark); }
.csz__tbl { width: 100%; max-width: 880px; border-collapse: collapse; }
.csz__tbl th, .csz__tbl td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pw-line); font: 400 15px/24px var(--font-body); color: var(--pw-bark); }
.csz__tbl thead th { font: 600 13px/16px var(--font-body); color: var(--pw-bark-muted); border-bottom-color: var(--pw-line-strong); }
.csz__tbl tbody th { width: 28%; font-weight: 600; }
.csz__tbl tbody tr:nth-child(even) { background: var(--pw-kraft-mist); }
.csz__measure { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.csz__measure h2 { margin-bottom: 24px; }
.csz__steps { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.csz__steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: start; }
.csz__steps p { margin: 0; font: 400 16px/24px var(--font-body); color: var(--pw-bark); }
.csz__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pw-forest); color: var(--pw-white); font: 600 15px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.csz__hint { display: block; margin-top: 4px; color: var(--pw-bark-muted); }
.csz__tick { grid-column: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/20px var(--font-body); color: var(--pw-bark); }
.csz__tick input { width: 18px; height: 18px; accent-color: var(--pw-forest); }
.csz__note { margin: 24px 0 0; font: 400 16px/24px var(--font-body); color: var(--pw-bark); }
.csz__note .link { font-weight: 600; }
.csz__fig { margin: 0; padding: 24px; border-radius: 16px; background: var(--pw-kraft-mist); }
.csz__art { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; border-radius: 8px; }
.csz__fig figcaption { margin-top: 12px; font: 400 14px/20px var(--font-body); color: var(--pw-bark-muted); text-align: center; }
.csz__own { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid var(--pw-line); border-radius: 16px; background: var(--pw-sage-mist); }
.csz__block .csz__own h2 { margin: 0 0 8px; font-size: 22px; line-height: 28px; }
.csz__own p { margin: 0; font: 400 16px/24px var(--font-body); color: var(--pw-bark); }
.csz__own .btn { flex: none; min-width: 160px; justify-content: center; }
.csz__faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin: 0; }
.csz__faq dt { font: 600 17px/24px var(--font-body); color: var(--pw-bark); }
.csz__faq dd { margin: 4px 0 0; font: 400 15px/24px var(--font-body); color: var(--pw-bark-muted); }
.csz__tools { margin: 32px 0 0; font: 600 16px/24px var(--font-body); }
@media (max-width: 1023px) {
  .csz__head, .csz__measure { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .csz__faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .csz__block h2 { font-size: 24px; line-height: 30px; }
  .csz__own { flex-direction: column; align-items: stretch; }
  .csz__tbl th, .csz__tbl td { padding: 8px; font-size: 14px; line-height: 20px; }
}
/* prices hidden: no calculator column, the intro takes the full width */
.csz__head:not(:has(.csz__tool)) { grid-template-columns: minmax(0, 1fr); }
.csz__go { margin: 24px 0 0; }
