* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Segoe UI", Arial, sans-serif; background: #eef1f6; color: #222; line-height: 1.6; }
a { color: #1a56db; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Banner */
.banner { background: linear-gradient(120deg, #0b132b, #1c2b5a 60%, #3a1c71); color: #fff; padding: 28px 0; text-align: center; }
.banner h1 { font-size: 2.6rem; letter-spacing: 2px; }
.banner h1 span { color: #00e5ff; }
.banner p { opacity: .85; }

/* Menu atas */
.menu { background: #111827; position: sticky; top: 0; z-index: 50; }
.menu ul { list-style: none; display: flex; }
.menu a { display: block; color: #e5e7eb; padding: 14px 18px; }
.menu a:hover, .menu a.aktif { background: #00b8d4; color: #00222b; text-decoration: none; }
.dropdown { position: relative; }
/* Sub menu: tersembunyi, muncul saat hover/fokus pada menu induk, tertutup saat mouse keluar.
   Selector diperkuat (.menu .sub) agar tidak kalah oleh ".menu ul { display:flex }" */
.menu .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; background: #1f2937; flex-direction: column; box-shadow: 0 6px 12px rgba(0,0,0,.25); }
.menu .dropdown:hover > .sub,
.menu .dropdown:focus-within > .sub { display: flex; }
.burger { display: none; width: 100%; background: none; border: 0; color: #fff; font-size: 1.1rem; padding: 14px 0; text-align: left; cursor: pointer; }

/* Layout */
.konten { display: grid; grid-template-columns: 1fr 300px; gap: 20px; padding-top: 20px; padding-bottom: 30px; }
.utama { min-width: 0; }
.judul-seksi { margin: 20px 0 12px; padding-left: 10px; border-left: 5px solid #00b8d4; }

/* Slider */
.slider { position: relative; height: 320px; border-radius: 10px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.slide.tampil { opacity: 1; }
.slide.g0 { background-color: #1c2b5a; background-image: linear-gradient(135deg, #1c2b5a, #00b8d4); }
.slide.g1 { background-color: #3a1c71; background-image: linear-gradient(135deg, #3a1c71, #d76d77); }
.slide.g2 { background-color: #0f766e; background-image: linear-gradient(135deg, #0f766e, #84cc16); }
.caption { width: 100%; padding: 20px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.caption h2 { font-size: 1.7rem; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.45); color: #fff; border: 0; width: 40px; height: 56px; font-size: 1.3rem; cursor: pointer; }
.nav.kiri { left: 0; } .nav.kanan { right: 0; }

/* Kartu */
.kartu { background: #fff; border-radius: 10px; padding: 18px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.kartu h3 { margin-bottom: 6px; }
.kartu ol { margin-left: 20px; }
.kartu.detail p, .kartu.detail { line-height: 1.8; }
.grid-berita { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-berita .kartu { margin-bottom: 0; }
.grid-produk { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.grid-produk .kartu { margin-bottom: 0; }
.kecil, small { color: #6b7280; font-size: .85rem; }
.lanjut { font-weight: 600; font-size: .9rem; }

/* Produk */
.produk { text-align: center; }
.label { display: inline-block; background: #e0f7fa; color: #006978; font-size: .75rem; padding: 2px 10px; border-radius: 20px; }
.harga { font-size: 1.5rem; font-weight: 700; color: #0f766e; margin: 6px 0; }
.tombol { display: inline-block; background: #00b8d4; color: #00222b; border: 0; padding: 10px 20px; border-radius: 6px; font-weight: 600; cursor: pointer; margin-top: 10px; font-size: 1rem; }
.tombol:hover { background: #00a0b8; text-decoration: none; }

/* Sidebar */
.kotak { background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.kotak h3 { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid #00b8d4; }
.daftar { list-style: none; }
.daftar li { padding: 8px 0; border-bottom: 1px dashed #d1d5db; }
.daftar li:last-child { border: 0; }
.kata blockquote { font-style: italic; font-size: 1.05rem; margin-bottom: 6px; }

/* Form */
form label { display: block; margin: 12px 0 4px; font-weight: 600; }
form input, form select { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; }
form.baris { display: flex; gap: 8px; }
form.baris .tombol { margin-top: 0; }
.galat { background: #fee2e2; color: #991b1b; padding: 10px; border-radius: 6px; margin-bottom: 8px; }
.sukses { background: #dcfce7; color: #166534; padding: 10px; border-radius: 6px; margin-bottom: 10px; }
.info { background: #fef9c3; padding: 10px; border-radius: 6px; margin: 12px 0; }
.tabel { width: 100%; border-collapse: collapse; margin-top: 8px; }
.tabel td { padding: 8px; border-bottom: 1px solid #e5e7eb; }
.tabel td:first-child { width: 40%; color: #6b7280; }
.status { padding: 2px 12px; border-radius: 20px; font-size: .85rem; font-weight: 600; }
.status.menunggu { background: #fef3c7; color: #92400e; }
.status.lunas { background: #dcfce7; color: #166534; }
.status.batal { background: #fee2e2; color: #991b1b; }

.footer { background: #111827; color: #9ca3af; text-align: center; padding: 18px 0; }

/* Responsif */
@media (max-width: 800px) {
  .konten { grid-template-columns: 1fr; }
  .grid-berita { grid-template-columns: 1fr; }
  .slider { height: 220px; }
  .caption h2 { font-size: 1.2rem; }
  .banner h1 { font-size: 2rem; }
  .burger { display: block; }
  .menu ul { display: none; flex-direction: column; }
  .menu ul.buka { display: flex; }
  .menu .sub { display: flex; position: static; background: #0b1220; box-shadow: none; }
  .menu .sub a { padding-left: 36px; }
  form.baris { flex-direction: column; }
}

/* Login / akun */
.kartu-kecil { max-width: 420px; }
.keluar { margin: 0; display: inline; }
.keluar button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.keluar button:hover { text-decoration: underline; }
.peringatan { background: #fff4e5; border: 1px solid #f5b971; color: #7a4a00; padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; }
.tabel-lebar { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabel-lebar th, .tabel-lebar td { border-bottom: 1px solid #e2e8f0; padding: 8px; text-align: left; }
.tabel-scroll { overflow-x: auto; }
