[hidden]{display:none !important}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body, .container, header, main, section, aside, footer{
  -webkit-user-select:none;-moz-user-select:none;user-select:none;
}
input, textarea, select{
  -webkit-user-select:text;-moz-user-select:text;user-select:text;
}
img{-webkit-user-drag:none;user-drag:none}
body{margin:0;font-family:'Poppins',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#e5e7eb}

:root{
  --bg-outer:#e5e7eb;
  --bg-page:#f9fafb;
  --bg-card:#ffffff;
  --border:#e5e7eb;
  --text:#111827;
  --muted:#6b7280;
  --accent:#ac1e22;
  --accent-soft:#f7d9da;
  --accent-dark:#8f171b;
}
:root.dark{
  --bg-outer:#1f1f1f;
  --bg-page:#333232;
  --bg-card:#2b2b2b;
  --border:#444343;
  --text:#f9fafb;
  --muted:#9ca3af;
  --accent:#ac1e22;
  --accent-soft:#2a0b0c;
  --accent-dark:#c82c31;
}
body{background:var(--bg-outer);color:var(--text)}

.page-shell{
  max-width:430px;margin:0 auto;min-height:100vh;background:var(--bg-page);
  display:flex;flex-direction:column;padding:0 14px 88px;
}
@media (min-width:768px){
  .page-shell{margin:24px auto;border-radius:32px;overflow:hidden;box-shadow:0 24px 60px rgba(15,23,42,0.45)}
}

/* ===== HEADER ===== */
#mainHeader{
  padding:10px 14px 10px;border-bottom:1px solid var(--border);
  background:var(--bg-card);margin:0 -14px;
}
.header-top-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.brand{margin:0;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600}
.brand img{width:26px;height:26px;border-radius:8px}
.brand .badge{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;background:#fee2e2;color:#b91c1c;font-size:10px;font-weight:600}

.theme-toggle{position:relative;width:54px;height:26px;border-radius:999px;border:1px solid var(--border);background:var(--accent-soft);
  display:flex;align-items:center;justify-content:space-between;padding:0 6px;cursor:pointer;font-size:13px}
.theme-toggle .thumb{position:absolute;top:2px;left:2px;width:22px;height:22px;border-radius:999px;background:#fff;
  box-shadow:0 2px 6px rgba(15,23,42,0.25);transition:transform .18s ease-out}
.theme-toggle .sun,.theme-toggle .moon{z-index:1}
:root.dark .theme-toggle .thumb{transform:translateX(26px)}
.header-sub{margin-top:4px;font-size:11px;color:var(--muted)}

.notice-card{margin-top:16px;border:1px solid var(--border);border-radius:18px;background:var(--bg-card);padding:12px 12px}
.notice-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.notice-list li{display:flex;gap:8px;font-size:11px;line-height:1.5}
.notice-list li::before{content:"";width:6px;height:6px;border-radius:999px;background:var(--accent);margin-top:5px;flex-shrink:0}
.notice-label{font-weight:600;color:var(--text);min-width:92px;flex-shrink:0}
.notice-list li span:last-child{color:var(--muted)}

    /* ========= NAV BURGER ========= */
.brand-burger-nav{
  position: fixed;
  top: 10px;
  left: 50%;
  width: min(calc(100vw - 28px), 430px);
  transform: translate(-50%, -12px);
  opacity: 0;
  pointer-events: none;
  z-index: 1800;
  transition: opacity .22s ease, transform .22s ease;
}

.brand-burger-nav.show{
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.brand-burger-nav.open{
  z-index: 1900;
}

.brand-burger-nav__bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 8px 10px 8px 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.dark .brand-burger-nav__bar{
  background: rgba(20,24,31,.92);
}

.brand-burger-nav__logo{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
}

.brand-burger-nav__logo img{
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 999px;
  flex: 0 0 auto;
}

.brand-burger-nav__logo span{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-burger-nav__toggle{
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex: 0 0 auto;
}

.brand-burger-nav__toggle span{
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .18s ease, opacity .18s ease;
}

.brand-burger-nav.open .brand-burger-nav__toggle span:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}

.brand-burger-nav.open .brand-burger-nav__toggle span:nth-child(2){
  opacity: 0;
}

.brand-burger-nav.open .brand-burger-nav__toggle span:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}

.brand-burger-nav__dropdown{
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0,0,0,.10);
  display: none;
}

.dark .brand-burger-nav__dropdown{
  background: rgba(20,24,31,.96);
}

.brand-burger-nav.open .brand-burger-nav__dropdown{
  display: block;
}

.brand-burger-nav__item{
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
}

.brand-burger-nav__item + .brand-burger-nav__item{
  margin-top: 4px;
}

.brand-burger-nav__item:hover{
  background: var(--accent-soft);
  color: var(--accent-dark);
}

@media (min-width: 768px){
  .brand-burger-nav{
    width: 430px;
    display: block !important;
  }
}

.notice-fee{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background:var(--accent-soft);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:12px;
}
.notice-fee strong{font-size:13px;color:var(--accent-dark)}

/* ===== Tutorial Button (FIX: pointer-events + rapih) ===== */
/* =========================
   TUTORIAL BUTTON (MATCH SS)
   ========================= */
.tutorial-btn{
  margin-top:10px;
  width:100%;
  height:40px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.08);
  background: var(--accent-soft);
  color: var(--text);
  font-family: inherit;
  font-size:11px;
  font-weight:400;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  cursor:pointer;
  box-shadow: 0 10px 22px rgba(15,23,42,0.06);
}

.tutorial-left{display:flex;align-items:center;gap:5px}
.tutorial-eye{
  width:28px;height:28px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
}

:root.dark .tutorial-btn{
  border-color: rgba(255,255,255,.10);
  background: rgba(172,30,34,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
:root.dark .tutorial-eye{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}

.tutorial-chevron{opacity:.75;font-size:14px}

/* state saat modal terbuka (seperti SS tombol jadi "aktif") */
.tutorial-btn.is-open{
  border-color: rgba(172,30,34,.55);
  box-shadow: 0 12px 26px rgba(172,30,34,.16);
}

/* =========================
   TUTORIAL MODAL (MATCH SS)
   ========================= */
#tutorialModal.modal-block{
  z-index: 3500;
  align-items:center;
  justify-content:center;
  padding: 18px;
}

#tutorialModal.modal-block.is-open{
  display:flex;
}

/* timpa modal-card khusus tutorial (karena HTML kamu inline) */
#tutorialModal .modal-card{
  background: var(--bg-card) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  max-width: 420px !important;
  width: 100% !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.35) !important;
  text-align:left !important;
  padding: 14px !important;

  transform: translateY(10px);
  opacity: 0;
  animation: tutIn .18s ease-out forwards;
}

@keyframes tutIn{ to{ transform: translateY(0); opacity: 1; } }

#tutorialModal h3{
  margin:0 !important;
  font-size:16px !important;
  font-weight:900 !important;
}

#tutorialSubtitle{
  margin:4px 0 0 !important;
  font-size:12px !important;
  color: var(--muted) !important;
  line-height:1.4;
}

#tutorialCloseX{
  width:34px !important;
  height:34px !important;
  border-radius:12px !important;
  border:1px solid var(--border) !important;
  background: transparent !important;
  cursor:pointer;
  color: var(--text) !important;
}
#tutorialCloseX:hover{ filter: brightness(1.06); }

#tutorialList{
  margin: 12px 0 14px !important;
  padding-left: 18px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  max-height: min(52vh, 420px);
  overflow:auto;
  scrollbar-width:none;
}
#tutorialList::-webkit-scrollbar{ width:0; height:0; }
#tutorialList li{ margin: 8px 0; }

/* highlight hijau seperti SS (judul poin) */
#tutorialList b{
  color: var(--accent-dark);
  font-weight: 900;
}

/* tombol bawah: hijau pill */
#tutorialOk.detail-cta{
  margin-top:2px !important;
  width: 100% !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  background: linear-gradient(135deg,var(--accent-dark),var(--accent)) !important;
}

.tutorial-chevron{opacity:.8}

.search-row{margin-top:10px}
.search{width:100%;border-radius:999px;border:1px solid var(--border);padding:9px 34px;font-size:13px;
  background:var(--bg-page) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="%239ca3af" stroke-width="1.8" viewBox="0 0 24 24"><circle cx="11" cy="11" r="6"/><path d="m16 16 4 4"/></svg>') no-repeat 12px center;background-size:16px;color:var(--text)}
.search::placeholder{color:#9ca3af}

.bundle-jump-card{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border:1px solid rgba(172,30,34,.18);
  border-radius:16px;
  padding:9px 10px;
  background:linear-gradient(135deg,rgba(254,242,242,.92),rgba(255,255,255,.92));
}
:root.dark .bundle-jump-card{
  background:linear-gradient(135deg,rgba(69,26,26,.42),rgba(15,23,42,.92));
  border-color:rgba(248,113,113,.24);
}
.bundle-jump-copy{display:flex;flex-direction:column;gap:1px;min-width:0}
.bundle-jump-copy strong{font-size:12px;color:#991b1b}
.bundle-jump-copy span{font-size:10.5px;color:var(--muted);line-height:1.35}
:root.dark .bundle-jump-copy strong{color:#fecaca}
.bundle-jump-btn{
  flex:0 0 auto;
  border:0;
  border-radius:999px;
  padding:8px 11px;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(135deg,var(--accent-dark),var(--accent));
  box-shadow:0 8px 18px rgba(172,30,34,.24);
}
.bundle-jump-btn:active{transform:translateY(1px)}

.chips{margin-top:8px;display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.chips::-webkit-scrollbar{display:none}
.chip{white-space:nowrap;padding:6px 12px;border-radius:999px;border:1px solid var(--border);font-size:11px;background:var(--bg-card);cursor:pointer;color:var(--text)}
.dark .chip{background:transparent;border-color:#1f2937;color:#f9fafb}
.chip.is-active{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ===== MAIN ===== */
main.gf-main{flex:1 1 auto;padding:10px 10px 18px}
.gf-screen{display:none}
.gf-screen.is-active{display:block}

/* Catalog */
.category-block{margin-bottom:16px}
.category-title{margin:6px 2px 8px;font-size:15px;font-weight:600}
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.product-card{background:var(--bg-card);border-radius:16px;border:1px solid var(--border);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 10px rgba(15,23,42,0.03)}
.product-image{width:100%;padding-top:70%;position:relative;overflow:hidden}
.product-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.product-body{padding:8px 9px 9px;display:flex;flex-direction:column;gap:4px}
.product-name{font-size:13px;font-weight:600}
.product-price-row{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.product-price-old{font-size:11px;color:#9ca3af;text-decoration:line-through}
.product-price{font-size:13px;font-weight:600;color:#b91c1c}
.product-footer{margin-top:6px;display:flex;justify-content:flex-end;align-items:center;gap:8px}

.btn-plus{border:none;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:600;cursor:pointer;
  background:linear-gradient(135deg,var(--accent-dark),var(--accent));color:#fff;box-shadow:0 10px 22px rgba(172,30,34,0.30)}
.btn-plus:active{transform:translateY(1px);box-shadow:0 6px 14px rgba(172,30,34,0.22)}

/* ===== DETAIL ===== */
.detail-header{
  position: relative;          /* anchor untuk tombol X */
  display:flex;
  align-items:flex-start;      /* biar title bisa 2 baris enak */
  gap:10px;
  padding: 6px 6px 10px;
}

.detail-title-wrap{
  display:flex;
  flex-direction:column;
  padding-right: 44px;         /* ruang buat tombol X */
}

.detail-title-wrap strong{font-size:15px}
.detail-title-wrap span{font-size:11px;color:var(--muted)}

.detail-x{
  position: absolute;          /* âœ… kunci di pojok kanan atas */
  top: 6px;
  right: 6px;

  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;

  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 16px;
  line-height: 1;
}

.detail-x:hover{ filter: brightness(1.08); }


.detail-card{background:var(--bg-card);border:1px solid var(--border);border-radius:18px;overflow:hidden;}
.detail-hero{padding:12px 12px 10px}
.detail-hero .imgwrap{width:100%;padding-top:72%;position:relative;border-radius:16px;overflow:hidden;background:#e5e7eb}
.detail-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.detail-name{margin:10px 2px 2px;font-size:16px;font-weight:700}
.detail-desc{margin:0 2px 0;font-size:12px;color:var(--muted);line-height:1.5}
.detail-price{margin:10px 2px 0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.detail-price .old{font-size:12px;color:#9ca3af;text-decoration:line-through}
.detail-price .now{font-size:16px;font-weight:800;color:#065f46}

.opt-section{padding:10px 12px 12px;border-top:1px dashed var(--border)}
.opt-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.opt-head strong{font-size:13px}
.opt-head span{font-size:11px;color:var(--muted)}
.opt-grid{display:flex;flex-direction:column;gap:10px}

.opt-row{display:flex;gap:8px;flex-wrap:wrap}
.pill{
  padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:var(--bg-page);
  font-size:12px;cursor:pointer;color:var(--text);display:inline-flex;align-items:center;gap:6px;
}
.pill.is-active{background:var(--accent);border-color:var(--accent);color:#fff}
.pill small{opacity:.85;font-weight:700}
.pill.is-disabled{opacity:.45;cursor:not-allowed;text-decoration:line-through}

/* ===== DETAIL MODAL (POPUP) ===== */
.gf-modal{position: fixed;inset: 0;display: none;z-index: 3000;}
.gf-modal.is-open{ display:block; }
.gf-modal__overlay{position:absolute; inset:0;background: rgba(0,0,0,.55);backdrop-filter: blur(8px);}
.gf-modal__card{
  position: relative;
  width: min(92vw, 420px);
  height: min(86vh, 720px);
  margin: 6vh auto 0;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  padding: 12px;

  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px);
  opacity: 0;
  animation: gfModalIn .18s ease-out forwards;
}
@keyframes gfModalIn{to{ transform: translateY(0); opacity: 1; }}
.gf-modal__body{max-height: 86vh;overflow: auto;padding: 0 12px 18px;scrollbar-width: none;}
.gf-modal__body::-webkit-scrollbar{ width:0; height:0; }

.gf-modal #screenDetail{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;}
.gf-modal .detail-card{
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 18px;
}
.gf-modal .detail-card::-webkit-scrollbar{width:0;height:0}

.gf-modal .detail-bottom{
  position: sticky;
  bottom: 0;
  padding: 12px 12px 14px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.detail-cta{
  width:100%;border:none;border-radius:999px;padding:13px 16px;font-size:14px;font-weight:700;
  background:linear-gradient(135deg,var(--accent-dark),var(--accent));color:#fff;
  display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;
  box-shadow:0 16px 32px rgba(15,23,42,0.35);
}
.detail-cta:active{transform:translateY(1px);box-shadow:0 10px 22px rgba(15,23,42,0.25)}
.detail-cta .mut{font-weight:600;opacity:.92}
.gf-modal .detail-cta{max-width:360px;margin:0 auto;box-shadow:none}

/* ===== CART ===== */
#screenSummary{padding-top:4px}
.cart-header{padding:4px 4px 10px;display:flex;align-items:center;gap:10px}
.cart-back{width:30px;height:30px;border-radius:999px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;background:var(--bg-card);cursor:pointer;color:#4b5563}
.dark .cart-back{background:#020617;border-color:#1f2937;color:#f9fafb}
.cart-header-title{display:flex;flex-direction:column}
.cart-header-title strong{font-size:17px}
.cart-header-title span{font-size:11px;color:var(--muted)}
.cart-section{background:var(--bg-card);border-radius:18px;border:1px solid var(--border);padding:10px 14px;margin-bottom:12px}
.cart-title-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:6px}
#cartList{display:flex;flex-direction:column;gap:10px}
.cart-empty{font-size:13px;color:var(--muted)}
.cart-item-row{display:flex;align-items:flex-start;gap:10px;font-size:13px}
.cart-thumb{width:46px;height:46px;border-radius:12px;overflow:hidden;flex-shrink:0;background:#e5e7eb}
.cart-thumb img{width:100%;height:100%;object-fit:cover}
.cart-item-main{flex:1 1 auto}
.cart-item-main .name{font-weight:700;margin-bottom:2px}
.cart-item-main .meta{font-size:11px;color:var(--muted);line-height:1.35;margin-top:2px}

/* Cart option chips */
.cart-badges{margin-top:4px;margin-bottom:6px;display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.cart-chip{
  display:inline-flex;align-items:center;height:18px;padding:0 9px;border-radius:999px;
  font-size:9.5px;font-weight:700;letter-spacing:.1px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  line-height:1;white-space:nowrap;
}


:root:not(.dark) .cart-chip{
  border:1px solid rgba(15,23,42,.10);
  background:rgba(15,23,42,.04);
  color:#111827;
}
.cart-chip.temp-iced{background:rgba(59,130,246,.16);border-color:rgba(59,130,246,.35);color:#bfdbfe}
:root:not(.dark) .cart-chip.temp-iced{ color:#1d4ed8; }
.cart-chip.temp-hot{background:rgba(239,68,68,.16);border-color:rgba(239,68,68,.35);color:#fecaca}
:root:not(.dark) .cart-chip.temp-hot{ color:#b91c1c; }

#cartTotalPcs{margin-top:12px !important;padding-top:8px}

.cart-item-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}
.cart-item-price{font-weight:800;white-space:nowrap;font-size:13px}
.qty-pill{display:inline-flex;align-items:center;gap:12px;padding:4px 10px;border-radius:999px;background:#fff;border:1px solid rgba(15,23,42,0.08);
  color:var(--text);font-size:13px;font-weight:500;box-shadow:0 2px 6px rgba(15,23,42,0.10)}
.qty-pill button{width:24px;height:24px;border-radius:999px;border:1px solid var(--accent);background:transparent;display:flex;align-items:center;justify-content:center;
  cursor:pointer;font-size:16px;color:var(--accent)}
.qty-pill button:hover{background:rgba(172,30,34,0.08)}
:root.dark .qty-pill{background:#020617;border-color:#1f2937;color:#f9fafb}
.cart-remove{background:none;border:none;color:#b91c1c;font-size:11px;cursor:pointer;padding:0}
.btn-link{background:none;border:none;padding:0;font-size:13px;font-weight:700;cursor:pointer;color:var(--accent)}

.summary-card{background:var(--bg-card);border-radius:18px;border:1px solid var(--border);padding:10px 14px 14px}
.summary-card h4{margin:0 0 8px;font-size:14px}
.summary-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-bottom:4px}
.summary-row .old{text-decoration:line-through;color:#9ca3af;font-size:11px;margin-right:4px}
.summary-row.summary-discount{color:#065f46;font-weight:700}
.summary-row.summary-total{margin-top:6px;font-weight:800}
.summary-saving{position:relative;margin-top:6px;padding:6px 10px;border-radius:12px;overflow:hidden}
.summary-saving::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,#ffe4e6,#fecaca);
  opacity:0;transform:scale(.98);transition:opacity .18s ease, transform .18s ease;z-index:0}
.summary-saving .saving-label,.summary-saving .saving-amount{position:relative;z-index:1}
.saving-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#b91c1c}
.saving-icon{width:22px;height:22px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;background:#fb7185;color:#fff;
  box-shadow:0 0 0 0 rgba(248,113,113,0.4);transform:translateZ(0)}
.saving-amount{font-weight:900;font-size:13px;color:#b91c1c}
.summary-saving.has-saving::before{opacity:1;transform:scale(1)}
.summary-saving.has-saving .saving-icon{animation:promoPulse 1.2s ease-in-out infinite}
@keyframes promoPulse{
  0%{transform:scale(1);box-shadow:0 0 0 0 rgba(248,113,113,0.5)}
  70%{transform:scale(1.08);box-shadow:0 0 0 12px rgba(248,113,113,0)}
  100%{transform:scale(1);box-shadow:0 0 0 0 rgba(248,113,113,0)}
}
:root.dark .summary-saving::before{background:linear-gradient(135deg,#4c0519,#9f1239)}
:root.dark .saving-label,:root.dark .saving-amount{color:#fecaca}
:root.dark .summary-row.summary-discount{color:#86efac}

#buyerForm{margin-top:10px;padding-top:8px;border-top:1px dashed var(--border)}
#buyerForm input,#buyerForm textarea{width:100%;border-radius:12px;border:1px solid var(--border);padding:9px 11px;font-size:13px;font-family:inherit;margin-bottom:8px;background:var(--bg-card);color:var(--text)}
#buyerForm textarea{min-height:72px;resize:vertical}
.time-with-tz{display:grid;grid-template-columns:1fr auto;border-radius:12px;border:1px solid var(--border);overflow:hidden;margin-bottom:8px;background:var(--bg-card)}
.time-with-tz input[type="time"]{border:0;padding:9px 11px;font:inherit;background:transparent;color:var(--text)}
.tz-inline{border:0;border-left:1px solid var(--border);padding:0 10px;font-size:12px;font-weight:700;background:var(--bg-page);color:var(--text)}
#buyerForm .hint{font-size:11px;color:var(--muted);margin:4px 0 0}
#buyerForm .btn-primary{margin-top:10px;width:100%;border-radius:999px;border:none;padding:11px 16px;font-size:15px;font-weight:800;
  background:var(--accent);color:#fff;box-shadow:0 10px 24px rgba(172,30,34,0.30);cursor:pointer}
#buyerForm .btn-primary.locked{background:#c62828 !important;color:#fff !important;cursor:not-allowed !important;opacity:1 !important;box-shadow:none}

.footer{padding:10px 0 12px;text-align:center;font-size:11px;color:var(--muted)}


.footer a{
  color: inherit;              /* ikut warna teks footer */
  text-decoration: none;       /* hilangkan garis */
  font-weight: 700;            /* opsional biar tegas */
}
.footer a:hover{
  text-decoration: none;
  opacity: .9;                 /* efek hover halus */
}
.footer a:visited{
  color: inherit;              /* visited juga tidak berubah ungu */
}



/* BAR BAWAH */
.fab-cart{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:19px;
  width: calc(100% - 28px);
  max-width:392px;
  border-radius:999px;
  border:none;
  background:var(--accent);
  color:#fff;
  padding:11px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-family:'Poppins',system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:13px;
  font-weight:700;
  box-shadow:0 16px 32px rgba(15,23,42,0.6);
  cursor:pointer;
  z-index:60;
}
.fab-left{display:flex;flex-direction:column;text-align:left;gap:2px}
.fab-line1{font-size:11px;font-weight:600;opacity:.92;line-height:1.1}
.fab-line2{font-size:12px;font-weight:700;line-height:1.15}
.fab-right{display:flex;align-items:center;gap:8px}
.fab-total{font-size:13px;font-weight:800}
.fab-icon{width:26px;height:26px;border-radius:999px;background:rgba(255,255,255,0.18);display:flex;align-items:center;justify-content:center}
.fab-back{display:none;width:30px;height:30px;border-radius:999px;background:rgba(0,0,0,0.20);align-items:center;justify-content:center;margin-right:10px;flex-shrink:0;cursor:pointer;color:#fff}
.fab-cart.is-summary .fab-back,
.fab-cart.is-detail .fab-back{display:flex}
.fab-cart.is-empty .fab-line1{opacity:.85}
.fab-cart.is-empty .fab-total{opacity:.9}

/* Modal kata kasar */
.modal-block{position:fixed;inset:0;background:rgba(0,0,0,.6);display:none;align-items:center;justify-content:center;z-index:2000;padding:16px}
.modal-block.is-open{display:flex}
.modal-card{background:#111827;color:#f9fafb;border-radius:16px;padding:18px 16px;max-width:420px;width:100%;text-align:center}
.modal-card h3{margin:0 0 8px;font-size:16px}
.modal-card p{margin:0 0 16px;font-size:13px;line-height:1.5}
.modal-card .btn-primary{width:100%;border-radius:999px;padding:10px 14px;font-size:14px;font-weight:800;background:#fff;color:var(--accent-dark);
  border:1px solid var(--accent);cursor:pointer;box-shadow:0 6px 18px rgba(15,23,42,0.10)}

/* Tutorial modal improvements */
.modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(8px)}
.tut-card{
  position:relative;
  width:min(92vw,420px);
  margin:10vh auto 0;
  background:var(--bg-card);
  color:var(--text);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:0 24px 70px rgba(0,0,0,.55);
  padding:14px;
  overflow:hidden;
  transform:translateY(12px);
  opacity:0;
  animation:tutIn .18s ease-out forwards;
  text-align:left;
}
@keyframes tutIn{to{transform:translateY(0);opacity:1}}
.tut-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.tut-title{font-weight:800;font-size:16px}
.tut-sub{margin-top:2px;font-size:12px;color:var(--muted);line-height:1.4}
.tut-x{
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--text);
  width:34px;height:34px;border-radius:12px;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.tut-list{
  margin:12px 0 12px;
  padding-left:18px;
  max-height:min(52vh,420px);
  overflow:auto;
  scrollbar-width:none;
}
.tut-list::-webkit-scrollbar{width:0;height:0}
.tut-list li{margin:8px 0;font-size:13px;line-height:1.45;color:var(--text)}
.tut-ok{
  width:100%;
  border:none;
  border-radius:999px;
  padding:12px 14px;
  font-size:14px;
  font-weight:900;
  background:var(--accent);
  color:#fff;
  cursor:pointer;
  box-shadow:0 16px 32px rgba(15,23,42,.25);
}
.tut-ok:active{transform:translateY(1px)}

/* Clean Modal */
.sgp-modal{position: fixed; inset: 0;display: none;z-index: 9999;}
.sgp-modal.is-open{ display:block; }
.sgp-modal__overlay{position:absolute; inset:0;background: rgba(0,0,0,.55);backdrop-filter: blur(6px);}
.sgp-modal__card{
  position:relative;
  width: min(92vw, 420px);
  margin: 12vh auto 0;
  border-radius: 18px;
  background: rgba(20,24,32,.92);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  padding: 14px;
  color: #fff;
  transform: translateY(10px);
  opacity: 0;
  animation: sgpModalIn .18s ease-out forwards;
}
@keyframes sgpModalIn{to { transform: translateY(0); opacity: 1; }}
.sgp-modal__head{display:flex; align-items:flex-start; gap:12px;}
.sgp-modal__icon{width:40px;height:40px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.sgp-modal__title{font-weight:700;font-size:15px;letter-spacing:.2px;}
.sgp-modal__sub{font-size:12px;color:rgba(255,255,255,.65);margin-top:2px;}
.sgp-modal__x{margin-left:auto;border:0;background:transparent;color:rgba(255,255,255,.7);font-size:16px;padding:8px 10px;border-radius:10px;cursor:pointer;}
.sgp-modal__x:hover{ background: rgba(255,255,255,.08); color:#fff; }
.sgp-modal__msg{margin-top:12px;font-size:13px;line-height:1.5;color:rgba(255,255,255,.85);white-space: pre-line;}
.sgp-modal__actions{display:flex; gap:10px; justify-content:flex-end;margin-top:14px;}
.sgp-btn{border:0;border-radius:14px;padding:10px 12px;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;}
.sgp-btn--primary{background: linear-gradient(135deg, rgba(143,23,27,.98), rgba(172,30,34,.98));color:#fff;}
.sgp-btn--ghost{background: rgba(255,255,255,.08);color: rgba(255,255,255,.9);border: 1px solid rgba(255,255,255,.10);}
@media (prefers-reduced-motion: reduce){
  .sgp-modal__card{ animation:none; opacity:1; transform:none; }
}
@media (max-width:360px){
  #mainHeader{padding-inline:10px}
  main.gf-main{padding-inline:8px}
  .gf-modal__card{ width: 94vw; height: 88vh; margin-top: 5vh; }
}
button,
input,
select,
textarea{
  font: inherit;
}
.referral-share-box {
  margin-top: 14px;
  border: 1px solid #e7e7e7;
  background: #f8f8f8;
  border-radius: 12px;
  padding: 12px;
}

.referral-share-text {
  font-size: 10px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 4px;
  word-break: break-word;
}

.referral-copy-text-btn {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  padding: 4px 5px;
  cursor: pointer;
  font-size: 10px;
}



/* ===== BUNDLING UX ===== */
.category-block.is-bundling-category{scroll-margin-top:14px}
.category-block.is-bundling-category .category-title{
  display:flex;
  align-items:center;
  gap:6px;
}
.category-block.is-bundling-category .category-title::before{content:'🔥'}
.product-card.is-bundle{
  grid-column:1 / -1;
  border-color:rgba(172,30,34,.28);
  background:linear-gradient(180deg,rgba(254,242,242,.9),var(--bg-card) 44%);
}
:root.dark .product-card.is-bundle{
  background:linear-gradient(180deg,rgba(88,28,28,.38),var(--bg-card) 48%);
  border-color:rgba(248,113,113,.30);
}
.product-card.is-bundle .product-image{padding-top:44%}
.bundle-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:2px}
.bundle-tags span{
  display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:999px;
  background:#fee2e2;color:#991b1b;font-size:10px;font-weight:700;
}
:root.dark .bundle-tags span{background:#451a1a;color:#fecaca}
.bundle-desc{
  color:var(--muted);font-size:11px;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.bundle-save{font-size:11px;font-weight:700;color:#b91c1c;margin-top:2px}
:root.dark .bundle-save{color:#fca5a5}
.bundle-hint{
  margin-top:7px;width:100%;border:1px dashed rgba(172,30,34,.4);
  background:rgba(254,242,242,.74);color:#991b1b;border-radius:12px;
  padding:7px 9px;font-size:10.5px;font-weight:700;text-align:left;cursor:pointer;
}
:root.dark .bundle-hint{background:rgba(69,26,26,.35);color:#fecaca;border-color:rgba(248,113,113,.35)}
.cart-bundle-items{
  margin-top:2px;color:var(--muted);font-size:10.5px;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
@media (max-width:420px){
  .bundle-jump-card{align-items:flex-start}
  .bundle-jump-btn{padding:8px 10px;font-size:10.5px}
}
@media (max-width:360px){
  .category-grid{gap:8px}
  .product-name{font-size:12px}
  .bundle-desc,.bundle-save,.bundle-hint{font-size:10px}
}

/* ===== Sticky category chips + mobile safe area ===== */
.page-shell{
  min-height:100dvh;
  padding-bottom:calc(88px + env(safe-area-inset-bottom, 0px));
}
.chips-placeholder{display:none;height:0}
.chips-placeholder.is-active{display:block}
.chips.is-sticky{
  position:fixed;
  top:var(--chips-sticky-top, env(safe-area-inset-top, 0px));
  left:var(--chips-fixed-left, 50%);
  width:var(--chips-fixed-width, min(100vw, 430px));
  transform:translateX(-50%);
  margin-top:0;
  padding:8px 14px 9px;
  background:var(--bg-card);
  border-bottom:1px solid var(--border);
  box-shadow:0 10px 24px rgba(15,23,42,.14);
  z-index:1200;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
}
:root.dark .chips.is-sticky{box-shadow:0 10px 24px rgba(0,0,0,.38)}
body.brand-burger-visible .chips.is-sticky{
  --chips-sticky-top:calc(72px + env(safe-area-inset-top, 0px));
}
body.brand-burger-open .chips.is-sticky{
  z-index:1100;
}
.pill.is-locked{cursor:not-allowed;text-decoration:none;opacity:.72}
.pill.is-locked.is-active{opacity:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
.fab-cart{bottom:calc(14px + env(safe-area-inset-bottom, 0px));}
.gf-modal__card{height:min(86dvh, 720px);margin-top:max(4vh, env(safe-area-inset-top, 0px));}
.gf-modal__body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}
.pill,.chip,.btn-plus,.bundle-jump-btn,.detail-cta,.fab-cart{touch-action:manipulation;}
@media (max-width:430px){
  input, textarea, select{font-size:16px}
  .search{font-size:16px}
  .chips.is-sticky{padding-left:14px;padding-right:14px}
  .opt-row{gap:7px}
  .pill{min-height:38px;padding:8px 11px}
  .gf-modal__card{width:calc(100vw - 20px);height:calc(100dvh - 28px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));margin-top:calc(10px + env(safe-area-inset-top, 0px));}
}
.category-block{scroll-margin-top:118px}
.category-block.is-bundling-category{scroll-margin-top:118px}

/* ===== Bundle per-drink options ===== */
.bundle-options-wrap{border-top:1px dashed var(--border);padding-top:10px;margin-top:2px}
.bundle-options-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.bundle-options-head strong{font-size:13px}
.bundle-options-head span{font-size:11px;color:var(--muted);text-align:right}
.bundle-options-list{display:flex;flex-direction:column;gap:10px}
.bundle-option-card{border:1px solid var(--border);border-radius:15px;background:var(--bg-page);padding:10px}
.bundle-option-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}
.bundle-option-title strong{font-size:12.5px;line-height:1.35}
.bundle-option-title span{font-size:10.5px;color:var(--muted);text-align:right;flex:0 0 auto}
.bundle-option-group{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.bundle-option-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700}
.bundle-option-buttons{display:flex;flex-wrap:wrap;gap:7px}
.bundle-opt-pill{font-size:11.5px;padding:7px 10px;min-height:34px}
.cart-bundle-options{margin-top:5px;color:var(--muted);font-size:10.5px;line-height:1.45;display:flex;flex-direction:column;gap:2px}
@media (max-width:360px){
  .bundle-option-title{flex-direction:column;gap:2px}
  .bundle-option-title span{text-align:left}
  .bundle-opt-pill{font-size:11px;padding:7px 9px}
}


/* ===== PROMO & COMBO CUSTOM TOP RAIL ===== */
.promo-combo-section{
  margin:0 0 16px;
  padding:12px 0 4px;
  border-bottom:1px solid var(--border);
}
.promo-combo-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.promo-combo-head span{
  display:block;
  font-size:16px;
  font-weight:700;
  color:var(--text);
}
.promo-combo-head strong{
  display:block;
  margin-top:2px;
  font-size:11px;
  font-weight:500;
  color:var(--muted);
}
.promo-combo-head em{
  font-style:normal;
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
}
.promo-combo-scroll{
  display:flex;
  gap:10px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding:2px 14px 12px;
  margin:0 -14px;
  scrollbar-width:none;
}
.promo-combo-scroll::-webkit-scrollbar{display:none}
.promo-combo-card{
  flex:0 0 158px;
  scroll-snap-align:start;
}
.promo-combo-btn{
  width:100%;
  min-height:190px;
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--bg-card);
  padding:0;
  text-align:left;
  overflow:hidden;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
  cursor:pointer;
  color:var(--text);
}
.promo-combo-visual{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  background:linear-gradient(135deg, #fff7ed, #fee2e2);
  border-bottom:1px solid rgba(172,30,34,.08);
}
:root.dark .promo-combo-visual{
  background:linear-gradient(135deg, rgba(172,30,34,.25), rgba(255,255,255,.05));
}
.promo-combo-visual span{
  width:54px;
  height:54px;
  margin-left:-10px;
  border-radius:18px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 16px rgba(15,23,42,.12);
  overflow:hidden;
}
.promo-combo-visual span:first-child{margin-left:0}
.promo-combo-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.promo-combo-copy{
  padding:10px 10px 11px;
}
.promo-combo-badge{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:2px 7px;
  border-radius:999px;
  background:#dcfce7;
  color:#15803d;
  font-size:9px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
:root.dark .promo-combo-badge{background:rgba(34,197,94,.16);color:#86efac}
.promo-combo-copy strong{
  display:block;
  margin-top:7px;
  font-size:13px;
  line-height:1.25;
  color:var(--text);
}
.promo-combo-copy small{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-top:4px;
  min-height:30px;
  font-size:10px;
  line-height:1.45;
  color:var(--muted);
}
.promo-combo-price{
  margin-top:8px;
  color:var(--accent);
  font-size:12px;
  font-weight:800;
}

.promo-price-stack{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.15}
.promo-price-old{color:#9ca3af;text-decoration:line-through;font-size:10px;font-weight:700}
.promo-price-now{color:var(--accent);font-size:13px;font-weight:900}
.promo-price-save{display:inline-flex;align-items:center;max-width:100%;padding:2px 7px;border-radius:999px;background:rgba(22,163,74,.1);color:#15803d;font-size:9.5px;font-weight:900;white-space:nowrap}
:root.dark .promo-price-save{background:rgba(34,197,94,.14);color:#86efac}

/* ===== CUSTOM PROMO/COMBO DETAIL ===== */
.custom-bundle-wrap{
  grid-column:1 / -1;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.custom-bundle-status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 11px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--bg-card);
}
.custom-bundle-status strong{
  display:block;
  font-size:12px;
  color:var(--text);
}
.custom-bundle-status span{
  display:block;
  margin-top:2px;
  font-size:10px;
  color:var(--muted);
}
.custom-bundle-status b{
  color:var(--accent);
  font-size:15px;
  white-space:nowrap;
}

.custom-bundle-status-price{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:92px;text-align:right}
.custom-bundle-status-price span{margin:0;color:#9ca3af;text-decoration:line-through;font-size:10px;font-weight:800;line-height:1.1}
.custom-bundle-status-price b{color:var(--accent);font-size:15px;white-space:nowrap;line-height:1.1}
.custom-bundle-status-price small{display:inline-flex;padding:2px 7px;border-radius:999px;background:rgba(22,163,74,.1);color:#15803d;font-size:9.5px;font-weight:900;white-space:nowrap}
:root.dark .custom-bundle-status-price small{background:rgba(34,197,94,.14);color:#86efac}
.custom-bundle-status.is-complete{
  border-color:rgba(22,163,74,.45);
  background:linear-gradient(180deg, rgba(34,197,94,.08), transparent);
}
.custom-choice-group{
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--bg-card);
  overflow:hidden;
}
.custom-choice-title{
  position:sticky;
  top:0;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  background:var(--bg-card);
  border-bottom:1px solid var(--border);
}
.custom-choice-title strong{
  font-size:13px;
  color:var(--text);
}
.custom-choice-title span{
  font-size:10px;
  color:var(--muted);
}
.custom-choice-list{
  max-height:290px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.custom-drink-size-filter{
  display:flex;
  gap:7px;
  padding:9px 10px;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(172,30,34,.045), transparent);
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.custom-drink-size-filter::-webkit-scrollbar{display:none}
.custom-size-filter-pill{
  flex:0 0 auto;
  min-height:30px;
  padding:7px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--bg-page);
  color:var(--text);
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}
.custom-size-filter-pill.is-active{
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
}
.custom-choice-row{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  min-height:66px;
  padding:9px 10px;
  border-bottom:1px solid var(--border);
}
.custom-choice-row:last-child{border-bottom:0}
.custom-choice-row.is-selected{
  background:rgba(172,30,34,.06);
}
.custom-choice-row img{
  width:48px;
  height:48px;
  border-radius:12px;
  object-fit:cover;
  background:#f3f4f6;
}
.custom-choice-main{min-width:0}
.custom-choice-name{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.custom-choice-name strong{
  min-width:0;
}
.custom-choice-size-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:20px;
  padding:3px 7px;
  border-radius:999px;
  font-size:9.5px;
  line-height:1;
  font-weight:900;
  font-style:normal;
  letter-spacing:.02em;
}
.custom-choice-size-badge.is-reg{
  background:rgba(59,130,246,.12);
  color:#2563eb;
}
.custom-choice-size-badge.is-large{
  background:rgba(172,30,34,.12);
  color:var(--accent);
}
.custom-choice-main strong{
  display:block;
  font-size:12px;
  line-height:1.3;
  color:var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.custom-choice-main span{
  display:block;
  margin-top:3px;
  font-size:11px;
  color:var(--accent);
  font-weight:700;
}

.custom-choice-price{display:block;margin-top:4px}
.custom-price-stack{display:flex!important;flex-direction:column;align-items:flex-start;gap:2px;margin-top:0!important;line-height:1.12}
.custom-price-old{display:block!important;margin:0!important;color:#9ca3af!important;text-decoration:line-through;font-size:10px!important;font-weight:800!important}
.custom-price-now{display:block!important;margin:0!important;color:var(--accent)!important;font-size:12px!important;font-weight:900!important}
.custom-price-save{display:inline-flex!important;align-items:center;width:max-content;max-width:100%;margin:0!important;padding:2px 6px;border-radius:999px;background:rgba(22,163,74,.1);color:#15803d!important;font-size:9.2px!important;font-weight:900!important;white-space:nowrap}
.custom-price-save.is-large{background:rgba(172,30,34,.1);color:var(--accent)!important}
:root.dark .custom-price-save{background:rgba(34,197,94,.14);color:#86efac!important}
:root.dark .custom-price-save.is-large{background:rgba(172,30,34,.18);color:#fecaca!important}

.custom-drink-adjusters{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.custom-drink-adjuster{
  padding:8px;
  border:1px solid rgba(172,30,34,.13);
  border-radius:13px;
  background:rgba(255,255,255,.62);
}
:root.dark .custom-drink-adjuster{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.10);
}
.custom-drink-line{
  margin-bottom:6px;
  font-size:10px;
  font-weight:800;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.045em;
}
.custom-drink-opt-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
  margin-top:6px;
}
.custom-drink-opt-row > span{
  display:inline-flex;
  min-width:58px;
  margin:0;
  font-size:9.5px;
  line-height:1.2;
  color:var(--muted);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.custom-drink-pills{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:5px;
}
.custom-mini-pill{
  min-height:26px;
  padding:5px 8px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--bg-page);
  color:var(--text);
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}
.custom-mini-pill.is-active{
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
}
.custom-choice-empty{
  padding:18px 12px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
.custom-choice-actions{
  display:grid;
  grid-template-columns:30px 22px 30px;
  align-items:center;
  justify-items:center;
  border:1px solid var(--border);
  border-radius:999px;
  overflow:hidden;
  background:var(--bg-page);
}
.custom-choice-actions button{
  width:30px;
  height:30px;
  border:0;
  background:transparent;
  color:var(--accent);
  font-size:18px;
  font-weight:700;
  cursor:pointer;
}
.custom-choice-actions button:disabled{
  opacity:.28;
  cursor:not-allowed;
}
.custom-choice-actions b{
  font-size:12px;
  color:var(--text);
}
.detail-cta.is-disabled,
.detail-cta:disabled{
  opacity:.58;
  cursor:not-allowed;
}
.cart-custom-options div{
  line-height:1.45;
}
@media (max-width:370px){
  .promo-combo-card{flex-basis:146px}
  .custom-choice-row{grid-template-columns:42px minmax(0,1fr) auto;gap:8px}
  .custom-choice-row img{width:42px;height:42px}
  .custom-choice-actions{grid-template-columns:28px 18px 28px}
  .custom-choice-actions button{width:28px;height:28px}
  .custom-size-filter-pill{font-size:10px;padding:6px 10px}
  .custom-choice-size-badge{font-size:8.5px;padding:3px 6px}
  .custom-drink-opt-row{align-items:flex-start;flex-direction:column;gap:5px}
  .custom-drink-pills{justify-content:flex-start}
  .custom-mini-pill{font-size:9.5px;padding:5px 7px}
}

/* ===== POPUP MODE UNTUK SWEETNESS & ICE PAKET ===== */
.bundle-options-list.is-popup-mode{
  gap:8px;
}
.bundle-option-card--compact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px;
}
.bundle-option-card--compact .bundle-option-title{
  flex:1 1 auto;
  min-width:0;
}
.bundle-option-card--compact .bundle-option-title span{
  text-align:left;
  white-space:normal;
}
.custom-drink-adjusters.is-popup-mode{
  gap:6px;
}
.custom-drink-adjuster--compact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 9px;
}
.custom-drink-adjuster--compact .custom-drink-line{
  margin-bottom:2px;
}
.custom-drink-summary{
  font-size:10.5px;
  color:var(--muted);
  line-height:1.35;
}
.drink-popup-trigger{
  flex:0 0 auto;
  min-height:30px;
  border:1px solid rgba(172,30,34,.22);
  border-radius:999px;
  padding:6px 12px;
  background:rgba(172,30,34,.08);
  color:var(--accent);
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  touch-action:manipulation;
}
.drink-popup-trigger:active{
  transform:scale(.98);
}

.drink-option-popup{
  position:fixed;
  inset:0;
  z-index:4200;
  display:none;
}
.drink-option-popup.is-open{
  display:block;
}
.drink-option-popup__overlay{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.44);
  backdrop-filter:blur(6px);
}
.drink-option-popup__sheet{
  position:absolute;
  left:50%;
  bottom:0;
  width:min(100%, 430px);
  transform:translateX(-50%);
  border-radius:24px 24px 0 0;
  background:var(--bg-card);
  color:var(--text);
  border:1px solid var(--border);
  box-shadow:0 -18px 50px rgba(15,23,42,.24);
  padding:10px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  overscroll-behavior:contain;
  animation:drinkSheetIn .18s ease-out;
}
@keyframes drinkSheetIn{
  from{transform:translateX(-50%) translateY(18px);opacity:.72}
  to{transform:translateX(-50%) translateY(0);opacity:1}
}
.drink-option-popup__handle{
  width:42px;
  height:4px;
  border-radius:999px;
  background:var(--border);
  margin:0 auto 10px;
}
.drink-option-popup__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-bottom:12px;
  border-bottom:1px solid var(--border);
}
.drink-option-popup__head strong{
  display:block;
  font-size:15px;
  line-height:1.25;
  color:var(--text);
}
.drink-option-popup__head span{
  display:block;
  margin-top:3px;
  font-size:11px;
  line-height:1.35;
  color:var(--muted);
}
.drink-option-popup__x{
  width:34px;
  height:34px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--bg-page);
  color:var(--text);
  font-weight:900;
  cursor:pointer;
}
.drink-option-popup__body{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:14px 0 12px;
}
.drink-popup-group{
  border:1px solid var(--border);
  border-radius:18px;
  padding:11px;
  background:var(--bg-page);
}
.drink-popup-label{
  margin-bottom:8px;
  font-size:11px;
  font-weight:900;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.055em;
}
.drink-popup-pills{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:8px;
}
.drink-popup-pill{
  min-height:42px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:9px 10px;
  background:var(--bg-card);
  color:var(--text);
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  touch-action:manipulation;
}
.drink-popup-pill.is-active{
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
}
.drink-popup-pills .drink-popup-pill:nth-child(3){
  grid-column:1 / -1;
}
.drink-popup-note{
  margin:0;
  font-size:11px;
  line-height:1.45;
  color:var(--muted);
}
.drink-option-popup__done{
  width:100%;
  min-height:46px;
  border:0;
  border-radius:16px;
  background:var(--accent);
  color:#fff;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
}
@media (max-width:370px){
  .drink-option-popup__sheet{padding-left:12px;padding-right:12px;border-radius:20px 20px 0 0}
  .drink-popup-pill{font-size:11.5px;min-height:40px;padding:8px}
  .drink-popup-trigger{padding:6px 10px;font-size:10.5px}
}
@media (prefers-reduced-motion:reduce){
  .drink-option-popup__sheet{animation:none}
}


/* Promo & Combo price-old + mobile anti-jump polish */
.custom-choice-actions button,
.custom-size-filter-pill,
.drink-popup-pill,
.drink-popup-trigger{
  -webkit-tap-highlight-color: transparent;
}
.custom-choice-actions button:focus,
.custom-size-filter-pill:focus,
.drink-popup-pill:focus,
.drink-popup-trigger:focus{
  outline: none;
}
.custom-choice-actions button:focus-visible,
.custom-size-filter-pill:focus-visible,
.drink-popup-pill:focus-visible,
.drink-popup-trigger:focus-visible{
  outline:2px solid rgba(172,30,34,.35);
  outline-offset:2px;
}
@media (max-width:380px){
  .custom-choice-row{grid-template-columns:42px minmax(0,1fr) auto;gap:8px;padding:8px}
  .custom-price-save{font-size:8.7px!important;padding:2px 5px}
  .custom-bundle-status{align-items:flex-start}
  .custom-bundle-status-price{min-width:82px}
}


/* ===== API OUTLET + STOCK STATE ===== */
.outlet-status-card{
  margin-top:10px;border:1px solid var(--border);border-radius:16px;background:var(--bg-card);
  padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.outlet-status-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.outlet-status-copy small{font-size:10.5px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.03em}
.outlet-status-copy strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}
.outlet-status-copy span{font-size:10.5px;color:var(--muted);line-height:1.35}
.outlet-change-btn{border:0;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:800;padding:8px 11px;white-space:nowrap;cursor:pointer}
.outlet-change-btn:active{transform:translateY(1px)}
.api-gate-message{border:1px dashed var(--border);border-radius:18px;background:var(--bg-card);padding:16px 14px;margin-top:10px;text-align:center;color:var(--muted);font-size:12px;line-height:1.6}
.api-gate-message strong{display:block;color:var(--text);font-size:14px;margin-bottom:3px}
.product-card.is-unavailable{opacity:.62;filter:grayscale(.35)}
.product-card.is-unavailable .product-image::after{content:'stok kosong';position:absolute;inset:auto 8px 8px 8px;border-radius:999px;background:rgba(17,24,39,.88);color:#fff;font-size:10px;font-weight:800;padding:5px 8px;text-align:center;backdrop-filter:blur(4px)}
.product-image{position:relative;overflow:hidden}
.product-stock-badge{display:inline-flex;align-items:center;gap:4px;margin-top:5px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:10px;font-weight:800;padding:3px 7px;width:max-content}
.btn-plus.is-disabled,.btn-plus:disabled,.detail-cta.is-disabled,.detail-cta:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.25)}
.custom-choice-row.is-unavailable{opacity:.54;filter:grayscale(.35)}
.custom-choice-stock{display:inline-flex;margin-top:2px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:9.5px;font-weight:800;padding:2px 6px;width:max-content}
.swal2-select.kopken-outlet-select{width:100%;max-width:100%;margin:10px 0 0;border-radius:12px;border:1px solid #e5e7eb;padding:10px 12px;font-family:inherit;font-size:13px;color:#111827;background:#fff}
.swal2-html-container .kopken-outlet-help{font-size:12px;color:#6b7280;line-height:1.45;text-align:left;margin:0}
.swal2-html-container .kopken-outlet-error{font-size:12px;color:#991b1b;line-height:1.45;text-align:left;background:#fee2e2;border-radius:12px;padding:10px;margin-top:10px}
