.icon-white {
    color: #fff;
}

.text-white {
    color: #fff;
}
.text-black {
    color: #000000;
}

.bold {
    font-weight: bold;
}

.link-active {
    color: #fff;
}

.bg-white {
    background-color: #fff;
}

.bg-black {
    background-color: #000000;
}

.btn-dark {
    background-color: #000000;
    border-color: #343a40;
    color: #fff;
}
.btn-dark:hover {
    background-color: #343a40;
    border-color: #343a40;
}

.icon-footer {
    font-size: 3.5rem;
    margin-right: 20px;
}

/* START: FLOATING BUTTON WHATSAPP */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    /* Warna latar belakang gelap */
    border-radius: 50%;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.whatsapp-button i {
    color: #000000;
    font-size: 3rem;
    line-height: 60px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button:hover i {
    color: #25d366;
}

/* END: FLOATING BUTTON WHATSAPP */


/* START SCROLL BAR GALLERY PICTURE IN PRODUCT SINGLE */
.gallery-container {
    position: relative;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Ensure gallery items stay in a single line */
}
.gallery-container::-webkit-scrollbar {
    width: 8px; /* Set the width of the scrollbar */
}

.gallery-container::-webkit-scrollbar-track {
    background: transparent; /* Set the background color of the scrollbar track */
}

.gallery-container::-webkit-scrollbar-thumb {
    background-color: rgba(98, 98, 98, 0.2); /* Set the color of the scrollbar thumb */
    border-radius: 4px; /* Set the border radius of the scrollbar thumb */
}

.gallery-container::-webkit-scrollbar-thumb:hover {
    background-color: rgb(255, 255, 255); /* Set the color of the scrollbar thumb on hover */
}


.gallery-item {
    margin-right: 10px; /* Add some spacing between gallery items */
}
/* END SCROLL BAR GALLERY PICTURE IN PRODUCT SINGLE */

/* Slider image with glide */
.glide__slide img {
    max-width: 100%;
    height: auto;
}

.blog-header-img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}
.overlay-header-blog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
}

.relative {
    position: relative;
}

.overlay-header-blog a {
    text-decoration: none; /* Menghilangkan garis bawah default dari hyperlink */
    color: inherit; /* Mengambil warna teks dari warisan */
    display: block; /* Membuat hyperlink menjadi blok agar dapat menempati ruang yang sama dengan teks overlay */
    padding-bottom: 10px; /* Menambahkan ruang di bawah teks overlay */
    z-index: 100; /* Menetapkan tumpukan z yang tinggi */
}

.icon-cart-container {
    position: relative;
    display: inline-block;
  }

  .icon-cart {
    font-size: 24px; /* Adjust icon size as needed */
    line-height: 1; /* Ensure proper alignment */
    color: #ffffff;
  }

  .cart-count {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px; /* Adjust font size as needed */
    color: #000000; /* Adjust text color as needed */
    font-weight: bold; /* Adjust font weight as needed */
  }

/* Toaster CSS */
.toaster {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

.toaster.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}


@media screen and (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-button i {
        font-size: 1.5rem;
        /* Ukuran ikon yang berubah untuk layar kecil */
        line-height: 50px;
        /* Ukuran ikon yang berubah untuk layar kecil */
    }
    .icon-galery-view {
        font-size: 1.5rem;
    }
    .blog-header-img {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .glide__slide img {
      max-width: 100%;
      max-height: 400px; /* Atur tinggi maksimum gambar */
      width: auto;
      height: auto;
    }
  }

  .dropdown a.nav-link {
    background-color: transparent !important;
    color: inherit !important;
    font-family: inherit;
    font-size: 14px;
}
.dropdown a.nav-link:hover,
.dropdown a.nav-link:focus,
.dropdown a.nav-link:active {
    background-color: white !important;
    color: black !important;
}
.dropdown-menu {
    background-color: black !important;
    color: inherit !important;
}


