/* Ricopesca B2B - Products top bar v1.0.0 */

#js-product-list-top.rcp-products-top {
  margin: 18px 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

#js-product-list-top.rcp-products-top .rcp-products-top-inner {
  background: #fff;
  border: 1px solid rgba(0, 142, 190, 0.16);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(32, 27, 75, 0.045);
  padding: 12px 14px;
}

#js-product-list-top.rcp-products-top .rcp-products-top-row {
  margin-left: -6px;
  margin-right: -6px;
}

#js-product-list-top.rcp-products-top .rcp-products-top-row > [class*="col"] {
  padding-left: 6px;
  padding-right: 6px;
}

#js-product-list-top.rcp-products-top .rcp-products-top-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

#js-product-list-top.rcp-products-top .rcp-view-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 3px;
  background: rgba(0, 142, 190, 0.06);
  border: 1px solid rgba(0, 142, 190, 0.12);
  border-radius: 999px;
}

#js-product-list-top.rcp-products-top .rcp-view-switcher-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(32, 27, 75, 0.52);
  text-decoration: none !important;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

#js-product-list-top.rcp-products-top .rcp-view-switcher-btn:hover,
#js-product-list-top.rcp-products-top .rcp-view-switcher-btn.current {
  background: #fff;
  color: #008ec2;
  box-shadow: 0 6px 14px rgba(32, 27, 75, 0.08);
}

#js-product-list-top.rcp-products-top .rcp-filter-toggler-btn,
#js-product-list-top.rcp-products-top .filter-button .btn {
  min-height: 36px;
  border: 1px solid rgba(0, 142, 190, 0.18) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #201b4b !important;
  font-weight: 800;
  font-size: 0.84rem;
  box-shadow: none !important;
}

#js-product-list-top.rcp-products-top .rcp-filter-toggler-btn:hover,
#js-product-list-top.rcp-products-top .filter-button .btn:hover {
  border-color: rgba(0, 142, 190, 0.32) !important;
  color: #008ec2 !important;
}

#js-product-list-top.rcp-products-top .rcp-products-top-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

#js-product-list-top.rcp-products-top .rcp-products-counter {
  color: rgba(32, 27, 75, 0.64);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  margin-right: 2px;
}

#js-product-list-top.rcp-products-top .sort-by-row,
#js-product-list-top.rcp-products-top .sort-by,
#js-product-list-top.rcp-products-top .products-sort-order,
#js-product-list-top.rcp-products-top .sort-by-wrapper {
  margin: 0 !important;
}

#js-product-list-top.rcp-products-top .products-sort-order .select-title,
#js-product-list-top.rcp-products-top .products-sort-order button,
#js-product-list-top.rcp-products-top select,
#js-product-list-top.rcp-products-top .form-control {
  min-height: 38px;
  border: 1px solid rgba(32, 27, 75, 0.14) !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  color: #201b4b !important;
  font-weight: 700;
  box-shadow: none !important;
}

#js-product-list-top.rcp-products-top .products-sort-order .select-title:hover,
#js-product-list-top.rcp-products-top .products-sort-order button:hover,
#js-product-list-top.rcp-products-top select:hover,
#js-product-list-top.rcp-products-top .form-control:hover {
  border-color: rgba(0, 142, 190, 0.35) !important;
}

#js-product-list-top.rcp-products-top .products-sort-order .dropdown-menu,
#js-product-list-top.rcp-products-top .dropdown-menu {
  border: 1px solid rgba(0, 142, 190, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(32, 27, 75, 0.12);
  overflow: hidden;
}

#js-product-list-top.rcp-products-top .products-sort-order .dropdown-menu a,
#js-product-list-top.rcp-products-top .dropdown-menu a {
  color: #201b4b;
  font-weight: 600;
}

#js-product-list-top.rcp-products-top .products-sort-order .dropdown-menu a:hover,
#js-product-list-top.rcp-products-top .dropdown-menu a:hover {
  background: rgba(0, 142, 190, 0.07);
  color: #008ec2;
}

#js-product-list-top.rcp-products-top .pagination-wrapper,
#js-product-list-top.rcp-products-top .pagination {
  margin: 0;
}

@media (max-width: 767.98px) {
  #js-product-list-top.rcp-products-top {
    margin: 14px 0 16px;
  }

  #js-product-list-top.rcp-products-top .rcp-products-top-inner {
    border-radius: 16px;
    padding: 12px;
  }

  #js-product-list-top.rcp-products-top .rcp-products-top-left,
  #js-product-list-top.rcp-products-top .rcp-products-top-controls {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    justify-content: space-between;
  }

  #js-product-list-top.rcp-products-top .rcp-products-top-controls {
    margin-top: 10px;
    gap: 8px;
  }

  #js-product-list-top.rcp-products-top .rcp-products-top-controls > * {
    max-width: 100%;
  }

  #js-product-list-top.rcp-products-top .products-sort-order,
  #js-product-list-top.rcp-products-top .sort-by-row,
  #js-product-list-top.rcp-products-top .sort-by-wrapper {
    width: 100%;
  }

  #js-product-list-top.rcp-products-top .products-sort-order .select-title,
  #js-product-list-top.rcp-products-top .products-sort-order button,
  #js-product-list-top.rcp-products-top select,
  #js-product-list-top.rcp-products-top .form-control {
    width: 100%;
  }
}
