body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
    transition: all 0.3s ease;
  }
  
  body.dark {
    background-color: #1e1e1e;
    color: white;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #eee;
  }
  
  body.dark header {
    background-color: #333;
  }
  
  #toggle-dark {
    padding: 0.5rem 1rem;
    cursor: pointer;
  }
  
  .grid {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #eaeaea; /* abu-abu lembut */
    border: 2px solid #007bff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: border 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* biar semua card sama tinggi */
  }
  
  .card:hover,
  .card:focus-within {
    border-color: #a855f7; /* ungu saat hover/fokus */
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.5);
  }
  
  body.dark .card {
    background-color: #2c2c2c;
  }
  
  .card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
  }
  
  .card .content {
    padding: 1rem;
    flex-grow: 1; /* isi konten bisa melebar */
  }
  
  .card-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* garis tipis pemisah */
    background-color: transparent;
  }
  
  .card-footer button {
    width: 100%;
    padding: 0.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .card-footer button:hover {
    background-color: #6f42c1; /* ungu saat hover */
  }
  
  body.dark .card-footer button:hover {
    background-color: #9b59b6;
  }
  
  
  .popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .popup.hidden {
    display: none;
  }
  
  .popup-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
  }
  
  body.dark .popup-content {
    background: #2c2c2c;
    color: #ffffff;
  }
  
  .popup-content button {
    margin: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
  }
  
  .popup-content button:hover {
    background-color: #45a049;
  }
  
  
  #kontak-buttons a {
    display: block;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #28a745;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
  }
  @media (min-width: 1024px) {
    .grid {
      grid-template-columns: repeat(6, 1fr); /* max 6 di desktop */
    }
  }
  
  @media (max-width: 768px) {
    .grid {
      grid-template-columns: repeat(2, 1fr); /* 2 per baris di HP */
      #store-title {
        font-size: 2.5rem;
      }
    }
  }
  #store-title {
    font-size: 2rem;         /* Atur ukuran teks */
    font-weight: bold;       /* Tebalkan */
    color: inherit;          /* Warna ikut mode (light/dark) */
  }
  .footer {
    background-color: #5f5c5fd2; /* abu-abu netral */
    color: #000; /* teks tetap terbaca */
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.9rem;
  }
  
  .footer a {
    color: #007bff; /* warna link */
    text-decoration: none;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }
  
  .footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
