/* V28 — type scale and shopping interfaces. All assets remain local. */
:root {
  --text-primary: #242727;
  --text-secondary: #616767;
  --text-caption: #6c7272;
  --font-body: 15px;
  --font-small: 12px;
  --heading-space: -0.035em;
}
body {
  font-size: var(--font-body);
  line-height: 1.72;
}
h1,
h2,
h3 {
  letter-spacing: var(--heading-space);
  text-wrap: balance;
}
h2 {
  line-height: 1.22;
}
p {
  text-wrap: pretty;
}
button,
input,
select,
textarea {
  line-height: 1.5;
}
button:disabled {
  cursor: not-allowed;
}
.section-head h2 {
  font-size: clamp(27px, 2.65vw, 36px);
}
.hero-copy h1 {
  letter-spacing: -0.048em;
}
.hero-description {
  font-size: 15px;
  line-height: 1.8;
}
.section-kicker,
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.075em;
}
.page-hero p,
.retail-copy-main p,
.retail-copy-main li,
.category-seo-copy p,
.category-seo-copy li,
.product-text {
  font-size: 15px;
  line-height: 1.8;
}
.product-editorial-copy {
  width: 100%;
  max-width: none;
}
.category-description,
.brand-strip span {
  color: var(--text-secondary);
}
.product-series,
.product-spec-line,
.brand-badge {
  font-size: 12px;
  color: var(--text-secondary);
}
.product-name {
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.card-color {
  font-size: 13px;
}
.card-color > span,
.card-color b {
  color: var(--text-secondary);
}
.product-buy strong,
.big-price,
.estimate-metrics dd,
.estimate-total strong,
.comparison-table td,
.cart-page-total strong,
.line-total {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}
.spec-table {
  font-size: 14px;
  line-height: 1.7;
}
.spec-table th {
  color: var(--text-secondary);
}
.product-service a {
  font-size: 12px;
}
/* Personal tools: secondary placement keeps the main search row uncluttered. */
.utility-inner nav {
  gap: 18px;
  align-items: center;
}
.utility-inner nav .collection-open {
  font-size: 11px;
}
.collection-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  white-space: nowrap;
}
.collection-open .icon {
  width: 15px;
  height: 15px;
}
.collection-open b,
.catalog-collections b,
.collection-tabs b {
  font-size: 11px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.collection-open:hover {
  color: var(--accent);
}
.mobile-panel .collection-open {
  min-height: 46px;
  padding: 12px 0;
  justify-content: flex-start;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.mobile-panel .collection-open b {
  margin-left: auto;
}
.mobile-panel .collection-open .icon {
  width: 20px;
  height: 20px;
}
.product-card {
  position: relative;
}
.card-favorite {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e0e4e4;
  background: #fff;
  color: #505858;
  z-index: 2;
  border-radius: 50%;
}
.card-favorite .icon {
  width: 18px;
  height: 18px;
}
.card-favorite:hover,
.card-favorite[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
}
.card-favorite[aria-pressed="true"] .icon {
  fill: var(--accent-soft);
}
.brand-badge {
  max-width: calc(100% - 60px);
}
.price-unit {
  display: block;
  color: var(--text-secondary);
  font-size: 11px;
  margin-top: 2px;
}
.price-per-area {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.product-buy small {
  font-size: 11px;
}
.card-compare {
  background: none;
  border: 0;
  border-top: 1px solid #eceeee;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  margin-top: 6px;
  padding: 8px 0 0;
  font-size: 12px;
  color: #626969;
}
.card-compare .icon {
  width: 16px;
  height: 16px;
}
.card-compare:hover,
.card-compare[aria-pressed="true"] {
  color: var(--accent);
}
.mini-add {
  min-width: 122px;
  transition:
    background 0.16s,
    color 0.16s;
}
.mini-add.added {
  background: var(--accent-hover);
}
.detail-save-tools {
  display: flex;
  gap: 23px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.save-control {
  background: none;
  border: 0;
  padding: 8px 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.save-control .icon {
  width: 19px;
  height: 19px;
}
.save-control[aria-pressed="true"],
.save-control:hover {
  color: var(--accent);
}
.detail-price-unit {
  font-size: 13px;
  font-weight: 400;
  display: inline-block;
  margin-left: 10px;
  letter-spacing: 0;
  color: var(--text-secondary);
  white-space: nowrap;
}
.detail-area-price {
  margin: 10px 0 16px;
  font-size: 14px;
  font-weight: 700;
}
.detail-area-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}
.spec-source {
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.purchase-help {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 15px;
  display: grid;
  gap: 12px;
}
.purchase-help a {
  font-size: 12px;
  line-height: 1.6;
}
.purchase-help span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
}
.purchase-help a:hover {
  color: var(--accent);
}
.mobile-price-unit {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}
/* Filters expose the current selection and retain the catalog's compact structure. */
.store-filters {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 21px;
  display: grid;
  gap: 20px;
}
.filter-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.filter-label select,
.store-filters select {
  display: block;
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  border: 1px solid #cbd2d2;
  background: #fff;
  border-radius: 3px;
  padding: 9px 10px;
  font-weight: 400;
  font-size: 12px;
}
.price-filter {
  padding: 0;
  margin: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}
.price-filter legend {
  font-size: 12px;
  font-weight: 700;
  padding: 0 0 8px;
}
.price-filter label {
  min-width: 0;
}
.price-filter label > span {
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
  color: var(--text-secondary);
}
.price-filter input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid #cbd2d2;
  border-radius: 3px;
  padding: 8px;
  font-size: 13px;
  background: #fff;
}
.filter-error {
  font-size: 12px;
  color: #a33124;
  margin: 0;
}
.catalog-selection {
  margin: 0 0 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.active-filters button {
  font-size: 11px;
  min-height: 32px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-hover);
  padding: 5px 9px;
  border-radius: 3px;
}
.active-filters button span {
  margin-left: 5px;
  font-size: 15px;
}
.active-filters .clear-all {
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.filter-tip {
  color: var(--text-secondary);
  font-size: 12px;
}
.catalog-collections {
  display: flex;
  gap: 14px;
}
.catalog-collections button {
  display: flex;
  gap: 5px;
  border: 0;
  background: none;
  font-size: 12px;
  padding: 5px 0;
  min-height: 36px;
}
.catalog-count {
  font-size: 12px;
}
.catalog-search input,
.select-wrap select,
.sort-control select {
  font-size: 12px;
}
/* The collection dialog uses native modality; wide comparison stays inside its scroll area. */
.collection-is-open {
  overflow: hidden;
}
.store-dialog {
  border: 1px solid #d6dddd;
  border-radius: 6px;
  width: min(960px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 28px 32px 32px;
  color: var(--text-primary);
  box-shadow: 0 20px 80px #0003;
}
.store-dialog::backdrop {
  background: #17222280;
}
.collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.collection-heading h2 {
  font-size: 30px;
  margin: 0;
}
.collection-heading .section-kicker {
  margin-bottom: 7px;
}
.dialog-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.collection-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin: 24px 0;
}
.collection-tabs button {
  min-height: 44px;
  padding: 8px 0 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  font-size: 14px;
}
.collection-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--accent);
  font-weight: 700;
  color: var(--accent);
}
.collection-tabs b {
  margin-left: 5px;
}
.collection-empty {
  padding: 28px 16px 36px;
  text-align: center;
}
.collection-empty > .icon {
  color: var(--accent);
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
}
.collection-empty h3 {
  font-size: 23px;
}
.collection-empty p {
  max-width: 470px;
  margin: 0 auto 24px;
  font-size: 14px;
  color: var(--text-secondary);
}
.saved-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.saved-card {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 16px;
}
.saved-card > a {
  display: block;
}
.saved-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
}
.saved-card > a > span {
  display: block;
  color: var(--text-secondary);
  font-size: 11px;
  margin-bottom: 5px;
}
.saved-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.6;
}
.saved-card > b {
  display: block;
  margin-top: 15px;
  font-size: 18px;
}
.saved-card b small {
  font-size: 11px;
  font-weight: 400;
}
.saved-card > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.saved-card .save-control {
  font-size: 11px;
}
.difference-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 18px;
}
.difference-toggle input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}
.comparison-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
}
.comparison-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  min-width: 660px;
  font-size: 13px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.comparison-table tr > *:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 150px;
  background: #f6f8f8;
  font-size: 12px;
}
.comparison-table thead th {
  font-weight: 700;
  background: #fff;
}
.comparison-table thead img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  margin-bottom: 13px;
}
.comparison-table thead button {
  display: block;
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 6px;
}
.comparison-table tbody tr:first-child td {
  font-size: 18px;
  font-weight: 700;
}
.comparison-note {
  color: var(--text-secondary);
  font-size: 12px;
  margin: 17px 0 0;
}
.store-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  width: max-content;
  z-index: 1200;
  background: #253132;
  color: #fff;
  font-size: 13px;
  padding: 14px 20px;
  border-left: 3px solid #46c0c8;
  border-radius: 3px;
  box-shadow: 0 5px 20px #0002;
}
.dialog-toast {
  font-size: 13px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 12px;
  margin-bottom: 18px;
}
/* Real model photography adds context without decorative overlays. */
.facade-inspiration {
  border-top: 1px solid var(--line);
}
.facade-inspiration .section-head {
  align-items: end;
}
.facade-inspiration .section-head p:not(.section-kicker) {
  max-width: 270px;
  font-size: 13px;
}
.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.inspiration-card img {
  width: 100%;
  aspect-ratio: 1.15;
  height: auto;
  object-fit: cover;
}
.inspiration-card > span {
  display: block;
  margin-top: 18px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.inspiration-card > strong {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 5px;
}
.inspiration-card:hover > span {
  color: var(--accent);
}
.recent-section {
  border-top: 1px solid var(--line);
  padding-block: 35px;
}
.recent-section .section-head h2 {
  font-size: 24px;
}
.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.recent-grid > a {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}
.recent-grid img {
  flex: 0 0 75px;
  width: 75px;
  height: 90px;
  object-fit: contain;
  background: transparent;
}
.recent-grid small {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
}
.recent-grid strong {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 4px;
}
.recent-grid b {
  display: block;
  font-size: 11px;
  margin-top: 7px;
}
/* One consistent diagram describes the same components in the guide and estimate. */
.facade-explainer {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
}
.facade-figure {
  margin: 0;
  background: #f7f9f9;
  padding: 15px 20px;
}
.facade-figure svg {
  display: block;
  width: 100%;
  height: auto;
}
.facade-figure figcaption {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 10px;
}
[data-part-region] {
  transition: stroke 0.16s;
}
[data-part-region].is-highlighted {
  stroke: var(--accent);
  stroke-width: 5;
}
.facade-legend {
  display: grid;
  gap: 5px;
}
.facade-legend button {
  display: flex;
  gap: 13px;
  align-items: start;
  text-align: left;
  background: none;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  padding: 13px 15px;
}
.facade-legend button[aria-pressed="true"] {
  background: var(--accent-soft);
  border-left-color: var(--accent);
}
.facade-legend button > b {
  font-size: 13px;
  color: var(--accent);
  width: 20px;
  padding-top: 2px;
}
.facade-legend strong {
  display: block;
  font-size: 15px;
}
.facade-legend small {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 3px;
}
/* Calculation uses explicit units, rounded panel counts and a separate accessories request. */
.estimate-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 1fr);
  gap: 35px 45px;
  align-items: start;
}
.estimate-inputs {
  min-width: 0;
}
.estimate-step {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.estimate-step:first-child {
  padding-top: 0;
}
.step-heading {
  display: flex;
  gap: 15px;
  align-items: baseline;
  margin-bottom: 20px;
}
.step-heading > span {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step-heading h2 {
  font-size: 23px;
  margin: 0;
}
.estimate-step > p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 75ch;
}
.estimator .field label {
  font-size: 13px;
  margin-bottom: 8px;
}
.estimator .field input {
  height: 46px;
  font-size: 16px;
  border-color: #c7cfcf;
  background: #fff;
}
.estimator .field small {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
}
#estimate-model {
  display: block;
  min-height: 47px;
  padding: 10px 12px;
  margin-top: 9px;
  width: 100%;
  border: 1px solid #c7cfcf;
  background: #fff;
  border-radius: 3px;
  font-size: 14px;
}
.area-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 20px 0 3px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.area-breakdown span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
}
.area-breakdown b {
  display: block;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  margin-top: 5px;
}
.area-breakdown > div:last-child b {
  color: var(--accent);
}
.estimate-model-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}
.estimate-model-info img {
  width: 75px;
  height: 90px;
  object-fit: contain;
  background: #f7f8f8;
}
.estimate-model-info strong {
  font-size: 14px;
  display: block;
}
.estimate-model-info span {
  font-size: 13px;
  display: block;
  margin-top: 5px;
}
.estimate-model-info small {
  font-size: 12px;
  display: block;
  color: var(--text-secondary);
  margin-top: 5px;
}
.estimate-summary {
  padding: 27px;
  border: 1px solid #d3dddd;
  border-top: 3px solid var(--accent);
  position: sticky;
  top: 175px;
  background: #fff;
}
.estimate-summary h2 {
  font-size: 25px;
  margin-bottom: 24px;
}
.estimate-metrics {
  margin: 0;
}
.estimate-metrics > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #edf0f0;
  padding: 13px 0;
  font-size: 12px;
}
.estimate-metrics dt {
  color: var(--text-secondary);
}
.estimate-metrics dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
  flex-shrink: 0;
}
.estimate-total {
  margin: 24px 0 12px;
}
.estimate-total > span {
  display: block;
  font-size: 12px;
}
.estimate-total strong {
  display: block;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.35;
  margin-top: 6px;
}
.estimate-footnote {
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 21px;
}
.estimate-summary > .button {
  width: 100%;
  padding: 13px 15px;
  font-size: 13px;
}
.estimate-cart-link {
  display: flex;
  justify-content: center;
  font-size: 13px;
  margin-top: 16px;
}
.estimate-error {
  color: #a33124;
  font-size: 13px;
  border-left: 2px solid #a33124;
  padding-left: 12px;
}
.estimate-details {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 17px;
}
.estimate-details summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.estimate-details dl > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding-block: 5px;
}
.estimate-details dd {
  margin: 0;
}
.estimate-details p {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 12px 0 0;
}
.estimate-accessories {
  grid-column: 1 / -1;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.estimate-accessories .facade-explainer {
  margin: 20px 0 25px;
}
.estimate-accessories .calc-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.estimate-accessories .field.full {
  grid-column: auto;
}
.cart-estimate {
  border-left: 3px solid var(--accent);
  padding: 16px 18px;
  background: var(--accent-soft);
  margin-bottom: 25px;
}
.cart-estimate > strong {
  font-size: 14px;
}
.cart-estimate p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
}
.cart-estimate a {
  color: var(--accent);
  font-size: 12px;
  text-decoration: underline;
}
@media (max-width: 1180px) {
  .utility-inner {
    gap: 15px;
  }
  .utility-inner nav {
    gap: 12px;
  }
  .utility-inner nav > a:first-child {
    display: none;
  }
  .hero-description {
    font-size: 14px;
  }
  .estimate-overview {
    gap: 30px;
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, 1fr);
  }
  .estimate-summary {
    padding: 23px;
  }
  .recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 940px) {
  .utility-inner > span {
    display: none;
  }
  .utility-inner nav {
    gap: 13px;
  }
  .utility-inner nav > a {
    display: none;
  }
  .hero-description {
    font-size: 12px;
  }
  .product-series,
  .product-spec-line {
    font-size: 11px;
  }
  .estimate-overview {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .estimate-summary {
    position: static;
  }
  .estimate-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .estimate-step {
    padding: 0 0 20px;
  }
  .estimator .calc-form {
    gap: 16px;
  }
  .area-breakdown {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .area-breakdown > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .area-breakdown b {
    margin: 0;
    font-size: 21px;
  }
  .inspiration-grid {
    gap: 20px;
  }
  .inspiration-card > span {
    font-size: 17px;
  }
  .facade-explainer {
    gap: 20px;
    grid-template-columns: 1fr 1fr;
  }
  .facade-figure {
    padding: 10px;
  }
  .facade-legend button {
    padding: 11px;
  }
  .facade-legend strong {
    font-size: 13px;
  }
  .facade-legend small {
    font-size: 11px;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 14px;
  }
  .page-hero p,
  .retail-copy-main p,
  .retail-copy-main li,
  .category-seo-copy p,
  .category-seo-copy li,
  .product-text {
    font-size: 14px;
    line-height: 1.8;
  }
  .section-head h2 {
    font-size: 27px;
  }
  .hero-description {
    font-size: 13px;
  }
  .section-kicker,
  .eyebrow {
    font-size: 10px;
  }
  .product-series {
    font-size: 10px;
  }
  .product-spec-line {
    font-size: 10px;
    min-height: 32px;
  }
  .card-color {
    font-size: 12px;
  }
  .brand-badge {
    font-size: 10px;
    max-width: calc(100% - 48px);
  }
  .card-favorite {
    width: 32px;
    height: 32px;
    right: 7px;
    top: 7px;
  }
  .card-favorite .icon {
    width: 17px;
    height: 17px;
  }
  .price-unit,
  .product-buy small {
    font-size: 11px;
  }
  .price-per-area {
    font-size: 11px;
  }
  .product-buy {
    gap: 12px;
  }
  .mini-add {
    min-width: 0;
    font-size: 12px;
  }
  .card-compare {
    font-size: 11px;
    min-height: 38px;
  }
  .detail-price-unit {
    font-size: 12px;
    margin-left: 8px;
  }
  .detail-area-price {
    font-size: 13px;
  }
  .detail-area-price span {
    display: block;
    margin-top: 3px;
    font-size: 11px;
  }
  .spec-table {
    font-size: 12px;
  }
  .detail-save-tools {
    gap: 20px;
  }
  .save-control {
    font-size: 12px;
  }
  .store-filters {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .price-filter {
    grid-column: 1 / -1;
  }
  .filter-error {
    grid-column: 1 / -1;
  }
  .catalog-selection {
    margin-bottom: 16px;
    gap: 10px;
  }
  .active-filters {
    flex-basis: 100%;
  }
  .catalog-collections {
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 9px;
  }
  .active-filters button {
    min-height: 34px;
  }
  .filter-tip,
  .catalog-count {
    font-size: 11px;
  }
  .catalog-search input,
  .select-wrap select,
  .sort-control select {
    font-size: 12px;
  }
  .store-dialog {
    padding: 21px 16px;
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }
  .collection-heading h2 {
    font-size: 24px;
  }
  .collection-tabs {
    gap: 22px;
    margin: 18px 0;
  }
  .collection-tabs button {
    font-size: 13px;
  }
  .saved-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .saved-card {
    padding: 11px;
  }
  .saved-card img {
    height: 130px;
  }
  .saved-card strong {
    font-size: 12px;
  }
  .saved-card > b {
    font-size: 16px;
  }
  .saved-card > div {
    flex-wrap: wrap;
    gap: 0;
  }
  .comparison-table {
    min-width: 630px;
    font-size: 12px;
  }
  .comparison-table tr > *:first-child {
    width: 125px;
    font-size: 11px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }
  .comparison-table thead img {
    height: 100px;
  }
  .store-toast {
    font-size: 12px;
    padding: 12px 16px;
    bottom: 18px;
  }
  .product-view .store-toast {
    bottom: 96px;
  }
  .facade-inspiration .section-head {
    display: block;
  }
  .facade-inspiration .section-head p:not(.section-kicker) {
    display: block;
    margin-top: 14px;
    max-width: 100%;
    font-size: 12px;
  }
  .inspiration-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
  }
  .inspiration-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .inspiration-card > span {
    font-size: 18px;
    margin-top: 14px;
  }
  .inspiration-card > strong {
    font-size: 11px;
  }
  .recent-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
  }
  .recent-grid > a {
    flex: 0 0 270px;
  }
  .recent-section .section-head h2 {
    font-size: 22px;
  }
  .facade-explainer {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .facade-legend {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .facade-legend button {
    gap: 8px;
    padding: 10px 7px;
  }
  .facade-legend strong {
    font-size: 12px;
  }
  .facade-legend small {
    font-size: 11px;
  }
  .facade-legend button > b {
    width: 14px;
    font-size: 12px;
  }
  .facade-figure figcaption {
    font-size: 11px;
  }
  .estimate-inputs {
    display: block;
  }
  .estimate-step {
    padding: 23px 0;
  }
  .estimate-step:first-child {
    padding-top: 0;
  }
  .step-heading {
    gap: 11px;
    margin-bottom: 18px;
  }
  .step-heading h2 {
    font-size: 21px;
  }
  .estimator .field label {
    font-size: 12px;
  }
  .estimate-step > p {
    font-size: 13px;
  }
  .area-breakdown {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 17px;
  }
  .area-breakdown > div {
    display: block;
  }
  .area-breakdown span {
    font-size: 10px;
    min-height: 30px;
  }
  .area-breakdown b {
    font-size: 19px;
    margin-top: 7px;
  }
  .estimate-summary {
    padding: 23px 19px;
  }
  .estimate-summary h2 {
    font-size: 24px;
  }
  .estimate-accessories {
    padding-top: 23px;
  }
  .estimate-accessories .calc-form {
    grid-template-columns: 1fr 1fr;
  }
  .estimate-accessories .field.full {
    grid-column: 1 / -1;
  }
  .cart-estimate {
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-part-region],
  .mini-add {
    transition: none;
  }
  .inspiration-grid {
    scroll-snap-type: none;
  }
}

/* V29: independent comparison access, consistent alignment, bounded sticky summary. */
:root {
  --comparison-offset: calc(20px + env(safe-area-inset-bottom));
}
.category-samples .material-sample {
  object-position: center;
}
.estimator {
  display: block;
  padding-bottom: 40px;
}
.estimate-overview {
  min-width: 0;
  position: relative;
}
.estimate-accessories {
  margin-top: 34px;
}
.compare-launcher {
  position: fixed;
  right: 24px;
  bottom: var(--comparison-offset);
  z-index: 105;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d1dddd;
  border-radius: 6px;
  background: #fff;
  color: #263031;
  box-shadow: 0 3px 15px #172d2f1c;
  font-size: 12px;
  font-weight: 700;
}
.compare-launcher[hidden] {
  display: none !important;
}
.compare-launcher .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.compare-launcher b {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.compare-launcher:hover {
  border-color: var(--accent);
  background: #f8fcfc;
}
.cart-open .compare-launcher,
.collection-is-open .compare-launcher {
  visibility: hidden;
}
.store-toast,
.cart-toast,
.product-view .store-toast,
.product-view .cart-toast {
  bottom: calc(var(--comparison-offset) + 62px);
}
.comparison-table thead th:not(:first-child),
.comparison-table tbody td {
  text-align: center;
  vertical-align: middle;
}
.comparison-table thead th:not(:first-child) > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.compare-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 144px;
}
.comparison-table thead .compare-photo img {
  display: block;
  width: 144px;
  height: 132px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0;
}
.compare-name {
  display: flex;
  flex-direction: column;
  justify-content: start;
  min-height: 68px;
  width: 100%;
  line-height: 1.55;
}
.compare-name b {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.compare-name > span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
}
.comparison-table thead .compare-remove {
  margin: 3px auto 0;
  min-height: 34px;
  padding: 7px 10px;
  text-align: center;
}
.comparison-table thead .compare-remove:hover {
  color: var(--accent);
}
.review-section {
  background: #f6f8f8;
  border-top: 1px solid #e5eaea;
  border-bottom: 1px solid #e5eaea;
}
.review-card {
  padding: 23px;
  border: 1px solid #dbe2e2;
  border-radius: 3px;
  background: #fff;
}
.review-card-head {
  align-items: center;
  gap: 12px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.review-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #edf4f4;
  color: #315659;
  border-radius: 50%;
}
.review-avatar svg {
  width: 28px;
  height: 28px;
}
.review-identity {
  min-width: 0;
}
.review-card h3 {
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  margin-bottom: 3px;
}
.review-card time {
  font-size: 11px;
  color: #687171;
}
.review-stars {
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
.review-product {
  font-size: 12px;
  line-height: 1.65;
  margin-top: 20px;
  color: #313b3b;
}
.review-product:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #4c5656;
}
.review-more {
  margin-top: 28px;
}
@media (max-width: 940px) {
  .review-card {
    padding: 18px;
  }
  .review-card-head {
    flex-wrap: wrap;
  }
  .review-stars {
    margin-left: 56px;
  }
}
@media (max-width: 680px) {
  :root {
    --comparison-offset: calc(14px + env(safe-area-inset-bottom));
  }
  .product-view {
    --comparison-offset: calc(98px + env(safe-area-inset-bottom));
  }
  .compare-launcher {
    right: 14px;
    width: 60px;
    height: 48px;
    min-height: 48px;
    padding: 8px;
    gap: 6px;
  }
  .compare-launcher > span {
    display: none;
  }
  .compare-launcher b {
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    flex-shrink: 0;
  }
  .compare-launcher .icon {
    width: 19px;
    height: 19px;
  }
  .compare-photo {
    height: 122px;
  }
  .comparison-table thead .compare-photo img {
    width: 116px;
    height: 112px;
  }
  .compare-name {
    min-height: 78px;
  }
  .compare-name b {
    font-size: 12px;
  }
  .compare-name > span {
    font-size: 11px;
  }
  .estimate-accessories {
    margin-top: 27px;
  }
  .review-grid,
  .reviews-page-grid {
    gap: 15px;
  }
  .review-card {
    padding: 20px;
  }
  .review-card-head {
    flex-wrap: nowrap;
  }
  .review-stars {
    margin-left: 0;
    font-size: 11px;
  }
  .review-card p {
    font-size: 13px;
  }
  .footer-bottom {
    padding-bottom: 76px;
  }
}
/* Optical centering uses the visible sample bounds; original bitmap files stay intact. */
.compare-crop {
  display: block;
  position: relative;
  overflow: hidden;
  width: min(144px, calc(132px * var(--sample-ratio)));
  aspect-ratio: var(--sample-ratio);
}
.comparison-table thead .compare-crop img {
  position: absolute;
  max-width: none;
  width: var(--canvas-width);
  height: var(--canvas-height);
  left: var(--canvas-left);
  top: var(--canvas-top);
  object-fit: fill;
  margin: 0;
}
@media (max-width: 680px) {
  .compare-crop {
    width: min(116px, calc(112px * var(--sample-ratio)));
  }
}
.comparison-table thead th:not(:first-child) {
  vertical-align: top;
}
.compare-name {
  min-height: 86px;
}

/* V30: clear comparison feedback, color previews and stronger mobile hierarchy. */
.visit-strip {
  padding-block: 45px;
}
.comparison-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.comparison-toolbar .difference-toggle {
  min-height: 44px;
  margin: 0;
  cursor: pointer;
}
.difference-toggle:has(input:disabled) {
  color: var(--text-secondary);
  cursor: default;
}
.comparison-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #cbd3d3;
  color: #414c4c;
  font-size: 12px;
  border-radius: 3px;
}
.comparison-clear .icon {
  width: 18px;
  height: 18px;
}
.comparison-clear:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.difference-status {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 4px 0 18px;
}
.comparison-table tr[hidden] {
  display: none !important;
}
.collection-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.collection-empty-actions .button {
  min-height: 44px;
}
.card-favorite[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.card-favorite[aria-pressed="true"]:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
[data-favorite][aria-pressed="true"] .icon {
  fill: currentColor;
}
.card-favorite[aria-pressed="true"] .icon {
  fill: #fff;
}
.card-favorite:focus-visible,
.card-swatch:focus-visible,
.palette-more:focus-visible,
.comparison-clear:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.card-swatch[aria-pressed="true"] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.card-palette {
  flex-wrap: wrap;
  gap: 9px;
}
.card-swatch {
  flex-shrink: 0;
}
.card-swatch[role="button"],
.palette-more[role="button"] {
  cursor: pointer;
}
.category-meta b {
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .visit-strip {
    padding-block: 32px;
  }
  .header-row {
    grid-template-columns: minmax(0, 1fr) repeat(3, 44px);
    column-gap: 3px;
  }
  .header-call,
  .header-row .cart-link,
  .menu-btn {
    display: grid;
    place-items: center;
    grid-row: 1;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    color: #242727;
  }
  .header-call .icon,
  .header-row .cart-link .cart-icon,
  .menu-btn .icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .header-row .cart-link .cart-count {
    top: 0;
    right: 0;
    min-width: 17px;
    height: 17px;
    font-size: 10px;
    border: 1px solid #fff;
  }
  .category-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
    font-size: 12px;
  }
  .category-meta b {
    order: -1;
    font-size: 18px;
    padding: 0;
  }
  .product-buy strong {
    font-size: 26px;
    line-height: 1.3;
  }
  .price-per-area {
    font-size: 12px;
  }
  .card-favorite {
    width: 40px;
    height: 40px;
  }
  .card-favorite .icon {
    width: 20px;
    height: 20px;
  }
  .brand-badge {
    max-width: calc(100% - 60px);
  }
  .card-palette {
    gap: 11px;
  }
  .card-swatch {
    width: 24px;
    height: 24px;
  }
  .comparison-toolbar {
    gap: 4px 12px;
  }
  .comparison-toolbar .difference-toggle {
    font-size: 12px;
  }
  .comparison-clear {
    font-size: 11px;
    padding-inline: 9px;
  }
}
@media (max-width: 370px) {
  .header-row {
    grid-template-columns: minmax(0, 1fr) repeat(3, 40px);
    column-gap: 2px;
  }
  .header-call,
  .header-row .cart-link,
  .menu-btn {
    width: 40px;
    min-width: 40px;
  }
  .category-meta b {
    font-size: 17px;
  }
  .product-buy strong {
    font-size: 24px;
  }
}

/* V31: a bounded product overview and full-width information below it. */
.product-page {
  align-items: start;
  column-gap: 40px;
  row-gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "gallery intro" "gallery detail" "information information";
  grid-template-rows: auto 1fr auto;
}
.product-page > .product-gallery {
  position: static;
  top: auto;
  height: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  grid-area: gallery;
  align-self: start;
}
.product-gallery .main-product-stage {
  padding: 0;
  flex: none;
  height: clamp(360px, 34vw, 480px);
  min-height: 0;
  background: #fff;
}
.product-gallery .main-product-stage > img {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(70%, 260px);
  height: min(70%, 260px);
  object-fit: contain;
}
.product-gallery .main-product-stage.stage-hd > img {
  transform: none;
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
}
.product-gallery .main-product-stage[data-current-kind="facade"] > img {
  inset: 0;
  transform: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
}
.product-page > .product-detail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  grid-area: detail;
}
.product-detail > .purchase-panel {
  flex: none;
}
.product-information {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  grid-area: information;
  margin-top: 16px;
}
.product-information .product-section-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  background: #f6f8f8;
  border: 1px solid var(--line);
}
.product-information .product-section-nav a {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 8px;
  text-align: center;
  white-space: normal;
  font-size: 13px;
  line-height: 1.45;
}
.product-information .product-section-nav a + a {
  border-left: 1px solid var(--line);
}
.product-information .product-section-nav a:hover,
.product-information .product-section-nav a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-hover);
  text-decoration: none;
}
.product-information .product-text {
  margin: 25px 0 20px;
}
.product-information .spec-table {
  width: 100%;
  margin: 0;
  table-layout: fixed;
}
.product-information .spec-table th {
  width: 43%;
}
.product-information .spec-table th,
.product-information .spec-table td {
  padding: 15px 18px;
  overflow-wrap: anywhere;
}
.product-information .spec-table tr:nth-child(odd) {
  background: #f8f9f9;
}
.product-information .detail-save-tools {
  justify-content: center;
  margin-top: 22px;
  padding-top: 12px;
  gap: 32px;
}
.product-information .detail-save-tools button {
  justify-content: center;
}
/* The calculator shows its result, then optional measurements and one final action. */
.estimate-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
}
.estimate-guide li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.estimate-guide b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border: 1px solid var(--accent-line);
  color: var(--accent-hover);
  background: var(--accent-soft);
  font-size: 12px;
  border-radius: 50%;
}
.estimate-step .estimate-context {
  font-size: 12px;
  line-height: 1.75;
  padding: 12px 15px;
  background: #f4f7f7;
  border-left: 2px solid var(--accent);
  margin: 17px 0 22px;
  max-width: none;
}
.estimate-formula {
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-secondary);
  padding-top: 14px;
  margin: 17px 0 14px;
  border-top: 1px solid var(--line);
}
.estimate-formula:empty {
  display: none;
}
.estimate-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.estimate-summary .section-kicker {
  line-height: 1.7;
}
.step-heading > .step-optional {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
  margin-left: auto;
  white-space: nowrap;
}
.estimate-accessories .calc-form {
  margin-top: 24px;
}
.accessory-results {
  margin-top: 26px;
  padding: 24px;
  background: #f6f8f8;
  border: 1px solid #e0e5e5;
}
.accessory-results-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 18px;
}
.accessory-results-heading h3 {
  font-size: 20px;
  margin: 0;
}
.accessory-results-heading a {
  font-size: 12px;
  color: var(--accent);
}
.accessory-results dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}
.accessory-results dt {
  font-size: 12px;
  color: var(--text-secondary);
  min-height: 40px;
}
.accessory-results dd {
  margin: 5px 0 0;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.accessory-results > p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 20px 0 0;
}
.estimate-save {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 370px);
  align-items: center;
  gap: 30px;
  padding: 28px 0 10px;
}
.estimate-save h2 {
  font-size: clamp(24px, 2.3vw, 32px);
  margin: 7px 0 12px;
  line-height: 1.5;
}
.estimate-save h2 > span {
  display: inline-block;
}
.estimate-save-times {
  color: #8b9999;
  padding: 0 7px;
}
.estimate-save p {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 65ch;
  margin: 0;
}
.estimate-save p.estimate-error {
  color: #a33124;
  margin-top: 13px;
}
.estimate-save-actions > .button {
  width: 100%;
  min-height: 50px;
  padding: 12px 17px;
  font-size: 13px;
}
.facade-instruction {
  margin: -5px 0 22px;
  font-size: 13px;
  color: var(--text-secondary);
}
@media (max-width: 940px) {
  .accessory-results dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .estimate-save {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
    gap: 24px;
  }
  .estimate-accessories .calc-form {
    grid-template-columns: 1fr 1fr;
  }
  .estimate-accessories .field.full {
    grid-column: 1 / -1;
  }
}
@media (max-width: 860px) {
  .product-page {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .product-gallery .main-product-stage {
    flex: none;
    height: clamp(290px, 75vw, 460px);
    min-height: 0;
  }
}
@media (max-width: 680px) {
  .product-information .product-section-nav a {
    font-size: 12px;
    padding: 12px 5px;
    min-height: 52px;
  }
  .product-information .product-text {
    font-size: 14px;
    margin: 22px 0;
  }
  .product-information .spec-table {
    font-size: 13px;
  }
  .product-information .spec-table th,
  .product-information .spec-table td {
    padding: 13px 10px;
  }
  .product-information .detail-save-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-information .save-control {
    width: 100%;
    min-height: 44px;
    font-size: 12px;
  }
  .estimate-guide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .estimate-accessories .step-heading {
    flex-wrap: wrap;
    gap: 8px 11px;
  }
  .step-heading > .step-optional {
    width: 100%;
    margin-left: 25px;
  }
  .estimate-accessories .calc-form {
    grid-template-columns: 1fr;
  }
  .estimate-accessories .field.full {
    grid-column: auto;
  }
  .accessory-results {
    padding: 20px 16px;
  }
  .accessory-results-heading h3 {
    font-size: 19px;
  }
  .accessory-results dl {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .accessory-results dl > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    border-bottom: 1px solid #dce3e3;
    padding: 12px 0;
  }
  .accessory-results dt {
    min-height: 0;
    font-size: 12px;
  }
  .accessory-results dd {
    margin: 0;
    font-size: 17px;
    text-align: right;
    white-space: nowrap;
  }
  .estimate-save {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }
  .estimate-save h2 {
    font-size: 25px;
  }
  .estimate-save-actions {
    width: 100%;
  }
  .facade-explainer .facade-legend {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }
  .facade-legend button {
    width: 100%;
    padding: 15px;
  }
  .facade-legend strong {
    font-size: 14px;
  }
  .facade-legend small {
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  .product-information .product-section-nav a {
    font-size: 11px;
  }
  .product-information .spec-table th,
  .product-information .spec-table td {
    padding-inline: 8px;
    font-size: 12px;
  }
  .estimate-save h2 {
    font-size: 22px;
  }
}

/* V32: choose the model first, then its exact color; consistent sample framing. */
.catalog-guide {
  margin: -8px 0 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.catalog-count {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 13px;
}
.catalog-count > [data-result-count] {
  color: var(--text-primary);
}
.catalog-variant-total {
  margin-left: 16px;
  color: var(--text-secondary);
}
.catalog-variant-total b {
  color: var(--text-primary);
}
.card-variant-count {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 16px;
  margin: 0;
}
.product-card .product-photo {
  height: 190px;
  padding: 32px 16px 12px;
}
.product-card .product-copy {
  padding: 14px 16px;
  gap: 5px;
}
.card-sample {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.card-crop {
  display: block;
  position: relative;
  overflow: hidden;
  width: min(185px, calc(140px * var(--sample-ratio)));
  aspect-ratio: var(--sample-ratio);
}
.product-card .product-photo .card-crop img {
  position: absolute;
  left: var(--canvas-left);
  top: var(--canvas-top);
  width: var(--canvas-width);
  height: var(--canvas-height);
  max-width: none;
  object-fit: fill;
  margin: 0;
  transform: none;
}
.product-card .product-name {
  font-size: 16px;
  line-height: 22px;
  min-height: 44px;
}
.product-card .product-series {
  font-size: 11px;
  line-height: 16px;
}
.product-card .card-color {
  font-size: 13px;
  line-height: 20px;
  margin: 0;
}
.product-card .card-color b {
  font-weight: 700;
  color: var(--text-primary);
}
.product-card .product-spec-line {
  font-size: 11px;
  line-height: 18px;
  min-height: 18px;
  margin: 0 0 3px;
}
.product-card .card-palette {
  flex-wrap: wrap;
  margin: 2px 0 6px;
}
.product-card .price-unit {
  font-size: 11px;
}
/* Compact card prices retain a row for optional area pricing, so stock and CTAs align. */
.product-card .product-buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px 10px;
  padding-top: 12px;
}
.product-card .product-buy > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 30px 16px 18px 16px;
  min-width: 0;
  align-items: start;
}
.product-card .product-buy > div > strong {
  grid-row: 1;
  font-size: 24px;
  line-height: 30px;
}
.product-card .product-buy .price-unit {
  grid-row: 2;
  margin: 0;
  line-height: 16px;
}
.product-card .product-buy .price-per-area {
  grid-row: 3;
  margin: 0;
  line-height: 18px;
}
.product-card .product-buy small {
  grid-row: 4;
  margin: 0;
  line-height: 16px;
}
.product-card .product-buy .mini-add {
  align-self: center;
}
.product-card .card-compare {
  margin-top: 0;
  padding: 0;
  min-height: 32px;
}
@container product-card (min-width: 330px) {
  .product-card .product-buy > div {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-rows: 30px 18px 16px;
    column-gap: 6px;
  }
  .product-card .product-buy .price-unit {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    padding-bottom: 3px;
    white-space: nowrap;
  }
  .product-card .product-buy .price-per-area {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .product-card .product-buy small {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}
@container product-card (max-width: 280px) {
  .product-card .product-buy {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-card .product-buy .mini-add {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .product-card .product-spec-line {
    min-height: 36px;
  }
}
@media (max-width: 680px) {
  .product-card .product-buy {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-guide {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .catalog-count {
    font-size: 12px;
  }
  .catalog-variant-total {
    margin-left: 10px;
  }
  .product-card .product-photo {
    padding: 32px 10px 8px;
    height: 146px;
  }
  .product-card .product-copy {
    padding: 12px 10px;
  }
  .card-crop {
    width: min(120px, calc(102px * var(--sample-ratio)));
  }
  .product-card .product-name {
    font-size: 15px;
    line-height: 21px;
    min-height: 42px;
  }
  .product-card .product-series {
    font-size: 10px;
  }
  .product-card .card-color {
    font-size: 12px;
    min-height: 40px;
  }
  .product-card .product-spec-line {
    font-size: 11px;
    min-height: 36px;
  }
  .card-variant-count {
    font-size: 10px;
    line-height: 1.6;
  }
}
/* Brand filters keep the same indicator box in both states. */
.catalog-sidebar .filter-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 20px;
  min-height: 40px;
}
.catalog-sidebar .filter-chip::before {
  display: block;
  box-sizing: border-box;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #aeb5ab;
}
.catalog-sidebar .filter-chip.active::before {
  border: 1px solid var(--accent);
  box-shadow: inset 0 0 0 3px var(--accent);
}

/* V33: visual catalog navigation, stable product layout and readable mobile tables. */
/* Catalog navigation: two clear groups and a compact calculation link. */
.catalog-menu {
  max-height: calc(100dvh - 180px);
  overscroll-behavior: contain;
  box-shadow: 0 14px 24px #0000000a;
}
.catalog-menu .mega-grid {
  grid-template-columns: minmax(0, 2.4fr) minmax(240px, 1fr);
  gap: 18px 36px;
  padding-block: 24px 18px;
  align-items: start;
}
.mega-grid > div {
  min-width: 0;
}
.mega-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 24px;
  margin-bottom: 8px;
}
.mega-grid .mega-heading small,
.mega-grid .mega-brands > small {
  margin: 0;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.065em;
}
.mega-grid a.mega-all {
  padding: 0;
  gap: 9px;
  color: var(--accent);
  font-size: 12px;
  white-space: nowrap;
}
.mega-material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}
.mega-grid a.mega-material {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 16px;
  gap: 14px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  min-height: 88px;
  align-items: center;
  transition: background 0.15s;
}
.mega-grid a.mega-material:hover,
.mega-grid a.mega-material:focus-visible,
.mega-grid a.mega-brand:hover,
.mega-grid a.mega-brand:focus-visible {
  background: var(--accent-soft);
  text-decoration: none;
}
.mega-sample {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
}
.mega-sample img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.menu-sample-crop {
  display: block;
  position: relative;
  overflow: hidden;
  width: min(64px, calc(64px * var(--sample-ratio)));
  aspect-ratio: var(--sample-ratio);
}
.menu-sample-crop img.material-sample {
  position: absolute;
  max-width: none;
  width: var(--canvas-width);
  height: var(--canvas-height);
  left: var(--canvas-left);
  top: var(--canvas-top);
  object-fit: fill;
}
.mega-material-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.mega-material-copy b {
  font-size: 15px;
  line-height: 1.4;
}
.mega-material-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  font-size: 12px;
  line-height: 1.6;
}
.mega-material-meta > span {
  color: var(--text-secondary);
  font-weight: 400;
}
.mega-material-meta strong {
  color: var(--text-primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mega-material > .icon,
.mega-brand > .icon {
  color: var(--accent);
}
.mega-brands {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.mega-grid .mega-brands > small {
  min-height: 24px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.mega-grid a.mega-brand {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 16px;
  gap: 12px;
  min-height: 64px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.mega-brand-name {
  line-height: 1.5;
}
.mega-grid .mega-help {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0 0;
  background: transparent;
  border-top: 1px solid var(--line);
}
.mega-help-icon {
  width: 24px;
  height: 28px;
  color: var(--accent);
}
.mega-help-icon .icon {
  width: 100%;
  height: 100%;
}
.mega-help h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 3px;
}
.mega-grid .mega-help p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.mega-grid .mega-help a {
  color: var(--accent-hover);
  font-size: 13px;
  gap: 16px;
  padding: 10px 0 10px 16px;
}
.mega-grid a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .catalog-menu .mega-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .mega-brands {
    padding-left: 0;
    border-left: 0;
  }
  .mega-brand-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .mega-grid a.mega-brand {
    grid-template-columns: 54px minmax(0, 1fr) 16px;
    min-height: 52px;
    gap: 8px;
    font-size: 12px;
  }
  .mega-brand .mega-brand-mark {
    width: 54px;
  }
  .mega-brand-mark .brand-logo-docke,
  .mega-brand-mark .brand-logo-alta-profil {
    max-width: 50px;
  }
}

/* Keep product names complete; title height is shared within each color family. */
.product-breadcrumbs {
  flex-wrap: nowrap;
  min-width: 0;
}
.product-breadcrumbs > a {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 23%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-breadcrumbs > i {
  flex: 0 0 auto;
}
.product-breadcrumbs > span {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-intro .eyebrow {
  min-height: 20px;
  line-height: 20px;
  margin: 0 0 7px;
}
.product-intro h1 {
  font-size: clamp(26px, 2.1vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-wrap: wrap;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
.product-intro .detail-tags {
  align-items: flex-start;
  margin: 12px 0 0;
  min-height: 0;
}
.product-detail .color-selector {
  margin: 0 0 18px;
}
.product-detail .color-selector > div:first-child {
  min-height: 24px;
  line-height: 24px;
}
.product-detail .color-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, 44px);
  grid-auto-rows: 44px;
  gap: 8px;
  min-height: 44px;
  align-content: start;
  margin-top: 8px;
}
.product-detail .color-options a {
  display: block;
  width: 44px;
  height: 44px;
}
.product-detail > .purchase-panel {
  margin-top: 0;
}
.purchase-panel .detail-area-price {
  font-size: 14px;
  line-height: 20px;
  min-height: 0;
  margin: 6px 0 0;
}
.purchase-panel .detail-area-price span {
  display: block;
  font-size: 12px;
  line-height: 20px;
  margin: 0;
}
.purchase-panel .stockline {
  line-height: 20px;
  min-height: 0;
}

/* The result follows the inputs in normal document flow, on the full width. */
.estimate-overview {
  display: block;
}
.estimate-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
}
.estimate-inputs > .estimate-step {
  padding-top: 0;
  padding-bottom: 28px;
  border-bottom: 0;
  min-width: 0;
}
.estimate-inputs > .estimate-step + .estimate-step {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.estimate-result-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 13px;
}
.estimate-summary {
  position: static;
  top: auto;
  width: 100%;
  margin: 6px 0 12px;
  padding: 28px;
  scroll-margin-top: 160px;
}
.estimate-result-heading h2 {
  margin: 0 0 24px;
}
.estimate-result-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
}
.estimate-result-details,
.estimate-result-cost {
  min-width: 0;
}
.estimate-result-details .estimate-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}
.estimate-result-details .estimate-metrics > div {
  display: block;
  padding: 0 0 12px;
}
.estimate-result-details .estimate-metrics dt {
  font-size: 12px;
  line-height: 1.6;
  min-height: 20px;
}
.estimate-result-details .estimate-metrics dd {
  font-size: 22px;
  line-height: 1.4;
  text-align: left;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}
.estimate-result-details .estimate-formula {
  margin-bottom: 0;
}
.estimate-result-cost {
  background: var(--accent-soft);
  padding: 24px;
  align-self: start;
}
.estimate-result-cost .estimate-total {
  margin: 0 0 14px;
}
.estimate-result-cost .estimate-total strong {
  font-size: clamp(28px, 3vw, 40px);
  overflow-wrap: anywhere;
}
.estimate-result-cost .estimate-footnote {
  margin: 0;
}
.estimate-summary > .estimate-next {
  margin-top: 24px;
}

@media (max-width: 860px) {
  .product-intro h1 {
    font-size: 28px;
  }
  .estimate-inputs {
    display: block;
  }
  .estimate-inputs > .estimate-step + .estimate-step {
    padding-left: 0;
    border-left: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .estimate-result-body {
    gap: 22px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .estimate-result-cost {
    padding: 20px;
  }
}
@media (max-width: 680px) {
  .mobile-panel a.mobile-material {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 16px;
    padding: 10px 0;
    min-height: 70px;
  }
  .mobile-material-sample {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: #f5f6f6;
  }
  .mobile-material-sample img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
  }
  .mobile-material-sample .menu-sample-crop {
    width: min(42px, calc(44px * var(--sample-ratio)));
  }
  .mobile-material-name {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.5;
  }
  .mobile-material > .icon,
  .mobile-panel a.mobile-all-catalog {
    color: var(--accent);
  }
  .mobile-panel a.mobile-all-catalog {
    font-weight: 700;
    font-size: 13px;
  }
  .product-breadcrumbs {
    gap: 6px;
  }
  .product-intro .eyebrow {
    font-size: 10px;
  }
  .purchase-panel .detail-area-price {
    font-size: 13px;
  }
  .purchase-panel .detail-area-price span {
    font-size: 11px;
  }
  .estimate-summary {
    padding: 22px 16px;
    scroll-margin-top: 145px;
  }
  .estimate-result-heading h2 {
    font-size: 23px;
  }
  .estimate-result-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .estimate-result-details .estimate-metrics {
    gap: 20px 18px;
  }
  .estimate-result-details .estimate-metrics dt {
    min-height: 38px;
  }
  .estimate-result-details .estimate-metrics dd {
    font-size: 21px;
  }
  .estimate-result-cost {
    padding: 20px;
  }

  /* Keep table semantics and all values while presenting each record as a card. */
  .seo-table-wrap,
  .guide-table-wrap {
    overflow: visible;
    border: 0;
    min-width: 0;
  }
  .seo-table {
    min-width: 0;
    width: 100%;
  }
  .seo-table td:last-child {
    white-space: normal;
  }
  .seo-table td,
  .seo-table th {
    overflow-wrap: anywhere;
  }
  .series-facts-table {
    table-layout: fixed;
    border-top: 1px solid var(--line);
  }
  .series-facts-table th {
    width: 42%;
  }
  .series-facts-table td,
  .series-facts-table th {
    padding: 13px 12px;
  }
  .mobile-record-table {
    display: block;
    position: relative;
    font-size: 13px;
  }
  .mobile-record-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .mobile-record-table tbody {
    display: block;
    width: 100%;
  }
  .mobile-record-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    margin-bottom: 12px;
    background: #fff;
  }
  .mobile-record-table tbody td {
    display: block;
    min-width: 0;
    width: auto;
    border: 0;
    padding: 12px 14px;
    text-align: left;
    line-height: 1.6;
  }
  .mobile-record-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.015em;
    line-height: 1.5;
    margin-bottom: 4px;
  }
  .mobile-record-table tbody td:first-child {
    grid-column: 1 / -1;
    font-size: 15px;
    font-weight: 700;
    background: #f5f8f8;
    border-bottom: 1px solid var(--line);
  }
  .mobile-record-table tbody td:first-child a {
    display: flex;
    align-items: center;
    min-height: 30px;
    color: var(--text-primary);
  }
  .mobile-record-table tbody td[data-label^="Цена"] {
    font-size: 16px;
    color: var(--accent-hover);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .mobile-record-table tbody td a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

  .comparison-scroll {
    overflow: visible;
    border: 0;
  }
  .comparison-table {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 13px;
  }
  .comparison-table thead,
  .comparison-table tbody {
    display: block;
  }
  .comparison-table thead tr {
    display: block;
    position: relative;
    border: 1px solid var(--line);
    margin-bottom: 20px;
  }
  .comparison-table tr > *:first-child {
    position: static;
    width: auto;
    z-index: auto;
  }
  .comparison-table thead tr > th:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .comparison-table thead th:not(:first-child) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-right: 0;
    text-align: left;
  }
  .comparison-table thead th:last-child {
    border-bottom: 0;
  }
  .comparison-table thead th:not(:first-child) > a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
  }
  .comparison-table .compare-photo {
    width: 58px;
    height: 66px;
  }
  .comparison-table .compare-crop {
    width: min(58px, calc(62px * var(--sample-ratio)));
  }
  .comparison-table .compare-name {
    min-height: 0;
    text-align: left;
  }
  .comparison-table .compare-name b {
    font-size: 12px;
  }
  .comparison-table .compare-name > span {
    font-size: 11px;
  }
  .comparison-table thead .compare-remove {
    margin: 0;
    min-height: 44px;
    padding: 8px 5px;
    font-size: 11px;
  }
  .comparison-table tbody tr {
    display: block;
    border: 1px solid var(--line);
    margin-bottom: 14px;
  }
  .comparison-table tbody tr > th:first-child {
    display: block;
    border: 0;
    background: #f1f6f6;
    font-size: 13px;
    padding: 12px;
  }
  .comparison-table tbody td {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    border-right: 0;
    padding: 12px;
    text-align: right;
    font-size: 13px;
    line-height: 1.6;
  }
  .comparison-table tbody td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: left;
  }
  .comparison-table tbody td:last-child {
    border-bottom: 0;
  }
  .comparison-table tbody tr:first-child td {
    font-size: 17px;
  }
}
@media (max-width: 370px) {
  .product-intro h1 {
    font-size: 26px;
  }
  .mega-grid a.mega-all {
    font-size: 11px;
  }
}
@media (max-width: 340px) {
  .comparison-table thead th:not(:first-child) {
    grid-template-columns: minmax(0, 1fr);
  }
  .comparison-table thead .compare-remove {
    justify-self: end;
    padding-inline: 12px;
  }
}

/* V34: consistent brand marks and visible menu state. */
.mega-brand-mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 42px;
  justify-self: center;
  background: transparent;
}
.mega-brand-mark .brand-logo-docke,
.mega-brand-mark .brand-logo-alta-profil {
  width: 62px;
}
.mega-brand-mark .brand-logo-yu-plast {
  width: 22px;
}
[data-menu-btn] .menu-close-icon,
[data-catalog-toggle] .menu-close-icon {
  display: none;
}
[data-menu-btn][aria-expanded="true"] .menu-open-icon,
[data-catalog-toggle][aria-expanded="true"] .menu-open-icon {
  display: none;
}
[data-menu-btn][aria-expanded="true"] .menu-close-icon,
[data-catalog-toggle][aria-expanded="true"] .menu-close-icon {
  display: block;
}
.header-row .catalog-toggle[aria-expanded="true"] {
  background: var(--accent-hover);
  color: #fff;
  border-color: var(--accent-hover);
}
.header-row .catalog-toggle[aria-expanded="true"]:hover {
  background: var(--accent);
}
.header-row .menu-btn[aria-expanded="true"] {
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
}
.header-row .menu-btn[aria-expanded="true"]:hover {
  background: var(--accent-hover);
}
[data-menu-btn]:focus-visible,
[data-catalog-toggle]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.footer-legal {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 19px;
  border-top: 1px solid #ffffff18;
  color: #c6ceca;
  font-size: 12px;
  line-height: 1.7;
}
.footer-legal > span {
  font-size: 11px;
}
.footer-legal > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 22px;
}
.footer-legal strong {
  font-size: 13px;
  color: #f3f5f3;
}
.footer-legal > div > span {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* Public contact details. */
.contact-email {
  margin-top: 24px;
}
.contact-email > span {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 4px;
}
.contact-email > a {
  color: var(--accent-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-email > p {
  font-size: 13px;
  margin: 8px 0 0;
  color: var(--text-secondary);
}
.contact-email-link {
  overflow-wrap: anywhere;
}
.contact-requisites {
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.contact-requisites h3 {
  font-size: 20px;
  margin: 0 0 16px;
}
.contact-requisites dl {
  margin: 0;
}
.contact-requisites dl > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 18px;
  padding: 11px 0;
  line-height: 1.65;
}
.contact-requisites dt {
  font-size: 12px;
  color: var(--text-secondary);
}
.contact-requisites dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 680px) {
  .utility-bar .utility-inner {
    justify-content: center;
  }
  .utility-bar .utility-inner > a {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .footer-legal {
    flex-direction: column;
    gap: 5px;
  }
  .contact-requisites dd {
    font-size: 13px;
  }
}

/* Product titles share a model line and a color line, without hidden sizing copies. */
.product-intro .product-heading {
  display: block;
  min-width: 0;
  margin: 0 0 16px;
  font-size: clamp(26px, 2.1vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-wrap: wrap;
  overflow-wrap: anywhere;
}
.product-intro .product-heading > h1 {
  min-width: 0;
  min-height: 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-wrap: inherit;
  overflow-wrap: inherit;
}
.product-heading .product-title-model,
.product-heading .product-title-color {
  display: block;
}
.product-heading .product-title-color {
  font-size: 0.875em;
  line-height: 1.4;
}
@media (max-width: 860px) {
  .product-intro .product-heading {
    font-size: 28px;
  }
}
@media (max-width: 370px) {
  .product-intro .product-heading {
    font-size: 26px;
  }
}

/* V40: center the visible panel in the supplied 1000px photographs. */
.category-samples {
  display: grid;
  place-items: center;
}
.category-crop {
  display: block;
  position: relative;
  overflow: hidden;
  width: min(100%, calc(164px * var(--sample-ratio)));
  max-width: 190px;
  aspect-ratio: var(--sample-ratio);
}
.category-crop img.material-sample {
  position: absolute;
  left: var(--canvas-left);
  top: var(--canvas-top);
  width: var(--canvas-width);
  height: var(--canvas-height);
  max-width: none;
  object-fit: fill;
}
@media (max-width: 940px) {
  .category-crop {
    width: min(100%, calc(122px * var(--sample-ratio)));
    max-width: 160px;
  }
}
@media (max-width: 370px) {
  .category-crop {
    width: min(100%, calc(110px * var(--sample-ratio)));
  }
}

/* V42: crawlable compact catalog index and unobtrusive form protection. */
.catalog-all-links {
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.catalog-all-links summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 700;
}
.catalog-all-links ul {
  columns: 3;
  column-gap: 28px;
  margin: 18px 0 0;
  padding-left: 18px;
}
.catalog-all-links li {
  break-inside: avoid;
  margin: 0 0 10px;
}
.catalog-all-links a:hover {
  text-decoration: underline;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 860px) {
  .catalog-all-links ul {
    columns: 2;
  }
}
@media (max-width: 680px) {
  .catalog-all-links ul {
    columns: 1;
  }
}

/* Facade photos fill the stage without side bands. */
.product-gallery .main-product-stage {
  overflow: hidden;
}

/* Product gallery: standard horizontal thumbnails. */
.product-gallery .gallery-thumbs {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 12px;
}
.product-gallery .gallery-thumbs button {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.product-gallery .gallery-thumbs button[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.product-gallery .gallery-thumbs button:hover {
  border-color: var(--accent);
}
.product-gallery .gallery-thumbs button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.product-gallery .gallery-thumbs img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: transparent;
}
.product-gallery .gallery-thumbs [data-gallery-kind="facade"] img {
  object-fit: cover;
}

/* V48: compact product overview, with an independent gallery and a clear purchase area. */
.product-page > .product-intro {
  grid-area: intro;
  min-width: 0;
}
.product-intro .product-heading {
  margin: 0;
}
.product-detail > .purchase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "price stock" "area area" "buy buy";
  column-gap: 12px;
  padding: 20px;
  background: #f7f9f9;
  border-color: #e0e5e5;
}
.product-detail > .purchase-panel .big-price {
  grid-area: price;
  min-width: 0;
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
}
.product-detail > .purchase-panel .detail-price-unit {
  font-size: 12px;
  margin-left: 6px;
}
.product-detail > .purchase-panel .detail-area-price {
  grid-area: area;
  line-height: 20px;
  min-height: 40px;
}
.product-detail > .purchase-panel .detail-area-price span {
  display: block;
  margin-left: 0;
  line-height: 20px;
}
.product-detail > .purchase-panel .stockline {
  grid-area: stock;
  align-self: start;
  margin: 11px 0 0;
  font-size: 12px;
  white-space: nowrap;
}
.product-detail > .purchase-panel .buybox {
  grid-area: buy;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  margin: 16px 0 0;
  align-items: end;
}
.product-detail .product-quantity {
  font-size: 12px;
  color: var(--text-secondary);
}
.product-detail .product-quantity input {
  width: 100%;
  color: var(--text-primary);
}
.product-detail > .purchase-panel .buybox .button {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 13px;
}
.product-detail > .product-service {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px 22px;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}
.product-detail > .product-service a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 40px;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.product-detail > .product-service a:first-child {
  color: var(--accent-hover);
  font-weight: 600;
}
.product-detail > .product-service a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-detail > .product-service .icon {
  width: 17px;
  height: 17px;
}
.product-detail > .purchase-help {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
  padding-top: 14px;
}
.product-detail > .purchase-help a {
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.product-detail > .purchase-help strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
}
.product-detail > .purchase-help span {
  font-size: 13px;
}
.product-detail > .purchase-help small {
  display: block;
  font-size: 12px;
}
.product-information > .spec-source {
  display: inline-block;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .product-page {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "gallery" "detail" "information";
    grid-template-rows: auto;
    gap: 20px;
  }
  .product-gallery .main-product-stage {
    height: clamp(248px, 72vw, 360px);
  }
  .product-intro .product-heading {
    font-size: 26px;
    line-height: 1.3;
  }
  .product-information {
    margin-top: 8px;
  }
}
@media (max-width: 680px) {
  .product-gallery .main-product-stage {
    height: clamp(248px, 72vw, 320px);
  }
  .product-gallery .main-product-stage.stage-hd > img {
    inset: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
  }
  .product-gallery .main-product-stage[data-current-kind="facade"] > img {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .product-detail > .purchase-panel {
    padding: 18px;
  }
  .product-detail > .purchase-panel .big-price {
    font-size: 32px;
  }
  .product-detail > .product-service {
    gap: 2px 18px;
  }
  .product-detail > .product-service a {
    min-height: 44px;
  }
}
@media (max-width: 370px) {
  .product-intro .product-heading {
    font-size: 24px;
  }
  .product-detail > .purchase-panel {
    padding: 16px;
  }
  .product-detail > .purchase-panel .buybox {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 10px;
  }
  .product-detail > .purchase-panel .buybox .button {
    font-size: 12px;
  }
  .product-detail > .product-service {
    gap: 0 14px;
  }
  .product-detail > .product-service a {
    font-size: 12px;
  }
}

/* V49: shared content edges and readable, full-width product descriptions. */
:root {
  --page-gutter: clamp(16px, 3vw, 40px);
}
.container {
  width: calc(100% - 2 * var(--page-gutter));
  max-width: 1320px;
  margin-inline: auto;
}
.product-seo-section .product-editorial-copy {
  max-width: none;
}
.product-editorial-copy > .category-seo-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 18px;
}
.product-editorial-copy .section-kicker,
.product-editorial-copy h2 {
  grid-column: 1 / -1;
  margin: 0;
}
.product-editorial-copy .section-kicker {
  margin-bottom: -8px;
}
.product-editorial-copy p {
  min-width: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.product-editorial-copy .text-link {
  display: inline;
  font-size: inherit;
  line-height: inherit;
}
.product-series-table {
  margin-top: 32px;
}
.product-series-table h2 {
  font-size: clamp(25px, 2.5vw, 32px);
  margin-bottom: 14px;
}
.product-detail .color-selector > div:first-child {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 4px;
  overflow-wrap: anywhere;
}
.product-detail .color-options img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-delivery-note {
  padding-top: 16px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.cart-delivery-note .text-link {
  display: block;
  margin-top: 8px;
}
@media (max-width: 860px) {
  .product-editorial-copy > .category-seo-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .product-editorial-copy p {
    font-size: 14px;
  }
  .product-series-table {
    margin-top: 26px;
  }
}

/* V51: clear delivery navigation and an editorial layout for collection and courier terms. */
@media (min-width: 681px) {
  .utility-inner nav > .utility-delivery {
    display: inline-flex;
    align-items: center;
  }
}
.home-delivery > a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}
.home-delivery-title,
.home-delivery-action,
.delivery-action,
.delivery-teaser > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.home-delivery-title .icon {
  color: var(--accent);
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}
.home-delivery-summary {
  color: var(--text-secondary);
}
.home-delivery-action {
  margin-left: auto;
  color: var(--accent-hover);
  font-weight: 600;
}
.home-delivery-action .icon,
.delivery-action .icon,
.delivery-teaser .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.home-delivery a:hover .home-delivery-action,
.delivery-action:hover,
.delivery-phone:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.product-detail > .purchase-help .purchase-help-link {
  display: inline-block;
  margin-top: 5px;
  color: var(--accent-hover);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: #007d8740;
  text-underline-offset: 3px;
}
.delivery-hero p {
  max-width: 710px;
}
.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.pickup-block,
.courier-methods {
  min-width: 0;
}
.pickup-block,
.courier-block,
.delivery-teaser {
  scroll-margin-top: 160px;
}
.pickup-block {
  padding: clamp(24px, 3vw, 36px);
  background: #f2f6f5;
  border-top: 3px solid var(--accent);
}
.delivery-method-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.delivery-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.delivery-icon .icon {
  width: 28px;
  height: 28px;
}
.delivery-method-heading h2 {
  font-size: clamp(24px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin: 0;
}
.delivery-layout p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.delivery-layout .delivery-price {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--accent-hover);
  margin-bottom: 10px;
}
.delivery-layout .delivery-time {
  color: var(--text-primary);
  font-size: 13px;
  margin-bottom: 22px;
}
.delivery-layout .pickup-order-note {
  color: var(--text-primary);
  font-size: 13px;
}
.pickup-location {
  border-top: 1px solid #dbe4e2;
  margin-top: 24px;
  padding-top: 22px;
}
.delivery-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.pickup-location h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 4px;
}
.pickup-location .pickup-hours {
  margin-bottom: 0;
}
.pickup-hours strong,
.pickup-hours span {
  display: block;
}
.pickup-hours strong {
  color: var(--text-primary);
  font-size: 16px;
}
.pickup-hours span {
  font-size: 13px;
}
.delivery-action {
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  margin-top: 18px;
}
.courier-block {
  padding: 3px 0 28px;
}
.courier-block + .courier-block {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.courier-block .delivery-method-heading {
  margin-bottom: 8px;
}
.courier-block p:last-child {
  margin-bottom: 0;
}
.delivery-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.delivery-prices strong,
.delivery-prices span {
  display: block;
}
.delivery-prices strong {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin-bottom: 6px;
}
.delivery-prices span {
  font-size: 13px;
  color: var(--text-secondary);
}
.delivery-free strong {
  color: var(--accent-hover);
}
.delivery-layout .delivery-cost-label {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}
.delivery-phone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 16px;
  justify-items: start;
  padding: 18px 20px;
  margin-top: 22px;
  background: #edf7f7;
}
.delivery-phone span {
  font-size: 12px;
  color: var(--text-secondary);
}
.delivery-phone strong {
  grid-column: 1;
  font-size: 19px;
  line-height: 1.4;
  color: var(--accent-hover);
}
.delivery-phone .icon {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--accent);
  width: 20px;
  height: 20px;
}
.delivery-layout .delivery-boundary {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  margin: 0;
}
.delivery-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 30px;
  padding: 26px 30px;
  background: #f2f6f5;
}
.delivery-teaser h2 {
  font-size: 25px;
  margin: 0 0 6px;
}
.delivery-teaser p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}
@media (max-width: 860px) {
  .delivery-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .home-delivery-summary {
    display: none;
  }
}
@media (max-width: 680px) {
  .home-delivery > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px 0;
  }
  .home-delivery-title {
    min-width: 0;
  }
  .home-delivery-action {
    margin-left: 0;
    font-size: 12px;
  }
  .pickup-block {
    padding: 24px 20px;
  }
  .delivery-prices {
    gap: 12px;
  }
  .delivery-prices strong {
    font-size: 25px;
  }
  .delivery-phone strong {
    font-size: 18px;
  }
  .delivery-phone {
    padding: 16px;
  }
  .delivery-teaser {
    padding: 22px 20px;
  }
  .pickup-block,
  .courier-block,
  .delivery-teaser {
    scroll-margin-top: 145px;
  }
}
