:root {
  --primary: #54152B; /* Signature burgundy/plum red */
  --primary-dark: #3A0C1C;
  --primary-light: #ECCCD6;
  --primary-pale: #F9EBF0;
  --gold: #C8A96E; /* Warm Gold */
  --gold-dark: #A3844D;
  --gold-light: #F6F1E5;
  --teal: #4ECDC4;
  --white: #FFFFFF;
  --cream: #FAF9F6; /* Soft warm sand background */
  --cream2: #F3F1EB;
  --border: #E8E5DD;
  --border-light: #F0EDE6;
  --gray: #7A6F72;
  --gray-light: #C0B7B9;
  --dark: #2B1D20;
  --card-bg: #FFFFFF;
  --green: #218838;
  --green-badge: #28A745;
  --red-err: #C82333;
  --shadow: rgba(84,21,43,0.08);
  --toast-warn: #92400E;
  --toast-warn-bg: #FFFBEB;
  --toast-warn-border: #F59E0B;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  padding: 0;
  background: #E5E2DC; /* Neutral desktop background */
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}
.app-wrapper {
  width: 100%;
  max-width: 480px; /* Mobile app container shell */
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px rgba(0,0,0,0.08);
  position: relative;
}

.app-header { background: var(--white); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; left: 0; right: 0; border-bottom: 1.5px solid var(--border-light); }
.logo { font-size: 19px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; display: flex; align-items: center; gap: 6px; }
.logo-heart { color: var(--primary); font-size: 16px; }
.header-nav-btn { background: var(--cream); border: 1.5px solid var(--border); border-radius: 50px; padding: 6px 12px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 12px; color: var(--dark); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.header-nav-btn:hover { background: var(--primary-pale); border-color: var(--primary); color: var(--primary); }
.cart-btn { background: var(--primary); border: none; border-radius: 50px; padding: 8px 14px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 13px; color: white; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s; }
.cart-btn:hover { background: var(--primary-dark); }
.cart-badge { background: white; color: var(--primary); border-radius: 50%; width: 18px; height: 18px; font-size: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; }

.step-indicator { display: none !important; } /* Hidden, replaced by bottom nav */

.page { display: none; padding: 16px 16px 140px; animation: fadeIn 0.25s ease; }
.page.active { display: block; }
#page2.active, #page3.active, #page4.active, #page5.active { padding-bottom: 140px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.page-title { font-size: 28px; font-weight: 800; color: var(--dark); margin-bottom: 4px; line-height: 1.2; }
.page-subtitle { font-size: 15px; color: var(--gray); margin-bottom: 24px; line-height: 1.6; font-weight: 400; }
.page-badge { display: inline-block; background: var(--primary); color: white; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 20px; letter-spacing: 0.3px; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.form-input, .form-select { width: 100%; padding: 15px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 500; background: var(--white); color: var(--dark); outline: none; transition: all 0.2s; appearance: none; }
.form-input:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-pale); }
.form-input::placeholder { color: var(--gray-light); font-weight: 400; }
.select-wrap { position: relative; }
.select-wrap::after { content: '▾'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--primary); pointer-events: none; font-size: 16px; }
.form-hint { font-size: 12px; color: var(--gray); margin-top: 6px; font-weight: 400; }

.btn-primary { width: 100%; padding: 17px 20px; background: var(--primary); color: var(--white); border: none; border-radius: 14px; font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-top: 8px; box-shadow: 0 4px 16px var(--shadow); letter-spacing: 0.2px; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.order-info-bar { background: var(--primary-pale); border: 1.5px solid var(--border); border-radius: 16px; padding: 14px 18px; margin-bottom: 18px; display: flex; gap: 20px; flex-wrap: wrap; }
.info-item { display: flex; flex-direction: column; gap: 3px; }
.info-label { font-size: 11px; color: var(--primary); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; }
.info-value { font-size: 14px; color: var(--dark); font-weight: 600; }

.menu-search-wrap { position: relative; margin-bottom: 14px; }
.menu-search { width: 100%; padding: 13px 18px 13px 44px; border: 2px solid var(--border); border-radius: 50px; font-family: 'DM Sans', sans-serif; font-size: 15px; background: var(--white); color: var(--dark); outline: none; transition: all 0.2s; }
.menu-search:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(163,0,65,0.08); }
.menu-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; }
.menu-search-clear { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; cursor: pointer; color: var(--gray-light); display: none; background: none; border: none; padding: 0; }

/* Sort control */
.sort-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.sort-label { font-size: 13px; color: var(--gray); font-weight: 600; white-space: nowrap; }
.sort-select { padding: 8px 14px; border: 2px solid var(--border); border-radius: 50px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--dark); background: var(--white); outline: none; cursor: pointer; appearance: none; }
.sort-select:focus { border-color: var(--primary); }

.category-tabs-sticky-wrap { position: sticky; top: 46px; z-index: 80; background: var(--white); padding: 0; margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-bottom: 1.5px solid var(--border-light); }
.category-tabs { display: flex; gap: 0; overflow-x: auto; padding-bottom: 0; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.cat-tab { padding: 12px 16px; border-radius: 0; border: none; border-bottom: 3px solid transparent; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; background: transparent; color: var(--gray); transition: all 0.2s; flex-shrink: 0; }
.cat-tab:hover { color: var(--dark); }
.cat-tab.active { color: var(--primary) !important; border-bottom-color: var(--primary) !important; font-weight: 700; background: transparent !important; }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.menu-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1.5px solid var(--border-light); cursor: pointer; transition: all 0.22s; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.04); pointer-events: auto; }
.menu-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); border-color: var(--gold); }
.menu-img { width: 100%; aspect-ratio: 1; background: var(--cream2); display: flex; align-items: center; justify-content: center; font-size: 32px; overflow: hidden; }
.menu-info, .menu-card-body { padding: 8px 8px 36px; }
.menu-name { font-size: 11px; font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 4px; height: 30px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.price-row { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.price-original { font-size: 10px; color: var(--gray-light); text-decoration: line-through; font-weight: 400; }
.price-sale { font-size: 11px; font-weight: 800; color: var(--primary); }
.discount-badge { font-size: 8px; font-weight: 800; color: white; background: var(--green); border-radius: 3px; padding: 1px 3px; }
.add-btn { position: absolute; bottom: 8px; right: 8px; width: 24px; height: 24px; background: var(--primary); color: white; border: none; border-radius: 50%; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: 0 2px 6px var(--shadow); }
.add-btn:hover { background: var(--primary-dark); transform: scale(1.1); }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(30,15,24,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 1100; align-items: flex-end; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: 24px 24px 0 0; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; animation: slideUp 0.28s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-handle { width: 44px; height: 4px; background: var(--border); border-radius: 4px; margin: 14px auto 0; }
.modal-img { width: 100%; height: 210px; background: var(--primary-pale); display: flex; align-items: center; justify-content: center; font-size: 80px; overflow: hidden; }
.modal-content { padding: 22px 20px; }
.modal-name { font-size: 24px; font-weight: 800; margin-bottom: 6px; color: var(--dark); line-height: 1.2; }
.modal-prices { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.modal-price-orig { font-size: 15px; color: var(--gray-light); text-decoration: line-through; font-weight: 400; }
.modal-price-sale { font-size: 26px; font-weight: 800; color: var(--primary); }
.modal-note-info { background: #FFFBEB; border: 1.5px solid #F59E0B; border-radius: 10px; padding: 10px 14px; font-size: 12px; color: #92400E; line-height: 1.5; margin-bottom: 18px; font-weight: 500; }
.option-group { margin-bottom: 20px; }
.option-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--primary); margin-bottom: 10px; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill { padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--border); font-size: 14px; cursor: pointer; background: var(--white); color: var(--dark); transition: all 0.15s; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.option-pill:hover { border-color: var(--gold); color: var(--dark); }
.option-pill.selected { background: var(--white); color: var(--dark); border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); font-weight: 700; }
.qty-control { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.qty-btn { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--border); background: var(--cream); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--dark); transition: all 0.15s; }
.qty-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.qty-num { font-size: 20px; font-weight: 800; min-width: 28px; text-align: center; color: var(--dark); }
.modal-note { width: 100%; padding: 13px 16px; border: 2px solid var(--border); border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 14px; resize: none; outline: none; margin-bottom: 18px; color: var(--dark); background: var(--cream); font-weight: 400; }
.modal-note:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(163,0,65,0.10); }

.cart-item { background: var(--white); border-radius: 16px; padding: 16px; margin-bottom: 12px; border: 1.5px solid var(--border-light); box-shadow: 0 2px 8px rgba(0,0,0,0.05); cursor: pointer; transition: border-color 0.2s; }
.cart-item:hover { border-color: var(--primary-light); }
.cart-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cart-item-name { font-size: 16px; font-weight: 700; color: var(--dark); }
.cart-item-opts { font-size: 13px; color: var(--gray); margin-top: 4px; font-weight: 400; }
.cart-item-note { font-size: 13px; color: var(--primary); margin-top: 4px; font-style: italic; }
.cart-item-price { font-size: 16px; font-weight: 800; color: white; background: var(--green); padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.cart-item-edit { font-size: 11px; color: var(--primary); font-weight: 600; margin-top: 4px; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.cart-qty-ctrl { display: flex; align-items: center; gap: 12px; }
.cart-qty-btn { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border); background: var(--cream); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--dark); transition: all 0.15s; }
.cart-qty-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cart-qty-num { font-size: 16px; font-weight: 800; color: var(--dark); }
.cart-summary { background: var(--primary-pale); border: 1.5px solid var(--border); border-radius: 18px; padding: 20px; margin-top: 18px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.summary-label { font-size: 15px; color: var(--gray); font-weight: 500; }
.summary-value { font-size: 15px; color: var(--dark); font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1.5px solid var(--border); margin-top: 6px; }
.summary-total-label { font-size: 18px; font-weight: 800; color: var(--dark); }
.summary-total-value { font-size: 20px; font-weight: 800; color: var(--primary); }

.total-amount-box { background: var(--primary); border-radius: 18px; padding: 22px; text-align: center; margin-bottom: 22px; box-shadow: 0 4px 20px var(--shadow); }
.total-label { font-size: 13px; color: var(--primary-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; font-weight: 700; }
.total-amount { font-size: 38px; font-weight: 800; color: var(--white); line-height: 1.1; }

.qris-container { background: var(--white); border: 1.5px solid var(--border-light); border-radius: 20px; padding: 28px 20px; text-align: center; margin-bottom: 20px; }
.qris-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; color: var(--dark); }
.qris-subtitle { font-size: 14px; color: var(--gray); margin-bottom: 22px; font-weight: 400; }
.qris-image { width: 220px; height: 220px; border-radius: 12px; margin: 0 auto; display: block; }
.qris-apps { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.qris-app-badge { padding: 6px 14px; border-radius: 50px; background: var(--primary-pale); border: 1.5px solid var(--border); font-size: 12px; color: var(--primary); font-weight: 600; }

.back-btn { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray); cursor: pointer; margin-bottom: 18px; background: white; border: 1.5px solid var(--border); border-radius: 50px; padding: 7px 16px; font-family: 'DM Sans', sans-serif; font-weight: 600; transition: all 0.2s; }
.back-btn:hover { color: var(--primary); border-color: var(--primary); }

.sticky-cart { position: fixed; bottom: 0; left: 0; right: 0; padding: 14px 20px 20px; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1.5px solid var(--border-light); z-index: 90; display: none; }
.sticky-cart.visible { display: block; }
.sticky-cart .btn-primary { margin-top: 0; }

.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px); background: #FFFBEB; border: 1.5px solid #F59E0B; color: #92400E; padding: 13px 24px; border-radius: 50px; font-size: 15px; font-weight: 700; z-index: 999; opacity: 0; transition: all 0.3s; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 20px rgba(245,158,11,0.2); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--gray); }
.cart-empty .icon { font-size: 64px; margin-bottom: 16px; }
.cart-empty p { font-size: 16px; font-weight: 500; }

.best-seller-badge { position:absolute; top:8px; left:8px; background:#27AE60; color:white; font-size:10px; font-weight:800; padding:3px 8px; border-radius:5px; z-index:2; pointer-events:none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ── MIN ORDER POPUP ── */
.min-order-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.55); backdrop-filter:blur(4px); z-index:500; align-items:center; justify-content:center; padding:20px; }
.min-order-overlay.open { display:flex; }
.min-order-box { background:white; border-radius:24px; padding:28px 24px; max-width:360px; width:100%; text-align:center; animation:fadeIn 0.25s ease; }
.min-order-emoji { font-size:48px; margin-bottom:12px; }
.min-order-title { font-size:20px; font-weight:800; color:var(--dark); margin-bottom:14px; line-height:1.3; }
.min-order-body { font-size:14px; color:#444; line-height:1.7; margin-bottom:20px; }
.min-order-highlight { background:var(--primary-pale); border:1.5px solid var(--primary-light); border-radius:12px; padding:12px 14px; margin-bottom:20px; font-size:13px; color:var(--primary); font-weight:600; line-height:1.7; text-align:left; }
.min-order-btn { width:100%; padding:15px; border-radius:14px; border:none; background:var(--primary); color:white; font-family:'DM Sans',sans-serif; font-size:16px; font-weight:800; cursor:pointer; }

/* ── BUNDLING SECTION ── */
.bundling-section { margin-bottom:24px; }
.bundling-header { background:var(--primary); border-radius:16px; padding:16px 20px; margin-bottom:14px; text-align:center; position:relative; overflow:hidden; }
.bundling-header::before { content:""; }
.bundling-header::after { content:""; }
.bundling-header-title { font-size:20px; font-weight:900; color:white; letter-spacing:-0.3px; }
.bundling-header-sub { font-size:13px; color:rgba(255,255,255,0.85); font-weight:600; margin-top:3px; }
.bundling-badge { display:inline-block; background:white; color:var(--primary); font-size:12px; font-weight:800; border-radius:50px; padding:4px 14px; margin-top:8px; }

/* ── BUNDLING CARDS ── */
.bundling-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; width:100%; }
.bundling-card { background:white; border-radius:16px; border:1.5px solid var(--border-light); overflow:hidden; cursor:pointer; transition:all 0.2s; position:relative; }
.bundling-card.selected { border-color:var(--gold); box-shadow:0 0 0 2px var(--gold); }
.bundling-card.disabled { opacity:0.45; pointer-events:none; }
.bundling-card-img { width:100%; height:90px; object-fit:cover; background:var(--cream2); display:flex; align-items:center; justify-content:center; font-size:36px; }
.bundling-card-img img { width:100%; height:100%; object-fit:cover; }
.bundling-card-body { padding:8px 10px 10px; }
.bundling-card-name { font-size:13px; font-weight:700; color:var(--dark); line-height:1.3; margin-bottom:2px; }
.bundling-card-price { font-size:11px; color:var(--gray); }
.bundling-card-check { position:absolute; top:7px; right:7px; width:24px; height:24px; background:var(--primary); border-radius:50%; display:none; align-items:center; justify-content:center; color:white; font-size:13px; font-weight:800; }
.bundling-card.selected .bundling-card-check { display:flex; }

/* bundling counter bar */
.bundling-counter { display:flex; align-items:center; justify-content:space-between; background:var(--primary-pale); border:1.5px solid var(--primary-light); border-radius:12px; padding:10px 14px; margin-bottom:12px; }
.bundling-counter-text { font-size:14px; font-weight:700; color:var(--primary); }
.bundling-counter-pills { display:flex; gap:6px; }
.bundling-counter-pill { width:12px; height:12px; border-radius:50%; background:var(--primary-light); transition:background 0.2s; }
.bundling-counter-pill.filled { background:var(--primary); }

/* bundling add btn */
.bundling-add-btn { width:100%; padding:14px; border-radius:14px; border:none; background:linear-gradient(135deg,#ff6b9d,#c0392b); color:white; font-family:'DM Sans',sans-serif; font-size:16px; font-weight:800; cursor:pointer; margin-top:6px; transition:opacity 0.2s; }
.bundling-add-btn:disabled { opacity:0.4; cursor:not-allowed; }
.bundling-opts-title { font-size:16px; font-weight:800; color:var(--dark); margin-bottom:4px; }
.bundling-opts-note { font-size:12px; color:#c0392b; font-weight:600; background:#FFF0F5; border-radius:8px; padding:8px 12px; margin-bottom:16px; }

/* ── MENU MODE TABS ── */
.mode-tabs { display:flex; gap:0; margin-bottom:0; border-radius:0; overflow:hidden; border:none; border-bottom: 1.5px solid var(--border-light); width:calc(100% + 32px); margin: 0 -16px; padding: 0; background:white; }
.mode-tab { flex:1; padding:14px 20px; text-align:center; font-family:'DM Sans',sans-serif; font-size:14px; font-weight:600; cursor:pointer; transition:all 0.2s; border:none; background:transparent; color:var(--gray); border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space:nowrap; }
.mode-tab.active { color:var(--primary); border-bottom-color:var(--primary); font-weight:700; background:transparent; }

/* ── BUNDLING PAGE ── */
.bundling-page { display:none; }

.bundle-type-tabs { display:flex; gap:8px; overflow-x:auto; padding-bottom:10px; margin-bottom:16px; scrollbar-width:none; -webkit-overflow-scrolling:touch; max-width:100%; }
.bundle-type-tabs::-webkit-scrollbar { display:none; }
.bundle-type-tab { flex-shrink:0; padding:9px 16px; border-radius:50px; border:1.5px solid var(--border); background:white; color:var(--dark); font-family:'DM Sans',sans-serif; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; transition:all 0.2s; }
.bundle-type-tab.active { background:var(--primary); color:white; border-color:var(--primary); }

/* ── BUNDLING CARDS (bebas pilih) ── */
.bundling-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; width:100%; }
.bundling-card { background:white; border-radius:14px; border:2px solid #FFD6E5; overflow:hidden; cursor:pointer; transition:all 0.18s; position:relative; }
.bundling-card.selected { border-color:#c0392b; box-shadow:0 0 0 3px rgba(192,57,43,0.15); }
.bundling-card.disabled { opacity:0.4; pointer-events:none; }
.bundling-card-img { width:100%; height:80px; display:flex; align-items:center; justify-content:center; background:var(--primary-pale); overflow:hidden; }
.bundling-card-img img { width:100%; height:100%; object-fit:cover; }
.bundling-card-body { padding:8px 10px 10px; }
.bundling-card-name { font-size:12px; font-weight:700; color:var(--dark); line-height:1.3; }
.bundling-card-check { position:absolute; top:6px; right:6px; width:22px; height:22px; background:#c0392b; border-radius:50%; display:none; align-items:center; justify-content:center; color:white; font-size:12px; font-weight:800; }
.bundling-card.selected .bundling-card-check { display:flex; }
.bundling-counter { display:flex; align-items:center; justify-content:space-between; background:#FFF0F5; border:1.5px solid #FFD6E5; border-radius:12px; padding:10px 14px; margin-bottom:12px; }
.bundling-counter-text { font-size:14px; font-weight:700; color:#c0392b; }
.bundling-counter-pills { display:flex; gap:6px; }
.bundling-counter-pill { width:12px; height:12px; border-radius:50%; background:#FFD6E5; transition:background 0.2s; }
.bundling-counter-pill.filled { background:#c0392b; }

/* ── PAKET CARDS (fixed packages) ── */
.paket-grid { display:flex; flex-direction:column; gap:10px; }
.paket-card { background:white; border-radius:16px; border:2px solid #FFD6E5; padding:14px 16px; cursor:pointer; transition:all 0.18s; position:relative; }
.paket-card.selected { border-color:#c0392b; background:#FFF0F5; }
.paket-card-header { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:8px; }
.paket-card-code { font-size:13px; font-weight:800; color:#c0392b; background:#FFD6E5; padding:3px 10px; border-radius:50px; }
.paket-card-price { font-size:16px; font-weight:800; color:var(--primary); }
.paket-card-items { font-size:13px; color:#555; line-height:1.7; }
.paket-card-items li { list-style:none; padding-left:0; }
.paket-card-items li::before { content:"• "; color:#c0392b; font-weight:700; }
.paket-card-check { position:absolute; top:12px; right:48px; width:22px; height:22px; background:#c0392b; border-radius:50%; display:none; align-items:center; justify-content:center; color:white; font-size:12px; }
.paket-card.selected .paket-card-check { display:flex; }

/* ── BUNDLING HEMAT ── */
.hemat-section { margin-bottom:20px; }
.hemat-section-title { font-size:16px; font-weight:800; color:var(--primary-dark); margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.hemat-price-badge { background:var(--primary); color:white; font-size:12px; font-weight:700; border-radius:50px; padding:3px 12px; }
.hemat-items-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; width:100%; }
.hemat-item-card { background:white; border:2px solid #FFD6E5; border-radius:12px; padding:10px 12px; cursor:pointer; transition:all 0.18s; }
.hemat-item-card.selected { border-color:#c0392b; background:#FFF0F5; }
.hemat-item-card-name { font-size:12px; font-weight:700; color:var(--dark); }
.hemat-item-card-price { font-size:13px; font-weight:800; color:#c0392b; margin-top:2px; }

/* ── BUNDLING ADD BTN ── */
.bundling-add-btn { width:100%; padding:14px; border-radius:14px; border:none; background:linear-gradient(135deg,#ff6b9d,#c0392b); color:white; font-family:'DM Sans',sans-serif; font-size:15px; font-weight:800; cursor:pointer; margin-top:12px; transition:opacity 0.2s; }
.bundling-add-btn:disabled { opacity:0.35; cursor:not-allowed; }
.bundling-header-banner { background:linear-gradient(135deg,#ff6b9d,#c0392b); border-radius:16px; padding:14px 18px; margin-bottom:14px; text-align:center; color:white; }
.bundling-header-banner h3 { font-size:18px; font-weight:900; }
.bundling-header-banner p { font-size:12px; opacity:0.9; margin-top:3px; }
.bundling-header-banner .price-tag { display:inline-block; background:white; color:#c0392b; font-weight:800; font-size:14px; border-radius:50px; padding:3px 16px; margin-top:8px; }

/* ── BUNDLING OPTIONS MODAL ── */
.bundling-opts-overlay { display:none; position:fixed; inset:0; background:rgba(30,15,24,0.55); z-index:1100; align-items:flex-end; justify-content:center; }
.bundling-opts-overlay.open { display:flex; }
.bundling-opts-box { background:white; border-radius:24px 24px 0 0; width:100%; max-width:480px; max-height:85vh; overflow-y:auto; padding:20px 20px 32px; animation:slideUp 0.28s ease; }

/* ── OUTLET SEARCH ── */
.outlet-search-section { margin-bottom:14px; position:relative; z-index:200; }
.outlet-search-label { font-size:13px; font-weight:700; color:var(--dark); margin-bottom:8px; }
.outlet-search-wrap { position:relative; }
.outlet-search-input { width:100%; padding:13px 44px 13px 16px; border:1.5px solid var(--border); border-radius:50px; font-family:'DM Sans',sans-serif; font-size:14px; background:white; outline:none; transition:border-color 0.2s; box-sizing:border-box; }
.outlet-search-input:focus { border-color:var(--primary); box-shadow: 0 0 0 3px var(--primary-pale); }
.outlet-search-clear { position:absolute; right:14px; top:50%; transform:translateY(-50%); background:none; border:none; font-size:16px; cursor:pointer; color:var(--gray); padding:4px; }
.outlet-dropdown { position:absolute; z-index:300; background:white; border:2px solid var(--border); border-radius:14px; width:100%; max-height:260px; overflow-y:auto; box-shadow:0 8px 24px rgba(0,0,0,0.18); margin-top:4px; }
.outlet-dropdown-item { padding:12px 16px; cursor:pointer; border-bottom:1px solid #f5f5f5; }
.outlet-dropdown-item:last-child { border-bottom:none; }
.outlet-item-name { font-size:14px; font-weight:700; color:var(--dark); }
.outlet-item-meta { font-size:12px; color:var(--gray); margin-top:2px; }
.outlet-type-tag { font-size:11px; font-weight:700; padding:2px 8px; border-radius:50px; margin-left:6px; }
.outlet-type-tag.premium { background:#FEF3C7; color:#92400E; }
.outlet-type-tag.normal { background:#F0FDF4; color:#166534; }
.outlet-selected-badge { display:flex; align-items:center; background:var(--primary-pale); border:1.5px solid var(--primary-light); border-radius:12px; padding:10px 14px; margin-top:8px; gap:8px; flex-wrap:wrap; }
.outlet-selected-name { font-size:13px; font-weight:700; color:var(--dark); flex:1; }
.outlet-clear-btn { background:none; border:none; color:var(--gray); cursor:pointer; font-size:14px; padding:2px 4px; }
.city-chips { display:flex; gap:8px; overflow-x:auto; padding:10px 0 4px; scrollbar-width:none; }
.city-chips::-webkit-scrollbar { display:none; }
.city-chip { flex-shrink:0; padding:7px 14px; border-radius:50px; border:1.5px solid var(--border); background:white; font-family:'DM Sans',sans-serif; font-size:13px; font-weight:600; color:var(--dark); cursor:pointer; white-space:nowrap; }
.city-chip.active { background:var(--primary); color:white; border-color:var(--primary); }

/* ── INFO CARDS ── */
.info-cards-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:16px; }
.info-card { display:flex; align-items:center; gap:10px; background:white; border:1.5px solid var(--border); border-radius:14px; padding:12px 14px; cursor:pointer; }
.info-card-icon { font-size:22px; flex-shrink:0; }
.info-card-title { font-size:13px; font-weight:700; color:var(--dark); }
.info-card-sub { font-size:11px; color:var(--gray); margin-top:1px; }
.info-card-arrow { font-size:18px; color:var(--gray); margin-left:auto; }

/* ── FLOATING CART FAB ── */
.cart-fab { 
  position:fixed; bottom: 80px; left:50%; transform:translateX(-50%); 
  width:calc(min(500px,100%) - 28px); max-width:440px; 
  background: var(--primary); 
  color:white; border:none; border-radius:16px; 
  padding: 16px 24px; font-family:'DM Sans',sans-serif; 
  font-size: 16px; font-weight:800; cursor:pointer; 
  box-shadow:0 4px 20px rgba(196,30,58,0.35); 
  z-index:100; display:flex; align-items:center; justify-content:space-between; 
  box-sizing:border-box; transition:opacity 0.3s, bottom 0.3s;
  opacity:1;
}
.cart-fab.scrolling { opacity:1; }
.wa-confirm-fab {
  position:fixed; bottom:80px; left:50%; transform:translateX(-50%);
  width:calc(min(500px,100%) - 28px); max-width:440px;
  background:linear-gradient(135deg,#25D366,#128C7E);
  color:white; border:none; border-radius:16px;
  padding:14px 20px; font-family:'DM Sans',sans-serif;
  font-size:15px; font-weight:800; cursor:pointer;
  box-shadow:0 4px 20px rgba(37,211,102,0.35);
  z-index:100; display:none; align-items:center; justify-content:center; gap:8px;
  box-sizing:border-box; transition:opacity 0.3s;
  opacity:1;
}
.wa-confirm-fab.scrolling { opacity:1; }
.cart-fab-badge { background:white; color:var(--primary); border-radius:50px; min-width:22px; height:22px; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; padding:0 6px; }

/* ── CART ORDER FORM ── */
.order-form-section { margin-top:20px; }
.order-form-divider { font-size:14px; font-weight:800; color:var(--dark); border-top:2px solid var(--border); padding-top:16px; margin-bottom:16px; }
.cart-outlet-display { border:2px solid var(--border); border-radius:14px; padding:13px 16px; cursor:pointer; display:flex; align-items:center; gap:8px; background:white; }
#cartOutletText { font-size:14px; color:var(--gray); flex:1; }

/* ── PANDUAN & TESTIMONI MODALS ── */
.info-overlay { display:none; position:fixed; inset:0; background:rgba(30,15,24,0.55); z-index:400; align-items:flex-end; justify-content:center; }
.info-overlay.open { display:flex; }
.info-box { background:white; border-radius:24px 24px 0 0; width:100%; max-width:480px; max-height:85vh; overflow-y:auto; padding:24px 20px 32px; animation:slideUp 0.28s ease; }
.info-box-title { font-size:18px; font-weight:800; color:var(--dark); margin-bottom:16px; }
.info-step { display:flex; gap:12px; margin-bottom:14px; align-items:flex-start; }
.info-step-num { width:28px; height:28px; background:var(--primary); color:white; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; flex-shrink:0; }
.info-step-text { font-size:14px; color:#444; line-height:1.6; }
.close-info-btn { width:100%; padding:13px; border-radius:14px; border:none; background:var(--primary); color:white; font-family:'DM Sans',sans-serif; font-size:15px; font-weight:700; cursor:pointer; margin-top:12px; }

/* ── CART LAYOUT ── */
.cart-layout { display:flex; flex-direction:column; gap:20px; }
@media (min-width:600px){
  .cart-form-col { min-width:0; }
  .cart-items-col { min-width:0; }
}
.cart-outlet-summary { background:var(--primary-pale); border:1.5px solid var(--primary-light); border-radius:14px; padding:12px 14px; margin-bottom:16px; }
.cos-label { font-size:11px; font-weight:700; color:var(--primary); text-transform:uppercase; letter-spacing:0.5px; margin-bottom:4px; }
.cos-value { font-size:14px; font-weight:700; color:var(--dark); line-height:1.3; }
.cos-type { font-size:11px; font-weight:600; color:var(--primary); margin-top:2px; }
.cart-outlet-summary.premium { background:#FEF3C7; border-color:#FCD34D; }
.cart-outlet-summary.premium .cos-label { color:#92400E; }
.cart-outlet-summary.premium .cos-type { color:#92400E; }

/* ── TESTIMONI GALLERY ── */
.testi-gallery { display:grid; grid-template-columns:1fr 1fr 1fr; gap:2px; max-height:65vh; overflow-y:auto; background:#000; }
.testi-photo { width:100%; aspect-ratio:1; object-fit:cover; cursor:default; pointer-events:none; }
.testi-photo:hover { opacity:1; }
.testi-placeholder { grid-column:1/-1; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:48px 20px; text-align:center; background:white; }
/* ── TESTI VIEWER ── */
.testi-viewer { display:none; position:fixed; inset:0; background:#000; z-index:600; align-items:center; justify-content:center; }
.testi-viewer.open { display:flex; }
.testi-viewer img { max-width:100%; max-height:100vh; object-fit:contain; }
.testi-viewer-close { position:absolute; top:16px; right:16px; color:white; font-size:28px; cursor:pointer; background:rgba(0,0,0,0.5); border:none; border-radius:50%; width:40px; height:40px; display:flex; align-items:center; justify-content:center; }

.input-error { border-color:#c0392b !important; background:#FFF0F5 !important; }
.input-error-msg { font-size:12px; color:#c0392b; font-weight:600; margin-top:4px; display:none; }
.input-error-msg.show { display:block; }
.form-label.error { color:#c0392b; }

.menu-img-empty { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:32px; background:var(--primary-pale); }
.menu-img img { opacity:0; transition:opacity 0.3s; }
.menu-img img[style*="opacity:1"], .menu-img img[style*="opacity: 1"] { opacity:1; }
.menu-img-empty { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:24px; background:var(--cream2); color:var(--gray-light); }

.outlet-search-hint { 
  display: none; 
  background: linear-gradient(135deg, #fff7ed, #fef3c7); 
  border: 2px solid #f59e0b; 
  border-radius: 12px; 
  padding: 10px 14px; 
  margin-top: 10px;
  font-size: 13px; 
  color: #92400e; 
  font-weight: 600; 
  line-height: 1.6;
  animation: pulseHint 1.5s ease-in-out infinite;
}
.outlet-search-hint.show { display: flex; align-items: center; gap: 8px; }
@keyframes pulseHint {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(245,158,11,0); }
}
@keyframes pulseInput {
  0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.6); border-color: #f59e0b; }
  70% { box-shadow: 0 0 0 10px rgba(245,158,11,0); border-color: #f59e0b; }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}
.outlet-search-input.highlight { animation: pulseInput 0.8s ease 3; border-color: #f59e0b !important; }
.outlet-search-section, .info-cards-row { padding-left: 0; padding-right: 0; }

/* Cart FAB centering fix for full width */
.cart-fab { 
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  max-width: 460px;
  width: calc(100% - 160px);
}
@media (max-width: 600px) {
  .cart-fab {
    width: calc(100% - 20px);
    max-width: none;
  }
}

/* Step indicator padding */
.step-indicator { padding: 14px 80px 12px; }
@media (max-width: 600px) { .step-indicator { padding: 14px 10px 12px; } }

/* ── CART SECTIONS ── */
.cart-form-col { background: #FFFFFF; border-radius: 16px; padding: 16px; border: 1.5px solid var(--border-light); }
.cart-items-col { background: var(--cream); border-radius: 16px; padding: 16px; border: 1.5px solid var(--border-light); }
.order-form-divider { font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border-light); }

/* ── APP REDESIGN: BOTTOM NAVIGATION BAR ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-top: 1.5px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  padding: 8px 10px;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.04);
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--gray);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all 0.2s;
  position: relative;
  flex: 1;
}
.bottom-nav-item.active {
  color: var(--primary);
}
.bottom-nav-item .icon {
  font-size: 20px;
}
.bottom-nav-badge {
  position: absolute;
  top: 2px;
  right: 22%;
  background: var(--primary);
  color: white;
  font-size: 9px;
  font-weight: 800;
  border-radius: 10px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(84,21,43,0.3);
}

/* ── APP REDESIGN: MEMBER LOYALTY CARD ── */
.member-card {
  background: linear-gradient(135deg, #54152B 0%, #2A0915 100%);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 18px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(84,21,43,0.2);
  border: 1.5px solid rgba(200,169,110,0.2);
}
.member-card::before {
  content: '♥';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 180px;
  color: rgba(200,169,110,0.06);
  pointer-events: none;
}
.member-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.member-card-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  font-weight: 700;
}
.member-card-tier {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: rgba(200,169,110,0.25);
  border: 1px solid var(--gold);
  padding: 2px 8px;
  border-radius: 50px;
}
.member-card-points-label {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin-top: 14px;
}
.member-card-points {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-top: 2px;
}
.member-card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 10px;
  font-size: 12px;
}
.member-card-footer-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
}

/* ── APP REDESIGN: GREETINGS BAR ── */
.greeting-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.greeting-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}
.greeting-sub {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1.5px solid var(--primary-light);
}

/* ── APP REDESIGN: SERVICE TOGGLE ── */
.service-toggle {
  display: flex;
  background: var(--cream2);
  border-radius: 50px;
  padding: 3px;
  margin-bottom: 16px;
}
.service-toggle-btn {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  background: transparent;
  color: var(--gray);
}
.service-toggle-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(84,21,43,0.2);
}

/* ── APP REDESIGN: STORE STATUS CARD ── */
.store-status-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.ssc-icon {
  font-size: 24px;
}
.ssc-info {
  flex: 1;
  min-width: 0;
}
.ssc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ssc-meta {
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
}
.ssc-btn {
  background: var(--primary-pale);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.ssc-btn:hover {
  background: var(--primary-light);
}

/* Hide some web features to look more native app-like */
#openMapBtn {
  font-size: 13px !important;
  padding: 10px 14px !important;
}
.outlet-selected-badge {
  background: white !important;
  border-color: var(--border-light) !important;
}
#wifiPasswordBar {
  border-color: var(--border-light) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
