/* Tema toko: menyamakan tampilan nexinulls.com dengan store.nexinulls.com (selalu mode terang) */
:root, :root[data-theme="dark"], :root:not([data-theme="light"]) {
  --navy: #1F2937; --navy-2: #2a3f73; --wa: #1FA855;
  --bg: #F6F7FB; --surface: #fff; --text: #1A1A1A; --muted: #5F6676; --line: #E3E6EE; --chip: #EEF1F7;
  --shadow: 0 1px 2px rgba(20,33,61,.06), 0 6px 18px -10px rgba(20,33,61,.25);
  color-scheme: light;
}
body { font-weight: 400; line-height: 1.55; }
.wrap { max-width: 1080px; }

/* Bar pengumuman */
.ann { background: var(--navy); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 12px; }
.ann a { color: #fff; text-decoration: none; }
.ann a:hover { text-decoration: underline; }

/* Header putih */
.top { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); box-shadow: none; z-index: 40; }
.top-in { gap: 6px; min-height: 60px; height: 60px; }
.top .logo { margin-right: auto; }
.logo-word { font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--navy); }
.burger { background: none; margin-left: -8px; }
.burger span { background: var(--text); }
.burger:hover { background: var(--chip); }
.hd-nav, .search { display: none; }
.top .search input { background: none; color: var(--text); height: auto; padding: 10px 0; font-size: 14px; border-radius: 0; }
.top .search input::placeholder { color: var(--muted); }
.top .search input:focus { background: none; box-shadow: none; }
.search .ic { width: 18px; height: 18px; color: var(--muted); flex: none; }
.hd-nav a { padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--text); text-decoration: none; white-space: nowrap; }
.hd-nav a:hover { background: var(--chip); }
.hd-nav a.hd-store { color: #fff; background: var(--orange); }
.hd-nav a.hd-store:hover { background: var(--orange-2); }
@media (min-width: 900px) {
  .burger { display: none; }
  .top .logo { margin-right: 12px; }
  .hd-nav { display: flex; gap: 4px; margin-right: auto; }
  .search { display: flex; align-items: center; gap: 8px; background: var(--chip); border-radius: 999px; padding: 0 14px; width: 280px; flex: none; }
  .top .search input { width: 100%; border: 0; outline: none; }
}
@media (max-width: 899px) {
  /* di ponsel, tombol cari kecil di kanan seperti toko */
  .search { display: flex; align-items: center; background: none; width: 40px; position: relative; flex: none; }
  .search input { position: absolute; inset: 0; opacity: 0; width: 40px; height: 40px; padding: 0; }
  .search .ic { width: 22px; height: 22px; color: var(--text); margin: 0 9px; }
}

/* Drawer gaya toko */
.drawer-head { background: var(--surface); color: var(--navy); border-bottom: 1px solid var(--line); }
.drawer-head .logo-word { color: var(--navy); }
.drawer-x { background: var(--chip); color: var(--text); }
.drawer-link, .drawer-dd summary { border-radius: 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer-link:hover, .drawer-dd summary:hover { background: none; }
.drawer-link.on { background: none; color: var(--orange); }
.drawer-store { color: #fff !important; background: var(--orange) !important; border-radius: 12px !important; justify-content: center !important; margin: 10px 0; border: 0 !important; }

/* Hero */
.hero2 { border-radius: 0; margin: 0 -16px 18px; background: linear-gradient(120deg, var(--navy), #2a3f73); box-shadow: none; }
@media (min-width: 1112px) { .hero2 { margin: 0 0 18px; border-radius: 18px; } }
.hero2::after { display: none; }
.hero2-in { padding: 34px 24px 30px; }
.hero2-badge { background: rgba(255,255,255,.18); font-weight: 700; letter-spacing: .03em; }
.hero2 h1 { letter-spacing: -.02em; }
.hero2 h1 span { color: #fff; opacity: .9; }
.hero2-btn { background: #fff; color: var(--navy); box-shadow: none; font-weight: 800; }
.hero2-btn:hover { background: #fff; opacity: .92; }
.hero2-btn.ghost { background: rgba(255,255,255,.16); color: #fff; }
.hero2-btn.ghost:hover { background: rgba(255,255,255,.26); }

/* Judul bagian */
.sec-title, .page-title { font-size: clamp(19px, 4.6vw, 26px); letter-spacing: -.015em; font-weight: 800; color: var(--navy); }

/* Kategori */
.cat-tile { border-radius: 16px; box-shadow: none; }
.cat-tile:hover { border-color: var(--navy); transform: translateY(-2px); }

/* Kartu produk */
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { border-radius: 16px; box-shadow: none; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { background: #fff; }
.card:hover .card-img img { transform: none; }
.card-title { font-weight: 600; }
.buy { background: var(--orange); box-shadow: none; border-radius: 12px; }

/* Halaman produk */
.crumb { color: var(--muted); }
.pills a, .chip { border-radius: 999px; }

/* Footer gelap seperti toko */
.foot { margin-top: 36px; background: var(--navy); color: #cfd6e6; border-top: 0; padding: 34px 0 24px; font-size: 14px; }
.foot p { max-width: none; }
.foot-brand { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.foot-mark { display: none; }
.foot-col h4 { color: #fff; text-transform: none; letter-spacing: 0; font-size: 14px; }
.foot-col a { color: #cfd6e6; }
.foot-col a:hover { color: #fff; }
.foot a { color: #fff; }
.foot-note { border-top: 1px solid rgba(255,255,255,.14); opacity: .8; }
.foot-copy { opacity: .7; }
.no-scroll, .no-scroll body { overflow: hidden; }
