/* css/katalog.css */

.tabel-koleksi {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tabel-koleksi th {
  background-color: #884a5f;
  color: white;
  padding: 15px;
  text-transform: uppercase;
  font-size: 14px;
}

.tabel-koleksi td {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

/* Tombol WhatsApp */
.btn-wa {
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 13px;
  transition:
    transform 0.2s,
    background 0.3s;
}

.btn-wa:hover {
  background-color: #128c7e;
  transform: scale(1.05);
}

.img-produk {
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #ddd;
}
/* CSS GLOBAL UNTUK KATALOG */
.catalog-title {
  color: #884a5f;
  border-bottom: 2px solid #c49ab2;
  padding-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  font-family: "Lato", sans-serif;
}

.catalog-table th {
  background-color: #884a5f;
  color: white;
  padding: 18px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.catalog-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

/* PENGATURAN FOTO POP-UP */
.pop-img {
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.pop-img:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(136, 74, 95, 0.2);
}

/* PENGATURAN DESKRIPSI (READ MORE) */
.desc-wrapper {
  max-width: 450px;
  text-align: left;
}

.desc-content {
  max-height: 48px; /* Sekitar 2-3 baris */
  overflow: hidden;
  transition: max-height 0.5s ease;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.desc-content.open {
  max-height: 1500px; /* Membuka semua konten */
}

.desc-content ul {
  margin: 8px 0;
  padding-left: 18px;
}

.btn-detail {
  display: inline-block;
  margin-top: 10px;
  color: #884a5f;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid #884a5f;
  padding: 3px 10px;
  border-radius: 20px;
  transition: 0.3s;
}

.btn-detail:hover {
  background-color: #884a5f;
  color: white;
}

.price-tag {
  color: #884a5f;
  font-weight: bold;
  font-size: 17px;
  white-space: nowrap;
}

/* CSS MODAL LIGHTBOX */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 600px;
  border-radius: 15px;
  animation: zoom 0.5s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
