/* 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;
    min-height: 620px;
    margin: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
}

.logo {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.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;
}

/* =========================
   PRODUCT LIST
========================= */

.item-list {
    list-style: none;
    padding: 0;
    min-height: 620px;
    max-height: 620px;
    overflow-y: auto;
    border: 1px solid white;
    border-radius: 10px;
    background: white;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 5px;
    box-shadow: 0 4px 10px white;
    position: relative;
    top: -10px;
    margin-bottom: -65px;
}

.item-list::-webkit-scrollbar {
    width: 6px;
}

.item-list::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 10px;
}

.item-list::-webkit-scrollbar-track {
    background: transparent;
}

/* =========================
   CHECKOUT SYSTEM (TETAP)
========================= */

.hidden {
    display: none !important;
}

.checkout-mode .category-box,
.checkout-mode .slideshow,
.checkout-mode .toggle-buttons,
.checkout-mode .keranjang-btn,
.checkout-mode #itemList,
.checkout-mode .btn,
.checkout-mode .peringatan-teks,
.checkout-mode #last-modified,
.checkout-mode .katalog-title {
    display: none !important;
}

.checkout-mode #resultList,
.checkout-mode #headerTotal,
.checkout-mode #whatsappBtn,
.checkout-mode #backBtn,
.checkout-mode #pickupLabel,
.checkout-mode #pickupTime,
.checkout-mode #paymentLabel,
.checkout-mode #paymentMethod {
    display: block !important;
}

#resultList,
#headerTotal,
#whatsappBtn,
#backBtn,
#pickupLabel,
#pickupTime,
#paymentLabel,
#paymentMethod {
    display: none;
}

/* =========================
   ANIMASI CHECKOUT (BARU)
========================= */

@keyframes fadeInSmooth {
    from {
        opacity: 0;
        transform: translateX(40px);   /* dari kanan */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOutSmooth {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-40px);  /* ke kiri */
    }
}

.checkout-mode #resultList,
.checkout-mode #headerTotal,
.checkout-mode #whatsappBtn,
.checkout-mode #backBtn,
.checkout-mode #pickupLabel,
.checkout-mode #pickupTime,
.checkout-mode #paymentLabel,
.checkout-mode #paymentMethod {
    animation: fadeInSmooth 0.65s ease;
}

.checkout-mode #itemList,
.checkout-mode .category-box,
.checkout-mode .slideshow,
.checkout-mode .toggle-buttons,
.checkout-mode .keranjang-btn,
.checkout-mode .peringatan-teks {
    animation: fadeOutSmooth 0.6s ease;
}


/* =========================
   ANIMASI KEMBALI KE KATALOG
========================= */

@keyframes fadeInCatalog {
    from {
        opacity: 0;
        transform: translateX(-40px);  /* dari kiri */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOutCheckout {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(40px);  /* ke kanan */
    }
}

/* Saat kembali ke katalog */
body:not(.checkout-mode) #itemList,
body:not(.checkout-mode) .category-box,
body:not(.checkout-mode) .slideshow,
body:not(.checkout-mode) .toggle-buttons,
body:not(.checkout-mode) .keranjang-btn,
body:not(.checkout-mode) .peringatan-teks {
    animation: fadeInCatalog 0.95s ease;
}

/* Elemen checkout saat keluar */
body:not(.checkout-mode) #resultList,
body:not(.checkout-mode) #headerTotal,
body:not(.checkout-mode) #whatsappBtn,
body:not(.checkout-mode) #backBtn,
body:not(.checkout-mode) #pickupLabel,
body:not(.checkout-mode) #pickupTime,
body:not(.checkout-mode) #paymentLabel,
body:not(.checkout-mode) #paymentMethod {
    animation: fadeOutCheckout 0.9s ease;
}


/* =========================
   PRODUCT CARD
========================= */

.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;
}

.item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

.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%);
    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;
}

/* =========================
   PRODUCT CONTENT
========================= */

.product-wrapper {
    display: flex;
    align-items: center;
    margin-top: 14px;
    gap: 10px;
}

.item-image {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.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;
}

.item .deskripsi-teks {
    width: 100%;
    text-align: left;
    font-size: 11px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #374151; /* abu elegan */
    margin: 1px 0;
    padding-left: 10px;
    position: relative;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;  /* maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.item .deskripsi-teks::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 5px;
    height: 5px;
    background: #16a34a;
    border-radius: 50%;
}

.item-hidden {
    display: none;
}

/* =========================
   INPUT QUANTITY
========================= */
.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;
}

.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, transform 0.15s 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 {
    transform: translateY(-50%) scale(0.9);
}

.price-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    width: 100%;
}

.price-detail {
    flex: 1 1 calc(50% - 6px);  /* 2 kolom otomatis */
    max-width: calc(50% - 6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    box-sizing: border-box;
}

.price-min {
    font-size: 9.5px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 2px;
    white-space: nowrap;
}

.price-value {
    font-size: 11px;
    font-weight: 700;
    color: #15803d;
    white-space: nowrap;
}

.total {
    font-weight: bold;
    margin-top: 20px;
}

/* =========================
   BUTTON ANIMATION
========================= */

.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: scale(0.96);
}


/* 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;
            background-color: #000; /* Background hitam untuk ruang kosong */
        }

        .slide img {
            width: auto; /* Biarkan lebar menyesuaikan */
            height: auto; /* Biarkan tinggi menyesuaikan */
            max-width: 100%; /* Maksimal selebar container */
            max-height: 100%; /* Maksimal setinggi container */
            object-fit: contain; /* Gambar utuh tanpa potongan */
            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;
}


