
.custom-ordering-wrapper {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
body.dark .ordering-option {
  background: transparent;
  box-shadow: 0px 4px 24px 0px rgba(255, 255, 255, .5);
}
.ordering-option {
  background: #f3f3f3;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 400;
  transition: background 0.3s ease;
  -webkit-transition: background 0.3s ease;
  -moz-transition: background 0.3s ease;
  -ms-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
}
.ordering-option:hover {
  background: #e0e0e0;
}
.ordering-option-filter {
    background-color: transparent;
    border: 1px solid #ededed;
    padding: 9px;
    border-radius: 6px;
    cursor: revert;
}
@media screen and (max-width: 767px) {
    .ordering-option {
        padding: 5px;
        font-size: 9px;
    }
    .clear-filters-button {
        padding: 5px;
        font-size: 9px;
    }
    .ordering-option-filter {
      padding: 5px !important;
      font-size: 9px !important;
    }
}
.clear-filters-button {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.products.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.products.loading::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.5);
  z-index: 1;
}

.order-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.order-loader:after {
  content: "";
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border: 5px solid #d54e21;
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #d54e21 transparent transparent transparent;
  -webkit-animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
