:root {
  --navy-950: #04172d;
  --navy-900: #062548;
  --navy-800: #0b3764;
  --navy: #082f5b;
  --green-700: #087f59;
  --green-600: #079e68;
  --green-500: #12b981;
  --green-100: #dcf8ec;
  --blue-600: #0b69e3;
  --gold-500: #f5b41b;
  --gold-100: #fff3ca;
  --ink: #102a46;
  --muted: #63748a;
  --line: #dde7f0;
  --bg: #f3f7fb;
  --surface: #ffffff;
  --shadow-sm: 0 4px 16px rgba(7, 38, 71, .06);
  --shadow: 0 12px 34px rgba(7, 38, 71, .09);
  --shadow-lg: 0 24px 70px rgba(5, 30, 58, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 0, rgba(11, 105, 227, .055), transparent 27rem),
    linear-gradient(180deg, #f8fbfe 0, var(--bg) 44rem);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { color: #fff; background: var(--green-600); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-700); }
button, input, select, textarea { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(11, 105, 227, .34);
  outline-offset: 3px;
}

.app { display: flex; min-height: 100vh; }

/* The official logo is rendered as an image by the shared premium layout. */
.logo { color: #fff; font-size: 38px; font-weight: 900; letter-spacing: -3px; line-height: .9; }
.logo span { color: var(--green-500); }
.logo-caption { margin-top: 8px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .7px; }
.logo-sub { color: #d4e5f6; font-size: 9px; letter-spacing: .65px; }

/* App navigation */
.sidebar {
  position: fixed;
  z-index: 1031;
  inset: 0 auto 0 0;
  display: flex;
  width: 260px;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 16px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 110% -5%, rgba(33, 191, 135, .35), transparent 18rem),
    radial-gradient(circle at -20% 78%, rgba(24, 117, 219, .2), transparent 16rem),
    linear-gradient(165deg, #082f5b 0%, var(--navy-950) 76%);
  border-right: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 18px 0 50px rgba(5, 29, 55, .08);
}

.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255, 255, 255, .22); }
.nav-group { margin-top: 25px; }

.nav-linkx {
  position: relative;
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #d9e7f5;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.nav-linkx i { width: 23px; flex: 0 0 23px; color: #9fc4e6; font-size: 18px; text-align: center; transition: color .2s ease, transform .2s ease; }
.nav-linkx:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .08); transform: translateX(2px); }
.nav-linkx:hover i { color: #fff; }
.nav-linkx.active { color: #fff; background: linear-gradient(115deg, var(--green-500), var(--green-700)); border-color: rgba(255, 255, 255, .18); box-shadow: 0 9px 23px rgba(5, 151, 99, .28); }
.nav-linkx.active::after { position: absolute; right: 10px; width: 5px; height: 5px; border-radius: 50%; background: #fff; content: ""; opacity: .9; }
.nav-linkx.active i { color: #fff; transform: scale(1.05); }
.nav-sep { padding: 16px 12px 7px; color: #7fa3c5; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.sidebar-bottom { margin-top: auto; padding-top: 20px; }

.rider-card {
  padding: 17px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  border: 1px solid rgba(157, 202, 235, .3);
  border-radius: 16px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.rider-card small { color: #c2d8eb; line-height: 1.55; }
.workspace { min-width: 0; flex: 1; margin-left: 260px; }

.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(207, 220, 233, .85);
  box-shadow: 0 5px 20px rgba(7, 38, 71, .035);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.topbar .btn-light { color: #38516e; background: #f5f8fc; border: 1px solid #e2eaf2; }
.topbar .btn-light:hover { color: var(--navy); background: #fff; border-color: #cfdbe7; box-shadow: var(--shadow-sm); }
.content { width: 100%; max-width: 1640px; margin: auto; padding: 30px 32px 100px; }
.page-title { margin: 0; color: var(--navy-900); font-size: clamp(1.7rem, 2.2vw, 2.15rem); font-weight: 800; letter-spacing: -1.15px; line-height: 1.2; }
.eyebrow { color: var(--green-700); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.muted { color: var(--muted); }
.text-xs { font-size: 11px; }
.small-label { color: #74849a; font-size: 10px; font-weight: 800; letter-spacing: .75px; text-transform: uppercase; }

/* Surfaces and common controls */
.surface { background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.surface:hover { border-color: #d2deea; }
.content .surface { margin-bottom: 0; }
.soft { background: #eef6fd; }
.card-pad { padding: 22px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.section-title { margin: 0; color: var(--navy-900); font-size: 17px; font-weight: 800; letter-spacing: -.35px; }
.section-head a { color: var(--blue-600); font-size: 12px; font-weight: 750; white-space: nowrap; }
.section-head a:hover { color: var(--green-700); }

.btn { border-radius: 11px; font-weight: 700; letter-spacing: -.1px; padding: 10px 16px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 7px 12px; border-radius: 9px; }
.btn-success { background: linear-gradient(120deg, var(--green-600), var(--green-700)); border-color: var(--green-700); box-shadow: 0 7px 16px rgba(7, 158, 104, .18); }
.btn-success:hover, .btn-success:focus { background: linear-gradient(120deg, #0aa36d, #056c4c); border-color: #056c4c; box-shadow: 0 10px 22px rgba(7, 145, 96, .25); }
.btn-primary { background: linear-gradient(120deg, #1377eb, #0759c2); border-color: #0759c2; box-shadow: 0 7px 16px rgba(11, 105, 227, .18); }
.btn-outline-success { color: var(--green-700); border-color: #83cdb4; }
.btn-outline-success:hover { background: var(--green-700); border-color: var(--green-700); }

.form-label { margin-bottom: 7px; color: #334b66; font-size: 12px; font-weight: 700; }
.form-control, .form-select { min-height: 45px; padding: 11px 13px; color: var(--ink); background-color: #fbfdff; border: 1px solid #d8e3ed; border-radius: 11px; font-size: 13px; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.form-control:hover, .form-select:hover { border-color: #bdccda; }
.form-control:focus, .form-select:focus { background-color: #fff; border-color: #61aaef; box-shadow: 0 0 0 4px rgba(11, 105, 227, .1); }
.form-check-input:checked { background-color: var(--green-600); border-color: var(--green-600); }
.search-wrap { position: relative; }
.search-wrap i { position: absolute; z-index: 2; top: 13px; left: 15px; color: #7b8ba0; font-size: 15px; }
.search-wrap input { padding-left: 43px; }

.badge-soft, .badge-paid { display: inline-flex; align-items: center; border-radius: 999px; font-size: 11px; font-weight: 750; line-height: 1.15; }
.badge-soft { padding: 6px 11px; color: #08744f; background: var(--green-100); border: 1px solid #c3efdd; }
.badge-paid { padding: 5px 10px; color: #7d5800; background: var(--gold-100); border: 1px solid #f4df9b; }

/* Home and discovery */
.hero {
  position: relative;
  display: flex;
  min-height: 302px;
  align-items: center;
  overflow: hidden;
  padding: 38px;
  color: #fff;
  background:
    linear-gradient(92deg, rgba(4, 27, 53, .97) 5%, rgba(5, 41, 75, .86) 51%, rgba(6, 34, 59, .2) 100%),
    url("../images/coffee-banner.jpg") center / cover;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  box-shadow: 0 20px 46px rgba(6, 35, 66, .17);
}

.hero::before { position: absolute; top: -95px; right: -60px; width: 270px; height: 270px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; background: rgba(255, 255, 255, .04); content: ""; }
.hero > * { position: relative; z-index: 1; }
.hero h2 { max-width: 520px; margin-bottom: 4px; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 850; letter-spacing: -1.4px; line-height: 1.08; }
.hero .offer-label { min-width: 172px; padding: 12px 15px; color: #1d2b3d; background: rgba(255, 242, 189, .96); border: 1px solid rgba(255, 255, 255, .55); border-radius: 12px; box-shadow: 0 9px 25px rgba(0, 18, 39, .18); font-size: 16px; font-weight: 850; text-align: center; backdrop-filter: blur(6px); }

.cat-tile { min-height: 96px; padding: 16px 7px; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 15px; box-shadow: 0 7px 16px rgba(7, 38, 71, .08); cursor: pointer; text-align: center; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.cat-tile:hover { filter: saturate(1.08); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(7, 38, 71, .15); }
.cat-tile i { display: block; margin-bottom: 7px; font-size: 23px; }
.cat-tile span { font-size: 11px; font-weight: 750; }

.offer-card { position: relative; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.offer-card:hover { border-color: #cddae6; box-shadow: 0 18px 36px rgba(10, 48, 84, .13); transform: translateY(-4px); }
.offer-img { width: 100%; height: 148px; object-fit: cover; transition: transform .35s ease; }
.offer-card:hover .offer-img { transform: scale(1.035); }
.offer-body { position: relative; padding: 16px; background: #fff; }
.offer-card h6 { margin: 10px 0 6px; color: var(--navy-900); font-size: 14px; font-weight: 800; letter-spacing: -.2px; }

.savings-box { position: relative; overflow: hidden; padding: 22px; background: linear-gradient(125deg, #f6fad8 0%, #cef1dc 52%, #89dfbc 100%); border: 1px solid #c9eacb; border-radius: 16px; }
.savings-box::after { position: absolute; right: -25px; bottom: -35px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .28); content: ""; }
.membership-card { position: relative; overflow: hidden; padding: 22px; color: #fff; background: radial-gradient(circle at 90% 20%, rgba(18, 185, 129, .38), transparent 9rem), linear-gradient(125deg, var(--navy-900) 35%, #075744); border: 1px solid rgba(255, 255, 255, .12); border-radius: 17px; box-shadow: 0 14px 32px rgba(5, 35, 65, .17); }
.membership-card .qr { padding: 7px; color: var(--navy-950); background: #fff; border-radius: 8px; font-size: 64px; line-height: 1; }

.mini-map { position: relative; min-height: 235px; overflow: hidden; background-color: #e5eff0; background-image: linear-gradient(25deg, transparent 46%, #fff 47%, #fff 50%, transparent 51%), linear-gradient(95deg, transparent 44%, #fff 45%, #fff 48%, transparent 49%), repeating-linear-gradient(0deg, #dfe9e8 0, #dfe9e8 41px, #fff 42px, #fff 45px); background-size: 170px 120px, 135px 120px, 100% 100%; border: 1px solid #d7e2e5; border-radius: 15px; }
.mini-map::after { position: absolute; top: 0; right: 0; bottom: 0; width: 23%; background: #9ad7f7; border-left: 15px solid #f8e0a3; content: ""; }
.map-pin { position: absolute; z-index: 1; color: #f2921e; font-size: 27px; filter: drop-shadow(0 4px 4px rgba(20, 38, 54, .2)); transform: translate(-50%, -100%); }
.map-pin.green { color: var(--green-600); }
.map-pin.pink { color: #d33eaa; }
.map-pin.blue { color: #087cef; }
.map-pin.purple { color: #875ad5; }
.map-label { position: absolute; z-index: 2; right: 15px; bottom: 15px; left: 15px; padding: 11px 13px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(221, 231, 240, .9); border-radius: 11px; box-shadow: var(--shadow); font-size: 12px; backdrop-filter: blur(8px); }

/* Dashboards and content pages */
.metric { min-height: 126px; padding: 19px; }
.metric-icon { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--green-700); background: var(--green-100); border: 1px solid #c7eddd; border-radius: 13px; font-size: 20px; }
.metric-number { margin: 8px 0 0; color: var(--navy-900); font-size: 26px; font-weight: 850; letter-spacing: -.7px; }
.growth { color: var(--green-700); font-size: 11px; font-weight: 800; }
.merchant-banner { overflow: hidden; color: #fff; background: radial-gradient(circle at 90% 0, rgba(21, 184, 128, .32), transparent 15rem), linear-gradient(115deg, var(--navy-950), var(--navy-800)); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; }
.merchant-banner img { width: 100%; height: 185px; object-fit: cover; }
.stars { color: var(--gold-500); letter-spacing: 1.5px; }

.table { margin-bottom: 0; font-size: 12px; vertical-align: middle; }
.table thead th { padding: 11px 10px; color: #425a73; background: #eef5fb; border: 0; font-size: 10px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; white-space: nowrap; }
.table thead th:first-child { border-radius: 9px 0 0 9px; }
.table thead th:last-child { border-radius: 0 9px 9px 0; }
.table td { padding: 13px 10px; border-bottom-color: #edf2f7; }
.table tbody tr { transition: background .15s ease; }
.table tbody tr:hover { background: #f9fbfd; }

.chart { display: flex; width: 100%; height: 220px; align-items: end; gap: 7px; padding: 16px 9px 0; background: repeating-linear-gradient(to top, transparent 0, transparent 49px, #eaf0f5 50px); border-bottom: 1px solid #dfe7ef; }
.chart .bar { position: relative; min-width: 5px; flex: 1; background: linear-gradient(#28c990, var(--green-600)); border-radius: 5px 5px 0 0; box-shadow: inset 0 1px rgba(255, 255, 255, .25); }
.chart .bar:hover { background: linear-gradient(#37d79e, #087f59); }
.chart .bar:hover::after { position: absolute; top: -31px; left: 50%; padding: 4px 7px; color: #fff; background: var(--navy-950); border-radius: 6px; content: attr(data-val); font-size: 10px; transform: translateX(-50%); }
.review-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #edf2f6; }
.review-row:last-child, .stat-row:last-child { border-bottom: 0; }
.avatar { display: grid; width: 36px; height: 36px; flex-shrink: 0; place-items: center; color: #fff; background: linear-gradient(135deg, #8d6ddd, #5e3fb1); border-radius: 50%; box-shadow: 0 5px 12px rgba(94, 63, 177, .2); font-weight: 800; }
.stat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #edf1f5; }
.feature-icon { display: grid; width: 46px; height: 46px; place-items: center; color: var(--green-700); background: var(--green-100); border: 1px solid #c9eddf; border-radius: 50%; font-size: 20px; }
.profile-cover { height: 145px; background: radial-gradient(circle at 80% 0, rgba(245, 180, 27, .3), transparent 12rem), linear-gradient(110deg, #07345e, #078d70); border-radius: 17px; }
.profile-pic { display: grid; width: 96px; height: 96px; margin-top: -48px; place-items: center; background: #dceef9; border: 5px solid #fff; border-radius: 50%; box-shadow: 0 9px 22px rgba(8, 47, 91, .14); font-size: 46px; }
.empty-state { padding: 50px 12px; color: #8290a3; text-align: center; }
.empty-state i { font-size: 48px; }

.plan { position: relative; height: 100%; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.plan.featured { background: linear-gradient(180deg, #f9fffc, #f0fbf6); border: 2px solid var(--green-500); box-shadow: 0 18px 40px rgba(7, 158, 104, .13); }
.plan-price { color: var(--navy-900); font-size: 36px; font-weight: 850; letter-spacing: -1px; }
.detail-hero { padding: 26px; color: #fff; background: radial-gradient(circle at 100% 0, rgba(18, 185, 129, .35), transparent 18rem), linear-gradient(112deg, #08284b, #0d466d); border: 1px solid rgba(255, 255, 255, .1); border-radius: 21px; box-shadow: var(--shadow); }
.detail-hero img { width: 176px; height: 176px; object-fit: cover; border: 3px solid rgba(255, 255, 255, .18); border-radius: 16px; box-shadow: 0 15px 34px rgba(0, 18, 38, .25); }
.deal-big { color: #e63749; font-size: 62px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.payment-tile { display: flex; width: 100%; align-items: center; gap: 15px; padding: 22px; color: #fff; border: 0; border-radius: 15px; box-shadow: var(--shadow-sm); text-align: left; }
.payment-tile i { font-size: 32px; }
.payment-tile.blue { background: linear-gradient(125deg, #1477eb, #0755b8); }
.payment-tile.green { background: linear-gradient(125deg, #16b77f, #087c58); }
.payment-summary { padding: 18px; background: #eef6ff; border: 1px solid #d8e9fa; border-radius: 13px; }
.payment-summary.discount { background: #eafaf3; border-color: #ceeddf; }
.qr-demo { display: inline-flex; padding: 13px; background: #fff; border: 10px solid #d5f5e2; border-radius: 15px; box-shadow: var(--shadow-sm); }
.qr-demo i { color: #101010; font-size: 160px; }
.active-filter { color: #fff !important; background: var(--navy) !important; }
.placeholder-block { display: grid; min-height: 190px; place-items: center; }
.footer-note { padding-top: 34px; color: #8190a3; font-size: 10px; letter-spacing: .2px; text-align: center; }
.toast-box { position: fixed; z-index: 2000; right: 22px; bottom: 20px; }

/* Authentication */
.login-view { position: relative; display: grid; min-height: 100vh; grid-template-columns: minmax(430px, 1.08fr) minmax(430px, .92fr); overflow: hidden; background: #fff; }

.login-visual {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(35px, 5.5vw, 76px);
  color: #fff;
  background:
    linear-gradient(155deg, rgba(3, 28, 55, .95) 0%, rgba(5, 42, 76, .84) 54%, rgba(5, 70, 61, .86) 100%),
    url("../images/cafe-wide.jpg") center / cover;
}

.login-visual::before, .login-visual::after { position: absolute; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; content: ""; pointer-events: none; }
.login-visual::before { top: -160px; right: -145px; width: 430px; height: 430px; background: rgba(30, 198, 139, .08); }
.login-visual::after { right: -80px; bottom: -180px; width: 480px; height: 480px; background: rgba(13, 105, 227, .09); }
.login-visual > * { position: relative; z-index: 1; }
.hero-login-text { max-width: 640px; margin: 64px 0; }
.hero-login-text h1 { max-width: 660px; margin-bottom: 18px; font-size: clamp(2.5rem, 4vw, 4.2rem) !important; letter-spacing: -2.8px; line-height: 1.03; }
.hero-login-text p { max-width: 590px; line-height: 1.6; }

.login-form { position: relative; display: flex; width: min(520px, calc(100% - 56px)); max-width: 520px; flex-direction: column; justify-content: center; margin: auto; padding: 48px; background: rgba(255, 255, 255, .96); border: 1px solid #e1e9f1; border-radius: 26px; box-shadow: var(--shadow-lg); }
.login-form h1 { color: var(--navy-900); font-size: clamp(2rem, 3vw, 2.55rem); letter-spacing: -1.4px; }
.login-form .form-control { min-height: 50px; background: #f9fbfd; }
.login-form .alert-info { margin-bottom: 0; color: #315c7d; background: #edf7ff; border-color: #d2eafa; border-radius: 12px; }
.login-icon { display: grid; width: 62px; height: 62px; place-items: center; color: var(--green-700); background: linear-gradient(145deg, #edfbf5, #d8f5e8); border: 1px solid #c9ecdc; border-radius: 18px; box-shadow: 0 8px 18px rgba(7, 158, 104, .1); font-size: 29px; }
.login-form hr { color: #d7e1ea; opacity: 1; }
.mobile-tabs, .menu-toggle, .overlay { display: none; }

@media (max-width: 1199px) {
  .sidebar { width: 230px; }
  .workspace { margin-left: 230px; }
  .content { padding: 25px 22px 100px; }
  .topbar { padding: 0 22px; }
  .sidebar > a:first-child { min-height: 98px; }
  .hero { padding: 31px; }
  .login-form { width: min(480px, calc(100% - 42px)); padding: 38px; }
}

@media (max-width: 991px) {
  .sidebar { width: 265px; box-shadow: 20px 0 55px rgba(3, 25, 50, .28); transform: translateX(-105%); transition: transform .26s ease; }
  .sidebar.open { transform: translateX(0); }
  .workspace { margin-left: 0; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .overlay.show { position: fixed; z-index: 1030; inset: 0; display: block; background: rgba(1, 17, 34, .6); backdrop-filter: blur(2px); }
  .mobile-tabs { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-around; padding: 8px 4px max(8px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); border-top: 1px solid #dfe7ef; box-shadow: 0 -8px 25px rgba(8, 42, 73, .08); backdrop-filter: blur(16px); }
  .mobile-tabs a { position: relative; min-width: 58px; padding: 2px 7px; color: #647589; border-radius: 10px; font-size: 9px; text-align: center; }
  .mobile-tabs a i { display: block; margin-bottom: 2px; font-size: 20px; }
  .mobile-tabs a.active { color: var(--green-700); background: #edfaf4; font-weight: 800; }
  .hero h2 { font-size: 2rem; }
  .login-view { grid-template-columns: 1fr; background: radial-gradient(circle at 90% 0, rgba(16, 181, 126, .13), transparent 24rem), #f3f7fb; }
  .login-visual { min-height: 250px; padding: 27px; background: linear-gradient(115deg, rgba(3, 28, 55, .96), rgba(5, 78, 68, .8)), url("../images/cafe-wide.jpg") center / cover; }
  .login-visual > a:first-child { width: 220px; min-height: 132px; }
  .login-visual .hero-login-text { display: none; }
  .login-form { width: min(570px, calc(100% - 30px)); max-width: 570px; margin: -40px auto 35px; padding: 38px; }
}

@media (max-width: 575px) {
  body { font-size: 13px; }
  .topbar { height: 66px; padding: 0 13px; }
  .topbar > div:first-child { gap: 8px !important; }
  .topbar > div:last-child { gap: 5px !important; }
  .topbar .location-ctrl { display: none; }
  .topbar .rounded-circle { width: 39px; height: 39px; padding: 7px; }
  .content { padding: 17px 12px 96px; }
  .page-title { font-size: 1.55rem; letter-spacing: -.7px; }
  .surface { border-radius: 16px; }
  .card-pad { padding: 16px; }
  .section-title { font-size: 15px; }
  .hero { min-height: 250px; padding: 23px; border-radius: 19px; }
  .hero h2 { font-size: 1.65rem; }
  .hero .offer-label { min-width: 148px; padding: 9px 11px; font-size: 13px; }
  .cat-tile { min-height: 82px; padding: 13px 4px; }
  .cat-tile span { font-size: 9px; }
  .offer-img { height: 115px; }
  .offer-body { padding: 11px; }
  .offer-card h6 { font-size: 12px; }
  .metric { min-height: 110px; padding: 14px; }
  .metric-number { font-size: 22px; }
  .detail-hero { padding: 18px; }
  .detail-hero img { width: 100%; height: 190px; }
  .deal-big { font-size: 46px; }
  .payment-tile { padding: 16px; }
  .plan { padding: 19px; }
  .merchant-banner img { height: 155px; }
  .login-visual { min-height: 210px; padding: 20px; }
  .login-visual > a:first-child { width: 185px; min-height: 112px; border-radius: 14px; }
  .login-visual > .small { max-width: 240px; font-size: 9px; }
  .login-form { width: calc(100% - 20px); margin: -28px auto 20px; padding: 25px 20px; border-radius: 20px; }
  .login-form h1 { font-size: 1.85rem; }
  .login-icon { width: 54px; height: 54px; border-radius: 15px; font-size: 25px; }
  .toast-box { right: 10px; bottom: 78px; left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
