/* Steel theme: product choices, description and navigation */
#allrecords .t-product__option {
  --option-bg: #212a35;
  --option-text: #f4f7fb;
  --option-border: #4b5d70;
  --option-accent: #b8f0e7;
  --option-selected: #2d4145;
}

#allrecords .t-product__option :is(.t-product__option-select, .t-product__option-item_buttons, .t-product__option-selected, .t-product__option-variants_select) {
  background-color: var(--option-bg) !important;
  border-color: var(--option-border) !important;
  border-radius: 8px;
  color: var(--option-text) !important;
  color-scheme: dark;
  max-width: 100%;
}

#allrecords .t-product__option :is(.t-product__option-title, .t-product__option-selected-title, .t-product__option-item_select) {
  color: var(--option-text) !important;
}

#allrecords .t-product__option :is(.t-product__option-item_buttons, .t-product__option-item_select, .t-product__option-selected):hover,
#allrecords .t-product__option .t-product__option-item_active:is(.t-product__option-item_buttons, .t-product__option-item_select),
#allrecords .t-product__option .t-product__option-item_buttons:has(input:checked) {
  background-color: var(--option-selected) !important;
  border-color: var(--option-accent) !important;
}

#allrecords .t-product__option .t-product__option-item_buttons:focus-within,
#allrecords .t-product__option :is(.t-product__option-select, .t-product__option-selected):focus-visible {
  outline: 2px solid var(--option-accent);
  outline-offset: 2px;
}

#allrecords .t-product__option :is(.t-product__option-selected, .t-product__option-variants_regular, .t-product__option-variants_select)::after {
  border-top-color: var(--option-accent) !important;
}

#allrecords:has(.js-product-name) [role="tabpanel"][data-record-type="396"][aria-labelledby^="tab1_"] :is(.t396__artboard, .t396__carrier, .t396__filter) {
  background-color: transparent !important;
}

/* Match the original construction illustration, including CDN-sized copies. */
#allrecords img[data-original*="tild3036-6439-4562-b737-323530326264/image.png"] {
  clip-path: polygon(1.08% 4.89%, 9.16% 0.44%, 37.47% 9.56%, 38.54% 10.67%, 38.81% 16.89%, 98.38% 35.78%, 98.92% 36.67%, 97.57% 51.78%, 96.23% 55.11%, 94.07% 56.89%, 91.91% 72.89%, 94.34% 74.67%, 91.64% 92.89%, 85.71% 99.33%, 9.43% 67.78%);
}

#allrecords:has(.js-product-name) .t1058__link[href="/"] .t1058__link-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #b8f0e7;
  color: #182027 !important;
}

#allrecords:has(.js-product-name) .t1058__link[href="/"] .t1058__btn-text {
  margin: 0;
  color: #182027 !important;
}

#allrecords:has(.js-product-name) .t1058__link[href="/"] .t1058__btn-img-wrapper {
  display: none;
}

#allrecords:has(.js-product-name) .t1058__link[href="/"] .t1058__link-wrapper::before {
  content: "←";
  font-size: 1.15em;
}

#allrecords:has(.js-product-name) .t452_scrolltop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #4b5d70;
  border-radius: 999px;
  background: #212a35;
  color: #b8f0e7 !important;
}

#allrecords:has(.js-product-name) :is(.t452_scrolltop, .t1058__link[href="/"]):focus-visible {
  outline: 2px solid #b8f0e7;
  outline-offset: 3px;
}

/* Product finish samples */
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"],
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] {
  background: transparent !important;
  padding-top: clamp(20px, 4vw, 44px) !important;
  padding-bottom: clamp(36px, 6vw, 72px) !important;
}

#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] :is(.t994__btnwrapper, .t994__height, .t994__arrow, .t-slds__bullet_wrapper) {
  display: none !important;
}

#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] :is(.t994__gallery, .t994__wrapper, .t994__slider, .t994__width-wrapper) {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}

#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__slidecontainer,
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__width-wrapper:not(:has(.t994__slidecontainer)) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  width: min(100% - 32px, 960px) !important;
  margin: 0 auto;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] :is(.t994__item, .t994__item-wrapper, .t994__slds-wrapper, .t994__content) {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  background: transparent !important;
}

#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__item[data-slide-index="0"] { display: none !important; }
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__imgwrapper { padding: 0 !important; }
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__textwrapper {
  padding: 10px 0 0 !important;
  margin: 0 !important;
  text-align: left !important;
}
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] :is(.t994__title, .t994__descr) {
  color: #f4f7fb !important;
  font-size: clamp(13px, 1.5vw, 16px) !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
}

#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] :is(.t604, .t-slds__main, .t-slds__container, .t604__imgwrapper) {
  background: transparent !important;
}
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t-slds__container { overflow: hidden !important; }
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t604__imgwrapper { border-radius: 14px; overflow: hidden; }
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t-slds__arrow {
  background: #212a35 !important;
  border: 1px solid #4b5d70 !important;
}
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t-slds__arrow:hover,
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t-slds__arrow:focus-visible { border-color: #b8f0e7 !important; }
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t-slds__arrow svg { color: #b8f0e7; }
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t-slds__arrow svg :is(polyline, path, line) { stroke: #b8f0e7 !important; }
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t-slds__bullet_body { background: #506175 !important; }
#allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t-slds__bullet_active .t-slds__bullet_body { background: #b8f0e7 !important; }

@media (max-width: 720px) {
  #allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__slidecontainer,
  #allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__width-wrapper:not(:has(.t994__slidecontainer)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t604__imgwrapper { border-radius: 8px; }
  #allrecords [role="tabpanel"][aria-labelledby^="tab3_"][data-record-type="604"] .t-slds__arrow { width: 36px !important; height: 36px !important; }
}
/* Finish layout and tab states */
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__slidecontainer,
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__width-wrapper:not(:has(.t994__slidecontainer)) {
  height:auto !important;
  margin-inline:auto !important;
  overflow:visible !important;
  grid-auto-rows:max-content;
  align-items:start;
}
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] :is(.t994__slidecontainer,.t994__width-wrapper)::before,
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] :is(.t994__slidecontainer,.t994__width-wrapper)::after {
  content:none !important;
  display:none !important;
}
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__gallery .t-container_100 {
  height:auto !important;
  min-height:0 !important;
}
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] :is(.t994__item,.t994__item-wrapper,.t994__content) {
  display:block !important;
  overflow:visible !important;
  min-height:0 !important;
}
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__item[data-slide-index="0"] { display:none !important; }
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] :is(.t994__title,.t994__descr) { margin:0 !important; }
#allrecords [data-record-type="397"]:has([role="tab"][id^="tab3_"]) .t397__tab { border-bottom-color:#3b4957 !important; }
#allrecords [data-record-type="397"]:has([role="tab"][id^="tab3_"]) .t397__tab.t397__tab_active { border-bottom-color:#b8f0e7 !important; }
#allrecords [data-record-type="397"]:has([role="tab"][id^="tab3_"]) [role="tab"] { color:#dee7ee !important; }
#allrecords [data-record-type="397"]:has([role="tab"][id^="tab3_"]) [role="tab"]:is([aria-selected="true"],:hover,:focus-visible) { color:#b8f0e7 !important; }

#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__width-wrapper:has(.t994__slidecontainer) {
  display:flex !important;
  justify-content:center;
}
#allrecords [role="tabpanel"][aria-labelledby^="tab2_"][data-record-type="994"] .t994__container { padding:0 !important; }
