* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 18px;

  --shadow: 0 10px 22px rgba(15, 23, 42, .06);
  --shadowPop: 0 18px 40px rgba(15, 23, 42, .10);

  --bd: rgba(15, 23, 42, .08);
  --bdSoft: rgba(15, 23, 42, .06);

  --hiBlueBg: rgba(37, 99, 235, .08);
  --hiBlueBd: rgba(37, 99, 235, .22);

  --hiGreenBg: rgba(34, 197, 94, .10);
  --hiGreenBd: rgba(34, 197, 94, .22);

  --hiAmberBg: rgba(245, 158, 11, .12);
  --hiAmberBd: rgba(245, 158, 11, .26);

  --hiRedBg: rgba(239, 68, 68, .10);
  --hiRedBd: rgba(239, 68, 68, .22);
}

/* =========================
   MODE COLORS
========================= */

body.mode-pre {
  --bg: #f6f9ff;
  --brand: #2563eb;
  --brand2: #0ea5e9;
  --chipBg: rgba(37, 99, 235, .10);
}

body.mode-pro {
  --bg: #fff7ed;
  --brand: #ea580c;
  --brand2: #f59e0b;
  --chipBg: rgba(234, 88, 12, .12);
}

body.mode-school {
  --bg: #f0fdf4;
  --brand: #16a34a;
  --brand2: #22c55e;
  --chipBg: rgba(34, 197, 94, .12);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* =========================
   TOP BAR
========================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, #fff, #ffffffcc);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  padding: 8px 10px 5px;
}

.topbarRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 4px;
  background: #fff;
}

.brandName {
  font-weight: 1000;
}

.brandSub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.topBtns {
  display: flex;
  gap: 10px;
}

.iconBtn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  position: relative;
}

.iconBtn:active {
  transform: scale(.98);
}

.notifBadge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  font-weight: 1000;
  font-size: 11px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.pointsVal {
  font-size: 10px;
  font-weight: 800;
  color: #9a6a00;
}

/* =========================
   USER ROW
========================= */

.userRow {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hello {
  font-size: 12px;
  color: var(--muted);
}

.userName {
  font-size: 15px;
  font-weight: 1000;
  margin-top: 2px;
}

.pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--chipBg);
  color: var(--brand);
  font-weight: 900;
  font-size: 12px;
}

/* =========================
   SEGMENT TOGGLE
========================= */

.segWrap {
  margin-top: 10px;
}

.seg {
  width: 100%;
  background: rgba(15, 23, 42, .06);
  padding: 4px;
  border-radius: 999px;
  display: flex;
  gap: 4px;
}

.segBtn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 1000;
  cursor: pointer;
  color: rgba(15, 23, 42, .70);
  font-size: 12px;
}

.segBtn.active {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .10);
}

.segHint {
    display: none;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* =========================
   ALERT
========================= */

.topAlert {
  margin-top: 10px;
  border-radius: 16px;
  border: 1px solid rgba(185, 28, 28, .18);
  background: linear-gradient(135deg, rgba(185, 28, 28, .10), rgba(255, 255, 255, .9));
  padding: 10px;
  display: none;
  gap: 10px;
  align-items: center;
}

.topAlertTxt {
  font-size: 12px;
  color: #7f1d1d;
  font-weight: 900;
  flex: 1;
}

.topAlertBtn {
  border: none;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 1000;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
}

/* =========================
   LAYOUT + COMMON SECTION
========================= */

.page {
  padding: 12px;
}

.section {
  margin-top: 12px;
}

.section-header,
.secHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.section-header h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
}

.link-btn {
  border: 0;
  background: rgba(15, 23, 42, .06);
  color: #0f172a;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.sectionCard {
  background: #fff;
  border: 1px solid var(--bdSoft);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 12px;
  overflow: hidden;
}

.sectionCard::before,
.sectionCard::after {
  display: none !important;
}

.secTitle {
  font-weight: 700;
  font-size: 15px;
}

.secSub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}

.secLink {
  display: none;
}

.sec {
  font-size: 12px;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .06);
  background: rgba(15, 23, 42, .05);
}

/* Highlight cards */
.sectionCard.is-primary {
  border: none;
  box-shadow: none;
  background: none;
  position: relative;
  padding: 0;
}

.sectionCard.is-primary .secTitle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sectionCard.is-primary .secTitle::before {
  content: "⭐";
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--hiBlueBd);
  font-size: 14px;
}

.sectionCard.is-money {
  border: 1px solid var(--hiGreenBd);
  background:
    linear-gradient(180deg, #fff, #fae46e24),
    radial-gradient(520px 120px at 20% 0%, var(--hiGreenBg), transparent 60%);
  box-shadow: var(--shadowPop);
}

.sectionCard.is-money .secTitle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sectionCard.is-money .secTitle::before {
  content: "💰";
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--hiGreenBg);
  border: 1px solid var(--hiGreenBd);
  font-size: 14px;
}

.sectionCard.is-offer {
  border: 1px solid var(--hiAmberBd);
  box-shadow: 0 16px 34px rgba(245, 158, 11, .14), 0 10px 25px rgba(15, 23, 42, .07);
}

.sectionCard.is-offer .secTitle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sectionCard.is-offer .secTitle::before {
  content: "🔥";
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--hiAmberBg);
  border: 1px solid var(--hiAmberBd);
  font-size: 14px;
}

.sectionCard.is-warning {
  border: 1px solid var(--hiRedBd);
  background:
    linear-gradient(180deg, rgba(239, 68, 68, .14), #fff),
    radial-gradient(520px 120px at 20% 0%, var(--hiRedBg), transparent 60%);
  box-shadow: 0 16px 34px rgba(239, 68, 68, .12), 0 10px 25px rgba(15, 23, 42, .07);
}

.sectionCard.is-warning .secTitle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sectionCard.is-warning .secTitle::before {
  content: "🚨";
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(239, 68, 68, .13);
  border: 1px solid var(--hiRedBd);
  font-size: 14px;
}

/* =========================
   KPI
========================= */

.kpiRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpiMini {
  border: 1px solid rgba(15, 23, 42, .06);
  background: #fff;
  border-radius: 18px;
  padding: 8px;
}

.kminiTop {
  display: flex;
  gap: 5px;
  align-items: center;
}

.kminiIco {
  width: 20px;
  height: 20px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .05);
}

.kminiLbl {
  font-size: 8px;
  color: var(--muted);
  font-weight: 600;
}

.kminiVal {
  margin-top: 4px;
  font-weight: 600;
  font-size: 12px;
}

.kminiSub {
  margin-top: 4px;
  font-size: 8px;
  color: var(--muted);
}

.kminiClick {
  cursor: pointer;
}

/* =========================
   CAROUSELS
========================= */

.carouselTrack {
  display: flex;
  gap: 12px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.carouselTrack::-webkit-scrollbar {
  display: none;
}

.bannerSlide {
  min-width: 90%;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  position: relative;
  cursor: pointer;
  background: #0f2b52;
  margin: 5px;
}

.bannerSlide img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.slideOverlay {
  display: none;
}

.slideText {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  color: #fff;
}

.slideTag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.slideTitle {
  font-size: 15px;
  font-weight: 1000;
  margin-top: 6px;
}

.slideSub {
  font-size: 12px;
  opacity: .92;
  margin-top: 3px;
  line-height: 1.3;
}

.slideCta {
  margin-top: 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .18);
  font-weight: 1000;
  font-size: 13px;
}

.carouselDots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding-top: 8px;
}

.carouselDots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .18);
}

.carouselDots span.active {
  background: rgba(15, 23, 42, .55);
}

/* =========================
   REFER BANNER
========================= */

.referBanner {
  border-radius: 20px;
  padding: 8px;
  border: 1px solid rgba(37, 99, 235, .22);
  background: radial-gradient(520px 120px at 20% 0%, rgba(37, 99, 235, .22), transparent 60%), #e4edff;
  box-shadow: var(--shadowPop);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.referTag {
  display: inline-block;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 1000;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
}

.referTitle {
  margin-top: 8px;
  font-weight: 700;
  font-size: 14px;
}

.referSub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.referBtns {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btnPriWide,
.btnGhostWide {
  border: none;
  padding: 8px 10px;
  border-radius: 14px;
  font-weight: 750;
  cursor: pointer;
  font-size: 12px;
}

.btnPriWide {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
}

.btnGhostWide {
  background: rgba(15, 23, 42, .06);
  color: rgba(15, 23, 42, .78);
}

.referArt {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  font-size: 26px;
}

/* =========================
   CATEGORY TABS + PRODUCTS
========================= */

.tabStrip {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 4px;
}

.tabStrip::-webkit-scrollbar {
  display: none;
}

.chip {
  border: none;
  background: rgba(15, 23, 42, .05);
  color: rgba(15, 23, 42, .75);
  font-weight: 1000;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.chip.active {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .10);
}

.catHint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
}

.prodGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.prodCard {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
  overflow: hidden;
}

.prodPillsTop {
  padding: 10px 10px 0;
}

.prodPillTop {
  display: inline-block;
  margin-bottom: 5px;
  padding: 3px 5px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  background: #fff3cd;
  color: #7a5600;
  border: 1px solid #f3d98b;
}

.prodTop {
  padding: 5px;
  display: flex;
  flex-direction: row;
  gap: 3px;
}

.prodImg {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(15, 23, 42, .04);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.prodTitle {
  font-weight: 600;
  font-size: 10.5px;
}

.prodMeta {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.prodBadges {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .06);
  font-weight: 1000;
}

.badge.money {
  background: rgba(15, 23, 42, .05);
  color: rgba(15, 23, 42, .80);
}

.badge.good {
  background: rgba(15, 23, 42, .06);
  color: rgba(15, 23, 42, .78);
}

.prodActions {
  display: none;
  gap: 8px;
  padding: 0 12px 12px;
}

.btn {
  flex: 1;
  border: none;
  padding: 10px;
  border-radius: 14px;
  font-weight: 1000;
  cursor: pointer;
  font-size: 12px;
}

.btnPri {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
}

.btnGhost {
  background: rgba(15, 23, 42, .06);
  color: rgba(15, 23, 42, .78);
}

/* =========================
   SUB BANNERS
========================= */

.subBanners {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.subBanner {
  border-radius: 18px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--chipBg), rgba(255, 255, 255, .92));
  align-items: center;
}

.subBanner.to-pro {
  background: linear-gradient(135deg, rgba(234, 88, 12, .14), rgba(255, 255, 255, .92));
}

.subBanner.to-school {
  background: linear-gradient(135deg, rgba(34, 197, 94, .14), rgba(255, 255, 255, .92));
}

.subBanner.to-pre {
  background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(255, 255, 255, .92));
}

.sbTag {
  display: inline-block;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 1000;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
}

.sbTitle {
  margin-top: 8px;
  font-weight: 700;
  font-size:12px;
}

.sbSub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.sbIco {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  font-size: 24px;
}

/* =========================
   TRAINING
========================= */

.trainList {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.trainList::-webkit-scrollbar {
  display: none;
}

.trainCard {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgb(160 160 160 / 56%);
  background: #fdfdfdcf;
  cursor: pointer;
}

.trainCard.featured {
  background: linear-gradient(135deg, rgba(15, 23, 42, .03), rgba(255, 255, 255, .90));
  border: 1px solid rgba(15, 23, 42, .08);
}

.trainAvatar {
  width: 45px;
  height: 54px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, .08);
}

.trainTitleRow {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.trainTitle {
  font-weight: 1000;
  font-size: 13px;
}

.trainBadge {
  font-size: 11px;
  font-weight: 1000;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
}

.trainSub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}

.trainMeta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.trainPill {
  font-size: 11px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
}

.trainHint {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.trainBtn {
  border: none;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 1000;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
}

/* =========================
   GALLERY / TILES / LEARN
========================= */

.galleryRow,
.hScroll,
.shortsRow {
  display: flex;
  gap: 12px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.galleryRow::-webkit-scrollbar,
.hScroll::-webkit-scrollbar,
.shortsRow::-webkit-scrollbar {
  display: none;
}

.gCard {
  min-width: 160px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .06);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
}

.gThumb {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.gMeta {
  padding: 10px;
}

.gTitle {
  font-weight: 1000;
  font-size: 12px;
}

.gSub {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.tileGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tile {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.tileIco {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .05);
  font-size: 20px;
}

.tileTitle {
  font-weight: 1000;
  font-size: 12.5px;
}

.tileSub {
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 3px;
  line-height: 1.35;
}

.tileRightBadge {
  margin-left: auto;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .06);
  font-weight: 1000;
}

.miniCard {
  min-width: 70%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
}

.miniTag {
  display: inline-block;
  font-size: 11px;
  font-weight: 1000;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .05);
  color: rgba(15, 23, 42, .85);
}

.miniTitle {
  margin-top: 8px;
  font-weight: 1000;
  font-size: 13px;
}

.miniSub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.miniBtn {
  margin-top: 10px;
  border: none;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 1000;
  cursor: pointer;
  background: rgba(15, 23, 42, .06);
}

/* =========================
   SHORTS
========================= */

.shortCard {
  width: 170px;
  min-width: 170px;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
  background: #0b1220;
  position: relative;
  cursor: pointer;
}

.shortThumb {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.shortMeta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .58));
  color: #fff;
}

.shortTitle {
  font-size: 12.5px;
  font-weight: 1000;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  line-height: 1.25;
}

.shortHint {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}

/* =========================
   LEADERBOARD
========================= */

.lbWrap {
  margin-top: 8px;
  background: #fff;
  border-radius: 18px;
}

.lbHint {
  text-align: center;
  font-weight: 900;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.lbPodRow {
  display: flex;
  gap: 8px;
  align-items: end;
  justify-content: center;
}

.lbPod {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 10px;
  padding: 2px;
}

.lbPos {
  font-size: 12px;
  font-weight: 1000;
  color: var(--muted);
}

.lbRing {
  width: 55px;
  height: 55px;
  border-radius: 999px;
  background: #eef2ff;
  border: 3px solid #cbd5e1;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.lbPod.first .lbRing {
  width: 75px;
  height: 75px;
  background: #fff7ed;
  border-color: #f59e0b;
}

.lbPod.second .lbRing {
  background: #f1f5f9;
  border-color: #9ca3af;
}

.lbPod.third .lbRing {
  background: #fff7ed;
  border-color: #b45309;
}

.lbRing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lbInit {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 650;
  color: #64748b;
  font-size: 16px;
}

.lbMedal {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15));
}

.lbName {
  font-weight: 450;
  font-size: 10px;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lbLoc {
  margin-top: -6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 550;
}

.lbOrders {
  display: none;
}

/* =========================
   ORDERS
========================= */

.orderCard {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, .06);
  overflow: hidden;
}

.tableWrap {
  overflow: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.table th,
.table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  font-size: 12px;
}

.mutedTd {
  text-align: center;
  color: var(--muted);
  padding: 18px !important;
}

.errBox {
  padding: 10px 12px;
  color: #b91c1c;
  font-weight: 900;
}

.spaceBottom {
  height: auto;
}

/* =========================
   BOTTOM NAV
========================= */

.bottomNav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(15, 23, 42, .06);
  padding: 8px 6px;
}

.navItem {
  flex: 1;
  text-decoration: none;
  color: rgba(15, 23, 42, .65);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  border-radius: 14px;
  font-weight: 1000;
  font-size: 11px;
}

.navItem.active {
  color: var(--brand);
  background: var(--chipBg);
}

.navIco {
  font-size: 18px;
}

/* =========================
   YOUTUBE MODAL
========================= */

#ytOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 9998;
  display: none;
}

#ytModal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 94vw);
  background: #fff;
  border-radius: 18px;
  z-index: 9999;
  display: none;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  pointer-events: auto;
}

.ytHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  z-index: 2;
  position: relative;
}

#ytClose {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
  font-size: 18px;
}

.ytBody {
  aspect-ratio: 9 / 16;
  background: #000;
  position: relative;
}

#ytFrame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  pointer-events: auto;
}

.ytBody::before {
  content: none !important;
}

/* =========================
   KNOW ABOUT LIT BAR
========================= */

.knowLitBar {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}

.knowLitBar:active {
  transform: scale(.97);
}

.knowLitIco,
.knowLitTxt,
.knowLitArrow {
  position: relative;
  z-index: 2;
}

.knowLitIco {
  font-size: 22px;
}

.knowLitTxt {
  flex: 1;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .3px;
}

.knowLitArrow {
  font-size: 15px;
  color: rgba(255, 255, 255, .86);
}

.knowLitBar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, .25), rgba(255, 255, 255, 0));
  transform: skewX(-25deg);
  animation: litShine 5s infinite ease-in-out;
}

@keyframes litShine {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* =========================
   KIT CARD
========================= */

#kitSection > .sectionCard {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#kitSection > .sectionCard > .secHead {
  display: none !important;
}

.kitRefCard {
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #113c8c 0%, #2f66d8 55%, #79a6ff 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .20);
  color: #fff;
}

.kitRefTopBar {
  background: linear-gradient(90deg, #ff7f7f, #ff9d8f);
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
  padding: 7px 10px;
}

.kitRefHead {
  text-align: center;
  padding: 12px 12px 8px;
}

.kitRefTitle {
  font-size: 20px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.4px;
}

.kitRefSub {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
}

.kitRefBody {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
  padding: 0 12px 10px;
  align-items: stretch;
}

.kitRefImageBox {
  height: 165px;
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.kitRefImageBox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.kitRefFallback {
  display: none;
  font-size: 44px;
}

.kitRefImageBox.no-kit-image .kitRefFallback {
  display: block;
}

.kitRefRight {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.kitRefMiniGrid {
  display: flex;
  gap: 8px;
}

.kitRefPointBox {
  min-height: 49px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .96);
  color: #0f172a;
  border: 1px solid rgba(15, 60, 143, .18);
  box-shadow: 0 7px 16px rgba(15, 23, 42, .12);
  padding: 5px;
  align-items: center;
  gap: 7px;
}

.kitRefPointWide {
  min-height: 64px;
}

.kitRefPointIcon {
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.kitRefPointText {
  font-size: 10px;
  line-height: 1.3;
  font-weight: 650;
  color: #0f172a;
}

.kitRefPointText strong {
  display: block;
  font-size: 10px;
  margin-bottom: 2px;
}

.kitRefPointText span {
  display: block;
  font-size: 11px;
  color: #111827;
}

.kitRefBtnRow {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 8px;
  padding: 0 12px 12px;
}

.kitRefPrimaryBtn,
.kitRefVideoBtn {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
}

.kitRefPrimaryBtn {
  color: #111827;
  background: linear-gradient(135deg, #ffffff, #fff1a8 45%, #ffd166);
  box-shadow: 0 8px 18px rgba(255, 209, 102, .36);
  animation: kitRefBtnPulse 3.8s ease-in-out infinite;
}

.kitRefVideoBtn {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
}

.kitRefPurchasedBtn {
  color: #ffffff !important;
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  box-shadow: 0 8px 18px rgba(22, 163, 74, .28) !important;
  animation: none !important;
}

.kitRefCard:has(.kitRefPurchasedBtn) .kitRefTopBar {
  background: linear-gradient(90deg, #16a34a, #22c55e) !important;
}

.kitRefCard:has(.kitRefPurchasedBtn) {
  background: linear-gradient(135deg, #0f766e 0%, #16a34a 55%, #7ee7a7 100%) !important;
}

@keyframes kitRefBtnPulse {
  0%, 82%, 100% { transform: scale(1); }
  86% { transform: scale(1.03); }
  90% { transform: scale(1.01); }
  94% { transform: scale(1.025); }
}

/* =========================
   TRUSTED BRANDS CAROUSEL
========================= */

.trustedBrandSection {
  margin-top: 14px;
}

.trustedBrandSection .section-header h3 {
  font-size: 15px;
  line-height: 1.12;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.2px;
}

.brandMarqueeCard {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  padding: 10px 0;
}

.brandMarqueeRow {
  width: 100%;
  overflow: hidden;
  display: flex;
  margin: 8px 0;
}

.brandMarqueeTrack {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
}

.brandLogoPill {
  width: 116px;
  height: 58px;
  flex: 0 0 116px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #6e6e6e;
  box-shadow: 0 7px 16px rgba(15, 23, 42, .08);
  display: grid;
  place-items: center;
  padding: 8px 10px;
  overflow: hidden;
}

.brandLogoPill img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brandUniPill {
  grid-template-rows: 36px 1fr;
  gap: 5px;
}

.brandUniPill img {
  height: 34px;
}

.brandUniPill span {
  display: -webkit-box;
  font-size: 9.5px;
  line-height: 1.12;
  font-weight: 900;
  color: #111827;
  text-align: center;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.brandMoveLeft {
  animation: brandScrollLeft 24s linear infinite;
}

.brandMoveRight {
  animation: brandScrollRight 26s linear infinite;
}

.brandMarqueeCard:hover .brandMoveLeft,
.brandMarqueeCard:hover .brandMoveRight {
  animation-play-state: paused;
}

.brandMarqueeFade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38px;
  z-index: 2;
  pointer-events: none;
}

.brandFadeLeft {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.brandFadeRight {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

@keyframes brandScrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 6px)); }
}

@keyframes brandScrollRight {
  from { transform: translateX(calc(-50% - 6px)); }
  to { transform: translateX(0); }
}

/* =========================
   WHY LIT PARTNER
========================= */

.whyLitSection {
  margin-top: 14px;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 7px 16px rgba(15, 23, 42, .08);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .06);
}

.trustSectionHead {
  margin-bottom: 10px;
  padding: 0 2px;
}

.trustSectionTitle {
  font-size: 15px;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.2px;
}

.trustSectionSub {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 600;
  color: #64748b;
}

.whyLitGrid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 10px;
}

.whyLitBox {
  position: relative;
  min-height: 86px;
  border-radius: 16px;
  padding: 11px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 7px 18px rgba(15, 23, 42, .045);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.whyLitBox::after {
  content: "";
  position: absolute;
  inset: auto -20px -35px auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .08);
  pointer-events: none;
}

.whyBig {
  background: linear-gradient(135deg, #eaf4ff 0%, #ffffff 100%);
}

.whySoftGreen {
  background: linear-gradient(135deg, #dcfce7 0%, #ffffff 100%);
}

.whySoftYellow {
  background: linear-gradient(135deg, #fff7dd 0%, #ffffff 100%);
}

.whyWide {
  background: linear-gradient(135deg, #f2eaff 0%, #ffffff 100%);
}

.whyFull {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #eaf4ff 0%, #ffffff 100%);
  min-height: 92px;
}

.whyLitText {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.whyLitText.center {
  text-align: center;
  width: 100%;
}

.whyLitText b {
  display: block;
  font-size: 12px;
  line-height: 1.18;
  font-weight: 850;
  color: #111827;
}

.whyLitText span {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 600;
  color: #475569;
}

.whyLitIcon {
  position: relative;
  z-index: 1;
  flex: 0 0 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 1000;
  background: rgba(255, 255, 255, .70);
  border: 1px solid rgba(15, 23, 42, .05);
}

.whyLitIcon.small {
  display: none;
}

.whySoftGreen,
.whySoftYellow {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 10px;
}

.whySoftGreen .whyLitText b,
.whySoftYellow .whyLitText b {
  font-size: 12px;
}

.whySoftGreen .whyLitText span,
.whySoftYellow .whyLitText span {
  font-size: 10.5px;
}

/* =========================
   LIT STORE / PARTNER STORE
========================= */

#partnerStoreSection {
  margin-top: 14px;
}

.partnerStorePreviewCard {
  padding: 12px !important;
}

.partnerStorePreviewCard .secHead {
  margin-bottom: 10px;
}

.partnerStorePreviewCard .secTitle {
  font-size: 16px;
}

.partnerStorePreviewCard .secSub {
  font-size: 12px;
}

#partnerStoreSection .partnerStoreCats,
#partnerStoreSection .partnerStoreTopBar {
  display: none !important;
}

.partnerStoreGrid,
.partnerStorePreviewGrid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 8px !important;
}

.partnerStoreCard,
.partnerStorePreviewProduct {
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, .06) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .055) !important;
}

.partnerStoreImgWrap {
  position: relative;
  padding: 8px !important;
  background: linear-gradient(180deg, #f8fafc, #ffffff) !important;
}

.partnerStoreImg {
  width: 100% !important;
  height: 105px !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  display: block !important;
  margin: 0 auto !important;
}

.partnerStoreBadge,
.partnerStoreEarn {
  display: none !important;
}

.partnerStoreBody {
  padding: 9px 10px 10px !important;
}

.partnerStoreName {
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 1000 !important;
  min-height: 30px !important;
  color: #0f172a !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.partnerStoreSub {
  margin-top: 5px !important;
  font-size: 10.5px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #64748b !important;
  min-height: 27px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.partnerStorePriceEarnRow {
  margin-top: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}

.partnerStoreNewPrice {
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  color: #0f172a !important;
}

.partnerStoreOldPrice {
  font-size: 10px !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  font-weight: 800 !important;
  margin-bottom: 2px !important;
}

.partnerStoreEarnMini {
  font-size: 9.5px;
  line-height: 1;
  font-weight: 1000;
  color: #15803d;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 5px 6px;
  white-space: nowrap;
}

.partnerStoreBtn,
.partnerStorePreviewProduct .partnerStoreBtn {
  width: 100% !important;
  height: 32px !important;
  margin-top: 9px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, var(--brand), var(--brand2)) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 1000 !important;
  cursor: pointer;
}

.partnerStoreViewAllBtn {
  width: 100%;
  margin-top: 12px;
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .14);
}

.partnerStoreViewAllBtn:active,
.partnerStoreBtn:active {
  transform: scale(.98);
}

.partnerStoreEmpty {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 18px;
  padding: 26px 16px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

/* =========================
   STORE CATEGORY ROW FIX
========================= */

.store-scroll,
.litmega-store-cats {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding: 10px 0 8px !important;
  scrollbar-width: none;
}

.store-scroll::-webkit-scrollbar,
.litmega-store-cats::-webkit-scrollbar {
  display: none;
}

.store-cat-item {
  min-width: 78px !important;
  width: 78px !important;
  flex: 0 0 78px !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  cursor: pointer;
}

.store-cat-img-wrap {
  width: 68px !important;
  height: 68px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border: 1px solid #eef2f7 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06) !important;
}

.store-cat-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  display: block !important;
}

.store-cat-title {
  display: -webkit-box !important;
  margin-top: 7px !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  color: #111827 !important;
  text-align: center !important;
  min-height: 26px !important;
  max-height: 28px !important;
  overflow: hidden !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: normal;
}

/* =========================
   FLOATING SELL FAB
========================= */

.sellFab {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 60;
  height: 56px;
  min-width: 56px;
  border: none;
  border-radius: 999px;
  padding: 0 18px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 14px 32px rgba(15, 23, 42, .22);
  transition: transform .22s ease, width .22s ease, padding .22s ease, border-radius .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.sellFab:active {
  transform: scale(.97);
}

.sellFabIcon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  font-size: 15px;
  flex: 0 0 auto;
}

.sellFabText {
  font-size: 14px;
  font-weight: 1000;
  white-space: nowrap;
  line-height: 1;
}

.sellFab.is-mini {
  width: 56px;
  min-width: 56px;
  padding: 0;
  justify-content: center;
  border-radius: 18px;
}

.sellFab.is-mini .sellFabText {
  display: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 860px) {
  .page {
    max-width: 860px;
    margin: 0 auto;
  }

  .prodGrid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bannerSlide {
    min-width: 35%;
  }

  .miniCard {
    min-width: 44%;
  }

  .sellFab {
    right: calc((100vw - 860px) / 2 + 16px);
  }
}

@media (max-width: 520px) {
  .subBanners {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .kitRefTitle {
    font-size: 18px;
  }

  .kitRefBody {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
  }

  .kitRefImageBox {
    height: 148px;
  }

  .kitRefPointText {
    font-size: 9px;
  }

  .kitRefPointText span {
    font-size: 10px;
  }

  .kitRefBtnRow {
    grid-template-columns: 1fr 84px;
  }

  .kitRefPrimaryBtn,
  .kitRefVideoBtn {
    min-height: 40px;
    font-size: 12px;
  }

  .trustedBrandSection .section-header h3,
  .trustSectionTitle {
    font-size: 15px;
  }

  .brandLogoPill {
    width: 106px;
    height: 52px;
    flex-basis: 106px;
    padding: 7px 9px;
  }

  .brandUniPill {
    grid-template-rows: 32px 1fr;
  }

  .brandUniPill img {
    height: 30px;
  }

  .brandUniPill span {
    font-size: 9px;
  }

  .brandMarqueeTrack {
    gap: 10px;
  }

  .whyLitGrid {
    grid-template-columns: 1.25fr .85fr;
    gap: 8px;
  }

  .whyLitBox {
    min-height: 82px;
    padding: 10px;
  }

  .whyLitText b {
    font-size: 11.5px;
  }

  .whyLitText span {
    font-size: 10px;
  }

  .whyLitIcon {
    flex-basis: 42px;
    font-size: 21px;
  }

  .partnerStorePreviewGrid,
  .partnerStoreGrid {
    gap: 8px !important;
  }

  .partnerStoreImg {
    height: 96px !important;
  }

  .partnerStoreName {
    font-size: 11px !important;
  }

  .partnerStoreSub {
    font-size: 10px !important;
  }

  .partnerStoreEarnMini {
    font-size: 9px;
    padding: 4px 5px;
  }

  .store-cat-item {
    min-width: 72px !important;
    width: 72px !important;
    flex-basis: 72px !important;
  }

  .store-cat-img-wrap {
    width: 62px !important;
    height: 62px !important;
  }

  .store-cat-title {
    font-size: 10px !important;
  }
}

@media (max-width: 350px) {
  .whyLitGrid {
    grid-template-columns: 1fr;
  }

  .whyWide,
  .whyFull {
    grid-column: 1 / -1;
  }

  .whySoftGreen,
  .whySoftYellow {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .whyLitText.center {
    text-align: left;
  }
}


/* =========================
   CLEAN BOTTOM TRUST ARCH SECTION
========================= */

.bottomTrustArchSection {
  margin-top: 16px;
  margin-bottom: 20px;
}

.bottomTrustArchCard{
  background: url('/images/trust-arch-bg.png') no-repeat center top;
  background-size: 100% 100%;
  min-height: 500px;
  padding: 45px 18px 24px;
}

/* Main arch container */
.bottomTrustArchInner {
  position: relative;
  border-radius: 34px;
  padding: 34px 16px 18px;
}

/* top center peak */
.archTopPeak {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  border-top: 6px solid #f29b6f;
  border-left: 6px solid #f29b6f;
  box-shadow: -4px -4px 0 0 #41b58a inset;
  border-top-left-radius: 18px;
  z-index: 0;
}

.bottomTrustBadge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 10px 22px rgba(109, 40, 217, .22);
}

.bottomTrustArchInner {
  text-align: center;
}

.bottomTrustTitle {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: -.3px;
}

.bottomTrustSub {
  margin: 10px auto 0;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.5;
  color: #667085;
}

.bottomTrustMiniStats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.trustMiniBox {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 18px;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 6px;
}

.trustMiniBox strong {
  font-size: 13px;
  color: #0f172a;
  font-weight: 900;
}

.trustMiniBox span {
  margin-top: 4px;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.bottomTrustLogoGrid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bottomTrustLogoItem {
  height: 74px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.bottomTrustLogoItem img {
  max-width: 100%;
  max-height: 38px;
  object-fit: contain;
  display: block;
}

/* mobile */
@media (max-width: 420px) {

  .bottomTrustArchInner {
    padding: 30px 12px 16px;
    border-radius: 28px;
  }

  .archTopPeak {
    width: 78px;
    height: 78px;
    top: 10px;
  }

  .bottomTrustBadge {
    font-size: 11px;
    padding: 9px 16px;
    margin-bottom: 14px;
  }

  .bottomTrustTitle {
    font-size: 20px;
  }

  .bottomTrustSub {
    font-size: 12.5px;
    max-width: 250px;
  }

  .trustMiniBox {
    min-height: 68px;
    border-radius: 16px;
  }

  .trustMiniBox strong {
    font-size: 12px;
  }

  .trustMiniBox span {
    font-size: 9.5px;
  }

  .bottomTrustLogoItem {
    height: 68px;
    border-radius: 16px;
    padding: 8px;
  }

  .bottomTrustLogoItem img {
    max-height: 32px;
  }
}
