/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --y: #FFD600;
  --yd: #E6BE00;
  --yb: #FFF9CC;
  --red: #E53935;
  --ink: #1A1A1A;
  --ink2: #555555;
  --ink3: #999999;
  --line: #E8E8E8;
  --bg: #F5F5F5;
  --white: #ffffff;
}
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}
.page { display: none; }
.page.active { display: block; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--ink);
  color: #cccccc;
  font-size: 11px;
  padding: 5px 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar i { vertical-align: middle; font-size: 13px; }

/* ===== NAVBAR ===== */
nav {
  background: var(--y);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 64px;
  border-bottom: 2px solid var(--yd);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.5px;
  cursor: pointer;
  flex-shrink: 0;
}
.logo span { color: var(--red); }
.search-wrap {
  flex: 1;
  display: flex;
  max-width: 580px;
}
.search-wrap input {
  flex: 1;
  padding: 0 1rem;
  height: 40px;
  border: 2px solid var(--ink);
  border-right: none;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  outline: none;
  background: var(--white);
}
.search-wrap button {
  width: 46px;
  height: 40px;
  background: var(--ink);
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.search-wrap button:hover { background: #333; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.nav-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.12);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  position: relative;
  transition: background 0.15s;
}
.nav-icon:hover { background: rgba(0,0,0,0.2); }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-login {
  padding: 0 1rem;
  height: 40px;
  background: var(--white);
  border: 2px solid var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-login:hover { background: var(--bg); }
.btn-daftar {
  padding: 0 1rem;
  height: 40px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-daftar:hover { background: #333; }

/* ===== FEATURES STRIP ===== */
.features {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feat {
  padding: 13px 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
}
.feat:last-child { border-right: none; }
.feat-icon { font-size: 22px; color: var(--red); flex-shrink: 0; }
.feat-text h4 { font-size: 11px; font-weight: 700; color: var(--red); }
.feat-text p { font-size: 10px; color: var(--ink3); line-height: 1.4; }

/* ===== HERO ===== */
.hero-banner {
  background: var(--ink);
  padding: 3rem 2rem 3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}
.hero-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: var(--y);
  border-radius: 50%;
  opacity: 0.06;
}
.hero-tag {
  display: inline-block;
  background: var(--y);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.hero-text { z-index: 1; }
.hero-text h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
}
.hero-text h1 span { color: var(--y); }
.hero-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 300;
}
.hero-btn {
  background: var(--y);
  color: var(--ink);
  border: none;
  padding: 11px 1.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.15s;
}
.hero-btn:hover { background: var(--yd); }
.hero-visuals {
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
  z-index: 1;
  flex-shrink: 0;
}
.hv-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hv-label {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}
.sv-hero {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  width: 60px; height: 140px;
  border: 2px solid rgba(255,255,255,0.3);
  position: relative;
}
.sv-hero.yellow { background: var(--y); }
.sv-hero::before {
  content: '';
  position: absolute; bottom: -12px;
  left: 50%; transform: translateX(-50%);
  width: 34px; height: 5px;
  background: rgba(255,255,255,0.4);
}
.sv-hero::after {
  content: '';
  position: absolute; bottom: -17px;
  left: 50%; transform: translateX(-50%);
  width: 46px; height: 4px;
  background: rgba(255,255,255,0.25);
}
.svh-face {
  width: 26px; height: 26px;
  background: var(--ink);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
}
.svh-body {
  width: 20px; height: 38px;
  background: var(--ink);
  border: 2px solid rgba(255,255,255,0.3);
}
.stiker-hero {
  width: 80px; height: 80px;
  background: var(--y);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--ink);
}
.poster-hero {
  width: 68px; height: 88px;
  background: #2d2d2d;
  border: 3px solid var(--y);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--y);
  position: relative;
}
.poster-hero::before {
  content: '';
  position: absolute; top: -10px;
  left: 50%; transform: translateX(-50%);
  width: 44px; height: 7px;
  background: #555;
  border-radius: 2px;
}

/* ===== SECTION ===== */
.sec-wrap { padding: 1.75rem 1.5rem; }
.sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.sec-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.sec-title span { color: var(--red); }

/* ===== PRODUCT GRID ===== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  overflow: hidden;
}
.prod-card:hover { border-color: var(--red); transform: translateY(-2px); }
.prod-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  background: #f8f8f8;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.standee-thumb { background: #FFF9CC; }
.stiker-thumb { background: #f0f8ff; }
.poster-thumb { background: #222; }
.prod-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 3px 7px;
  letter-spacing: 0.5px;
}
.prod-info { padding: 12px; }
.prod-name { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 5px; line-height: 1.3; }
.prod-price { font-size: 14px; font-weight: 700; color: var(--red); }
.prod-price small { font-size: 11px; color: var(--ink3); font-weight: 400; }

/* STANDEE THUMB VISUALS */
.thumb-standee-wrap { display: flex; gap: 8px; align-items: flex-end; padding-bottom: 10px; }
.ts {
  background: var(--y);
  border: 2px solid var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  position: relative;
}
.ts::before {
  content: '';
  position: absolute; bottom: -8px;
  left: 50%; transform: translateX(-50%);
  height: 4px; background: var(--ink);
}
.ts.small { width: 30px; height: 70px; }
.ts.small::before { width: 18px; }
.ts.medium { width: 40px; height: 90px; background: #FFB300; }
.ts.medium::before { width: 24px; }
.ts.large { width: 34px; height: 78px; background: #D7CCC8; }
.ts.large::before { width: 20px; }

/* STIKER THUMB VISUALS */
.stiker-grid { display: flex; flex-wrap: wrap; gap: 8px; width: 104px; justify-content: center; }
.sk-item {
  width: 42px; height: 42px;
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
}
.sk-item.round { border-radius: 50%; }
.sk-item.sq { border-radius: 6px; }
.sk-item.sq2 { border-radius: 3px; }
.sk-item.yellow { background: var(--y); color: var(--ink); }
.sk-item.red { background: var(--red); }
.sk-item.green { background: #4CAF50; }
.sk-item.blue { background: #2196F3; }

/* POSTER THUMB VISUALS */
.poster-mock {
  width: 90px; height: 115px;
  background: #1a1a1a;
  border: 3px solid var(--y);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.poster-hanger {
  position: absolute; top: -10px;
  left: 50%; transform: translateX(-50%);
  width: 55px; height: 7px;
  background: #555; border-radius: 2px;
}
.poster-inner {
  width: 70px; height: 88px;
  background: #2d2d2d;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--y);
}

/* ===== WHY SECTION ===== */
.why-section { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.why-card { text-align: center; padding: 1.5rem 1rem; }
.why-icon { font-size: 2rem; color: var(--y); margin-bottom: 0.75rem; display: block; }
.why-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 0.35rem; }
.why-card p { font-size: 11px; color: var(--ink3); line-height: 1.6; }

/* ===== FOOTER ===== */
footer { background: var(--ink); padding: 2rem 1.5rem 1rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 1.5rem; }
.footer-logo { font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.footer-logo span { color: var(--y); }
footer p { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,0.5);
  text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--y); }
.footer-copy { font-size: 10px; color: rgba(255,255,255,0.2); text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 10px 1.5rem;
  font-size: 11px;
  color: var(--ink3);
  display: flex; align-items: center; gap: 6px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.breadcrumb a { color: var(--ink3); text-decoration: none; cursor: pointer; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb i { font-size: 11px; }

/* ===== PRODUCT DETAIL ===== */
.product-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 1.25rem 1.5rem;
  max-width: 1200px;
}
.prod-images {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
}
.main-img {
  background: #f0f0f0;
  height: 340px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.thumb-row { display: flex; gap: 8px; margin-bottom: 12px; }
.thumb {
  width: 72px; height: 60px;
  background: #f0f0f0;
  border: 2px solid var(--line);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #bbb;
  transition: border-color 0.15s;
}
.thumb:hover, .thumb.active { border-color: var(--red); color: var(--red); }
.share-row {
  display: flex; align-items: center; gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.share-row > span { font-size: 11px; color: var(--ink3); }
.share-btn {
  width: 30px; height: 30px;
  border-radius: 50%; border: none; cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  transition: opacity 0.15s;
}
.share-btn:hover { opacity: 0.8; }
.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.wa { background: #25D366; }

/* RIGHT PANEL */
.prod-detail { display: flex; flex-direction: column; gap: 12px; }
.prod-title-d { font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.rating-row { display: flex; align-items: center; gap: 8px; }
.stars { color: #FFB800; font-size: 14px; }
.review-count { font-size: 11px; color: var(--ink3); }
.stok-badge { font-size: 11px; color: #1B5E20; font-weight: 600; margin-left: 4px; }
.info-card { background: var(--white); border: 1px solid var(--line); padding: 14px; }
.field-label { font-size: 11px; font-weight: 600; color: var(--ink); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.3px; }
.min-order { font-weight: 400; color: var(--ink3); font-size: 10px; text-transform: none; }

select, textarea, input[type="text"], input[type="number"] {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  background: var(--white);
  border-radius: 0;
  transition: border-color 0.15s;
  appearance: auto;
}
select:focus, textarea:focus, input:focus { border-color: var(--ink); }
textarea { min-height: 85px; resize: vertical; }

.price-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.price-table th { background: var(--bg); padding: 7px 10px; font-weight: 600; color: var(--ink2); text-align: left; border: 1px solid var(--line); }
.price-table td { padding: 7px 10px; border: 1px solid var(--line); }
.price-table td.pv { color: var(--red); font-weight: 600; }

.upload-btn {
  display: flex; width: 100%;
  background: var(--red); color: #fff;
  border: none; padding: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  align-items: center; justify-content: center; gap: 6px;
  transition: background 0.15s;
  position: relative;
}
.upload-btn:hover { background: #c62828; }
.upload-btn input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
  padding: 0;
}
.upload-note { font-size: 10px; color: var(--ink3); margin-top: 5px; }
.fc-txt { font-size: 11px; color: #1B5E20; font-weight: 600; margin-top: 5px; display: none; }

.qty-ctrl { display: flex; align-items: center; border: 1px solid var(--line); width: fit-content; }
.qty-ctrl button {
  width: 36px; height: 36px;
  border: none; background: var(--bg);
  font-size: 18px; font-weight: 400;
  cursor: pointer; color: var(--ink);
  font-family: 'Poppins', sans-serif;
  transition: background 0.15s;
}
.qty-ctrl button:hover { background: var(--line); }
.qty-ctrl input {
  width: 54px; height: 36px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 13px; font-weight: 600;
}

.promo-row { display: flex; gap: 0; margin-bottom: 10px; }
.promo-row input { flex: 1; border-right: none; }
.promo-row button {
  padding: 0 12px;
  background: var(--bg);
  border: 1px solid var(--line); border-left: none;
  font-family: 'Poppins', sans-serif; font-size: 14px;
  cursor: pointer; color: var(--ink2);
  transition: background 0.15s;
}
.promo-row button:hover { background: var(--line); }

.sum-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sum-table td { padding: 8px 10px; border: 1px solid var(--line); }
.sum-table td:first-child { color: var(--ink2); background: var(--bg); font-weight: 500; width: 45%; }
.sum-price { color: var(--red); font-weight: 600; }
.total-row td { font-weight: 700; }
.sum-total { color: var(--red); font-size: 14px; font-weight: 700; }

.toast {
  background: #1B5E20; color: #fff;
  padding: 10px 14px;
  font-size: 12px; font-weight: 600;
  display: none; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.buy-btn {
  width: 100%; background: var(--red); color: #fff;
  border: none; padding: 13px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s;
  letter-spacing: 0.3px;
}
.buy-btn:hover { background: #c62828; }
.wa-btn {
  display: flex; width: 100%;
  background: #25D366; color: #fff;
  border: none; padding: 11px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  align-items: center; justify-content: center; gap: 6px;
  margin-top: 8px; text-decoration: none;
  transition: background 0.15s;
}
.wa-btn:hover { background: #1ea855; }

/* TABS */
.tabs-wrap { padding: 0 1.5rem 1.5rem; max-width: 1200px; }
.tab-bar { display: flex; border-bottom: 2px solid var(--line); background: var(--white); }
.tab-btn {
  padding: 12px 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600;
  color: var(--ink3);
  background: none; border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  text-transform: uppercase; letter-spacing: 0.3px;
  transition: color 0.15s;
}
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-content { background: var(--white); border: 1px solid var(--line); border-top: none; padding: 1.5rem; }
.alert-box {
  background: var(--red); color: #fff;
  padding: 6px 12px;
  font-size: 12px; font-weight: 700;
  display: inline-block; margin-bottom: 10px;
}
.detail-text { font-size: 13px; line-height: 1.7; color: var(--ink2); margin-bottom: 1rem; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 10px 0 1.25rem; }
.spec-list li { display: flex; gap: 12px; font-size: 13px; }
.spec-list li .sk { font-weight: 600; min-width: 140px; color: var(--ink2); }
.note-box {
  background: var(--yb);
  border-left: 3px solid var(--y);
  padding: 10px 14px;
  font-size: 12px; line-height: 1.7; color: var(--ink2);
}
.note-box strong { display: block; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.empty-reviews { font-size: 13px; color: var(--ink3); text-align: center; padding: 2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .product-wrap { grid-template-columns: 1fr; }
  .hero-visuals { display: none; }
  .topbar { font-size: 10px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 1rem; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 0.75rem; }
}
@media (max-width: 480px) {
  nav { flex-wrap: wrap; height: auto; padding: 0.5rem 1rem; gap: 0.5rem; }
  .search-wrap { order: 3; max-width: 100%; flex: 0 0 100%; }
  .features { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
