/* ============ RESET ============ */
* { margin:0; padding:0; box-sizing:border-box; }
:root{
  --kuning:#F4C430;
  --kuning-dark:#D9A800;
  --hitam:#1a1a1a;
  --abu:#666;
  --abu-light:#f5f5f5;
  --putih:#fff;
}
body{ font-family:'Poppins','Segoe UI',sans-serif; color:var(--hitam); line-height:1.6; }
.container{ max-width:1200px; margin:0 auto; padding:0 20px; }
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }

/* ============ NAVBAR ============ */
.navbar{ background:#111; color:#fff; position:sticky; top:0; z-index:999; }
.nav-inner{ display:flex; justify-content:space-between; align-items:center; height:70px; }
.logo img{ height:45px; }
.nav-links{ display:flex; gap:30px; }
.nav-links a{ color:#ddd; font-weight:500; padding:6px 0; border-bottom:2px solid transparent; transition:.3s; }
.nav-links a:hover, .nav-links a.active{ color:var(--kuning); border-bottom-color:var(--kuning); }
.nav-toggle{ display:none; background:none; border:0; color:#fff; font-size:24px; cursor:pointer; }

/* ============ HERO ============ */
.hero{ position:relative; height:80vh; min-height:500px; background:#000; color:#fff; overflow:hidden; }
.hero img{ width:100%; height:100%; object-fit:cover; opacity:.45; }
.hero-content{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:0 20px; }
.hero h1{ font-size:clamp(28px,5vw,52px); font-weight:700; margin-bottom:16px; }
.hero p{ max-width:640px; font-size:clamp(14px,1.6vw,17px); margin-bottom:30px; }
.btn-outline{ border:2px solid #fff; color:#fff; padding:12px 40px; border-radius:40px; transition:.3s; }
.btn-outline:hover{ background:var(--kuning); border-color:var(--kuning); color:#000; }
.hero-dots{
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
  z-index:2;
}
.hero-dots span{
  width:12px; height:12px;
  border-radius:50%;
  background:rgba(255,255,255,.5);
  cursor:pointer;
  transition:.3s;
}
.hero-dots span.active{ background:var(--kuning); }

/* ============ SECTION ============ */
.section{ padding:80px 0; }
.section-gray{ background:var(--abu-light); }
.section-title{ font-size:clamp(28px,4vw,44px); font-weight:600; line-height:1.1; position:relative; padding-left:24px; margin-bottom:12px; }
.section-title::before{ content:''; position:absolute; left:0; top:8px; bottom:8px; width:4px; background:var(--kuning); }
.section-head{ display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-bottom:40px; align-items:start; }
.section-head p{ color:var(--abu); }
.link-arrow{ color:var(--kuning-dark); font-weight:600; border-bottom:2px solid var(--kuning); padding-bottom:4px; display:inline-block; }
.link-arrow:hover{ color:var(--hitam); }

/* ============ PRODUK KAMI (BERANDA) ============ */
.produk-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:24px;
  align-items:stretch;
}

/* --- Kartu Besar Kiri --- */
.produk-card.big{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
  height:100%;
}
.produk-card.big > a{
  display:block;
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
}
.produk-card.big .thumb{
  position:relative;
  width:100%;
  height:100%;
  min-height:320px;
  overflow:hidden;
  background:#f5f5f5;
}
.produk-card.big .thumb img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}
.produk-card.big:hover .thumb img{ transform:scale(1.05); }
.produk-card.big .body{
  padding:22px 26px 26px;
  display:flex;
  flex-direction:column;
  flex-shrink:0;
}
.produk-card.big h3{
  font-size:20px;
  font-weight:700;
  margin-bottom:10px;
  color:#111;
}
.produk-card.big p{
  font-size:14px;
  color:#666;
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* --- Grid Mini Kanan (2x2) --- */
.produk-mini-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-template-rows:1fr 1fr;
  gap:20px;
  height:100%;
}

.produk-card.mini{
  display:flex;
  flex-direction:column;
  background:transparent;
  border-radius:12px;
  overflow:hidden;
  height:100%;
  min-height:0;
}
.produk-card.mini > a{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
}

.produk-card.mini .thumb{
  position:relative;
  width:100%;
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
  background:#f5f5f5;
  border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  transition:box-shadow .3s;
}
.produk-card.mini .thumb img{
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .5s ease;
  display:block;
  max-width:none;
}
.produk-card.mini:hover .thumb{
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.produk-card.mini:hover .thumb img{
  transform:scale(1.08);
}

.produk-card.mini h3{
  font-size:15px;
  font-weight:700;
  color:#111;
  margin:10px 0 0;
  padding:0 4px;
  line-height:1.3;
  height:1.3em;
  flex-shrink:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  transition:color .2s;
}
.produk-card.mini:hover h3{ color:var(--kuning-dark); }

/* Hover umum */
.produk-card a{ text-decoration:none; color:inherit; }

/* ============ HASIL FABRIKASI ============ */
.fabrikasi-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:24px;
  align-items:start;
}
.fab-card{ text-align:left; display:flex; flex-direction:column; }
.fab-card .fab-img{
  background:var(--kuning);
  border-radius:8px;
  padding:20px;
  aspect-ratio:1 / 1.05;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  overflow:hidden;
}
.fab-card .fab-img img{ max-width:90%; max-height:90%; object-fit:contain; }
.fab-card h4{ font-size:16px; font-weight:700; color:#111; margin-bottom:10px; }
.fab-card .spec{ font-size:13px; color:#333; font-weight: 500; line-height:1.7; margin-bottom:14px; flex-grow:1; }
.fab-card .btn-spec{
  display:inline-block;
  border:1px solid var(--kuning);
  color:var(--kuning-dark);
  padding:8px 22px;
  border-radius:20px;
  font-size:13px;
  font-weight:600;
  background:transparent;
  align-self:flex-start;
  transition:.3s;
}
.fab-card .btn-spec:hover{ background:var(--kuning); color:#000; }
.fab-card:nth-child(1){ margin-top:0; }
.fab-card:nth-child(2){ margin-top:60px; }
.fab-card:nth-child(3){ margin-top:60px; }
.fab-card:nth-child(4){ margin-top:0; }

/* ============ KONTAK ============ */
.kontak-block{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.kontak-img{
  position:relative;
  aspect-ratio:1;
  border-radius:8px;
  overflow:hidden;
}
.kontak-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.kontak-info p{ color:var(--abu); margin-bottom:20px; }
.kontak-info ul{ list-style:none; display:flex; flex-direction:column; gap:16px; }
.kontak-info li{ display:flex; gap:14px; align-items:flex-start; }
.kontak-info .ico{ width:36px; height:36px; border-radius:50%; background:#FFF6D6; display:flex; align-items:center; justify-content:center; color:var(--kuning-dark); flex-shrink:0; }
.wa-link{ color:inherit; font-weight:500; transition:.2s; }
.wa-link:hover{ color:var(--kuning-dark); text-decoration:underline; }

/* Ikon WhatsApp — hanya untuk link WA */
a[href*="wa.me"].wa-link::after{
  content:' 💬';
  font-size:12px;
  opacity:.6;
}

/* Ikon Shopee — otomatis untuk link shopee */
a[href*="shp.ee"].wa-link::after,
a[href*="shopee"].wa-link::after{
  content:' 🛒';
  font-size:12px;
  opacity:.6;
}

/* Ikon email */
a[href^="mailto:"].wa-link::after{
  content:' ✉️';
  font-size:12px;
  opacity:.6;
}

/* ============ ULASAN ============ */
.ulasan-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.ulasan-card{ background:#fff; padding:28px; border-radius:8px; position:relative; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.ulasan-card::before{ content:'❝'; font-size:40px; color:var(--kuning); position:absolute; top:8px; left:16px; }
.ulasan-card .komentar{ font-size:14px; color:#333; margin:24px 0 20px; }
.ulasan-card .user{ display:flex; align-items:center; gap:12px; }
.ulasan-card .avatar{ width:40px; height:40px; border-radius:50%; background:var(--kuning); display:flex; align-items:center; justify-content:center; font-weight:700; color:#000; }
.ulasan-card .user h5{ font-size:14px; margin-bottom:2px; }
.ulasan-card .user span{ font-size:12px; color:var(--abu); }

/* ============ FILTER PRODUK ============ */
.filter-bar{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:30px; }
.filter-bar a{ padding:8px 20px; border:1px solid #ddd; border-radius:6px; font-size:13px; transition:.3s; }
.filter-bar a:hover{ border-color:var(--kuning); }
.filter-bar a.active{ background:var(--kuning); border-color:var(--kuning); color:#000; font-weight:600; }

/* ============ PRODUK LIST ============ */
.produk-list{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:24px; }
.produk-list .produk-card{ background:#fff; border-radius:12px; overflow:hidden; box-shadow:none; display:flex; flex-direction:column; border:1px solid #d4d3d3; }
.produk-list .produk-card .thumb{ position:relative; aspect-ratio:4/3; background:#eee; overflow:hidden; border: 0;}
.produk-list .produk-card .thumb img{ position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; }
.produk-list .produk-card .body{ padding:18px; display:flex; flex-direction:column; flex-grow:1; }
.produk-list .produk-card .body h3{ font-size:16px; margin-bottom:8px; }
.produk-list .produk-card .spec-list{ font-size:12px; color:var(--abu); line-height:1.8; margin:10px 0; flex-grow:1; }
.produk-list .produk-card .harga{ display:flex; justify-content:space-between; align-items:center; border-top:1px solid #eee; padding-top:12px; font-size:14px; font-weight:600; margin-top:auto; }
.produk-list .produk-card .harga .angka{ font-size:16px; }

/* ============ DETAIL PRODUK ============ */
.detail-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.detail-gallery .main-img{ position:relative; aspect-ratio:5/5; background:#eee; border-radius:8px; overflow:hidden; margin-bottom:14px; }
.detail-gallery .main-img img{ position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; }
.detail-thumbs{ display:flex; gap:10px; overflow-x:auto; }
.detail-thumbs img{ width:80px; height:80px; object-fit:cover; border-radius:6px; cursor:pointer; border:2px solid transparent; flex-shrink:0; }
.detail-thumbs img.active{ border-color:var(--kuning); }
.detail-info h1{ font-size:28px; margin-bottom:16px; }
.detail-info .spec{ background:transparent; padding:20px; border-radius:8px; margin:20px 0; font-size:14px; line-height:1.9; }
.detail-info .harga-box{ font-size:24px; font-weight:700; color:var(--kuning-dark); }

/* ============ FORM ============ */
.form-group{ margin-bottom:18px; }
.form-group label{ display:block; font-weight:600; margin-bottom:6px; font-size:14px; }
.form-group input, .form-group textarea, .form-group select{
  width:100%; padding:10px 14px; border:1px solid #ddd; border-radius:6px; font-family:inherit; font-size:14px;
}
.form-group input:focus, .form-group textarea:focus{ outline:none; border-color:var(--kuning); }
.btn{ display:inline-block; background:var(--kuning); color:#000; padding:10px 26px; border:0; border-radius:6px; font-weight:600; cursor:pointer; font-size:14px; }
.btn:hover{ background:var(--kuning-dark); }
.btn-dark{ background:#111; color:#fff; }
.btn-danger{ background:#dc3545; color:#fff; }
.btn-sm{ padding:6px 14px; font-size:12px; }

/* ============ REVIEW ============ */
.review-list{ display:flex; flex-direction:column; gap:20px; margin-top:30px; }
.review-item{ background:#fff; border:1px solid #eee; border-radius:8px; padding:20px; }
.review-item .head{ display:flex; justify-content:space-between; margin-bottom:10px; }
.review-item .head h4{ font-size:15px; }
.review-item .head span{ font-size:12px; color:var(--abu); }
.review-item .answers{ font-size:13px; color:#555; background:#fafafa; padding:12px; border-radius:6px; margin-top:10px; }
.review-item .answers p{ margin-bottom:4px; }

/* ============ ADMIN ============ */
.admin-body{ background:#f4f6f9; min-height:100vh; }
.admin-wrapper{ display:grid; grid-template-columns:240px 1fr; min-height:100vh; }
.admin-sidebar{ background:#111; color:#fff; padding:24px 0; }
.admin-sidebar h3{ padding:0 20px 20px; font-size:16px; color:var(--kuning); border-bottom:1px solid #222; margin-bottom:16px; }
.admin-sidebar a{ display:block; padding:12px 20px; color:#ccc; font-size:14px; transition:.2s; }
.admin-sidebar a:hover, .admin-sidebar a.active{ background:#1a1a1a; color:var(--kuning); border-left:3px solid var(--kuning); }
.admin-content{ padding:30px; }
.admin-content h1{ font-size:22px; margin-bottom:20px; }
.card{ background:#fff; border-radius:8px; padding:24px; box-shadow:0 2px 8px rgba(0,0,0,.06); margin-bottom:20px; }
table{ width:100%; border-collapse:collapse; background:#fff; }
table th, table td{ padding:12px; text-align:left; border-bottom:1px solid #eee; font-size:14px; }
table th{ background:#fafafa; font-weight:600; }
table img{ width:60px; height:60px; object-fit:cover; border-radius:4px; }
.alert{ padding:12px 16px; border-radius:6px; margin-bottom:16px; font-size:14px; }
.alert-success{ background:#d4edda; color:#155724; }
.alert-error{ background:#f8d7da; color:#721c24; }

/* ============ FOOTER ============ */
.footer{ background:#111; color:#ccc; }
.footer-cta{ background:#111; padding:60px 0 20px; position:relative; overflow:hidden; }
.footer-cta-inner{ position:relative; }
.footer-cta-text{ font-size:clamp(48px,10vw,140px); font-weight:800; color:#fff; text-align:center; line-height:.9; letter-spacing:-2px; }
.cta-circle{ position:absolute; right:20px; top:0; width:70px; height:70px; border-radius:50%; background:var(--kuning); color:#000; display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:700; }
.footer-inner{ display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:30px; padding:30px 20px; border-top:1px solid #222; align-items:center; }
.footer-logo{ height:50px; margin-bottom:14px; }
.footer-brand p{ font-size:13px; color:#999; }
.footer-links{ display:flex; flex-wrap:wrap; gap:16px; justify-content:flex-end; }
.footer-links a{ font-size:13px; color:#ccc; }
.footer-links a:hover{ color:var(--kuning); }
.footer-social{ display:flex; gap:10px; justify-content:flex-end; }
.footer-social a{ width:38px; height:38px; border-radius:50%; background:#222; display:flex; align-items:center; justify-content:center; color:#fff; transition:.2s; }
.footer-social a:hover{ background:var(--kuning); color:#000; }
.footer-copy{ padding:16px 20px; border-top:1px solid #222; text-align:right; font-size:12px; color:#777; }

/* ============ RESPONSIVE ============ */

/* Tablet (<= 900px) */
@media(max-width:900px){
  /* Navbar mobile */
  .nav-links{ position:fixed; top:70px; left:0; right:0; background:#111; flex-direction:column; padding:20px; gap:0; transform:translateY(-200%); transition:.3s; }
  .nav-links.open{ transform:translateY(0); }
  .nav-links a{ padding:14px 0; border-bottom:1px solid #222; }
  .nav-toggle{ display:block; }

  /* Section */
  .section{ padding:60px 0; }
  .section-head{ grid-template-columns:1fr; gap:16px; }

  /* Produk Kami: kartu besar full width + mini grid 2 kolom */
  .produk-grid{ grid-template-columns:1fr; gap:24px; }
  .produk-card.big .thumb{ aspect-ratio:4/3; }
  .produk-mini-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; }
  .produk-card.mini h3{ font-size:14px; }

  /* Hasil Fabrikasi: 2 kolom */
  .fabrikasi-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:20px; }
  .fab-card:nth-child(2),
  .fab-card:nth-child(3){ margin-top:0; }

  /* Kontak: 1 kolom */
  .kontak-block{ grid-template-columns:1fr; gap:30px; }
  .kontak-img{ max-width:400px; margin:0 auto; }

  /* Ulasan */
  .ulasan-grid{ grid-template-columns:1fr; }

  /* Produk list: 2 kolom */
  .produk-list{ grid-template-columns:repeat(2, minmax(0, 1fr)); }

  /* Detail */
  .detail-grid{ grid-template-columns:1fr; gap:30px; }

  /* Admin */
  .admin-wrapper{ grid-template-columns:1fr; }
  .admin-sidebar{ position:static; }

  /* Footer */
  .footer-inner{ grid-template-columns:1fr; text-align:center; gap:20px; }
  .footer-links, .footer-social{ justify-content:center; }
  .footer-copy{ text-align:center; }
  .footer-cta-text{ font-size:clamp(40px,12vw,80px); }
  .cta-circle{ width:50px; height:50px; font-size:20px; right:10px; }
}

/* HP (<= 520px) */
@media(max-width:520px){
  .section{ padding:50px 0; }
  .section-title{ font-size:26px; }

  /* Produk Kami: mini 1 kolom */
  .produk-grid{ grid-template-columns:1fr; gap:20px; }
  .produk-mini-grid{ grid-template-columns:1fr; gap:16px; }
  .produk-card.mini h3{ font-size:15px; }

  /* Hasil Fabrikasi: 1 kolom */
  .fabrikasi-grid{ grid-template-columns:1fr; }

  /* Produk list: 1 kolom */
  .produk-list{ grid-template-columns:1fr; }

  /* Kartu besar */
  .produk-card.big .body{ padding:18px 20px; }
  .produk-card.big h3{ font-size:17px; }

  /* Footer */
  .footer-cta-text{ font-size:clamp(32px,14vw,60px); }
}

/* ============ ANIMASI ============ */
@keyframes fadeUp{
  from{ opacity:0; transform:translateY(20px); }
  to{ opacity:1; transform:translateY(0); }
}
.produk-card,
.fab-card,
.ulasan-card{
  animation:fadeUp .6s ease both;
}
.produk-card:nth-child(1),
.fab-card:nth-child(1),
.ulasan-card:nth-child(1){ animation-delay:.05s; }
.produk-card:nth-child(2),
.fab-card:nth-child(2),
.ulasan-card:nth-child(2){ animation-delay:.1s; }
.produk-card:nth-child(3),
.fab-card:nth-child(3),
.ulasan-card:nth-child(3){ animation-delay:.15s; }
.produk-card:nth-child(4),
.fab-card:nth-child(4){ animation-delay:.2s; }
.produk-card:nth-child(5){ animation-delay:.25s; }

/* ============ DETAIL HERO ============ */
.detail-hero{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:0;
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  overflow:hidden;
  align-items:start;
}

.detail-hero-img{
  background:var(--kuning);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  aspect-ratio:1 / 1;
  overflow:hidden;
  position:sticky;
  top:90px;
}
.detail-hero-img img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}

.detail-hero-info{
  padding:32px 36px;
  display:flex;
  flex-direction:column;
  max-height:600px;
  overflow-y:auto;
}
.detail-hero-info h1{
  font-size:24px;
  font-weight:700;
  margin-bottom:20px;
  color:#111;
}
.detail-hero-spec{
  font-size:14px;
  color:#555;
  line-height:1.9;
  margin-bottom:24px;
}
.detail-hero-spec strong{ color:#111; }
.detail-hero-harga{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #eee;
  padding-top:16px;
  font-size:16px;
  font-weight:600;
  margin-top:auto;
}
.detail-hero-harga .angka{
  font-size:20px;
  font-weight:700;
  color:#111;
}
.detail-hero-info h1{
  font-size:24px;
  font-weight:700;
  margin-bottom:20px;
  color:#111;
}
.detail-hero-spec{
  font-size:14px;
  color:#555;
  line-height:1.9;
  margin-bottom:24px;
}
.detail-hero-spec strong{
  color:#111;
}
.detail-hero-harga{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #eee;
  padding-top:16px;
  font-size:16px;
  font-weight:600;
}
.detail-hero-harga .angka{
  font-size:20px;
  font-weight:700;
  color:#111;
}

/* ============ PRODUK REKOMENDASI (3 KARTU) ============ */
.produk-rekomendasi{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}
.rek-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .3s, box-shadow .3s;
}
.rek-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.rek-img{
  background:var(--kuning);
  aspect-ratio:1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  overflow:hidden;
}
.rek-img img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.rek-body{
  padding:18px 20px 20px;
  display:flex;
  flex-direction:column;
  flex-grow:1;
}
.rek-body h3{
  font-size:16px;
  font-weight:700;
  color:#111;
  margin-bottom:10px;
}
.rek-spec{
  font-size:13px;
  color:#666;
  line-height:1.7;
  margin-bottom:16px;
  flex-grow:1;
}
.rek-spec strong{ color:#111; }
.rek-harga{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #eee;
  padding-top:12px;
  font-size:14px;
  font-weight:600;
}
.rek-harga .angka{
  font-size:16px;
  font-weight:700;
}

/* ============ TOMBOL LIHAT LEBIH ============ */
.btn-lihat-lebih{
  display:inline-block;
  border:1px solid var(--kuning);
  color:var(--kuning-dark);
  padding:10px 40px;
  border-radius:6px;
  font-size:14px;
  font-weight:600;
  background:transparent;
  transition:.3s;
}
.btn-lihat-lebih:hover{
  background:var(--kuning);
  color:#000;
}

/* ============ RESPONSIVE DETAIL ============ */
@media(max-width:900px){
  .detail-hero{ grid-template-columns:1fr; }
  .detail-hero-img{ min-height:280px; padding:20px; }
  .detail-hero-info{ padding:24px; }
  .produk-rekomendasi{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; }
}
@media(max-width:520px){
  .produk-rekomendasi{ grid-template-columns:1fr; }
  .detail-hero-info h1{ font-size:20px; }
  .detail-hero-harga{ font-size:14px; }
  .detail-hero-harga .angka{ font-size:18px; }
}

/* ============ TOMBOL AKSI ADMIN ============ */
.aksi-group{
  display:inline-flex;
  flex-wrap:nowrap;
  gap:6px;
  align-items:center;
  white-space:nowrap;
}
.btn-aksi{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  min-width:36px;
  border-radius:8px;
  font-size:16px;
  text-decoration:none;
  transition:transform .2s, box-shadow .2s, background .2s;
  border:0;
  cursor:pointer;
  line-height:1;
  flex-shrink:0;
}
.btn-aksi:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 10px rgba(0,0,0,.15);
}
.btn-edit,
.btn-gambar{ background:#F4C430; color:#111; }
.btn-hapus{ background:#dc3545; color:#fff; }

/* Pastikan kolom Aksi tidak bikin tabel melar */
.admin-content table td:last-child,
.admin-content table th:last-child{
  white-space:nowrap;
  width:1%;
  padding:8px;
}

@media(max-width:900px){
  .btn-aksi{
    width:32px;
    height:32px;
    min-width:32px;
    font-size:14px;
  }
  .aksi-group{ gap:5px; }
}
@media(max-width:520px){
  .btn-aksi{
    width:28px;
    height:28px;
    min-width:28px;
    font-size:12px;
  }
  .aksi-group{ gap:3px; }
}

@media(max-width:900px){
  .detail-hero-img{
    aspect-ratio:4 / 3;
    padding:20px;
  }
  .detail-hero{
    grid-template-columns:1fr;
  }
}

/* ============ KOLOM JUDUL — batasi lebar ============ */
.admin-content table .kolom-judul{
  max-width:400px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
}
.admin-content table .kolom-judul:hover{
  white-space:normal;
  word-break:break-word;
}

/* ============ TABEL AKSI — 1 BARIS ============ */
.aksi-group{
  display:inline-flex;
  flex-wrap:nowrap;
  gap:5px;
  align-items:center;
  white-space:nowrap;
}
.btn-aksi{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  min-width:34px;
  border-radius:8px;
  font-size:15px;
  text-decoration:none;
  transition:transform .2s, box-shadow .2s;
  border:0;
  cursor:pointer;
  flex-shrink:0;
  line-height:1;
}
.btn-aksi:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 10px rgba(0,0,0,.15);
}

/* Warna tombol */
.btn-edit{ background:#F4C430; color:#111; }
.btn-hapus{ background:#dc3545; color:#fff; }
.btn-aktif{ background:#28a745; color:#fff; }
.btn-nonaktif{ background:#e0e0e0; color:#666; }

/* Kolom aksi sempit, tetap 1 baris */
.admin-content table th:last-child,
.admin-content table td:last-child{
  white-space:nowrap;
  width:1%;
  text-align:center;
}

@media(max-width:900px){
  .detail-hero{
    grid-template-columns:1fr;   /* 1 kolom di HP — gambar di atas */
  }
  .detail-hero-img{
    aspect-ratio:4 / 3;          /* lebih lebar di mobile */
    max-width:400px;             /* batasi biar tidak kekecilan */
    margin:0 auto;
  }
}