/* ========== GRID SECTION (tetap) ========== */
.hs-section {
  max-width:1320px;
  margin:0 auto 2.8rem;
  padding:0 0 .2rem;
  /* font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,sans-serif; */
}
.hs-section[data-section] { scroll-margin-top:90px; }
.hs-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:1rem;
  margin:0 0 1rem;
  flex-wrap:wrap;
}
.hs-title {
  margin:0;
  font-size:1.3rem;
  font-weight:600;
  line-height:1.2;
  color:#0f172a;
  letter-spacing:.3px;
}
.hs-grid {
  display:grid;
  gap:1rem;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  align-items:stretch;
}
.hs-card {
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:12px;
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transition:.28s cubic-bezier(.4,0,.2,1);
  min-width:0;
  position:relative;
}
.hs-card:hover {
  transform:translateY(-4px);
  box-shadow:0 8px 22px -8px rgba(0,0,0,.15);
  border-color:#dbe2ea;
}
.hs-card .thumb {
  aspect-ratio:1/1;
  background:#f1f5f9;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative;
}
.hs-card img {
  width:100%;height:100%;object-fit:cover;display:block;
}
.hs-card .disc-badge {
  position:absolute;top:8px;left:8px;
  background:#dc2626;color:#fff;
  font-size:.58rem;padding:4px 6px 3px;
  border-radius:6px;font-weight:700;letter-spacing:.4px;
}
.hs-card .body {
  padding:.6rem .7rem .8rem;
  display:flex;flex-direction:column;gap:.45rem;
  min-height:80px;
}
.hs-card .title {
  margin:0;font-size:.72rem;line-height:1.25;font-weight:600;
  color:#1e293b;height:2.5em;overflow:hidden;
}
.hs-card .prices {display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem;margin-top:auto;}
.hs-card .prices .final {font-size:.82rem;font-weight:700;color:#0d6efd;}
.hs-card .prices .ori {font-size:.6rem;text-decoration:line-through;color:#94a3b8;font-weight:500;}

/* ========== BANNERS (dari versi sebelumnya, dipersingkat agar fokus) ========== */
.hs-banner {position:relative;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,sans-serif;}
.hs-banner--full {margin:2.8rem auto;overflow:hidden;background:#0d0d16;}
.hs-banner__full-img img{width:100%;display:block;height:auto;}
.hs-banner__full-img-mob {display: none; }
.hs-banner__full-img-mob img{width:100%;display:block;height:auto;}
/* Slim */
.hs-banner--slim {
  background:#0d2c5b;
  background:linear-gradient(100deg,#112e63,#0d47a1 55%,#1565c0);
  color:#fff;border-radius:10px;padding:.85rem 1.2rem .9rem;
  display:flex;align-items:center;gap:1.2rem;font-size:.78rem;letter-spacing:.3px;
  max-width:1320px;margin:2.2rem auto 1.4rem;position:relative;
}
.hs-banner--slim:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:#ffb800;border-radius:10px 0 0 10px;}
.bn-slim-title{font-weight:600;font-size:.82rem;letter-spacing:.5px;}
.bn-slim-link{margin-left:1rem;background:#ffffff14;color:#fff;text-decoration:none;padding:.45rem .85rem .4rem;border-radius:6px;font-weight:600;font-size:.65rem;letter-spacing:.5px;transition:.25s;border:1px solid #ffffff30;}
.bn-slim-link:hover{background:#fff;color:#0d47a1;}
/* Promo */
.hs-banner--promo {
  max-width:1320px;margin:2.8rem auto;border-radius:18px;
  background:var(--bn-gradient,linear-gradient(110deg,#0f172a,#1e3a8a));
  color:#fff;padding:2rem clamp(1rem,3vw,2rem);
  display:flex;gap:2rem;align-items:center;flex-wrap:wrap;overflow:hidden;position:relative;
}
.hs-banner--promo .promo-media img{width:220px;height:auto;display:block;border-radius:14px;box-shadow:0 8px 25px -12px rgba(0,0,0,.5);}
.hs-banner--promo .promo-media.second img{width:180px;}
.promo-body{min-width:260px;max-width:540px;display:flex;flex-direction:column;gap:.95rem;}
.promo-title{margin:0;font-size:2rem;line-height:1.15;font-weight:700;letter-spacing:.5px;}
.promo-sub{margin:0;font-size:.9rem;line-height:1.5;opacity:.9;}
.promo-badges{display:flex;flex-wrap:wrap;gap:.5rem;}
.promo-badges span{background:#ffffff18;border:1px solid #ffffff30;padding:.4rem .65rem;font-size:.6rem;letter-spacing:.6px;border-radius:20px;font-weight:600;backdrop-filter:blur(2px);}
.promo-cta{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:#ffb800;color:#0d2c5b;text-decoration:none;padding:.8rem 1.4rem;border-radius:10px;font-size:.74rem;font-weight:700;letter-spacing:.6px;box-shadow:0 6px 20px -8px rgba(0,0,0,.4);transition:.3s;}
.promo-cta:hover{transform:translateY(-3px);box-shadow:0 10px 28px -10px rgba(0,0,0,.55);}

/* Edge */
.hs-banner--edge {width:100%;max-width:none;margin:3.2rem 0 2.6rem;background:var(--bn-gradient,linear-gradient(90deg,#1e3a8a,#0d6efd));color:#fff;position:relative;}
.hs-banner--edge .hs-banner__inner{max-width:1320px;margin:auto;padding:2.4rem clamp(1rem,3vw,2rem);display:flex;flex-wrap:wrap;gap:2.2rem;align-items:center;}
.hs-banner--edge .bn-title{margin:0 0 .65rem;font-size:1.9rem;font-weight:700;line-height:1.15;}
.hs-banner--edge .bn-sub{margin:0 0 1.1rem;font-size:.95rem;line-height:1.5;max-width:520px;opacity:.92;}
.hs-banner--edge .bn-cta{display:inline-flex;background:#fff;color:#0d47a1;padding:.75rem 1.4rem;font-size:.78rem;text-decoration:none;font-weight:600;border-radius:10px;letter-spacing:.5px;transition:.28s;}
.hs-banner--edge .bn-cta:hover{transform:translateY(-2px);box-shadow:0 6px 18px -6px rgba(0,0,0,.3);}
.hs-banner--edge .bn-art img {height: 2rem;}

/* Mosaic */
.hs-banner--mosaic{max-width:1320px;margin:2.8rem auto;border-radius:16px;background:#ffffff;border:1px solid #e2e8f0;padding:1.6rem 1.6rem 1.8rem;}
.mosaic-head{margin:0 0 1rem;}
.mosaic-head h2{margin:0;font-size:1.1rem;font-weight:600;color:#0f172a;}
.mosaic-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));}
.mosaic-tile{position:relative;display:flex;flex-direction:column;text-decoration:none;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;transition:.3s;}
.mosaic-tile:hover{transform:translateY(-4px);box-shadow:0 8px 22px -10px rgba(0,0,0,.15);}
.mosaic-tile img{width:100%;height:90px;object-fit:contain;background:#fff;display:block;padding:.6rem;}
.mt-label{font-size:.6rem;text-align:center;line-height:1.2;padding:.45rem .4rem .5rem;font-weight:600;letter-spacing:.5px;color:#334155;background:#f8fafc;flex:1;}

/* NA HERO (banner khusus New Arrival) */
.hs-banner--na-hero {
  max-width:1320px;
  margin:2.2rem auto 1.4rem;
  background:linear-gradient(110deg,#0d1b2e,#133b6d,#0d6efd);
  color:#fff;
  border-radius:22px;
  padding:2.1rem clamp(1.3rem,3vw,2.4rem);
  position:relative;
  overflow:hidden;
}
.hs-banner--na-hero:before,
.hs-banner--na-hero:after {
  content:'';
  position:absolute;
  width:420px;
  height:420px;
  background:radial-gradient(circle at center,#1d74ff 0%,rgba(29,116,255,0)70%);
  top:-140px;
  right:-120px;
  opacity:.35;
  pointer-events:none;
}
.hs-banner--na-hero:after {
  left:-160px;
  top:auto;
  bottom:-160px;
  width:500px;
  height:500px;
  background:radial-gradient(circle at center,#00b6ff 0%,rgba(0,182,255,0)70%);
  opacity:.18;
}
.na-hero-inner {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  position:relative;
  z-index:2;
}
.na-hero-text {
  max-width:560px;
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.na-hero-title {
  margin:0;
  font-size:2.4rem;
  line-height:1.15;
  font-weight:700;
  letter-spacing:.5px;
  background:linear-gradient(90deg,#ffffff,#d8ecff);
  -webkit-background-clip:text;
  color:transparent;
}
.na-hero-sub { margin:0; font-size:.98rem; line-height:1.5; opacity:.9; }
.na-hero-badges { display:flex; flex-wrap:wrap; gap:.5rem; }
.na-hero-badges span {
  background:#ffffff14;
  border:1px solid #ffffff30;
  padding:.45rem .7rem .4rem;
  font-size:.6rem;
  letter-spacing:.6px;
  border-radius:20px;
  font-weight:600;
  backdrop-filter:blur(2px);
}
.na-hero-cta {
  display:inline-flex;
  background:#ffb800;
  color:#0d2c5b;
  text-decoration:none;
  padding:.85rem 1.45rem;
  border-radius:12px;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.6px;
  box-shadow:0 8px 28px -10px rgba(0,0,0,.5);
  transition:.3s;
  margin-top:.3rem;
  max-width:200px;
  justify-content:center;
}
.na-hero-cta:hover { transform:translateY(-4px); box-shadow:0 12px 34px -12px rgba(0,0,0,.6); }
.na-hero-art img {
  width:340px;
  max-width:100%;
  height:auto;
  display:block;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.35));
  object-fit:contain;
}

/* ---------- CAROUSEL (New Arrival) ---------- */
.hs-carousel-wrapper { position:relative; }
.cr-nav {
  display:flex;
  gap:.5rem;
  margin-left:auto;
}
.cr-btn {
  background:#fff;
  border:1px solid #dbe3ec;
  width:40px;
  height:40px;
  border-radius:10px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.3rem;
  font-weight:600;
  color:#0d2c5b;
  transition:.25s;
  box-shadow:0 2px 6px -2px rgba(0,0,0,.15);
}
.cr-btn:hover { background:#0d6efd; color:#fff; border-color:#0d6efd; }
.cr-btn:active { transform:scale(.92); }

.cr-viewport {
  overflow:hidden;
  position:relative;
  width:100%;
  isolation:isolate;
}
.cr-track {
  display:flex;
  gap:1rem;
  will-change:transform;
  scroll-behavior:smooth;
  /* Fallback bila JS tidak aktif, scroll-x */
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:.4rem;
}
.cr-track::-webkit-scrollbar { display:none; }

.cr-item {
  flex:0 0 180px;
  max-width:180px;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  position:relative;
  overflow:hidden;
  transition:.28s;
}
.cr-item .thumb {
  aspect-ratio:1/1;
  background:#f1f5f9;
  position:relative;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.cr-item img { width:100%; height:100%; object-fit:cover; display:block; }
.cr-item .disc-badge {
  position:absolute; top:8px; left:8px;
  background:#dc2626; color:#fff; font-size:.58rem;
  padding:4px 6px 3px; border-radius:6px;
  font-weight:700; letter-spacing:.4px;
}
.cr-item .body {
  padding:.55rem .6rem .75rem;
  display:flex;
  flex-direction:column;
  gap:.45rem;
  min-height:80px;
}
.cr-item .title {
  margin:0;
  font-size:.68rem;
  line-height:1.25;
  height:2.5em;
  overflow:hidden;
  font-weight:600;
  color:#1e293b;
}
.cr-item .prices {
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  align-items:baseline;
  margin-top:auto;
}
.cr-item .prices .final { font-size:.78rem; font-weight:700; color:#0d6efd; }
.cr-item .prices .ori { font-size:.58rem; text-decoration:line-through; color:#94a3b8; }

.cr-item:hover {
  transform:translateY(-5px);
  box-shadow:0 10px 24px -10px rgba(0,0,0,.25);
  border-color:#d4dde6;
}

/* Responsive carousel item widths */
@media (max-width:1100px){
  .cr-item { flex:0 0 190px; max-width:190px; }
  .na-hero-title { font-size:2.05rem; }
}
@media (max-width:880px){
  .cr-item { flex:0 0 180px; max-width:180px; }
  .hs-banner--na-hero { padding:1.9rem 1.5rem; }
  .na-hero-title { font-size:1.85rem; }
}
@media (max-width:640px){
  .cr-item { flex:0 0 160px; max-width:160px; }
  .na-hero-art img { width:270px; margin-inline:auto; }
  .hs-banner--na-hero { text-align:center; }
  .na-hero-text { align-items:center; }
  .na-hero-cta { margin-left:0; }
  .na-hero-badges { justify-content:center; }
}

/* Spacing adjustments */
.hs-section + .hs-banner,
.hs-banner + .hs-section { margin-top:1.2rem; }

.hs-card .meta-line,
.cr-item .meta-line {
  margin-top:4px;
  font-size:12px;
  color:#555;
}
.hs-card .meta-line .sold,
.cr-item .meta-line .sold {
  background:#f5f5f5;
  padding:2px 6px;
  border-radius:12px;
  display:inline-block;
  line-height:1.2;
}

@media (max-width:640px){
    .hs-banner--full {display: none; border-radius:0 !important; } 
    .hs-banner__full-img-mob {display: block; }
    .hs-banner--slim {border-radius: 0 !important; }
    .hs-grid {grid-template-columns:repeat(auto-fill,minmax(150px,1fr));} 
    .hs-title {font-size:1.15rem;} 
    .hs-banner--na-hero {border-radius: 0 !important;}
    .hs-section {margin: 0 0 1rem; padding: 0 1.2rem; border: 0; }
}

