.cursor {
    position: absolute;
    width: 30px; /* Lebar cursor */
    height: 30px; /* Tinggi cursor */
    border-radius: 50%; /* Membuat cursor berbentuk lingkaran */
    background-color: rgba(0, 122, 255, 0.8); /* Warna biru */
    box-shadow: 0 0 20px rgba(0, 122, 255, 1); /* Efek cahaya biru */
    pointer-events: none; /* Agar cursor tidak mengganggu interaksi dengan elemen lain */
    transform: translate(-50%, -50%); /* Mengatur posisi agar cursor terletak di tengah */
    z-index: 1;
    transition: transform 0.1s; /* Transisi untuk gerakan halus */
}

.trail {
    position: absolute;
    width: 40px; /* Lebar trail */
    height: 40px; /* Tinggi trail */
    border-radius: 50%; /* Membuat trail berbentuk lingkaran */
    background-color: rgba(0, 122, 255, 0.5); /* Warna biru */
    pointer-events: none; /* Agar trail tidak mengganggu interaksi */
    opacity: 0; /* Mulai dengan transparan */
    transition: opacity 0.4s, transform 0.4s; /* Transisi untuk efek fade dan gerakan */
    z-index: 21;
    transform: translate(-50%, -50%) scale(0.5); /* Kecil saat tidak terlihat */
}


body {
    font-family: Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    text-align: center;
    margin-top: 50px;
}

.light-theme {
    background-color: #000000;
    color: #ffffff;
}

.dark-theme {
    background-color: #ffffff;
    color: #000000;
}

.theme-toggle {
    font-size: 2rem;
    cursor: pointer;
    margin-top: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: black;
  color: #333;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Toko Status */
.store-status {
  background-color: #ffe0e0;
  color: #d9534f;
  text-align: center;
  padding: 12px;
  font-size: 0.9em;
  font-weight: bold;
}

.store-status.open {
  background-color: #00aaff;
  color: #28a745;
}

/* Header Profil Toko */
.store-header {
  background-color: transparent;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 20px;
  border: 3px solid #ffffff;
}

.store-header img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}

.store-info {
  flex: 1;
}

h1 {
    font-size: 1.4em; /* Ukuran font */
    font-weight: bold; /* Ketebalan font */
    text-align: center; /* Rata tengah */
    background: linear-gradient(45deg, #ffffff, #000000); /* Gradien */
    -webkit-background-clip: text; /* Memotong latar belakang ke teks */
    -webkit-text-fill-color: transparent; /* Mengisi warna teks dengan transparan */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Bayangan teks */
    animation: glow 1.5s infinite alternate; /* Animasi */
}

/* Animasi untuk efek cahaya */
@keyframes glow {
    0% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(135, 206, 250, 1), 0 0 30px rgba(0, 0, 0, 0.5);
    }
}

.store-info p {
  font-size: 0.9em;
  color: #888;
}

.store-info a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
}

/* Search Bar */
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 95%;
}

.search-bar input {
  width: 100%;
  height: 40px;
  padding: 10px 40px 10px 10px;
  border: 2px solid #ffffff;
  border-radius: 20px;
}

.search-bar .fa-search {
  position: absolute;
  right: 10px;
  color: #888;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  position: relative;
  border: 2px solid #000000;
}

.modal-content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 2px solid #ffffff;
}

.modal .product-info ul li {
  text-align: flex;
  color: black;
  font-weight: bold;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  color: #000000;
  cursor: pointer;
}

.modal .product-info h3 {
  font-size: 1.5em;
  text-align: center;
  font-weight: bold;
  color: #000000;
  margin-bottom: 10px;
}

.modal .product-info p {
  color: #000000;
  margin-bottom: 20px;
  font-size: 1em;
  font-weight: bold;
}

.modal .product-info .price {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  text-align: left;
}

.modal .add-to-cart {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s ease;
  width: 47%;
  text-align: center;
  cursor: pointer;
}

.modal .add-to-cart:hover {
  background-color: #ADD8E6;
}

.left-button {
  margin-right: 5px;
}

.right-button {
  margin-left: 5px;
}

.modal .add-to-cart i {
  margin-right: 8px;
  font-size: 1.2em;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}


ul {
  list-style-type: none;
  margin: 10px 0;
  padding: 0;
}

ul li {
  padding: 5px 0;
  border-bottom: 2px solid #000000;
  color: #000000;
  font-size: 16px;
  font-weight: bold;
}

button {
  display: block;
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 10px red(199, 21, 133, 0.8);
}

button:hover {
  background-color: #000000;
  box-shadow: 0px 4px 12px red(199, 21, 133, 0.5), 0px 4px 12px rgba(199, 21, 133, 0.5);
}
hr {
  border: 1px solid #000000;
  box-shadow: 0px 4px 12px red(199, 21, 133, 0.5), 0px 4px 12px rgba(199, 21, 133, 0.5);
}
.container {
    text-align: center;
    padding: 20px;
}
.container h1 {
    color: #000000;
    margin-bottom: 40px;
}
.scroll-container {
    overflow-x: auto;
    white-space: nowrap;
}
.panel {
    display: inline-block;
    background-color: #000000;
    border: 2px solid #ffffff;
    border-radius: 10px;
    width: 400px;
    margin: 10px;
    padding: 20px;
    box-sizing: border-box;
    vertical-align: top;
}
.panel h2 {
  color: #000000;
  font-size: 24px;
  margin-bottom: 20px;
}
.panel img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 2px solid #ffffff;
}
.panel p {
  color: #fff;
  font-size: 18px;
  margin: 10px 0;
  text-align: left;
}
.panel .price {
  font-size: 24px;
  color: #000000;
  margin: 20px 0;
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 5px;
}
.panel .buy-btn {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
}
.panel .buy-btn:hover {
  background-color: #000000;
}
.panel .feature {
  color: #ffffff;
  font-size: 18px;
  margin: 5px 0;
}

/* Gaya Umum untuk Footer */
.footer {
    background-color: #35424a; /* Warna latar belakang */
    color: #ffffff; /* Warna teks */
    padding: 20px; /* Padding di dalam footer */
    text-align: center; /* Teks di tengah */
}

.footer-content {
    max-width: 1200px; /* Lebar maksimum konten */
    margin: 0 auto; /* Pusatkan konten */
}

/* Gaya untuk Tautan di Footer */
.footer-links {
    margin-top: 10px; /* Jarak atas untuk tautan */
}

.footer-links a {
    color: #ffffff; /* Warna tautan */
    text-decoration: none; /* Menghilangkan garis bawah */
    margin: 0 15px; /* Jarak horizontal antar tautan */
}

.footer-links a:hover {
    text-decoration: underline; /* Garis bawah saat hover */
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .footer-content {
        padding: 10px; /* Padding lebih kecil di mobile */
    }

    .footer-links {
        display: block; /* Tampilkan tautan dalam blok */
        margin-top: 15px; /* Jarak atas untuk tautan */
    }

    .footer-links a {
        margin: 5px 0; /* Jarak vertikal antar tautan */
        display: block; /* Tautan ditampilkan dalam blok */
    }
}
