/* ===== RESET & GLOBAL ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:#0b1220;
  color:#e5e7eb;
}

/* ===== HEADER ===== */
header{
  background:#020617;
  padding:16px 50px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:sticky;
  top:0;
  z-index:100;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo span{
  font-size:20px;
  font-weight:700;
  color:#fff;
}

/* Hamburger */
.hamburger{
  display:none;
  flex-direction:column;
  gap:4px;
  cursor:pointer;
}

.hamburger span{
  display:block;
  width:25px;
  height:3px;
  background:#cbd5f5;
  border-radius:2px;
  transition:0.3s;
}

/* Menu default */
nav{
  display:flex;
  gap:25px;
}

nav a{
  color:#cbd5f5;
  text-decoration:none;
  font-weight:500;
  cursor:pointer;
}

nav a:hover{
  color:#60a5fa;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  nav{
    position:absolute;
    top:70px;
    right:20px;
    background:#020617;
    flex-direction:column;
    padding:20px;
    border-radius:12px;
    display:none; /* hide default */
    gap:15px;
    box-shadow:0 8px 20px rgba(0,0,0,0.5);
  }

  nav.active{
    display:flex;
  }

  .hamburger{
    display:flex;
  }
}
/* ===== SECTION ===== */
section{
  display:none;
  padding:80px 60px;
  min-height:85vh;
}

section.active{
  display:block;
}

/* ===== HOME ===== */
.hero h1{
  font-size:48px;
  margin-bottom:20px;
}

.hero p{
  max-width:600px;
  color:#cbd5f5;
  font-size:18px;
}

/* ===== BUTTON ===== */
.btn{
  margin-top:30px;
  padding:14px 34px;
  border:none;
  border-radius:30px;
  background:#2563eb;
  color:#fff;
  font-weight:600;
  cursor:pointer;
  display:inline-block;
  text-align:center;
  transition:.25s;
}

.btn:hover{
  background:#1d4ed8;
}

.btn.full{
  width:100%;
}

.btn.ghost{
  background:none;
  border:1px solid #334155;
  color:#e5e7eb;
  margin-top:20px;
}

/* ===== PRODUK ===== */
.product-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin-top:40px;
}

@media(min-width:768px){
  .product-grid{
    grid-template-columns:repeat(4,1fr);
  }
}

/* Card Produk */
.product-item{
  background:linear-gradient(180deg,#0f172a,#020617);
  border-radius:18px;
  padding:12px;
  cursor:pointer;
  transition:.25s;
}

.product-item:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 35px rgba(0,0,0,.45);
}

.product-item .thumb{
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:14px;
}

.product-item .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Nama & Harga Produk */
.product-item h3{
  font-size:15px;
  margin:10px 0 4px;
  font-weight:600;
}

.product-item .price{
  color:#22c55e;
  font-weight:700;
  font-size:14px;
}

/* ===== DETAIL PRODUK ===== */
.detail-box{
  max-width:420px;
  margin:auto;
  background:#020617;
  border-radius:20px;
  padding:18px;
}

.detail-img{
  width:100%;
  max-height:320px;
  object-fit:cover;
  border-radius:16px;
}

.desc-box{
  border:1px solid #1e293b;
  border-radius:16px;
  padding:16px;
  margin-top:14px;
}

.box-title{
  font-weight: 700 !important;   /* PAKSA bold */
  font-size: 16px;
  margin-bottom: 8px;
  color: #e5e7eb;
}


.desc-text{
  color:#cbd5f5;
  font-size:14px;
  line-height:1.5;
  margin-top:4px;
}


.badges{
  display:flex;
  gap:8px;
  margin:12px 0;
}

.badge{
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:500;
}

.green{background:#064e3b;color:#22c55e;}
.blue{background:#1e3a8a;color:#60a5fa;}
.purple{background:#3b0764;color:#c084fc;}

.alert{
  background:#3b2f10;
  color:#facc15;
  padding:12px;
  border-radius:12px;
  margin:14px 0;
  font-size:13px;
}

.price-box{
  border:1px solid #1e293b;
  border-radius:16px;
  padding:16px;
  margin-top:14px;
}

.price-box h3{
  margin-top:6px;
  font-size:22px;
}

/* ===== FOOTER ===== */
footer{
  text-align:center;
  padding:30px;
  background:#020617;
  color:#94a3b8;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  header{
    padding:14px 20px;
  }

  section{
    padding:60px 20px;
  }

  .hero h1{
    font-size:34px;
  }
}

.hamburger.open span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2){
  opacity:0;
}
.hamburger.open span:nth-child(3){
  transform: rotate(-45deg) translate(5px, -5px);
}