/* ═══════════════ RID STORE — HALAMAN TOKO ALA VIDEO ═══════════════ */
body.store-page { padding-bottom: 110px; }
body.store-page .container { padding-bottom: 24px; }

/* ── Header ala video: logo merah + rating + tombol ••• ── */
.store-head-rate { display: flex; align-items: center; gap: 10px; min-width: 0; }
#wifiBtn, #themeBtn { display: none; }

/* Hero lama disembunyikan (video langsung kartu outlet) */
#brandHero { display: none; }

/* ── Brand modal (•••): 2x2 tile ala video ── */
#brandModal { position: fixed; inset: 0; z-index: 120; display: none; align-items: flex-start; justify-content: center; padding: 76px 18px 18px; background: rgba(20,8,10,.55); }
#brandModal.show { display: flex; }
.brand-modal { width: 100%; max-width: 420px; background: #fff; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: 22px 16px 16px; animation: sheetUp .25s var(--ease); }
.brand-modal-head { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
.brand-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brand-tile {
  border: 2.5px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm);
  min-height: 104px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-weight: 900; font-size: 13px; color: var(--ink); text-decoration: none; cursor: pointer;
}
.brand-tile img { width: 44px; height: 44px; object-fit: contain; }
.brand-tile small { font-size: 10.5px; letter-spacing: .12em; color: var(--gold-dark); font-weight: 800; }
.brand-tile.active { outline: 3px solid var(--green); }

/* ── Kartu outlet krem ala video ── */
.outlet-bar { position: sticky; top: var(--nav-h); z-index: 30; padding: 12px 14px 6px; background: var(--bg); }
.outlet-card {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  padding: 12px; border-radius: var(--r-md); background: var(--cream);
  border: 2px solid var(--ink); box-shadow: var(--shadow-sm); font-family: inherit; color: var(--ink);
}
.outlet-card.empty { border-style: dashed; }
.outlet-card.attention { animation: nudge .6s var(--ease) 2; }
.oc-ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: var(--gold); border: 2px solid var(--ink); color: var(--ink); display: grid; place-items: center; }
.oc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.oc-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 800; }
.oc-name { font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--muted); }
.oc-change { flex-shrink: 0; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 2px; }

/* ── Kartu WiFi ala video ── */
.wifi-card {
  margin: 8px 14px 0; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 2px solid var(--ink); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 12px;
}
.wifi-card .wifi-ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); display: grid; place-items: center; }
.wifi-card small { color: var(--muted); font-weight: 600; font-size: 12px; }
.wifi-card b { font-size: 16.5px; }
.btn-salin { margin-left: auto; background: var(--gold); border: 2px solid var(--ink); border-radius: 10px; padding: 9px 16px; font-weight: 900; cursor: pointer; box-shadow: var(--shadow-xs); font-family: inherit; flex-shrink: 0; }
.btn-salin:active { transform: translate(2px, 2px); box-shadow: none; }

/* ── Search menu ala video ── */
.menu-search { position: relative; margin: 12px 14px 0; }
.menu-search .menu-search-icon, .menu-search > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink); display: grid; place-items: center; pointer-events: none; }
.menu-search input {
  width: 100%; border: 2px solid var(--ink); border-radius: 14px; background: #fff;
  padding: 13px 14px 13px 42px; font-size: 15px; font-family: inherit; outline: none; box-shadow: var(--shadow-xs);
}
.menu-search input:focus { border-color: var(--green-dark); }

/* ── Tab Menu / Bundling Promo ala video ── */
.menu-toolbar { position: sticky; top: calc(var(--nav-h) + var(--outlet-h, 0px)); z-index: 29; background: var(--bg); padding: 10px 14px 4px; }
.mode-seg { display: flex; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-xs); }
.mode-seg button { flex: 1; border: none; background: #fff; padding: 13px 4px; font-weight: 900; font-size: 14px; cursor: pointer; color: var(--ink); border-right: 2px solid var(--ink); }
.mode-seg button:last-child { border-right: none; }
.mode-seg button.active { background: var(--red); color: #fff; }
.mode-tag { display: inline-block; background: var(--green); color: #fff; font-size: 10px; font-weight: 900; border-radius: 6px; padding: 1px 7px; margin-left: 4px; vertical-align: 2px; }
.mode-seg button.active .mode-tag { background: #fff; color: var(--red); }

/* ── Kategori garis-bawah emas ala video ── */
.cat-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cat-all { display: none; }
.cat-bar { display: flex; gap: 20px; overflow-x: auto; padding: 2px 4px; scrollbar-width: none; flex: 1; }
.cat-bar::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto; background: none; border: none; box-shadow: none; border-radius: 0;
  padding: 9px 2px; font-weight: 800; font-size: 15px; color: var(--ink); cursor: pointer;
  border-bottom: 3px solid transparent; display: inline-flex; align-items: center; gap: 6px; font-family: inherit;
}
.cat-pill svg { display: none; }
.cat-pill.active { color: var(--gold-dark); border-bottom-color: var(--gold); }

/* ── Grid produk 3 kolom sesuai request client (Page 1) ── */
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 10px 0; }
.menu-empty {
  grid-column: 1 / -1;
  width: 100%;
  padding: 24px 18px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 2px dashed var(--gold);
  border-radius: var(--r-md);
  box-sizing: border-box;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 6px 0;
}
.menu-empty b {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 6px;
}
.menu-section { display: contents; }
.section-head { display: none; }
/* Kartu satuan (vertikal kompak 3 kolom) */
.row {
  position: relative; display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0;
  background: #fff; color: var(--ink); font-family: inherit;
  border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-xs); overflow: hidden;
}
.row .thumb { height: 96px; background: linear-gradient(180deg, #fff, #FFE9D2); display: grid; place-items: center; border-bottom: 1.5px solid var(--ink); overflow: hidden; }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row .thumb .ph-logo { width: 40px; height: 40px; object-fit: contain; opacity: .85; }
.row-body { padding: 6px 6px 38px 6px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.row-tags { position: absolute; top: 5px; left: 5px; z-index: 2; }
.row-name {
  font-weight: 800; font-size: 11.5px; line-height: 1.25; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 28px;
}
.row-desc { display: none; }
.row-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 4px; margin-top: 2px; }
.row-price .price { color: var(--red); font-size: 12px; font-weight: 900; }
.row-price .price-normal { color: var(--faint); text-decoration: line-through; font-size: 9.5px; }
.row .add-btn, .gcard .add-btn {
  position: absolute; right: 6px; bottom: 6px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); border: 1.5px solid var(--ink); box-shadow: var(--shadow-xs);
  display: grid; place-items: center; color: var(--ink);
}
.row .add-btn svg, .gcard .add-btn svg { width: 13px; height: 13px; }
/* ── Menu Tidak Tersedia / Sold Out (Abu-abu & tulisan di kiri atas) ── */
.row.sold, .gcard.sold {
  background: #EDEDED !important;
  border-color: #A1A1AA !important;
  box-shadow: 2px 2px 0 #A1A1AA !important;
  opacity: 0.82 !important;
  cursor: not-allowed !important;
}
.row.sold .thumb, .gcard.sold .gcard-art {
  background: #E4E4E7 !important;
  border-bottom-color: #A1A1AA !important;
}
.row.sold .thumb img, .gcard.sold .gcard-art img {
  filter: grayscale(1) contrast(0.85) !important;
  opacity: 0.55 !important;
}
.row.sold .row-name, .gcard.sold .gcard-name {
  color: #71717A !important;
}
.row.sold .row-price .price, .gcard.sold .gcard-foot .price {
  color: #8E8E93 !important;
}
.row.sold .price-normal {
  color: #B0B0B5 !important;
}
.row.sold .save-badge {
  display: none !important;
}

/* Badge Tidak Tersedia di kiri atas kartu */
.row-tags .badge.badge-sold, .gcard-art .badge.badge-sold {
  background: #52525B !important;
  color: #FFFFFF !important;
  border: 1.5px solid #27272A !important;
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,.35) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  padding: 2.5px 7px !important;
  border-radius: 6px !important;
  letter-spacing: 0.3px !important;
  text-transform: capitalize !important;
}
.gcard-art .badge.badge-sold {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.bcand.sold {
  background: #F4F4F5 !important;
  border-color: #A1A1AA !important;
  filter: grayscale(1);
  opacity: 0.65;
}
.bcand.sold img {
  filter: grayscale(1);
  opacity: 0.6;
}
.bcand em.bcand-sold {
  display: block;
  font-style: normal;
  color: #71717A;
  font-size: 10.5px;
  font-weight: 800;
}
/* Kartu bundling */
.grid { display: contents; }
.gcard {
  position: relative; display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0;
  background: #fff; color: var(--ink); font-family: inherit;
  border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-xs); overflow: hidden;
}
.gcard-art { position: relative; height: 96px; background: linear-gradient(180deg, #fff, #FFE9D2); border-bottom: 1.5px solid var(--ink); overflow: hidden; display: grid; place-items: center; }
.gcard-art > img { width: 100%; height: 100%; object-fit: cover; }
.gcard-art .ph-logo { width: 40px; height: 40px; object-fit: contain; }
.gcard-art .badge, .row-tags .badge { box-shadow: 1.5px 1.5px 0 rgba(0,0,0,.35); }
.bundle-gcard .gcard-art { height: 135px; background: #FFFBF5; }
.bundle-gcard .gcard-art > img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gcard-body { padding: 6px 6px 36px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.gcard-name { font-weight: 800; font-size: 11.5px; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 28px; }
.gcard-meta { color: var(--muted); font-size: 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.gcard-foot { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
.gcard-foot .price { color: var(--red); font-size: 12px; font-weight: 900; }
.bundle-from .price { color: var(--red); }
/* Kolase bundling */
.collage { position: relative; width: 100%; height: 100%; display: grid; }
.collage.c2 { grid-template-columns: 1fr 1fr; }
.collage.c3 { grid-template-columns: 1fr 1fr 1fr; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-tag { position: absolute; left: 8px; bottom: 8px; background: rgba(27,27,27,.85); color: #fff; border-radius: 10px; padding: 4px 10px; font-size: 11px; font-weight: 800; }
.collage-tag b { font-size: 15px; }
.bundle-art { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; background: var(--cream); }
.ba-top { font-size: 11px; font-weight: 800; color: var(--gold-dark); }
.ba-big { font-size: 34px; font-weight: 900; color: var(--red); }
.ba-big small { font-size: 14px; }

/* ── Toast outlet ala video ── */
.menu-source {
  margin: 14px; padding: 11px 16px; text-align: center;
  background: var(--cream); border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 700;
}
.store-foot { text-align: center; color: var(--muted); font-size: 12px; padding: 8px 20px 90px; }

/* ── Sheet outlet ── */
.outlet-sheet { min-height: 70dvh; }
.outlet-search { position: relative; }
.outlet-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; }
.outlet-search input { width: 100%; border: 2px solid var(--ink); border-radius: 13px; background: #fff; height: 50px; padding: 0 14px 0 42px; font-size: 15px; font-family: inherit; outline: none; }
.outlet-search input:focus { border-color: var(--green-dark); }
.geo-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 4px; margin-top: 6px; text-align: left; background: none; border: none; border-bottom: 2px solid var(--ink); cursor: pointer; font-family: inherit; color: var(--ink); }
.geo-btn b { display: block; font-size: 14.5px; }
.geo-btn small { display: block; font-size: 12.5px; color: var(--muted); }
.geo-ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; background: var(--gold-soft); border: 2px solid var(--ink); display: grid; place-items: center; }
.geo-btn.loading .geo-ico svg { animation: spin 1s linear infinite; }
.outlet-list { margin-top: 4px; }
.outlet-opt { display: flex; gap: 12px; width: 100%; text-align: left; padding: 13px 8px; border: none; border-bottom: 1.5px dashed #D8CFC0; background: transparent; cursor: pointer; font-family: inherit; color: var(--ink); border-radius: 8px; }
.outlet-opt:hover, .outlet-opt.kb { background: #fff; }
.outlet-opt.current { background: var(--ok-soft); }
.oo-dist { width: 52px; flex-shrink: 0; text-align: center; }
.oo-dist b { display: block; font-size: 14px; }
.oo-dist small { font-size: 10.5px; color: var(--muted); }
.oo-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.oo-top { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.oo-name { font-weight: 800; font-size: 14.5px; }
.outlet-opt.current .oo-name::after { content: " · dipilih"; font-weight: 700; color: var(--green-dark); font-size: 12px; }
.oo-addr { font-size: 12.5px; color: var(--muted); }
.oo-hours { font-size: 12px; color: var(--gold-dark); font-weight: 700; }
.outlet-empty { text-align: center; color: var(--muted); padding: 30px 10px; line-height: 1.6; }
.outlet-note { font-size: 11.5px; color: var(--faint); padding: 10px 4px; }

/* ── Sheet kategori ── */
.cat-group-label { margin: 10px 0 4px; }
.cat-list { display: flex; flex-direction: column; gap: 8px; }
.cat-opt { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--ink); border-radius: 13px; padding: 11px 12px; cursor: pointer; font-family: inherit; color: var(--ink); box-shadow: var(--shadow-xs); }
.cat-opt.active { background: var(--cream); }
.cat-opt .ico { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: var(--gold-soft); border: 2px solid var(--ink); display: grid; place-items: center; }
.cat-opt .n { flex: 1; font-weight: 800; font-size: 14.5px; text-align: left; }
.cat-opt small { color: var(--muted); font-size: 12px; }

/* ── Sheet produk ── */
.item-hero { display: none; border: 2px solid var(--ink); border-radius: var(--r-md); overflow: hidden; margin-bottom: 12px; }
.item-hero.show { display: block; }
.item-hero img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.item-name { font-size: 20px; font-weight: 900; margin-top: 2px; }
.item-desc { color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.55; }
.item-desc:empty { display: none; }
.item-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.item-price { font-size: 19px; color: var(--red); }
.item-normal { color: var(--faint); text-decoration: line-through; font-size: 13px; }
/* Pilihan varian/request diperkecil agar pas layar & tidak makan size (Page 2) */
.opt-group { margin-top: 9px; }
.opt-title { font-weight: 800; font-size: 12px; margin-bottom: 5px; }
.opt-hint { font-weight: 600; color: var(--muted); font-size: 10.5px; }
.opt-choices { display: flex; flex-wrap: wrap; gap: 5px; }
.opt-pill {
  border: 1.5px solid var(--ink); background: #fff; border-radius: 999px; padding: 4.5px 10px;
  font-weight: 700; font-size: 11px; cursor: pointer; font-family: inherit; color: var(--ink); box-shadow: 1px 1px 0 var(--ink);
  line-height: 1.25;
}
.opt-pill small { opacity: .75; font-weight: 700; font-size: 9.5px; margin-left: 3px; }
.opt-pill.active { background: var(--ink); color: #fff; }
.opt-pill:disabled { opacity: .4; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.qty-label { font-weight: 800; font-size: 13px; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); border: 1.5px solid var(--ink); box-shadow: var(--shadow-xs); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.qty .num { font-size: 16px; font-weight: 900; min-width: 22px; text-align: center; }

/* ── Sheet bundling ── */
.bundle-price { font-size: 24px; color: var(--red); margin-top: 6px; }
.bundle-fixed { color: var(--muted); font-size: 13px; margin-top: 4px; }
.bundle-slots { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.bundle-slot { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 13px; padding: 10px 12px; cursor: pointer; font-family: inherit; color: var(--ink); text-align: left; box-shadow: var(--shadow-xs); }
.bundle-slot.active { background: var(--cream); }
.bundle-slot.filled { border-color: var(--green-dark); }
.slot-num { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900; font-size: 13px; display: grid; place-items: center; }
.slot-txt { display: flex; flex-direction: column; }
.slot-name { font-weight: 800; font-size: 14px; }
.slot-opts { font-size: 12px; color: var(--muted); }
.bundle-grid-title { font-size: 15px; font-weight: 900; margin: 16px 0 8px; }
.bundle-price, #bundleSheet .bundle-price { display: none !important; }

.bundle-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFDF9;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  margin: 12px 0 8px;
  box-shadow: 2px 2px 0 var(--ink);
}
.bundle-total-bar .btb-label { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.bundle-total-bar .btb-price { font-size: 16px; font-weight: 900; color: #8F1223; }

.slot-price, .slot-p { font-size: 13px; font-weight: 900; color: #8F1223; margin-left: 4px; }

.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bcand {
  background: #fff; border: 2px solid var(--ink); border-radius: 14px;
  overflow: hidden; cursor: pointer; font-family: inherit; color: var(--ink);
  font-size: 11.5px; font-weight: 700; padding: 0 0 8px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-align: center; box-shadow: 2px 2px 0 var(--ink);
  transition: transform .1s, border-color .15s;
}
.bcand:active { transform: scale(0.97); }
.bcand.picked {
  border-color: #8F1223 !important;
  box-shadow: 0 0 0 2px #8F1223, 2px 2px 0 var(--ink) !important;
  background: #FFF9F9 !important;
}
.bcand img {
  width: 100%; height: 72px; object-fit: contain;
  border-bottom: 2px solid var(--ink); display: block; background: #fff;
}
.bcand span.bcand-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; padding: 6px 4px 2px; line-height: 1.25;
  font-size: 11.5px; font-weight: 800; min-height: 30px; color: var(--ink);
}
.bcand-price {
  display: block; font-size: 12.5px; font-weight: 900; color: #8F1223;
  padding: 2px 4px 0; margin-top: auto;
}
.bcand-sold {
  display: block; font-size: 10px; font-weight: 800; color: #71717A;
  padding: 2px 4px 0; text-transform: uppercase;
}
.bcand:disabled { opacity: .65; cursor: not-allowed; }
.bundle-adjust { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-md); padding: 12px; margin-top: 12px; }
.bundle-adjust h4 { font-size: 15px; margin-bottom: 4px; }

/* ── Keranjang ── */
.cart-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.cart-empty { text-align: center; color: var(--muted); padding: 26px 10px; }
.cart-empty b { display: block; color: var(--ink); margin-bottom: 4px; }
.cart-item { display: flex; gap: 12px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r-md); padding: 10px; box-shadow: var(--shadow-xs); }
.cart-item .thumb { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; border: 2px solid var(--ink); overflow: hidden; display: grid; place-items: center; background: var(--cream); }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .thumb .ph { font-weight: 900; color: var(--red); font-size: 13px; }
.ci-body { flex: 1; min-width: 0; }
.ci-name { font-weight: 800; font-size: 14.5px; }
.ci-opts { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.ci-warn { font-size: 12.5px; color: var(--danger); font-weight: 800; margin-top: 4px; }
.ci-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ci-actions { display: flex; align-items: center; gap: 8px; }
.mini { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.ci-actions .q { font-weight: 900; min-width: 20px; text-align: center; }
.cart-form { margin-top: 6px; }
.pickup-time { margin-top: 8px; }
.summary { background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r-md); padding: 12px 14px; margin-top: 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 2px 0; }
.summary-total { display: flex; justify-content: space-between; font-weight: 900; font-size: 17px; margin-top: 6px; padding-top: 8px; border-top: 2px dashed var(--gold); }
.summary-total .price { color: var(--red); }
.summary-note { font-size: 12.5px; color: var(--green-dark); font-weight: 700; margin-top: 6px; }
#cartReset { flex: 0 0 auto; }
#checkoutBtn { flex: 1; background: var(--green); color: #fff; border-color: #06390f; box-shadow: 3px 3px 0 #06390f; }

/* ── WiFi sheet ── */
.wifi-date { color: var(--muted); font-size: 13px; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.wifi-field { background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r-md); padding: 12px 14px; margin-top: 12px; text-align: left; }
.wifi-field small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.wifi-field strong { font-size: 19px; }
.wifi-field.pass { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); border: 2px solid var(--ink); border-radius: 10px; padding: 9px 14px; font-weight: 900; cursor: pointer; font-family: inherit; box-shadow: var(--shadow-xs); }

/* ═══════════════ NUFS / VIDEO STORE STYLING ═══════════════ */
body.store-page { background: #FAF3ED; }
body.store-page .container { max-width: 480px; margin: 0 auto; background: #FAF3ED; min-height: 100vh; }

.topnav { background: #FAF3ED; border-bottom: 2px solid var(--ink); padding: 10px 16px; }
.topnav-left { display: flex; align-items: center; gap: 10px; }
.logo-rate { background: #FFE8E8; color: #D32F2F; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1.5px solid var(--ink); }
.brand-dots-btn {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink); font-size: 18px; font-weight: 900; cursor: pointer; display: grid; place-items: center;
}

/* ── Inline Outlet Section ── */
.outlet-section {
  margin: 14px 14px 0; background: #F6EFE5; border: 2.5px solid var(--ink);
  border-radius: 20px; box-shadow: 3px 3px 0 var(--ink); padding: 14px; position: relative;
}
.os-header { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.os-pin { font-size: 14px; }
.os-title { font-size: 11.5px; font-weight: 900; letter-spacing: .12em; color: #333; }
.os-input-wrap { position: relative; width: 100%; }
.os-input-wrap input {
  width: 100%; background: #fff; border: 2px solid var(--ink); border-radius: 14px;
  padding: 12px 38px 12px 14px; font-size: 14.5px; font-family: inherit; font-weight: 600; outline: none;
}
.os-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px;
  border-radius: 50%; border: 1.5px solid var(--ink); background: #eee; display: grid; place-items: center;
  font-size: 12px; cursor: pointer; color: #222;
}
.os-chip {
  margin-top: 10px; display: flex; align-items: center; justify-content: space-between;
  background: #E8F5E9; border: 2px solid #2E7D32; border-radius: 14px; padding: 10px 14px;
  font-size: 14px; font-weight: 800; color: #1B5E20; box-shadow: 2px 2px 0 #2E7D32;
}
.os-chip button {
  border: none; background: transparent; cursor: pointer; font-size: 16px; font-weight: 900; color: #1B5E20;
}
.os-dropdown {
  margin-top: 8px; max-height: 280px; overflow-y: auto; background: #fff;
  border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.15);
  display: flex; flex-direction: column;
}
.od-item {
  padding: 12px 14px; border-bottom: 1px solid #EFEAE2; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 2px;
}
.od-item:last-child { border-bottom: none; }
.od-item:hover { background: #FAF5EB; }
.od-head { display: flex; align-items: center; justify-content: space-between; }
.od-name { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.od-tutup { background: #FFE8E8; color: #D32F2F; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; border: 1px solid #FFCDD2; }
.od-type { font-size: 12px; color: #666; font-weight: 600; }
.od-addr { font-size: 11.5px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-closed-msg { font-size: 11.5px; color: #D32F2F; font-weight: 700; margin-top: 3px; }

/* ── WiFi Card ── */
.wifi-card {
  margin: 10px 14px 0; background: #fff; border: 2.5px solid var(--ink);
  border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.wifi-ic {
  width: 44px; height: 44px; border-radius: 50%; background: #F3DEB3;
  border: 2px solid var(--ink); display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
}
.wifi-body { flex: 1; min-width: 0; }
.wifi-body small { color: #777; font-size: 11.5px; font-weight: 600; display: block; }
.wifi-body b { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: .3px; }
.btn-salin {
  background: #E8D5B5; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 14px;
  font-size: 13.5px; font-weight: 800; cursor: pointer; font-family: inherit; box-shadow: 2px 2px 0 var(--ink); flex-shrink: 0;
}
.btn-salin:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }

/* ── Mode 3-Segment Toolbar ── */
.menu-toolbar {
  position: sticky; top: var(--nav-h); z-index: 29; background: #FAF3ED;
  padding: 10px 14px 4px;
}
.mode-seg-3 {
  display: flex; border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: 3px 3px 0 var(--ink);
}
.mode-tab {
  flex: 1; border: none; background: #fff; padding: 12px 4px; font-weight: 800;
  font-size: 13.5px; cursor: pointer; color: var(--ink); border-right: 2px solid var(--ink);
  font-family: inherit; transition: background .15s, color .15s;
}
.mode-tab:last-child { border-right: none; }
.mode-tab.active[data-mode="single"] { background: #8F1223; color: #fff; }
.mode-tab.active[data-mode="paket48k"] { background: #C8A86A; color: #1B1B1B; font-weight: 900; }
.mode-tab.active[data-mode="bundle"] { background: #C8A86A; color: #1B1B1B; font-weight: 900; }

/* ── Menu Search ── */
.menu-search { position: relative; margin-top: 10px; }
.menu-search .search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; pointer-events: none; }
.menu-search input {
  width: 100%; border: 2px solid var(--ink); border-radius: 14px; background: #fff;
  padding: 12px 38px 12px 40px; font-size: 14.5px; font-family: inherit; outline: none; box-shadow: 2px 2px 0 var(--ink);
}
.search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: none;
  background: none; font-size: 16px; cursor: pointer; color: #888;
}

/* ── Category Bar with underline ── */
.cat-bar {
  display: flex; gap: 20px; overflow-x: auto; padding: 10px 4px 6px; scrollbar-width: none;
  border-bottom: 2px solid #E5DCCE; margin-top: 4px;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto; background: none; border: none; padding: 6px 2px 8px;
  font-weight: 700; font-size: 15px; color: #777; cursor: pointer; font-family: inherit;
  border-bottom: 3px solid transparent; transition: all .15s;
}
.cat-pill.active { color: var(--ink); font-weight: 900; border-bottom-color: #B88E3E; }
.cat-pill svg { display: none; }

/* ── Floating Outlet Pill ── */
.outlet-floating-pill {
  margin: 10px 0 2px; display: inline-flex; align-items: center; gap: 6px;
  background: #FFF6DD; border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 14px; font-size: 12.5px; font-weight: 800; color: var(--ink); box-shadow: 2px 2px 0 var(--ink);
}

/* ── Product Cards 3 Kolom Sesuai Request Client (Page 1) ── */
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 8px 24px; }
.row {
  position: relative; display: flex; flex-direction: column; text-align: left; cursor: pointer;
  padding: 0; background: #fff; color: var(--ink); font-family: inherit;
  border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 2px 2px 0 var(--ink); overflow: hidden;
}
.row .thumb {
  height: 96px; background: #FFFFFF; display: grid; place-items: center;
  border-bottom: 1.5px solid var(--ink); position: relative; overflow: hidden;
}
.row .thumb img { width: 92%; height: 92%; object-fit: contain; }
.row-tags { position: absolute; top: 5px; left: 5px; z-index: 2; }
.row-tags .badge {
  background: #00D84A; color: #fff; font-size: 9.5px; font-weight: 900;
  padding: 1.5px 6px; border-radius: 5px; letter-spacing: 0.3px; border: 1.2px solid var(--ink); box-shadow: 1px 1px 0 var(--ink);
}
.row-body { padding: 6px 6px 36px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.row-name { font-weight: 800; font-size: 11.5px; line-height: 1.25; min-height: 28px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-desc { display: none; }
.row-price { display: flex; flex-direction: column; gap: 1px; margin-top: 2px; }
.price-normal { font-size: 10px; color: #888; text-decoration: line-through; }
.row-price-bottom { display: flex; align-items: baseline; gap: 4px; }
.row-price .price { color: #8F1223; font-size: 12px; font-weight: 900; }
.save-badge {
  background: #E5F8ED; color: #00A844; font-size: 9px; font-weight: 800;
  padding: 1px 4px; border-radius: 4px; border: 1px solid #B7E9CB;
}
.row .add-btn {
  position: absolute; right: 6px; bottom: 6px; width: 28px; height: 28px;
  border-radius: 50%; background: #DDBE86; border: 1.5px solid var(--ink); box-shadow: 1px 1px 0 var(--ink);
  display: grid; place-items: center; color: var(--ink);
}
.row .add-btn svg { width: 13px; height: 13px; }

/* ── Paket 48K Cards ── */
.p48k-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; grid-column: 1 / -1; }
.p48k-card {
  border: 2.5px solid var(--ink); border-radius: 18px; background: #fff;
  box-shadow: 3px 3px 0 var(--ink); padding: 14px 12px; display: flex; flex-direction: column;
  justify-content: space-between; min-height: 180px; text-align: left; cursor: pointer; transition: transform .15s;
}
.p48k-card:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.p48k-label { font-size: 13px; font-weight: 900; color: #9A7B38; margin-bottom: 6px; }
.p48k-items { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p48k-item { font-size: 12.5px; font-weight: 600; color: #222; line-height: 1.25; }
.p48k-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.p48k-price { font-size: 15.5px; font-weight: 900; color: #9A7B38; }
.p48k-add { width: 30px; height: 30px; border-radius: 50%; background: #DDBE86; border: 2px solid var(--ink); display: grid; place-items: center; }

/* ── Closed Bar Floating ── */
.outlet-closed-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 28px); max-width: 440px; background: #FFFFFF; border: 2.5px solid var(--ink);
  border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,.2); padding: 12px 18px;
  z-index: 100; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; font-weight: 800; color: var(--ink);
}
.oc-closed-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #E53935;
  box-shadow: 0 0 8px #E53935; flex-shrink: 0;
}


/* ═══════════════ USER REVISION FIXES ═══════════════ */
/* 1. Brand Bar */
.store-brand-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FAF3ED;
  border-bottom: 2px solid var(--ink);
  box-sizing: border-box;
  width: 100%;
}
.brand-back-btn {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink); display: grid; place-items: center; color: var(--ink);
  text-decoration: none; flex-shrink: 0; cursor: pointer; transition: transform .15s;
}
.brand-back-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.brand-header-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.brand-header-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; flex-shrink: 0; background: #fff; border: 1.5px solid var(--ink); }
.brand-header-text { display: flex; flex-direction: column; min-width: 0; }
.brand-header-name { font-size: 16px; font-weight: 900; color: var(--ink); line-height: 1.2; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-header-sub { font-size: 11.5px; color: #777; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 2. Outlet Section (Clean Outline, Never Cut Off) */
.outlet-section {
  margin: 14px 14px 0 14px !important;
  background: #F6EFE5 !important;
  border: 2px solid var(--ink) !important;
  border-radius: 18px !important;
  box-shadow: 2px 2px 0 var(--ink) !important;
  padding: 14px !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: visible !important;
  width: calc(100% - 28px) !important;
}
.os-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.os-header-left { display: flex; align-items: center; gap: 6px; }
.os-pin { font-size: 14px; }
.os-title { font-size: 11.5px; font-weight: 900; letter-spacing: .12em; color: #222; }
.os-near-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: #FFF; border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 4px 10px; font-size: 11.5px; font-weight: 800; color: var(--ink);
  cursor: pointer; font-family: inherit; box-shadow: 1px 1px 0 var(--ink); transition: background .15s;
}
.os-near-btn:hover { background: #F3EFE6; }
.os-near-btn:active { transform: translate(1px, 1px); box-shadow: none; }
.os-near-btn.loading { opacity: 0.7; pointer-events: none; }

.os-input-wrap { position: relative; width: 100%; box-sizing: border-box; }
.os-input-wrap input {
  width: 100%; box-sizing: border-box; background: #fff;
  border: 2px solid var(--ink); border-radius: 12px;
  padding: 11px 36px 11px 14px; font-size: 14px; font-family: inherit; font-weight: 600; outline: none;
}
.os-input-wrap input:focus { border-color: #2E7D32; }
.os-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px;
  border-radius: 50%; border: 1.5px solid var(--ink); background: #eee; display: grid; place-items: center;
  font-size: 11px; cursor: pointer; color: #222;
}

.os-chip {
  margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #E8F5E9; border: 2px solid #2E7D32; border-radius: 12px; padding: 8px 12px;
  font-size: 13.5px; font-weight: 700; color: #1B5E20; box-sizing: border-box; cursor: pointer;
}
.os-chip-text { display: flex; align-items: center; gap: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-chip-text b { font-weight: 900; }
.os-chip button {
  border: 1.5px solid #2E7D32; background: #fff; border-radius: 999px;
  padding: 4px 10px; cursor: pointer; font-size: 11.5px; font-weight: 800; color: #1B5E20;
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; flex-shrink: 0;
  box-shadow: 1px 1px 0 #2E7D32; font-family: inherit; transition: all .15s;
}
.os-chip button:hover { background: #E8F5E9; }
.os-chip button:active { transform: translate(1px, 1px); box-shadow: none; }

.os-dropdown {
  margin-top: 8px; max-height: 280px; overflow-y: auto; background: #fff;
  border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.15);
  display: flex; flex-direction: column; box-sizing: border-box;
}
.od-geo-header {
  padding: 8px 12px; background: #FFF9C4; color: #795548; font-size: 11.5px; font-weight: 800;
  border-bottom: 1px solid #EFEAE2;
}
.od-item {
  padding: 11px 14px; border-bottom: 1px solid #EFEAE2; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 2px; box-sizing: border-box;
}
.od-item:last-child { border-bottom: none; }
.od-item:hover { background: #FAF5EB; }
.od-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.od-name { font-size: 14px; font-weight: 800; color: var(--ink); }
.od-tags { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.od-dist { font-size: 11px; font-weight: 800; color: #2E7D32; background: #E8F5E9; padding: 2px 6px; border-radius: 5px; }
.od-tutup { background: #FFE8E8; color: #D32F2F; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; border: 1px solid #FFCDD2; }
.od-type { font-size: 11.5px; color: #666; font-weight: 600; }
.od-addr { font-size: 11px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-closed-msg { font-size: 11.5px; color: #D32F2F; font-weight: 700; margin-top: 2px; }

/* 3. WiFi Card */
.wifi-card {
  margin: 10px 14px 0 14px !important; background: #fff !important; border: 2px solid var(--ink) !important;
  border-radius: 18px !important; box-shadow: 2px 2px 0 var(--ink) !important; padding: 12px 14px !important;
  display: flex; align-items: center; gap: 12px; box-sizing: border-box !important;
  width: calc(100% - 28px) !important;
}

/* 4. Menu Toolbar & Search Alignment (SEJAJAR PRESISI) */
.menu-toolbar {
  position: sticky !important; top: 0 !important; z-index: 29 !important; background: #FAF3ED !important;
  padding: 10px 14px 4px 14px !important; box-sizing: border-box !important; width: 100% !important;
}
.mode-seg-3 {
  display: flex !important; border: 2px solid var(--ink) !important; border-radius: 14px !important;
  overflow: hidden !important; background: #fff !important; box-shadow: 2px 2px 0 var(--ink) !important;
  width: 100% !important; box-sizing: border-box !important; margin: 0 !important;
}
.mode-single-controls { width: 100% !important; box-sizing: border-box !important; }

/* Zero out side margin on search bar so it is 100% flush with mode tabs and outlet card */
.menu-search {
  position: relative !important; margin: 10px 0 0 0 !important; width: 100% !important;
  box-sizing: border-box !important; padding: 0 !important;
}
.menu-search input {
  width: 100% !important; box-sizing: border-box !important; border: 2px solid var(--ink) !important;
  border-radius: 14px !important; background: #fff !important;
  padding: 12px 38px 12px 40px !important; font-size: 14.5px !important; font-family: inherit !important;
  outline: none !important; box-shadow: 2px 2px 0 var(--ink) !important;
}
.menu-search .search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; pointer-events: none; }
.search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: none;
  background: none; font-size: 16px; cursor: pointer; color: #888;
}

/* 5. Brand Modal Grid for 3 Brands */
.brand-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brand-modal-grid .brand-tile:nth-child(3):last-child {
  grid-column: 1 / -1;
}
