/* General Styles */
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
                        "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
                        sans-serif, Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
            color: #333;
        }
        
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 93%;
            height: 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            background-color: #000;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }
.homebg {
    background:url(../../web/img/coverm.webp) no-repeat center center fixed;
    background-size:cover;
    margin-top:-15px;
    height: 100vh;
}

.logo {
    /*width: 85%;*/
    margin-left: 0px;
    margin-top: 4px;
}
.logo img {
    margin-top:5px;
    width: auto;
    /*margin-left: 10px;*/
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: inherit;
}

.search-bar button {
    padding: 10px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    margin-left: 5px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 4px 0;
}

/* Slide Menu */
.slide-menu {
  position: fixed;
  top: 70px;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  z-index: 1000;
}

/* List */
.slide-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide-menu ul li {
  padding: 15px;
  border-bottom: 1px solid #eee;
  position: relative;
}

/* Link Style */
.slide-menu ul li a,
.slide-menu ul li button {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  font-size: 16px;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.slide-menu ul li a i,
.slide-menu ul li button i {
  margin-right: 10px;
}

/* Submenu */
.slide-menu ul li .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f9f9f9;
  padding-left: 10px;
  margin-left: 24px;
}

/* When submenu open */
.slide-menu ul li.open .submenu {
  max-height: 500px; /* cukup besar agar submenu terlihat penuh */
}

/* Submenu item */
.slide-menu ul li .submenu li {
  padding: 12px 0;
  border: none;
}

/* Responsive only for mobile */
@media (min-width: 769px) {
  .slide-menu {
    display: none;
  }
}
    
main {
    padding-top: 80px; /* Sesuaikan dengan tinggi fixed top menubar */
    padding-bottom: 70px; /* Sesuaikan dengan tinggi fixed footer menubar */
    /*background-color: #f4f4f4;*/
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: auto;
}

.product-card h3 {
    font-size: 16px;
    margin: 10px;
}

.product-card p {
    font-size: 14px;
    margin: 10px;
    color: #888;
}

.product-detail {
    /*background-color: #fff;*/
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.product-detail img {
    width: 100%;
    height: auto;
}

.description {
    
}
.judul {color:#000000;}
.loading {
    text-align: center;
    padding: 20px;
    display: none;
}

/* ----- */
.container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 10px;
            padding: 20px;
            justify-items: center;
        }
        .item {
            background-color: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        .item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }
        .item img {
            max-width: 100%;
            height: auto;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
        .item .keterangan {
            padding-top: 5px;
            padding-bottom: 15px;
            padding-left: 10px;
            padding-right: 10px;
            text-align: center;
        }
        .item h3 {
            margin-top: 0;
            margin-bottom: 0;
            font-size: 0.8rem;
            color: #333;
            line-height: 15px;
            /*font-weight: 500;*/
        }
        .item p {
            margin-top: -10px;
            margin-bottom: 10px;
            color: #0040ff;
        }
        .item .button {
            background-color: #4CAF50;
            border: none;
            color: white;
            padding: 10px 20px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .item .button:hover {
            background-color: #45a049;
            transform: translateY(-2px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .item .button i {
            margin-right: 5px;
        }

        .title {
            text-align: left;
            margin-bottom: 20px;
            margin-top: 20px;
            color: #333;
            font-size: 18px;
        }
        .title h1 {
            font-size: 1.5rem;
            margin-top: 0;
        }
        .title h2 {
            font-size: 1rem;
            margin-top: 0;
        }
        .title-produk {
            text-align: left;
            margin-bottom: 13px;
            margin-top: 13px;
            /*color: #333;*/
            font-size: 18px;
            line-height: 18px;
        }
        .title-kategori {
            text-align: left;
            margin-bottom: 0px;
            margin-top: 20px;
            color: #333;
            font-size: 14px;
        }
        .title-search {
            text-align: left;
            margin-bottom: 10px;
            margin-top: 5px;
            color: #333;
            font-size: 16px;
        }
        .text-center {
            text-align: center;
        }
        
        .box-to-order {
            background:#b600ff;color:#fff;padding:10px;border-radius:10px;text-align:center;line-height:18px;
        }

.img-fluid {
    width: 100%;
}
/* Main Content */
.content {
    padding-left: 20px; /* Sesuaikan dengan tinggi fixed top menubar */
    padding-right: 20px; /* Sesuaikan dengan tinggi fixed footer menubar */
}
.banner {
    margin-top:-13px;
}
.price {
    font-weight: bold;
    color:blue;
}

/* Footer Styles */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

footer a {
    text-decoration: none;
    color:#000;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

footer a i {
    font-size: 20px;
    margin-bottom: 5px;
}

footer a.center-icon {
    background-color: #b02a37;
    color: #fff;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

footer a.center-icon i {
    font-size: 24px;
    margin-bottom: 0;
}

footer a span {
    font-size: 12px;
}

/* Dark Mode */
.tonggle {
    background:0;
    font-size: 22px;
    border:none;
}
body {
    background-color: #ffffff;
    color: #000;
    transition: 0.3s ease;
}
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}
body.dark-mode a:link {
    color:#ffffff;
}
.btn {
    padding: 6px 12px;
    margin: 5px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background: #007bff;
    color: white;
}
body.dark-mode .btn {
    background: #444;
    color: #000;
}
body.dark-mode header {
    background-color: #000;
    color: #fff;
}
body.dark-mode .slide-menu {
    background-color: #212529;
    color: #fff;
}
body.dark-mode .btn {
    background: #0eb5f7;
}
body.dark-mode .slide-menu ul li a {
    color:#fff;
}
body.dark-mode .product-card {
    background-color: #555;
    color: #fff;
}
body.dark-mode .produk-item .harga {
    color:#30f70e;
}
body.dark-mode .judul {
    color:#ffffff;
}
body.dark-mode .title-kategori {
    color:#ffffff;
}
body.dark-mode .slide-menu ul li a, body.dark-mode .slide-menu ul li button {
    color: #ffffff;
}
body.dark-mode .slide-menu ul li .submenu {
    background-color: #2f2f2f;
}
body.dark-mode .box-to-order {
    background: #ffed00;
    color:#000000;
}
body.dark-mode .table-container {
    color:#547eb3;
}
body.dark-mode .benefit-box {
    color: #000000;
}
body.dark-mode .section {
    background: #2d2a24;
}
body.dark-mode .highlight {
    background: #796d53;
}
body.dark-mode .content h2 {
    color:#dce114;
}
body.dark-mode footer {
    background-color: #000; /*#444;*/
}
body.dark-mode footer a {
    color: #fff;
}
body.dark-mode footer a.center-icon {
    background: #30f70e;
}

/* Responsive Styles */
/* Media Query untuk tampilan mobile */
@media screen and (max-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-toggle {
        display: flex;
    }
    .slide-menu.active {
        left: 0;
    }
}

@media (min-width: 481px) { 
    .lup {
        margin-right: 40px;
    }
    .cari-input{
        width: 63%;
    }
    .img-fluid {
        width: 100%;
    }
}
@media (max-width: 480px) { 
    .lup {
        margin-right: 42px;
    }
    .cari-input{
        width: 58%;
    }
    .img-fluid {
        width: 100%;
    }
}
@media (max-width: 414px) { 
    .lup {
        margin-left: 0px;
        margin-right: 40px;
    }
    .cari-input{
        width: 57%;
    }
}
@media (max-width: 375px) { 
    .logo img {
        width: 100%;
        margin-left: 5px;
    }
    .lup {
        margin-left: 0px;
        margin-right: 40px;
    }
    .cari-input{
        width: 57%;
    }
}
@media (max-width: 360px) { 
    .logo img {
        width: 100%;
        margin-left: 5px;
    }
    .lup {
        margin-left: 0px;
        margin-right: 40px;
    }
    .cari-input{
        width: 57%;
    }
}