@media (max-width: 767px) {
  html.mobile.route-product-category .product-layout .button-group {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    overflow: visible !important;
  }

  html.mobile.route-product-category .product-layout .cart-group {
    flex: 0 0 48px !important;
    width: 48px !important;
    margin: 0 !important;
  }

  html.mobile.route-product-category .product-layout .wish-group {
    display: flex !important;
    flex: 0 0 76px !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 76px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
  }

  html.mobile.route-product-category .product-layout .btn-wishlist,
  html.mobile.route-product-category .product-layout .btn-compare {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    position: relative !important;
  }
}

/* v1.5.4: consistent black add-to-cart controls on catalogue-style pages. */
html.route-product-category body .product-layout .btn-cart,
html.route-product-manufacturer body .product-layout .btn-cart,
html.route-product-search body .product-layout .btn-cart,
html.route-product-special body .product-layout .btn-cart,
html.route-product-compare body .product-layout .btn-cart {
  border-color: #111315 !important;
  background: #111315 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html.route-product-category body .product-layout .btn-cart:hover,
html.route-product-manufacturer body .product-layout .btn-cart:hover,
html.route-product-search body .product-layout .btn-cart:hover,
html.route-product-special body .product-layout .btn-cart:hover,
html.route-product-compare body .product-layout .btn-cart:hover {
  border-color: #272b2f !important;
  background: #272b2f !important;
  color: #ffffff !important;
}

/* v1.5.8: compact badges — regular labels right, discount left. */
html.route-product-category body .product-label,
html.route-product-manufacturer body .product-label,
html.route-product-search body .product-label,
html.route-product-special body .product-label,
html.route-product-compare body .product-label,
html.route-product-product body .product-label {
  display: flex !important;
  align-self: flex-end !important;
  justify-content: flex-end !important;
  width: fit-content !important;
  min-width: 0 !important;
  max-width: calc(100% - 12px) !important;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #535860 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

html.route-product-category body .product-label.product-label-28,
html.route-product-manufacturer body .product-label.product-label-28,
html.route-product-search body .product-label.product-label-28,
html.route-product-special body .product-label.product-label-28,
html.route-product-compare body .product-label.product-label-28,
html.route-product-product body .product-label.product-label-28 {
  position: absolute !important;
  top: 0 !important;
  right: auto !important;
  left: 0 !important;
  align-self: flex-start !important;
  justify-content: flex-start !important;
  background: transparent !important;
  color: #ed5b18 !important;
  font-weight: 750 !important;
}

html.route-product-category body .main-products.product-grid .product-label,
html.route-product-manufacturer body .main-products.product-grid .product-label,
html.route-product-search body .main-products.product-grid .product-label,
html.route-product-special body .main-products.product-grid .product-label,
html.route-product-compare body .main-products.product-grid .product-label,
html.route-product-product body .main-products.product-grid .product-label {
  border-radius: 0 !important;
}

html.route-product-category body .product-label > b,
html.route-product-manufacturer body .product-label > b,
html.route-product-search body .product-label > b,
html.route-product-special body .product-label > b,
html.route-product-compare body .product-label > b,
html.route-product-product body .product-label > b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f2f2f3 !important;
  color: inherit !important;
  font-size: 11px !important;
  line-height: 14px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

html.route-product-category body .product-label.product-label-28 > b,
html.route-product-manufacturer body .product-label.product-label-28 > b,
html.route-product-search body .product-label.product-label-28 > b,
html.route-product-special body .product-label.product-label-28 > b,
html.route-product-compare body .product-label.product-label-28 > b,
html.route-product-product body .product-label.product-label-28 > b {
  background: #fff0e6 !important;
  color: #ed5b18 !important;
  font-weight: 750 !important;
}

/* v1.6.0: refined desktop catalogue controls and sidebar filter. */
@media (min-width: 1024px) {
  html.route-product-category body .products-filter,
  html.route-product-manufacturer body .products-filter,
  html.route-product-search body .products-filter,
  html.route-product-special body .products-filter {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: 100% !important;
    min-height: 72px !important;
    margin: 26px 0 22px !important;
    padding: 13px 16px !important;
    box-sizing: border-box !important;
    border: 1px solid #e6e8eb !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 28px rgba(17, 19, 21, .055) !important;
  }

  html.route-product-category body .products-filter .grid-list,
  html.route-product-manufacturer body .products-filter .grid-list,
  html.route-product-search body .products-filter .grid-list,
  html.route-product-special body .products-filter .grid-list {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  html.route-product-category body .products-filter .view-btn,
  html.route-product-manufacturer body .products-filter .view-btn,
  html.route-product-search body .products-filter .view-btn,
  html.route-product-special body .products-filter .view-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    border: 1px solid #e3e5e8 !important;
    border-radius: 12px !important;
    background-color: #f7f8f9 !important;
    color: #5c6570 !important;
    box-shadow: none !important;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease !important;
  }

  html.route-product-category body .products-filter .view-btn:hover,
  html.route-product-category body .products-filter .view-btn.active,
  html.route-product-manufacturer body .products-filter .view-btn:hover,
  html.route-product-manufacturer body .products-filter .view-btn.active,
  html.route-product-search body .products-filter .view-btn:hover,
  html.route-product-search body .products-filter .view-btn.active,
  html.route-product-special body .products-filter .view-btn:hover,
  html.route-product-special body .products-filter .view-btn.active {
    border-color: #111315 !important;
    background-color: #111315 !important;
    color: #ffffff !important;
  }

  html.route-product-category body .products-filter .view-btn:hover,
  html.route-product-manufacturer body .products-filter .view-btn:hover,
  html.route-product-search body .products-filter .view-btn:hover,
  html.route-product-special body .products-filter .view-btn:hover {
    transform: translateY(-1px) !important;
  }

  html.route-product-category body .products-filter .compare-btn,
  html.route-product-manufacturer body .products-filter .compare-btn,
  html.route-product-search body .products-filter .compare-btn,
  html.route-product-special body .products-filter .compare-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 154px !important;
    min-height: 42px !important;
    margin: 0 0 0 2px !important;
    padding: 0 13px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #343a40 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }

  html.route-product-category body .products-filter .compare-btn .links-text,
  html.route-product-manufacturer body .products-filter .compare-btn .links-text,
  html.route-product-search body .products-filter .compare-btn .links-text,
  html.route-product-special body .products-filter .compare-btn .links-text {
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }

  html.route-product-category body .products-filter .compare-btn:hover,
  html.route-product-manufacturer body .products-filter .compare-btn:hover,
  html.route-product-search body .products-filter .compare-btn:hover,
  html.route-product-special body .products-filter .compare-btn:hover {
    border-color: #e3e5e8 !important;
    background: #f7f8f9 !important;
    text-decoration: none !important;
  }

  html.route-product-category body .products-filter .compare-btn .count-badge,
  html.route-product-manufacturer body .products-filter .compare-btn .count-badge,
  html.route-product-search body .products-filter .compare-btn .count-badge,
  html.route-product-special body .products-filter .compare-btn .count-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #f26322 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 750 !important;
  }

  html.route-product-category body .products-filter .select-group,
  html.route-product-manufacturer body .products-filter .select-group,
  html.route-product-search body .products-filter .select-group,
  html.route-product-special body .products-filter .select-group {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-left: auto !important;
  }

  html.route-product-category body .products-filter .input-group,
  html.route-product-manufacturer body .products-filter .input-group,
  html.route-product-search body .products-filter .input-group,
  html.route-product-special body .products-filter .input-group {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 4px 0 12px !important;
    border: 1px solid #e3e5e8 !important;
    border-radius: 12px !important;
    background: #f7f8f9 !important;
    overflow: hidden !important;
  }

  html.route-product-category body .products-filter .input-group-addon,
  html.route-product-manufacturer body .products-filter .input-group-addon,
  html.route-product-search body .products-filter .input-group-addon,
  html.route-product-special body .products-filter .input-group-addon {
    flex: 0 0 auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 9px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #737b85 !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
  }

  html.route-product-category body .products-filter select.form-control,
  html.route-product-manufacturer body .products-filter select.form-control,
  html.route-product-search body .products-filter select.form-control,
  html.route-product-special body .products-filter select.form-control {
    height: 36px !important;
    min-width: 220px !important;
    padding: 0 34px 0 10px !important;
    border: 0 !important;
    border-left: 1px solid #e1e3e6 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    color: #191c20 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
  }

  html.route-product-category body .products-filter .per-page select.form-control,
  html.route-product-manufacturer body .products-filter .per-page select.form-control,
  html.route-product-search body .products-filter .per-page select.form-control,
  html.route-product-special body .products-filter .per-page select.form-control {
    min-width: 68px !important;
  }

  html.route-product-category body #column-left .module-filter,
  html.route-product-manufacturer body #column-left .module-filter,
  html.route-product-search body #column-left .module-filter,
  html.route-product-special body #column-left .module-filter {
    margin: 0 0 24px !important;
    padding: 18px 17px 10px !important;
    box-sizing: border-box !important;
    border: 1px solid #e5e7ea !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 28px rgba(17, 19, 21, .05) !important;
    overflow: hidden !important;
  }

  html.route-product-category body #column-left .module-filter > .module-title,
  html.route-product-manufacturer body #column-left .module-filter > .module-title,
  html.route-product-search body #column-left .module-filter > .module-title,
  html.route-product-special body #column-left .module-filter > .module-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 38px !important;
    margin: 0 0 6px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #eceef0 !important;
    background: transparent !important;
    color: #111315 !important;
  }

  html.route-product-category body #column-left .module-filter > .module-title > span,
  html.route-product-manufacturer body #column-left .module-filter > .module-title > span,
  html.route-product-search body #column-left .module-filter > .module-title > span,
  html.route-product-special body #column-left .module-filter > .module-title > span {
    font-size: 16px !important;
    font-weight: 750 !important;
    letter-spacing: -.01em !important;
    text-transform: none !important;
  }

  html.route-product-category body #column-left .module-filter .reset-filter,
  html.route-product-manufacturer body #column-left .module-filter .reset-filter,
  html.route-product-search body #column-left .module-filter .reset-filter,
  html.route-product-special body #column-left .module-filter .reset-filter {
    min-height: 30px !important;
    margin: 0 0 0 auto !important;
    padding: 0 10px !important;
    border: 1px solid #e5e7ea !important;
    border-radius: 999px !important;
    background: #f7f8f9 !important;
    color: #68717b !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    box-shadow: none !important;
  }

  html.route-product-category body #column-left .module-filter .reset-filter:hover,
  html.route-product-manufacturer body #column-left .module-filter .reset-filter:hover,
  html.route-product-search body #column-left .module-filter .reset-filter:hover,
  html.route-product-special body #column-left .module-filter .reset-filter:hover {
    border-color: #f26322 !important;
    background: #fff7f1 !important;
    color: #e75617 !important;
  }

  html.route-product-category body #column-left .module-filter .panel,
  html.route-product-manufacturer body #column-left .module-filter .panel,
  html.route-product-search body #column-left .module-filter .panel,
  html.route-product-special body #column-left .module-filter .panel {
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #eceef0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html.route-product-category body #column-left .module-filter .panel:last-child,
  html.route-product-manufacturer body #column-left .module-filter .panel:last-child,
  html.route-product-search body #column-left .module-filter .panel:last-child,
  html.route-product-special body #column-left .module-filter .panel:last-child {
    border-bottom: 0 !important;
  }

  html.route-product-category body #column-left .module-filter .panel-heading,
  html.route-product-manufacturer body #column-left .module-filter .panel-heading,
  html.route-product-search body #column-left .module-filter .panel-heading,
  html.route-product-special body #column-left .module-filter .panel-heading {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html.route-product-category body #column-left .module-filter .panel-title > a,
  html.route-product-manufacturer body #column-left .module-filter .panel-title > a,
  html.route-product-search body #column-left .module-filter .panel-title > a,
  html.route-product-special body #column-left .module-filter .panel-title > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 50px !important;
    padding: 0 !important;
    color: #30363d !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  html.route-product-category body #column-left .module-filter .panel-title > a .fa,
  html.route-product-manufacturer body #column-left .module-filter .panel-title > a .fa,
  html.route-product-search body #column-left .module-filter .panel-title > a .fa,
  html.route-product-special body #column-left .module-filter .panel-title > a .fa {
    color: #9aa1a9 !important;
    font-size: 11px !important;
    transition: transform .2s ease !important;
  }

  html.route-product-category body #column-left .module-filter .panel-title > a[aria-expanded="true"] .fa,
  html.route-product-manufacturer body #column-left .module-filter .panel-title > a[aria-expanded="true"] .fa,
  html.route-product-search body #column-left .module-filter .panel-title > a[aria-expanded="true"] .fa,
  html.route-product-special body #column-left .module-filter .panel-title > a[aria-expanded="true"] .fa {
    transform: rotate(180deg) !important;
    color: #f26322 !important;
  }

  html.route-product-category body #column-left .module-filter .panel-body,
  html.route-product-manufacturer body #column-left .module-filter .panel-body,
  html.route-product-search body #column-left .module-filter .panel-body,
  html.route-product-special body #column-left .module-filter .panel-body {
    padding: 2px 0 16px !important;
    border: 0 !important;
  }

  html.route-product-category body #column-left .module-filter .extra-controls,
  html.route-product-manufacturer body #column-left .module-filter .extra-controls,
  html.route-product-search body #column-left .module-filter .extra-controls,
  html.route-product-special body #column-left .module-filter .extra-controls {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 12px !important;
  }

  html.route-product-category body #column-left .module-filter .extra-controls input,
  html.route-product-manufacturer body #column-left .module-filter .extra-controls input,
  html.route-product-search body #column-left .module-filter .extra-controls input,
  html.route-product-special body #column-left .module-filter .extra-controls input {
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    padding: 0 8px !important;
    border: 1px solid #dfe2e5 !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    color: #20252a !important;
    font-size: 12px !important;
    text-align: center !important;
    box-shadow: none !important;
  }

  html.route-product-category body #column-left .module-filter .currency-symbol,
  html.route-product-manufacturer body #column-left .module-filter .currency-symbol,
  html.route-product-search body #column-left .module-filter .currency-symbol,
  html.route-product-special body #column-left .module-filter .currency-symbol {
    color: #7a828b !important;
    font-size: 11px !important;
  }

  html.route-product-category body #column-left .module-filter .irs-bar,
  html.route-product-manufacturer body #column-left .module-filter .irs-bar,
  html.route-product-search body #column-left .module-filter .irs-bar,
  html.route-product-special body #column-left .module-filter .irs-bar {
    border: 0 !important;
    background: #f26322 !important;
  }

  html.route-product-category body #column-left .module-filter .irs-slider,
  html.route-product-manufacturer body #column-left .module-filter .irs-slider,
  html.route-product-search body #column-left .module-filter .irs-slider,
  html.route-product-special body #column-left .module-filter .irs-slider {
    border: 3px solid #ffffff !important;
    background: #f26322 !important;
    box-shadow: 0 0 0 1px #f26322, 0 3px 10px rgba(242, 99, 34, .25) !important;
  }

  html.route-product-category body #column-left .module-filter .filter-checkbox label,
  html.route-product-category body #column-left .module-filter .filter-radio label,
  html.route-product-manufacturer body #column-left .module-filter .filter-checkbox label,
  html.route-product-manufacturer body #column-left .module-filter .filter-radio label,
  html.route-product-search body #column-left .module-filter .filter-checkbox label,
  html.route-product-search body #column-left .module-filter .filter-radio label,
  html.route-product-special body #column-left .module-filter .filter-checkbox label,
  html.route-product-special body #column-left .module-filter .filter-radio label {
    color: #59616b !important;
    font-size: 12px !important;
    font-weight: 550 !important;
  }

  html.route-product-category body #column-left .module-filter .image-only .filter-radio,
  html.route-product-manufacturer body #column-left .module-filter .image-only .filter-radio,
  html.route-product-search body #column-left .module-filter .image-only .filter-radio,
  html.route-product-special body #column-left .module-filter .image-only .filter-radio {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  html.route-product-category body #column-left .module-filter .image-only .filter-radio label,
  html.route-product-manufacturer body #column-left .module-filter .image-only .filter-radio label,
  html.route-product-search body #column-left .module-filter .image-only .filter-radio label,
  html.route-product-special body #column-left .module-filter .image-only .filter-radio label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 4px !important;
    border: 1px solid #e5e7ea !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
  }

  html.route-product-category body #column-left .module-filter .image-only .filter-radio label:hover,
  html.route-product-manufacturer body #column-left .module-filter .image-only .filter-radio label:hover,
  html.route-product-search body #column-left .module-filter .image-only .filter-radio label:hover,
  html.route-product-special body #column-left .module-filter .image-only .filter-radio label:hover {
    border-color: #f26322 !important;
    box-shadow: 0 4px 14px rgba(17, 19, 21, .07) !important;
  }

  html.route-product-category body #column-left .module-filter .image-only img,
  html.route-product-manufacturer body #column-left .module-filter .image-only img,
  html.route-product-search body #column-left .module-filter .image-only img,
  html.route-product-special body #column-left .module-filter .image-only img {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
}
