:root {
  /* Brand (ikut warna logo TLB) */
  --bkl-primary: #3a59fd;      /* biru-ungu */
  --bkl-primary-dark: #2437c7; /* hover / depth */
  --bkl-accent: #fe3b41;       /* merah-pink logo */
  --bkl-primary-soft: #eef2ff;
  --bkl-accent-soft: #ffe9ea;
  --bkl-hero-gradient: linear-gradient(135deg, var(--bkl-primary) 0%, var(--bkl-accent) 100%);
  --bkl-dark: #020617;
  --bkl-muted: #6b7280;
  --bkl-bg: #f3f4f6;
}

/* Bootstrap primary override (khusus brosur) */
body.page-brosur .btn-primary{
  background-color: var(--bkl-primary);
  border-color: var(--bkl-primary);
}
body.page-brosur .btn-primary:hover,
body.page-brosur .btn-primary:active{
  background-color: var(--bkl-primary-dark);
  border-color: var(--bkl-primary-dark);
}
body.page-brosur .btn-outline-primary{
  color: var(--bkl-primary);
  border-color: var(--bkl-primary);
}
body.page-brosur .btn-outline-primary:hover,
body.page-brosur .btn-outline-primary:active{
  background-color: var(--bkl-primary);
  border-color: var(--bkl-primary);
  color: #fff;
}

html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{
  background: var(--bkl-bg);
  color: var(--bkl-dark);
  font-size: .9rem;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-header{
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}
.page-title{
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bkl-dark);
  letter-spacing: .02em;
}
.page-subtitle{ font-size: .82rem; color: var(--bkl-muted); }

.chip{
  font-size: .75rem;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.pl-card{
  border: none;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

/* Kartu unit dibuat lebih compact */
.pl-card .card-body{ padding: .85rem .9rem; }
.pl-unit-title{ font-size: .95rem; line-height: 1.15; }
.pl-unit-spec{ font-size: .78rem; }

.pl-imgwrap{
  aspect-ratio: 1 / 1;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pl-img-placeholder{
  color: var(--bkl-muted);
  font-size: .9rem;
}

.pl-unit-title{
  font-weight: 900;
  letter-spacing: .01em;
}
.pl-unit-spec{ white-space: pre-line; }

.pl-thumb{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  background: #fff;
}
.pl-thumb img{ width: 100%; height: 100%; object-fit: cover; }

/* Thumbnail media: selalu 1 baris (foto + video), rapih di semua device.
   Kalau item banyak, akan bisa di-scroll horizontal (tidak turun baris). */
.pl-thumbgrid{
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px; /* ruang untuk scrollbar di beberapa browser */
  -webkit-overflow-scrolling: touch;
}
.pl-thumbgrid::-webkit-scrollbar{ height: 6px; }
.pl-thumbgrid::-webkit-scrollbar-thumb{ background: rgba(148,163,184,.55); border-radius: 999px; }
.pl-thumbgrid .pl-thumb{
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

/* Ukuran thumb adaptif untuk HP / iPad */
@media (max-width: 576px){
  .pl-thumbgrid{ gap: 6px; }
  .pl-thumbgrid .pl-thumb{ width: 44px; height: 44px; border-radius: 10px; }
}

/* Thumb sebagai button */
.pl-thumbbtn{
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* Klik foto (tanpa buka tab baru): tombol transparan menutup area gambar */
.pl-openbtn{
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  z-index: 6;
  cursor: pointer;
}

/* Lightbox */
.pl-lightbox-img{
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}

.pl-toolbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

/* Admin manage slots */
.pl-slot{
  border: none;
  border-radius: 1rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  background: #fff;
}
.pl-slot-label{ font-weight: 800; font-size: .95rem; }
.pl-slot-box{
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}
.pl-slot-img{ width: 100%; height: 100%; object-fit: cover; }
.pl-slot-empty{ color: var(--bkl-muted); font-size: .85rem; }

/* Mobile tuning: follow Kongsi “rapi & jelas” */
@media (max-width: 576px){
  .container{ padding-left: 12px !important; padding-right: 12px !important; }
  .page-title{ font-size: 1.02rem; }
  .pl-card .card-body{ padding: .75rem .8rem; }
  .pl-unit-title{ font-size: .9rem; }
  .pl-thumb{ width: 42px; height: 42px; border-radius: 10px; }
}


/* WhatsApp icon button (public) */
.wa-icon{padding:4px 7px;font-size:14px;border-radius:8px;line-height:1;}


/* WhatsApp button (center, compact) */
.wa-btn{padding:6px 10px;font-size:14px;border-radius:10px;line-height:1.2;}

/* Brosur page includes kongsi/responsive.css which sets .btn min-height:40px on small screens.
   Pricelist/outlet.php tidak memakai rule itu, jadi tombol WA di brosur terlihat lebih "gendut".
   Override khusus brosur agar 100% sama dengan pricelist/outlet.php. */
@media (max-width: 768px){
  body.page-brosur .btn.wa-btn,
  body.page-brosur .btn.wa-icon{
    min-height: unset !important;
  }
}


/* Pricelist badges + carousel */


/* =========================================================
   Brosur /manage.php (Admin) – lebih premium & responsif
   ========================================================= */
body.br-manage .card{ border-radius: 1.25rem; }

/* Layout utama per-item: 2 kolom (info | upload) agar tidak banyak ruang kosong */
.br-item-grid{
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 16px;
  align-items: start;
}

.br-left{ min-width: 0; }
.br-right{ min-width: 0; }

.br-item-card{
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.br-mainthumb{ width: 86px; height: 86px; border-radius: 18px; }
.br-title{ font-size: 1rem; letter-spacing: .01em; }
.br-badge{ font-weight: 700; }
.br-specs{ line-height: 1.25; }

/* Badge diskon % (tampil jika ada harga promo < harga normal) */
.br-disc{
  background: rgba(239, 68, 68, .12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, .28);
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 10px;
  letter-spacing: .2px;
}

.br-actions .btn{ border-radius: 12px; }

.br-slots-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.br-slot{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 10px;
}

.br-slot-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.br-slot-thumb{ width: 56px; height: 56px; border-radius: 14px; }

.br-slot .form-control-sm{ font-size: .82rem; }
.br-slot .btn{ border-radius: 12px; }

.br-video{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 10px;
}
.br-video-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.br-video-thumb{ width: 56px; height: 56px; border-radius: 14px; }

/* Tablet / iPad (portrait & landscape): jadi 1 kolom supaya tetap rapih */
@media (max-width: 991.98px){
  .br-item-grid{ grid-template-columns: 1fr; }
}

/* HP */
@media (max-width: 576px){
  .br-mainthumb{ width: 72px; height: 72px; border-radius: 16px; }
  .br-title{ font-size: .98rem; }
  .br-slots-grid{ grid-template-columns: 1fr; gap: 10px; }
  .br-slot{ padding: 10px; }
  .br-slot-thumb{ width: 52px; height: 52px; border-radius: 12px; }
  .br-video-thumb{ width: 52px; height: 52px; border-radius: 12px; }
}

/* Fine-tuning supaya form upload tidak mepet & tidak meluber */
.br-slot .form-control-sm{ min-width: 0; }
.br-slot .btn{ white-space: nowrap; }
.pl-badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index: 5;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  letter-spacing: .2px;
}
.pl-badge2{
  position:absolute;
  top:12px;
  left:82px;
  z-index: 5;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  letter-spacing: .2px;
}
.pl-carousel,
.pl-carousel .carousel-inner,
.pl-carousel .carousel-item{
  width: 100%;
  height: 100%;
}
.pl-carousel .carousel-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Brosur Manage: super ringkas (tanpa ubah logic) ===== */
.br-uploadcell .d-flex.gap-2.flex-wrap{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
}

/* Slot box lebih kecil */
.br-uploadcell .border.rounded-3.p-2{
  padding: .45rem !important;
}

/* Thumb mini di slot */
.br-uploadcell .br-thumb{
  width: 56px !important;
  height: 56px !important;
  border-radius: 12px !important;
}

/* Form compact: file input + tombol kecil */
.br-uploadcell .form-control.form-control-sm{
  font-size: .78rem;
  padding: .25rem .4rem;
}
.br-uploadcell .btn.btn-sm{
  padding: .28rem .55rem;
  font-size: .78rem;
}
.br-uploadcell .btn.btn-sm.mt-2{
  margin-top: .35rem !important;
}

/* Video box lebih ringkas */
.br-uploadcell [id^="vbox-"]{
  padding: .55rem !important;
}
.br-uploadcell .br-video-thumb{
  width: 72px !important;
  height: 72px !important;
  border-radius: 12px !important;
}

/* Table spacing dipadatkan */
.table > :not(caption) > * > *{
  padding-top: .55rem;
  padding-bottom: .55rem;
}

/* Responsive: saat layar kecil, 1 kolom */
@media (max-width: 992px){
  .br-uploadcell .d-flex.gap-2.flex-wrap{ grid-template-columns: 1fr; }
}


/* ===== Brosur - Top chips (Promo / Kupon / Home) ===== */
.pl-topnav{
  max-width: 560px;
  margin: 0 auto;
  /* Safety: make sure chipbar never gets "ketutup" by banner/overlays on some devices */
  position: relative;
  z-index: 5;
}

/* ===== Banner actions (Promo | Kupon | Cek Sekarang) ===== */
/* Tujuan: tombol tidak "ketutup", selalu rapi di portrait/landscape. */
.nd-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.nd-action-row{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}
.nd-action-row .pl-chipbar{
  justify-content: flex-end;
  gap: 8px;
  flex: 0 1 auto;
}
.nd-action-row .pl-chipbar .pl-chip,
.nd-action-row .nd-cta-chip{
  padding: .45rem .95rem;
  font-weight: 800;
}
.nd-action-row .pl-chipbar .pl-chip{ flex: 0 0 auto; }
.nd-action-row .nd-cta-chip{
  border-color: #e5e7eb;
}

@media (max-width: 576px){
  .nd-right{ align-items: stretch; }
  .nd-action-row{ justify-content: center; }
  .nd-action-row .pl-chipbar{ flex-wrap: wrap; justify-content: center; width: 100%; }
  /* 2 tombol (Promo, Kupon) sebaris */
  .nd-action-row .pl-chipbar .pl-chip{ flex: 1 0 calc(50% - 8px); }
  /* Cek Sekarang 1 baris penuh */
  .nd-action-row .nd-cta-chip{ flex: 1 0 100%; }
}
.pl-chipbar{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.pl-chipbar .pl-chip{
  flex: 1 1 0;
  min-width: 0;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.pl-chipbar .btn-light.pl-chip{
  background: #f3f4f6;
  border-color: #e5e7eb;
}
.pl-chipbar .btn-light.pl-chip:hover{
  background: #eef2ff;
}

/* Active state for filter chips */
.pl-chipbar .pl-chip.is-active{
  background: #111827 !important;
  color: #fff !important;
  border-color: #111827 !important;
}

/* ===== Brosur - Price layout like Tokopedia ===== */
.br-price-row{
  display:flex;
  align-items: baseline;
  gap: .5rem;
  /* Safety global: harga harus 1 baris (tidak ada enter di "Rp") di semua device */
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: visible;
}
.br-price-new{
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: .01em;
  line-height: 1.1;
  white-space: nowrap;
  display: inline-block;
  min-width: 0;
}
.br-price-old{
  font-size: .78rem;
  color: #9ca3af;
  line-height: 1.1;
  white-space: nowrap;
  display: inline-block;
  min-width: 0;
}
.br-price-old del{ color: inherit; display:inline-block; }

/* Pastikan wrapper harga tidak memotong teks di device tertentu */
.br-price{ overflow: visible; }

/* Mobile: keep clean & readable */
@media (max-width: 576px){
  /* Mobile portrait: 2 baris (Promo+Kupon di atas, Home di bawah) */
  .pl-chipbar{ flex-wrap: wrap; gap: 8px; }
  .pl-chipbar .pl-chip{
    flex: 1 0 calc(50% - 8px);
    padding-left: .75rem;
    padding-right: .75rem;
    font-size: .82rem;
    white-space: nowrap;
  }
  .pl-chipbar .pl-chip:nth-child(3){ flex-basis: 100%; }

  /* Kartu: lebih rapat + border tipis (mirip Tokopedia) */
  /* dibuat lebih "mepet" supaya kartu lebih lebar di HP */
  /* extra tight padding supaya 2 kolom terasa lebar di mode potret */
  body.page-brosur .container{ padding-left: 4px !important; padding-right: 4px !important; }

  .pl-card{
    border-radius: 9px;
    border: 1px solid #e5e7eb;
    /* shadow dibuat sangat tipis agar antar kartu terlihat mepet */
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  }
  /* padding diperkecil agar konten tidak kepotong & kartu terasa lebih lebar */
  .pl-card .card-body{ padding: .72rem .70rem; }

  /* Harga: 1 baris (tanpa "enter"), font lebih kecil, jangan sampai kepotong */
  .br-price-row{
    gap: .35rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: flex-start;
    overflow: visible;
  }
  .br-price-new{
    /* clamp supaya selalu muat di 2 kolom HP */
    font-size: clamp(.74rem, 4.2vw, .92rem);
    min-width: 0;
    white-space: nowrap;
    line-height: 1.05;
  }
  .br-price-old{
    font-size: clamp(.55rem, 3.0vw, .70rem);
    min-width: 0;
    white-space: nowrap;
    line-height: 1.05;
    margin-left: .35rem;
  }

  /* Grid: pemisah super tipis agar kartu lebih lebar & mepet seperti marketplace */
  .br-grid{ margin-left: -.5px; margin-right: -.5px; }
  .br-grid > [class^="col"],
  .br-grid > [class*=" col"]{ padding-left: .5px; padding-right: .5px; padding-top: .5px; padding-bottom: .5px; }

  /* Pastikan mode potret HP selalu 2 kolom (kadang override dari css lain) */
  .br-grid > .col-6{ flex: 0 0 50% !important; max-width: 50% !important; }


  /* === EXTRA mobile-tight (portrait) === */
  /* Kotak atas (promo box) lebih mepet seperti kotak bawah */
  .pl-promo{ padding: 14px 12px !important; margin: 8px 0 10px !important; border-radius: 18px !important; }

  /* Grid 2 kolom super rapat: pemisah tipis sekali */
  .br-grid{ margin-left: -0.5px !important; margin-right: -0.5px !important; }
  .br-grid > [class^="col"],
  .br-grid > [class*=" col"]{
    padding-left: 0.5px !important;
    padding-right: 0.5px !important;
    padding-top: 0.5px !important;
    padding-bottom: 0.5px !important;
  }

  /* Card: hilangkan shadow agar jarak tidak terasa lebar, ganti border tipis */
  .pl-card{
    border-radius: 18px !important;
    box-shadow: none !important;
    border: 1px solid #eef2f7 !important;
  }
  .pl-card .card-body{ padding: .68rem .62rem !important; }

  /* Judul/spec lebih kecil supaya harga tidak kepotong */
  .pl-unit-title{ font-size: .90rem !important; }
  .pl-unit-spec{ font-size: .74rem !important; }

  /* Harga dipaksa muat (full terlihat) */
  .br-price-row{ gap: .28rem !important; }
  .br-price-new{ font-size: clamp(.70rem, 4.0vw, .88rem) !important; }
  .br-price-old{ font-size: clamp(.52rem, 2.8vw, .66rem) !important; margin-left: .28rem !important; }

  /* Tombol WA sedikit lebih kecil biar konten lega */
  .btn-wa{ padding: .44rem .70rem !important; font-size: .86rem !important; }
  .pl-topnav{ max-width: 100%; }
}


/* Grid brosur lebih rapat seperti marketplace */
.br-grid{ margin-left: -2px; margin-right: -2px; }
.br-grid > [class^="col"],
.br-grid > [class*=" col"]{ padding-left: 2px; padding-right: 2px; }

/* Spesifikasi: ringkas, tidak membuat kartu jadi tinggi */
.br-spec{
  min-height: 1.6em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Fallback: beberapa device mobile melaporkan lebar >576px, jadi tetap rapat sampai 768px */
@media (max-width: 768px){
  body.page-brosur .container{ padding-left: 6px !important; padding-right: 6px !important; }
  /* Samakan "garis pembatas" (gutter) tipis seperti mode potret */
  .br-grid{ margin-left: -0.5px; margin-right: -0.5px; }
  .br-grid > [class^="col"],
  .br-grid > [class*=" col"]{ padding-left: 0.5px; padding-right: 0.5px; padding-top: 0.5px; padding-bottom: 0.5px; }
  .pl-card{ box-shadow: none; border: 1px solid #eef2f7; }
  /* Landscape HP sering punya lebar >576px (kena rule 768px).
     Paksa harga tetap 1 baris agar tidak ada "enter" di Rp. */
  .br-price-row{
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: visible;
  }
  .br-price-new,
  .br-price-old{
    white-space: nowrap !important;
    display: inline-block;
    min-width: 0;
  }
  .br-price-new{ font-size: clamp(.74rem, 3.6vw, .92rem); }
  .br-price-old{ font-size: clamp(.56rem, 2.6vw, .72rem); }
}

/* Landscape HP & tablet: samakan "garis pembatas" (gap grid) setipis mode potret */
@media (max-width: 992px){
  .br-grid{ margin-left: -0.5px !important; margin-right: -0.5px !important; }
  .br-grid > [class^="col"],
  .br-grid > [class*=" col"]{
    padding-left: 0.5px !important;
    padding-right: 0.5px !important;
    padding-top: 0.5px !important;
    padding-bottom: 0.5px !important;
  }
  /* Card border tipis seperti potret */
  .pl-card{ box-shadow: none !important; border: 1px solid #eef2f7 !important; }
}

/* Extra safety: HP landscape (orientasi) – samakan rasa dengan potret */
@media (max-width: 992px) and (orientation: landscape){
  /* HP / tablet landscape: divider super tipis seperti potret */
  .br-grid{ margin-left: -0.5px !important; margin-right: -0.5px !important; }
  .br-grid > [class^="col"],
  .br-grid > [class*=" col"]{ padding-left: 0.5px !important; padding-right: 0.5px !important; padding-top: 0.5px !important; padding-bottom: 0.5px !important; }
  .pl-card{ box-shadow: none !important; border: 1px solid #eef2f7 !important; }

  .br-price-row{ flex-wrap: nowrap !important; white-space: nowrap !important; }
  .br-price-new, .br-price-old{ white-space: nowrap !important; }
}

/* ===== ND Gajian Sale Banner (Top) ===== */
.nd-sale-banner{
  position: relative;
  z-index: 1;
  background: var(--bkl-hero-gradient);
  border: 1px solid rgba(255,255,255,.18);
}
.nd-sale-banner:before{
  content:"";
  position:absolute; inset:-40px -60px auto auto;
  width:220px; height:220px;
  background: rgba(255,255,255,.18);
  filter: blur(0px);
  border-radius: 999px;
  transform: rotate(10deg);
  pointer-events: none;
}
.nd-sale-banner:after{
  content:"";
  position:absolute; inset:auto auto -60px -60px;
  width:260px; height:260px;
  background: rgba(0,0,0,.10);
  border-radius: 999px;
  pointer-events: none;
}
.nd-sale-content{ position: relative; z-index: 1; color:#fff; }
.nd-logo{ width:34px; height:34px; object-fit:contain; border-radius:10px; background:#fff; padding:6px; }
.nd-badge{
  font-size:.72rem; letter-spacing:.08em; font-weight:800;
  padding:.25rem .5rem; border-radius:999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
}
.nd-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  text-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.nd-sub{ opacity:.92; font-size:.92rem; }

.nd-right{ min-width: 240px; }
.nd-box{
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  padding: .85rem .95rem;
  backdrop-filter: blur(8px);
}
.nd-box-row{ display:flex; align-items:baseline; justify-content:space-between; gap:.75rem; }
.nd-box-label{ font-size:.85rem; opacity:.92; font-weight:700; }
.nd-box-value{ font-size:1.45rem; font-weight:900; line-height:1; }
.nd-divider{ height:1px; background: rgba(255,255,255,.22); margin:.55rem 0; }

.btn.nd-cta{
  margin-top:.6rem;
  width: 100%;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.22);
  color:#fff;
  font-weight: 800;
}
.btn.nd-cta:hover{ background: rgba(0,0,0,.26); color:#fff; }

@media (max-width: 576px){
  .nd-right{ width: 100%; }
  .nd-box-value{ font-size:1.35rem; }
}


/* =========================
   Sticky Filter Bar (e-commerce style)
   ========================= */
.br-stickybar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  /* Premium modern navbar look */
  background: linear-gradient(135deg, rgba(2,6,23,.78), rgba(58,89,253,.70));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: none;
  padding: .22rem 0;
  margin-bottom: .08rem; /* jarak tipis biar premium */
}

/* Remove stickybar shadow on mobile/tablet portrait (requested) */
@media (max-width: 1024px) and (orientation: portrait){
  .br-stickybar{ box-shadow: none !important; }
}


/* Spacer so fixed navbar doesn't cover content */
body.page-brosur{ --br-nav-h: 72px; padding-top: var(--br-nav-h); font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.br-navrow{ width: 100%; flex-wrap: nowrap; }
.br-brand{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  flex: 0 0 auto;
}
.br-brand-logo{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}
.br-brand-text{
  font-weight: 800;
  letter-spacing: .02em;
  font-size: .95rem;
  /* gradasi warna logo/brand */
  background: linear-gradient(90deg, #f59e0b, #f97316, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.br-filterform{
  width: 100%;
  min-width: 0;
}

.br-selectwrap{
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}
.br-filter-select{
  flex: 1 1 0;
  min-width: 0;
  border-radius: 9px; /* ujung sedikit saja biar premium */
  padding-top: .24rem;
  padding-bottom: .24rem;
  padding-left: .78rem;
  padding-right: 2.2rem; /* ruang icon dropdown */
  font-weight: 700;
  font-size: .90rem;
  line-height: 1.1;
  height: 34px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.90);
  /* Hide native selected text to avoid double/overlap on some mobile browsers */
  color: rgba(0,0,0,0);
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  caret-color: transparent;
}
.br-filter-select option{ color:#111827; }
.br-filter-select:focus{
  box-shadow: 0 0 0 .2rem rgba(79,70,229,.18);
  border-color: rgba(79,70,229,.35);
}

.br-marquee{
  pointer-events: none;
  position: absolute;
  left: .85rem;
  right: 2.2rem;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  white-space: nowrap;
  font-weight: 800;
  font-size: .92rem;
  color: #111827;
}
.br-marquee-text{
  display: inline-block;
  white-space: nowrap;
}
.br-selectwrap.is-overflow .br-marquee-text{
  padding-left: 100%;
  animation: br-marquee-left linear infinite;
}
@keyframes br-marquee-left{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.br-reset-btn{
  flex: 0 0 auto;
  border-radius: 999px;
  /* attractive icon-only reset */
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  padding: 0;
  box-shadow: 0 10px 20px rgba(2,6,23,.22);
}
.br-reset-btn i{ font-size: 1.1rem; }
.br-reset-btn:hover{
  background: linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.12));
  color: #fff;
}
@media (max-width: 575.98px){
  .br-stickybar{ padding: .4rem 0; }
  .br-brand-text{ display:none; }
  /* keep single-row without horizontal scrollbar; make elements slimmer */
  .br-navrow{ overflow: hidden; }
  .br-brand-logo{ width: 30px; height: 30px; border-radius: 10px; }
  .br-filter-select{ font-size: .86rem; height: 38px; border-radius: 10px; padding-left: .72rem; padding-right: 2.05rem; }
  .br-marquee{ left: .72rem; right: 2.05rem; font-size: .86rem; }
  .br-reset-btn{ width: 42px; height: 38px; }
}


/* Reset button tweak on very small screens */
@media (max-width: 480px){
  body.page-brosur{ --br-nav-h: 66px; }
  .br-navrow{ gap: .45rem !important; }
  .br-reset-btn{ width: 40px; height: 38px; }
}

/* Outlet selector */
.nd-outlet-form{min-width: 180px;}
.nd-outlet-select{border-radius:999px; padding-left:.9rem; padding-right:.9rem;}
@media(max-width:420px){.nd-outlet-form{min-width: 140px;}}


/* Active state for Promo chip (toggle filter without reload) */
.pl-chip.pl-chip-active{
  background: #ffc107;
  border-color: #ffc107;
  color: #111 !important;
  font-weight: 700;
}
.pl-chip.pl-chip-active i{ color: #b42318; }
