/* File: indexfooter.css */
      .footer {
          background-color: #4CAF50;
          color: #eee;
          padding: 20px;
          font-size: 12px;
          border-radius: 10px;
          max-width: 360px;
          margin: 10px auto 0;
          text-align: center;
      }

      .footer p {
          margin: 8px 0;
          line-height: 1.4;
      }

      .footer a {
          color: #eee;
          text-decoration: none;
      }

      .footer a:hover {
          text-decoration: underline;
      }

      .footer-visit-stats {
          margin: 12px 0;
          padding-top: 10px;
          border-top: 1px solid rgba(255, 255, 255, 0.3);
          font-size: 12px;
          color: #eee;
          display: flex;
          justify-content: center;
          gap: 20px;
          /* jarak antar item */
          flex-wrap: wrap;
          /* biar kalau kecil layar bisa turun baris */
      }

      .footer-visit-stats p {
          margin: 0;
          /* hapus margin default supaya rapi */
          line-height: 1.4;
      }

      /* Supaya label kuat di bold */
      .footer-visit-stats p strong {
          font-weight: 600;
      }

      .footer .copyright {
          font-size: 11px;
          color: #eee;
          margin-top: 15px;
      }

      /* Responsif untuk layar kecil */
      @media screen and (max-width: 378px) {
          .footer {
              font-size: 11px;
              max-width: 320px;
          }
          .footer-visit-stats{
              font-size: 11px;
          }
      }

      @media screen and (max-width: 320px) {
          .footer {
              font-size: 9px;
              max-width: 260px;
          }
          .footer-visit-stats{
              font-size: 9px;
          }
      }

/* File: indexheader.css */
        header {
            background-color: #4CAF50;
            /* Green color for the theme */
            padding: 20px;
            /* Adjust padding to give space */
            max-width: 360px;
            margin: auto;
            margin-bottom: 5px;
            border-radius: 10px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 20px;
            max-height: 20px;
            /* Set max height of header */
            position: sticky;
            /* Make the header sticky */
            top: 0;
            /* Position at the top of the screen */
            z-index: 1000;
            /* Ensure it stays on top of other elements */
        }

        header img {
            max-width: 100%;
            height: auto;
            /* Adjust image size to fit header */
            max-height: 40px;
            /* Ensure image fits within 40px of header height */
            margin-left: -25px;
        }

        .header-total {
            font-size: 25px;
            font-weight: bold;
            color: white;
            margin-right: 20px;
            float: right;
            /* Menempatkan total di sebelah kanan header */
            padding: 10px;
        }

        .category-box {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-top: 5px;
            margin-bottom: 5px;
            align-items: center;
            position: relative;
            /* Ensuring elements align properly */
        }

        /* Adjust position of the category dropdown when sidebar button is added */

        .category-dropdown {
            background-color: white;
            color: green;
            padding: 6px 10px;
            border-radius: 3px;
            border: none;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
            width: 180px;
            margin-left: -25px;
            /* Shifted to the right to make space for the sidebar button */
        }

        .keranjang-btn {
            padding: 8px;
            background-color: white;
            color: green;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            width: 40px;
            height: 40px;
            /* Smaller button size */
            margin-top: 5px;
            /* Adjust to prevent overflow */
        }

        .keranjang-btn i {
            font-size: 18px;
            /* Adjust the size of the icon */
        }

        .quantity-badge {
            position: absolute;
            top: -10px;
            right: -8px;
            background-color: yellow;
            color: green;
            border-radius: 50%;
            padding: 4px;
            font-size: 10px;
            font-weight: bold;
            min-width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        /* Sidebar default style (tersembunyi) */

        .sidebar {
            height: 0;
            /* Mulai dengan tinggi 0 (tersembunyi) */
            width: 100%;
            /* Lebar 100% untuk mengikuti lebar header */
            max-width: 400px;
            /* Sesuaikan dengan lebar header */
            max-height: 300px;
            position: fixed;
            top: 65px;
            left: 50%;
            /* Posisikan di tengah */
            border-radius: 10px;
            transform: translateX(-50%);
            /* Sesuaikan posisi ke tengah */
            background-color: #4CAF50;
            /* Warna hijau gelap untuk sidebar */
            overflow: hidden;
            /* Sembunyikan konten yang ada di luar sidebar */
            transition: height 0.3s ease;
            /* Animasi untuk perubahan tinggi */
            z-index: 1000;
            /* Agar sidebar selalu di atas konten */
            text-align: left;
        }

        /* Konten dalam sidebar */

        .sidebar a {
            padding: 15px 20px;
            text-decoration: none;
            font-size: 22px;
            color: #F1F1F1;
            /* Warna terang untuk teks link */
            display: block;
            transition: 0.3s;
        }

        /* Efek hover pada link sidebar */

        .sidebar a:hover {
            color: #4CAF50;
            /* Hijau terang saat hover */
            background-color: #3B7A4A;
            /* Hijau lebih gelap saat hover */
        }

        /* Tombol untuk menutup sidebar */

        .sidebar .close-btn {
            position: absolute;
            top: 10px;
            right: 25px;
            font-size: 36px;
            color: #F1F1F1;
            /* Warna terang untuk tombol close */
            margin-left: 50px;
            cursor: pointer;
        }

        /* Sidebar terbuka (dengan ketinggian penuh) */

        .sidebar.open {
            height: 100%;
            /* Sidebar terbuka penuh */
        }

        /* Tombol untuk membuka sidebar */

        .sidebar-btn {
            font-size: 12px;
            background-color: #4CAF50;
            /* Warna hijau terang untuk tombol */
            color: white;
            border: none;
            border-radius: 5px;
            padding: 10px 20px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        /* Efek hover pada tombol */

        .sidebar-btn:hover {
            color: green;
            background-color: white;
            border-radius: 5px;
        }
        
        @media screen and (max-width: 378px) {
        header img {
            max-width: 70%;
            height: auto;
            /* Adjust image size to fit header */
            max-height: 40px;
            /* Ensure image fits within 40px of header height */
            margin-left: -15px;
        }
        .sidebar-btn {
            font-size: 11px;
            background-color: #4CAF50;
            /* Warna hijau terang untuk tombol */
            color: white;
            border: none;
            border-radius: 5px;
            padding: 8px 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        }
        
        @media screen and (max-width: 328px) {
        header img {
            max-width: 50%;
            height: auto;
            /* Adjust image size to fit header */
            max-height: 40px;
            /* Ensure image fits within 40px of header height */
            margin-left: -15px;
        }
        .sidebar-btn {
            font-size: 9px;
            background-color: #4CAF50;
            /* Warna hijau terang untuk tombol */
            color: white;
            border: none;
            border-radius: 5px;
            padding: 6px 12px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        }

/* File: indexmainbaru.css */
    .container {
        max-width: 360px;
        /* Batas maksimum lebar kontainer */
        min-height: 620px;
        margin: auto;
        /* Memusatkan kontainer */
        background: white;
        /* Warna latar belakang kontainer */
        border-radius: 8px;
        /* Sudut melengkung untuk kontainer */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        /* Bayangan untuk efek kedalaman */
        padding: 20px;
        /* Padding dalam kontainer */
        position: relative;
        /* Menjadikan kontainer posisi relatif */
    }

    .logo {
        max-width: 50%;
        /* Mengatur lebar maksimum logo */
        height: auto;
        /* Mempertahankan rasio aspek logo */
        display: block;
        /* Membuat logo sebagai elemen blok */
        margin: 0 auto;
        /* Memusatkan logo secara horizontal */
    }

    .peringatan-teks {
        background-color: #fff3cd;
        color: #856404;
        border: 1px solid #ffeeba;
        padding: 12px 18px;
        border-radius: 6px;
        font-size: 11px;
        text-align: center;
        max-width: 600px;
        font-family: 'Segoe UI', sans-serif;
    }

    .peringatan-teks .icon {
        margin-right: 8px;
    }

    /* CSS Produk List */

    .item-list {
        list-style: none;
        /* Menghilangkan bullet point pada list */
        padding: 0;
        /* Menghapus padding pada list */
        min-height: 620px;
        max-height: 620px;
        /* Tinggi maksimum dari list */
        overflow-y: auto;
        /* Menambahkan scroll vertikal jika konten melebihi tinggi maksimum */
        border: 1px solid white;
        /* Border pada list */
        border-radius: 10px;
        /* Sudut melengkung pada list */
        background: white;
        /* Warna latar belakang list */
        display: grid;
        /* Menggunakan grid untuk menata item */
        grid-template-columns: repeat(2, 1fr);
        /* Membuat 2 kolom dalam grid */
        gap: 10px;
        /* Jarak antar item */
        padding: 5px;
        /* Padding sekitar list */
        box-shadow: 0 4px 10px white;
        /* Memberikan bayangan lembut pada list */
        position: relative;
        /* Memastikan item-list berada di posisi tetap */
        top: -10px;
        margin-bottom: -110px;
        /* Menghilangkan margin tambahan */
    }

    .item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 12px;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        text-align: center;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        transition: box-shadow 0.25s ease, transform 0.25s ease;
        min-width: 110px;
        max-width: 160px;
        max-height: 260px;
    }

    .item:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .item[data-jenis-produk="Kartu"]::before,
    .item[data-jenis-produk="Voucher"]::before {
        content: attr(data-jenis-produk);
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(0%);
        background: linear-gradient(135deg, #a8e063, #56ab2f);
        color: #f0f0f0;
        font-size: 12px;
        font-weight: 700;
        font-family: 'Roboto', sans-serif;
        width: 80px;
        height: 20px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        white-space: nowrap;
        pointer-events: none;
        user-select: none;
        z-index: 15;
    }

    /* Wrapper Gambar + Info */
    .product-wrapper {
        display: flex;
        align-items: center;
        margin-top: 14px;
        gap: 10px;
    }

    /* Gambar Produk */
    .item-image {
        width: 52px;
        height: 52px;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

    /* Nama Produk */
    .item span {
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        font-weight: 600;
        text-align: right;
        color: #333;
        letter-spacing: -0.3px;
        line-height: 1.3;
    }

    /* Deskripsi */
    .item .deskripsi-teks {
        text-align: left;
        width: 100%;
        font-size: 11.5px;
        font-family: 'Roboto', sans-serif;
        color: #28a745;
        margin-top: 4px;
        margin-bottom: 2px;
        font-weight: 500;
        letter-spacing: -0.2px;
        line-height: 1.2;
    }

    .item-hidden {
        display: none;
        /* Menyembunyikan elemen */
    }

    .input-container {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        margin: 8px 0;
        width: 100%;
        max-width: 220px;
    }

    input {
        width: 100%;
        height: 36px;
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        color: #1f2937;
        border: 1.5px solid #28a745;
        border-radius: 8px;
        background-color: #f9f9f9;
        padding: 0 40px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    input:focus {
        border-color: #218838;
        box-shadow: 0 0 6px rgba(33, 136, 56, 0.3);
    }

    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input[type="number"] {
        -moz-appearance: textfield;
    }

    /* Tombol + dan - versi ramping */
    .quantity-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: #e6f4ec;
        color: #28a745;
        border: 1px solid #b7e3c6;
        font-size: 18px;
        border-radius: 6px;
        width: 28px;
        height: 28px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }

    .quantity-btn:first-of-type {
        left: 6px;
    }

    .quantity-btn:last-of-type {
        right: 6px;
    }

    .quantity-btn:hover {
        background-color: #d4f1e1;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    }

    .quantity-btn:active {
        background-color: #c4e7d4;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
    }


    .price-detail {
        display: inline-block;
        /* Membuat elemen tampil menyamping */
        margin-right: 0.8px;
        /* Spasi di sebelah kanan */
        margin-bottom: 0.8px;
        /* Jarak di bawah detail harga */
        font-size: 0.6em;
        /* Ukuran font lebih kecil untuk detail harga */
        color: #555;
        /* Warna teks detail harga */
        padding: 1px 2px;
        /* Padding di dalam detail harga */
        border: none;
        /* Menghilangkan border */
        border-radius: 5px;
        /* Sudut melengkung pada detail harga */
        background-color: #f9f9f9;
        /* Warna latar belakang untuk detail harga */
        margin-top: 1px;
        /* Jarak atas untuk detail harga */
    }


    .total {
        font-weight: bold;
        /* Menebalkan teks total */
        margin-top: 20px;
        /* Margin atas untuk total */
    }

/* File: indexresultlist.css */
/* Container utama hasil */
.result-list {
    margin-top: -30px;
    margin-bottom: 20px;
    border-top: 2px solid #4CAF50;
    border-bottom: 2px solid #4CAF50;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 150px;
    max-height: 500px;
    overflow-y: auto;
}

/* Judul Daftar */
.result-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    color: #333;
    position: relative; /* dibutuhkan untuk positioning ::after */
}

.result-title::after {
    content: '';
    display: block;
    width: 280px;
    height: 2px;
    margin: 8px auto 0; /* agar berada di tengah dan punya jarak atas */
    background: linear-gradient(to right, transparent, #4CAF50, transparent);
}


.empty-cart-message {
    text-align: center;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.4);
    margin-top: 40px;
    font-size: 16px;
}

/* Setiap item hasil */
.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background-color: #fff;
    font-family: 'Arial', sans-serif;
    gap: 12px; /* Jarak antara teks dan tombol delete */
}


/* Konten teks dalam item */
.result-item span {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    flex: 1; /* Ambil ruang maksimum */
    word-break: break-word; /* Supaya teks panjang tidak overflow */
}

/* Tombol hapus */
.delete-btn {
    color: #ff4d4d;
    cursor: pointer;
    font-size: 16px;
    background-color: transparent;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Jangan mengecil jika ruang sempit */
    transition: color 0.3s ease;
    margin-left: 8px;
}

.delete-btn:hover {
    color: #ff1a1a;
}

/* Kuantitas bisa diedit */
.editable-quantity {
    color: #007bff;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
    font-size: 15px;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    padding: 3px 6px;
    display: inline-block;
    margin-top: 4px;
    background-color: #f0fff5;
}

.editable-quantity:hover {
    background-color: #e6f9ee;
    border-color: #45a049;
}

/* Style untuk modal (pop-up) */

.modaleditquantity {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.modaleditquantity .modal-contenteditquantity {
    background-color: #ffffff;
    border: 4px solid #4CAF50;
    padding: 25px 30px;
    border-radius: 10px;
    text-align: center;
    min-width: 320px;
    max-height: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeInScale 0.3s ease-in-out;
}
@media (max-width: 378px) {
  .modaleditquantity .modal-contenteditquantity {
    width: 75%;
    padding: 20px;
    max-height: 50%; /* Allow more height on small screens */
    border-width: 3px;
  }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modaleditquantity .close-btneditquantity {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    font-weight: bold;
    color: #64748b; /* Soft gray-blue */
    background-color: #f1f5f9; /* Light neutral */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modaleditquantity .close-btneditquantity:hover {
    background-color: #e2e8f0; /* Slightly darker */
    color: #1e293b; /* Darker text */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.modaleditquantity buttoneditquantity {
    width: 55%;
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(to right, #16a34a, #15803d); /* Hijau segar & dalam */
    box-shadow: 0 6px 14px rgba(22, 163, 74, 0.3); /* Bayangan hijau lembut */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Style khusus untuk elemen quantity yang dapat diedit dalam modal */
.modaleditquantity-title {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b; /* Warna teks gelap elegan */
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', sans-serif;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    width: 100%;
}

.modaleditquantity .quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 12px;
}

.modaleditquantity .quantity-controls button {
    background: linear-gradient(to bottom, #e2e8f0, #cbd5e1);
    border: none;
    padding: 10px 16px;
    font-size: 20px;
    font-weight: bold;
    color: #1e293b;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background 0.3s ease, transform 0.2s ease;
}

.modaleditquantity .quantity-controls button:hover {
    background: linear-gradient(to bottom, #cbd5e1, #94a3b8);
    transform: translateY(-2px);
}

.modaleditquantity #newQuantity {
    width: 80px;
    padding: 10px 14px;
    font-size: 18px;
    font-weight: 500;
    color: #0f172a;
    text-align: center;
    background-color: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease;
}

.modaleditquantity #newQuantity:focus {
    border-color: #3b82f6;
    outline: none;
}

/* Style css akhir untuk Preview List */

/* Style css awal jam ambil,metode pembayaran, button */
        #pickupTime {
            margin-left: 0px;
            width: 360px;
            padding: 12px 16px;
            margin-top: 5px;
            font-size: 14px;
            font-weight: bold;
            border: none;
            border-left: 2px solid #4CAF50;
            border-right: 2px solid #4CAF50;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border-radius: 6px;
            background-color: #fff;
            color: #333;
            outline: none;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7l5-5 5 5' stroke='%23333' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 12px;
            cursor: pointer;
        }
        
        /* Tambahkan media query untuk layar kecil */
        @media screen and (max-width: 400px) {
            #pickupTime {
                width: 100%;
                padding: 12px;
                font-size: 13px;
                background-position: right 8px center;
            }
        }

        .custom-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.3);
            z-index: 999;
        }

        .custom-modal-overlay.active {
            display: block;
        }

        .custom-pickup-modal {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: auto;
            background: #fff;
            border-top-left-radius: 16px;
            border-top-right-radius: 16px;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            overflow-y: auto;
            touch-action: none;
            transition: transform 0.3s ease;
        }

        .custom-pickup-modal.active {
            display: block;
        }

        .custom-pickup-option {
            padding: 14px 20px;
            border-bottom: 1px solid #eee;
            font-size: 16px;
            text-align: center;
            cursor: pointer;
        }

        .custom-pickup-option:hover {
            background-color: #f5f5f5;
        }

        .modal-arrow {
            width: 25%;
            height: 4px;
            background-color: #ccc;
            margin: 16px auto 16px auto;
            border-radius: 2px;
            cursor: pointer;
            user-select: none;
        }


        /* Animasi slideUp dan slideDown */
        @keyframes slideUp {
            from {
                transform: translateY(100%);
            }

            to {
                transform: translateY(0);
            }
        }

        @keyframes slideDown {
            from {
                transform: translateY(0);
            }

            to {
                transform: translateY(100%);
            }
        }

        .custom-pickup-modal.slide-up {
            animation: slideUp 0.3s ease forwards;
        }

        .custom-pickup-modal.slide-down {
            animation: slideDown 0.3s ease forwards;
        }

#paymentMethod {
    display: none;
    width: auto;
    padding: 16px 8px;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#paymentMethod label img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Baris tiap metode pembayaran */
#paymentMethod label {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    border-left: 2px solid #4CAF50;
    border-right: 2px solid #4CAF50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 12px 16px;
    margin: -8px;
}

#paymentMethod label:hover {
    background-color: #f0fff4;
    cursor: pointer;
    transform: scale(1.02);
    transition: all 0.2s ease-in-out;
}

/* Radio button */
#paymentMethod input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #15803d; /* Hijau tua */
    flex-shrink: 0;
}

.btn {
    background-color: #4CAF50;
    /* Warna latar belakang tombol */
    color: white;
    /* Warna teks tombol */
    border: none;
    /* Menghapus border tombol */
    padding: 10px 15px;
    /* Padding dalam tombol */
    border-radius: 5px;
    /* Sudut melengkung pada tombol */
    cursor: pointer;
    /* Menunjukkan kursor tangan saat hover */
    margin-top: 10px;
    /* Margin atas untuk tombol */
    width: 100%;
}

.btn:hover {
    background-color: #45a049;
    /* Warna saat hover pada tombol */
}

/* Layout untuk button-container */

.button-container {
    display: flex;
    /* Mengatur tombol agar berada di sebelah-sebelah */
    align-items: center;
    /* Menjaga tombol tetap sejajar secara vertikal */
    justify-content: flex-start;
    /* Tombol di-align ke kiri, sesuaikan jika ingin di tengah atau kanan */
}

/* Memberi jarak antar tombol */

.button-container .btn {
    margin-right: 10px;
    /* Memberi jarak antara tombol */
}
/* Style css akhir jam ambil,metode pembayaran, button */






/* File: slideshow.css */
        .slideshow-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .slideshow {
            position: relative;
            width: 360px;
            height: 120px;
            overflow: hidden;
            border-radius: 12px;
            background-color: #000;
            user-select: none;
            touch-action: pan-y;
        }

        .slides {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease;
        }

        .slide {
            min-width: 100%;
            height: 100%;
            flex-shrink: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            pointer-events: auto;
        }

        .loading-bar-container {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 5px;
            width: 100%;
            background: rgba(255, 255, 255, 0.2);
        }

        .loading-bar {
            height: 100%;
            width: 0%;
            background: #0cf734;
            transition: width 0.1s linear;
        }

        /* Indikator dots */
        .slideshow-dots {
            position: absolute;
            top: 5px; /* tampil di atas loading bar */
            right: -140px;
            width: 100%;
            text-align: center;
            z-index: 2;
        }

        .slideshow-dot {
            height: 12px;
            width: 12px;
            margin: 0 2px;
            background-color: #ffffff;
            border-radius: 50%;
            display: inline-block;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .slideshow-dot.active {
            background-color: #0cf734;
        }
        
        @media (max-width: 378px) {
        .slideshow {
            width: 100%;
            height: 100px; /* bisa disesuaikan */
        }

        .slideshow-dots {
            right: -120px; /* supaya dots tidak keluar layar */
            top: 2px;
            text-align: center;
        }

        .slideshow-dot {
            height: 10px;
            width: 10px;
            margin: 0 2px;
         }
        }
        
        @media (max-width: 328px) {
        .slideshow {
            width: 100%;
            height: 85px; /* bisa disesuaikan */
        }

        .slideshow-dots {
            right: -100px; /* supaya dots tidak keluar layar */
            top: 1px;
            text-align: center;
        }

        .slideshow-dot {
            height: 8px;
            width: 8px;
            margin: 0 1px;
         }
        }
    


/* File: toggleoption.css */
.toggle-buttons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 360px;
    gap: 6px;
    padding-bottom: 6px;
    position: relative;
    scrollbar-width: none; /* Firefox */
}

.toggle-buttons::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.toggle-button {
    flex: 0 0 auto;
    white-space: nowrap;
    background: transparent;
    color: #2f4f2f; /* hijau gelap elegan */
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 6px 6px 0 0;
    letter-spacing: 0.02em;
    user-select: none;
    transition: 
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.toggle-button:hover {
    color: #3d7c2c;
    background: rgba(168, 224, 99, 0.1);
    border-bottom-color: #3d7c2c;
}

.toggle-button.active {
    color: #ffffff;
    background: linear-gradient(135deg, #a8e063, #56ab2f);
    border-bottom: 3px solid #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.4);
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px 10px;
    z-index: 1;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    color: #2e7d32;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.scroll-btn:hover {
    background: #2e7d32;
    color: white;
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.scroll-btn.hidden {
    opacity: 0;
    pointer-events: none;
}


