@import url('/css/shop.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0e5b3c;
  --primary-dark: #05261a;
  --primary-light: #e8f5ef;
  --primary-gradient: linear-gradient(135deg, #0b5e3f 0%, #05261a 100%);
  --accent: #d99a2b;
  --accent-soft: #fbf1da;
  --bg: #f5f8f6;
  --card: #ffffff;
  --line: #e4ebe6;
  --text: #0e2b20;
  --muted: #647c72;
  --good: #1a7f5a;
  --bad: #b3261e;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(10, 42, 30, 0.05), 0 1px 3px rgba(10, 42, 30, 0.02);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  /* background: #eaeaea; */
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; outline: none; }
a { color: inherit; text-decoration: none; }

/* â”€â”€ COMMON LAYOUT WIDGETS â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(14, 91, 60, 0.15);
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(217, 154, 43, 0.25); }
.btn.gold:hover { filter: brightness(1.08); }
.btn.alt { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.alt:hover { background: var(--bg); }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

input.fld {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  background: #fff;
  transition: all 0.2s ease;
}
input.fld:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 91, 60, 0.12);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.section-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 14px;
}
.section-h h2 {
  font-size: 20px;
  margin: 0;
  font-weight: 800;
  color: var(--primary-dark);
}
.section-h a {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* â”€â”€ DESKTOP TOP BAR HEADER â”€â”€ */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(10, 42, 30, 0.04);
}
.top-header-in {
  display: flex;
  align-items: center;
  height: 68px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.brand img {
  height: 38px;
  width: auto;
}
.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 16px;
  gap: 8px;
  margin-left: 28px;
  width: 320px;
}
.search-bar input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: var(--text);
  font-family: inherit;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.bal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: #8a5a12;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 99px;
  cursor: pointer;
  margin-left: 12px;
  transition: all 0.2s;
}
.bal:hover {
  filter: brightness(0.97);
}

.header-user-btn {
  margin-left: 12px;
}

/* â”€â”€ DESKTOP DUAL-PANE WRAPPER â”€â”€ */
.desktop-page-container {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  min-height: calc(100vh - 68px);
}
.desktop-main-pane {
  flex: 1;
  min-width: 0;
  padding-right: 0;
}
.desktop-preview-pane {
  display: none !important;
}

/* â”€â”€ IPHONE MOCKUP â”€â”€ */
.iphone-mockup {
  position: relative;
  width: 375px;
  height: 760px;
  background: #000;
  border: 11px solid #1e1e1e;
  border-radius: 50px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18), 0 0 0 2px #333;
  overflow: hidden;
}
.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 12px;
  z-index: 1000;
}
.iphone-screen {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--bg);
  border-radius: 38px;
  overflow: hidden;
}

/* â”€â”€ MOBILE / SIMULATOR VIEW (HIDES DESKTOP-ONLY ELEMENTS) â”€â”€ */
.mobile-layout {
  display: none;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

/* Match the React Native app frame on tablets and large mobile screens. */
@media (min-width: 600px) and (max-width: 1024px) {
  body { background: #eaf2ee; }
  .mobile-layout {
    width: min(100%, 900px);
    min-height: 100dvh;
    background: var(--bg);
    box-shadow: 0 0 34px rgba(7,58,40,.08);
  }
  .bottom-nav,
  .mobile-bottom-nav {
    left: 50%!important;
    right: auto!important;
    width: min(100%,900px)!important;
    transform: translateX(-50%);
  }
}
.desktop-layout {
  display: none;
}

/* Mobile Profile Header */
.mobile-profile-header {
  background: linear-gradient(135deg, #0e5b3c 0%, #177a52 50%, #05261a 100%);
  padding: calc(16px + env(safe-area-inset-top)) 20px 22px;
  border-radius: 0 0 24px 24px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(10, 42, 30, 0.15);
}
.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-user-details {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  cursor: pointer;
}
.profile-avatar-container {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  position: relative;
}
.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  background: #fff;
}
.profile-meta {
  min-width: 0;
  flex: 1;
}
.profile-name {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.profile-email {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
}
.profile-balance-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-decoration: none !important;
  transition: all 0.2s;
}
.profile-balance-badge:hover {
  background: rgba(255, 255, 255, 0.25);
}
.profile-balance-badge * {
  text-decoration: none !important;
}
.profile-balance-val {
  font-weight: 600;
  font-size: 13.5px;
}

/* Quick Actions Menu */
.quick-menu-card {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  margin: 16px 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}
.quick-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.quick-menu-icon {
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(14, 91, 60, 0.15);
}
.quick-menu-item:hover .quick-menu-icon {
  background: var(--primary-dark);
}
.quick-menu-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* Converter Card */
.converter-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  margin: 0 20px 16px;
  box-shadow: var(--shadow);
}
.card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.converter-input-wrap {
  display: flex;
  background: #f4f6f5;
  border-radius: 12px;
  padding: 4px;
  align-items: center;
  border: 1px solid var(--line);
}
.converter-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--text);
  font-family: inherit;
}
.btn-paste {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(14, 91, 60, 0.15);
}

/* Partners Card */
.partners-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  margin: 0 20px 16px;
  box-shadow: var(--shadow);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}
.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.partner-logo-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.partner-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.partner-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* Tutorial steps banner */
.instruction-banner {
  background: linear-gradient(135deg, #eaf6f0 0%, #d5eedf 100%);
  border-radius: 20px;
  padding: 20px;
  margin: 0 20px 16px;
  box-shadow: var(--shadow);
  border: 1px solid #c9ebd6;
}
.instruction-banner-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}
.instruction-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.instruction-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 10px 6px;
  border: 1px solid rgba(14, 91, 60, 0.08);
  position: relative;
}
.step-number-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.mini-phone-graphic {
  width: 100%;
  height: 80px;
  background: #f4f6f5;
  border: 2px solid #cbdcd2;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px;
}
.mini-phone-screen-step1 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  width: 100%;
}
.mini-phone-icon-row {
  display: flex;
  gap: 4px;
}
.mini-icon-pill {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}
.mini-copy-btn {
  background: #e4ebe6;
  border: 1px solid var(--line);
  font-size: 7px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--muted);
}
.mini-phone-screen-step2 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  align-items: center;
}
.mini-search-bar {
  width: 100%;
  height: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 6px;
  color: #ccc;
  display: flex;
  align-items: center;
  padding-left: 3px;
}
.mini-paste-btn {
  background: var(--primary);
  color: #fff;
  font-size: 6px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-align: center;
  width: 80%;
}
.mini-phone-screen-step3 {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  align-items: center;
}
.mini-shopping-bag {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 6px;
  font-weight: 700;
}
.mini-cashback-tag {
  background: var(--primary);
  color: #fff;
  font-size: 6px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  text-align: center;
}
.step-desc-text {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.2;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(10, 42, 30, 0.05);
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #8c9b94;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
}
.mobile-nav-item.active {
  color: var(--primary);
}
.mobile-nav-icon {
  font-size: 18px;
}

/* â”€â”€ MODALS â”€â”€ */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(7, 41, 30, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-bg.show { display: flex; opacity: 1; }
.modal {
  background: #fff;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 460px;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.1, 0.76, 0.55, 0.94);
  max-height: 90dvh;
  overflow: clip;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}
body.auth-open { overflow: hidden; }
.auth-form-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.modal-bg.show .modal { transform: translateY(0); }
.modal h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.tabs { display: flex; gap: 8px; margin: 16px 0; }
.tabs button {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}
.tabs button.active { background: var(--primary); color: #fff; }
.auth-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.auth-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.auth-mark img { width: 100%; height: 100%; object-fit: cover; }
.auth-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.auth-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.auth-close:hover { background: var(--bg); color: var(--text); }
.auth-social { margin-top: 2px; }
.google-wrap { min-height: 44px; display: flex; align-items: center; justify-content: center; margin: 12px 0 16px; }
.google-fallback {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.google-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #4285f4;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
}
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 16px 0 6px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-grid { display: grid; gap: 10px; }
.auth-actions { display: grid; gap: 10px; margin-top: 18px; }
.auth-note { color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 12px; text-align: center; }
.auth-note a, .auth-legal a { color: var(--primary); font-weight: 700; }
.auth-legal {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: #59665f;
  font-size: 12.5px;
  line-height: 1.5;
  cursor: pointer;
}
.auth-legal input { position: absolute; opacity: 0; pointer-events: none; }
.auth-checkbox {
  width: 22px;
  height: 22px;
  border: 1.5px solid #78958a;
  border-radius: 5px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.auth-legal input:checked + .auth-checkbox { background: var(--primary); border-color: var(--primary); }
.auth-legal input:checked + .auth-checkbox::after { content: ""; width: 5px; height: 10px; margin-top: -2px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.auth-legal input:focus-visible + .auth-checkbox { outline: 3px solid rgba(14,91,60,.18); outline-offset: 2px; }
.referral-field { display: none; }
.modal.register .referral-field { display: block; }
.ref-code { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.ref-code code {
  flex: 1;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px;
  font-family: monospace;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  text-align: center;
}
.err { color: var(--bad); font-size: 13px; margin: 0 0 10px; text-align: center; font-weight: 600; }
.err:empty { display: none; }

/* â”€â”€ PRODUCT CARDS â”€â”€ */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pcard .thumb { aspect-ratio: 1; background: var(--bg); position: relative; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pcard .cb {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(217, 154, 43, 0.3);
}
.pcard .body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .nm { font-size: 13px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; line-height: 1.4; }
.pcard .pr { color: var(--bad); font-weight: 800; font-size: 15px; }
.pcard .meta { font-size: 11.5px; color: var(--muted); }
.pcard .body .btn { margin-top: auto; font-size: 12px; padding: 8px 10px; border-radius: 8px; }

/* Toast */
#toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transition: all 0.2s;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
#toast.show { opacity: 1; }

/* â”€â”€ WALLET / TRANSACTIONS â”€â”€ */
.balcard {
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(14, 91, 60, 0.15);
}
.balcard .v { font-size: 32px; font-weight: 800; margin: 6px 0 16px; }
.balcard .btns { display: flex; gap: 10px; flex-wrap: wrap; }

.mcard {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  margin-bottom: 8px;
}
.mcard .pic { width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; flex-shrink: 0; }
.mcard .fallback-pic { width: 56px; height: 56px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.mcard .left { min-width: 0; flex: 1; }
.mcard .desc { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--text); }
.mcard .id { font-size: 11px; font-family: monospace; color: var(--muted); margin-top: 4px; }
.mcard .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.mcard .right { text-align: right; flex-shrink: 0; }
.mcard .amt { font-size: 15px; font-weight: 800; }
.amt-plus { color: var(--good); }
.amt-minus { color: var(--text); }
.pill { font-size: 10px; padding: 3px 8px; border-radius: 999px; font-weight: 700; display: inline-block; }

.tabbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabbar .tab {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: all 0.2s;
}
.tabbar .tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.lb-row { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.lb-row:last-child { border-bottom: 0; }
.lb-rank { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: var(--bg); color: var(--muted); }
.lb-row.top1 .lb-rank { background: #fcefc7; color: #9a6b00; }
.lb-row.top2 .lb-rank { background: #eceff1; color: #5d6b65; }
.lb-row.top3 .lb-rank { background: #f6e0d3; color: #a85b34; }
.lb-name { flex: 1; font-weight: 600; font-size: 14px; }
.lb-amt { font-weight: 800; color: var(--good); font-size: 14px; }

/* Leaderboard rows rendered by app.js (create-link and ranking pages). */
.lb-table { display: grid; }
.lb-row-item,
.lb-sticky-row {
  display: grid;
  grid-template-columns: 42px 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.lb-row-item:last-child { border-bottom: 0; }
.lb-row-item.is-me { background: var(--primary-light); border-radius: 12px; }
.lb-row-rank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.lb-row-item:nth-child(1) .lb-row-rank { background: #fcefc7; color: #9a6b00; }
.lb-row-item:nth-child(2) .lb-row-rank { background: #eceff1; color: #5d6b65; }
.lb-row-item:nth-child(3) .lb-row-rank { background: #f6e0d3; color: #a85b34; }
.lb-row-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-light);
  flex: 0 0 40px;
}
.lb-row-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-row-info { min-width: 0; }
.lb-row-name {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-row-amt {
  color: var(--good);
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}
.lb-empty { padding: 24px 12px; text-align: center; color: var(--muted); }
.lb-empty-icon { font-size: 28px; margin-bottom: 6px; }
.lb-empty-text { font-size: 13px; }

@media (max-width: 480px) {
  .lb-row-item,
  .lb-sticky-row {
    grid-template-columns: 30px 38px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 4px;
  }
  .lb-row-rank { width: 28px; height: 28px; font-size: 12px; }
  .lb-row-avatar { width: 36px; height: 36px; }
  .lb-row-name, .lb-row-amt { font-size: 12px; }
}

.tier-head { display: flex; align-items: center; justify-content: space-between; }
.tier-badge { font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: #8a5a12; }
.tier-bar { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; margin: 12px 0 8px; }
.tier-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* Member tier experience */
.desk-tier-heading{margin-bottom:20px}.desk-tier-heading>span,.member-section-title>div>span{display:block;color:#08734b;font-size:9px;font-weight:900;letter-spacing:1.25px}.desk-tier-heading .desk-panel-title{margin:5px 0 3px}.desk-tier-heading p{margin:0;color:#71847c;font-size:12px}.desk-tier-container{background:transparent}.member-tier-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.member-hero,.member-progress-card,.member-benefits-section{border:1px solid #dce7e1;border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(10,57,42,.06)}.member-hero{position:relative;overflow:hidden;display:flex;min-height:286px;flex-direction:column;padding:23px;color:#fff;border:0;background:linear-gradient(135deg,#174d38,#082e21);box-shadow:0 12px 28px rgba(8,49,34,.18)}.member-hero:after{content:"";position:absolute;right:-48px;top:-52px;width:180px;height:180px;border:35px solid rgba(255,255,255,.045);border-radius:50%}.member-hero.member-silver{background:linear-gradient(135deg,#526b68,#213b38)}.member-hero.member-gold{background:linear-gradient(135deg,#876817,#49370c)}.member-hero.member-diamond{background:linear-gradient(135deg,#334c59,#15242c)}.member-hero-brand{position:relative;z-index:1;display:flex;align-items:center;gap:9px;font-size:9px;font-weight:850;letter-spacing:1.1px}.member-hero-brand img{width:28px;height:28px;object-fit:contain}.member-hero-main{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:28px}.member-hero-main small{font-size:9px;font-weight:800;letter-spacing:1.2px;opacity:.72}.member-hero-main h2{margin:5px 0 4px;color:#fff;font-size:27px;line-height:1.05;letter-spacing:.5px}.member-hero-main p{margin:0;font-size:12px;opacity:.82}.member-current-bonus{text-align:right}.member-current-bonus b,.member-current-bonus span{display:block}.member-current-bonus b{color:#f3c85f;font-size:25px}.member-current-bonus span{font-size:9px;opacity:.72}.member-hero-next{position:relative;z-index:1;margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.14)}.member-hero-next strong,.member-hero-next span{display:block}.member-hero-next strong{font-size:12px}.member-hero-next span{margin-top:3px;font-size:10px;opacity:.72}.member-progress-card{padding:22px}.member-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:21px}.member-section-title h3{margin:5px 0 0;color:#173d30;font-size:17px}.member-section-title>b{display:grid;place-items:center;min-width:46px;height:34px;padding:0 9px;border-radius:10px;background:#e8f5ef;color:#08734b;font-size:13px}.member-progress-row{margin-bottom:20px}.member-progress-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:#6f8279;font-size:11px}.member-progress-label b{color:#24493b;font-size:11px}.member-progress-track{height:10px;overflow:hidden;border-radius:999px;background:#edf2ef}.member-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#08734b,#25a870);transition:width .35s}.member-progress-note{padding:11px 12px;border-radius:11px;background:#fff8e7;color:#806124;font-size:9px;line-height:1.5}.member-benefits-section{grid-column:1/-1;padding:22px}.member-benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.member-benefit{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px;border:1px solid #e0e9e4;border-radius:13px;background:#fff}.member-benefit.current{border-color:#16865d;background:#eff9f4;box-shadow:inset 3px 0 #08734b}.member-benefit.locked{background:#f8faf9;opacity:.72}.member-benefit-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e9f4ef;color:#08734b;font-size:18px}.member-benefit.current .member-benefit-icon{background:#08734b;color:#fff}.member-benefit-copy strong,.member-benefit-copy span{display:block}.member-benefit-copy strong{color:#24473a;font-size:12px}.member-benefit-copy span{margin-top:3px;color:#85958e;font-size:8px}.member-benefit-rate{text-align:right;color:#d66d12;font-size:15px;font-weight:850}.member-benefit-rate small{display:block;margin-top:2px;color:#99a69f;font-size:7px;font-weight:600}.member-policy-note{display:flex;align-items:flex-start;gap:9px;margin-top:15px;padding:12px 13px;border-radius:11px;background:#f4f8f6;color:#71837b;font-size:9px;line-height:1.55}.member-policy-note i{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:50%;background:#08734b;color:#fff;font-size:10px;font-style:normal;font-weight:900}
@media(max-width:800px){.desk-tier-heading{display:none}.member-tier-page{display:block}.member-hero,.member-progress-card,.member-benefits-section{margin-bottom:14px;border-radius:15px}.member-hero{min-height:255px;padding:20px}.member-hero-main{margin-top:24px}.member-progress-card,.member-benefits-section{padding:17px}.member-benefit-grid{grid-template-columns:1fr}.member-benefit{grid-template-columns:36px minmax(0,1fr) auto;padding:12px}.member-benefit-icon{width:36px;height:36px}.member-section-title h3{font-size:16px}}

/* FAQ List styles */
.qa { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.01); }
.qa summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { color: var(--primary); font-size: 18px; }
.qa p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }

/* â”€â”€ RESPONSIVE MEDIA QUERIES â”€â”€ */
body.is-app .desktop-layout { display: none !important; }
body.is-app .mobile-layout { display: block !important; }

@media (min-width: 1025px) {
  body:not(.is-app) .desktop-layout { display: block; }
  body:not(.is-app) .desktop-layout.desk-dashboard-container { display: flex; }
  body:not(.is-app) .mobile-layout { display: none; }
  .modal-bg { align-items: center; }
  .modal { border-radius: 24px; padding: 28px; }
  #toast { bottom: 24px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

@media (max-width: 1024px) {
  .desktop-layout { display: none !important; }
  .mobile-layout { display: block; }
  
  /* Hide scrollbar but keep scroll functionality on mobile */
  ::-webkit-scrollbar {
    display: none;
  }
  html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
}

/* Link Result Page details */
.result-box { margin-top: 16px; }
.result-box .info h3 { margin: 0 0 4px; font-size: 17px; }
.linkbox { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; padding: 12px; margin: 12px 0; flex-wrap: wrap; }
.linkbox .lk { color: var(--primary); font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.linkbox-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ================================================================
   TOAST NOTIFICATION
   ================================================================ */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .toast {
    top: auto;
    bottom: 100px;
    right: 50%;
    transform: translateX(50%) translateY(20px);
    width: max-content;
    max-width: 90vw;
  }
  .toast.show {
    transform: translateX(50%) translateY(0);
  }
}

.cb-est { background: var(--accent-soft); border-radius: 12px; padding: 14px; margin: 14px 0; }
.cb-est .big { font-size: 22px; font-weight: 800; color: #8a5a12; }
.cb-calc { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #ead7ad; color: #6b5a2e; font-size: 13px; line-height: 1.6; }
.cb-calc h4 { margin: 0 0 6px; font-size: 13.5px; color: var(--text); }
.cb-calc .kv { display: grid; grid-template-columns: 100px 1fr; gap: 6px; margin: 4px 0; }
.cb-calc .kv span { color: var(--muted); }
.guide { font-size: 14px; color: var(--muted); line-height: 1.5; }
.guide b { color: var(--text); }
.notes { background: #fff8ec; border: 1px solid #f0e2c2; border-radius: 12px; padding: 14px; font-size: 13px; color: #6b5a2e; margin-top: 16px; line-height: 1.5; }

.prodside { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 16px; background: #fff; }
.prodside img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg); }
.prodside .food-ico { height: 128px; display:flex; align-items:center; justify-content:center; background:var(--accent-soft); color:#8a5a12; font-weight:900; font-size:34px; }
.prodside .pi { padding: 14px; }
.prodside .nm { font-size: 14px; font-weight: 600; line-height: 1.4; }
.prodside .pr { color: var(--bad); font-weight: 800; font-size: 16px; margin-top: 6px; }

.result-inner { display: flex; flex-direction: column; gap: 16px; }
.result-left { min-width: 0; flex: 1; }
.result-right { width: 260px; flex-shrink: 0; }
@media (min-width: 860px) {
  .result-inner { flex-direction: row; align-items: flex-start; gap: 24px; }
}

.wallet-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
@media (max-width: 859px) {
  .wallet-grid { grid-template-columns: 1fr; }
}

/* â”€â”€ ACCOUNT TAB STYLES â”€â”€ */
.account-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none; /* Hide standard Firefox scrollbar */
}
.account-nav-tabs::-webkit-scrollbar {
  display: none; /* Hide Chrome/Safari scrollbar */
}
.acc-tab-btn {
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: all 0.2s;
}
.acc-tab-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-color: var(--primary-light);
}
.acc-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(14, 91, 60, 0.15);
}
.acc-tab-content {
  display: none;
}
.acc-tab-content.active {
  display: block;
}

/* â”€â”€ MOBILE NATIVE APP REDESIGN (MATCHING SCREENSHOTS) â”€â”€ */
.mobile-app-profile {
  background: #f7f9f8 !important;
  color: #1c2722;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding-bottom: 100px !important;
}

/* Header */
.mob-app-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px 16px;
}
.mob-app-avatar-container {
  position: relative;
  width: 64px;
  height: 64px;
}
.mob-app-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e08332; /* Orange-gold border */
}
.mob-app-edit-avatar {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #72827a;
}
.mob-app-user-meta {
  flex: 1;
  min-width: 0;
}
.mob-app-username-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mob-app-username {
  font-size: 14px;
  font-weight: 800;
  color: #121b18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mob-app-edit-name {
  font-size: 12px;
  cursor: pointer;
  color: #e08332;
}
.mob-app-email {
  font-size: 12px;
  color: #72827a;
  margin-top: 3px;
  word-break: break-all;
}

/* Red-Orange Gradient Balance Card */
.mob-app-balcard {
  background: linear-gradient(135deg, #0e5b3c 0%, #05261a 100%);
  color: #fff;
  border-radius: 20px;
  padding: 20px;
  margin: 0 20px 18px;
  box-shadow: 0 8px 24px rgba(14, 91, 60, 0.2);
  position: relative;
  overflow: hidden;
}
.mob-app-balcard::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.mob-app-bal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.mob-app-bal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.9;
}
.mob-app-bal-val {
  font-size: 34px;
  font-weight: 900;
  margin: 6px 0 16px;
  letter-spacing: -0.5px;
}
.mob-app-wallet-icon {
  font-size: 24px;
  opacity: 0.9;
}
.mob-app-bal-meta {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.mob-app-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.95;
}

/* Section cards */
.mob-app-section-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  margin: 0 20px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.mob-app-section-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #121b18;
  margin: 0 0 14px;
}
.mob-app-orders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.mob-app-order-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.mob-app-order-icon-box {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(14, 91, 60, 0.05);
}
.mob-app-order-btn span {
  font-size: 10.5px;
  font-weight: 600;
  color: #55625c;
  line-height: 1.2;
}

/* Menu list style */
.mob-app-menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
}
.mob-app-menu-item {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  cursor: pointer;
  transition: background 0.15s;
}
.mob-app-menu-item:active {
  background: #f1f3f2;
}
.mob-app-menu-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}
.mob-app-menu-label {
  font-size: 14px;
  font-weight: 700;
  color: #1c2722;
  flex: 1;
}
.mob-app-menu-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #b57a26;
  background: #fff7eb;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid #faebd4;
}
.mob-app-menu-arrow {
  font-size: 16px;
  color: #b0bfb7;
}

.mob-app-version {
  text-align: center;
  font-size: 12px;
  color: #92a298;
  margin: 20px 0 10px;
}

/* Redesigned Bottom Nav */
.mob-app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 12px 0 16px 0;
  z-index: 1000;
}
.mob-app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #8fa096;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  flex: 1;
}
.mob-app-nav-item.active {
  color: var(--primary);
}
.mob-app-nav-icon {
  font-size: 20px;
}

/* Floating Action Button */
.mob-app-nav-floating-btn {
  position: relative;
  top: -18px;
  width: 56px;
  height: 56px;
  z-index: 1010;
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(14, 91, 60, 0.35));
}
.floating-btn-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e5b3c 0%, #05261a 100%);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Mobile sliding drawer */
.mob-drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(7, 24, 18, 0.4);
  backdrop-filter: blur(3px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 2500;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mob-drawer-bg.show {
  display: flex;
  opacity: 1;
}
.mob-drawer {
  background: #fff;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.1, 0.76, 0.55, 0.94);
  display: flex;
  flex-direction: column;
}
.mob-drawer-bg.show .mob-drawer {
  transform: translateY(0);
}
.mob-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mob-drawer-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #121b18;
}
.mob-drawer-close {
  background: #f1f3f2;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  color: #72827a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mob-drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* App-identical subpages on web mobile/tablet. */
@media(max-width:1024px){
  .mob-drawer-bg{align-items:stretch!important;background:#f2f7f5!important;backdrop-filter:none!important}
  .mob-drawer{width:min(100%,900px)!important;height:100dvh!important;max-width:900px!important;max-height:none!important;margin:0 auto;border-radius:0!important;background:#f2f7f5!important;box-shadow:none!important}
  .mob-drawer-header{min-height:92px;padding:calc(42px + env(safe-area-inset-top)) 16px 12px!important;border:0!important;background:var(--primary-dark)!important;color:#fff!important}
  .mob-drawer-header h4{flex:1;text-align:center;color:#fff!important;font-size:18px!important}
  .mob-drawer-close{order:-1;width:40px!important;height:40px!important;border-radius:10px!important;background:transparent!important;color:#fff!important;font-size:24px!important}
  .mob-drawer-header:after{content:'';display:block;width:40px}
  .mob-drawer-body{padding:16px!important;background:#f2f7f5!important}
  .mob-drawer-body>.panel{max-width:620px;margin:0 auto!important;padding:18px!important;border:1px solid #e0e9e5!important;border-radius:16px!important;background:#fff!important;box-shadow:0 3px 12px rgba(8,50,36,.06)!important}
  .mob-drawer-body .fld{min-height:48px!important;border-radius:10px!important}
  .mob-drawer-body .btn.block{min-height:50px!important;background:var(--primary-dark)!important;color:#fff!important}
}

/* â”€â”€ DESKTOP ACCOUNT DASHBOARD REDESIGN â”€â”€ */
.desk-dashboard-container {
  display: flex;
  gap: 28px;
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 20px;
  align-items: flex-start;
}
.desk-dashboard-sidebar {
  width: 300px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.desk-sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.desk-sidebar-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.desk-sidebar-user-info {
  min-width: 0;
}
.desk-sidebar-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.desk-sidebar-email {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.desk-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.desk-sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.2s ease;
}
.desk-sidebar-menu-item:hover {
  background: var(--bg);
  color: var(--primary);
}
.desk-sidebar-menu-item.active {
  background: var(--primary-light);
  color: var(--primary);
}
.desk-sidebar-menu-item-icon {
  font-size: 16px;
}
.desk-dashboard-content {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  min-height: 480px;
}
.desk-panel-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

/* â”€â”€ DESKTOP USER DROPDOWN MENU â”€â”€ */
.header-user-dropdown {
  display: inline-block;
  position: relative;
}
.dropdown-trigger {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  transition: all 0.2s ease;
}
.dropdown-trigger:hover {
  background: var(--line);
}
.dropdown-menu-card {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 12px;
  display: none;
  flex-direction: column;
  z-index: 1000;
}
.dropdown-menu-card.show {
  display: flex;
}
.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.18s;
}
.dropdown-user-info:hover {
  background: var(--bg);
}
.dropdown-user-info-inner {
  padding: 8px;
}

.dropdown-user-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.dropdown-user-info .info {
  min-width: 0;
}
.dropdown-user-info .name {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-user-info .email {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}
.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}
.dropdown-item:hover {
  background: var(--bg);
  color: var(--primary);
}
.dropdown-item.logout-btn {
  color: var(--bad);
}
.dropdown-item.logout-btn:hover {
  background: #fdf2f2;
  color: #b3261e;
}

/* â”€â”€ MODERN LANDING PAGE (MONBACK STYLE) â”€â”€ */
.modern-hero {
  background: linear-gradient(135deg, #0e5b3c 0%, #177a52 40%, #05261a 100%);
  border-radius: 24px;
  padding: 48px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(10, 42, 30, 0.15);
}
.modern-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(232, 245, 239, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.8px;
}
.hero-title span {
  color: var(--accent);
}
.hero-desc {
  font-size: 15px;
  opacity: 0.85;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* Hero Converter Form */
.hero-converter {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.hero-input-group {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  width: 100%;
}
.hero-input-group input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
}
.hero-input-group input::placeholder {
  color: #94a89f;
}
.hero-input-group button,
.hero-input-group .btn {
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: none !important;
}


/* Stats section */
.modern-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}
.stat-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary-dark);
}
.stat-info {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* Guide Section */
.modern-guide {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 30px;
}
.guide-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary-dark);
  text-align: center;
  margin: 0 0 8px;
}
.guide-sub {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0 0 24px;
}
.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-step-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.guide-step-num {
  position: absolute;
  top: -12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.guide-step-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.guide-step-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.guide-step-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* Partner logos bar */
.partners-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 24px;
}
.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  transition: all 0.2s;
}
.partner-logo-item:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.03);
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .modern-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .modern-hero {
    padding: 30px 20px;
  }
  .hero-title {
    font-size: 28px;
  }
  .modern-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .guide-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


    /* Specific styles for Giß+¢i thiß+çu page */
    .gt-header {
      background: var(--primary);
      color: #fff;
      padding: 48px 20px 80px 20px;
      display: flex;
      align-items: center;
      position: relative;
    }
    .gt-header-title {
      flex: 1;
      text-align: center;
      font-size: 18px;
      font-weight: 600;
      margin-right: 24px; /* offset back button */
    }
    .gt-back-btn {
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .gt-content {
      margin-top: -60px;
      padding: 0 16px 24px;
      position: relative;
      z-index: 10;
    }
    .gt-card {
      background: #fff;
      border-radius: 16px;
      padding: 24px 16px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.03);
      margin-bottom: 16px;
      text-align: center;
    }
    .gt-hero-img {
      width: 140px;
      margin: 0 auto 16px;
      display: block;
    }
    .gt-title {
      color: var(--primary);
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .gt-desc {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }
    
    .gt-code-label {
      font-size: 14px;
      color: var(--text);
      margin-bottom: 12px;
    }
    .gt-code-box {
      border: 1px solid var(--primary);
      border-radius: 12px;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
    }
    .gt-code {
      font-size: 24px;
      font-weight: 800;
      color: var(--primary);
    }
    .gt-copy-btn {
      background: var(--primary-light);
      color: var(--primary);
      border: none;
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
    }

    .gt-section-title {
      color: var(--primary);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 16px;
      text-transform: uppercase;
      text-align: center;
    }
    .gt-step {
      display: flex;
      align-items: center;
      background: #f8fbf9;
      border-radius: 12px;
      padding: 12px;
      margin-bottom: 12px;
      text-align: left;
    }
    .gt-step-num {
      width: 24px;
      height: 24px;
      background: var(--primary);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      margin-right: 12px;
      flex-shrink: 0;
    }
    .gt-step-text {
      font-size: 12px;
      color: var(--text);
      line-height: 1.4;
    }
    .gt-history-subtitle {
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .gt-history-item {
      display: flex;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid var(--line);
    }
    .gt-history-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    .gt-history-avatar {
      width: 40px;
      height: 40px;
      background: #e4ebe6;
      border-radius: 50%;
      margin-right: 12px;
    }
    .gt-history-info {
      flex: 1;
      text-align: left;
    }
    .gt-history-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
    }
    .gt-status {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
    }
    .gt-status.pending {
      background: var(--accent-soft);
      color: var(--accent);
    }

/* Products/Shopping page: three responsive desktop views. */
@media (min-width: 1025px) {
  body[data-view="products"] { background: #f4f7f5; }
  body[data-view="products"] .desktop-page-container { display: none !important; }
  body[data-view="products"] .mobile-layout {
    display: block !important;
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 68px);
    margin: 0;
    padding-bottom: 64px;
  }
  body[data-view="products"] .shop-mob-header {
    border-radius: 0;
    min-height: 206px;
    padding: 42px max(40px, calc((100vw - 1200px) / 2)) 64px;
    text-align: left;
    display: flex;
    align-items: center;
  }
  body[data-view="products"] .shop-heading-copy { position: relative; z-index: 2; }
  body[data-view="products"] .shop-eyebrow { display: block; margin-bottom: 9px; color: #f2bd59; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; }
  body[data-view="products"] .shop-mob-header .shop-title { font-size: 32px; line-height: 1.2; }
  body[data-view="products"] .shop-subtitle { margin: 10px 0 0; color: rgba(255,255,255,.78); font-size: 15px; }
  body[data-view="products"] .shop-tabs {
    width: min(calc(100% - 80px), 760px);
    margin: -30px auto 36px max(40px, calc((100vw - 1200px) / 2));
    padding: 7px;
    border: 1px solid rgba(14,91,60,.08);
    border-radius: 16px;
  }
  body[data-view="products"] .shop-tab { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 18px; font-size: 14px; border-radius: 11px; }
  body[data-view="products"] .shop-tab-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #edf4f0; color: var(--primary); font-size: 13px; font-weight: 800; }
  body[data-view="products"] .shop-tab.active .shop-tab-icon { background: rgba(255,255,255,.16); color: #fff; }
  body[data-view="products"] .shop-tab-content {
    width: min(calc(100% - 80px), 1200px);
    margin: 0 auto;
    padding: 0 0 64px;
  }
  body[data-view="products"] .desktop-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
  body[data-view="products"] .desktop-section-head h1 { margin: 4px 0 7px; color: #102a20; font-size: 28px; line-height: 1.2; }
  body[data-view="products"] .desktop-section-head p { max-width: 680px; margin: 0; color: #687a72; font-size: 14px; line-height: 1.6; }
  body[data-view="products"] .section-kicker { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
  body[data-view="products"] .desktop-primary-action { border: 0; border-radius: 11px; background: var(--primary); color: #fff; padding: 12px 18px; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 7px 20px rgba(14,91,60,.18); }

  body[data-view="products"] .blog-desktop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
  body[data-view="products"] .blog-feed-column { min-width: 0; }
  body[data-view="products"] .desktop-compose-box { padding: 14px 16px; border-radius: 13px; box-shadow: 0 5px 20px rgba(20,47,36,.06); }
  body[data-view="products"] .desktop-compose-box span { flex: 1; text-align: left; }
  body[data-view="products"] .desktop-compose-box strong { color: var(--primary); font-size: 13px; }
  body[data-view="products"] .blog-card { border: 1px solid #e5ece8; border-radius: 14px; box-shadow: 0 6px 22px rgba(20,47,36,.06); }
  body[data-view="products"] .blog-card-header { padding: 16px 20px 12px; }
  body[data-view="products"] .blog-card-body { padding: 0 20px 16px; }
  body[data-view="products"] .blog-card-image { max-height: 520px; }
  body[data-view="products"] .blog-card-actions { padding: 11px 18px; }
  body[data-view="products"] .blog-desktop-aside { position: sticky; top: 88px; display: grid; gap: 16px; }
  body[data-view="products"] .desktop-info-card { padding: 22px; border: 1px solid #e2ebe6; border-radius: 15px; background: #fff; box-shadow: 0 6px 22px rgba(20,47,36,.05); }
  body[data-view="products"] .desktop-info-card h3 { margin: 0 0 9px; color: #173d2e; font-size: 16px; }
  body[data-view="products"] .desktop-info-card p, body[data-view="products"] .desktop-info-card li { color: #6a7b73; font-size: 13px; line-height: 1.6; }
  body[data-view="products"] .desktop-info-card ul { margin: 10px 0 0; padding-left: 18px; }
  body[data-view="products"] .info-card-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 11px; background: #fff4dc; font-size: 20px; }
  body[data-view="products"] .community-card { background: linear-gradient(145deg,#0f6948,#0a4d36); }
  body[data-view="products"] .community-card h3 { color: #fff; }
  body[data-view="products"] .community-card p { color: rgba(255,255,255,.75); }
  body[data-view="products"] .blog-empty-state { padding: 60px 20px; text-align: center; border: 1px dashed #ccd9d2; border-radius: 14px; background: #fff; }

  body[data-view="products"] .voucher-social-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-bottom: 26px; }
  body[data-view="products"] .social-link-btn { min-height: 82px; margin: 0; padding: 17px 20px; border-radius: 14px; box-shadow: 0 5px 20px rgba(20,47,36,.05); }
  body[data-view="products"] .social-link-btn > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 4px; }
  body[data-view="products"] .social-link-btn small { color: var(--muted); font-size: 12px; font-weight: 400; }
  body[data-view="products"] .social-link-btn b { color: var(--primary); font-size: 12px; }
  body[data-view="products"] .voucher-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 24px; border: 1px solid #e2ebe6; border-radius: 16px; box-shadow: 0 6px 24px rgba(20,47,36,.05); }
  body[data-view="products"] .voucher-group-title, body[data-view="products"] .voucher-paste-bar, body[data-view="products"] .voucher-group > div[style*="font-size"] { grid-column: 1 / -1; }
  body[data-view="products"] .voucher-group-title { text-align: left; margin-bottom: 2px; }
  body[data-view="products"] .voucher-card { margin: 0; padding: 15px; }

  body[data-view="products"] .create-desktop-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr); gap: 26px; align-items: start; }
  body[data-view="products"] .create-link-card, body[data-view="products"] .link-history-card, body[data-view="products"] .how-to-card { border: 1px solid #e2ebe6; border-radius: 16px; box-shadow: 0 6px 24px rgba(20,47,36,.05); }
  body[data-view="products"] .create-link-card { padding: 26px; }
  body[data-view="products"] .create-link-title { font-size: 18px; }
  body[data-view="products"] .create-link-input-wrap > div { min-height: 56px; }
  body[data-view="products"] #mobCreateBtn { min-height: 48px; }
  body[data-view="products"] .link-history-card { min-height: 190px; padding: 24px; }
  body[data-view="products"] .create-desktop-side { position: sticky; top: 88px; }
  body[data-view="products"] .how-to-card { padding: 24px; }
  body[data-view="products"] .how-step { padding: 15px; margin-bottom: 14px; }
  body[data-view="products"] .mob-app-bottom-nav { display: none !important; }
  body[data-view="products"] .blog-detail-drawer,
  body[data-view="products"] .blog-compose-drawer {
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    width: min(720px, 100vw);
    height: min(760px, calc(100vh - 64px));
    border-radius: 18px;
    transform: translate(-50%, calc(-50% + 100vh));
    box-shadow: 0 24px 70px rgba(0,0,0,.25);
  }
  body[data-view="products"] .blog-detail-drawer.open,
  body[data-view="products"] .blog-compose-drawer.open { transform: translate(-50%, -50%); }
}

@media (max-width: 1024px) {
  body[data-view="products"] .shop-eyebrow,
  body[data-view="products"] .shop-subtitle,
  body[data-view="products"] .desktop-section-head,
  body[data-view="products"] .blog-desktop-aside,
  body[data-view="products"] .desktop-compose-box { display: none !important; }
  body[data-view="products"] .shop-tab-icon { display: none; }
}

/* Product detail: full desktop layout, mobile navigation only on mobile. */
.detail-page-heading { display: none; }

@media (min-width: 1025px) {
  body[data-view="chi-tiet"] { background: #f4f7f5; }
  body[data-view="chi-tiet"] .mobile-layout { display: block !important; width: 100%; max-width: none; }
  body[data-view="chi-tiet"] .detail-mobile-header { display: none !important; }
  body[data-view="chi-tiet"] .detail-content { width: min(calc(100% - 80px), 1200px); margin: 0 auto; padding: 36px 0 72px !important; }
  body[data-view="chi-tiet"] .detail-page-heading { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 26px; }
  body[data-view="chi-tiet"] .detail-page-heading > a { margin-top: 5px; padding: 9px 13px; border: 1px solid #dce7e1; border-radius: 10px; background: #fff; color: var(--primary); font-size: 12px; font-weight: 700; text-decoration: none; }
  body[data-view="chi-tiet"] .detail-page-heading span { color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: 1.3px; }
  body[data-view="chi-tiet"] .detail-page-heading h1 { margin: 4px 0 6px; color: #122f24; font-size: 28px; line-height: 1.2; }
  body[data-view="chi-tiet"] .detail-page-heading p { margin: 0; color: #73837c; font-size: 13px; }
  body[data-view="chi-tiet"] .detail-top-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
  body[data-view="chi-tiet"] .detail-product-card { min-height: 305px; margin: 0 !important; padding: 24px !important; align-items: center; gap: 26px !important; border: 1px solid #dfe9e4; border-radius: 17px; box-shadow: 0 8px 28px rgba(15,66,47,.07); }
  body[data-view="chi-tiet"] #prodImgContainer { width: 260px !important; height: 260px !important; border-radius: 14px !important; background: #f1f5f3 !important; }
  body[data-view="chi-tiet"] #prodName { margin-bottom: 14px !important; color: #152b22; font-size: 20px !important; font-weight: 750 !important; line-height: 1.45; -webkit-line-clamp: 3 !important; }
  body[data-view="chi-tiet"] #prodSales { margin-bottom: 12px !important; font-size: 13px !important; }
  body[data-view="chi-tiet"] #prodPrice { margin-bottom: 12px !important; font-size: 18px !important; }
  body[data-view="chi-tiet"] #prodCb { display: inline-flex; padding: 8px 11px; border-radius: 8px; background: #fff4dc; color: #9a6513 !important; font-size: 13px !important; font-weight: 700; font-style: normal !important; }
  body[data-view="chi-tiet"] .detail-action-column { display: grid; min-width: 0; grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
  body[data-view="chi-tiet"] .detail-link-card { display: grid; min-height: 0; grid-template-columns: 1fr; align-items: center; gap: 14px; margin: 0 !important; padding: 22px 24px !important; border: 1px solid #dfe9e4; border-radius: 17px; box-shadow: 0 8px 28px rgba(15,66,47,.07); }
  body[data-view="chi-tiet"] .detail-link-card > div:first-child { margin: 0 !important; padding: 13px; border-radius: 10px; background: #f4f8f6; font-size: 13px !important; }
  body[data-view="chi-tiet"] .detail-link-card .btn { min-height: 46px; border-radius: 11px; }
  body[data-view="chi-tiet"] .detail-cashback-note { justify-content: flex-start !important; margin: 0 !important; padding: 16px 18px !important; border: 1px solid #cfe7dc; border-radius: 13px; background: #eaf6f0; text-align: left !important; font-size: 11px !important; }
  body[data-view="chi-tiet"] .detail-conditions-card { margin-top: 26px; padding: 28px !important; border: 1px solid #dfe9e4; border-radius: 17px; box-shadow: 0 8px 28px rgba(15,66,47,.06); }
  body[data-view="chi-tiet"] .detail-conditions-card > h3 { font-size: 17px !important; }
  body[data-view="chi-tiet"] .detail-condition-grid { display: grid !important; grid-template-columns: 1fr; gap: 12px !important; }
  body[data-view="chi-tiet"] .detail-condition-grid > div { min-height: 72px; padding: 15px !important; border: 1px solid #e8efeb; border-radius: 11px !important; background: #f7faf8 !important; }
  body[data-view="chi-tiet"] .detail-condition-grid > div > div:last-child { font-size: 12px !important; line-height: 1.55 !important; }
  body[data-view="chi-tiet"] .mob-app-bottom-nav { display: none !important; }
}

@media (max-width: 1024px) {
  body[data-view="chi-tiet"] .detail-page-heading { display: none !important; }
}

/* Account password center */
.password-page-heading{margin-bottom:22px}.password-page-heading>span{display:block;color:#08734b;font-size:9px;font-weight:900;letter-spacing:1.25px}.password-page-heading .desk-panel-title{margin:5px 0 3px}.password-page-heading p{margin:0;color:#71847c;font-size:12px}.password-page-layout{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(360px,1.28fr);gap:18px;align-items:stretch;max-width:860px}.password-security-card,.password-form-card{border:1px solid #dce7e1;border-radius:18px}.password-security-card{padding:25px;color:#fff;background:linear-gradient(145deg,#0b6847,#043927);box-shadow:0 12px 28px rgba(8,72,49,.15)}.password-security-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.14);font-size:22px}.password-security-card h4{margin:20px 0 8px;font-size:18px}.password-security-card p{margin:0;color:rgba(255,255,255,.76);font-size:11px;line-height:1.65}.password-security-card ul{display:grid;gap:10px;margin:22px 0 0;padding:18px 0 0;border-top:1px solid rgba(255,255,255,.14);list-style:none}.password-security-card li{position:relative;padding-left:19px;color:rgba(255,255,255,.88);font-size:10px;line-height:1.45}.password-security-card li:before{content:"✓";position:absolute;left:0;color:#f1c85d;font-weight:900}.password-form-card{display:flex;flex-direction:column;gap:15px;padding:24px;background:#fff;box-shadow:0 8px 25px rgba(10,57,42,.06)}.password-field-group{display:flex;flex-direction:column;gap:7px}.password-field-group label{color:#24473a;font-size:11px;font-weight:750}.password-input-wrap{position:relative}.password-input-wrap .fld{width:100%;height:48px;padding-right:50px;border-radius:11px;background:#fbfcfb}.password-input-wrap button{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:9px;background:transparent;color:#71837b;cursor:pointer;filter:grayscale(1)}.password-input-wrap button:hover{background:#edf6f1;filter:none}.password-checks{display:flex;flex-wrap:wrap;gap:7px}.password-checks span{padding:6px 8px;border-radius:8px;background:#f2f5f3;color:#98a49f;font-size:8px;font-weight:700;transition:.2s}.password-checks span.valid{background:#e5f6ed;color:#08734b}.password-message{display:none;min-height:0;padding:10px 12px;border-radius:9px;background:#fff0ee;color:#bd3425;font-size:10px;line-height:1.45}.password-message:not(:empty){display:block}.password-message.success{background:#e7f7ef;color:#08734b}.password-submit{width:100%;min-height:46px;margin-top:1px;border-radius:11px;font-weight:800}.password-submit:disabled{cursor:not-allowed;opacity:.65}.password-mobile-intro{display:flex;align-items:center;gap:12px;margin-bottom:5px;padding:14px;border-radius:13px;background:#edf7f2}.password-mobile-intro .password-security-icon{flex:0 0 42px;width:42px;height:42px;background:#08734b}.password-mobile-intro strong,.password-mobile-intro span{display:block}.password-mobile-intro strong{color:#173d30;font-size:14px}.password-mobile-intro span{margin-top:3px;color:#71837b;font-size:10px}.password-form-mobile{border:0;border-radius:0;padding:4px 0;box-shadow:none}

@media(max-width:800px){.password-page-layout{grid-template-columns:1fr}.password-security-card{display:none}.password-form-card{padding:18px}.password-checks{display:grid;grid-template-columns:1fr}.password-input-wrap .fld{font-size:14px!important}}

.password-otp-request-row{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:8px}.password-otp-request-row .fld,.password-otp-input{height:48px;border-radius:11px;background:#fbfcfb}.password-otp-button{height:48px;padding:0 10px;border-radius:11px;font-size:10px;font-weight:800;white-space:nowrap}.password-otp-button:disabled{cursor:not-allowed;opacity:.6}.password-field-group .fld[readonly]{color:#71837b;background:#f1f5f3;cursor:not-allowed}

@media(max-width:480px){.password-otp-request-row{grid-template-columns:minmax(0,1fr) 94px}.password-otp-button{font-size:9px}}

.password-checks span.sb-icon{width:1em;height:1em;padding:0;border-radius:0;background:transparent;font-size:1em}
.password-security-card li:before{content:"";top:2px;width:5px;height:9px;border-right:2px solid #f1c85d;border-bottom:2px solid #f1c85d;transform:rotate(45deg)}

