/* Design Tokens & Theme Variables */
:root {
  /* Brand Colors */
  --brand-navy: #1f345d;
  --brand-navy-light: #2c477d;
  --brand-gold: #d4af37;
  --brand-gold-light: #f3cf65;
  --brand-gold-dark: #b8860b;
  --success-color: #2e7d32;
  --success-bg: rgba(46, 125, 50, 0.1);
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(31, 52, 93, 0.05);
  --shadow-md: 0 12px 24px rgba(31, 52, 93, 0.08);
  --shadow-lg: 0 20px 40px rgba(31, 52, 93, 0.12);
  
  /* Light Mode Variables */
  --bg-primary: #fbfbf9;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f3f3f0;
  --text-primary: #1f345d;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border-color: rgba(31, 52, 93, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --scrollbar-thumb: rgba(31, 52, 93, 0.2);
  --scrollbar-track: rgba(31, 52, 93, 0.05);
  --card-hover-border: rgba(212, 175, 55, 0.4);
}

/* Dark Mode Overrides */
html[data-theme="dark"] {
  --bg-primary: #0a0f1d;
  --bg-secondary: #121829;
  --bg-tertiary: #1b233a;
  --text-primary: #f7fafc;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --border-color: rgba(255, 255, 255, 0.06);
  --glass-bg: rgba(18, 24, 41, 0.85);
  --glass-border: rgba(255, 255, 255, 0.04);
  --scrollbar-thumb: rgba(255, 255, 255, 0.15);
  --scrollbar-track: rgba(255, 255, 255, 0.03);
  --card-hover-border: rgba(212, 175, 55, 0.5);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
}

/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-padding, 164px);
  touch-action: manipulation;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

/* Global Reset: Scrollbar Hiding & Tap Highlight Removal */
* {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE and Edge */
  -webkit-tap-highlight-color: transparent; /* Remove blue/gray mobile tap highlights */
}

*::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Opera */
}

/* Decorative background pattern */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.015;
  background-image: radial-gradient(var(--brand-navy) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
html[data-theme="dark"] .bg-pattern {
  opacity: 0.05;
  background-image: radial-gradient(white 1px, transparent 1px);
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden {
  display: none !important;
}

/* Fullscreen App Loader */
.app-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
}

.app-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}

.loader-logo {
  height: 48px;
  width: auto;
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-spinner {
  width: 32px;
  height: 32px;
  border: 3.5px solid rgba(31, 52, 93, 0.08);
  border-top-color: var(--brand-navy);
  border-radius: 50%;
  animation: loaderSpin 0.9s linear infinite;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

/* Sticky Header Wrapper */
.sticky-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

/* Header */
.app-header {
  background-color: transparent;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 64px;
  gap: 10px;
}
@media (min-width: 992px) {
  .header-container {
    padding: 0.75rem 24px;
  }
}

@media (min-width: 768px) {
  .header-container {
    padding: 0.75rem 1.5rem;
    gap: 15px;
  }
}

.brand-section {
  display: flex;
  align-items: center;
  z-index: 5;
}

@media (min-width: 992px) {
  .brand-section {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    pointer-events: none;
  }
  .brand-section * {
    pointer-events: auto;
  }
}

.brand-logo {
  height: 36px;
  width: auto;
  transition: filter var(--transition-normal);
}
@media (min-width: 992px) {
  .brand-logo {
    height: 44px;
  }
}

/* Dark theme SVG invert filter */
html[data-theme="dark"] .brand-logo {
  filter: brightness(0) invert(0.96) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.08));
}

/* Global Focus Outline/Ring Reset */
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Search Box */
.search-box {
  position: relative;
  flex-grow: 1;
  z-index: 10;
}

@media (min-width: 992px) {
  .search-box {
    flex-grow: 0;
    width: 280px;
    margin-left: auto;
  }
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: rgba(31, 52, 93, 0.035);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: all var(--transition-fast);
}

.search-box input::placeholder {
  color: var(--brand-navy);
  opacity: 1;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: color var(--transition-fast);
}

.search-box input::-webkit-input-placeholder {
  color: var(--brand-navy);
  opacity: 1;
  font-weight: 500;
}

.search-box input::-moz-placeholder {
  color: var(--brand-navy);
  opacity: 1;
  font-weight: 500;
}

.search-box input:-ms-input-placeholder {
  color: var(--brand-navy);
  opacity: 1;
  font-weight: 500;
}

.search-box input:focus {
  border-color: var(--border-color);
  background-color: var(--bg-tertiary);
  box-shadow: none;
}

/* Phone Call Button */
.phone-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--brand-navy);
  color: #ffffff;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.phone-call-btn:hover {
  background-color: var(--brand-gold);
  color: #1f345d;
  box-shadow: var(--shadow-md);
}

.phone-call-btn svg {
  display: block;
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clear-search-btn:hover {
  color: var(--text-primary);
}

/* Category Navbar */
.category-navbar {
  background-color: transparent;
  border-top: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.category-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
}

.category-navbar-links {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.75rem 20px;
  gap: 0.5rem;
  scrollbar-width: none; /* Hide standard Firefox scrollbar */
}
@media (min-width: 992px) {
  .category-navbar-links {
    padding: 0.75rem 24px;
  }
}
.category-navbar-links::-webkit-scrollbar {
  display: none; /* Hide Webkit scrollbar */
}

.category-tab {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  background-color: rgba(31, 52, 93, 0.035);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.category-tab:hover {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

.category-tab.active {
  background-color: var(--brand-navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .category-tab.active {
  background-color: var(--brand-gold);
  color: #0a0f1d;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* Main Content Container */
.menu-main-content {
  flex-grow: 1;
  padding: 20px 0 20px 0;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 992px) {
  .main-container {
    padding: 0 24px;
  }
}

/* Section Title */
.menu-section {
  margin-bottom: 20px;
}

.menu-section:last-of-type {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 20px;
}

.title-count-badge {
  font-size: 0.8rem;
  font-weight: 600;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product Card */
.product-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
  will-change: box-shadow, border-color;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--card-hover-border);
}

.product-info {
  margin-bottom: 20px;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.product-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.product-calories {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
  margin-bottom: 0;
}

.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--border-color);
}

/* Empty State Search */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  max-width: 500px;
  margin: 2rem auto;
  box-shadow: var(--shadow-sm);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Footer styling */
.app-footer {
  text-align: center;
  padding: 2.5rem 20px;
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  color: var(--brand-navy);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}
@media (min-width: 992px) {
  .app-footer {
    padding: 2.5rem 24px;
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.footer-address {
  font-weight: 500;
  color: var(--text-primary);
}

.footer-phones {
  color: var(--brand-navy);
}

.footer-link {
  color: var(--brand-navy);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--brand-gold);
}

.footer-copyright-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-update-text {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Mobile Search Toggle Overrides removed - mobile uses same text-input layout as desktop */

/* Product Card Image Layout Styling */
.product-card-image {
  width: 100%;
  height: 160px;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}
.product-card:hover .product-card-image img {
  transform: scale(1.03);
}

/* Product Card Prices List Layout */
.product-prices-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0;
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
}
.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.price-label {
  color: var(--text-secondary);
  font-weight: 600;
}
.price-value {
  color: var(--brand-navy);
  font-weight: 600;
}

/* ==========================================================================
   Hero / Promo Banner (Homepage top promo image area)
   ========================================================================== */
.hero-banner-container {
  margin-bottom: 20px;
  width: 100%;
}

.hero-promo-banner {
  position: relative;
  width: 100%;
  height: 220px;
  min-height: 190px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, #1f345d 0%, #162544 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.hero-promo-banner:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--card-hover-border);
}

.hero-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.hero-promo-banner:hover .hero-banner-img {
  transform: scale(1.02);
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0.2) 100%), linear-gradient(90deg, rgba(15, 23, 42, 0.7) 0%, transparent 80%);
  pointer-events: none;
}

.hero-banner-content {
  position: relative;
  z-index: 3;
  padding: 20px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-banner-content > :last-child {
  margin-bottom: 0 !important;
}

.hero-banner-title {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 0.35rem !important;
  line-height: 1.3 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.hero-banner-desc {
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.92) !important;
  line-height: 1.5 !important;
  margin-bottom: 0.85rem !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.hero-banner-btn {
  background-color: var(--brand-gold, #cda250);
  color: #1f345d;
  font-weight: 700;
  border: none;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.hero-banner-btn:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  background-color: #dfb564;
  color: #1f345d;
}

/* Google review / Instagram follow buttons - sit side by side below the hero banner */
.social-follow-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.social-follow-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--brand-navy);
  transition: all var(--transition-fast);
}

.social-follow-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--card-hover-border);
}

.social-follow-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.social-follow-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.social-follow-text {
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .social-follow-card {
    gap: 10px;
    padding: 12px 14px;
  }
  .social-follow-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .social-follow-text {
    font-size: 0.82rem;
  }
  .hero-banner-container {
    margin-bottom: 20px;
  }
  .hero-promo-banner {
    height: 200px;
    min-height: 180px;
  }
  .hero-banner-content {
    padding: 20px;
  }
  .hero-banner-title {
    font-size: 1.15rem;
  }
  .hero-banner-desc {
    font-size: 0.82rem;
    margin-bottom: 0.65rem;
  }
  .hero-banner-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.8rem;
  }
}


/* Top Alignment Override Fix */

/* Product Card - Top-aligned flex layout with bottom-pinned prices */
.product-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
  will-change: box-shadow, border-color;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--card-hover-border);
}

.product-card-image {
  width: 100%;
  height: 160px;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
  flex-shrink: 0;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-card-image img {
  transform: scale(1.03);
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  flex-grow: 1;
  margin-bottom: 1.25rem;
  width: 100%;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  width: 100%;
}

.product-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 0.5rem;
  width: 100%;
}

.product-calories {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0;
  margin-bottom: 0.5rem;
  width: 100%;
}

.product-prices-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  width: 100%;
}

/* DYNAMIC CLEAN LOGO WRAP - NO BROKEN RECTANGLES */
.loader-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
}
.loader-logo-wrap img {
  height: 48px;
  width: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader-logo-wrap img.loaded {
  opacity: 1;
}
.brand-logo-wrap {
  display: flex;
  align-items: center;
}
.brand-logo-wrap img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.brand-logo-wrap img.loaded {
  opacity: 1;
}

/* ZERO_FLASH_CLEAN_LOGO_RULES */
.brand-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}
.brand-logo:not([src]), .brand-logo[src=""] {
  display: none !important;
}
.loader-logo {
  height: 48px;
  width: auto;
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader-logo:not([src]), .loader-logo[src=""] {
  display: none !important;
}
