/* Imlek: scoped to the saved theme and developer preview. */
html:root[data-nsa-theme="imlek"] { color-scheme:dark; --color-accent:#ffd34f; --color-accent-hover:#ffe89b; --nsa-banner-height:clamp(300px,20vw,380px); }
html:root[data-nsa-theme="imlek"] body { background:#240200; color:#fff; isolation:isolate; }
/* A viewport layer keeps the decoration stationary independently of body scrolling. */
html:root[data-nsa-theme="imlek"] body::before {
 content:'';
 position:fixed;
 inset:0;
 z-index:-1;
 pointer-events:none;
 background:#240200 url('../images/imlek-background.png') center top / max(100%,1400px) auto no-repeat;
}
html:root[data-nsa-theme="imlek"] header { background:linear-gradient(#400500ee,#1b0000ee); border:1px solid #ffcc65; border-radius:24px; box-shadow:0 0 12px #ff720077,inset 0 1px 4px #ffce79; }
html:root[data-nsa-theme="imlek"] :is(.logo-text,.page-header h1) { color:#ffe580; }
html:root[data-nsa-theme="imlek"] :is(.logo-text span,.page-header h1 span) { color:#ff1523; }
html:root[data-nsa-theme="imlek"] .nav-links-center a.active { color:#fff; background:linear-gradient(#ff2525,#a00000); border:1px solid #ff9a55; border-radius:30px; box-shadow:0 0 12px #ff2d1a77; }
html:root[data-nsa-theme="imlek"] .inventory-hero { background:linear-gradient(90deg,#27000000,#27000022 40%,#27000000),url('../images/imlek-background.png') center top / 100% auto no-repeat; border:2px solid #ffca58; box-shadow:0 0 8px #ffea87,0 0 22px #ff4a00aa; padding:105px 24px 22px; }
html:root[data-nsa-theme="imlek"] .inventory-hero p { max-width:440px; text-align:center; }
html:root[data-nsa-theme="imlek"] .page-header::after { background:#ffe589; box-shadow:0 0 8px #ff8a00; }
html:root[data-nsa-theme="imlek"] .filter-bar-section { width:calc(100% - 32px); max-width:1080px; margin:24px auto 0; padding:8px 18px; border:1px solid #ffa95b; border-radius:24px; background:linear-gradient(#390500ee,#200000ee); box-shadow:0 0 12px #e3481822,inset 0 0 8px #ffb64022; }
html:root[data-nsa-theme="imlek"] :is(.filter-bar-row,.filter-extra-row) { background:transparent; border:0; box-shadow:none; padding:8px 6px; }
html:root[data-nsa-theme="imlek"] :is(.filter-bar-item input,.filter-bar-item select,.header-search-box) { background:#3a0b09; color:#fff; border:1px solid #e39460; border-radius:24px; }
html:root[data-nsa-theme="imlek"] input::placeholder { color:#f3ddd7; }
html:root[data-nsa-theme="imlek"] :is(.filter-bar-item label i,.status-filter legend i,.year-filter label i,.card-specs-row i,.header-search-box i) { color:#ffdc55; }
html:root[data-nsa-theme="imlek"] .status-options span { background:#200400; border:1px solid #d5a94f; color:#fff; }
html:root[data-nsa-theme="imlek"] .status-options input:checked + span { background:linear-gradient(#ff2828,#b40000); border-color:#ffb45e; color:#fff; }
html:root[data-nsa-theme="imlek"] input[type="range"] { accent-color:#ffd950; }
html:root[data-nsa-theme="imlek"] .katalog-container { padding-top:18px; }
html:root[data-nsa-theme="imlek"] .grid-mobil { gap:20px; }
html:root[data-nsa-theme="imlek"] .card-mobil { padding:5px; border:2px solid #ffcf44; border-radius:22px; background:linear-gradient(#7c0b04,#260000 65%); box-shadow:0 0 3px #fff2a0,0 0 12px #f32f0055,inset 0 0 5px #ff7a20; }
html:root[data-nsa-theme="imlek"] .card-img-container { border-radius:15px 15px 4px 4px; overflow:hidden; }
html:root[data-nsa-theme="imlek"] .card-body { background:transparent; padding:8px 10px 5px; }
html:root[data-nsa-theme="imlek"] .card-price-ribbon {
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 box-sizing:border-box;
 width:116px;
 min-height:38px;
 max-width:calc(100% - 20px);
 padding:6px 12px;
 background:transparent url('../images/imlek-price-badge.png') center / 100% 100% no-repeat;
 border:0;
 border-radius:0;
 box-shadow:none;
 color:#fff;
 line-height:1.25;
 letter-spacing:0;
 text-align:center;
 text-shadow:0 1px 3px #650000;
}
html:root[data-nsa-theme="imlek"] .card-price-ribbon .price-current { white-space:nowrap; }
html:root[data-nsa-theme="imlek"] .card-price-ribbon .price-previous { color:#ffe6bb; opacity:1; }
html:root[data-nsa-theme="imlek"] .sport-red-stock { background:linear-gradient(#24c100,#078000); border:1px solid #8fff46; border-radius:20px; }
html:root[data-nsa-theme="imlek"] .sport-red-stock.sold { background:#b51414; border-color:#ff9875; }
html:root[data-nsa-theme="imlek"] .card-specs-row { border:0; }
html:root[data-nsa-theme="imlek"] .btn-detail { background:linear-gradient(#ff3325,#c60000 50%,#890000); color:#fff; border:1px solid #ffe23f; border-radius:30px; padding:7px 12px; box-shadow:inset 0 1px 4px #ffcf6877; }
html:root[data-nsa-theme="imlek"] .btn-detail:hover { background:linear-gradient(#ff5735,#e00000); }
html:root[data-nsa-theme="imlek"] :is(.sidebar,.modal-content,.detail-info,.detail-card,.service-card,.testimonial-card,.form-container,.spec-item,.why-card) { background:#370500; border-color:#b78339; }
html:root[data-nsa-theme="imlek"] :is(.about-section,.services-section,.testimoni-section,.contact-section,.why-choose-section,footer) { background:#240300ed; color:#fff; }
html:root[data-nsa-theme="imlek"] .hero-overlay { background:linear-gradient(90deg,#260000cc,#26000033); }
html:root[data-nsa-theme="imlek"] .home-page .home-review-branch {
 background:linear-gradient(135deg,rgba(115,8,8,.78),rgba(65,0,0,.72));
 border-color:rgba(255,191,88,.55);
 box-shadow:0 8px 28px #20000033;
}
html:root[data-nsa-theme="imlek"] .home-page .home-review-branch > p { color:#f0d8d3; }
html:root[data-nsa-theme="imlek"] :is(a,button,input,select):focus-visible { outline:2px solid #ffe184; outline-offset:3px; }
/* Match the fixed seasonal banner used by the other themes. */
html:root[data-nsa-theme="imlek"]:not([data-nsa-theme="default"]) body.inventory-page {
 padding-top:calc(var(--nsa-banner-height) + 92px);
}
html:root[data-nsa-theme="imlek"]:not([data-nsa-theme="default"]) body.inventory-page .inventory-hero {
 position:fixed;
 top:84px;
 left:16px;
 right:16px;
 bottom:auto;
 transform:none;
 box-sizing:border-box;
 width:auto;
 max-width:none;
 height:var(--nsa-banner-height);
 min-height:0;
 margin:0 auto;
 padding:24px;
 z-index:900;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:12px;
}
html:root[data-nsa-theme="imlek"] body.inventory-page .inventory-hero h1 { width:auto; max-width:100%; font-size:clamp(28px,3.5vw,52px); }
html:root[data-nsa-theme="imlek"] .nsa-site-navigation { background:linear-gradient(110deg,#360500f5,#190000f5); border-bottom-color:#e4a84b; }
@media(max-width:700px) {
 html:root[data-nsa-theme="imlek"] { --nsa-banner-height:265px; }
 html:root[data-nsa-theme="imlek"] body::before { background-size:auto 900px; }
 html:root[data-nsa-theme="imlek"]:not([data-nsa-theme="default"]) body.inventory-page { padding-top:calc(var(--nsa-banner-height) + 84px); }
 html:root[data-nsa-theme="imlek"]:not([data-nsa-theme="default"]) body.inventory-page .inventory-hero { top:74px; left:10px; right:10px; width:auto; background-size:auto 680px; padding:24px 18px; }
 html:root[data-nsa-theme="imlek"] .inventory-hero h1 { font-size:30px; }
 html:root[data-nsa-theme="imlek"] .inventory-hero p { font-size:13px; max-width:280px; }
 html:root[data-nsa-theme="imlek"] .filter-bar-section { padding:10px; border-radius:20px; }
}

/* Override the desktop fixed banner completely on phones. */
@media(max-width:767px) {
 html:root[data-nsa-theme="imlek"]:not([data-nsa-theme="default"]) body.inventory-page { padding-top:80px; }
 html:root[data-nsa-theme="imlek"]:not([data-nsa-theme="default"]) body.inventory-page .page-header.inventory-hero {
  position:relative;
  inset:auto;
  transform:none;
  box-sizing:border-box;
  width:calc(100% - 28px);
  max-width:calc(100% - 28px);
  height:auto;
  min-height:250px;
  aspect-ratio:1200 / 800;
  margin:0 auto;
  padding:46px 16px 84px;
  border-radius:20px;
  overflow:hidden;
  z-index:1;
  background:#240200 url('../images/imlek-mobile-banner.png') center top / 100% auto no-repeat;
 }
 html:root[data-nsa-theme="imlek"]:not([data-nsa-theme="default"]) body.inventory-page .page-header.inventory-hero h1 { font-size:clamp(23px,6.4vw,30px);max-width:100%;width:100%; }
 html:root[data-nsa-theme="imlek"]:not([data-nsa-theme="default"]) body.inventory-page .page-header.inventory-hero p { font-size:13px;max-width:100%; }
}
