/* ===================================================== */
/* GLOBAL RESET & DASAR                                  */
/* ===================================================== */
* {
  box-sizing: border-box;
}

body {
  background: #000;
  margin: 0;
  padding: 20px 0;
  font-family: Arial, sans-serif;
  color: #fff;
  text-align: center;
}

/* ===================================================== */
/* CONTAINER UTAMA (SEMUA HALAMAN SAMA)                  */
/* ===================================================== */
.container {
  width: 90%;
  max-width: 400px;
  background: #111;
  padding: 20px;
  margin: 0 auto 40px auto;

  border: 3px solid #FFEB99;
  border-radius: 15px;

  box-shadow:
    0 0 10px #FFEB99,
    0 0 25px #FFEB99,
    0 0 50px rgba(255,235,153,.6);

  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%,100% {
    box-shadow:
      0 0 10px #FFEB99,
      0 0 25px #FFEB99,
      0 0 50px rgba(255,235,153,.6);
  }
  50% {
    box-shadow:
      0 0 25px #FFEB99,
      0 0 50px #FFEB99,
      0 0 80px rgba(255,235,153,.8);
  }
}

/* ===================================================== */
/* JUDUL                                                 */
/* ===================================================== */
h1 {
  color: #FFEB99;
  text-shadow: 0 0 20px #FFEB99;
  margin-bottom: 12px;
}

.subtitle {
  color: #FFEB99;
  font-size: 15px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #FFEB99;
}

/* ===================================================== */
/* GRID PRODUK                                           */
/* ===================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

/* ===================================================== */
/* CARD PRODUK                                           */
/* ===================================================== */
.product-card {
  background: #000;
  padding: 8px;
  border-radius: 12px;
  box-shadow: inset 0 0 10px #FFEB99;
}

.product-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 0 12px rgba(255,235,153,.8);
}

.product-name {
  color: #FFEB99;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 0 8px #FFEB99;
}

.product-desc {
  font-size: 11px;
  color: #ccc;
  margin-bottom: 8px;
}

/* ===================================================== */
/* BUY BUTTON (TIKTOK / SHOPEE)                           */
/* ===================================================== */
/* 👉 KECIL / BESAR tombol beli diatur di padding & font */
.buy-btn {
  display: block;
  width: 100%;
  padding: 7px 0;          /* ⬅ tinggi tombol beli */
  margin-bottom: 6px;
  border-radius: 18px;

  background: #000;
  color: #FFEB99;
  font-size: 12px;         /* ⬅ ukuran teks beli */
  text-decoration: none;

  box-shadow:
    0 0 8px #FFEB99,
    inset 0 0 8px rgba(255,235,153,.45);
}

.buy-btn:active {
  background: #fff3a1;
  color: #000;
  transform: scale(.95);
}

/* ===================================================== */
/* NAV BUTTON GROUP (BACK & HOME)                        */
/* ===================================================== */
.nav-group {
  display: flex;
  gap: 6px;                /* ⬅ jarak antar tombol */
  margin-top: 25px;
}

/* ===================================================== */
/* NAV BUTTON (BACK & HOME)                              */
/* ===================================================== */
/*
  🔧 PENGATURAN UTAMA TOMBOL HOME & BACK
  - padding  : tinggi tombol
  - max-width: lebar tombol
  - font-size: ukuran teks
*/
.nav-btn {
  flex: 1;
  max-width: 150px;        /* ⬅ samakan lebar di semua halaman */
  margin: 0 auto;

  padding: 8px 0;          /* ⬅ tinggi tombol */
  border-radius: 22px;

  background: #000;
  color: #FFEB99;
  font-size: 13px;         /* ⬅ ukuran teks */

  text-decoration: none;
  text-align: center;

  box-shadow:
    0 0 8px #FFEB99,
    inset 0 0 8px rgba(255,235,153,.45);

  transition: transform .15s ease;
}

.nav-btn:active {
  background: #fff3a1;
  color: #000;
  transform: scale(.95);
}