/* ======================================
   SEARCH BAR — MATCHES PRODUCT CARD STYLE
   ====================================== */

.search-sort-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  margin-top: 20px;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   SEARCH BAR
   ============================ */

.search-container {
  position: relative;
  flex: 1;
}

.search-input {
  width: 100%;
  padding: 12px 50px 12px 16px;
  font-size: 16px;
  font-weight: 500;

  background: #0e1319;
  border: 2px solid #38ff99;
  border-radius: 14px;
  color: #d9ffeb;

  outline: none;
  height: 48px; /* ⭐ TRUE HEIGHT */

  box-shadow:
    0 0 25px #38ff9955,
    inset 0 0 6px #00000055;
}

.search-input:focus {
  box-shadow:
    0 0 30px #38ff99aa,
    inset 0 0 10px #00000077;
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  stroke: #38ff99;
  filter: drop-shadow(0 0 6px #38ff99);
  pointer-events: none;
}

/* ============================
   SORT MINI (RIGHT SIDE)
   ============================ */

.sort-mini {
  position: relative;
  width: 120px;
}

/* ⭐ MATCH SEARCH BAR HEIGHT PERFECTLY */
.sort-mini-select {
  width: 100%;
  padding: 12px 40px 12px 14px; /* padding matches search */
  font-size: 16px;
  font-weight: 500;

  background: #0e1319;
  border: 2px solid #38ff99;
  border-radius: 14px;
  color: #d9ffeb;
  outline: none;

  height: 48px; /* ⭐ EXACT MATCH TO SEARCH BAR */

  appearance: none; /* remove default arrow */

  box-shadow:
    0 0 25px #38ff9955,
    inset 0 0 6px #00000055;
}

.sort-mini-select:focus {
  box-shadow:
    0 0 30px #38ff99aa,
    inset 0 0 10px #00000077;
}

.sort-mini-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  stroke: #38ff99;
  filter: drop-shadow(0 0 5px #38ff99);
  pointer-events: none;

  width: 18px;
  height: 18px;
}
