/* ==========================================================================
   GHALIAH D'LIGHT OFFICIAL BRAND GUIDELINES V2 (JUNE 2026, PAGE 17)
   Butter Yellow: #FFF1B5 (Pantone P 1-4 C)
   Pastel Blue:   #C1DBE8 (Pantone 12-4202 TCX)
   Old Brown:     #43302E / #43312F (Pantone 19-1016 TCX)
   Seashell:      #F1F1F1 (Pantone 11-3900 TPG)
   White:         #FFFFFF
   ========================================================================== */
:root {
  --dl-butter-yellow: #FFF1B5 !important;
  --dl-pastel-blue: #C1DBE8 !important;
  --dl-old-brown: #43302E !important;
  --dl-deep-brown: #2F211F !important;
  --dl-seashell: #F1F1F1 !important;
  --dl-white: #FFFFFF !important;
  --dl-muted: #7C7471 !important;
  --dl-brand-butter: #FFF1B5 !important;
  --dl-brand-blue: #C1DBE8 !important;
  --dl-brand-brown: #43302E !important;
  --dl-brand-seashell: #F1F1F1 !important;
  --dl-brand-white: #FFFFFF !important;
  --f7-theme-color: #43302E !important;
}

/* Zero Ghost Page Bleed-Through:
   Ensure inactive background router pages (.page-previous) are cleanly hidden when idle
   so they never bleed text, greetings, or ghost elements behind active pages on desktop or mobile. */
html body #app .page.page-previous {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

html body #app .page-transitioning .page-previous {
  visibility: visible !important;
  opacity: 1 !important;
}

html body #app .page.page-current {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 20 !important;
}

html body #app .page.page-next {
  z-index: 30 !important;
}

/* Menu Status mobile top-gap hotfix. Loaded after dlight-brand.css. */
@media (max-width: 560px) {
  html body #app .dlight-menu-status-page .dlight-menu-status-frame {
    padding-top: 0 !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-content {
    padding-top: max(6px, env(safe-area-inset-top)) !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-content > .dlight-app-header {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }
}

/* Home meals empty state: remove the oversized blank gap on mobile. */
html body #app .dlight-home-page .dlight-meal-swiper {
  margin-top: 0 !important;
}

html body #app .dlight-home-page .dlight-home-empty-slide {
  width: 100% !important;
  max-width: 100% !important;
}

html body #app .dlight-home-page .dlight-home-empty-meal {
  display: flex !important;
  min-height: 126px !important;
  padding: 14px 16px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 7px !important;
}

html body #app .dlight-home-page .dlight-home-empty-meal span {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  font-size: 21px !important;
}

html body #app .dlight-home-page .dlight-home-empty-meal strong {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

html body #app .dlight-home-page .dlight-home-empty-meal small {
  font-size: 10px !important;
}

@media (max-width: 560px) {
  html body #app .dlight-home-page .dlight-meals-section {
    gap: 10px !important;
  }

  html body #app .dlight-home-page .dlight-home-empty-meal {
    min-height: 118px !important;
  }
}

/* Arabic menu-status alignment: keep the hero copy anchored to the right. */
html[dir="rtl"] body #app .dlight-menu-status-page .dlight-menu-status-hero {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] body #app .dlight-menu-status-page .dlight-menu-status-hero .dlight-eyebrow,
html[dir="rtl"] body #app .dlight-menu-status-page .dlight-menu-status-hero h1,
html[dir="rtl"] body #app .dlight-menu-status-page .dlight-menu-status-hero p:last-of-type,
html[dir="rtl"] body #app .dlight-menu-status-page .dlight-menu-status-hero .dlight-menu-auto {
  margin-right: 0 !important;
  margin-left: auto !important;
}

html[dir="rtl"] body #app .dlight-menu-status-page .dlight-menu-status-hero .dlight-menu-auto {
  display: flex !important;
  justify-content: center !important;
}

html[dir="rtl"] body #app .dlight-menu-status-page .dlight-status-legend {
  direction: rtl !important;
}

html[dir="rtl"] body #app .dlight-menu-status-page .dlight-status-legend span {
  flex-direction: row-reverse !important;
  justify-content: flex-start !important;
  text-align: right !important;
}

html[dir="rtl"] body #app .dlight-menu-status-page .dlight-bottom-nav {
  direction: rtl !important;
}

/* Android compact pass: keep menu/calendar usable on shorter mobile screens. */
html body #app #loading-area.dlight-loading-area,
html body #app .dlight-loading-area {
  align-items: center !important;
  justify-items: center !important;
}

html body #app .dlight-loader-card {
  display: grid !important;
  place-items: center !important;
}

html body #app .dlight-loader-logo {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: 122px !important;
  height: 122px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(67, 48, 46, 0.08) !important;
  box-shadow: 0 2px 12px rgba(67, 48, 46, 0.10) !important;
  overflow: hidden !important;
  padding: 0 !important;
  z-index: 2 !important;
}

html body #app .dlight-loader-logo img {
  position: static !important;
  display: block !important;
  width: 86px !important;
  max-width: 86px !important;
  height: auto !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}

@media (max-width: 560px) {
  html body #app .dlight-menu-selection-page .dlight-menu-selection-top {
    min-height: 88px !important;
    padding: 14px 18px !important;
    margin: 8px 0 12px !important;
    border-radius: 22px !important;
    align-items: center !important;
  }

  html body #app .dlight-menu-selection-page .dlight-menu-selection-top::after {
    width: 104px !important;
    height: 104px !important;
    inset: auto -22px -42px auto !important;
  }

  html body #app .dlight-menu-selection-page .dlight-menu-selection-top .notification-bar,
  html body #app .dlight-menu-selection-page .dlight-menu-selection-top .info,
  html body #app .dlight-menu-selection-page .dlight-menu-selection-top .row {
    min-height: 0 !important;
    height: auto !important;
    align-items: center !important;
  }

  html body #app .dlight-menu-selection-page .dlight-menu-selection-top .title {
    font-size: clamp(20px, 6vw, 28px) !important;
    line-height: 1.08 !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-content {
    min-height: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: calc(180px + env(safe-area-inset-bottom)) !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero {
    width: min(100% - 18px, 660px) !important;
    padding: 6px 0 8px !important;
    margin-bottom: 8px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero .dlight-eyebrow {
    min-height: 24px !important;
    padding: 0 12px !important;
    margin-bottom: 6px !important;
    font-size: 10px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero h1 {
    font-size: clamp(24px, 7.4vw, 32px) !important;
    line-height: 1.04 !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero p:last-of-type {
    margin-top: 5px !important;
    font-size: 11px !important;
    line-height: 1.28 !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-auto {
    min-height: 38px !important;
    margin-top: 8px !important;
    border-radius: 14px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card {
    width: min(100% - 18px, 660px) !important;
    padding: 10px !important;
    margin-bottom: calc(170px + env(safe-area-inset-bottom)) !important;
  }

  html body #app .dlight-menu-status-page .dlight-status-legend {
    gap: 5px !important;
    margin-bottom: 8px !important;
  }

  html body #app .dlight-menu-status-page .dlight-status-legend span {
    min-height: 26px !important;
    padding: 0 8px !important;
    font-size: 9px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-custom-toolbar {
    min-height: 42px !important;
    margin-bottom: 7px !important;
    padding: 0 12px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-week-header {
    min-height: 24px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day {
    min-height: 42px !important;
    height: 42px !important;
    padding: 3px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day-number {
    width: 21px !important;
    height: 21px !important;
    font-size: 11px !important;
    line-height: 21px !important;
  }
}

@media (max-width: 560px) and (max-height: 760px) {
  html body #app .dlight-menu-status-page .dlight-menu-status-hero p:last-of-type {
    display: none !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero h1 {
    font-size: clamp(22px, 7vw, 28px) !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card {
    padding: 8px !important;
  }

  html body #app .dlight-menu-status-page .dlight-status-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day {
    min-height: 38px !important;
    height: 38px !important;
    padding: 2px !important;
  }
}

@media (max-width: 560px) {
  html body #app .dlight-menu-status-page .dlight-menu-status-content::after {
    content: "";
    display: block;
    height: calc(90px + env(safe-area-inset-bottom));
  }
}

/* Menu Status mobile fit: compact the full workflow instead of hiding it behind the nav. */
@media (max-width: 560px) {
  html body #app .dlight-menu-status-page,
  html body #app .dlight-menu-status-page .dlight-menu-status-frame,
  html body #app .dlight-menu-status-page .dlight-menu-status-content {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-content {
    box-sizing: border-box !important;
    min-height: 100svh !important;
    padding: max(6px, env(safe-area-inset-top)) 8px calc(104px + env(safe-area-inset-bottom)) !important;
    scroll-padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-content > .dlight-app-header {
    min-height: 82px !important;
    width: min(100%, 820px) !important;
    margin: 0 auto 8px !important;
    padding: 12px !important;
    grid-template-columns: 50px minmax(112px, 1fr) auto !important;
    gap: 8px !important;
    border-radius: 18px !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-header[dir="rtl"] {
    grid-template-columns: auto minmax(112px, 1fr) 50px !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-menu-button {
    width: 48px !important;
    height: 48px !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-logo img {
    width: clamp(126px, 34vw, 170px) !important;
    max-height: 48px !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-header-actions {
    gap: 4px !important;
    max-width: 156px !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-action {
    min-width: 42px !important;
    min-height: 34px !important;
    padding: 0 7px !important;
    border-radius: 14px !important;
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-action-muted {
    min-width: 48px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero {
    width: min(100% - 4px, 660px) !important;
    padding: 2px 0 8px !important;
    margin: 0 auto 8px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero .dlight-eyebrow {
    min-height: 24px !important;
    padding: 0 12px !important;
    margin-bottom: 4px !important;
    font-size: 10px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero h1 {
    font-size: clamp(26px, 8vw, 34px) !important;
    line-height: 1 !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero p:last-of-type {
    display: none !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-auto {
    min-height: 42px !important;
    margin-top: 8px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card {
    width: min(100% - 4px, 660px) !important;
    padding: 8px !important;
    margin: 0 auto calc(96px + env(safe-area-inset-bottom)) !important;
    border-radius: 18px !important;
  }

  html body #app .dlight-menu-status-page .dlight-status-legend {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
    margin-bottom: 8px !important;
  }

  html body #app .dlight-menu-status-page .dlight-status-legend span {
    min-height: 28px !important;
    padding: 0 6px !important;
    border-radius: 12px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }

  html body #app .dlight-menu-status-page .dlight-status-legend i {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-custom-toolbar {
    min-height: 42px !important;
    margin-bottom: 6px !important;
    padding: 0 10px !important;
    border-radius: 14px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-custom-toolbar .center,
  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-custom-toolbar .title {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-week-header {
    min-height: 24px !important;
    margin-bottom: 4px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-week-day,
  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-week-header span {
    font-size: 10px !important;
    line-height: 1 !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-month,
  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-days {
    overflow: visible !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-row {
    min-height: 42px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day {
    min-height: 42px !important;
    height: 42px !important;
    padding: 2px !important;
    border-radius: 11px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day-cell {
    min-height: 38px !important;
    border-radius: 10px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day-number {
    width: 21px !important;
    height: 21px !important;
    font-size: 11px !important;
    line-height: 21px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day .badge,
  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day span:not(.calendar-day-number) {
    font-size: 9px !important;
    line-height: 1 !important;
  }

  html body #app .dlight-menu-status-page .dlight-bottom-nav {
    width: min(calc(100% - 10px), 720px) !important;
    bottom: max(3px, env(safe-area-inset-bottom)) !important;
    padding: 4px !important;
    border-radius: 18px !important;
  }

  html body #app .dlight-menu-status-page .dlight-bottom-nav-item {
    min-height: 54px !important;
    border-radius: 15px !important;
    font-size: 10px !important;
    gap: 2px !important;
  }

  html body #app .dlight-menu-status-page .dlight-bottom-icon {
    width: 30px !important;
    height: 30px !important;
  }
}

@media (max-width: 380px) {
  html body #app .dlight-menu-status-page .dlight-menu-status-content > .dlight-app-header {
    min-height: 74px !important;
    padding: 10px !important;
    grid-template-columns: 44px minmax(96px, 1fr) auto !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-header[dir="rtl"] {
    grid-template-columns: auto minmax(96px, 1fr) 44px !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-menu-button {
    width: 42px !important;
    height: 42px !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-logo img {
    width: clamp(112px, 32vw, 140px) !important;
  }

  html body #app .dlight-menu-status-page .dlight-status-legend span {
    font-size: 8px !important;
    padding: 0 4px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-row,
  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day {
    min-height: 38px !important;
    height: 38px !important;
  }
}

/* Home mobile viewport: prevent side clipping and keep the meals area tidy. */
@media (max-width: 560px) {
  html body #app .dlight-home-page,
  html body #app .dlight-home-page .dlight-home-content {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  html body #app .dlight-home-page .dlight-home-content {
    padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body #app .dlight-home-page .dlight-home-hero,
  html body #app .dlight-home-page .dlight-section,
  html body #app .dlight-home-page .dlight-meals-section {
    box-sizing: border-box !important;
    width: min(100% - 16px, 720px) !important;
    max-width: calc(100vw - 16px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body #app .dlight-home-page .dlight-meals-section {
    gap: 8px !important;
    padding: 10px !important;
    margin-top: 10px !important;
    margin-bottom: calc(108px + env(safe-area-inset-bottom)) !important;
  }

  html body #app .dlight-home-page .dlight-meals-section .dlight-section-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  html body #app .dlight-home-page .dlight-meals-section .dlight-section-header h2 {
    min-width: 0 !important;
    font-size: clamp(20px, 7vw, 28px) !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere !important;
  }

  html body #app .dlight-home-page .dlight-meal-toggle {
    max-width: 192px !important;
    padding: 4px !important;
    border-radius: 18px !important;
  }

  html body #app .dlight-home-page .dlight-meal-toggle button {
    min-width: 86px !important;
    min-height: 42px !important;
    padding: 5px 7px !important;
    border-radius: 14px !important;
  }

  html body #app .dlight-home-page .dlight-meal-toggle-title {
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  html body #app .dlight-home-page .dlight-meal-toggle-date {
    min-height: 16px !important;
    padding: 0 7px !important;
    font-size: 8px !important;
  }

  html body #app .dlight-home-page .dlight-home-empty-meal {
    min-height: 108px !important;
    padding: 12px 14px !important;
  }

  html body #app .dlight-home-page .dlight-home-nutrition-panel {
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }

  html body #app .dlight-home-page .dlight-home-nutrition-grid {
    gap: 6px !important;
  }

  html body #app .dlight-home-page .dlight-home-nutrition-grid span {
    padding: 7px 4px !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 560px) and (max-height: 760px) {
  html body #app .dlight-home-page .dlight-home-hero {
    margin-bottom: 8px !important;
  }

  html body #app .dlight-home-page .dlight-home-empty-meal {
    min-height: 96px !important;
  }

  html body #app .dlight-home-page .dlight-home-empty-meal span {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
  }

  html body #app .dlight-home-page .dlight-home-empty-meal strong {
    font-size: 12px !important;
  }

  html body #app .dlight-home-page .dlight-home-empty-meal small {
    font-size: 9px !important;
  }
}

/* Account page action fixes: keep header buttons tappable and on-brand. */
html body #app .dlight-profile-page .dlight-app-header {
  position: relative !important;
  z-index: 10020 !important;
}

/* b229-header-actions-delegated: keep decorative logo/header layers below action taps. */
html body #app .dlight-profile-page .dlight-app-logo,
html body #app .dlight-profile-page .dlight-app-header::before,
html body #app .dlight-profile-page .dlight-app-header::after {
  pointer-events: none !important;
}

html body #app .dlight-profile-page .dlight-app-header-actions {
  isolation: isolate !important;
}

html body #app .dlight-profile-page .dlight-app-header-actions,
html body #app .dlight-profile-page .dlight-app-action {
  position: relative !important;
  z-index: 10021 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

html body #app .dlight-profile-page .dlight-app-action {
  color: var(--dl-old-brown) !important;
  background: linear-gradient(180deg, #fffaf0, var(--dl-butter-yellow)) !important;
  border-color: rgba(67, 48, 46, 0.18) !important;
}

/* b231-profile-bottom-nav: keep account edit page navigable at the bottom. */
html body #app .dlight-profile-page .dlight-profile-content {
  padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
  scroll-padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
  -webkit-overflow-scrolling: touch !important;
}

html body #app .dlight-profile-page .dlight-profile-form {
  margin-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
}

html body #app .dlight-profile-page .dlight-bottom-nav {
  width: min(calc(100% - 18px), 720px) !important;
  bottom: max(8px, env(safe-area-inset-bottom)) !important;
  z-index: 10030 !important;
}

html[dir="rtl"] body #app .dlight-profile-page .dlight-bottom-nav {
  direction: rtl !important;
}

/* b233-menu-view-nutrition-zoom: readable chips and image preview affordance. */
html body #app .dlight-menu-view-page .dlight-menu-card-media {
  position: relative !important;
}

html body #app .dlight-menu-view-page .dlight-menu-card-media a {
  position: relative !important;
  z-index: 1 !important;
}

html body #app .dlight-menu-view-page .dlight-menu-view-zoom-trigger {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 5 !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  color: var(--dl-old-brown) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(67, 48, 46, 0.16) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(67, 48, 46, 0.14) !important;
  backdrop-filter: blur(8px) !important;
}

html[dir="rtl"] body #app .dlight-menu-view-page .dlight-menu-view-zoom-trigger {
  right: auto !important;
  left: 14px !important;
}

html body #app .dlight-menu-view-page .dlight-nutrition-list {
  grid-template-columns: repeat(2, minmax(78px, 1fr)) !important;
  gap: 8px !important;
}

html body #app .dlight-menu-view-page .dlight-nutrition-list li {
  display: grid !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 5px !important;
  min-height: 50px !important;
  padding: 8px 6px !important;
  text-align: center !important;
}

html body #app .dlight-menu-view-page .dlight-nutrition-list span {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 0 1 auto !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 10px !important;
  line-height: 1 !important;
}

html body #app .dlight-menu-view-page .dlight-nutrition-list strong {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

html body #app .dlight-menu-view-page .dlight-menu-view-zoom-trigger i {
  font-size: 14px !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

html body #app .dlight-menu-view-page .dlight-menu-view-zoom-trigger span {
  display: none !important;
}

html body #app .dlight-menu-view-page .dlight-nutrition-list strong small,
html body #app .dlight-menu-selection-page .dlight-select-nutrition-grid strong small {
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  opacity: 0.72 !important;
}

html body #app .dlight-menu-selection-page .dlight-select-nutrition-grid strong {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 2px !important;
  white-space: nowrap !important;
}

@media (max-width: 430px) {
  html body #app .dlight-menu-view-page .dlight-menu-card {
    grid-template-columns: 136px minmax(0, 1fr) !important;
  }

  html body #app .dlight-menu-view-page .dlight-menu-card-info {
    padding: 14px 12px !important;
  }

  html body #app .dlight-menu-view-page .dlight-nutrition-list {
    grid-template-columns: repeat(2, minmax(64px, 1fr)) !important;
    gap: 7px !important;
  }

  html body #app .dlight-menu-view-page .dlight-nutrition-list li {
    gap: 4px !important;
    min-height: 54px !important;
    padding: 8px 4px !important;
  }

  html body #app .dlight-menu-view-page .dlight-nutrition-list span {
    font-size: 9px !important;
  }

  html body #app .dlight-menu-view-page .dlight-nutrition-list strong {
    font-size: 14px !important;
  }
}

/* b240-home-meal-gap: keep selected meal card titles close to photos. */
html body #app .dlight-home-page .dlight-meal-swiper .swiper-slide {
  width: 154px !important;
}

html body #app .dlight-home-page .dlight-home-meal-card:not(.dlight-home-empty-meal) {
  display: grid !important;
  grid-template-rows: auto minmax(54px, auto) !important;
  align-content: start !important;
  min-height: 206px !important;
  padding-bottom: 10px !important;
}

html body #app .dlight-home-page .dlight-home-meal-card:not(.dlight-home-empty-meal) > img {
  display: block !important;
  width: 100% !important;
  height: 118px !important;
  object-fit: cover !important;
  margin: 0 !important;
}

html body #app .dlight-home-page .dlight-home-meal-card:not(.dlight-home-empty-meal) .dz-info {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 54px !important;
  padding: 8px 8px 0 !important;
  margin: 0 !important;
}

html body #app .dlight-home-page .dlight-home-meal-card:not(.dlight-home-empty-meal) .item-title,
html body #app .dlight-home-page .dlight-home-meal-card:not(.dlight-home-empty-meal) .item-title a {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.18 !important;
}

@media (max-width: 430px) {
  html body #app .dlight-home-page .dlight-meal-swiper .swiper-slide {
    width: 142px !important;
  }

  html body #app .dlight-home-page .dlight-home-meal-card:not(.dlight-home-empty-meal) {
    min-height: 194px !important;
  }

  html body #app .dlight-home-page .dlight-home-meal-card:not(.dlight-home-empty-meal) > img {
    height: 108px !important;
  }
}

/* b243-reset-otp-back: allow changing mobile from the OTP screen. */
html body #app .dlight-reset-screen .dlight-otp-card {
  position: relative !important;
}

html body #app .dlight-reset-screen .dlight-otp-back {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #412a28 !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(65, 42, 40, 0.14) !important;
  border-radius: 50% !important;
  box-shadow: 0 12px 26px rgba(65, 42, 40, 0.12) !important;
  z-index: 4 !important;
}

html body #app .dlight-reset-screen .dlight-otp-back span {
  display: block !important;
  width: 13px !important;
  height: 13px !important;
  border-left: 3px solid currentColor !important;
  border-bottom: 3px solid currentColor !important;
  transform: rotate(45deg) translate(2px, -2px) !important;
}

html[dir="rtl"] body #app .dlight-reset-screen .dlight-otp-back,
html body #app .dlight-reset-screen .dlight-otp-card[dir="rtl"] .dlight-otp-back {
  right: 14px !important;
  left: auto !important;
}

html[dir="rtl"] body #app .dlight-reset-screen .dlight-otp-back span,
html body #app .dlight-reset-screen .dlight-otp-card[dir="rtl"] .dlight-otp-back span {
  transform: rotate(225deg) translate(2px, -2px) !important;
}

html body #app .dlight-profile-page .dlight-profile-form img[id="dhome"],
html body #app .dlight-profile-page .dlight-profile-form img[id="dwork"],
html body #app .dlight-profile-form img[id="dhome"],
html body #app .dlight-profile-form img[id="dwork"] {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* b230-fold-landscape-menu-status: fold phones have tablet width but phone height. */
@media (orientation: landscape) and (max-height: 760px) and (max-width: 1180px) {
  html,
  body,
  html body #app,
  html body #app .views,
  html body #app .view,
  html body #app .page {
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }

  html body #app .dlight-menu-status-page,
  html body #app .dlight-menu-status-page .dlight-menu-status-frame {
    width: 100% !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-content,
  html body #app .dlight-menu-status-page .page-content {
    box-sizing: border-box !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    padding: 8px 12px calc(92px + env(safe-area-inset-bottom)) !important;
    scroll-padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-content > .dlight-app-header {
    display: grid !important;
    grid-template-columns: 58px minmax(130px, 1fr) auto !important;
    align-items: center !important;
    min-height: 78px !important;
    width: min(100%, 980px) !important;
    margin: 0 auto 8px !important;
    padding: 10px 14px !important;
    gap: 10px !important;
    border-radius: 18px !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-header[dir="rtl"] {
    grid-template-columns: auto minmax(130px, 1fr) 58px !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-menu-button {
    width: 54px !important;
    height: 54px !important;
    align-self: center !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-logo {
    justify-self: center !important;
    align-self: center !important;
    min-width: 0 !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-logo img {
    width: clamp(126px, 22vw, 172px) !important;
    max-height: 46px !important;
    object-fit: contain !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-header-actions {
    justify-self: start !important;
    align-self: center !important;
    display: flex !important;
    gap: 6px !important;
    max-width: none !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-header:not([dir="rtl"]) .dlight-app-header-actions {
    justify-self: end !important;
  }

  html body #app .dlight-menu-status-page .dlight-app-action {
    min-width: 56px !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    border-radius: 13px !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero {
    width: min(100%, 980px) !important;
    margin: 0 auto 8px !important;
    padding: 0 !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero .dlight-eyebrow {
    min-height: 24px !important;
    padding: 0 12px !important;
    margin-bottom: 4px !important;
    font-size: 10px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero h1 {
    font-size: clamp(28px, 5.3vw, 42px) !important;
    line-height: 0.95 !important;
    margin-bottom: 4px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-status-hero p:last-of-type {
    display: none !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-auto {
    width: min(460px, 68vw) !important;
    min-height: 38px !important;
    margin-top: 8px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card {
    width: min(100%, 980px) !important;
    padding: 8px !important;
    margin: 0 auto calc(112px + env(safe-area-inset-bottom)) !important;
    border-radius: 18px !important;
  }

  html body #app .dlight-menu-status-page .dlight-status-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
  }

  html body #app .dlight-menu-status-page .dlight-status-legend span {
    min-height: 30px !important;
    font-size: 10px !important;
    border-radius: 12px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-custom-toolbar {
    min-height: 40px !important;
    margin-bottom: 6px !important;
    border-radius: 14px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-row,
  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day {
    min-height: 40px !important;
    height: 40px !important;
  }

  html body #app .dlight-menu-status-page .dlight-menu-calendar-card .calendar-day-number {
    width: 21px !important;
    height: 21px !important;
    line-height: 21px !important;
    font-size: 11px !important;
  }

  html body #app .dlight-menu-status-page .dlight-bottom-nav {
    width: min(calc(100% - 18px), 980px) !important;
    bottom: max(5px, env(safe-area-inset-bottom)) !important;
    padding: 4px !important;
    border-radius: 18px !important;
  }

  html body #app .dlight-menu-status-page .dlight-bottom-nav-item {
    min-height: 54px !important;
    border-radius: 14px !important;
    font-size: 10px !important;
  }

  html body #app .dlight-menu-status-page .dlight-bottom-icon {
    width: 30px !important;
    height: 30px !important;
  }
}
/* Presentation review, September 2026: keep one scrollable content area. */
html body #app .dlight-menu-status-page .dlight-menu-status-frame {
  height: 100% !important; min-height: 0 !important; overflow: hidden !important;
}
html body #app .dlight-menu-status-page .dlight-menu-status-content {
  height: 100% !important; max-height: 100% !important; overflow-y: auto !important;
  padding-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
}
/* ==========================================================================
   GLOBAL HEADER ACTIONS & SIGN OUT SINGLE-LINE FIX (All screen sizes)
   ========================================================================== */
html body #app .dlight-top-actions,
html body #app .dlight-app-header-actions,
html body #app .dlight-home-actions {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-width: max-content !important;
  flex-shrink: 0 !important;
}

html body #app .dlight-top-action,
html body #app .dlight-app-action,
html body #app .dlight-top-actions button,
html body #app .dlight-top-actions a,
html body #app .dlight-app-header-actions button,
html body #app .dlight-app-header-actions a,
html body #app [data-dlight-header-action="logout"],
html body #app .dlight-top-action-muted,
html body #app .dlight-app-action-muted {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: visible !important;
  text-overflow: clip !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  flex-shrink: 0 !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 14px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(67, 48, 46, 0.16) !important;
  background: linear-gradient(180deg, #fffdf8, var(--dl-butter-yellow, #f7ebb8)) !important;
  color: var(--dl-old-brown, #43302e) !important;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(67, 48, 46, 0.06) !important;
  cursor: pointer !important;
  transition: transform 0.12s ease, opacity 0.12s ease !important;
  -webkit-tap-highlight-color: transparent !important;
  box-sizing: border-box !important;
}

html body #app .dlight-top-action-muted,
html body #app .dlight-app-action-muted,
html body #app [data-dlight-header-action="logout"] {
  white-space: nowrap !important;
  word-break: keep-all !important;
  min-width: max-content !important;
  padding: 0 14px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* Sidebar navigation logout single line */
html body #app .sidebar .dlight-muted-link,
html body #app .sidebar [data-dlight-route="/logout/"] {
  white-space: nowrap !important;
}
html body #app .sidebar .dlight-muted-link span,
html body #app .sidebar [data-dlight-route="/logout/"] span {
  white-space: nowrap !important;
}

/* ==========================================================================
   GLOBAL BOTTOM NAVIGATION BAR & SAFE AREA PADDING (All screen sizes)
   ========================================================================== */
html body #app .dlight-bottom-nav,
html body #app .dlight-profile-page .dlight-bottom-nav,
html body #app .dlight-menu-status-page .dlight-bottom-nav {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(14px, env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%) !important;
  width: min(calc(100% - 24px), 520px) !important;
  max-width: calc(100% - 24px) !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
  padding: 8px 10px !important;
  padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(67, 48, 46, 0.12) !important;
  border-radius: 26px !important;
  box-shadow: 0 12px 36px rgba(67, 48, 46, 0.15) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  z-index: 10030 !important;
}

html body #app .dlight-bottom-nav-item,
html body #app .dlight-profile-page .dlight-bottom-nav-item,
html body #app .dlight-menu-status-page .dlight-bottom-nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 6px 4px 6px !important;
  border-radius: 18px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  gap: 3px !important;
  box-sizing: border-box !important;
  color: var(--dl-muted, #7c7471) !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}

html body #app .dlight-bottom-nav-item:active {
  transform: scale(0.95) !important;
}

html body #app .dlight-bottom-nav-item.is-active {
  color: #fff1b5 !important; /* Butter Yellow */
  background: #43302e !important; /* Old Brown */
  box-shadow: 0 4px 14px rgba(67, 48, 46, 0.22) !important;
}

html body #app .dlight-bottom-nav-item.is-active i,
html body #app .dlight-bottom-nav-item.is-active svg {
  color: #fff1b5 !important;
}

html body #app .dlight-bottom-icon,
html body #app .dlight-menu-status-page .dlight-bottom-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

html body #app .dlight-bottom-icon i {
  font-size: 20px !important;
  line-height: 1 !important;
  color: inherit !important;
}

html body #app .dlight-bottom-nav-item span:not(.dlight-bottom-icon) {
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  padding: 0 2px 1px !important;
  margin: 0 !important;
}

/* Page content bottom padding across all pages so content is NEVER blocked by bottom nav */
html body #app .page-content,
html body #app .dlight-home-content,
html body #app .dlight-profile-page .page-content,
html body #app .dlight-profile-content,
html body #app .dlight-menu-status-page .dlight-menu-status-content,
html body #app .dlight-menu-status-page .page-content,
html body #app .dlight-menu-selection-content,
html body #app .dlight-payment-content,
html body #app .dlight-plans-catalog-page .page-content,
html body #app .dlight-plans-catalog-content,
html body #app .dlight-bmi-content,
html body #app .dlight-consultation-content,
html body #app .dlight-media-content,
html body #app .dlight-menu-view-content {
  box-sizing: border-box !important;
  padding-bottom: calc(125px + env(safe-area-inset-bottom)) !important;
}

html body #app .dlight-profile-form .item-content,
html body #app .dlight-profile-form .item-inner,
html body #app .dlight-profile-form .item-input-wrap {
  width: 100% !important; max-width: none !important; box-sizing: border-box;
}
html body #app .dlight-profile-form input { width: 100% !important; box-sizing: border-box; }
html body #app .dlight-profile-hero .button { max-width: 360px; margin: 16px auto 0; }
html body #app .dlight-menu-view-container,
html body #app .dlight-menu-selection-container { box-sizing: border-box; padding-inline: 20px !important; }
html body #app .dlight-select-meal-media img,
html body #app .dlight-menu-items .dz-media img {
  width: 100% !important; height: 100% !important; object-fit: cover !important; display: block;
}
html body #app .dlight-program-banner { top: 0 !important; }
html body #app .dlight-program-banner .bnr-img { width: 100%; height: 100%; object-fit: cover; }
html body #app #menuselectionContainer .button { height: auto; min-height: 48px; white-space: normal; padding: 12px; margin-bottom: 8px; }
@media (min-width: 768px) {
  html body #app .dlight-profile-form > ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  html body #app .dlight-home-content > section { box-sizing: border-box; width: min(100%,980px); margin-inline: auto; }
}
html body #app .dlight-profile-avatar { overflow: hidden; }
html body #app .dlight-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
html body #app .dlight-photo-upload { max-width: 220px; margin: 12px auto; cursor: pointer; }
html body #app .dlight-photo-upload input { width: 1px; height: 1px; position: absolute; opacity: 0; }
html body #app .dlight-select-menu-link { width: min(90%,600px); margin: 16px auto; white-space: normal; height: auto; padding: 12px; }
html body #app .dlight-app-action {
  white-space: nowrap !important;
}
html body #app .dlight-profile-form .item-inner { display: block !important; }
html body #app .dlight-profile-form .item-input-wrap { display: flex !important; min-width: 0; }
html body #app .dlight-profile-avatar { position: relative; }
html body #app .dlight-profile-avatar > span { position: absolute; inset: 0; display: grid; place-items: center; }
html body #app .dlight-profile-avatar > img { position: absolute; inset: 0; z-index: 1; }
html body #app .dlight-profile-avatar > img[hidden] { display: none !important; }
html body #app .dlight-program-banner .dlight-plan-brand-logo {
  width: min(48%,240px) !important; height: auto !important; max-height: 100px !important;
  object-fit: contain !important; filter: none !important; align-self: center;
}
html body #app .dlight-program-detail button[name="dayBTN"] {
  font-size: 11px !important; white-space: normal; height: auto !important; min-height: 56px; padding: 10px;
}
@media(max-width:480px) {
  html body #app .dlight-program-config .segmented:has(button[name="dayBTN"]) { flex-wrap: wrap; gap: 8px; background: transparent; }
  html body #app .dlight-program-config button[name="dayBTN"] { flex: 1 1 42%; }
}
@media (min-width:768px) {
  html body #app .dlight-profile-form > ul { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 18px !important; }
  html body #app .dlight-profile-form > ul > a { grid-column: 1 / -1; }
}
@media (min-width:768px) {
  html body #app .dlight-profile-form > ul > li { grid-column: auto !important; min-width: 0 !important; }
  html body #app .dlight-profile-form > ul > li:last-child { grid-column: 1 / -1 !important; }
}
html body #app .dlight-profile-hero { padding: 24px !important; }
html body #app .dlight-profile-avatar { margin-bottom: 8px !important; }
html body #app .dlight-menu-card-media picture { display: block; width: 100%; height: 100%; overflow: hidden; }
html body #app .dlight-photo-upload { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #d8cdc2; border-radius: 14px; background: #fff9e8; }
@media (max-width:480px) {
  html body #app .dlight-profile-hero { padding: 20px 16px !important; }
  html body #app .dlight-profile-hero h1 { font-size: 28px !important; overflow-wrap: anywhere; }
  html body #app .dlight-profile-hero .button { white-space: normal; height: auto; min-height: 48px; line-height: 1.4; padding: 12px; }
  html body #app .dlight-menu-view-container,
  html body #app .dlight-menu-selection-container { padding-inline: 14px !important; }
}
@media (max-width:600px) {
  html body #app .dlight-menu-view-hero { margin-top: 20px !important; margin-bottom: 16px !important; padding: 0 !important; min-height: 0 !important; }
  html body #app .dlight-menu-view-hero .notification-bar { padding: 0 !important; margin: 0 !important; }
  html body #app .dlight-menu-view-hero h2 { font-size: 28px !important; line-height: 1.15 !important; }
  html body #app .dlight-menu-view-page .dlight-select-menu-link { width: 100%; margin: 12px 0 20px; }
  html body #app .dlight-menu-view-page .dlight-menu-type-swiper { margin-bottom: 14px !important; }
  html body #app .dlight-menu-view-page .dlight-menu-card-media a,
  html body #app .dlight-menu-view-page .dlight-menu-card-media picture { height: 140px !important; }
  html body #app .dlight-menu-category-nav { scrollbar-width: none; }
  html body #app .dlight-menu-category-nav::-webkit-scrollbar { display: none; }
}
@media(max-width:600px) {
  html body #app .dlight-program-config .segmented:has(button[name="dayBTN"]) { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
  html body #app .dlight-program-config button[name="dayBTN"] { width: auto !important; max-width: none !important; min-width: 0 !important; flex: 1 1 42% !important; font-size: 12px !important; }
}
html body #app .dlight-program-detail .navbar .back svg path { fill: #43302e !important; }
@media(max-width:600px) {
  html body #app .dlight-program-config .segmented:has(button[name="dayBTNday"]) { display: flex !important; flex-wrap: nowrap !important; gap: 6px !important; }
  html body #app .dlight-program-config button[name="dayBTNday"] { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; max-width: none !important; }
}
/* ==========================================================================
   D'LIGHT MOBILE EXPERIENCE POLISH PASS (2026-10-01)
   Scope: Mobile viewports (max-width: 768px), targeting 360px, 375px, 390px.
   Preserves full desktop layout, approved pricing, and existing functionality.
   ========================================================================== */

@media (max-width: 768px) {
  /* 0. BRAND CANVAS & TYPOGRAPHY FOUNDATION */
  html body #app,
  html body #app .page,
  html body #app .page-content,
  html body #app .dlight-home-page,
  html body #app .dlight-profile-page,
  html body #app .dlight-menu-status-page,
  html body #app .dlight-userinfo-page,
  html body #app .dlight-plans-catalog-page {
    background: radial-gradient(circle at 50% -8%, #FFF9E8 0%, #FDFBF5 45%, #F7F3EA 100%) !important;
    background-attachment: fixed !important;
    color: #43302E !important;
  }

  /* 1. UNIFIED APP HEADER (Arabic RTL & English LTR) */
  html body #app .page .dlight-app-header,
  html body #app .dlight-profile-page .dlight-app-header,
  html body #app .dlight-menu-status-page .dlight-app-header,
  html body #app .dlight-menu-view-container > .dlight-app-header,
  html body #app .dlight-plans-catalog-container > .dlight-app-header,
  html body #app .dlight-menu-selection-container > .dlight-app-header,
  html body #app .dlight-bmi-container > .dlight-app-header,
  html body #app .dlight-complaint-container > .dlight-app-header,
  html body #app .dlight-media-container > .dlight-app-header,
  html body #app .dlight-consultation-container > .dlight-app-header {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: min(calc(100% - 16px), 720px) !important;
    max-width: calc(100% - 16px) !important;
    min-height: 60px !important;
    height: auto !important;
    margin: 8px auto 14px !important;
    padding: 8px 10px !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 247, 219, 0.85) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1.5px solid rgba(67, 48, 46, 0.1) !important;
    box-shadow: 0 8px 24px -4px rgba(67, 48, 46, 0.08) !important;
    overflow: visible !important;
    z-index: 10020 !important;
  }

  html body #app .page .dlight-app-header::before,
  html body #app .page .dlight-app-header::after {
    display: none !important;
  }

  /* Hamburger Menu Button inside Header */
  html body #app .page .dlight-app-header .dlight-app-menu-button,
  html body #app .dlight-profile-page .dlight-app-menu-button,
  html body #app .dlight-menu-status-page .dlight-app-menu-button {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3.5px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(67, 48, 46, 0.14) !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(67, 48, 46, 0.08) !important;
    cursor: pointer !important;
    z-index: 10022 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  html body #app .page .dlight-app-header .dlight-app-menu-button span,
  html body #app .dlight-profile-page .dlight-app-menu-button span,
  html body #app .dlight-menu-status-page .dlight-app-menu-button span {
    display: block !important;
    width: 16px !important;
    height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--dl-old-brown, #43302e) !important;
    border-radius: 2px !important;
  }

  /* Logo inside Header: Centered, bounded, never overlaps */
  html body #app .page .dlight-app-header .dlight-app-logo,
  html body #app .dlight-profile-page .dlight-app-logo,
  html body #app .dlight-menu-status-page .dlight-app-logo {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    max-width: 120px !important;
    margin: 0 auto !important;
    padding: 0 2px !important;
    text-align: center !important;
    text-decoration: none !important;
    pointer-events: auto !important;
  }

  html body #app .page .dlight-app-header .dlight-app-logo img,
  html body #app .dlight-profile-page .dlight-app-logo img,
  html body #app .dlight-menu-status-page .dlight-app-logo img {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 5px rgba(67, 48, 46, 0.08)) !important;
  }

  /* Actions container inside Header */
  html body #app .page .dlight-app-header .dlight-app-header-actions,
  html body #app .dlight-profile-page .dlight-app-header-actions,
  html body #app .dlight-menu-status-page .dlight-app-header-actions {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    max-width: 175px !important;
    z-index: 10022 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  /* Action Buttons inside Header (Language, Support, Sign out) */
  html body #app .page .dlight-app-header .dlight-app-action,
  html body #app .dlight-profile-page .dlight-app-action,
  html body #app .dlight-menu-status-page .dlight-app-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 8px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(220, 195, 120, 0.45) !important;
    background: linear-gradient(145deg, #ffffff 0%, #fff1b5 65%, #fae69e 100%) !important;
    color: var(--dl-old-brown, #43302e) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(255, 241, 181, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    cursor: pointer !important;
    transition: transform 0.12s ease, opacity 0.12s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  html body #app .page .dlight-app-header .dlight-app-action[data-dlight-header-action="language"],
  html body #app .dlight-profile-page .dlight-app-action[data-dlight-header-action="language"],
  html body #app .dlight-menu-status-page .dlight-app-action[data-dlight-header-action="language"] {
    min-width: 32px !important;
    padding: 0 6px !important;
    font-weight: 800 !important;
  }

  html body #app .page .dlight-app-header .dlight-app-action[data-dlight-header-action="logout"],
  html body #app .dlight-profile-page .dlight-app-action[data-dlight-header-action="logout"],
  html body #app .dlight-menu-status-page .dlight-app-action[data-dlight-header-action="logout"],
  html body #app .dlight-top-action-muted {
    white-space: nowrap !important;
    word-break: keep-all !important;
    min-width: max-content !important;
    font-size: 10.5px !important;
    padding: 0 10px !important;
    flex-shrink: 0 !important;
  }

  html body #app .page .dlight-app-header .dlight-app-action:active,
  html body #app .dlight-profile-page .dlight-app-action:active,
  html body #app .dlight-menu-status-page .dlight-app-action:active {
    transform: scale(0.95) !important;
    opacity: 0.85 !important;
  }

  /* Arabic RTL Header alignment: naturally mirrors */
  html body #app .page .dlight-app-header[dir="rtl"],
  html[dir="rtl"] body #app .page .dlight-app-header {
    direction: rtl !important;
  }

  html body #app .page .dlight-app-header[dir="rtl"] .dlight-app-header-actions,
  html[dir="rtl"] body #app .page .dlight-app-header .dlight-app-header-actions {
    direction: ltr !important;
    justify-content: flex-start !important;
  }

  /* Specific adjustment for narrow screens (360px) */
  @media (max-width: 365px) {
    html body #app .page .dlight-app-header,
    html body #app .dlight-profile-page .dlight-app-header {
      padding: 6px 8px !important;
      gap: 4px !important;
    }
    html body #app .page .dlight-app-header .dlight-app-logo,
    html body #app .dlight-profile-page .dlight-app-logo {
      max-width: 80px !important;
    }
    html body #app .page .dlight-app-header .dlight-app-logo img,
    html body #app .dlight-profile-page .dlight-app-logo img {
      height: 25px !important;
      max-height: 25px !important;
    }
    html body #app .page .dlight-app-header .dlight-app-action,
    html body #app .dlight-profile-page .dlight-app-action {
      height: 28px !important;
      min-height: 28px !important;
      font-size: 10px !important;
      padding: 0 5px !important;
    }
  }

  /* 2. UNIFY HAMBURGER MENU BUTTON ACROSS ENTIRE APP */
  html body #app .dlight-app-menu-button,
  html body #app .dlight-icon-button,
  html body #app .top-bar .link.panel-open,
  html body #app .navbar .link.panel-open {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3.5px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(67, 48, 46, 0.14) !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(67, 48, 46, 0.08) !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, background-color 0.15s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
  }

  html body #app .dlight-app-menu-button span,
  html body #app .dlight-icon-button span {
    display: block !important;
    width: 16px !important;
    height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--dl-old-brown, #43302e) !important;
    border-radius: 2px !important;
  }

  html body #app .dlight-app-menu-button:active,
  html body #app .dlight-icon-button:active {
    transform: scale(0.93) !important;
    background: rgba(255, 244, 207, 0.98) !important;
  }

  /* 3. HOME TOPLINE CONSISTENCY (HomePage.aspx) */
  html body #app .dlight-home-topline {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    min-height: 52px !important;
    padding: 4px 0 !important;
    margin-bottom: 8px !important;
  }

  html body #app .dlight-home-logo {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    max-width: 120px !important;
    margin: 0 auto !important;
  }

  html body #app .dlight-home-logo img {
    height: 30px !important;
    max-height: 30px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  html body #app .dlight-home-actions,
  html body #app .dlight-top-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
  }

  html body #app .dlight-top-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(67, 48, 46, 0.16) !important;
    background: #ffffff !important;
    color: var(--dl-old-brown, #43302e) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    min-width: max-content !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 5px rgba(67, 48, 46, 0.06) !important;
    cursor: pointer !important;
    transition: transform 0.12s ease !important;
  }

  html body #app .dlight-top-action:active {
    transform: scale(0.95) !important;
  }

  /* 3.1 HOME PAGE CARDS MARGINS, BRAND COLORS & LUXURY BREATHING ROOM */
  html body #app .dlight-home-content {
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
  }

  html body #app .dlight-home-hero,
  html body #app .dlight-subscription-card,
  html body #app .dlight-home-page .dlight-meals-section {
    width: min(calc(100% - 36px), 680px) !important;
    max-width: calc(100% - 36px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  html body #app .dlight-home-hero {
    margin-top: 6px !important;
    margin-bottom: 14px !important;
  }

  html body #app .dlight-home-hero h1 {
    color: #43302e !important;
    font-weight: 800 !important;
  }

  html body #app .dlight-home-hero .dlight-hero-copy {
    color: #6d5b57 !important;
  }

  /* Hero action buttons with official Ghaliah palette */
  html body #app .dlight-hero-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }

  html body #app .dlight-hero-actions .button,
  html body #app .dlight-home-hero .button {
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 16px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    text-decoration: none !important;
  }

  html body #app .dlight-hero-actions .button:active,
  html body #app .dlight-home-hero .button:active {
    transform: scale(0.97) !important;
  }

  /* Primary Button (Fill Menu): Velvet Old Brown */
  html body #app .dlight-hero-actions .dlight-primary-action,
  html body #app .dlight-home-hero .dlight-primary-action,
  html body #app a[href*="MenuStatusORG"] {
    background: linear-gradient(180deg, #4f3a38 0%, #3a2826 100%) !important;
    color: #fffdf5 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 8px 24px -2px rgba(67, 48, 46, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.22) !important;
  }

  /* Secondary Button 1 (BMI Calculator): Luminous Silk & Pearl Butter Yellow */
  html body #app .dlight-hero-actions a[href*="BMICAL"],
  html body #app .dlight-home-hero a[href*="BMICAL"],
  html body #app .dlight-hero-actions .dlight-secondary-action:first-of-type {
    background: linear-gradient(145deg, #fffdf7 0%, #fff1b5 55%, #f7e394 100%) !important;
    color: #43302e !important;
    border: 1px solid rgba(220, 195, 120, 0.45) !important;
    box-shadow: 0 6px 18px rgba(247, 227, 148, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
  }

  /* Secondary Button 2 (View Menu): Fresh Morning Sky Pastel Blue */
  html body #app .dlight-hero-actions a[href*="MenuView"],
  html body #app .dlight-home-hero a[href*="MenuView"],
  html body #app .dlight-hero-actions .dlight-secondary-action:last-of-type:not(:first-of-type) {
    background: linear-gradient(145deg, #f2f8fc 0%, #c1dbe8 55%, #aed2e2 100%) !important;
    color: #43302e !important;
    border: 1px solid rgba(165, 199, 218, 0.6) !important;
    box-shadow: 0 6px 18px rgba(193, 219, 232, 0.42), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
  }

  /* Subscription Card: Frosted Glassmorphism with silky bevel */
  html body #app .dlight-subscription-card {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1.5px solid rgba(67, 48, 46, 0.08) !important;
    border-radius: 26px !important;
    padding: 22px 18px !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 16px 36px -10px rgba(67, 48, 46, 0.08), 0 2px 8px rgba(67, 48, 46, 0.03) !important;
  }

  html body #app .dlight-subscription-card .dlight-eyebrow {
    color: #7c7471 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 4px !important;
  }

  html body #app .dlight-subscription-card h2 {
    color: #43302e !important;
    font-size: clamp(20px, 5.4vw, 26px) !important;
    font-weight: 800 !important;
    margin: 0 !important;
  }

  html body #app .dlight-subscription-card .dlight-status-pill a,
  html body #app .dlight-subscription-card .dlight-status-pill span,
  html body #app .dlight-subscription-card .dlight-status-pill p {
    background: #c1dbe8 !important; /* Pastel Blue */
    color: #43302e !important;
    border: 1px solid rgba(67, 48, 46, 0.14) !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  /* 3 Branded Metrics: Butter Yellow, Pastel Blue, Seashell */
  html body #app .dlight-subscription-grid,
  html body #app .dlight-home-page .dlight-subscription-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 16px !important;
  }

  html body #app .dlight-metric,
  html body #app .dlight-home-page .dlight-metric {
    border-radius: 18px !important;
    padding: 12px 6px !important;
    min-height: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: transform 0.15s ease !important;
  }

  /* Metric 1: Luminous Butter Yellow Pearl Glow */
  html body #app .dlight-subscription-grid .dlight-metric:nth-child(1),
  html body #app .dlight-home-page .dlight-subscription-grid .dlight-metric:nth-child(1) {
    background: linear-gradient(150deg, #fffdf8 0%, #fff1b5 60%, #fae69e 100%) !important;
    border: 1.5px solid rgba(225, 200, 130, 0.45) !important;
    box-shadow: 0 6px 18px rgba(255, 241, 181, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  }

  /* Metric 2: Fresh Morning Sky Pastel Blue */
  html body #app .dlight-subscription-grid .dlight-metric:nth-child(2),
  html body #app .dlight-home-page .dlight-subscription-grid .dlight-metric:nth-child(2) {
    background: linear-gradient(150deg, #f5fafd 0%, #c1dbe8 60%, #b2d5e5 100%) !important;
    border: 1.5px solid rgba(175, 205, 222, 0.5) !important;
    box-shadow: 0 6px 18px rgba(193, 219, 232, 0.42), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  }

  /* Metric 3: Silky Seashell Porcelain */
  html body #app .dlight-subscription-grid .dlight-metric:nth-child(3),
  html body #app .dlight-home-page .dlight-subscription-grid .dlight-metric:nth-child(3) {
    background: linear-gradient(150deg, #ffffff 0%, #f4efe6 100%) !important;
    border: 1.5px solid rgba(67, 48, 46, 0.1) !important;
    box-shadow: 0 4px 14px rgba(67, 48, 46, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  }

  html body #app .dlight-metric span,
  html body #app .dlight-home-page .dlight-metric span {
    color: #43302e !important;
    font-size: clamp(15px, 4.5vw, 20px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
  }

  html body #app .dlight-metric small,
  html body #app .dlight-home-page .dlight-metric small {
    color: rgba(67, 48, 46, 0.72) !important;
    font-size: clamp(9px, 2.5vw, 11px) !important;
    line-height: 1.25 !important;
    margin-top: 4px !important;
    text-align: center !important;
    font-weight: 700 !important;
  }

  /* Progress Bar: Seashell #F1F1F1 track + Old Brown #43302E fill */
  html body #app .dlight-progress-wrap {
    margin-top: 16px !important;
  }

  html body #app .dlight-progress-meta {
    color: #7c7471 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
  }

  html body #app .dlight-progress-track {
    height: 10px !important;
    border-radius: 999px !important;
    background: #f1f1f1 !important; /* Seashell */
    border: 1px solid rgba(67, 48, 46, 0.08) !important;
    overflow: hidden !important;
  }

  html body #app .dlight-progress-track span {
    border-radius: 999px !important;
    background: linear-gradient(90deg, #43302e 0%, #684e4b 100%) !important; /* Old Brown */
  }

  /* Meals Section Card: Pure White, Rounded 26px */
  html body #app .dlight-home-page .dlight-meals-section {
    background: #ffffff !important;
    border: 1.5px solid rgba(67, 48, 46, 0.08) !important;
    border-radius: 26px !important;
    padding: 22px 18px !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    box-shadow: 0 14px 34px -8px rgba(67, 48, 46, 0.09), 0 2px 8px rgba(67, 48, 46, 0.03) !important;
  }

  html body #app .dlight-home-page .dlight-meals-section .dlight-section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  html body #app .dlight-home-page .dlight-meals-section .dlight-section-header h2 {
    color: #43302e !important;
    font-size: clamp(18px, 5.2vw, 26px) !important;
    font-weight: 800 !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  /* Meal Day Toggle: Seashell container + Old Brown active + Butter Yellow date glow */
  html body #app .dlight-home-page .dlight-meal-toggle {
    background: #f1f1f1 !important; /* Seashell */
    border: 1.5px solid rgba(67, 48, 46, 0.1) !important;
    border-radius: 20px !important;
    padding: 4px !important;
  }

  html body #app .dlight-home-page .dlight-meal-toggle button {
    border-radius: 15px !important;
    color: rgba(67, 48, 46, 0.65) !important;
    border: none !important;
    transition: all 0.2s ease !important;
  }

  html body #app .dlight-home-page .dlight-meal-toggle button.is-active {
    background: #43302e !important; /* Old Brown */
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(67, 48, 46, 0.22) !important;
  }

  html body #app .dlight-home-page .dlight-meal-toggle button.is-active .dlight-meal-toggle-date {
    background: rgba(255, 241, 181, 0.25) !important; /* Butter Yellow glow */
    color: #fff1b5 !important;
    border: 1px solid rgba(255, 241, 181, 0.4) !important;
  }

  /* 4. ICON BORDER REMOVAL & BOTTOM NAV POLISH */
  html body #app .dlight-bottom-nav,
  html body #app .dlight-profile-page .dlight-bottom-nav,
  html body #app .dlight-menu-status-page .dlight-bottom-nav {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    transform: translateX(-50%) !important;
    width: min(calc(100% - 20px), 480px) !important;
    max-width: calc(100% - 20px) !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 8px 10px !important;
    padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1.5px solid rgba(67, 48, 46, 0.12) !important;
    border-radius: 26px !important;
    box-shadow: 0 16px 40px rgba(67, 48, 46, 0.16) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    z-index: 10030 !important;
  }

  html[dir="rtl"] body #app .dlight-bottom-nav,
  html body #app [dir="rtl"] .dlight-bottom-nav,
  html body #app .page[dir="rtl"] .dlight-bottom-nav {
    direction: rtl !important;
  }

  html body #app .dlight-bottom-nav-item,
  html body #app .dlight-profile-page .dlight-bottom-nav-item,
  html body #app .dlight-menu-status-page .dlight-bottom-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 5px 4px 6px !important;
    border-radius: 18px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    color: var(--dl-muted, #7c7471) !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  html body #app .dlight-bottom-nav-item:active {
    transform: scale(0.95) !important;
  }

  html body #app .dlight-bottom-nav-item.is-active {
    color: #fff1b5 !important; /* Butter Yellow */
    background: linear-gradient(180deg, #4f3a38 0%, #3a2826 100%) !important; /* Velvet Old Brown */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 14px rgba(67, 48, 46, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  }

  html body #app .dlight-bottom-nav-item.is-active i,
  html body #app .dlight-bottom-nav-item.is-active svg {
    color: #fff1b5 !important;
  }

  /* REMOVE UNWANTED CIRCULAR BORDER ON NAV ICONS */
  html body #app .dlight-bottom-icon,
  html body #app .dlight-menu-status-page .dlight-bottom-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
  }

  html body #app .dlight-bottom-icon i {
    font-size: 20px !important;
    line-height: 1 !important;
    color: inherit !important;
  }

  html body #app .dlight-bottom-nav-item span:not(.dlight-bottom-icon) {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    padding: 0 2px 1px !important;
    margin: 0 !important;
  }

  /* 5. USER PROFILE PAGE POLISH (Overlap fix & elegant hierarchy) */
  html body #app .dlight-profile-page .dlight-profile-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 20px 16px 22px !important;
    gap: 0 !important;
    text-align: center !important;
  }

  html body #app .dlight-profile-page .dlight-profile-avatar {
    margin: 0 auto 10px !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 24px rgba(67, 48, 46, 0.12) !important;
  }

  html body #app .dlight-profile-page .dlight-photo-upload {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 160px !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 16px !important;
    margin: 0 auto 14px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--dl-old-brown, #43302e) !important;
    background: #fff9e8 !important;
    border: 1px solid rgba(67, 48, 46, 0.16) !important;
    box-shadow: 0 2px 6px rgba(67, 48, 46, 0.05) !important;
    cursor: pointer !important;
    transition: transform 0.12s ease !important;
  }

  html body #app .dlight-profile-page .dlight-photo-upload:active {
    transform: scale(0.96) !important;
  }

  html body #app .dlight-profile-page .dlight-profile-hero .dlight-eyebrow {
    margin: 0 auto 8px !important;
    clear: both !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
  }

  html body #app .dlight-profile-page .dlight-profile-hero h1 {
    margin: 0 0 4px !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
  }

  html body #app .dlight-profile-page .dlight-profile-hero p:not(.dlight-eyebrow) {
    margin: 0 0 14px !important;
    font-size: 13px !important;
    color: var(--dl-muted, #7c7471) !important;
  }

  html body #app .dlight-profile-page .dlight-profile-hero a.button {
    margin: 0 auto !important;
    max-width: 270px !important;
    min-height: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--dl-old-brown, #43302e) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(67, 48, 46, 0.16) !important;
  }

  /* Profile Form fields full width on mobile with smooth touch inputs */
  html body #app .dlight-profile-page .dlight-profile-form {
    width: min(calc(100% - 16px), 720px) !important;
    margin: 10px auto calc(96px + env(safe-area-inset-bottom)) !important;
  }

  html body #app .dlight-profile-page .dlight-profile-form .item-content {
    min-height: 52px !important;
  }

  html body #app .dlight-profile-page .dlight-profile-form input,
  html body #app .dlight-profile-form .item-input-wrap input,
  html body #app .dlight-profile-form .item-input-wrap select {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 14px !important;
    border: 1.5px solid rgba(67, 48, 46, 0.14) !important;
    padding: 0 14px !important;
    background: #ffffff !important;
    color: #43302e !important;
    box-shadow: 0 2px 6px rgba(67, 48, 46, 0.04) !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  }

  html body #app .dlight-profile-form input:focus,
  html body #app .dlight-profile-form select:focus {
    border-color: #43302e !important;
    box-shadow: 0 0 0 3px rgba(255, 241, 181, 0.6) !important;
  }

  html body #app .dlight-profile-form input[readonly],
  html body #app .dlight-profile-form input[disabled] {
    background: #f1f1f1 !important; /* Seashell */
    color: #7c7471 !important;
    border-color: rgba(67, 48, 46, 0.1) !important;
    opacity: 0.9 !important;
  }

  /* Center Gender and Delivery Selectors on Mobile */
  html body #app .dlight-profile-form li.dlight-gender-row .item-inner,
  html body #app .dlight-profile-form li.dlight-dmethod-row .item-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    padding-inline-end: 0 !important;
  }

  html body #app .dlight-profile-form .dlight-center-label {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin-bottom: 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #43302e !important;
  }

  html body #app .dlight-profile-form .dlight-center-wrap {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 20px !important;
    margin: 4px auto 14px !important;
    text-align: center !important;
  }

  /* Profile Avatars (Gentleman & Lady) */
  html body #app .dlight-profile-form img[id="male"],
  html body #app .dlight-profile-form img[id="female"] {
    width: 84px !important;
    height: 84px !important;
    min-width: 84px !important;
    min-height: 84px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 3px solid transparent !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 24px rgba(67, 48, 46, 0.1) !important;
    cursor: pointer !important;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease, border-color 0.2s ease !important;
    margin: 4px 6px !important;
    display: block !important;
  }

  html body #app .dlight-profile-form img[id="male"][style*="grayscale(0"],
  html body #app .dlight-profile-form img[id="female"][style*="grayscale(0"] {
    border-color: #43302e !important;
    box-shadow: 0 0 0 4px rgba(255, 241, 181, 0.85), 0 14px 30px rgba(67, 48, 46, 0.16) !important;
    transform: scale(1.06) !important;
  }

  /* Profile Delivery Buttons (Home & Work) - Clean, Unclipped, Whole Edges */
  html body #app .dlight-profile-form img[id="dhome"],
  html body #app .dlight-profile-form img[id="dwork"] {
    width: clamp(124px, 39vw, 146px) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 26px !important;
    box-shadow: 0 8px 22px rgba(67, 48, 46, 0.08) !important;
    cursor: pointer !important;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease !important;
    margin: 4px !important;
    display: block !important;
  }

  html body #app .dlight-profile-form img[id="dhome"][style*="grayscale(0"] {
    border: none !important;
    box-shadow: 0 0 0 3px #43302e, 0 0 0 7px rgba(255, 241, 181, 0.85), 0 14px 32px rgba(67, 48, 46, 0.16) !important;
    transform: scale(1.04) !important;
  }

  html body #app .dlight-profile-form img[id="dwork"][style*="grayscale(0"] {
    border: none !important;
    box-shadow: 0 0 0 3px #43302e, 0 0 0 7px rgba(193, 219, 232, 0.85), 0 14px 32px rgba(67, 48, 46, 0.16) !important;
    transform: scale(1.04) !important;
  }

  /* ELIMINATE UGLY UNDERLINE UNDER CATEGORY TABS */
  html body #app a[name="undeline"]::before,
  html body #app a[name="undeline"]::after,
  html body #app a[name="undeline"]:hover::before,
  html body #app a[name="undeline"]:focus::before,
  html body #app a[name="undeline"]:active::before,
  html body #app a:focus::before,
  html body #app .dlight-meal-category-nav a::before,
  html body #app .dlight-meal-category-nav a::after,
  html body #app .dlight-menu-category-nav a::before,
  html body #app .dlight-menu-category-nav a::after,
  html body #app #allcat a::before,
  html body #app #allcat a::after,
  html body #app .tab-link-highlight {
    display: none !important;
    content: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    transform: none !important;
    text-decoration: none !important;
  }

  html body #app .dlight-meal-category-nav a[name="undeline"],
  html body #app .dlight-menu-category-nav a[name="undeline"],
  html body #app #allcat a {
    text-decoration: none !important;
    border: 1px solid rgba(67, 48, 46, 0.12) !important;
    border-bottom: 1px solid rgba(67, 48, 46, 0.12) !important;
    border-radius: 999px !important;
    padding-bottom: 0 !important;
  }

  html body #app .dlight-meal-category-nav a[name="undeline"].is-active,
  html body #app .dlight-menu-category-nav a[name="undeline"].is-active,
  html body #app #allcat a.is-active {
    background: #fff1b5 !important; /* Butter Yellow */
    color: #43302e !important;
    border: 1.5px solid rgba(67, 48, 46, 0.22) !important;
    box-shadow: 0 4px 14px rgba(255, 241, 181, 0.45) !important;
    text-decoration: none !important;
  }

  /* 6. TYPOGRAPHY & TOUCH CONTROLS PASS */
  html body #app button,
  html body #app .button {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  html body #app .page-content {
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
  }

  /* 7. UNIFY NAVBAR & BACK BUTTONS ACROSS THE APP */
  html body #app .navbar .navbar-inner .link.back,
  html body #app .navbar.navbar-style-1 .navbar-inner .link.back,
  html body #app .dlight-back-button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(67, 48, 46, 0.14) !important;
    box-shadow: 0 3px 10px rgba(67, 48, 46, 0.08) !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: transform 0.15s ease, background-color 0.15s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }

  html body #app .navbar .navbar-inner .link.back:active,
  html body #app .navbar.navbar-style-1 .navbar-inner .link.back:active,
  html body #app .dlight-back-button:active {
    transform: scale(0.93) !important;
    background: rgba(255, 244, 207, 0.98) !important;
  }

  html body #app .navbar .navbar-inner .link.back svg,
  html body #app .navbar.navbar-style-1 .navbar-inner .link.back svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    display: block !important;
    margin: auto !important;
    pointer-events: none !important;
  }

  html body #app .navbar .navbar-inner .link.back svg path,
  html body #app .navbar.navbar-style-1 .navbar-inner .link.back svg path {
    fill: var(--dl-old-brown, #43302e) !important;
  }

  /* RTL Navbar Back button rotation & alignment */
  [dir="rtl"] .navbar .navbar-inner .link.back svg,
  html[dir="rtl"] body #app .navbar .navbar-inner .link.back svg,
  body[dir="rtl"] #app .navbar .navbar-inner .link.back svg {
    transform: scaleX(-1) !important;
  }

  /* Ensure navbar inner in secondary pages is clean and bounded */
  html body #app .navbar.navbar-style-1 {
    height: 56px !important;
    min-height: 56px !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(67, 48, 46, 0.08) !important;
  }

  html body #app .navbar.navbar-style-1 .navbar-inner {
    height: 100% !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  html body #app .navbar.navbar-style-1 .navbar-inner .title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--dl-old-brown, #43302e) !important;
    text-align: center !important;
    flex: 1 1 auto !important;
  }

  /* 8. AUTH / SIGNIN SCREEN POLISH (signin.aspx) */
  html body #app .dlight-auth-page .dlight-auth-content {
    padding-top: calc(16px + env(safe-area-inset-top)) !important;
    padding-bottom: calc(32px + env(safe-area-inset-bottom)) !important;
  }

  html body #app .dlight-auth-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(67, 48, 46, 0.14) !important;
    box-shadow: 0 3px 10px rgba(67, 48, 46, 0.06) !important;
    color: var(--dl-old-brown, #43302e) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin: 4px 0 16px !important;
    transition: transform 0.15s ease, background-color 0.15s ease !important;
    align-self: flex-start !important;
  }

  [dir="rtl"] .dlight-auth-back,
  html[dir="rtl"] body #app .dlight-auth-back {
    align-self: flex-start !important;
  }

  html body #app .dlight-auth-back:active {
    transform: scale(0.95) !important;
    background: rgba(255, 244, 207, 0.98) !important;
  }

  html body #app .dlight-auth-card {
    border-radius: 20px !important;
    padding: 20px 18px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(67, 48, 46, 0.08) !important;
    box-shadow: 0 8px 24px rgba(67, 48, 46, 0.08) !important;
  }

  html body #app .dlight-auth-card .dlight-field-group input {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(67, 48, 46, 0.16) !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    background: #ffffff !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  }

  html body #app .dlight-auth-card .dlight-field-group input:focus {
    border-color: var(--dl-old-brown, #43302e) !important;
    box-shadow: 0 0 0 3px rgba(67, 48, 46, 0.1) !important;
  }

  html body #app .dlight-auth-card .dlight-primary-action {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    background: var(--dl-old-brown, #43302e) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(67, 48, 46, 0.16) !important;
  }

  html body #app .dlight-auth-card .dlight-secondary-action {
    min-height: 40px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--dl-muted, #7c7471) !important;
  }

  /* 9. BOTTOM SPACING FOR FLOATING BOTTOM NAV */
  html body #app .dlight-support-content,
  html body #app .dlight-location-content,
  html body #app .dlight-bmi-content,
  html body #app .dlight-complaint-content {
    padding-bottom: calc(128px + env(safe-area-inset-bottom)) !important;
  }

  /* 10. LOCATION PAGE (Location.aspx) */
  html body #app .dlight-location-hero {
    margin-bottom: 14px !important;
  }

  html body #app .dlight-location-map {
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(67, 48, 46, 0.1) !important;
    box-shadow: 0 4px 16px rgba(67, 48, 46, 0.08) !important;
    margin-bottom: 16px !important;
  }

  html body #app .dlight-location-map iframe {
    width: 100% !important;
    height: 240px !important;
    border: none !important;
    display: block !important;
  }

  html body #app .dlight-location-card {
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid rgba(67, 48, 46, 0.1) !important;
    box-shadow: 0 4px 16px rgba(67, 48, 46, 0.08) !important;
    padding: 18px !important;
  }

  html body #app .dlight-location-actions .button {
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* 11. SUPPORT / REACH US PAGE (ReachUs.aspx) */
  html body #app .dlight-support-card,
  html body #app .dlight-support-action {
    border-radius: 18px !important;
    border: 1px solid rgba(67, 48, 46, 0.1) !important;
    box-shadow: 0 4px 14px rgba(67, 48, 46, 0.06) !important;
  }

  html body #app .dlight-support-actions {
    margin-bottom: 24px !important;
  }

  html body #app .dlight-support-action {
    padding: 14px 16px !important;
    min-height: 64px !important;
  }

  /* 12. SILKY LUXURY PLANS CATALOG (PlansCatalog.aspx) */
  html body #app .dlight-plans-catalog-page {
    background: linear-gradient(180deg, #fdfbf7 0%, #f9f4ec 50%, #f4ece0 100%) !important;
    min-height: 100vh !important;
  }

  html body #app .dlight-plans-catalog-content {
    padding-bottom: calc(130px + env(safe-area-inset-bottom)) !important;
  }

  html body #app .dlight-plans-catalog-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  html body #app .dlight-plans-catalog-hero {
    padding: 6px 4px 16px !important;
    text-align: start !important;
  }

  html body #app .dlight-plans-catalog-hero .dlight-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #8c6e58 !important;
    background: rgba(140, 110, 88, 0.08) !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    margin-bottom: 8px !important;
  }

  html body #app .dlight-plans-catalog-hero h1 {
    font-size: clamp(24px, 6.2vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #43302e !important;
    margin: 0 0 6px !important;
    letter-spacing: -0.01em !important;
  }

  html body #app .dlight-plans-catalog-hero .dlight-hero-copy {
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #7c6b65 !important;
    margin: 0 !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(253, 250, 245, 0.94) 100%) !important;
    border: 1px solid rgba(220, 195, 160, 0.38) !important;
    border-radius: 28px !important;
    box-shadow: 0 16px 40px -10px rgba(67, 48, 46, 0.07), 0 2px 8px rgba(67, 48, 46, 0.03) !important;
    padding: 20px 16px 22px !important;
    margin-top: 10px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background: radial-gradient(ellipse at 85% 0%, rgba(248, 223, 138, 0.16), transparent 70%),
                radial-gradient(ellipse at 15% 100%, rgba(212, 184, 150, 0.12), transparent 70%) !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 18px !important;
    gap: 12px !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-section-header h2 {
    color: #43302e !important;
    font-size: clamp(20px, 5.2vw, 26px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-section-header span {
    min-height: 28px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    color: #43302e !important;
    background: #fff1b5 !important; /* Butter Yellow */
    border: 1px solid rgba(67, 48, 46, 0.14) !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 6px rgba(67, 48, 46, 0.06) !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-program-swiper {
    overflow: visible !important;
    padding: 4px 2px 8px !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-program-swiper .swiper-wrapper {
    align-items: stretch !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-program-swiper .swiper-slide {
    width: clamp(144px, 42vw, 172px) !important;
    height: auto !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-card {
    position: relative !important;
    min-height: 200px !important;
    height: 100% !important;
    padding: 16px 12px 14px !important;
    gap: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    background: linear-gradient(175deg, #ffffff 0%, #fdfcf9 55%, #f7f1e5 100%) !important;
    border: 1px solid rgba(218, 192, 155, 0.38) !important;
    border-radius: 22px !important;
    box-shadow: 0 10px 24px -6px rgba(67, 48, 46, 0.08), 0 2px 6px rgba(67, 48, 46, 0.03) !important;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
    text-decoration: none !important;
    overflow: hidden !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-card:active {
    transform: scale(0.97) !important;
    box-shadow: 0 4px 12px -2px rgba(67, 48, 46, 0.08) !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-card::after {
    display: none !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-icon {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    margin: 2px auto 4px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #ffffff 0%, #fff9df 50%, #fff1b5 100%) !important; /* Butter Yellow */
    border: 1.5px solid rgba(220, 195, 120, 0.5) !important;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.95), 0 8px 20px rgba(67, 48, 46, 0.08) !important;
    position: relative !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-icon img {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 4px rgba(67, 48, 46, 0.12)) !important;
    display: block !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #43302e !important;
    margin: 0 !important;
    text-align: center !important;
    letter-spacing: -0.01em !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-card small,
  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 24px !important;
    padding: 2px 10px !important;
    border-radius: 999px !important;
    background: #c1dbe8 !important; /* Pastel Blue */
    border: 1px solid rgba(67, 48, 46, 0.1) !important;
    color: #43302e !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-top: auto !important;
    box-shadow: 0 2px 6px rgba(193, 219, 232, 0.4) !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-offers-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(253, 249, 242, 0.92)) !important;
    border: 1px solid rgba(220, 195, 160, 0.35) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 28px -6px rgba(67, 48, 46, 0.06) !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-offers-section .dlight-section-header h2 {
    color: #43302e !important;
    font-size: clamp(18px, 4.8vw, 22px) !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-offer-swiper .swiper-slide {
    width: clamp(240px, 75vw, 320px) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-offer-swiper .swiper-slide img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 14px rgba(67, 48, 46, 0.08) !important;
  }
}

/* ==========================================================================
   14. LARGE SCREEN / DESKTOP POLISH (min-width: 769px)
   Balances layout margins, prevents cards from touching container bottom edge,
   and ensures ample breathing room for cards and bottom navigation.
   ========================================================================== */
@media (min-width: 769px) {
  /* Ensure page content has bottom padding so floating bottom nav never covers cards */
  html body #app .dlight-plans-catalog-content {
    padding-bottom: 130px !important;
  }

  /* Catalog container: centered with generous max-width and balanced margins */
  html body #app .dlight-plans-catalog-container {
    width: min(100% - 48px, 980px) !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  /* Hero section on desktop */
  html body #app .dlight-plans-catalog-hero {
    max-width: 980px !important;
    margin: 0 auto 16px !important;
    padding: 12px 0 16px !important;
    text-align: inherit !important;
  }

  /* Programs section (dark chocolate card on desktop):
     Generous bottom padding (38px) prevents cards from touching or overflowing the bottom edge */
  html body #app .dlight-plans-catalog-page .dlight-programs-section {
    width: 100% !important;
    max-width: 980px !important;
    margin: 20px auto 40px !important;
    padding: 26px 24px 38px !important;
    border-radius: 28px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Swiper: padding allows card drop shadows and bottom badges ample breathing room */
  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-program-swiper {
    overflow: visible !important;
    padding: 8px 4px 18px !important;
  }

  /* Swiper slides on desktop */
  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-program-swiper .swiper-slide {
    width: clamp(210px, 30%, 260px) !important;
    height: auto !important;
  }

  /* Inner program cards (Lifestyle, Sports, Weight Loss) */
  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-card {
    min-height: 252px !important;
    padding: 18px 16px 20px !important;
    gap: 14px !important;
    border-radius: 22px !important;
    box-sizing: border-box !important;
  }

  /* Bottom pill badge inside cards */
  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-card small,
  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-badge {
    margin-top: auto !important;
    margin-bottom: 2px !important;
  }

  /* Program icon container & img: restore crisp brand vector colors on desktop */
  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-icon {
    width: 96px !important;
    height: 96px !important;
    margin: 0 auto 4px !important;
    border-radius: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.8), transparent 42%),
                linear-gradient(145deg, #c1dbe8, rgba(193, 219, 232, 0.72)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 14px 30px rgba(67, 48, 46, 0.1) !important;
  }

  html body #app .dlight-plans-catalog-page .dlight-programs-section .dlight-plan-icon img {
    filter: drop-shadow(0 4px 10px rgba(67, 48, 46, 0.16)) !important;
    opacity: 1 !important;
    width: 66px !important;
    height: 66px !important;
    max-width: 66px !important;
    max-height: 66px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Special offers section on desktop */
  html body #app .dlight-plans-catalog-page .dlight-offers-section {
    width: 100% !important;
    max-width: 980px !important;
    margin: 20px auto 24px !important;
    padding: 24px !important;
    border-radius: 28px !important;
    box-sizing: border-box !important;
  }

  /* Profile / Account Page on Desktop:
     Clean spacing, solid frosted glass card, and generous bottom nav clearance */
  html body #app .dlight-profile-page {
    background: radial-gradient(circle at 50% -8%, #FFF9E8 0%, #FDFBF5 45%, #F7F3EA 100%) !important;
    min-height: 100vh !important;
  }

  html body #app .dlight-profile-page .dlight-profile-content {
    padding-bottom: 140px !important;
    box-sizing: border-box !important;
  }

  /* Desktop Header Unified Single-Row Layout (eliminates 3-row grid collapse & logo collision) */
  html body #app .dlight-app-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    box-sizing: border-box !important;
    padding: 12px 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body #app .dlight-app-header[dir="rtl"],
  html[dir="rtl"] body #app .dlight-app-header {
    flex-direction: row-reverse !important;
  }

  html body #app .dlight-app-header .dlight-app-menu-button {
    flex: 0 0 52px !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4.5px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(67, 48, 46, 0.14) !important;
    box-shadow: 0 4px 14px rgba(67, 48, 46, 0.12) !important;
    cursor: pointer !important;
  }

  html body #app .dlight-app-header .dlight-app-menu-button span {
    display: block !important;
    width: 20px !important;
    height: 2.5px !important;
    background: #43302e !important;
    border-radius: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body #app .dlight-app-header .dlight-app-logo {
    flex: 0 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    position: static !important;
    transform: none !important;
  }

  html body #app .dlight-app-header .dlight-app-logo img {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  html body #app .dlight-app-header .dlight-app-header-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    width: auto !important;
  }

  html body #app .dlight-profile-page .dlight-app-header {
    width: min(100% - 48px, 980px) !important;
    max-width: 980px !important;
    margin: 16px auto 20px !important;
  }

  /* ============================================================
   * UNIVERSAL DESKTOP HEADER — identical on ALL pages
   * Overrides ALL previous page-specific header rules on 1024px+
   * ============================================================ */
  html body #app .dlight-app-header,
  html body #app .page .dlight-app-header,
  html body #app .dlight-profile-page .dlight-app-header,
  html body #app .dlight-menu-status-page .dlight-app-header,
  html body #app .dlight-menu-view-container > .dlight-app-header,
  html body #app .dlight-plans-catalog-container > .dlight-app-header,
  html body #app .dlight-menu-selection-container > .dlight-app-header,
  html body #app .dlight-bmi-container > .dlight-app-header,
  html body #app .dlight-complaint-container > .dlight-app-header,
  html body #app .dlight-media-container > .dlight-app-header,
  html body #app .dlight-consultation-container > .dlight-app-header,
  html body #app .dlight-reachout-container > .dlight-app-header,
  html body #app .dlight-complaint-history-container > .dlight-app-header {
    /* Layout */
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    /* Sizing */
    width: min(100% - 48px, 980px) !important;
    max-width: 980px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    box-sizing: border-box !important;
    /* Spacing */
    margin: 12px auto 16px !important;
    padding: 0 16px !important;
    /* Visual — frosted white pill card matching Complaints page */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 247, 219, 0.88) 100%) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1.5px solid rgba(67, 48, 46, 0.09) !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 28px -4px rgba(67, 48, 46, 0.09), inset 0 1px 0 rgba(255,255,255,0.8) !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 10020 !important;
  }

  /* RTL flip */
  html body #app .dlight-app-header[dir="rtl"],
  html[dir="rtl"] body #app .dlight-app-header {
    flex-direction: row-reverse !important;
  }

  /* Hide any ::before / ::after decorations on the header */
  html body #app .dlight-app-header::before,
  html body #app .dlight-app-header::after,
  html body #app .page .dlight-app-header::before,
  html body #app .page .dlight-app-header::after {
    display: none !important;
  }

  /* Hamburger — 52px circle, identical everywhere */
  html body #app .dlight-app-header .dlight-app-menu-button,
  html body #app .page .dlight-app-header .dlight-app-menu-button,
  html body #app .dlight-profile-page .dlight-app-header .dlight-app-menu-button,
  html body #app .dlight-menu-status-page .dlight-app-header .dlight-app-menu-button {
    flex: 0 0 52px !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4.5px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(67, 48, 46, 0.14) !important;
    box-shadow: 0 4px 14px rgba(67, 48, 46, 0.12) !important;
    cursor: pointer !important;
    z-index: 10022 !important;
    pointer-events: auto !important;
  }

  /* Hamburger bars — 3 brown lines */
  html body #app .dlight-app-header .dlight-app-menu-button span,
  html body #app .page .dlight-app-header .dlight-app-menu-button span,
  html body #app .dlight-profile-page .dlight-app-header .dlight-app-menu-button span,
  html body #app .dlight-menu-status-page .dlight-app-header .dlight-app-menu-button span {
    display: block !important;
    width: 20px !important;
    height: 2.5px !important;
    background: #43302e !important;
    border-radius: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Logo — centered, 44px height */
  html body #app .dlight-app-header .dlight-app-logo,
  html body #app .page .dlight-app-header .dlight-app-logo,
  html body #app .dlight-profile-page .dlight-app-header .dlight-app-logo,
  html body #app .dlight-menu-status-page .dlight-app-header .dlight-app-logo {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    min-width: 0 !important;
    max-width: 200px !important;
    pointer-events: auto !important;
    position: static !important;
    transform: none !important;
  }

  html body #app .dlight-app-header .dlight-app-logo img,
  html body #app .page .dlight-app-header .dlight-app-logo img,
  html body #app .dlight-profile-page .dlight-app-header .dlight-app-logo img,
  html body #app .dlight-menu-status-page .dlight-app-header .dlight-app-logo img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Action buttons (AR, Support, Sign out) — right side */
  html body #app .dlight-app-header .dlight-app-header-actions,
  html body #app .page .dlight-app-header .dlight-app-header-actions,
  html body #app .dlight-profile-page .dlight-app-header .dlight-app-header-actions,
  html body #app .dlight-menu-status-page .dlight-app-header .dlight-app-header-actions {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    z-index: 10021 !important;
    isolation: isolate !important;
  }

  html body #app .dlight-profile-hero {
    width: min(100% - 48px, 680px) !important;
    max-width: 680px !important;
    margin: 0 auto 24px !important;
    padding: 32px 28px 28px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(220, 195, 160, 0.4) !important;
    border-radius: 28px !important;
    box-shadow: 0 16px 44px -8px rgba(67, 48, 46, 0.1) !important;
    box-sizing: border-box !important;
  }

  html body #app .dlight-profile-hero h1 {
    font-size: clamp(26px, 4vw, 36px) !important;
    margin: 10px 0 6px !important;
    color: #43302E !important;
    font-weight: 800 !important;
  }

  html body #app .dlight-profile-hero p:not(.dlight-eyebrow) {
    margin: 4px 0 16px !important;
    color: #7C7471 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
  }

  html body #app .dlight-profile-hero .button-fill {
    max-width: 380px !important;
    margin: 16px auto 0 !important;
    border-radius: 999px !important;
  }

  html body #app .dlight-profile-form {
    width: min(100% - 48px, 680px) !important;
    max-width: 680px !important;
    margin: 0 auto 40px !important;
  }
}

/* ==========================================================================
   PayNow Checkout: Margin symmetry, de-bulking, and RTL/LTR alignment fix
   ========================================================================== */
html body #app .dlight-payment-page .dlight-payment-container {
  width: min(100% - 32px, 520px) !important;
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
}

html body #app .dlight-payment-page .dlight-payment-hero {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto 16px !important;
  padding: 16px 2px 8px !important;
}

html body #app .dlight-payment-page .dlight-payment-hero[dir="rtl"],
html[dir="rtl"] body #app .dlight-payment-page .dlight-payment-hero:not([dir="ltr"]) {
  direction: rtl !important;
  text-align: right !important;
}

html body #app .dlight-payment-page .dlight-payment-hero[dir="ltr"],
html:not([dir="rtl"]) body #app .dlight-payment-page .dlight-payment-hero:not([dir="rtl"]) {
  direction: ltr !important;
  text-align: left !important;
}

html body #app .dlight-payment-page .dlight-payment-hero h1 {
  font-size: clamp(26px, 7vw, 40px) !important;
  line-height: 1.15 !important;
  margin: 8px 0 6px !important;
  color: #43302E !important;
  font-weight: 900 !important;
}

html body #app .dlight-payment-page .dlight-payment-hero p:last-child {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #7C7471 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Eliminate double-nesting bulky card framing */
html body #app .dlight-payment-page .dlight-payment-card {
  display: block !important;
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-sizing: border-box !important;
}

/* Primary checkout chocolate card: centered, symmetric, no overflow */
html body #app .dlight-payment-page .dlight-payment-focus {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  padding: 24px 20px !important;
  background:
    radial-gradient(240px 180px at 96% 8%, rgba(248, 223, 138, 0.32), transparent 75%),
    linear-gradient(160deg, #43302E 0%, #2F211F 100%) !important;
  border: 1px solid rgba(248, 223, 138, 0.28) !important;
  border-radius: 26px !important;
  box-shadow: 0 20px 48px rgba(67, 48, 46, 0.22) !important;
  color: #FFFFFF !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

html body #app .dlight-payment-page [dir="rtl"] .dlight-payment-focus,
html[dir="rtl"] body #app .dlight-payment-page .dlight-payment-card:not([dir="ltr"]) .dlight-payment-focus {
  direction: rtl !important;
  text-align: right !important;
}

html body #app .dlight-payment-page [dir="ltr"] .dlight-payment-focus,
html:not([dir="rtl"]) body #app .dlight-payment-page .dlight-payment-card:not([dir="rtl"]) .dlight-payment-focus {
  direction: ltr !important;
  text-align: left !important;
}

/* Lock badge and secure checkout text */
html body #app .dlight-payment-page .dlight-payment-secure-copy {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

html body #app .dlight-payment-page .dlight-payment-lock {
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #F8DF8A, #FFF4CF) !important;
  color: #43302E !important;
  display: grid !important;
  place-items: center !important;
  font-size: 24px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 18px rgba(20, 14, 13, 0.22) !important;
}

html body #app .dlight-payment-page .dlight-payment-secure-copy p {
  margin: 0 0 4px !important;
  color: #FFF4CF !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

html body #app .dlight-payment-page .dlight-payment-secure-copy small {
  margin: 0 !important;
  color: rgba(255, 244, 207, 0.8) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  display: block !important;
}

/* Total amount display */
html body #app .dlight-payment-page .dlight-payment-total {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 16px 20px !important;
  background: rgba(255, 248, 223, 0.12) !important;
  border: 1px solid rgba(248, 223, 138, 0.24) !important;
  border-radius: 18px !important;
}

html body #app .dlight-payment-page .dlight-payment-total span {
  color: rgba(255, 244, 207, 0.82) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

html body #app .dlight-payment-page .dlight-payment-total strong {
  color: #F8DF8A !important;
  font-size: clamp(28px, 6vw, 36px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Coupon block */
html body #app .dlight-payment-page .dlight-coupon-block {
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

html body #app .dlight-payment-page .dlight-coupon-block > small {
  color: rgba(255, 244, 207, 0.82) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

html body #app .dlight-payment-page .dlight-coupon-row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

html body #app .dlight-payment-page .dlight-coupon-row input {
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  padding: 0 16px !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(248, 223, 138, 0.24) !important;
  border-radius: 16px !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}

html body #app .dlight-payment-page .dlight-coupon-row input::placeholder {
  color: rgba(255, 244, 207, 0.52) !important;
}

html body #app .dlight-payment-page .dlight-coupon-row button {
  width: auto !important;
  max-width: 120px !important;
  min-width: 86px !important;
  height: 50px !important;
  padding: 0 18px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #FFF4CF, #F8DF8A) !important;
  color: #43302E !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

/* Pay link & button */
html body #app .dlight-payment-page .dlight-pay-link {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 4px !important;
  text-decoration: none !important;
}

html body #app .dlight-payment-page .dlight-pay-link .button {
  width: 100% !important;
  min-height: 58px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #FFEAA3, #F8DF8A) !important;
  color: #43302E !important;
  border: 1px solid rgba(255, 244, 207, 0.45) !important;
  box-shadow: 0 16px 36px rgba(248, 223, 138, 0.26) !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  text-transform: none !important;
  box-sizing: border-box !important;
}

/* Supported payment methods strip */
html body #app .dlight-payment-page .dlight-payment-support-strip {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 14px !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(67, 48, 46, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 26px rgba(67, 48, 46, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

html body #app .dlight-payment-page .dlight-payment-support-strip > span {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #5D4A47 !important;
  max-width: 130px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

html body #app .dlight-payment-page .dlight-payment-support-strip .dlight-payment-methods {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

html body #app .dlight-payment-page .dlight-payment-support-strip .dlight-payment-logo {
  min-width: 40px !important;
  height: 32px !important;
  padding: 3px 6px !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(67, 48, 46, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

html body #app .dlight-payment-page .dlight-payment-support-strip .dlight-payment-logo img {
  max-height: 20px !important;
  max-width: 32px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Note underneath */
html body #app .dlight-payment-page .dlight-payment-note {
  width: 100% !important;
  max-width: 520px !important;
  margin: 16px auto 0 !important;
  text-align: center !important;
  font-size: 12px !important;
  color: #7C7471 !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

@media (max-width: 380px) {
  html body #app .dlight-payment-page .dlight-payment-container {
    width: min(100% - 20px, 520px) !important;
  }
  html body #app .dlight-payment-page .dlight-payment-focus {
    padding: 20px 16px !important;
    gap: 14px !important;
  }
  html body #app .dlight-payment-page .dlight-payment-support-strip {
    padding: 10px 12px !important;
    gap: 8px !important;
  }
  html body #app .dlight-payment-page .dlight-payment-support-strip > span {
    font-size: 11px !important;
  }
  html body #app .dlight-payment-page .dlight-payment-support-strip .dlight-payment-logo {
    min-width: 38px !important;
    height: 30px !important;
    padding: 3px 6px !important;
  }
}

/* ==========================================================================
   HOMEPAGE MEALS SECTION BOUNDING & DESKTOP CONTAINMENT FIX
   ========================================================================== */
html body #app .dlight-home-page .dlight-meals-section {
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body #app .dlight-home-page .dlight-meal-swiper {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 4px 2px !important;
}

/* ==========================================================================
   BOTTOM NAV SINGLE-ITEM ACTIVE STATE & NON-CURRENT PAGE PURGE
   ========================================================================== */
html body #app .page:not(.page-current) .dlight-bottom-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

html body #app .dlight-home-page .dlight-bottom-nav-item:not([data-nav-route="HomePage"]) {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
  color: var(--dl-muted, #7c7471) !important;
}

html body #app .dlight-home-page .dlight-bottom-nav-item:not([data-nav-route="HomePage"]) i,
html body #app .dlight-home-page .dlight-bottom-nav-item:not([data-nav-route="HomePage"]) svg,
html body #app .dlight-home-page .dlight-bottom-nav-item:not([data-nav-route="HomePage"]) span {
  color: var(--dl-muted, #7c7471) !important;
}

html body #app .dlight-home-page .dlight-bottom-nav-item[data-nav-route="HomePage"] {
  color: #fff1b5 !important;
  background: linear-gradient(180deg, #4f3a38 0%, #3a2826 100%) !important;
  box-shadow: 0 4px 14px rgba(67, 48, 46, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

html body #app .dlight-home-page .dlight-bottom-nav-item[data-nav-route="HomePage"] i,
html body #app .dlight-home-page .dlight-bottom-nav-item[data-nav-route="HomePage"] svg,
html body #app .dlight-home-page .dlight-bottom-nav-item[data-nav-route="HomePage"] span {
  color: #fff1b5 !important;
}



