@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");
  }

body {
    font-family: "Roman";
    margin: 0;
    padding: 0;
    background-color: ;
}

.header-top {
    margin: 0 auto;
    width: auto; /* Atau bisa diubah menjadi width: auto; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: ;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}



/* Tombol ikon */
.icon-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Tombol icon */
.icon-button {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2f2f2;
  color: #333;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.25s ease;
}

/* Hover effect */
.icon-button:hover {
  background: #e0e0e0;
  transform: translateX(-4px);
}

/* Efek klik */
.icon-button:active {
  transform: scale(0.95);
}

/* Judul / username */
.title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}


/* Posisi ikon kanan */
.icons-right {
    display: flex;
    gap: 10px;
    background-color: ;
}

/* Posisi ikon kanan */
.icon-left {
    display: flex;
    gap: 10px;
    align-items: center;
    place-items: center;
    background-color: ;
}


main {
    margin: 0 auto;
    max-width: 500px;
    background-color: #ffffff;
}

.swiper-container {
    width: 100%;
    height: 100%;
    max-width: ;
    margin-bottom: 0px;
    position: relative; /* Untuk memastikan elemen pagination berada di dalam container */
    overflow: hidden;

}

.swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;

}

.swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-color: ;
}

/* Gaya untuk pagination */
.swiper-pagination {
    position: absolute;
    bottom: 10px; /* Letakkan pagination 10px di atas bawah container */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Warna bullet pagination */
    border-radius: 50%; /* Membuatnya bulat */
    margin: 0 4px;
    display: inline-block;
    opacity: 0.6; /* Transparansi default */
    cursor: pointer;
    border: 1px solid white;
}

.swiper-pagination-bullet-active {
    background-color: #34C759; /* Warna bullet aktif */
    opacity: 1; /* Bullet aktif tidak transparan */
    border: 1px solid white;
}

/* Product info */
.product-info {
    padding: 8px 20px 70px 20px;
    background-color: ;
}

.product-title {
    background-color: ;
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.product-price {
    font-size: 16px;
    margin-bottom: 20px;
    color: #da131d;
    font-family: "Black", sans-serif;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #ce4d4d;
}

.product-description {
    font-size: 16px;
    font-family: ;
    margin-bottom: 20px;
}

hr {
    border: 0; /* Hapus border default */
    border-top: 0.5px solid rgb(212, 212, 212); /* Atur ketebalan border */
}

h3 {
    font-size: 0.75rem;
    margin-top: 20px;
    color: #919191;
}

.tombol {
    position: fixed;
    left: 50%; /* Posisikan header di tengah relatif terhadap viewport */
    transform: translateX(-50%); /* Geser ke kiri setengah dari lebarnya */
    margin: 0 auto!important;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    background-color: #ffffff; /* Tambahkan latar belakang agar tombol terlihat jelas */
    text-align: center;
    padding: 10px 10px; /* Beri sedikit ruang pada tombol */
    box-shadow: 0 0px 5px rgba(124, 124, 124, 0.1); /* Tambahkan bayangan untuk memisahkan dari konten di atas */
}

.buy-now {
    background: linear-gradient(135deg, #28a745, #20c997);
    width: 100%;
    max-width: 320px;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: ;
}

.buy-now:hover {
    background: linear-gradient(135deg, #218b3a, #189771);
}


/* Media Queries untuk tampilan handphone dan tablet */
@media (max-width: 768px) {
    .swiper-slide {
        height: 500px; /* Atur tinggi untuk tablet */
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        position: relative;
        height:361px;
        width: 361px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .swiper-container {
        max-width: 480px;
        width:100%;
    }
}