.custom-dropdown {
    /* border: 1px solid #ced4da; */
    border-radius: 12px;
    padding: 1.5rem 1rem 0.5rem 1.5rem; /* beri ruang kiri utk icon */
    /* background-color: #fff; */
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 58px;
  }

  .dropdown-label {
    position: absolute;
    top: 0.4rem;
    left: 1.3rem;
    /* background-color: #fff; */
    padding: 0 4px;
    font-size: 12px;
    color: var(--bs-secondary);
    z-index: 1;
  }

  .dropdown-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .left-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--bs-secondary);
    pointer-events: none;
  }

  .dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* border: 1px solid #ced4da; */
    border-radius: 0.5rem;
    /* background-color: white; */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 0.25rem;
    z-index: 10;
  }

  .dropdown-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
  }

  /* .dropdown-item:hover {
    background-color: #f8f9fa;
  } */

/* Search Bar */
.search-container {
    position: relative;
    width: 100%;
  }

  .search-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--bs-secondary);
    font-size: 1.2rem;
    pointer-events: none;
  }

  .search-input {
    padding-left: 2.5rem; /* ruang untuk icon */
    height: 48px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .custom-input-sort {
    width: 35%;
  }

  .search-sort-button {
    width: 25%;
  }

  .sort-icon {
    font-size: 30px;
  }

  .custom-thumb {
    max-width: 90px;
}
/* Perbesar thumbnail di desktop (>=992px) */
@media (min-width: 992px) {
    .custom-thumb {
        max-width: 400px;
    }
}

  @media (max-width: 767.98px) {
    .search-container.d-flex.flex-row {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: stretch !important;
    }
    .custom-input-sort,
    .search-sort-button {
        width: 100% !important;
        min-width: 0 !important;
    }
}