:root { --brand: #ee4d2d; --txt: #222; --mut: #777; --line: #eee; --bg: #fafafa; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; color: var(--txt); background: #fff; font-size: 15px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 30; }
.head-row { display: flex; gap: 12px; align-items: center; padding: 12px 16px; }
.brand { font-weight: 800; font-size: 18px; color: var(--brand); text-decoration: none; white-space: nowrap; }
.contact-cta { white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: none; border: 1.5px solid var(--brand); padding: 7px 14px; border-radius: 20px; }
.contact-cta:hover { background: var(--brand); color: #fff; }
.hamb { display: none; border: 1px solid #ddd; background: #fff; border-radius: 8px; padding: 7px 11px; cursor: pointer; font-size: 16px; }
.catnav { border-top: 1px solid var(--line); background: #fff; }
.catnav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; }
.catnav a { white-space: nowrap; font-size: 13px; font-weight: 600; color: #555; text-decoration: none; padding: 6px 12px; border-radius: 16px; }
.catnav a:hover { background: #f3f3f3; color: var(--brand); }
.catnav a.on { background: #ffe9e4; color: var(--brand); }
/* Drawer mobile */
.drawer { position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: 280px; background: #fff; box-shadow: 8px 0 30px rgba(0,0,0,.18); transform: translateX(-105%); transition: transform .22s ease-out; overflow-y: auto; padding: 16px; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer-head button { border: none; background: none; font-size: 18px; cursor: pointer; }
.drawer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); margin: 16px 0 6px; }
.drawer nav a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--txt); text-decoration: none; font-size: 14px; }
.drawer nav a:hover { background: #f5f5f5; color: var(--brand); }
.drawer nav a small { color: var(--mut); }
.scrim { display: none; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.45); border: none; padding: 0; }
.scrim.open { display: block; }
/* Hero */
.hero { background: linear-gradient(135deg, #ee4d2d, #b71c1c); color: #fff; padding: 44px 0 36px; }
.hero h1 { font-size: clamp(24px, 4vw, 36px); margin: 0 0 6px; color: #fff; }
.hero .lede { color: rgba(255,255,255,.9); margin: 0 0 18px; font-size: 16px; }
.hero-search { display: flex; gap: 8px; max-width: 560px; }
.hero-search input { flex: 1; padding: 13px 16px; border: none; border-radius: 12px; font-size: 15px; }
.hero-search button { padding: 13px 24px; border: none; border-radius: 12px; background: #1a1d23; color: #fff; font-weight: 800; cursor: pointer; font-size: 15px; }
.hero-stats { display: flex; gap: 28px; margin-top: 20px; }
.hero-stats b { font-size: 24px; display: block; }
.hero-stats span { font-size: 12px; opacity: .85; }
/* Sections */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 4px; }
.sec-head h2 { font-size: 20px; margin: 0; }
.sec-head a { font-size: 13px; color: var(--brand); text-decoration: none; font-weight: 700; white-space: nowrap; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 12px; }
.cat-tile { border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; color: var(--txt); background: #fff; transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.08); border-color: var(--brand); }
.cat-tile b { display: block; font-size: 14px; }
.cat-tile span { font-size: 12px; color: var(--mut); }
.cat-tile.all { background: linear-gradient(135deg, #fff5f2, #ffe9e4); }
.card { transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.card-body h3 { font-size: 14px; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body h3 a { color: var(--txt); text-decoration: none; }
.card-body h3 a:hover { color: var(--brand); }
/* Footer kaya */
.site-footer { background: #1a1d23; color: #c6cad2; margin-top: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; padding: 36px 16px 8px; }
.foot-grid h4 { color: #fff; font-size: 14px; margin: 0 0 10px; }
.foot-grid p { font-size: 13px; line-height: 1.7; margin: 0 0 8px; }
.foot-grid nav a { display: block; color: #c6cad2; text-decoration: none; font-size: 13px; padding: 3px 0; }
.foot-grid nav a:hover { color: #fff; }
.foot-grid a { color: #ffb59f; }
.foot-bottom { border-top: 1px solid #2a2e36; padding: 14px 16px 22px; font-size: 12px; color: #8a8f98; }
@media (max-width: 860px) {
  .hamb { display: inline-block; }
  .catnav { display: none; }
  .contact-cta { display: none; }
  .search input { font-size: 13px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; }
}
.search { display: flex; gap: 8px; flex: 1; max-width: 560px; margin-left: auto; }
.search input { flex: 1; padding: 9px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.search button { padding: 9px 18px; background: var(--brand); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 700; }
main { padding: 20px 0 32px; }
h1 { font-size: 26px; margin: 8px 0 4px; }
.lede { color: var(--mut); margin-top: 0; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.filters label { font-size: 13px; font-weight: 700; display: flex; flex-direction: column; gap: 4px; }
.filters select { padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; min-width: 160px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 12px; }
.card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg); }
.noimg { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: #aaa; background: var(--bg); }
.card-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.card-body h2 { font-size: 14px; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body h2 a { color: var(--txt); text-decoration: none; }
.card-body h2 a:hover { color: var(--brand); }
.shop { font-size: 12px; color: var(--mut); margin: 0; }
.price { margin: 0; }
.price b { color: var(--brand); font-size: 16px; }
.price del { color: #aaa; font-size: 12px; }
.disc { background: #ffe9e4; color: var(--brand); font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 6px; }
.meta { font-size: 12px; color: var(--mut); margin: 0; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 24px 0; }
.pager button { padding: 8px 18px; border: 1px solid #ddd; background: #fff; border-radius: 8px; cursor: pointer; }
.pager button:disabled { opacity: .4; cursor: default; }
#pgInfo { color: var(--mut); font-size: 13px; }
.disclosure { color: var(--mut); font-size: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.site-footer { border-top: 1px solid var(--line); padding: 16px 0 28px; color: var(--mut); font-size: 13px; }
.site-footer a { color: var(--brand); }
/* Detail */
.crumbs { font-size: 13px; color: var(--mut); margin-bottom: 12px; }
.announce { background: #fff7e6; border: 1px solid #ffe0a3; color: #8a5a00; padding: 10px 14px; border-radius: 10px; margin: 12px 0 0; font-size: 14px; }
.detail-meta p { margin: 4px 0; }
.crumbs a { color: var(--brand); text-decoration: none; }
.detail { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 28px; }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; } }
.gallery img#mainImg { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); border-radius: 12px; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.thumbs img.active { border-color: var(--brand); }
.info h1 { font-size: 22px; }
.price-hero b { color: var(--brand); font-size: 28px; }
.price-hero del { color: #aaa; }
.buy { display: inline-block; background: var(--brand); color: #fff; font-weight: 800; padding: 12px 28px; border-radius: 10px; text-decoration: none; }
.desc { white-space: pre-line; line-height: 1.7; background: var(--bg); padding: 16px; border-radius: 10px; max-height: 420px; overflow: auto; }
.specs { border-collapse: collapse; width: 100%; }
.specs th, .specs td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; font-size: 14px; }
.specs th { background: var(--bg); width: 220px; }
.detail-meta-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; background: var(--bg); padding: 14px; border-radius: 10px; border: 1px solid var(--line); }
.detail-meta-item b { color: var(--txt); display: block; font-size: 14px; }
.detail-meta-item span { color: var(--mut); font-size: 12px; }
.detail-meta-item a { color: var(--brand); }
.reviews { display: flex; flex-direction: column; gap: 12px; }
.review { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.stars { color: #f5a623; }
.rvariant { font-size: 12px; color: var(--mut); }
.rmedia { display: flex; gap: 8px; flex-wrap: wrap; }
.rmedia img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
section h2 { font-size: 19px; margin: 28px 0 12px; }
label.f { font-weight: 700; display: block; margin-top: 12px; font-size: 13px; }
input.f, textarea.f { width: 100%; box-sizing: border-box; padding: 10px 12px; margin-top: 4px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; }
.btnrow { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.btn { padding: 10px 18px; cursor: pointer; border: 1px solid #ddd; border-radius: 8px; background: #fff; font-weight: 700; }
.btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
/* Fakta produk + bagikan */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.facts > div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.facts dt { font-size: 11px; color: var(--mut); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.share { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--mut); margin: 4px 0 10px; }
.share a { color: var(--brand); text-decoration: none; font-weight: 600; }
.share button { border: 1px solid #ddd; background: #fff; border-radius: 8px; padding: 5px 12px; cursor: pointer; font-size: 13px; }
