.filter-bar-section {
  padding: 18px 32px 28px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 50;
}

.filter-form {
  display: flex;

  align-items: center;

  gap: 10px;

  background: rgba(255, 255, 255, 0.82);

  backdrop-filter: blur(24px);

  border: 1px solid rgba(96, 55, 99, 0.08);

  border-radius: 32px;

  padding: 10px;

  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
}

/* SEARCH */

.filter-search-group {
  flex: 1;

  min-width: 320px;

  height: 40px;

  border-radius: 22px;

  border: 1px solid rgba(96, 55, 99, 0.12);

  background: #ffffff;

  display: flex;

  align-items: center;

  padding: 0 18px;

  gap: 14px;

  transition: 0.3s ease;
}

.filter-search-group:focus-within {
  border-color: #603763;

  box-shadow: 0 0 0 4px rgba(96, 55, 99, 0.08);
}

.filter-search-input {
  flex: 1;

  border: none;

  background: transparent;

  outline: none;

  font-size: 16px;

  font-weight: 500;

  color: #1d1d1f;
}

.filter-search-input::placeholder {
  color: #8e8e93;
}

/* SELECTS */

.filter-select-wrapper {
  height: 40px;

  min-width: 240px;

  border-radius: 22px;

  border: 1px solid rgba(96, 55, 99, 0.12);

  background: #ffffff;

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 0 18px;

  transition: 0.3s ease;
}

.filter-select-wrapper:hover {
  border-color: rgba(96, 55, 99, 0.25);
}

.premium-filter-select {
  width: 100%;

  height: 100%;

  border: none;

  background: transparent;

  outline: none;

  font-size: 16px;

  font-weight: 600;

  color: #1d1d1f;

  cursor: pointer;
}

/* ICONS */

.filter-icon {
  width: 18px;

  height: 18px;

  color: #603763;
}

/* BUTTON */

.filter-apply-btn {
  height: 40px;

  padding: 0 34px;

  border: none;

  border-radius: 22px;

  background: linear-gradient(135deg, #4c0080 0%, #6a0dad 100%);

  color: white;

  font-size: 16px;

  font-weight: 700;

  display: flex;

  align-items: center;

  gap: 10px;

  cursor: pointer;

  transition: 0.35s ease;

  box-shadow: 0 10px 24px rgba(76, 0, 128, 0.22);
}

.filter-apply-btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 18px 30px rgba(96, 55, 99, 0.24);
}

/* CLEAR BUTTON */

.clear-search-btn {
  text-decoration: none;

  font-size: 14px;

  font-weight: 700;

  color: #603763;
}

.filter-search-input {
  min-width: 0;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .filter-form {
    flex-wrap: wrap;
  }
}

/* =========================
   MOBILE / TABLET FILTER BAR
========================= */

@media (max-width: 768px) {
  .filter-bar-section {
    padding: 10px 14px 18px;
  }

  .filter-form {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    padding: 8px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(30px);

    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
  }

  /* SEARCH FULL WIDTH */

  .filter-search-group {
    grid-column: span 2;

    width: 100%;

    min-width: unset;

    height: 38px;

    border-radius: 14px;

    padding: 0 12px;

    gap: 10px;
  }

  /* SELECTS */

  .filter-select-wrapper {
    width: 100%;

    min-width: unset;

    height: 38px;

    border-radius: 14px;

    padding: 0 12px;
  }

  /* BUTTON */

  .filter-apply-btn {
    grid-column: span 2;

    width: 100%;

    height: 40px;

    border-radius: 14px;

    font-size: 13px;

    justify-content: center;

    gap: 8px;

    margin-top: 2px;
  }

  /* INPUTS */

  .filter-search-input,
  .premium-filter-select {
    font-size: 13px;

    font-weight: 600;
  }

  /* ICONS */

  .filter-icon {
    width: 15px;

    height: 15px;

    flex-shrink: 0;
  }
}
