/* Approved second refinement. Production scope: category 2306 cards only. */
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-selected-card:not(.product-grid) .syn-card-details,
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-selected-card:not(.product-grid) .syn-card-details-toggle {
  display: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card {
  --syn-card-accent: #00b5b9;
  --syn-card-ink: #15252c;
  --syn-card-muted: #63737c;
  --syn-card-line: #e1e7ea;
  position: relative;
  overflow: visible !important;
  font-family: Ubuntu, Arial, sans-serif;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card > .content-block,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card:is(.syn-opt1-product-sale, :has(.ds-module-sticker-stickers_special)) > .content-block {
  position: relative;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 0;
  padding: 15px !important;
  overflow: visible !important;
  border: 1px solid var(--syn-card-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(25, 44, 54, .035) !important;
  transform: none !important;
  transition: border-color .16s ease, box-shadow .16s ease !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img {
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  align-self: stretch;
}

/* Disable native hover expansion and sale overlay above the selected card border. */
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card > .content-block::before,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card > .content-block::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img-box,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img-box > a {
  position: relative;
  min-height: 200px;
  height: 200px;
  border: 0;
  border-radius: 0;
  background: #fff !important;
  box-shadow: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img-box > a {
  display: grid !important;
  place-items: center;
  padding: 28px 10px 4px;
  overflow: hidden;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img-box > a > img {
  width: 100% !important;
  height: 168px !important;
  max-height: 168px !important;
  object-fit: contain !important;
  object-position: center;
  transform: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-buttons {
  top: -3px !important;
  right: -3px !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  gap: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-button {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 5px !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #52616b !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-button svg {
  width: 20px;
  height: 20px;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-button.is-active {
  color: #007a7e !important;
  background: #e7f8f8 !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-button svg path {
  fill: currentColor !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-stickers {
  top: 1px !important;
  left: 0 !important;
  max-width: calc(100% - 69px);
  gap: 4px !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-sticker {
  max-width: 100%;
  padding: 3px 6px !important;
  border: 0 !important;
  border-radius: 4px !important;
  color: #007c80 !important;
  background: #e8f8f8 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: normal;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-sticker-stickers_special {
  color: #963e35 !important;
  background: #fff0ed !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img > .ds-module-stickers > .ds-module-sticker.syn-opt1-card-badge-visible {
  display: inline-flex !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-caption {
  flex: 1 1 auto;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 102px;
  grid-template-rows: 1fr auto;
  gap: 16px 8px;
  align-content: stretch;
  margin: 0 !important;
  padding-top: 14px;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-category-item-info {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  min-width: 0;
  align-items: stretch;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-title {
  order: 1;
  display: block !important;
  height: auto !important;
  min-height: var(--syn-card-title-height, 0px) !important;
  max-height: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  overflow: visible !important;
  color: var(--syn-card-ink) !important;
  font-family: Ubuntu, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-overflow: clip !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .syn-opt1-product-brand {
  order: 2;
  display: block !important;
  margin: 0 0 14px;
  color: var(--syn-card-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

/* The exact SKU remains in the complete title and in the accessible facts panel. */
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-code {
  display: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-stock {
  order: 3;
  margin: auto 0 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-category-item-rating,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card.syn-opt1-product-sale .ds-category-item-rating {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-price {
  min-height: 44px;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  align-content: start;
  justify-content: center;
  gap: 3px;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-price-new,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-price-new.red-text {
  color: var(--syn-card-ink) !important;
  font-size: 21px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-price-old {
  color: #66737c !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-cart {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-cart-btn,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-category-cart-btn {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px !important;
  border: 1px solid var(--syn-card-accent) !important;
  border-radius: 7px !important;
  color: #06363a !important;
  background: var(--syn-card-accent) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transform: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-cart-btn svg,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-category-cart-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-cart-btn::before {
  background: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-cart-btn .button-text,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-category-cart-btn .button-text {
  color: inherit !important;
  display: inline !important;
  white-space: nowrap;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-cart-btn svg path,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-category-cart-btn svg path {
  fill: currentColor !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-quantity,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-attributes,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ukrcreditsticker,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-sticker-images {
  display: none !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .syn-card-details {
  position: absolute;
  top: 100%;
  right: -1px;
  left: -1px;
  z-index: 12;
  display: none;
  margin: 0 !important;
  padding: 14px 15px 16px;
  border: 1px solid var(--syn-card-accent);
  border-top-color: var(--syn-card-line);
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 7px 12px rgba(25, 44, 54, .06);
  color: var(--syn-card-muted);
  font-size: 12px;
  line-height: 1.5;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .syn-card-details dl {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 7px 12px;
  margin: 0;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .syn-card-details dt,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .syn-card-details dd {
  min-width: 0;
  margin: 0;
  color: inherit;
  font-weight: 400;
  overflow-wrap: anywhere;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .syn-card-details dd {
  color: #354d5a;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card:is(.is-details-visible, .is-details-open) {
  z-index: 25;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card:is(.is-details-visible, .is-details-open) > .content-block {
  border-color: var(--syn-card-accent) !important;
  border-bottom-color: var(--syn-card-line) !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: 0 2px 10px rgba(25, 44, 54, .05) !important;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card:is(.is-details-visible, .is-details-open) .syn-card-details {
  display: block;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .syn-card-details-toggle {
  display: none;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card :is(a, button):focus-visible {
  outline: 2px solid #007a7e !important;
  outline-offset: 3px;
}

#product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card > .content-block:focus-within {
  box-shadow: 0 2px 10px rgba(25, 44, 54, .05) !important;
}

@media (hover: hover) and (pointer: fine) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card > .content-block:hover,
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card:is(.syn-opt1-product-sale, :has(.ds-module-sticker-stickers_special)) > .content-block:hover {
    border-color: var(--syn-card-accent) !important;
    box-shadow: 0 3px 12px rgba(25, 44, 54, .055) !important;
    transform: none !important;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-title:hover {
    color: #007a7e !important;
    text-decoration: none !important;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-button:hover {
    color: #007a7e !important;
    background: #eaf8f8 !important;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-cart-btn:hover,
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-category-cart-btn:hover {
    border-color: #00a8ac !important;
    background: #00a8ac !important;
    color: #06363a !important;
  }
}

@media (max-width: 767.98px) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card > .content-block {
    padding: 14px !important;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 767.98px) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card > .content-block {
    display: flex !important;
    flex-direction: column;
    min-height: 0;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-button,
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-buttons .ds-module-button:nth-child(n + 2) {
    display: inline-flex !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-stickers {
    max-width: calc(100% - 90px);
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .syn-card-details-toggle {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 11px 0 0;
    padding: 8px 4px;
    border: 0;
    border-top: 1px solid #e9eef0;
    border-radius: 0;
    color: #007a7e;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .syn-card-details {
    position: static;
    margin: 0;
    padding: 10px 0 2px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card:is(.is-details-visible, .is-details-open) > .content-block {
    border-color: var(--syn-card-line) !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 575.98px) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img-box,
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img-box > a {
    height: 208px;
    min-height: 208px;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img-box > a {
    padding: 30px 22px 4px;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-img-box > a > img {
    height: 174px !important;
    max-height: 174px !important;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-caption {
    grid-template-columns: minmax(0, 1fr) 112px;
    grid-template-rows: 1fr auto;
    gap: 16px 12px;
    padding-top: 12px;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-title {
    min-height: 0 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-category-item-rating {
    grid-column: 1;
    grid-row: 2;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card .ds-module-cart {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card *,
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card *::before,
  #product-category.syn-building-materials-parent.syn-cards-v1 .product-layout.product-grid.syn-selected-card *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* The native page, filter, category rail, data and list views remain untouched. */
#product-category.syn-building-materials-parent.syn-cards-v1 .ds-category-products:has(> .product-grid) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 18px 14px;
  margin: 0 !important;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .ds-category-products > .product-layout.product-grid {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .product-grid.syn-selected-card .ds-module-img {
  position: relative;
  margin: 0 !important;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .product-grid.syn-selected-card .ds-module-rating.syn-opt1-rating-empty,
#product-category.syn-building-materials-parent.syn-cards-v1 .product-grid.syn-selected-card .ds-module-stickers > .ds-module-sticker:not(.syn-opt1-card-badge-visible) {
  display: none !important;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .product-grid.syn-selected-card .ds-module-price .ds-price-discount {
  margin: 0;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .product-grid.syn-selected-card .ds-module-cart-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}
/* Manufacturer shortcuts use only values and counts from the current OCFilter. */
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brands {
  margin: 18px 0 22px;
  min-width: 0;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-section-heading h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  color: #15252c;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-all-brands-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  flex-shrink: 0;
  padding: 4px 0 4px 8px;
  border: 0;
  background: transparent;
  color: #007a7e;
  font-size: 13px;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(90px, 1fr));
  gap: 8px;
  padding: 3px 2px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #91cbce transparent;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 90px;
  padding: 9px 5px;
  border: 1px solid #e1e7ea;
  border-radius: 8px;
  color: #15252c;
  background: #fff;
  box-shadow: none;
  transform: none;
  transition: border-color .16s ease, background-color .16s ease;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card:is(:hover, [aria-pressed="true"]) {
  border-color: #00b5b9;
  background: #effafa;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card:disabled {
  opacity: .55;
  cursor: not-allowed;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card > span:not(.syn-opt1-all-icon) {
  display: grid;
  place-items: center;
  width: 100%;
  height: 30px;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card img {
  width: 82px;
  max-width: 90%;
  height: 27px;
  object-fit: contain;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card strong {
  color: inherit;
  font-size: 11px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card small {
  color: #63737c;
  font-size: 10px;
  line-height: 1.4;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-all-icon {
  display: grid;
  place-content: center;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 4px;
  width: 30px;
  height: 30px;
  color: #00b5b9;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-all-icon i {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brands button:focus-visible {
  outline: 2px solid #007a7e;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card { transition: none; }
}

/* Navigation refinement v2: category 2306 only. No product/filter styling. */
#product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories {
  grid-template-rows: repeat(2, 132px) !important;
  grid-auto-columns: 246px !important;
  gap: 12px !important;
  padding: 6px 3px 14px !important;
  scrollbar-color: #93c9cd transparent;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories > .ds-subcategories-item {
  width: 246px !important;
  max-width: 246px !important;
  height: 132px !important;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-item > a.content-block {
  position: relative;
  grid-template-columns: 104px minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr);
  gap: 12px !important;
  padding: 12px !important;
  border: 1px solid #e7edef !important;
  border-radius: 13px !important;
  background: #f7f9fa !important;
  isolation: isolate;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-item > a.content-block::before,
#product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-item > a.content-block::after {
  content: none !important;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-item img {
  grid-column: 1;
  grid-row: 1;
  width: 104px !important;
  min-width: 104px !important;
  max-width: 104px !important;
  height: 104px !important;
  margin: 0 !important;
  border-radius: 8px;
  object-fit: contain;
  transform: none !important;
  transition: transform .24s ease !important;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-title {
  grid-column: 2;
  grid-row: 1;
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere;
  color: #163039 !important;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-grid {
  grid-template-columns: repeat(9, minmax(148px, 1fr));
  gap: 11px;
  padding: 7px 3px 15px;
  scroll-snap-type: x proximity;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card {
  position: relative;
  min-height: 120px;
  gap: 4px;
  padding: 12px 10px 13px;
  border-radius: 12px;
  border-color: #e1e9eb;
  scroll-snap-align: start;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card > span:not(.syn-opt1-all-icon) {
  height: 55px;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card img {
  width: 118px;
  max-width: 100%;
  height: 50px;
  object-fit: contain;
  transition: transform .24s ease;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card small {
  font-size: 11px;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-all-brands-card .syn-opt1-all-icon {
  width: 48px;
  height: 55px;
  grid-template-columns: repeat(3, 6px);
  grid-template-rows: repeat(3, 6px);
  gap: 5px;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-all-brands-card .syn-opt1-all-icon i {
  width: 6px;
  height: 6px;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #00b5b9;
  opacity: 0;
  transform: scaleX(.3);
  transform-origin: center;
  transition: transform .24s ease, opacity .2s ease;
  pointer-events: none;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card[aria-pressed="true"] {
  border-color: #00b5b9;
  background: #effafa;
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card[aria-pressed="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}
#product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card:disabled:not([aria-pressed="true"]):hover {
  background: #fff;
  border-color: #e1e9eb;
  box-shadow: none;
  transform: none;
}
#product-category.syn-building-materials-parent.syn-cards-v1 :is(.syn-opt1-brand-card, .ds-subcategories-item > a.content-block):focus-visible {
  outline: 2px solid #007a7e !important;
  outline-offset: 3px;
  border-color: #00b5b9 !important;
}
@media (hover: hover) and (pointer: fine) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card:not(:disabled):hover {
    border-color: #00b5b9;
    background: #f2fbfb;
    box-shadow: 0 7px 16px rgba(0, 93, 103, .12);
    transform: translateY(-2px);
  }
  #product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card:not(:disabled):hover::after {
    opacity: 1;
    transform: scaleX(1);
  }
  #product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card:not(:disabled):hover img {
    transform: translateY(-1px) scale(1.055);
  }
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-item > a.content-block:hover {
    background: #fff !important;
    border-color: #00b5b9 !important;
    box-shadow: 0 5px 12px rgba(0, 93, 103, .1) !important;
    transform: translateY(-2px) !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-item > a.content-block:hover img {
    transform: scale(1.045) !important;
  }
}
@media (max-width: 767.98px) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories {
    grid-auto-columns: 234px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories > .ds-subcategories-item {
    width: 234px !important;
    max-width: 234px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-item > a.content-block {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 12px 9px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-grid {
    grid-template-columns: repeat(9, minmax(144px, 1fr));
  }
}
@media (hover: none), (pointer: coarse) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card:not([aria-pressed="true"]):hover {
    background: #fff;
    border-color: #e1e9eb;
    box-shadow: none;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card::after,
  #product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card:not(:disabled):hover,
  #product-category.syn-building-materials-parent.syn-cards-v1 .syn-opt1-brand-card:not(:disabled):hover img,
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-item > a.content-block:hover,
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-subcategories-item > a.content-block:hover img,
  #product-category.syn-building-materials-parent.syn-cards-v1 :is(.syn-opt1-brand-card, .syn-opt1-brand-card img, .ds-subcategories-item > a.content-block, .ds-subcategories-item img) {
    transition: none !important;
    transform: none !important;
  }
}


/* SYN-BM-SIDEBAR-FIT: desktop filters must not determine catalog row height. */
@media (min-width: 768px) {
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-category > #column-left.syn-bm-filter-column {
    contain: size;
    align-self: stretch !important;
    min-height: 0 !important;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-container {
    position: sticky !important;
    inset: auto !important;
    top: 140px !important;
    height: 100% !important;
    max-height: calc(100vh - 224px) !important;
    max-height: calc(100dvh - 224px) !important;
    min-height: 0 !important;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: inherit;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-header,
  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .syn-bm-filter-search,
  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-footer {
    flex: 0 0 auto !important;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable !important;
    scrollbar-width: thin;
    scrollbar-color: #8ebec1 #f2f6f7;
  }

  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-body::-webkit-scrollbar { width: 7px; }
  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-body::-webkit-scrollbar-track { background: #f2f6f7; }
  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-body::-webkit-scrollbar-thumb { background: #8ebec1; border-radius: 6px; }

  /* Keep a single desktop scroll surface, including expanded/search-matched values. */
  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-scroll-y,
  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-scroll-y:hover {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  #product-category.syn-building-materials-parent.syn-cards-v1 #column-left .ocf-container {
    top: 88px !important;
    max-height: calc(100vh - 192px) !important;
    max-height: calc(100dvh - 192px) !important;
  }
}

/* SYN-BM-UX-20260907: filter ergonomics only. Native OCFilter owns selections. */
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: 7px 24px;
  align-items: center;
  margin: 0 0 20px;
  padding: 0 8px;
  color: #173039;
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search > label {
  grid-column: 1;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search-row {
  grid-column: 1;
  display: flex;
  min-width: 0;
  gap: 8px;
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 10px 13px;
  border: 1px solid #cbd7dc;
  border-radius: 8px;
  background: white;
  color: #173039;
  font: inherit;
  font-size: 14px;
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search-row button {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 46px;
  padding: 10px 18px;
  color: white;
  background: #087f86;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search p {
  grid-column: 1;
  margin: 0;
  color: #687780;
  font-size: 12px;
  line-height: 18px;
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-skip-results {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: #087f86;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search :is(input, button, a):focus-visible {
  outline: 2px solid #087f86;
  outline-offset: 3px;
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-product-heading {
  scroll-margin-top: 148px;
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-container {
  --syn-ux-line: #e4eaed;
  --syn-ux-text: #173039;
}
@media (min-width: 768px) {
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category > #column-left.syn-bm-filter-column {
    flex-basis: 288px !important;
    width: 288px !important;
    max-width: 288px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-container {
    border: 1px solid var(--syn-ux-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 14px rgb(15 43 52 / 4%) !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-content,
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-body,
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter-list,
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter,
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter-body {
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-header {
    min-height: 46px !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--syn-ux-line);
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .syn-bm-filter-search {
    padding: 10px 14px !important;
    margin: 0 !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .syn-bm-filter-search input {
    min-height: 42px;
    font-size: 14px;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter-header {
    min-height: 48px !important;
    padding: 12px 16px !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    line-height: 21px !important;
    gap: 12px !important;
    color: var(--syn-ux-text) !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter-name {
    flex: 1 1 auto;
    background: transparent !important;
    padding: 0 !important;
    overflow-wrap: normal;
    word-break: normal;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter.ocf-active .ocf-active-label { display: none !important; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter.ocf-active .ocf-filter-name { display: block !important; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter-header-append {
    margin-left: auto !important;
    flex: 0 0 18px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter-header::before,
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-filter-header::after {
    content: none !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-value-list,
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-value-list-body {
    padding: 0 8px 8px !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-value-list-body {
    padding: 0 !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-value {
    grid-template-columns: 20px minmax(0, 1fr) 34px !important;
    min-height: 44px !important;
    padding: 8px !important;
    column-gap: 10px !important;
    font-size: 14px !important;
    line-height: 20px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-value-name {
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-footer {
    padding: 12px 14px !important;
    border-radius: 0 0 12px 12px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-footer .ocf-between {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 6px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-footer [data-ocf="button"] {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 44px !important;
    white-space: normal !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-slider > .ocf-filter-body > .ocf-value-list {
    padding: 0 16px 16px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-slider-input-group {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 18px !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-slider-input-group input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    padding: 8px !important;
    border: 1px solid #cbd7dc !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-input-group-addon {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center;
    border: 0 !important;
    background: transparent !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-value-slider {
    margin: 22px 8px 30px !important;
    padding: 0 !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-selected {
    background-color: #eaf8f9 !important;
  }
}
@media (min-width: 1200px) {
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category > #column-left.syn-bm-filter-column {
    flex-basis: 320px !important;
    width: 320px !important;
    max-width: 320px !important;
  }
}
@media (max-width: 767.98px) {
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    gap: 6px;
    margin-bottom: 14px;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search-row input { font-size: 16px; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-quick-search-row button { min-width: 78px; padding: 10px 12px; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-skip-results {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    padding: 4px 0;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-bm-product-heading { scroll-margin-top: 64px; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-container.ocf-mobile-active .ocf-value {
    min-height: 48px !important;
    margin: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    line-height: 22px !important;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-value-count {
    background: #eef3f5 !important;
    color: #536770 !important;
    min-width: 30px;
    font-size: 12px !important;
    padding: 2px 6px !important;
  }
}
#product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left :is(button, input, [role="button"]):focus-visible {
  outline: 2px solid #087f86 !important;
  outline-offset: -2px !important;
}
@media (hover: hover) and (pointer: fine) {
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left :is(.ocf-filter-header, .ocf-value):hover {
    background: #f0f7f8 !important;
    box-shadow: none !important;
    transform: none !important;
  }
}

/* SYN-BM-MOBILE-20260907: category 2306, phone grid and touch ergonomics only. */
@media (max-width: 767px) {
  #product-category.syn-building-materials-parent .syn-bm-mobile-filter-toggle { display: none; }
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-category-products:has(> .product-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
    align-items: stretch;
  }

  /* Both ordinary and animated sale cards share readable compact geometry. */
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card > .content-block {
    padding: 10px !important;
    transform: none !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card.syn-corner-ready > .content-block {
    padding: 0 !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-img {
    padding: 0 !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card.syn-corner-ready .ds-module-img {
    padding: 0 9px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-img-box,
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-img-box > a {
    height: clamp(156px, 42vw, 210px) !important;
    min-height: 0 !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-img-box > a {
    padding: 44px 0 2px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-img-box > a > img {
    height: clamp(110px, calc(42vw - 46px), 164px) !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: none !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-buttons {
    top: 0 !important;
    right: -4px !important;
    flex-direction: row-reverse !important;
    gap: 0 !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-button {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    transform: none !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .syn-corner-discount {
    top: 10px;
    left: 8px;
    min-width: 40px;
    min-height: 25px;
    padding: 4px;
    font-size: 12px;
    line-height: 17px;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-stickers {
    max-width: calc(100% - 82px);
    top: 4px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card:not(.syn-promo-card) .ds-module-img > .ds-module-stickers {
    position: static !important;
    order: 2;
    max-width: 100%;
    min-height: 20px;
    flex-wrap: wrap !important;
    margin-top: 4px;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-caption {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding-top: 8px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-category-item-info {
    flex: 1 1 auto !important;
    padding: 0 !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card.syn-corner-ready .ds-category-item-info {
    padding: 0 10px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-title {
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 6px !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .syn-opt1-product-brand {
    margin-bottom: 6px !important;
    font-size: 11px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-stock {
    margin-top: auto !important;
    padding-top: 5px !important;
    font-size: 12px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .syn-card-details-toggle {
    min-height: 44px !important;
    margin: 3px 0 0 !important;
    padding: 8px 0 !important;
    font-size: 12px !important;
    justify-content: flex-start;
    gap: 4px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .syn-card-details-toggle::after { display: none; }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .syn-card-details {
    padding: 10px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .syn-card-details dl { grid-template-columns: minmax(0,1fr); gap: 3px; }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .syn-card-details dd { margin-bottom: 8px; }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .syn-corner-footer {
    min-height: 0;
    padding: 0 10px 12px;
    gap: 8px;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-category-item-rating {
    width: 100% !important;
    align-self: stretch !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-price {
    min-height: 46px;
    min-width: 0;
    margin: 0 0 8px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-price-new {
    font-size: 20px !important;
    line-height: 1.2 !important;
    letter-spacing: -.25px !important;
  }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-price-old { font-size: 11px !important; }
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-cart,
  :root #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-products .product-layout.product-grid.syn-selected-card .ds-module-cart-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    gap: 6px !important;
    font-size: 13px !important;
  }

  /* Native form controls remain native; 16px prevents iOS focus zoom. */
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-sort { padding: 8px !important; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-category-sort-limit { min-width: 0; gap: 8px; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux.syn-bm-mobile-toolbar-ready .ocf-btn-mobile-fixed { visibility: hidden !important; pointer-events: none !important; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux.syn-bm-mobile-toolbar-ready .ds-category-sort {
    position: sticky;
    top: 40px;
    z-index: 40;
    background: #fff;
    border-color: #dce6e9;
    box-shadow: 0 3px 8px #15313a08;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux.syn-bm-mobile-toolbar-ready .syn-bm-mobile-filter-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 82px;
    height: 44px;
    padding: 0 8px;
    border: 1px solid #007d86;
    border-radius: 7px;
    background: #087e87;
    color: #fff;
    font: 500 14px/1.2 Ubuntu, Arial, sans-serif;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #input-sort {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    margin: 0 !important;
    height: 44px;
    font-size: 16px !important;
    color: #223941;
  }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #input-limit { width: 56px; flex: 0 0 56px; height: 44px; font-size: 16px !important; color: #223941; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-opt1-brands { margin: 12px 0 16px; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-opt1-brand-grid { grid-template-columns: repeat(9, minmax(132px, 1fr)); }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .syn-opt1-brand-card { min-height: 106px; padding: 9px; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-subcategories { scroll-snap-type: x mandatory; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .ds-subcategories-item { scroll-snap-align: start; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .pagination { flex-wrap: wrap; gap: 4px; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux .pagination :is(a,span) { min-width: 40px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

  /* Keep the native mobile sheet and its footer inside the dynamic viewport. */
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-container.ocf-mobile-active .ocf-content { margin-top: 0 !important; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-container.ocf-mobile-active .ocf-footer { padding-bottom: max(12px, env(safe-area-inset-bottom)) !important; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left .ocf-close-mobile { min-width: 44px; min-height: 44px; }
  #product-category.syn-building-materials-parent.syn-cards-v1.syn-bm-ux #column-left input { font-size: 16px !important; }
}

@media (max-width: 359px) {
  /* The current header's fixed gaps overflow 320px; scope this correction to 2306. */
  body:has(#product-category.syn-building-materials-parent) .ds-header-menu-button { margin-right: 8px !important; }
  body:has(#product-category.syn-building-materials-parent) .ds-header-left #logo { width: 84px !important; max-width: 84px !important; height: auto !important; }
  #product-category.syn-building-materials-parent.syn-cards-v1 .ds-category-products:has(> .product-grid) { gap: 10px 8px !important; }
}
