/* Product grids, category navigation and faceted filters. */
.products.row {
  row-gap: 18px;
}

.products .product-miniature .thumbnail-container {
  height: 100%;
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius);
  background: var(--at-surface);
  box-shadow: var(--at-shadow-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.products .product-miniature .product-image-container {
  background: var(--at-surface);
}

.products .product-miniature .product-description {
  padding-right: 14px;
  padding-left: 14px;
}

.products .product-miniature .product-title,
.products .product-miniature .product-title a {
  color: var(--at-text);
  font-weight: 600;
  line-height: 1.42;
  text-transform: none;
}

.products .product-miniature .product-price-and-shipping {
  color: var(--at-primary-dark);
  font-variant-numeric: tabular-nums;
}

.products .product-miniature .button-container {
  display: block !important;
  position: static;
  min-height: 44px;
}

.products .product-miniature .button-container .add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  visibility: visible;
  opacity: 1;
}

.products .product-miniature .regular-price {
  color: var(--at-muted);
}

.products .product-miniature .product-flags .product-flag,
.products .product-miniature .product-flag {
  border-radius: 4px;
  font-weight: 600;
}

.products-sort-order .select-title,
.pagination .page-list,
#search_filters,
#search_filters_brands,
#search_filters_suppliers {
  border-color: var(--at-border);
  border-radius: var(--at-radius-sm);
}

#search_filters .facet .facet-title {
  color: var(--at-text);
  font-weight: 600;
  text-transform: none;
}

#search_filters .facet .facet-label a {
  color: #394454;
  line-height: 1.4;
}

.active_filters {
  border-radius: var(--at-radius-sm);
  background: var(--at-surface-soft);
}

.pagination a,
.pagination .current a {
  min-width: 40px;
  min-height: 40px;
  border-radius: var(--at-radius-sm);
}

#subcategories .subcategory-container {
  border-color: var(--at-border);
  border-radius: var(--at-radius-sm);
  overflow: hidden;
}

@media (hover: hover) and (min-width: 768px) {
  .products .product-miniature .thumbnail-container:hover {
    border-color: #c9d3de;
    box-shadow: var(--at-shadow);
    transform: translateY(-3px);
  }
}

@media (max-width: 767px) {
  .products.row {
    row-gap: 12px;
  }

  .products .product-miniature .product-description {
    padding-right: 10px;
    padding-left: 10px;
  }

  #search_filter_controls .btn,
  #search_filters_wrapper .btn {
    min-height: 44px;
  }
}

/* DFC cards: use catalog identification and keep purchase information together. */
#content-wrapper .products .product-miniature.dfc-product-card {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

/* Angar's border mode also frames the article; only the inner card needs it. */
body.pl_border_type1 div#content-wrapper .products article.product-miniature.dfc-product-card,
body.pl_border_type1 div#content-wrapper .products article.product-miniature.dfc-product-card:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body#index.pl_border_type1 div#content-wrapper .products article.product-miniature.dfc-product-card {
  margin: 0;
  padding: 0;
}

#content-wrapper .products .dfc-product-card .thumbnail-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

#content-wrapper .products .dfc-product-card .thumbnail-container > .clearfix {
  display: none;
}

#content-wrapper .products .dfc-product-card .product-left {
  flex: 0 0 auto;
  width: 100%;
  border: 0;
  padding: 10px 10px 0;
}

#content-wrapper .products .dfc-product-card .product-image-container {
  margin-bottom: 0;
  border: 0;
  background: #fff;
}

#content-wrapper .products .dfc-product-card .product-right {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  padding: 14px;
  text-align: left;
}

#content-wrapper .products .dfc-product-card .product-description {
  padding: 0;
}

#content-wrapper .products .product-miniature.dfc-product-card .product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  height: auto;
  min-height: 4.35em;
  margin: 0 0 10px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
}

#content-wrapper .products .product-miniature.dfc-product-card .product-title a {
  font-size: inherit;
  line-height: inherit;
  font-weight: 650;
  text-transform: none;
  overflow-wrap: anywhere;
}

#content-wrapper .products .dfc-product-card .dfc-card-meta {
  min-height: 39px;
  margin-bottom: 12px;
  color: var(--at-muted);
  font-size: 11px;
  line-height: 1.55;
}

#content-wrapper .products .dfc-product-card .dfc-card-meta p {
  display: block;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
  overflow-wrap: anywhere;
}

#content-wrapper .products .dfc-product-card .dfc-card-reference strong {
  color: #394454;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

#content-wrapper .products .dfc-product-card .dfc-card-brand strong {
  color: #394454;
  font-weight: 600;
}

#content-wrapper .products .dfc-product-card .product-desc {
  display: none !important;
}

#content-wrapper .products .dfc-product-card .pl-reviews:empty {
  display: none;
}

#content-wrapper .products .dfc-product-card .product-bottom {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--at-border);
}

#content-wrapper .products .dfc-product-card .product-price-and-shipping {
  padding: 0 0 5px;
  text-align: left;
}

#content-wrapper .products .dfc-product-card .product-price-and-shipping .price {
  color: var(--at-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
}

#content-wrapper .products .dfc-product-card .product-price-and-shipping .regular-price,
#content-wrapper .products .dfc-product-card .product-price-and-shipping .tax_label {
  font-size: 11px;
  color: var(--at-muted);
}

#content-wrapper .products .dfc-product-card .dfc-card-availability {
  min-height: 36px;
  margin-bottom: 9px;
  color: #405166;
}

#content-wrapper .products .dfc-product-card .dfc-card-availability .pl-availability {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

#content-wrapper .products .dfc-product-card .dfc-card-availability .material-icons {
  flex: 0 0 16px;
  width: 16px;
  height: 17px;
  margin: 0;
  color: inherit;
  font-size: 16px;
  line-height: 17px;
}

#content-wrapper .products .dfc-product-card .dfc-card-availability--in_stock {
  color: #237045;
}

#content-wrapper .products .dfc-product-card .dfc-card-availability--available,
#content-wrapper .products .dfc-product-card .dfc-card-availability--last_remaining_items {
  color: #886018;
}

#content-wrapper .products .dfc-product-card .button-container,
#content-wrapper .products .dfc-product-card .button-container form.add-to-cart-or-refresh {
  width: 100%;
}

#content-wrapper .products .dfc-product-card .button-container .add-to-cart,
#content-wrapper .products .dfc-product-card .button-container .lnk_view {
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 10px 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
}

#content-wrapper .products .dfc-product-card .button-container .add-to-cart i {
  position: static;
  width: auto;
  height: auto;
  font-size: 17px;
  line-height: 1;
}

#content-wrapper .products .dfc-product-card .button-container .add-to-cart:disabled {
  opacity: .5;
  cursor: not-allowed;
}

#content-wrapper .products .dfc-product-card a:focus-visible,
#content-wrapper .products .dfc-product-card button:focus-visible {
  outline: 2px solid var(--at-primary);
  outline-offset: 3px;
}

/* Option controls also appear inside quickview opened from the catalog. */
body .product-variants > fieldset.product-variants-item {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
body .product-variants > .product-variants-item > legend.control-label {
  float: none;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  color: #354b60;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
body .product-variants > .product-variants-item .form-control-select {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  border: 1px solid #cfd9e4;
  border-radius: 8px;
  background-color: #fff;
  color: #243347;
  font-size: 16px;
}
body .product-variants > .product-variants-item > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0;
}
body .product-variants > .product-variants-item > ul > li {
  float: none !important;
  max-width: 100%;
  margin: 0;
}
body .product-variants > .product-variants-item > ul > li > label {
  position: relative;
  display: block;
  max-width: 100%;
  margin: 0;
}
body .product-variants .input-container .radio-label {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #cfd9e4;
  border-radius: 8px;
  box-shadow: none;
  color: #354b60;
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}
/* Match the full option path: the legacy ul/li selector otherwise restores
   30px swatches. A block swatch also removes the inline baseline gap in its label. */
body .product-variants > .product-variants-item > ul > li.input-container > label > .color,
body .product-variants > .product-variants-item > ul > li.input-container > label > .input-color {
  box-sizing: border-box;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
}
body .product-variants > .product-variants-item > ul > li.input-container > label > .color {
  display: block;
  border-radius: 8px;
}
body .product-variants > .product-variants-item > ul > li.input-container > label > .input-color {
  top: 0;
  left: 0;
}
body .product-variants .input-radio:checked + .radio-label { border-color: #1674bd; color: #1268ad; background: #edf5fb; }
body .product-variants .input-color:focus-visible + .color,
body .product-variants .input-radio:focus-visible + .radio-label,
body .product-variants .form-control-select:focus-visible,
body .product-variants .dfc-volume-discounts:focus-visible { outline: 2px solid #1674bd; outline-offset: 3px; }
body .product-variants.allow_oosp_0 > .product-variants-item li.outofstock .color::before,
body .product-variants.allow_oosp_0 > .product-variants-item li.outofstock .color::after { left: 20px; height: 42px; }
body .product-variants.allow_oosp_0 > .product-variants-item li.outofstock .radio-label::before { top: 50%; }
body .product-variants .dfc-volume-discounts { max-width: 100%; overflow-x: auto; border: 1px solid #dfe6ed; border-radius: 8px; }
body .product-variants .table-product-discounts { width: 100%; margin: 0; border-collapse: collapse; color: #354b60; font-size: 12px; }
body .product-variants .table-product-discounts th,
body .product-variants .table-product-discounts td { padding: 10px; border: 0; border-bottom: 1px solid #e5ebf1; text-align: left; line-height: 1.5; }
body .product-variants .table-product-discounts th { background: #f5f8fb; font-weight: 600; }
body .product-variants .table-product-discounts tr:last-child td { border-bottom: 0; }

/* Quickview shares the native form. Override inherited product-page controls
   too, while keeping the modal's quantity and purchase button on one baseline. */
:is(body, #product) .quickview .modal-content {
  border-radius: 14px;
}
:is(body, #product) .quickview .modal-body h1.h1 {
  margin-bottom: 14px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.35;
  text-transform: none;
  overflow-wrap: anywhere;
}
:is(body, #product) .quickview .product-available-backorder,
:is(body, #product) .quickview .dfc-availability-message:has(.product-available-backorder) {
  color: #886018;
}
:is(body, #product) .quickview .product-add-to-cart .product-quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px 12px;
  width: 100%;
  margin: 12px 0 0;
}
:is(body, #product) .quickview .product-quantity > .control-label {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
}
:is(body, #product) .quickview .product-quantity .qty,
:is(body, #product) .quickview .product-quantity .bootstrap-touchspin {
  display: flex;
  float: none;
  flex: 0 0 112px;
  width: 112px;
  height: 46px;
  margin: 0;
}
:is(body, #product) .quickview .product-quantity #quantity_wanted {
  flex: 1 1 auto;
  width: 72px;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--at-border, #dfe6ed);
  border-radius: 8px 0 0 8px;
  font-size: 16px;
  text-align: center;
}
:is(body, #product) .quickview .product-quantity .input-group-btn-vertical {
  display: flex;
  flex: 0 0 40px;
  flex-direction: column;
  width: 40px;
  height: 46px;
  margin: 0;
  padding: 0;
}
:is(body, #product) .quickview .product-quantity .input-group-btn-vertical .btn-touchspin {
  display: flex;
  flex: 0 0 23px;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 0;
  height: 23px;
  min-height: 23px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--at-border, #dfe6ed);
  border-left: 0;
  border-radius: 0;
  color: var(--at-text, #202b38);
  background: var(--at-surface-soft, #f8fafc);
  box-shadow: none;
}
:is(body, #product) .quickview .product-quantity .input-group-btn-vertical .btn-touchspin:first-child {
  border-radius: 0 8px 0 0;
}
:is(body, #product) .quickview .product-quantity .input-group-btn-vertical .btn-touchspin:last-child {
  border-top: 0;
  border-radius: 0 0 8px 0;
}
:is(body, #product) .quickview .product-quantity .input-group-btn-vertical .btn-touchspin i {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  font-size: 18px;
  line-height: 1;
}
:is(body, #product) .quickview .product-quantity .input-group-btn-vertical .touchspin-up::before,
:is(body, #product) .quickview .product-quantity .input-group-btn-vertical .touchspin-down::before {
  content: none;
}
:is(body, #product) .quickview .product-quantity .add {
  flex: 1 1 150px;
  width: auto;
  min-width: 0;
  margin: 0;
}
:is(body, #product) .quickview .product-add-to-cart button.btn.add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: auto;
  min-height: 46px;
  padding: 11px 14px;
  border-color: var(--at-accent, #e31d27) !important;
  border-radius: 8px;
  color: #fff !important;
  background: var(--at-accent, #e31d27) !important;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}
:is(body, #product) .quickview .product-add-to-cart button.btn.add-to-cart:hover {
  border-color: #c11921 !important;
  background: #c11921 !important;
}
:is(body, #product) .quickview .product-add-to-cart button.btn.add-to-cart:disabled {
  border-color: #d7dde5 !important;
  color: #667085 !important;
  background: #e9edf2 !important;
  opacity: 1;
  transform: none;
}
:is(body, #product) .quickview .product-add-to-cart button.btn.add-to-cart i {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  font-size: 20px;
  line-height: 1;
}

/* Preserve the category list switcher with a wider reading column. */
@media (min-width: 768px) {
  div#content-wrapper .product_show_list .products .dfc-product-card .thumbnail-container {
    flex-direction: row;
    align-items: stretch;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-left {
    width: 23%;
    padding: 12px;
    border: 0;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(175px, 32%);
    gap: 18px;
    width: 77%;
    padding: 18px;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-description,
  div#content-wrapper .product_show_list .products .dfc-product-card .product-bottom {
    float: none;
    width: auto;
    padding: 0;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-title {
    display: block;
    min-height: 0;
    overflow: visible;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-desc {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: auto;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-bottom {
    margin: 0;
    padding-left: 18px;
    border-top: 0;
    border-left: 1px solid var(--at-border);
  }
}

@media (max-width: 767px) {
  #content-wrapper .products .dfc-product-card .product-right {
    padding: 12px;
  }

  #content-wrapper .products .dfc-product-card .product-price-and-shipping .price {
    font-size: 20px;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-left,
  div#content-wrapper .product_show_list .products .dfc-product-card .product-right,
  div#content-wrapper .product_show_list .products .dfc-product-card .product-description,
  div#content-wrapper .product_show_list .products .dfc-product-card .product-bottom {
    float: none;
    width: 100%;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-left {
    border: 0;
    padding: 10px 10px 0;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-description {
    padding: 0;
  }

  div#content-wrapper .product_show_list .products .dfc-product-card .product-bottom {
    border-left: 0;
    padding: 12px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #content-wrapper .products .dfc-product-card .thumbnail-container,
  #content-wrapper .products .dfc-product-card .thumbnail-container:hover {
    transform: none !important;
    transition: none !important;
  }
}

/* A compact category header keeps products and filtering close to the title. */
#content-wrapper #category_desc.dfc-category-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 20px;
  padding: 24px;
  border: 1px solid var(--at-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

#content-wrapper .dfc-category-header > .clearfix {
  display: none;
}

#content-wrapper .dfc-category-header .category-image {
  flex: 0 0 110px;
  float: none;
  width: 110px;
  padding: 0;
}

#content-wrapper .dfc-category-header .category-image img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: contain;
}

#content-wrapper .dfc-category-header .category-desc {
  flex: 1 1 auto;
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
}

#content-wrapper .dfc-catalog-eyebrow {
  margin: 0 0 8px;
  color: #6b7788;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

#content-wrapper .dfc-category-header .cat_name {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--at-text);
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  text-transform: none;
}

#content-wrapper .dfc-category-details {
  margin-top: 12px;
  color: #526073;
  font-size: 13px;
  line-height: 1.6;
}

#content-wrapper .dfc-category-details > summary {
  width: fit-content;
  min-height: 32px;
  padding: 5px 0;
  color: var(--at-primary-dark);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

#content-wrapper .dfc-category-details[open] > summary {
  margin-bottom: 10px;
}

#content-wrapper .dfc-category-details .cat_desc {
  display: block !important;
  max-width: 80ch;
  padding: 0;
  font-size: 13px;
  line-height: 1.65;
}

#content-wrapper #subcategories {
  margin: 0 0 22px;
}

#content-wrapper #subcategories .subcategory-heading {
  margin: 0 0 14px;
  color: var(--at-text);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
  text-transform: none;
}

#content-wrapper #subcategories .subcategory-container {
  box-shadow: 0 2px 4px rgba(16, 24, 40, .025);
}

#content-wrapper #subcategories .subcategory-image {
  background: #fff;
}

#content-wrapper #subcategories .subcategory-image > a {
  height: 112px;
}

#content-wrapper #subcategories .subcategory-desc {
  min-height: 62px;
  padding: 12px;
  background: #f8fafc;
}

#content-wrapper #subcategories ul li h5 .subcategory-name {
  font-size: 12px;
  font-weight: 600;
}

/* Existing faceted-search controls retain their module events and visibility. */
#search_filters_wrapper #search_filters {
  padding: 18px;
  border: 1px solid var(--at-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

#search_filters_wrapper #search_filters > .h6,
#search_filters_wrapper #search_filters .facet .facet-title {
  color: var(--at-text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

#search_filters_wrapper #search_filters .facet {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--at-border);
}

#search_filters_wrapper #search_filters .facet .facet-label a {
  display: inline-block;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 12px;
}

#content-wrapper #js-product-list-top.products-selection {
  min-height: 68px;
  margin: 0 0 18px;
  padding: 12px 112px 12px 16px;
  border: 1px solid var(--at-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

#content-wrapper #js-product-list-top .total-products {
  min-height: 42px;
  padding-left: 0;
  font-size: 12px;
  font-weight: 500;
}

#content-wrapper #js-product-list-top .total-products p {
  margin: 0;
}

#content-wrapper #js-product-list-top .sort-by-row {
  display: flex;
  align-items: center;
}

#content-wrapper #js-product-list-top .sort-by {
  padding-right: 10px;
  font-size: 12px;
}

#content-wrapper #js-product-list-top .products-sort-order .select-title {
  min-height: 42px;
  margin: 0;
  padding: 11px 32px 11px 12px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.5;
}

#content-wrapper #js-product-list-top .products-sort-order .dropdown-menu {
  min-width: 100%;
  border: 1px solid var(--at-border);
  border-radius: 8px;
  box-shadow: var(--at-shadow);
}

#content-wrapper #js-product-list-top .products-sort-order .select-list {
  padding: 11px 14px;
  font-size: 12px;
  line-height: 1.4;
}

#content-wrapper #products .grid_switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: -73px;
  margin-right: 13px;
}

#content-wrapper #products .grid_switcher i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 40px;
  border: 1px solid var(--at-border);
  border-radius: 6px;
  font-size: 21px;
}

#content-wrapper #products .grid_switcher i.show_grid,
#content-wrapper #products.product_show_list .grid_switcher i.show_list {
  color: var(--at-primary-dark);
  background: #eef4fa;
}

#content-wrapper #products.product_show_list .grid_switcher i.show_grid {
  color: #7d8796;
  background: #fff;
}

@media (max-width: 767px) {
  #content-wrapper #category_desc.dfc-category-header {
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
  }

  #content-wrapper .dfc-category-header .category-image {
    flex-basis: 70px;
    width: 70px;
  }

  #content-wrapper .dfc-category-header .category-image img {
    height: 70px;
  }

  #content-wrapper .dfc-category-details > summary {
    min-height: 44px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  #content-wrapper #js-product-list-top.products-selection {
    padding: 12px;
  }

  #content-wrapper #js-product-list-top .sort-by-row {
    margin: 0;
    gap: 10px;
  }

  #content-wrapper #js-product-list-top .products-sort-order {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0;
  }

  #content-wrapper #js-product-list-top .filter-button {
    flex: 0 0 auto;
    width: auto;
    padding: 0;
  }

  #content-wrapper #js-product-list-top .products-sort-order .select-title,
  #content-wrapper #search_filter_toggler {
    min-height: 44px;
  }

  #content-wrapper #js-product-list-top .showing {
    padding: 10px 0 0;
    color: var(--at-muted);
    font-size: 11px;
  }

  #content-wrapper #products .grid_switcher {
    float: none;
    justify-content: flex-end;
    margin: -6px 0 12px;
  }

  #content-wrapper #products .grid_switcher i {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  #content-wrapper #products .grid_switcher {
    display: none;
  }
}

/* Native catalog facets: the same disclosure stays usable on mobile and desktop. */
#content-wrapper .dfc-catalog-filters { margin: 0 0 14px; border: 1px solid #dbe2ea; border-radius: 10px; background: #fff; }
#content-wrapper .dfc-catalog-filters > summary { min-height: 48px; padding: 14px 16px; color: #253344; font-size: 14px; font-weight: 650; cursor: pointer; }
#content-wrapper .dfc-catalog-filters > summary:focus-visible { outline: 3px solid #1674bd; outline-offset: 2px; }
#content-wrapper .dfc-filter-count { color: #526073; font-size: 12px; }
#content-wrapper .dfc-filters-content { padding: 0 16px 16px; }
#content-wrapper .dfc-filters-content #search_filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
#content-wrapper .dfc-filters-help, #content-wrapper .dfc-filters-content .clear-all-wrapper { grid-column: 1 / -1; margin: 0; color: #526073; font-size: 12px; }
#content-wrapper .dfc-filters-content #search_filters .facet { min-width: 0; padding: 0; border: 0; }
#content-wrapper .dfc-filters-content #search_filters .facet-title { margin: 0 0 10px; padding: 0; font-size: 14px; white-space: normal; }
#content-wrapper .dfc-filters-content #search_filters .dfc-facet-options { display: block; max-height: 248px; padding: 0 4px; margin: 0; overflow-y: auto; }
#content-wrapper .dfc-filters-content #search_filters .faceted-slider { padding: 4px 14px 18px; overflow: visible; }
#content-wrapper .dfc-filters-content #search_filters .facet-label { display: flex; align-items: center; min-height: 36px; margin: 0; gap: 6px; }
#content-wrapper .dfc-filters-content #search_filters .facet-label > :is(.custom-checkbox,.custom-radio) { position: relative; flex: 0 0 20px; top: auto; margin: 0; }
#content-wrapper .dfc-filters-content #search_filters .facet-label a { width: auto; min-width: 0; overflow: visible; white-space: normal; font-size: 13px; line-height: 1.4; }
#content-wrapper .dfc-filters-content .js-search-filters-clear-all { min-height: 44px; font-size: 13px; }
#content-wrapper .active_filters_container .active_filters { margin-bottom: 14px; }
#content-wrapper .active_filters_container .filter-block { min-height: 36px; line-height: 24px; }
#content-wrapper .dfc-filters-content .ui-slider-horizontal .ui-slider-handle { width: 24px; height: 24px; top: -10px; margin-left: -12px; border-radius: 50%; }
@media (max-width: 767px) {
  #content-wrapper .dfc-filters-content #search_filters { grid-template-columns: minmax(0,1fr); gap: 18px; }
  #content-wrapper .dfc-filters-content #search_filters .facet-label { min-height: 44px; }
  #content-wrapper #category_desc.dfc-category-header { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; padding: 14px; margin-bottom: 14px; }
  #content-wrapper #category_desc.dfc-category-header .category-image { flex: 0 0 56px; width: 56px; margin: 0; }
  #content-wrapper #category_desc.dfc-category-header .category-image img { width: 56px; height: 56px; }
  #content-wrapper #category_desc.dfc-category-header .category-desc { flex: 1 1 0; width: auto; min-width: 0; text-align: left; }
  #content-wrapper #category_desc.dfc-category-header .cat_name { font-size: 23px; text-align: left; }
  #content-wrapper .dfc-catalog-eyebrow { margin-bottom: 5px; font-size: 9px; }
  #content-wrapper .dfc-category-details { margin-top: 4px; }
  #content-wrapper .dfc-category-details > summary { font-size: 12px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  :is(#category,#search,#manufacturer,#supplier,#best-sales,#new-products,#prices-drop) #content-wrapper #products:not(.product_show_list) #js-product-list > .products > .product-miniature { width: 50% !important; max-width: 50%; flex: 0 0 50%; }
}

@media (max-width: 767px) {
  #content-wrapper #category_desc.dfc-category-header .category-image { flex-basis: 40px; width: 40px; }
  #content-wrapper #category_desc.dfc-category-header .category-image img { width: 40px; height: 40px; }
  #content-wrapper #category_desc.dfc-category-header .cat_name { font-size: 20px; line-height: 1.25; }
  #content-wrapper #category_desc.dfc-category-header .dfc-catalog-eyebrow { display: none; }
  #content-wrapper .dfc-category-details > summary { min-height: 36px; padding-top: 7px; padding-bottom: 7px; }
}
#content-wrapper .active_filters_container .filter-block > a { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; }
