body {
  background-color: #fff9e5;
  color: #5d4300;
  font-family: "Poppins", sans-serif;
}

.top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px auto;
  max-width: 1128px;
  gap: 10px;
}

.btn-back {
  background-color: #ffc107;
  color: #5d4300;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-back:hover {
  background-color: #e0a800;
  transform: scale(1.05);
}

.search-input {
  max-width: 360px;
  border-radius: 10px;
  padding: 8px 12px;
  border: 2px solid #ffb300;
  background: white;
  color: #5d4300;
  box-shadow: none;
  transition: border-color 0.15s, transform 0.08s;
}

.search-input:focus {
  outline: none;
  border-color: #e69500;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 179, 0, 0.15);
}

.category-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.category-btn {
  background-color: white;
  color: #5d4300;
  border: 2px solid #ffb300;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
  background-color: #ffb300;
  color: white;
}

.card-jenis {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 15px;
  margin: 15px;
  transition: transform 0.2s;
  cursor: pointer;
}

.card-jenis:hover {
  transform: scale(1.02);
}

.card-jenis img {
  width: 120px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 20px;
  flex-shrink: 0;
}

/* Modal */
.modal-body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.modal-img {
  width: 160px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.modal-content {
  background-color: #fff9e5;
  color: #5d4300;
  border-radius: 15px;
}

.modal-header {
  border-bottom: 2px solid #ffb300;
}

.modal-footer {
  border-top: 2px solid #ffb300;
}

@media (max-width: 576px) {
  .top-controls {
    flex-direction: row;
    align-items: stretch;
  }

  .btn-back {
    width: 100px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    padding: 0;
  }

  .search-input {
    flex: 1;
    height: 42px;
    max-width: none;
  }

  .modal-body {
    flex-direction: column;
    text-align: center;
  }

  .modal-img {
    width: 180px;
    height: auto;
    margin: 0 0 15px 0;
  }

  .modal-dialog {
    margin: 1.5rem auto !important;
  }

  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-header {
    position: sticky;
    top: 0;
    background-color: #fff9e5;
    z-index: 10;
  }
}
