/*** Spinner Start ***/

body {
    overflow-x: hidden;
    background-color: #FFFFFF;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

     /* Menambahkan border pada layar besar */
     .brand-logo {
        border-right: 1px solid #000;
        padding-right: 10px;
    }

    /* Media query untuk layar mobile */
    @media (max-width: 767.98px) {
        .brand-logo {
            border-right: none; /* Hilangkan border di layar kecil */
        }
    }

 .back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px; /* Nilai default untuk desktop */
    z-index: 99;
    display: none; /* Sesuaikan untuk hanya tampil saat scrolling */
}

/* Hanya pada mode mobile (layar dengan lebar kurang dari 768px) */
@media (max-width: 767.98px) {
    .back-to-top {
        bottom: 90px; /* Bottom 90px pada mode mobile */
    }
}
/*** Spinner End ***/


/*** separator Start ***/
.separator {
    position: relative;
    text-align: center;
    margin: 20px 0;
    font-size: 12px;
    color: #999;
}

.separator::before, .separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.separator::before {
    left: 0;
}

.separator::after {
    right: 0;
}
/*** separator End ***/



/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

/* Tambahkan CSS untuk menyesuaikan logo di mobile */
@media (max-width: 768px) {
    .navbar-brand {
      display: flex;
      justify-content: center;
      margin-right: 0;
    }
  
    .navbar-brand img {
      height: 30px; /* Atur ukuran logo agar sesuai dengan layar kecil */
    }
  
    .navbar-collapse {
      justify-content: center;
    }
    
    /* Jika ingin mengatur visibilitas elemen lain di mobile */
    .navbar-nav {
      display: none; /* Sembunyikan navigasi jika diperlukan */
    }
  }
  

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}

.search-bar {
    background-color: white;
    border-radius: 50px;
    padding: 5px;
    max-width: 100%; /* Menggunakan lebar penuh */
    width: 100%; /* Buat agar menyesuaikan dengan container */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1200px) {
    .search-bar {
        min-width: 100px; /* Membuat lebih lebar di layar besar */
    }
}


.search-bar input::placeholder {
    color: #aaa;
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c3e50; /* Sesuaikan dengan warna tombol pencarian */
    border: none;
    width: 40px;
    height: 40px;
}

.btn-search i {
    color: white;
}

            @media (max-width: 767.98px) {
                body {
                    padding-bottom: 60px; /* Sesuaikan dengan tinggi navbar pada mode mobile */
                }
        
                .navbar.fixed-bottom {
                    height: 60px; /* Tentukan tinggi dari navbar pada mode mobile */
                }
            }

            
/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../img/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/cart-page-header-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
}

/* Mengatur border-radius pada carousel agar gambar tidak runcing */
.hero-header {
    border-radius: 15px; /* Membuat sudut melengkung */
}

/* Opsional: Tambahkan shadow untuk efek lebih lembut */
.hero-header {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Bayangan lembut */
}


/* Tombol tidak terlihat secara default pada desktop */
.prevs,
.nexts {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Tidak bisa diklik saat tidak terlihat */
}

/* Tombol muncul saat ada hover di desktop */
#heroCarousel:hover .prevs,
#heroCarousel:hover .nexts {
    opacity: 1;
    pointer-events: auto; /* Dapat diklik saat terlihat */
}

/* Hilangkan tombol pada mode mobile */
@media (max-width: 767.98px) {
    .prevs,
    .nexts {
        display: none; /* Hilangkan tombol di mode mobile */
    }
}

/* Posisi tombol */
.prevs,
.nexts {
    width: 50px;
    height: 50px;
    background-color: white; /* Background tombol menjadi putih */
    border-radius: 50%;
    border: 2px solid white;
    top: 60%;
    transform: translateY(-50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow halus */

}

.prevs {
    left: -48px; /* Posisi desktop */
}

.nexts {
    right: -48px; /* Posisi desktop */
}

/* Ikon berwarna hitam untuk "Previous" (kiri) */
.carousel-control-prev-icon {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); /* Panah ke kiri */
    width: 20px;
    height: 20px;
}

/* Ikon berwarna hitam untuk "Next" (kanan) */
.carousel-control-next-icon {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 1 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); /* Panah ke kanan */
    width: 20px;
    height: 20px;
}

/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);
    
}
/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px; 
    height: 130px; 
    top: -50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background-color: #38a3a5 !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important; 
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}
.fruite .fruite-item:hover {
    box-shadow: 0 0 55px rgba(31, 28, 28, 0.4);
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
}

.fruite-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fruite-item:hover {
    transform: scale(1.05);  /* Slightly increase the size */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Add a soft shadow */
}
/*** Fruits End ***/


/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.vesitable .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}
/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    margin-bottom: 0;
}
/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    display: inline-block;
}
  
.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}
  
.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}
  
.pagination a:hover:not(.active) {background-color: var(--bs-primary)}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/


/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/

.text-ellipsis {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style for the filter message */
.filter-message {
    background-color: #f0f4f8; /* Soft background color */
    padding: 12px 24px; /* Adjust padding for better spacing */
    border-radius: 6px; /* Smooth rounded corners */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Light shadow effect */
}

.filter-message p {
    font-size: 16px; /* Comfortable text size */
    font-weight: 400;
    color: #6c757d; /* Muted text color */
    margin: 0;
    line-height: 1.4;
}

.filter-message i {
    color: #007bff; /* Icon color */
    font-size: 18px; /* Slightly larger icon */
}

/* Style for the sorting dropdown */
.sorting-dropdown {
    background-color: #f8f9fa;
    padding: 8px 16px; /* Padding yang lebih proporsional */
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e3e6f0;
}

.sorting-dropdown label {
    font-size: 14px; /* Ukuran font lebih kecil agar muat dalam satu baris */
    font-weight: 500;
    color: #495057;
}

.sorting-dropdown select {
    font-size: 14px;
    color: #495057;
    padding: 6px;
    background-color: #ffffff;
    border-radius: 4px;
    width: 50%; /* Lebar yang lebih kecil agar label dan dropdown muat */
}



.gsac-btn {
    background-color: #ffc107; /* Warna kuning untuk tombol */
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%; /* Tombol penuh pada mobile */
}

.gsac-btn:hover {
    background-color: #ffca2c; /* Warna hover */
}

@media (min-width: 768px) {
    .gsac-btn {
        width: auto; /* Tombol menjadi lebar normal di desktop */
    }
}

.gsac-btn-close {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
}

.gsac-btn-close:hover {
    color: #555;
}


