/**
 * MISTER FAST — WEB TEMPLATES MASTER DESIGN SYSTEM V2.5
 * Fully supports 5 Distinct Website Templates with 100% matched HTML classes:
 * 1. Yellow Navy Commerce (Default)
 * 2. Logistics Delivery (Fleet Command)
 * 3. Shopping Marketplace (FastMall)
 * 4. Food Delivery (Food & Restaurant)
 * 5. Clean Corporate (Enterprise B2B)
 */

/* ==========================================================================
   GLOBAL UTILITIES, RESET & CONTAINER
   ========================================================================== */
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* ==========================================================================
   1. THEME: YELLOW NAVY COMMERCE (DEFAULT MISTER FAST)
   ========================================================================== */
.mf-theme-yellow-navy {
  --mf-primary: #003DA5;
  --mf-primary-dark: #002466;
  --mf-primary-light: #E6EEFA;
  --mf-secondary: #FFC400;
  --mf-secondary-hover: #FFD633;
  --mf-accent: #001E4F;
  --mf-bg-light: #F4F7FB;
  --mf-surface: #FFFFFF;
  --mf-text-main: #0F172A;
  --mf-text-muted: #64748B;
  --mf-border: #E2E8F0;
  --mf-font-heading: 'Prompt', sans-serif;
  --mf-font-body: 'Kanit', sans-serif;
  --mf-radius: 16px;
}

/* ── 1.1 Yellow Navy Header ────────────────────────────────────────────── */
.mf-tpl-yn-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 30, 79, 0.06);
  border-bottom: 1px solid #EEF2F6;
  transition: all 0.2s ease;
}

.mf-clean-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  padding: 0 28px;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.mf-clean-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.mf-clean-brand__symbol img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.mf-clean-brand__name {
  font-family: 'Prompt', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #003DA5;
  letter-spacing: -0.5px;
}

.mf-clean-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mf-clean-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease;
}

.mf-clean-nav a .mf-nav-icon {
  margin-bottom: 4px;
  transition: transform 0.2s ease;
}

.mf-clean-nav a .mf-nav-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.mf-clean-nav a .mf-nav-label {
  font-family: 'Kanit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.mf-clean-nav a:hover {
  background: #F4F8FF;
}

.mf-clean-nav a:hover .mf-nav-label {
  color: #003DA5;
}

.mf-clean-nav a:hover .mf-nav-icon {
  transform: translateY(-2px);
}

.mf-clean-nav a.is-active .mf-nav-label {
  color: #003DA5;
  font-weight: 800;
}

.mf-clean-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 14px;
  right: 14px;
  height: 3.5px;
  background: #003DA5;
  border-radius: 999px;
}

.mf-clean-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid #E2E8F0;
  height: 48px;
  flex-shrink: 0;
}

.mf-clean-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #003DA5;
  color: #FFFFFF;
  padding: 9px 20px;
  border-radius: 999px;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mf-clean-btn-login:hover {
  background: #002466;
  box-shadow: 0 4px 14px rgba(0, 61, 165, 0.35);
  transform: translateY(-1px);
}

.mf-clean-btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mf-clean-btn-portal:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.mf-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #003DA5;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.mf-user-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mf-user-meta small {
  font-size: 10px;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
}

.mf-user-meta b {
  font-size: 13px;
  color: #0F172A;
}

/* ── 1.2 Yellow Navy Hero (Single-Slide Viewport & Track) ──────────────── */
.mf-clean-hero {
  position: relative;
  width: 100%;
  background: #001E4F;
  font-family: 'Prompt', 'Kanit', sans-serif;
  overflow: hidden;
}

.mf-clean-hero__viewport {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
}

.mf-clean-hero__track {
  position: relative;
  width: 100%;
  min-height: 520px;
}

/* Hidden by default so inactive slides take 0 height and 0 opacity */
.mf-clean-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 520px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* Only active slide is rendered and visible */
.mf-clean-hero__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.mf-clean-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 30, 80, 0.94) 0%, rgba(0, 61, 165, 0.82) 44%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.mf-clean-hero__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 50px 24px 70px 24px;
  box-sizing: border-box;
}

.mf-clean-hero__content {
  max-width: 620px;
  color: #FFFFFF;
}

.mf-clean-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFC400;
  color: #001E4F;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mf-clean-hero__title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  color: #FFFFFF;
  margin: 0 0 14px 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.mf-clean-hero__sub {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  color: #F1F5F9;
  margin: 0 0 26px 0;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

.mf-clean-hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.mf-clean-hero__cta a.mf-btn-primary {
  background: #FFC400;
  color: #001E4F;
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 196, 0, 0.4);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.mf-clean-hero__cta a.mf-btn-primary:hover {
  background: #FFD633;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.5);
}

.mf-clean-hero__cta a.mf-btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.mf-clean-hero__cta a.mf-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}


/* ── 1.2.1 Yellow Navy Hero Navigation Dots ────────────────────────────── */
.mf-clean-hero__dots {
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
  align-items: center;
}

.mf-clean-hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.mf-clean-hero__dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.mf-clean-hero__dot.is-active {
  background: #FFC400;
  border-color: #FFC400;
  width: 32px;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 196, 0, 0.6);
}

/* ── 1.3 Yellow Navy Quick Service Dock ────────────────────────────────── */
.mf-clean-quick-service-wrap {
  position: relative;
  z-index: 10;
  margin-top: -42px;
  padding-bottom: 28px;
}

.mf-clean-quick-service-bar {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  box-shadow: 0 12px 36px rgba(0, 30, 80, 0.12);
  border: 1px solid #E2E8F0;
  align-items: center;
}

.mf-qs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #0F172A;
  text-align: center;
  gap: 8px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.mf-qs-item:hover {
  transform: translateY(-4px);
  color: #003DA5;
}

.mf-qs-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #F4F7FB;
  border: 2px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.mf-qs-item:hover .mf-qs-icon {
  background: #FFC400;
  border-color: #FFC400;
  box-shadow: 0 6px 18px rgba(255, 196, 0, 0.4);
}

.mf-qs-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mf-qs-item b {
  font-family: 'Kanit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
}

/* ── 1.4 Yellow Navy Footer ────────────────────────────────────────────── */
.mf-tpl-yn-footer {
  background: #0B1E38;
  color: #FFFFFF;
  padding-top: 54px;
  margin-top: 50px;
}

.mf-clean-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 40px;
}

.mf-clean-footer__col h4 {
  font-family: 'Prompt', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #FFC400;
  margin: 0 0 16px 0;
}

.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 {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.mf-clean-footer__col ul li a:hover {
  color: #FFC400;
}

.mf-clean-footer-bottom-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  background: #071529;
}

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

.mf-clean-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-left: 18px;
}
.mf-clean-footer-links a:hover {
  color: #FFC400;
}

/* ==========================================================================
   2. THEME: LOGISTICS DELIVERY (FLEET COMMAND DASHBOARD)
   ========================================================================== */
.mf-theme-logistics-delivery {
  --mf-primary: #002D7A;
  --mf-primary-dark: #001744;
  --mf-primary-light: #E0F2FE;
  --mf-secondary: #00E5FF;
  --mf-secondary-hover: #00B4D8;
  --mf-accent: #FFC400;
  --mf-bg-light: #F0F4F8;
  --mf-surface: #FFFFFF;
  --mf-text-main: #0A192F;
  --mf-text-muted: #4A5D78;
  --mf-border: #CBD5E1;
  --mf-font-heading: 'Prompt', sans-serif;
  --mf-font-body: 'Kanit', sans-serif;
  --mf-radius: 12px;
}

.mf-tpl-logistics-header {
  background: #001744;
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #00E5FF;
  box-shadow: 0 4px 20px rgba(0, 23, 68, 0.4);
}
.mf-logistics-topstrip {
  background: #000F2E;
  padding: 6px 0;
  font-size: 12px;
  color: #94A3B8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mf-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 10px #00E5FF;
  margin-right: 6px;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.6; transform: scale(0.9); }
}
.mf-logistics-navbar {
  padding: 12px 0;
}
.mf-logistics-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
}
.mf-logistics-brand strong {
  font-family: 'Prompt', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: block;
}
.mf-logistics-brand small {
  color: #00E5FF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}
.mf-logistics-navlinks {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mf-logistics-navlinks a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.mf-logistics-navlinks a:hover,
.mf-logistics-navlinks a.active {
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.1);
}
.mf-logistics-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mf-btn-track-fast {
  background: #00E5FF;
  color: #001744;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.mf-btn-track-fast:hover {
  background: #38BDF8;
}
.mf-btn-logistics-login {
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}

.mf-tpl-logistics-hero {
  background: linear-gradient(135deg, #001744 0%, #002D7A 60%, #084B94 100%);
  color: #FFFFFF;
  padding: 50px 0 70px 0;
  position: relative;
}
.mf-logistics-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.mf-logistics-badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
  border: 1px solid #00E5FF;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 16px;
}
.mf-logistics-hero-title {
  font-family: 'Prompt', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px 0;
}
.mf-logistics-hero-desc {
  font-size: 15px;
  color: #CBD5E1;
  line-height: 1.65;
  margin: 0 0 24px 0;
}
.mf-logistics-hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
}
.mf-logistics-hero-stats b {
  font-family: 'Prompt', sans-serif;
  font-size: 26px;
  color: #FFC400;
  display: block;
}
.mf-logistics-hero-stats small {
  font-size: 12px;
  color: #94A3B8;
}
.mf-logistics-hero-btns {
  display: flex;
  gap: 14px;
}
.mf-btn-cyan {
  background: #00E5FF;
  color: #001744;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
}
.mf-btn-cyan:hover { background: #38BDF8; }
.mf-btn-outline-cyan {
  border: 1px solid #00E5FF;
  color: #00E5FF;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.mf-logistics-console-card {
  background: #0A192F;
  border: 1px solid #1E3A8A;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.mf-console-header {
  background: #001744;
  padding: 14px 20px;
  border-bottom: 1px solid #1E3A8A;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mf-console-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #00E5FF;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mf-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
}
.mf-console-tabs button {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.mf-console-tabs button.active {
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.12);
}
.mf-console-body {
  padding: 24px;
}
.mf-console-form label {
  display: block;
  font-size: 13px;
  color: #CBD5E1;
  margin-bottom: 8px;
  font-weight: 500;
}
.mf-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.mf-input-group input {
  flex: 1;
  background: #000F2E;
  border: 1px solid #1E3A8A;
  border-radius: 8px;
  padding: 12px 14px;
  color: #FFFFFF;
  font-size: 14px;
}
.mf-input-group button {
  background: #FFC400;
  color: #001744;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
}
.mf-cqs-header {
  font-size: 12px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mf-cqs-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #001744;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 3px solid #334155;
}
.mf-cqs-step.done { border-left-color: #22C55E; }
.mf-cqs-step.active { border-left-color: #00E5FF; background: rgba(0, 229, 255, 0.08); }
.mf-cqs-step strong { display: block; font-size: 13px; color: #FFFFFF; }
.mf-cqs-step small { color: #94A3B8; font-size: 11px; }

.mf-tpl-logistics-content {
  background: #F0F4F8;
  padding: 60px 0;
}
.mf-logistics-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.mf-logistics-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.mf-logistics-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 45, 122, 0.12);
  border-color: #002D7A;
}

.mf-tpl-logistics-footer {
  background: #000F2E;
  color: #FFFFFF;
  padding: 50px 0 0 0;
  border-top: 2px solid #1E3A8A;
}
.mf-logistics-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   3. THEME: SHOPPING MARKETPLACE (FASTMALL)
   ========================================================================== */
.mf-theme-shopping-marketplace {
  --mf-primary: #E11D48;
  --mf-primary-dark: #9F1239;
  --mf-primary-light: #FFE4E6;
  --mf-secondary: #FF5722;
  --mf-secondary-hover: #E64A19;
  --mf-accent: #003DA5;
  --mf-bg-light: #FFF5F5;
  --mf-surface: #FFFFFF;
  --mf-text-main: #1C1917;
  --mf-text-muted: #78716C;
  --mf-border: #FECDD3;
  --mf-font-heading: 'Prompt', sans-serif;
  --mf-font-body: 'Kanit', sans-serif;
  --mf-radius: 18px;
}

.mf-tpl-shop-header {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.08);
}
.mf-shop-topbar {
  background: #FFF1F2;
  padding: 6px 0;
  font-size: 12px;
  color: #E11D48;
  border-bottom: 1px solid #FFE4E6;
}
.mf-shop-topbar .shop-top-links a {
  color: #E11D48;
  text-decoration: none;
  margin-left: 14px;
  font-weight: 600;
}
.mf-shop-mainbar {
  padding: 14px 0;
  border-bottom: 1px solid #F1F5F9;
}
.mf-shop-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.mf-shop-brand .badge-mall {
  background: #E11D48;
  color: #FFFFFF;
  font-family: 'Prompt', sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.mf-shop-brand strong {
  font-family: 'Prompt', sans-serif;
  font-size: 22px;
  color: #0F172A;
  font-weight: 900;
}
.mf-shop-search-box {
  flex: 0.6;
}
.mf-shop-search-box form {
  display: flex;
  border: 2px solid #E11D48;
  border-radius: 999px;
  overflow: hidden;
}
.mf-shop-search-box input {
  flex: 1;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  outline: none;
}
.mf-shop-search-box button {
  background: #E11D48;
  color: #FFFFFF;
  border: none;
  padding: 0 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mf-shop-user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mf-shop-cart-btn {
  background: #FFE4E6;
  color: #E11D48;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mf-shop-login-btn {
  background: #E11D48;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
}
.mf-shop-catbar {
  background: #FFFFFF;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
}
.mf-shop-catlinks {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
}
.mf-shop-catlinks a {
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.mf-shop-catlinks a.highlight {
  color: #E11D48;
  font-weight: 700;
}

.mf-tpl-shop-hero {
  background: #FFF5F5;
  padding: 30px 0 50px 0;
}
.mf-shop-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
}
.mf-shop-hero-main-banner {
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mf-shop-hero-main-banner .hero-tag {
  background: #FF5722;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 14px;
}
.mf-shop-hero-main-banner .hero-title {
  font-family: 'Prompt', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 10px 0;
}
.mf-shop-hero-main-banner .hero-sub {
  font-size: 15px;
  color: #FFE4E6;
  margin: 0 0 20px 0;
}
.mf-shop-hero-main-banner .hero-vouchers {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.voucher-pill {
  background: rgba(255, 255, 255, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.6);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: #FFFFFF;
}
.btn-shop-now {
  background: #FFFFFF;
  color: #E11D48;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.mf-shop-hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  background: #FFFFFF;
  border: 1px solid #FECDD3;
  border-radius: 16px;
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.side-card .tag {
  font-size: 10px;
  font-weight: 800;
  color: #E11D48;
  margin-bottom: 6px;
}
.side-card h4 {
  font-family: 'Prompt', sans-serif;
  font-size: 18px;
  color: #0F172A;
  margin: 0 0 6px 0;
}
.side-card p {
  font-size: 12px;
  color: #64748B;
  margin: 0 0 12px 0;
}
.side-card a {
  color: #E11D48;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.mf-tpl-shop-content {
  background: #FFF5F5;
  padding: 50px 0;
}
.mf-shop-deals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.mf-shop-deal-card {
  background: #FFFFFF;
  border: 1px solid #FECDD3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.mf-shop-deal-card:hover {
  transform: translateY(-4px);
  border-color: #E11D48;
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.15);
}

.mf-tpl-shop-footer {
  background: #1C1917;
  color: #FFFFFF;
  padding: 50px 0 0 0;
}
.mf-shop-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   4. THEME: FOOD DELIVERY (FOOD & RESTAURANTS)
   ========================================================================== */
.mf-theme-food-delivery {
  --mf-primary: #DC2626;
  --mf-primary-dark: #991B1B;
  --mf-primary-light: #FEE2E2;
  --mf-secondary: #EA580C;
  --mf-secondary-hover: #C2410C;
  --mf-accent: #FFC400;
  --mf-bg-light: #FEF2F2;
  --mf-surface: #FFFFFF;
  --mf-text-main: #111827;
  --mf-text-muted: #6B7280;
  --mf-border: #FECACA;
  --mf-font-heading: 'Prompt', sans-serif;
  --mf-font-body: 'Kanit', sans-serif;
  --mf-radius: 20px;
}

.mf-tpl-food-header {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.08);
}
.mf-food-topbar {
  background: #FEF2F2;
  padding: 6px 0;
  font-size: 12px;
  color: #DC2626;
  border-bottom: 1px solid #FEE2E2;
}
.mf-food-topbar .food-top-links a {
  color: #DC2626;
  text-decoration: none;
  margin-left: 14px;
  font-weight: 600;
}
.mf-food-mainbar {
  padding: 14px 0;
  border-bottom: 1px solid #F1F5F9;
}
.mf-food-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.mf-food-brand .ico {
  font-size: 32px;
}
.mf-food-brand strong {
  font-family: 'Prompt', sans-serif;
  font-size: 20px;
  color: #0F172A;
  font-weight: 900;
  display: block;
}
.mf-food-brand small {
  color: #DC2626;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.mf-food-search {
  flex: 0.6;
}
.mf-food-search form {
  display: flex;
  border: 2px solid #DC2626;
  border-radius: 999px;
  overflow: hidden;
}
.mf-food-search input {
  flex: 1;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  outline: none;
}
.mf-food-search button {
  background: #DC2626;
  color: #FFFFFF;
  border: none;
  padding: 0 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.mf-food-user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-food-order {
  background: #EA580C;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
}
.btn-food-login {
  background: #F1F5F9;
  color: #1E293B;
  border: 1px solid #CBD5E1;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
}
.mf-food-cuisine-bar {
  background: #FFFFFF;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
}
.cuisine-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
}
.cuisine-scroll .c-item {
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: #F8FAFC;
}
.cuisine-scroll .c-item.active {
  background: #DC2626;
  color: #FFFFFF;
}

.mf-tpl-food-hero {
  background: #FEF2F2;
  padding: 30px 0 50px 0;
}
.mf-food-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}
.mf-food-hero-banner {
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.badge-hunger {
  background: #FFC400;
  color: #000000;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 14px;
}
.mf-food-hero-banner .hero-title {
  font-family: 'Prompt', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 10px 0;
}
.mf-food-hero-banner .hero-sub {
  font-size: 15px;
  color: #FEE2E2;
  margin: 0 0 20px 0;
}
.food-vouchers-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.v-card {
  background: rgba(255, 255, 255, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.6);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: #FFFFFF;
}
.btn-order-now {
  background: #FFC400;
  color: #000000;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
}
.special-dish-card {
  background: #FFFFFF;
  border: 1px solid #FECACA;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.08);
}
.special-dish-card .tag-top {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}
.dish-emoji {
  font-size: 48px;
  margin-bottom: 8px;
}
.special-dish-card h3 {
  font-family: 'Prompt', sans-serif;
  font-size: 18px;
  color: #0F172A;
  margin: 0 0 4px 0;
}
.special-dish-card .rest-name {
  font-size: 12px;
  color: #64748B;
  margin: 0 0 14px 0;
}
.dish-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  margin-bottom: 16px;
}
.price-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-action .price {
  font-family: 'Prompt', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #DC2626;
}
.btn-quick-dish {
  background: #DC2626;
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.mf-tpl-food-content {
  background: #FEF2F2;
  padding: 50px 0;
}
.mf-food-top-restaurants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.mf-food-rest-card {
  background: #FFFFFF;
  border: 1px solid #FECACA;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.mf-food-rest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.15);
}

.mf-tpl-food-footer {
  background: #18181B;
  color: #FFFFFF;
  padding: 50px 0 0 0;
}

/* ==========================================================================
   5. THEME: CLEAN CORPORATE (ENTERPRISE B2B ECOSYSTEM)
   ========================================================================== */
.mf-theme-clean-corporate {
  --mf-primary: #0F172A;
  --mf-primary-dark: #020617;
  --mf-primary-light: #F1F5F9;
  --mf-secondary: #0284C7;
  --mf-secondary-hover: #0369A1;
  --mf-accent: #059669;
  --mf-bg-light: #FAFAFA;
  --mf-surface: #FFFFFF;
  --mf-text-main: #0F172A;
  --mf-text-muted: #64748B;
  --mf-border: #E2E8F0;
  --mf-font-heading: 'Prompt', sans-serif;
  --mf-font-body: 'Kanit', sans-serif;
  --mf-radius: 8px;
}

.mf-tpl-corp-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.mf-corp-topline {
  background: #0F172A;
  color: #94A3B8;
  padding: 6px 0;
  font-size: 11px;
}
.mf-corp-topline .corp-top-nav a {
  color: #94A3B8;
  text-decoration: none;
  margin-left: 14px;
}
.mf-corp-mainbar {
  padding: 16px 0;
}
.mf-corp-brand {
  text-decoration: none;
  color: #0F172A;
}
.mf-corp-brand strong {
  font-family: 'Prompt', sans-serif;
  font-size: 20px;
  font-weight: 900;
  display: block;
  letter-spacing: 0.5px;
}
.mf-corp-brand span {
  font-size: 9px;
  font-weight: 700;
  color: #0284C7;
  letter-spacing: 1.5px;
}
.mf-corp-nav {
  display: flex;
  gap: 24px;
}
.mf-corp-nav a {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.mf-corp-nav a:hover,
.mf-corp-nav a.active {
  color: #0284C7;
}
.mf-corp-actions {
  display: flex;
  gap: 10px;
}
.btn-corp-inquiry {
  background: #0284C7;
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.btn-corp-portal {
  border: 1px solid #CBD5E1;
  color: #0F172A;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

.mf-tpl-corp-hero {
  background: #0F172A;
  color: #FFFFFF;
  padding: 70px 0;
}
.mf-corp-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.corp-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #38BDF8;
  display: inline-block;
  margin-bottom: 14px;
}
.corp-hero-title {
  font-family: 'Prompt', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px 0;
}
.corp-hero-desc {
  font-size: 15px;
  color: #94A3B8;
  line-height: 1.7;
  margin: 0 0 28px 0;
}
.corp-hero-btns {
  display: flex;
  gap: 14px;
}
.btn-corp-primary {
  background: #0284C7;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.btn-corp-secondary {
  border: 1px solid #334155;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.mf-corp-metrics-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.metric-card {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 20px;
}
.metric-card .val {
  font-family: 'Prompt', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #38BDF8;
  display: block;
}
.metric-card .lbl {
  font-size: 12px;
  color: #94A3B8;
}

.mf-tpl-corp-content {
  background: #FAFAFA;
  padding: 70px 0;
}
.mf-corp-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.mf-corp-pillar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 30px;
}

.mf-tpl-corp-footer {
  background: #020617;
  color: #FFFFFF;
  padding: 60px 0 0 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .mf-clean-footer__grid,
  .mf-logistics-footer-grid,
  .mf-shop-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mf-logistics-hero-grid,
  .mf-shop-hero-grid,
  .mf-food-hero-grid,
  .mf-corp-hero-grid {
    grid-template-columns: 1fr;
  }
  .mf-logistics-cards-grid,
  .mf-shop-deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mf-clean-quick-service-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mf-clean-header__inner {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .mf-clean-nav {
    display: none;
  }
  .mf-clean-hero__viewport,
  .mf-clean-hero__track,
  .mf-clean-hero__slide,
  .mf-clean-hero__slide.is-active {
    min-height: 440px;
  }
  .mf-clean-hero__overlay {
    background: linear-gradient(180deg, rgba(0, 30, 80, 0.94) 0%, rgba(0, 61, 165, 0.88) 60%, rgba(0, 0, 0, 0.6) 100%);
  }
  .mf-clean-hero__container {
    padding: 36px 16px 50px 16px;
  }
  .mf-clean-hero__title {
    font-size: 28px;
  }
  .mf-clean-hero__sub {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .mf-clean-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .mf-clean-hero__cta a.mf-btn-primary,
  .mf-clean-hero__cta a.mf-btn-secondary {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .mf-clean-quick-service-wrap {
    margin-top: -24px;
    padding-bottom: 20px;
  }
  .mf-clean-quick-service-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .mf-clean-footer__grid,
  .mf-logistics-footer-grid,
  .mf-shop-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}