/* Shared typography and card body, based on the approved home materials block. */
:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-section-title{font-family:Dudka,Georgia,serif;font-size:40px;font-weight:400;line-height:1.12;color:#261919;text-align:left;text-transform:none;padding:0;border:0}
:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-card-body{padding:18px 16px 20px}
:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-card-title{font-family:Dudka,Georgia,serif;font-size:25px;font-weight:400;line-height:1.15;color:#642b2b;text-align:left;text-transform:none;padding:0;border:0;margin:0 0 8px}
:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-card-caption{font-family:Gotham,Arial,sans-serif;font-size:12px;font-weight:400;line-height:1.6;color:#665d59;margin:0}
.sz-showroom .sz-sr-cards article{border:1px solid #ede6e2;background:#fff}
.sz-showroom .sz-ds-card-body>.sz-sr-link{margin-top:14px}
@media(min-width:1600px){:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-section-title{font-size:48px}:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-card-title{font-size:30px}}
@media(max-width:1199px){:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-card-title{font-size:23px}}
@media(max-width:767px){:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-section-title{font-size:32px}:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-card-title{font-size:27px}:is(.sz-portal,.sz-showroom,.sz-installation) .sz-ds-card-caption{font-size:13px}}

/* Product tabs: shared navigation for the native product card templates. */
main:has(.product) .tab-container > #tabs {
  display:flex; flex-wrap:wrap; justify-content:center; gap:8px;
  max-width:100%; margin:48px 0 32px; padding:0 0 20px;
  border:0; border-bottom:1px solid #ede6e2; overflow:visible; white-space:normal;
}
main:has(.product) .tab-container > #tabs .nav-item {display:flex; padding:0; margin:0;}
main:has(.product) .tab-container > #tabs .nav-link {
  display:flex; align-items:center; justify-content:center; min-height:48px;
  margin:0; padding:12px 22px; border:1px solid #d9ceca; border-radius:4px;
  background:#f7f5f3; color:#261919; font-family:inherit; font-size:16px;
  font-weight:400; line-height:24px; text-align:center; white-space:normal;
  text-decoration:none; cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}
main:has(.product) .tab-container > #tabs .nav-link:hover {background:#ede6e2; border-color:#9a716b; color:#642b2b;}
main:has(.product) .tab-container > #tabs .nav-link.active,
main:has(.product) .tab-container > #tabs .nav-link[aria-selected="true"] {background:#642b2b; border-color:#642b2b; color:#fff;}
main:has(.product) .tab-container > #tabs .nav-link:focus-visible {outline:2px solid #642b2b; outline-offset:3px;}
main:has(.product) #tabsContent {scroll-margin-top:190px;}
.sz-rancho250 {overflow-x:hidden;}
.sz-rancho250 .colors {max-width:100%; overflow-x:auto;}
@media(max-width:767px) {
  main:has(.product) .tab-container > #tabs {justify-content:flex-start; gap:8px; margin:32px 0 24px; padding-bottom:16px;}
  main:has(.product) .tab-container > #tabs .nav-link {padding:10px 16px; font-size:15px; line-height:22px;}
  main:has(.product) #tabsContent {scroll-margin-top:120px;}
}
@media(prefers-reduced-motion:reduce) {main:has(.product) .tab-container > #tabs .nav-link {transition:none;}}

/* Preserve photograph geometry in product descriptions and survey forms. */
main:has(.product) #tabsContent .article-img > img {display:block; width:100%; max-width:100%; height:auto; object-fit:contain;}
main:has(.product) #tab05 .form-img {overflow:hidden;}
main:has(.product) #tab05 .form-img > img {display:block; width:100%; max-width:100%; height:100%; object-fit:cover; object-position:center;}
/* Wide project banner: the same product grid, with readable text over photography. */
.sz-product-case.case-example {position:relative; isolation:isolate; display:flex; align-items:center; min-height:480px; padding:64px 0; overflow:hidden;}
.sz-product-case.case-example > img {position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 57%; z-index:0;}
.sz-product-case.case-example::before {content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(20,18,17,.86) 0%,rgba(20,18,17,.72) 38%,rgba(20,18,17,.32) 74%,rgba(20,18,17,.12) 100%); z-index:1;}
.sz-product-case.case-example > .container {position:relative; z-index:2;}
.sz-product-case.case-example .case-text {width:65%; max-width:720px; padding:0; margin:0; background:transparent; color:#fff;}
.sz-product-case.case-example .case-example-title {color:#fff;}
.sz-product-case.case-example .case-example-name {color:#fff; margin-bottom:16px;}
.sz-product-case.case-example .case-text p {max-width:640px; color:#fff; line-height:1.6; margin-bottom:26px;}
@media(max-width:767px) {
 .sz-product-case.case-example {min-height:440px; padding:40px 0;}
 .sz-product-case.case-example .case-text {width:100%; max-width:none;}
 .sz-product-case.case-example::before {background:rgba(20,18,17,.72);}
}

.sz-product-case.case-example .case-text {min-height:0; justify-content:flex-start;}
.sz-product-case.case-example .case-example-title {margin-bottom:24px;}

/* RAL swatches use text with contrast against their real background. */
.color-box.color-box--light .color-content {color:#111;}
.color-box.color-box--dark .color-content {color:#fff;}
