/**
 * Arşiv filtreleri — Archive Products araç çubuğu.
 *
 * @package Revera_Home
 */

.rh-af {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.75rem;
  margin: 0;
  position: relative;
  z-index: 5;
}

.rh-af-editor-note {
  width: 100%;
  font-size: 11px;
  opacity: 0.7;
  font-style: italic;
}

.rh-af__drop {
  position: relative;
}

.rh-af__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin: 0;
  padding: 0.4em 0.85em;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.rh-af__toggle:focus {
  outline: 1px dotted currentColor;
  outline-offset: 2px;
}

.rh-af__badge {
  display: inline-flex;
  min-width: 1.1em;
  justify-content: center;
  font-size: 0.8em;
  opacity: 0.85;
}

.rh-af__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  max-height: 260px;
  overflow: auto;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: #2a1212;
  color: #f3e9e4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  z-index: 40;
}

.rh-af__panel[hidden] {
  display: none;
}

.rh-af__options {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rh-af__options li + li {
  margin-top: 0.35em;
}

.rh-af__options label {
  display: flex;
  align-items: center;
  gap: 0.45em;
  cursor: pointer;
  font-weight: 400;
}

.rh-af__empty,
.rh-af__hint {
  margin: 0 0 0.6em;
  font-size: 0.85em;
  opacity: 0.75;
}

.rh-af__count {
  opacity: 0.65;
  font-size: 0.85em;
}

.rh-af__price-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rh-af__price-input {
  width: 5.5rem;
  min-width: 0;
  padding: 0.35em 0.45em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font: inherit;
}

.rh-af__price-dash {
  opacity: 0.6;
}

.rh-af__apply {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.4em 0.6em;
  border: 0;
  border-radius: 2px;
  background: #f3e9e4;
  color: #2a1212;
  cursor: pointer;
  font: inherit;
}

.rh-af__reset {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.9em;
  opacity: 0.85;
}

.elementor-widget-revera_archive_filters.rh-af-widget-moved {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
}

.elementor-widget-revera_archive_filters.rh-af-widget-moved > .elementor-widget-container {
  margin: 0;
  padding: 0;
  min-height: 0;
  height: 0;
  overflow: hidden;
}

.rh-af-host {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.woocommerce.rh-af-host {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.woocommerce.rh-af-host > .woocommerce-notices-wrapper {
  order: 0;
  flex: 1 1 100%;
  width: 100%;
}

.woocommerce.rh-af-host > .woocommerce-result-count {
  float: none;
  margin: 0;
  order: 1;
}

.woocommerce.rh-af-host > .rh-af {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.woocommerce.rh-af-host > .woocommerce-ordering {
  float: none;
  margin: 0;
  order: 3;
}

.woocommerce.rh-af-host > ul.products,
.woocommerce.rh-af-host > .products,
.woocommerce.rh-af-host > .woocommerce-pagination,
.woocommerce.rh-af-host > .woocommerce-info,
.woocommerce.rh-af-host > nav.woocommerce-pagination {
  order: 10;
  flex: 1 1 100%;
  width: 100%;
  float: none;
}

@media screen and (max-width: 767px) {
  .woocommerce.rh-af-host > .woocommerce-result-count,
  .woocommerce.rh-af-host > .woocommerce-ordering,
  .woocommerce.rh-af-host > .rh-af {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .rh-af__panel {
    left: 0;
    transform: none;
  }
}
