/* ==========================================================================
   MISTER FAST — MODULAR DESIGN COMPONENTS SYSTEM V1.0
   Unified styles for Menus, Icons, Heroes, Content Layouts, Cards, and Grids
   ========================================================================== */

/* ── 1. HEADER & MENU STYLES ─────────────────────────────────────────── */
.mf-comp-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  background: #003DA5;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 30, 85, 0.2);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: visible;
}

.mf-comp-header-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mf-comp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
  flex-shrink: 0;
}
.mf-comp-brand-logo img {
  display: block;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.mf-comp-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.mf-comp-brand-name b {
  color: #FFC400;
}

.mf-comp-nav-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.mf-comp-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mf-comp-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.mf-comp-nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}
.mf-comp-nav-link.is-active {
  background: #FFC400;
  color: #002B75;
  font-weight: 800;
}

.mf-nav-badge {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  line-height: 1;
}

/* User & Action Buttons */
.mf-comp-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mf-comp-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFC400;
  color: #002B75;
  padding: 8px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(255, 196, 0, 0.3);
}
.mf-comp-login-btn:hover {
  background: #FFD100;
  transform: translateY(-1px);
}

.mf-comp-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.mf-comp-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFC400;
  color: #002B75;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}

/* ── MEGA MENU VARIANT ────────────────────────────────────────────────── */
.mf-mega-trigger-wrap {
  position: relative;
}
.mf-mega-trigger-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.mf-mega-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mf-mega-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  width: 880px;
  max-width: 95vw;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 30, 80, 0.25);
  border: 1px solid #E2E8F0;
  padding: 24px;
  display: none;
  z-index: 1000000;
  animation: mfMegaFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mf-mega-dropdown-panel.is-open {
  display: block;
}
@keyframes mfMegaFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mf-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mf-mega-col-title {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 2px solid #F1F5F9;
}
.mf-mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf-mega-item-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #1E293B;
  transition: all 0.15s ease;
}
.mf-mega-item-link:hover {
  background: #EEF4FF;
  color: #003DA5;
}
.mf-mega-item-icon {
  font-size: 18px;
  line-height: 1;
}
.mf-mega-item-name {
  font-size: 13px;
  font-weight: 700;
}
.mf-mega-item-desc {
  font-size: 11px;
  color: #64748B;
  margin-top: 2px;
  line-height: 1.35;
}

/* ── SIDE NAVIGATION VARIANT ──────────────────────────────────────────── */
.mf-comp-hamburger-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-comp-hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mf-side-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.mf-side-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mf-side-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #FFFFFF;
  color: #0F172A;
  z-index: 999999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.25);
}
.mf-side-nav-drawer.is-open {
  transform: translateX(0);
}

.mf-side-nav-header {
  padding: 18px 20px;
  background: #003DA5;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mf-side-nav-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mf-side-nav-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.mf-side-nav-section-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.mf-side-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mf-side-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #1E293B;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s ease;
}
.mf-side-nav-link:hover {
  background: #F1F5F9;
  color: #003DA5;
}
.mf-side-nav-link.is-active {
  background: #EEF4FF;
  color: #003DA5;
  font-weight: 800;
}
.mf-side-group-title {
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  margin: 10px 0 6px 0;
}
.mf-side-group-sublink {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: #64748B;
  text-decoration: none;
  border-radius: 8px;
}
.mf-side-group-sublink:hover {
  background: #F8FAFC;
  color: #003DA5;
}

/* ── BOTTOM NAVIGATION (MOBILE) ───────────────────────────────────────── */
.mf-bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 99990;
  padding: 0 8px;
}
.mf-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #64748B;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  flex: 1;
  height: 100%;
  transition: color 0.15s ease;
}
.mf-bottom-nav-item.is-active,
.mf-bottom-nav-item:hover {
  color: #003DA5;
}
.mf-bottom-icon {
  font-size: 20px;
  line-height: 1;
}

/* ── ICON NAVIGATION VARIANT ──────────────────────────────────────────── */
.mf-icon-nav-scroll-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}
.mf-icon-nav-scroll-bar::-webkit-scrollbar { display: none; }
.mf-icon-nav-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  text-decoration: none;
  min-width: 64px;
  transition: all 0.2s ease;
}
.mf-icon-nav-tile:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.mf-icon-nav-tile.is-active {
  background: #FFC400;
  color: #002B75;
}
.mf-icon-nav-label {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── 2. ICON FORMATTER STYLES ─────────────────────────────────────────── */
.mf-comp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.mf-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 61, 165, 0.08);
  color: #003DA5;
}
.mf-comp-header .mf-icon-circle {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
}

.mf-icon-square {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #F1F5F9;
  color: #003DA5;
}
.mf-comp-header .mf-icon-square {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
}

.mf-icon-outline {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid #003DA5;
  background: transparent;
  color: #003DA5;
}
.mf-comp-header .mf-icon-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
}

.mf-icon-filled {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #003DA5;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 61, 165, 0.25);
}

.mf-icon-with-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #EEF4FF;
  position: relative;
}
.mf-icon-badge-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DC2626;
  border: 1.5px solid #FFFFFF;
}

/* ── 3. HERO COMPONENT STYLES ─────────────────────────────────────────── */
.mf-comp-hero {
  position: relative;
  z-index: 10;
  width: calc(100% - 32px);
  max-width: 1560px;
  margin: 16px auto 24px auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 30, 80, 0.08);
}

/* Hero Slider */
.mf-hero-slider {
  position: relative;
  background: #001E4F;
  min-height: 440px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.mf-slider-container {
  position: relative;
  width: 100%;
  min-height: 440px;
}
.mf-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  align-items: center;
}
.mf-slide-item.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.mf-slide-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 6s ease;
}
.mf-slide-item.is-active .mf-slide-backdrop {
  transform: scale(1);
}
.mf-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 20, 60, 0.88) 0%, rgba(0, 30, 80, 0.6) 60%, rgba(0, 30, 80, 0.2) 100%);
}
.mf-slide-content {
  position: relative;
  z-index: 3;
  padding: 40px 60px;
  max-width: 680px;
  color: #FFFFFF;
}

/* Hero Buttons & Common Typography */
.mf-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFC400;
  margin-bottom: 8px;
}
.mf-hero-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 12px 0;
  color: #FFFFFF;
}
.mf-hero-body {
  font-size: 15px;
  color: #E2E8F0;
  line-height: 1.6;
  margin: 0 0 24px 0;
}
.mf-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.mf-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mf-hero-btn-primary {
  background: #FFC400;
  color: #002B75;
  box-shadow: 0 4px 16px rgba(255, 196, 0, 0.35);
}
.mf-hero-btn-primary:hover {
  background: #FFD100;
  transform: translateY(-2px);
}
.mf-hero-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.mf-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mf-slider-nav {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mf-slider-arrow {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 14px;
}
.mf-slider-dots {
  display: flex;
  gap: 6px;
}
.mf-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mf-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: #FFC400;
}

/* Single Banner Hero */
.mf-hero-single-banner {
  background: linear-gradient(135deg, #001E4F 0%, #003DA5 100%);
  padding: 50px 60px;
  color: #FFFFFF;
}
.mf-hero-tracking-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  max-width: 540px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 6px 8px 6px 16px;
}
.mf-hero-tracking-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 14px;
}
.mf-hero-tracking-bar input::placeholder { color: #CBD5E1; }
.mf-hero-tracking-bar button {
  background: #FFC400;
  color: #002B75;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

/* Split Hero (2-Column) */
.mf-hero-split {
  background: #0F172A;
  color: #FFFFFF;
  padding: 40px;
}
.mf-split-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.mf-split-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.mf-split-kpi-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
}
.mf-split-kpi-val { font-size: 20px; font-weight: 900; color: #FFC400; }
.mf-split-kpi-lbl { font-size: 11px; color: #94A3B8; margin-top: 2px; }

.mf-split-quick-console {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.mf-console-title { font-size: 16px; font-weight: 800; margin: 0 0 16px 0; color: #FFC400; }
.mf-console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mf-console-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.15s ease;
}
.mf-console-card:hover {
  background: #003DA5;
  border-color: #FFC400;
  transform: translateY(-2px);
}
.mf-console-icon { font-size: 24px; }
.mf-console-text b { display: block; font-size: 13px; }
.mf-console-text small { display: block; font-size: 10.5px; color: #94A3B8; }

/* Full Image Hero */
.mf-hero-full-image {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  position: relative;
}
.mf-full-image-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 20, 60, 0.7) 0%, rgba(0, 10, 40, 0.92) 100%);
}
.mf-full-image-inner {
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 800px;
}
.mf-hero-title-giant { font-size: 44px; font-weight: 900; margin: 12px 0 16px 0; line-height: 1.15; }
.mf-hero-desc-large { font-size: 16px; color: #E2E8F0; line-height: 1.6; margin-bottom: 28px; }
.mf-hero-btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

/* Card Hero Layout */
.mf-hero-card-layout {
  background: #F1F5F9;
  padding: 30px;
}
.mf-card-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
}
.mf-card-hero-main-card {
  background: #003DA5;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 61, 165, 0.2);
}
.mf-card-hero-floating-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mf-floating-stat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.mf-stat-number { font-size: 26px; font-weight: 900; color: #003DA5; }
.mf-stat-label { font-size: 13px; font-weight: 800; color: #0F172A; margin-top: 4px; }
.mf-stat-sub { font-size: 11px; color: #64748B; margin-top: 2px; }

/* ── 4. CARD COMPONENT STYLES ─────────────────────────────────────────── */
.mf-comp-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.mf-comp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 30, 80, 0.12);
  border-color: #003DA5;
}

.mf-card-badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #003DA5;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  z-index: 5;
}
.mf-badge-food { background: #DC2626; }

.mf-card-image-wrap {
  width: 100%;
  height: 160px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.mf-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-card-img-placeholder { font-size: 48px; }

.mf-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mf-card-title {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
}
.mf-card-title a { color: inherit; text-decoration: none; }
.mf-card-sub {
  margin: 0 0 14px 0;
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.5;
}

.mf-card-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.mf-card-price-current { font-size: 18px; font-weight: 900; color: #003DA5; }
.mf-card-price-original { font-size: 13px; color: #94A3B8; text-decoration: line-through; }

.mf-card-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #003DA5;
  color: #FFFFFF;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease;
}
.mf-card-btn-action:hover { background: #002B75; }
.mf-btn-food { background: #DC2626; }
.mf-btn-food:hover { background: #B91C1C; }

/* Horizontal Card */
.mf-card-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px 20px;
  gap: 16px;
}
.mf-card-horiz-right { flex: 1; }
.mf-card-link-inline {
  color: #003DA5;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

/* Compact Card */
.mf-card-compact {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 14px;
  gap: 12px;
  text-decoration: none;
  border-radius: 12px;
}
.mf-compact-text b { display: block; font-size: 13px; color: #0F172A; }
.mf-compact-text small { display: block; font-size: 11px; color: #64748B; }
.mf-compact-arrow { margin-left: auto; font-size: 16px; color: #94A3B8; font-weight: 800; }

/* Featured Card */
.mf-card-featured {
  border: 2px solid #FFC400;
  box-shadow: 0 8px 24px rgba(255, 196, 0, 0.2);
}
.mf-featured-ribbon {
  background: #FFC400;
  color: #002B75;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  text-align: center;
}
.mf-btn-featured { background: #FFC400; color: #002B75; }
.mf-btn-featured:hover { background: #FFD100; }

/* ── 5. CONTENT LAYOUTS & GRIDS ───────────────────────────────────────── */
.mf-layout-grid-container {
  display: grid;
  gap: 20px;
  margin: 20px 0 40px 0;
}
.mf-grid-1col { grid-template-columns: 1fr; }
.mf-grid-2col { grid-template-columns: repeat(2, 1fr); }
.mf-grid-3col { grid-template-columns: repeat(3, 1fr); }
.mf-grid-4col { grid-template-columns: repeat(4, 1fr); }

.mf-layout-list-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 40px 0;
}

.mf-layout-magazine-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin: 20px 0 40px 0;
}
.mf-magazine-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mf-layout-dashboard-container {
  margin: 20px 0 40px 0;
}
.mf-dash-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.mf-dash-metric-card {
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 16px;
  padding: 16px 20px;
}
.mf-dash-metric-val { font-size: 22px; font-weight: 900; color: #FFC400; display: block; }
.mf-dash-metric-lbl { font-size: 12px; color: #94A3B8; margin-top: 4px; display: block; }

.mf-layout-block-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 20px 0 40px 0;
}
.mf-block-section-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 30px;
}
.mf-block-section-card.is-reversed {
  direction: rtl;
}
.mf-block-section-card.is-reversed > * {
  direction: ltr;
}
.mf-block-num {
  font-size: 32px;
  font-weight: 900;
  color: #CBD5E1;
  display: block;
  margin-bottom: 4px;
}
.mf-block-title { font-size: 22px; font-weight: 800; margin: 0 0 10px 0; color: #0F172A; }
.mf-block-desc { font-size: 14px; color: #64748B; line-height: 1.6; margin-bottom: 18px; }

/* ── 6. TYPOGRAPHY & ALIGNMENT HELPERS ────────────────────────────────── */
.mf-text-align-left { text-align: left; }
.mf-text-align-center { text-align: center; }
.mf-text-align-right { text-align: right; }
.mf-text-align-center .mf-card-title,
.mf-text-align-center .mf-card-sub,
.mf-text-align-center .mf-card-price-row {
  justify-content: center;
}

.mf-heading-md .mf-card-title { font-size: 15px; }
.mf-heading-lg .mf-card-title { font-size: 17px; }
.mf-heading-xl .mf-card-title { font-size: 19px; }
.mf-heading-2xl .mf-card-title { font-size: 22px; }

.mf-font-weight-500 .mf-card-title { font-weight: 500; }
.mf-font-weight-600 .mf-card-title { font-weight: 600; }
.mf-font-weight-700 .mf-card-title { font-weight: 700; }
.mf-font-weight-800 .mf-card-title { font-weight: 800; }

/* ── 7. RESPONSIVE BREAKPOINTS ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mf-grid-4col { grid-template-columns: repeat(2, 1fr); }
  .mf-grid-3col { grid-template-columns: repeat(2, 1fr); }
  .mf-split-hero-inner { grid-template-columns: 1fr; }
  .mf-card-hero-inner { grid-template-columns: 1fr; }
  .mf-layout-magazine-container { grid-template-columns: 1fr; }
  .mf-mega-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mf-comp-nav-links { display: none; }
  .mf-mega-trigger-wrap { display: none; }
  .mf-grid-2col, .mf-grid-3col, .mf-grid-4col { grid-template-columns: 1fr; }
  .mf-slide-content { padding: 30px 20px; }
  .mf-hero-title { font-size: 26px; }
  .mf-hero-title-giant { font-size: 28px; }
  .mf-block-section-card { grid-template-columns: 1fr; }
  .mf-dash-metric-strip { grid-template-columns: 1fr; }
  .mf-split-kpi-row { grid-template-columns: 1fr 1fr; }
}



/* ── 8. FASTMALL SHOPPING MARKETPLACE COMPONENTS ── */
/**
 * MISTER FAST — SHOPPING MARKETPLACE V1.1.1 CSS
 * Visual Baseline: Approved Marketplace Mockup (media_1789301240753.jpg)
 * Colors: #003DA5 (Blue), #001E4F (Navy), #FFC400 (Yellow), #FFFFFF (White)
 * Typography: 'Prompt', 'Kanit', sans-serif
 */

:root {
  --mf-blue: #003DA5;
  --mf-blue-dark: #002D7A;
  --mf-blue-light: #EFF6FF;
  --mf-navy: #001E4F;
  --mf-yellow: #FFC400;
  --mf-yellow-hover: #E5B000;
  --mf-bg: #F4F7FC;
  --mf-card-bg: #FFFFFF;
  --mf-border: #E2E8F0;
  --mf-text-main: #0F172A;
  --mf-text-muted: #64748B;
  --mf-radius-sm: 10px;
  --mf-radius-md: 16px;
  --mf-radius-lg: 22px;
  --mf-shadow-sm: 0 2px 8px rgba(0, 30, 79, 0.04);
  --mf-shadow-md: 0 8px 24px rgba(0, 30, 79, 0.08);
  --mf-shadow-lg: 0 16px 40px rgba(0, 61, 165, 0.14);
}

.mf-shopping-page {
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--mf-bg);
  color: var(--mf-text-main);
  line-height: 1.5;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
  padding-bottom: 50px;
}

.mf-shopping-page * {
  box-sizing: border-box;
}

.mf-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. HERO SECTION (APPROVED IMAGE WITH CONTROLLED OVERLAY)
   ========================================================================== */
.mf-hero-section {
  position: relative;
  background-color: #001E4F;
  background-image: 
    linear-gradient(
      90deg,
      rgba(0, 30, 79, 0.92) 0%,
      rgba(0, 61, 165, 0.75) 42%,
      rgba(0, 61, 165, 0.20) 70%,
      rgba(0, 0, 0, 0) 100%
    ),
    url('../images/shopping/misterfast_fastmall_showcase.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: #FFFFFF;
  padding: 52px 0 60px 0;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 3px solid var(--mf-yellow);
}

.mf-hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.10) 0%, rgba(0, 61, 165, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mf-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.mf-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mf-hero-tag-logo {
  background: var(--mf-yellow);
  color: var(--mf-navy);
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.mf-hero-title {
  font-family: 'Kanit', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mf-hero-sub {
  font-size: 16px;
  color: #E2E8F0;
  margin: 0 0 26px 0;
  line-height: 1.6;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.mf-hero-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-bottom: 32px;
}

.mf-hero-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mf-check-circle {
  width: 20px;
  height: 20px;
  background: var(--mf-yellow);
  color: var(--mf-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.mf-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mf-yellow);
  color: var(--mf-navy);
  font-family: 'Kanit', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.4);
  transition: all 0.2s ease;
}

.mf-hero-cta-btn:hover {
  background: var(--mf-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 196, 0, 0.55);
}

/* Floating Card on Right */
.mf-hero-floating-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--mf-radius-lg);
  padding: 26px 30px;
  color: var(--mf-text-main);
  box-shadow: var(--mf-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  max-width: 380px;
  margin-left: auto;
}

.mf-floating-card-title {
  font-family: 'Kanit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--mf-navy);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mf-floating-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mf-floating-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.mf-floating-check {
  width: 22px;
  height: 22px;
  background: var(--mf-blue-light);
  color: var(--mf-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   2. SEARCH WORKSPACE
   ========================================================================= */
.mf-shop-workspace {
  background: #FFFFFF;
  border-bottom: 1px solid var(--mf-border);
  padding: 16px 0 12px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 76px;
  z-index: 80;
}

.mf-workspace-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mf-search-form-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 720px;
  background: #F8FAFC;
  border: 1.5px solid var(--mf-border);
  border-radius: 999px;
  padding: 4px 6px 4px 18px;
  transition: all 0.2s ease;
}

.mf-search-form-wrap:focus-within {
  background: #FFFFFF;
  border-color: var(--mf-blue);
  box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.12);
}

.mf-cat-select {
  border: none;
  background: transparent;
  font-family: 'Prompt', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  padding-right: 14px;
  margin-right: 12px;
  border-right: 1.5px solid #CBD5E1;
  outline: none;
  cursor: pointer;
  max-width: 170px;
}

.mf-search-input {
  border: none;
  background: transparent;
  font-family: 'Prompt', sans-serif;
  font-size: 14.5px;
  color: var(--mf-text-main);
  flex: 1;
  outline: none;
  padding: 6px 8px;
  min-width: 0;
}

.mf-search-input::placeholder {
  color: #94A3B8;
}

.mf-search-btn {
  background: var(--mf-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.mf-search-btn:hover {
  background: var(--mf-blue-dark);
}

.mf-workspace-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.mf-cart-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  padding: 7px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--mf-blue);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.mf-cart-pill:hover {
  background: #DBEAFE;
  border-color: #93C5FD;
}

.mf-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.mf-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.mf-subnav-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid #F1F5F9;
  overflow-x: auto;
  scrollbar-width: none;
}
.mf-subnav-strip::-webkit-scrollbar {
  display: none;
}

.mf-subnav-link {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}

.mf-subnav-link:hover,
.mf-subnav-link.is-active {
  color: var(--mf-blue);
  font-weight: 700;
}

/* ==========================================================================
   3. CATEGORY STRIP
   ========================================================================== */
.mf-cat-section {
  padding: 28px 0 20px 0;
}

.mf-cat-grid {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mf-cat-grid::-webkit-scrollbar {
  display: none;
}

.mf-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 16px 12px;
  background: #FFFFFF;
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius-md);
  text-decoration: none;
  color: #334155;
  transition: all 0.2s ease;
  box-shadow: var(--mf-shadow-sm);
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mf-cat-item:hover {
  border-color: var(--mf-blue);
  transform: translateY(-2px);
  box-shadow: var(--mf-shadow-md);
  color: var(--mf-blue);
}

.mf-cat-item.is-active {
  background: var(--mf-blue);
  border-color: var(--mf-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 61, 165, 0.3);
}

.mf-cat-icon {
  font-size: 28px;
  margin-bottom: 6px;
  line-height: 1;
}

.mf-cat-label {
  font-family: 'Prompt', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   4. MID-PAGE 2-COLUMN FEATURE BANNERS (MALL + FOOD DELIVERY)
   ========================================================================== */
.mf-banner-section {
  padding: 10px 0 28px 0;
}

.mf-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mf-promo-card {
  border-radius: var(--mf-radius-lg);
  padding: 26px 30px;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  box-shadow: var(--mf-shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.mf-promo-card-mall {
  background-color: #002D7A;
  background-image: 
    linear-gradient(90deg, rgba(0, 30, 79, 0.94) 0%, rgba(0, 61, 165, 0.82) 55%, rgba(0, 61, 165, 0.25) 100%),
    url('../images/shopping/shopping-hero-fastmall.webp');
}

.mf-promo-card-food {
  background-color: #C2410C;
  background-image: 
    linear-gradient(90deg, rgba(194, 65, 12, 0.95) 0%, rgba(234, 88, 12, 0.85) 55%, rgba(245, 158, 11, 0.25) 100%),
    url('../images/shopping/shopping-hero-delivery.webp');
}

.mf-promo-tag {
  display: inline-block;
  font-family: 'Kanit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.mf-promo-title {
  font-family: 'Kanit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mf-promo-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 18px 0;
  max-width: 360px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.mf-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--mf-navy);
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s, background 0.15s;
}

.mf-promo-cta:hover {
  transform: translateY(-2px);
  background: #F8FAFC;
}

/* ==========================================================================
   5. PRODUCTS GRID & COMPACT EMPTY STATE
   ========================================================================== */
.mf-deals-section {
  padding: 10px 0 32px 0;
}

.mf-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mf-section-heading {
  font-family: 'Kanit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--mf-navy);
  margin: 0;
}

.mf-view-all-link {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--mf-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mf-view-all-link:hover {
  text-decoration: underline;
}

.mf-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}

.mf-product-card {
  background: #FFFFFF;
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius-md);
  padding: 14px;
  box-shadow: var(--mf-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.mf-product-card:hover {
  border-color: #BFDBFE;
  box-shadow: var(--mf-shadow-md);
  transform: translateY(-2px);
}

.mf-prod-thumb-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: #F8FAFC;
  border-radius: var(--mf-radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-prod-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}

.mf-product-card:hover .mf-prod-thumb {
  transform: scale(1.04);
}

.mf-prod-store {
  font-size: 11.5px;
  color: #64748B;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mf-prod-name {
  font-family: 'Prompt', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 10px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.mf-prod-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

.mf-prod-price-box {
  display: flex;
  flex-direction: column;
}

.mf-prod-price {
  font-family: 'Kanit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--mf-blue);
  line-height: 1;
}

.mf-prod-orig-price {
  font-size: 12px;
  color: #94A3B8;
  text-decoration: line-through;
}

.mf-prod-add-btn {
  background: #EFF6FF;
  color: var(--mf-blue);
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.mf-prod-add-btn:hover {
  background: var(--mf-blue);
  color: #FFFFFF;
  border-color: var(--mf-blue);
}

/* Compact Premium Empty State */
.mf-empty-box {
  background: #FFFFFF;
  border: 1.5px dashed #CBD5E1;
  border-radius: var(--mf-radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--mf-shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}

.mf-empty-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.mf-empty-title {
  font-family: 'Kanit', sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--mf-navy);
  margin: 0 0 6px 0;
}

.mf-empty-sub {
  font-size: 13.5px;
  color: #64748B;
  margin: 0 0 18px 0;
}

.mf-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mf-btn-primary-pill {
  background: var(--mf-blue);
  color: #FFFFFF;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
}

.mf-btn-primary-pill:hover {
  background: var(--mf-blue-dark);
}

.mf-btn-ghost-pill {
  background: #F1F5F9;
  color: #334155;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
}

.mf-btn-ghost-pill:hover {
  background: #E2E8F0;
}

/* ==========================================================================
   6. RECOMMENDED SHOPS
   ========================================================================== */
.mf-shops-section {
  padding: 20px 0;
}

.mf-shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.mf-shop-card {
  background: #FFFFFF;
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius-md);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--mf-shadow-sm);
  transition: all 0.2s ease;
}

.mf-shop-card:hover {
  border-color: #BFDBFE;
  box-shadow: var(--mf-shadow-md);
  transform: translateY(-2px);
}

.mf-shop-avatar {
  width: 56px;
  height: 56px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  border-radius: 50%;
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.mf-shop-name {
  font-family: 'Kanit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mf-navy);
  margin: 0 0 4px 0;
}

.mf-shop-type {
  font-size: 12px;
  color: #64748B;
  margin: 0;
  line-height: 1.35;
}

/* ==========================================================================
   7. FOUR-PILLAR TRUST BAR (GROUNDED)
   ========================================================================== */
.mf-trust-section {
  padding: 24px 0;
}

.mf-trust-box {
  background: #FFFFFF;
  border: 1px solid var(--mf-border);
  border-radius: var(--mf-radius-lg);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-shadow: var(--mf-shadow-sm);
}

.mf-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mf-trust-icon-box {
  font-size: 28px;
  flex-shrink: 0;
}

.mf-trust-title {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--mf-navy);
  margin: 0 0 2px 0;
}

.mf-trust-desc {
  font-size: 12px;
  color: #64748B;
  margin: 0;
}

/* ==========================================================================
   8. NEWSLETTER / CONTACT BAR
   ========================================================================== */
.mf-newsletter-section {
  padding: 10px 0 30px 0;
}

.mf-newsletter-wrap {
  background: linear-gradient(135deg, #001E4F 0%, #003DA5 100%);
  border-radius: var(--mf-radius-lg);
  padding: 26px 36px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--mf-shadow-md);
}

.mf-newsletter-text h3 {
  font-family: 'Kanit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.mf-newsletter-text p {
  font-size: 13.5px;
  color: #CBD5E1;
  margin: 0;
}

.mf-newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 460px;
}

.mf-newsletter-input {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 10px 20px;
  font-family: 'Prompt', sans-serif;
  font-size: 14px;
  flex: 1;
  outline: none;
  min-width: 0;
}

.mf-newsletter-btn {
  background: var(--mf-yellow);
  color: var(--mf-navy);
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* Floating Chat */
.mf-float-chat {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--mf-blue);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 61, 165, 0.35);
  z-index: 999;
  transition: all 0.2s ease;
}

.mf-float-chat:hover {
  background: var(--mf-blue-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .mf-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mf-hero-floating-card {
    max-width: 100%;
    margin-left: 0;
  }
  .mf-banner-grid {
    grid-template-columns: 1fr;
  }
  .mf-trust-box {
    grid-template-columns: repeat(2, 1fr);
  }
  .mf-newsletter-wrap {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .mf-container {
    padding: 0 16px;
  }
  .mf-hero-section {
    padding: 32px 0 40px 0;
    min-height: auto;
    background-position: center right;
  }
  .mf-workspace-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .mf-search-form-wrap {
    max-width: 100%;
    padding: 2px 4px 2px 14px;
  }
  .mf-cat-select {
    display: none;
  }
  .mf-workspace-actions {
    justify-content: flex-end;
  }
  .mf-hero-title {
    font-size: 32px;
  }
  .mf-hero-check-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .mf-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .mf-trust-box {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .mf-hero-title {
    font-size: 28px;
  }
  .mf-hero-sub {
    font-size: 14px;
  }
  .mf-promo-card {
    padding: 22px;
  }
  .mf-promo-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   10. CORPORATE FOOTER BASE (SHARED FOOTER STYLES)
   ========================================================================== */
.mf-clean-footer {
  background: linear-gradient(180deg, #003F87 0%, #001E4F 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 60px 0 0 0;
  color: #FFFFFF;
  font-family: 'Prompt', sans-serif;
}

.mf-clean-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 48px;
}

.mf-clean-footer__col h4 {
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  letter-spacing: 0.2px;
}

.mf-clean-footer__col p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

.mf-clean-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mf-clean-footer__col ul li {
  margin-bottom: 10px;
}
.mf-clean-footer__col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mf-clean-footer__col ul li a:hover {
  color: #FFC400;
}

.mf-clean-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.mf-clean-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}
.mf-clean-footer-social a:hover {
  background: #FFC400;
  color: #001E4F;
  transform: translateY(-2px);
}

.mf-clean-footer-bottom-wrap {
  background: #001637;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  width: 100%;
}

.mf-clean-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  flex-wrap: wrap;
  gap: 12px;
}

.mf-clean-footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mf-clean-footer-bottom a:hover {
  color: #FFC400;
}

@media (max-width: 1024px) {
  .mf-clean-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mf-clean-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mf-clean-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .mf-clean-footer-bottom-wrap {
    padding-bottom: max(24px, calc(72px + env(safe-area-inset-bottom, 0px)));
  }
}

/* ==========================================================================
   FASTMALL MARKETPLACE V2.0 DESIGN SYSTEM EXTENSIONS
   ========================================================================== */

/* ── 1. HEADER V5 & SEARCH ─────────────────────────────────────────────── */
.mf-shop-header-v5 {
  background: #003DA5;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100000;
  box-shadow: 0 4px 20px rgba(0, 30, 85, 0.2);
}

.mf-header-top-bar {
  width: calc(100% - 32px);
  max-width: 1560px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mf-shop-brand-v5 {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
}

.mf-shop-logo-v5 {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFC400;
  color: #003DA5;
  display: grid;
  place-items: center;
  font-family: 'Kanit', sans-serif;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(255, 196, 0, 0.35);
  flex-shrink: 0;
}

.mf-shop-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mf-shop-brand-text strong {
  font-family: 'Kanit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.mf-shop-brand-text small {
  font-size: 11px;
  color: #FFC400;
  font-weight: 700;
}

.mf-header-search-wrap-desktop {
  flex: 1;
  max-width: 680px;
  display: block;
}

.mf-header-search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  width: 100%;
}

.mf-header-search-form input {
  flex: 1;
  border: 0;
  padding: 11px 16px;
  font-size: 14px;
  outline: none;
  color: #1e293b;
  min-width: 0;
  font-family: 'Prompt', sans-serif;
}

.mf-header-cat-select {
  border: 0;
  border-left: 1px solid #e2e8f0;
  padding: 11px 12px;
  font-size: 13px;
  color: #475569;
  background: #f8fafc;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  max-width: 140px;
  font-family: 'Prompt', sans-serif;
}

.mf-header-search-form button {
  border: 0;
  background: #FFC400;
  color: #003DA5;
  padding: 11px 20px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.15s ease;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mf-header-search-form button:hover {
  background: #ffd033;
}

.mf-header-user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mf-header-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mf-header-icon-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFC400;
}

.mf-link-icon {
  font-size: 16px;
}

.mf-header-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Prompt', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.mf-header-cart-btn:hover {
  background: #FFC400;
  color: #003DA5;
  border-color: #FFC400;
}

.mf-cart-icon-box {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mf-cart-badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #EF4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
  border: 2px solid #003DA5;
}

.mf-header-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.mf-user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFC400;
  color: #003DA5;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
}

.mf-header-login-btn {
  background: #FFC400;
  color: #003DA5;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mf-header-login-btn:hover {
  background: #ffd033;
}

/* ── 2. SUBNAV STRIP & CATEGORY MEGA DROPDOWN ────────────────────────── */
.mf-shopping-subnav-bar {
  background: #002D7A;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 99999;
}

.mf-subnav-container {
  width: calc(100% - 32px);
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mf-category-mega-dropdown-wrap {
  position: relative;
}

.mf-subnav-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFC400;
  color: #003DA5;
  border: 0;
  padding: 11px 20px;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mf-subnav-cat-btn:hover {
  background: #ffd033;
}

/* Mega Dropdown Panel: High Z-Index floats over Hero */
.mf-shop-mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 780px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 18px 50px rgba(0, 30, 85, 0.35);
  border: 1px solid #e2e8f0;
  border-top: 3px solid #FFC400;
  padding: 20px;
  z-index: 1000000;
}

.mf-shop-mega-dropdown.is-open {
  display: block;
  animation: mfMegaDropIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mfMegaDropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mf-shop-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.mf-shop-mega-head-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #003DA5;
}

.mf-shop-mega-all-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #003DA5;
  text-decoration: none;
  background: #EFF6FF;
  padding: 4px 12px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.mf-shop-mega-all-link:hover {
  background: #dbeafe;
}

.mf-shop-mega-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mf-shop-mega-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.mf-shop-mega-card:hover {
  background: #ffffff;
  border-color: #003DA5;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 61, 165, 0.1);
}

.mf-mega-circle-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #003DA5;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 61, 165, 0.08);
}

.mf-mega-cat-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 2px;
}

.mf-mega-cat-count {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.mf-shop-mega-extra-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.mf-extra-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
}

.mf-extra-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mf-extra-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mf-extra-chip:hover {
  background: #003DA5;
  color: #ffffff;
}

.mf-subnav-links-row {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  white-space: nowrap;
}

.mf-subnav-item {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.mf-subnav-item:hover,
.mf-subnav-item.is-active {
  color: #FFC400;
  background: rgba(255, 255, 255, 0.08);
}

/* ── 3. SHOPPING MARKETPLACE HERO ─────────────────────────────────────── */
.mf-shop-hero-marketplace {
  position: relative;
  background-color: #001E4F;
  background-image: 
    linear-gradient(
      90deg,
      rgba(0, 30, 79, 0.94) 0%,
      rgba(0, 61, 165, 0.85) 45%,
      rgba(0, 61, 165, 0.35) 75%,
      rgba(0, 30, 79, 0.60) 100%
    ),
    url('../images/shopping/misterfast_fastmall_showcase.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: #ffffff;
  padding: 48px 0 56px 0;
  overflow: hidden;
  border-bottom: 3px solid #FFC400;
}

.mf-shop-hero-glow {
  position: absolute;
  top: -20%;
  right: 15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.18) 0%, rgba(0, 61, 165, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mf-shop-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mf-shop-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.mf-pill-tag {
  background: #FFC400;
  color: #001E4F;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
}

.mf-shop-hero-heading {
  font-family: 'Kanit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.mf-highlight-yellow {
  color: #FFC400;
}

.mf-shop-hero-desc {
  font-size: 15.5px;
  color: #E2E8F0;
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 540px;
}

.mf-shop-hero-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin-bottom: 28px;
}

.mf-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.mf-perk-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFC400;
  color: #001E4F;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.mf-shop-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mf-shop-btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFC400;
  color: #001E4F;
  padding: 13px 26px;
  border-radius: 12px;
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.35);
  transition: all 0.2s ease;
}

.mf-shop-btn-yellow:hover {
  background: #ffd033;
  transform: translateY(-2px);
}

.mf-shop-btn-outline {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mf-shop-btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mf-hero-showcase-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
  padding: 20px;
  border: 2px solid #FFC400;
}

.mf-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 14px;
}

.mf-showcase-badge {
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #E11D48;
}

.mf-showcase-sub {
  font-size: 12px;
  font-weight: 800;
  background: #FFE4E6;
  color: #E11D48;
  padding: 3px 8px;
  border-radius: 999px;
}

.mf-showcase-products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mf-showcase-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  background: #f8fafc;
  transition: background 0.15s ease;
}

.mf-showcase-item:hover {
  background: #f1f5f9;
}

.mf-showcase-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mf-showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-showcase-details {
  flex: 1;
  min-width: 0;
}

.mf-showcase-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.mf-showcase-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mf-price-sale {
  font-size: 15px;
  font-weight: 900;
  color: #003DA5;
}

.mf-price-orig {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.mf-showcase-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #003DA5;
  color: #ffffff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s ease;
}

.mf-showcase-btn:hover {
  background: #FFC400;
  color: #003DA5;
}

.mf-showcase-footer {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #f1f5f9;
}

/* ── 4. CATEGORY CIRCLE GRID ──────────────────────────────────────────── */
.mf-circle-categories-section {
  padding: 32px 0 20px 0;
}

.mf-section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mf-section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #003DA5;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.mf-section-title-bold {
  font-family: 'Kanit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #0F172A;
  margin: 0;
}

.mf-view-all-text-link {
  color: #003DA5;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mf-view-all-text-link:hover {
  color: #FFC400;
}

.mf-circle-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}

.mf-circle-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 18px 10px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 30, 85, 0.03);
  transition: all 0.2s ease;
}

.mf-circle-cat-card:hover,
.mf-circle-cat-card.is-active {
  transform: translateY(-4px);
  border-color: #003DA5;
  box-shadow: 0 10px 24px rgba(0, 61, 165, 0.12);
}

.mf-circle-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #F0F7FF;
  border: 2px solid #003DA5;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 10px;
  transition: background 0.2s ease;
}

.mf-circle-cat-card:hover .mf-circle-icon-wrap,
.mf-circle-cat-card.is-active .mf-circle-icon-wrap {
  background: #FFC400;
  border-color: #FFC400;
}

.mf-circle-cat-name {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 3px;
}

.mf-circle-cat-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

/* ── 5. PROMOS BANNER STRIP ───────────────────────────────────────────── */
.mf-shop-promos-section {
  padding: 10px 0 28px 0;
}

.mf-promos-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mf-promo-banner-card {
  border-radius: 18px;
  padding: 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mf-promo-banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.mf-promo-banner-title {
  font-family: 'Kanit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.mf-promo-banner-sub {
  font-size: 13px;
  opacity: 0.9;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.mf-promo-banner-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mf-promo-code-pill {
  font-size: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
}

.mf-promo-banner-btn {
  background: #ffffff;
  color: #0F172A;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.mf-promo-banner-btn:hover {
  transform: scale(1.04);
}

/* ── 6. MARKETPLACE PRODUCT CARDS & 4-COL GRID ───────────────────────── */
.mf-marketplace-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mf-market-prod-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 30, 85, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.22s ease;
}

.mf-market-prod-card:hover {
  transform: translateY(-4px);
  border-color: #003DA5;
  box-shadow: 0 12px 30px rgba(0, 61, 165, 0.12);
}

.mf-prod-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: #003DA5;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mf-prod-badge-tag.is-discount {
  background: #E11D48;
}

.mf-prod-card-thumb-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.mf-prod-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mf-market-prod-card:hover .mf-prod-card-img {
  transform: scale(1.06);
}

.mf-prod-fallback-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 48px;
  color: #94a3b8;
}

.mf-prod-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mf-prod-store-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
}

.mf-prod-card-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}

.mf-prod-card-title a {
  color: #0f172a;
  text-decoration: none;
}

.mf-prod-card-title a:hover {
  color: #003DA5;
}

.mf-prod-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 12px;
}

.mf-stars-box {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #F59E0B;
  font-weight: 800;
}

.mf-dot-sep {
  color: #cbd5e1;
}

.mf-prod-price-strip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.mf-price-current-box {
  display: inline-flex;
  align-items: baseline;
  color: #003DA5;
  font-weight: 900;
}

.mf-currency {
  font-size: 14px;
  margin-right: 2px;
}

.mf-price-num {
  font-size: 22px;
  letter-spacing: -0.5px;
}

.mf-price-orig-num {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.mf-prod-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.mf-btn-add-cart {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #003DA5;
  color: #ffffff;
  border: 0;
  padding: 9px 12px;
  border-radius: 10px;
  font-family: 'Prompt', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mf-btn-add-cart:hover {
  background: #FFC400;
  color: #003DA5;
}

.mf-btn-quick-view {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #334155;
  display: grid;
  place-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.mf-btn-quick-view:hover {
  background: #e2e8f0;
  color: #003DA5;
}

/* ── 7. STORE SHOWCASE CARDS ─────────────────────────────────────────── */
.mf-marketplace-stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.mf-market-store-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 30, 85, 0.03);
  transition: all 0.2s ease;
}

.mf-market-store-card:hover {
  transform: translateY(-3px);
  border-color: #003DA5;
  box-shadow: 0 10px 24px rgba(0, 61, 165, 0.08);
}

.mf-store-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mf-store-avatar-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #dbeafe;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.mf-store-name-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.mf-store-desc-text {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.mf-store-rating-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 14px;
}

.mf-verified-tag {
  color: #059669;
  font-weight: 700;
}

.mf-btn-enter-store {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f8fafc;
  color: #003DA5;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.mf-btn-enter-store:hover {
  background: #003DA5;
  color: #ffffff;
  border-color: #003DA5;
}

/* ── 8. FOUR-PILLAR TRUST STRIP ───────────────────────────────────────── */
.mf-shop-trust-bar-section {
  padding: 32px 0 40px 0;
}

.mf-trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 30, 85, 0.04);
}

.mf-trust-strip-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mf-trust-glyph-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #dbeafe;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.mf-trust-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.mf-trust-card-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* ── 9. MINI CART DRAWER ──────────────────────────────────────────────── */
.mf-mini-cart-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 45, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000001;
}

.mf-mini-cart-backdrop.is-open {
  display: block;
}

.mf-mini-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: #ffffff;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.25);
  z-index: 1000002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-mini-cart-drawer.is-open {
  transform: translateX(0);
}

.mf-mini-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #003DA5;
  color: #ffffff;
}

.mf-mini-cart-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
}

.mf-mini-cart-close {
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.mf-mini-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.mf-mini-cart-empty {
  text-align: center;
  padding: 40px 10px;
  color: #64748b;
}

.mf-empty-cart-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.mf-mini-cart-empty h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.mf-mini-cart-empty p {
  font-size: 13px;
  margin: 0;
}

.mf-mini-cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mf-mini-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.mf-mini-item-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mf-mini-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-mini-item-info {
  flex: 1;
  min-width: 0;
}

.mf-mini-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.mf-mini-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.mf-mini-qty {
  color: #64748b;
}

.mf-mini-price {
  font-weight: 800;
  color: #003DA5;
}

.mf-mini-cart-footer {
  padding: 18px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.mf-mini-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
}

.mf-mini-subtotal-val {
  font-size: 20px;
  font-weight: 900;
  color: #003DA5;
}

.mf-mini-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mf-btn-view-full-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #003DA5;
  border: 1px solid #003DA5;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.mf-btn-checkout-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFC400;
  color: #003DA5;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

/* ── 10. MOBILE FLOATING BOTTOM CART BAR ───────────────────────────────── */
.mf-mobile-bottom-cart-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #003DA5;
  color: #ffffff;
  padding: 10px 16px max(10px, env(safe-area-inset-bottom, 10px)) 16px;
  box-shadow: 0 -4px 20px rgba(0, 30, 85, 0.25);
  z-index: 99998;
  align-items: center;
  justify-content: space-between;
}

.mf-mob-cart-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
}

.mf-mob-cart-icon-wrap {
  position: relative;
}

.mf-mob-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #EF4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 999px;
  border: 2px solid #003DA5;
}

.mf-mob-cart-text {
  display: flex;
  flex-direction: column;
}

.mf-mob-cart-title {
  font-size: 11px;
  color: #FFC400;
  font-weight: 700;
}

.mf-mob-cart-total {
  font-size: 15px;
  font-weight: 900;
}

.mf-mob-checkout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFC400;
  color: #003DA5;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 900;
  text-decoration: none;
}

/* ── 11. RESPONSIVE BREAKPOINTS (1440px, 1024px, 768px, 390px, 360px) ─ */
@media (max-width: 1200px) {
  .mf-marketplace-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mf-shop-mega-dropdown {
    width: 680px;
  }
  .mf-shop-mega-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .mf-shop-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mf-shop-hero-showcase {
    max-width: 500px;
  }
  .mf-promos-banner-grid {
    grid-template-columns: 1fr;
  }
  .mf-trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mf-shop-mega-dropdown {
    width: calc(100vw - 32px);
    max-width: 540px;
  }
}

@media (max-width: 768px) {
  .mf-header-search-wrap-desktop {
    display: none;
  }
  .mf-header-top-bar {
    padding: 8px 0;
  }
  .mf-shop-hero-heading {
    font-size: 30px;
  }
  .mf-circle-categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
  .mf-circle-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  .mf-circle-cat-name {
    font-size: 11.5px;
  }
  .mf-marketplace-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .mf-prod-card-body {
    padding: 12px;
  }
  .mf-prod-card-title {
    font-size: 13px;
    height: 34px;
  }
  .mf-price-num {
    font-size: 18px;
  }
  .mf-trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .mf-mobile-bottom-cart-bar {
    display: flex;
  }
  .mf-shopping-page {
    padding-bottom: 80px;
  }
  .mf-shop-mega-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .mf-marketplace-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .mf-prod-card-body {
    padding: 10px;
  }
  .mf-btn-add-cart span {
    font-size: 11.5px;
  }
  .mf-shop-hero-perks {
    grid-template-columns: 1fr;
  }
}

/* ── 12. HERO QUICK TRACKING BAR ─────────────────────────────────────── */
.mf-hero-quick-track-box {
  margin-top: 24px;
  max-width: 540px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mf-hero-track-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.mf-hero-track-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
}

.mf-hero-track-icon {
  font-size: 16px;
}

.mf-hero-track-input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  color: #0F172A;
  background: transparent;
}

.mf-hero-track-input-wrap input::placeholder {
  color: #94A3B8;
}

.mf-hero-track-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFC400;
  color: #003DA5;
  border: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.mf-hero-track-submit-btn:hover {
  background: #E5B000;
  transform: translateY(-1px);
}

@media (max-width: 580px) {
  .mf-hero-track-form {
    flex-direction: column;
  }
  .mf-hero-track-input-wrap {
    width: 100%;
  }
  .mf-hero-track-submit-btn {
    width: 100%;
    justify-content: center;
  }
}