@font-face {
  font-family: "Roman";
  src: url("../font/AvenirLTStd-Roman.otf") format("opentype");
}
@font-face {
  font-family: "Book";
  src: url("../font/AvenirLTStd-Book.otf") format("opentype");
}
@font-face {
  font-family: "Black";
  src: url("../font/AvenirLTStd-Black.otf") format("opentype");
}
@font-face {
  font-family: "Gilroy";
  src: url("../font/Gilroy-Medium.ttf") format("truetype");
}


body {
  background-color: var(--background-color);
  font-family: ;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 800px;
  min-height: 100vh;
  margin: 0 auto;
  padding-top: 20px;
  background-color: var(--container-bg-color);
  position: sticky;
  top: 0;
}

.profile {
  background-color:;
  text-align: center;
  position: ;
}

.profile img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: absolute;
  top: 9.2em; /* Mengatur posisi vertikal ke tengah */
  left: 50%; /* Mengatur posisi horizontal ke tengah */
  transform: translate(-50%, -140%); /* Menggeser gambar ke tengah */
  border: 3px solid white;
  overflow: hidden;
  object-fit: cover;
}
.bio {
  margin: 60px auto 0px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 300px;
  height: 100px;
  padding: 20px;
  background-color: rgb(255, 255, 255);
  border-radius: 10px 10px 0px 0px;
  user-select: none;
}
.bio h1 {
  margin: 0;
  font-size: 1rem;
}
.bio p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.boxprofil {
  background-color: rgb(255, 255, 255);
  height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 5px;
}
.stats {
  display: flex;
  justify-content: space-between;
  background-color: #278cb4;
  padding: 10px;
  margin: 0;
  user-select: none;
}
.stat-box {
  flex: 1;
  width: 100px;
  margin: 0 10px;
  padding: 5px;
  border-radius: 8px;
  text-align: center;
  border:1px solid rgb(73, 73, 73);
}
.stat-box h2 {
  font-size: 1rem;
}
.stat-box.orange {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

.products h2 {
  font-size: 0.9rem;
  color: #000000;
}
.stats p {
  font-size: 0.9rem;
}
.stat-box.black {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

.profile2 h1 {
  top:6em;
  margin-top:6.5em;
  font-size:1rem;
}

.add-image {
  width: 100%;
  margin: 50px 0;
  padding: 0;
  font-size: 0; /* Hilangkan white space antara elemen inline-block */
  line-height: 0; /* Tambahkan ini untuk browser tertentu */
}

.add-image img {
  display: block; /* Ubah menjadi block element */
  width: 100%;
  max-width: 900px;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  vertical-align: middle; /* Untuk alignment yang konsisten */
}
.products {
  margin: 0;
  background-color: var(--product-bg-color);
  padding: 30px;
  height: ;
}

.stmj {
  background-color: ;
  width: 100%;
  text-align: left;
}
section {
  background-color: ;
  display: grid; /* Menggunakan grid */
  grid-template-columns: repeat(2, 1fr); /* Mengatur kolom grid */
  place-items: space-between; /* Mengatur penempatan item di dalam grid */
  width: 100%;
  gap: 20px;
  margin: 0 auto; /* Mengatur margin otomatis untuk memusatkan elemen */
}

 a {
  text-decoration: none;
  display: block;
}

.product {
  height: 133px;
  width: auto; /* Membuat produk responsif */
  max-width: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  background-color: #e0f7fa;
  border-radius: 8px;
  border: 1px solid black;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0px;
  user-select: none; /* Mencegah pemilihan teks */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Menambahkan bayangan */
}


.product:hover {
  background-color: #f3a806;
}

.product img {
  width: 120px;
  height: 125px;
  border-radius: 8px;
  margin: 0px 0px 0px 5px;
  object-fit: cover;
  overflow: hidden;
  background-color: ;
  border: 1px solid rgb(145, 145, 145);
  -webkit-user-drag: none; /* Untuk Chrome, Safari */
  user-drag: none;         /* Beberapa browser mendukung properti ini */
  position: relative;
  /* Menambahkan posisi relatif */
  transition: transform 0.3s ease;
  /* Transisi untuk efek zoom */
  pointer-events: none;
}

.product:hover img {
  transform: scale(1.1);
  /* Efek zoom saat dihover */
  z-index: 1;
}
.content {
    background-color: ;
    margin:1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pusatkan konten secara vertikal */
    align-items: flex-start; /* Pusatkan konten secara horizontal */
    padding: 10px 0px 0px 0px; /* Tambahkan padding untuk ruang di dalam konten */
    height: 115px; /* Atur tinggi kontainer */
    width: 100%; /* Atur lebar kontainer */
}

.product h2 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    background-color: ;
    overflow: hidden; /* Sembunyikan teks yang lebih dari batas */
    display: -webkit-box; /* Gunakan box model untuk mendukung clamp */
    -webkit-line-clamp: 3; /* Batasi teks maksimal 3 baris */
    -webkit-box-orient: vertical; /* Orientasi kotak menjadi vertikal */
    word-wrap: break-word; /* Memastikan kata panjang terpotong sesuai batas */
    line-height: 1.2; /* Sesuaikan tinggi baris jika diperlukan */
    max-width: 400px;
}



.ebookharga {
    background-color: ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ebookharga span {
    font-size: 0.7rem;
    color: #777;
}
.ebookharga .price {
  font-size: 1rem;
    color: #ec004f;
    border-radius: 5px;
    padding: 3px 8px;
    font-family: 'Black', sans-serif;
    background-color: ;
}
.ebookharga .price-free {
  font-size: 1rem;
    border-radius: 5px;
    padding: 3px 8px;
    font-family: 'Black', sans-serif;
    background-color: ;
}
.message-toggle {
  position: fixed;
  right: 22%;
  bottom: 20px;
  z-index: 9999;
  text-align: center;
}
/* Tombol Message */
.message-toggle .message {
  color: #067dcc;
  background: #fff;
  padding: 10px 15px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
  display: inline-block;
}
.message-toggle .message:hover {
  background-color: #f0f0f0;
}
/* Container untuk ikon yang muncul */
.message-toggle .social-icons {
  position: absolute;
  bottom: 60px; /* Jarak dari tombol Message */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
}
/* Saat container aktif (open) */
.message-toggle.open .social-icons {
  opacity: 1;
  pointer-events: auto;
}
/* Style untuk masing-masing ikon */
.social-icons a {
  display: inline-block;
  background: #fff;
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  text-align: center;
  color: #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0);
  opacity: 0;
}
/* Animasi pop-up dengan rotasi */
.message-toggle.open .social-icons a {
  animation: popUp 0.5s ease-out forwards;
}
/* Delay khusus untuk tiap ikon */
.social-icons a.instagram {
  animation-delay: 0.1s;
  color: #E1306C;
}
.social-icons a.whatsapp {
  animation-delay: 0.2s;
  color: #25D366;
}
@keyframes popUp {
  0% {
    transform: translateY(20px) scale(0) rotate(0deg);
    opacity: 0,5;
  }
  80% {
    transform: translateY(-5px) scale(1.2) rotate(360deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1) rotate(360deg);
    opacity: 1;
  }
}