.search-filters {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
}

.search-box {
  width: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  height: 50px;
  padding: 0 45px 0 48px;
  border: 1px solid #ced4da;
  border-radius: 12px;
  outline: none;
  font-size: 1rem;
}

.search-input:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 1.1rem;
  pointer-events: none;
}

.clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  padding: 0;
  color: #6c757d;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

.clear-btn:hover {
  color: #212529;
}

/* Radio Buttons ------------- */
.category-pills {
  display: flex;
  gap: 0.5rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pills input[type='radio'] {
  display: none;
}

.category-pills label {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: rgb(245, 245, 250);
  color: #495057;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.category-pills input[type='radio']:checked + label {
  background: var(--purple);
  color: white;
}

/* Custom Radios -------------*/
/* ==========================================
   Custom Radio Buttons
========================================== */

.my-radio {
  display: none;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.my-radio-label {
  min-height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1rem;

  border-radius: 0.75rem;

  background: var(--gray);
  color: #212529;

  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;

  cursor: pointer;
  user-select: none;

  transition: all 0.15s ease-in-out;
}

.my-radio-label:has(.my-radio:checked) {
  background: var(--purple);
  color: #fff;
}

.my-radio-label:has(.my-radio:focus-visible) {
  box-shadow: 0 0 0 0.25rem rgba(153, 13, 253, 0.25);
}

/* Custom Checkbox */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.my-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.my-checkbox-label {
  min-height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1rem;

  border-radius: 0.75rem;

  background: var(--gray);
  color: #212529;

  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;

  cursor: pointer;
  user-select: none;

  transition: all 0.15s ease-in-out;
}

/* Checked */
.my-checkbox-label:has(.my-checkbox:checked) {
  background: var(--purple);
  color: #fff;
}

/* Keyboard focus */
.my-checkbox-label:has(.my-checkbox:focus-visible) {
  box-shadow: 0 0 0 0.25rem rgba(153, 13, 253, 0.25);
}




/* Shots Radio */
.shots-group {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.shots-group input[type='radio'] {
  display: none;
}

.shots-group label {
  flex: 1;

  aspect-ratio: 1 / 1;
  max-width: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--gray);
  color: #212529;

  cursor: pointer;
  user-select: none;

  font-size: 1.25rem;
  font-weight: 600;

  transition: all 0.15s ease-in-out;
}

.shots-group input[type='radio']:checked + label {
  background: var(--purple);
  color: #fff;
}

/* INCREMENTER */
.qty-selector {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  background: var(--gray);
  border-radius: 999px;
  padding: 0.35rem;
}

.qty-btn {
  width: 3.25rem;
  height: 3.25rem;

  border: none;
  border-radius: 50%;

  background: #fff;
  color: #333;

  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.2s ease;
}

.qty-btn:active {
  transform: scale(0.95);
}

.qty-value {
  min-width: 2rem;
  text-align: center;

  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.bag-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  z-index: 1040;

  display: flex;
  align-items: center;
  justify-content: center;
}

.re-bag {
  width: 40px;
  height: 40px;
  background-image: url('../images/bag.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Custom Add to Bag Button Styles */
.custom-btn {
  border: none;
  color: #fff;

  font-size: 1.05rem;
  font-weight: 600;

  cursor: pointer;
  user-select: none;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.custom-btn-green {
  background: linear-gradient(
    135deg,
    #00835e 0%,
    #00b481 100% /* rgb(0, 51, 147) 0%,
    #0b61ff 100% */ /* #8a00ff 0%,
    #c026ff 100% */
  );
  box-shadow: 0 10px 25px rgba(0, 170, 111, 0.35);
}

.custom-btn-blue {
  background: linear-gradient(135deg, rgb(0, 100, 131) 0%, #008eb9 100%);
  box-shadow: 0 10px 15px rgba(0, 100, 131, 0.35);
}

.custom-btn-purple {
  background: linear-gradient(135deg, #8a00ff 0%, #c026ff 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.custom-btn-pill {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 999px;
}

.custom-btn-round {
  width: 65px;
  height: 65px;
  border-radius: 50%;
}

.custom-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.4),
    0 6px 14px rgba(0, 0, 0, 0.14);
}

.custom-btn:active {
  transform: translateY(0) scale(0.98);

  box-shadow:
    0 0 20px rgba(138, 0, 255, 0.25),
    0 0 8px rgba(0, 0, 0, 0.08);
}

.custom-btn:focus {
  outline: none;
}

.custom-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.order-btn {
  position: absolute;
  right: 0px;
  bottom: 0px;
  z-index: 10;

  padding: 0.4rem 1.2rem;
  border-bottom-right-radius: 0.7rem;
  border-top-left-radius: 1.1rem;

  color: #fff;
  font-weight: 400;
  font-size: 1rem;

  background: rgba(255, 255, 255, 0.18);
  border: none;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  pointer-events: none;
  transition: 0.25s ease;
}

@media (min-width: 700px) {
  .search-filters {
    align-items: center;
  }

  .category-pills {
    flex-shrink: 0;
  }

  .search-input {
    height: 50px;
  }

  .search-box {
    width: 700px;
  }

  .order-btn {font-size: 0.8rem;}


}
