/* ================================================================
   APPLICATION VIEWS & PAGE STYLES
   Multi-Vendor Marketplace Platform
   ================================================================ */

/* Brand-yellow page backdrop for every route except landing (which has its
   own dedicated hero/slideshow background — see app.js `renderActiveView`). */
body.view-bg-tinted {
  background-color: var(--accent);
}

/* --- Top Header & Navbar --- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  border-bottom: none;
  box-shadow: var(--shadow-sm);
  z-index: 900;
  transition: background-color var(--transition-normal);
}

.header-main {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--font-extrabold);
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.02em;
  user-select: none;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 10px hsla(var(--primary-h), var(--primary-s), 31%, 0.35);
}

.brand-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name span {
  color: var(--primary);
}

/* Global Search Bar */
.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 540px;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.625rem 2.5rem 0.625rem 2.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.search-input:focus {
  background: var(--bg-surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(var(--primary-h), var(--primary-s), 50%, 0.16);
  outline: none;
}

.search-icon-left {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 2px;
  display: none;
}

.search-clear-btn:hover {
  color: var(--text-main);
}

/* Auto-Suggest Dropdown */
.suggest-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.suggest-dropdown.active {
  display: block;
}

.suggest-header {
  padding: var(--space-2) var(--space-4);
  font-size: 11px;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.suggest-item {
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-fast);
}

.suggest-item:hover, .suggest-item.selected {
  background: var(--bg-hover);
}

.suggest-item-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.suggest-thumb {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-subtle);
}

.suggest-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-main);
}

.suggest-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.suggest-price {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  position: relative;
  transition: all var(--transition-fast);
}

.header-btn:hover {
  background: var(--bg-hover);
  border-color: var(--text-subtle);
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 11px;
  font-weight: var(--font-bold);
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Cart appears with a subtle pop when the first item is added */
@keyframes cart-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cart-enter {
  animation: cart-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle-btn {
  padding: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
}

.theme-toggle-btn:hover {
  color: var(--text-main);
  background: var(--bg-hover);
}

/* Language Toggle Button */
.lang-toggle-btn {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.03em;
  transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
  color: var(--primary);
  background: var(--bg-hover);
  border-color: var(--primary);
}

.lang-toggle-btn:active {
  transform: translateY(1px);
}

.lang-flag {
  font-size: 14px;
  line-height: 1;
}

.lang-code {
  font-variant-numeric: tabular-nums;
}

.lang-code.active {
  color: var(--primary);
}

.lang-code:not(.active) {
  color: var(--text-muted);
}

.lang-sep {
  color: var(--text-subtle);
}

/* User Profile Menu Button */
.user-menu-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 10px 4px 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-xs);
}

.user-name-text {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-main);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category Sub-Navigation */
.category-nav-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav-bar::-webkit-scrollbar {
  display: none;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-6);
  min-width: max-content;
}

.category-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.category-pill:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.category-pill.active {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
  font-weight: var(--font-bold);
}

/* ================================================================
   VIEW: STOREFRONT
   ================================================================ */

/* Hero Banner — Glovo-style solid warm-yellow flat block, full-bleed edge-to-edge */
.store-hero {
  background: var(--accent);
  color: hsl(30, 45%, 9%);
  padding: var(--space-12) var(--space-6);
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: hsla(0, 0%, 100%, 0.55);
  border: 1px solid hsla(30, 45%, 9%, 0.12);
  color: hsl(30, 45%, 9%);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: 1.15;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  color: hsl(30, 45%, 9%);
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: var(--text-base);
  color: hsla(30, 45%, 9%, 0.72);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: hsla(30, 45%, 9%, 0.8);
}

.hero-feature-item svg {
  color: var(--primary);
}

/* Hero Search Bar */
.hero-search-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero-search {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1 1 400px;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 8px;
  max-width: 640px;
  box-shadow: var(--shadow-lg);
}

.hero-search .hero-search-icon {
  color: var(--text-subtle);
  flex-shrink: 0;
}

.hero-search-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 8px;
  margin-left: -4px;
  border-radius: var(--radius-full);
  color: var(--text-subtle);
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.hero-search-icon-btn:hover {
  color: var(--primary);
  background: var(--bg-hover);
}

.hero-search-icon-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: hsl(30, 28%, 11%);
  font-size: var(--text-sm);
  min-width: 0;
  padding: 0.35rem 0;
}

.hero-search input::placeholder {
  color: var(--text-subtle);
}

.hero-search-divider {
  width: 1px;
  height: 22px;
  background: var(--border-color);
  flex-shrink: 0;
}

.hero-search-location {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-vendor-btn {
  flex: 0 0 auto;
  min-height: 50px;
  background: var(--primary);
  border-color: transparent;
  color: var(--on-primary);
  box-shadow: 0 6px 18px hsla(var(--primary-h), var(--primary-s), 31%, 0.4);
}

.hero-vendor-btn:hover {
  background: var(--primary-hover);
  border-color: transparent;
  color: var(--on-primary);
  box-shadow: 0 8px 24px hsla(var(--primary-h), var(--primary-s), 31%, 0.5);
  transform: translateY(-1px);
}

.hero-vendor-btn:active {
  transform: translateY(0);
}

.hero-vendor-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Storefront Grid & Filter Layout */
.store-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-8);
  align-items: flex-start;
  margin-bottom: var(--space-16);
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: sticky;
  top: calc(var(--header-height) + 20px);
  box-shadow: var(--shadow-md);
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-color);
}

.filter-title {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.filter-section {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.filter-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-heading {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.filter-option-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-main);
  cursor: pointer;
}

.filter-checkbox-label input[type="checkbox"],
.filter-checkbox-label input[type="radio"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.filter-price-inputs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Storefront Main Area */
.store-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.results-count {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.results-count strong {
  color: var(--text-main);
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sort-select {
  padding: 0.375rem 0.75rem;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

.view-mode-toggle {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.view-mode-btn {
  padding: 6px 10px;
  background: var(--bg-surface);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.view-mode-btn.active {
  background: var(--bg-subtle);
  color: var(--primary);
}

/* Product & Service Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

/* Scoped to non-landing routes only (landing page is left untouched). */
body.view-bg-tinted .product-card {
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(var(--primary-h), var(--primary-s), 53%, 0.4);
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 68%; /* Aspect Ratio */
  background: var(--bg-subtle);
  overflow: hidden;
  cursor: pointer;
}

.product-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.product-badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.product-quick-view-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: hsla(0, 0%, 100%, 0.9);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: var(--font-bold);
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition-fast);
}

.product-card:hover .product-quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.product-details {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-vendor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-1);
}

.product-vendor-link {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-vendor-link:hover {
  color: var(--primary);
}

.product-title {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--text-main);
  margin-bottom: var(--space-2);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.product-title:hover {
  color: var(--primary);
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
}

.product-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
}

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

.product-price {
  font-size: var(--text-lg);
  font-weight: var(--font-extrabold);
  color: var(--text-main);
}

.price-unit {
  font-size: var(--text-xs);
  font-weight: var(--font-normal);
  color: var(--text-muted);
}

/* ================================================================
   VIEW: PRODUCT DETAIL MODAL & ZOOM GALLERY
   ================================================================ */

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.main-image-viewport {
  position: relative;
  width: 100%;
  padding-top: 80%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: crosshair;
}

.main-image-display {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease-out;
}

.gallery-thumbnails {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumbnail-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  overflow: hidden;
  padding: 0;
  background: var(--bg-subtle);
  cursor: pointer;
  flex-shrink: 0;
}

.thumbnail-btn.active {
  border-color: var(--primary);
}

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

.modal-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.vendor-highlight-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Customer Reviews Breakdown */
.reviews-section {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-color);
}

.reviews-summary {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-6);
}

.rating-big-box {
  text-align: center;
}

.rating-big-num {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--text-main);
  line-height: 1;
}

.rating-breakdown-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.rating-progress-track {
  flex: 1;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.rating-progress-fill {
  height: 100%;
  background: var(--warning);
  border-radius: var(--radius-full);
}

.review-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}

/* ================================================================
   VIEW: SERVICE BOOKING WIZARD
   ================================================================ */

.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-color);
}

.step-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--text-muted);
}

.step-item.active {
  color: var(--primary);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item.active .step-num {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.booking-calendar-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.calendar-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.cal-weekday {
  font-size: 11px;
  font-weight: var(--font-bold);
  color: var(--text-muted);
  padding: 6px 0;
  text-transform: uppercase;
}

.cal-day-cell {
  padding: 10px 0;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.cal-day-cell:hover:not(.disabled) {
  background: var(--bg-hover);
}

.cal-day-cell.selected {
  background: var(--primary);
  color: #ffffff;
  font-weight: var(--font-bold);
}

.cal-day-cell.today {
  border-color: var(--primary);
}

.cal-day-cell.disabled {
  color: var(--text-subtle);
  opacity: 0.35;
  cursor: not-allowed;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.time-slot-btn {
  padding: 8px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-main);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.time-slot-btn:hover {
  border-color: var(--primary);
}

.time-slot-btn.selected {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px hsla(var(--primary-h), var(--primary-s), 53%, 0.35);
}

/* ================================================================
   VIEW: CART & CHECKOUT
   ================================================================ */

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cart-item-row {
  display: flex;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  padding: 2px 8px;
  background: var(--bg-subtle);
  border: none;
  cursor: pointer;
  font-weight: var(--font-bold);
  font-size: var(--text-xs);
}

.qty-btn:hover {
  background: var(--bg-hover);
}

.qty-val {
  padding: 2px 10px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
}

.cart-financial-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.cart-financial-summary .summary-row {
  display: flex;
  justify-content: space-between;
}

.cart-financial-summary .summary-row.total-row {
  font-size: var(--text-lg);
  font-weight: var(--font-extrabold);
  color: var(--text-main);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-color);
}

/* Invoice Modal */
.invoice-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.invoice-header-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
}

/* ================================================================
   VIEW: VENDOR & ADMIN DASHBOARDS
   ================================================================ */

.dashboard-layout {
  padding: var(--space-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.dashboard-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.portal-tabs-nav {
  display: flex;
  gap: var(--space-2);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-6);
  overflow-x: auto;
}

.chart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.chart-container-svg {
  width: 100%;
  height: 240px;
}

/* Status Timeline Tracker */
.timeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: var(--space-6) 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--border-color);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.timeline-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: var(--font-bold);
  color: var(--text-muted);
}

.timeline-step.completed .timeline-dot {
  background: var(--success);
  border-color: var(--success);
  color: #ffffff;
}

.timeline-step.current .timeline-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-subtle);
}

.timeline-label {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-muted);
}

.timeline-step.completed .timeline-label,
.timeline-step.current .timeline-label {
  color: var(--text-main);
  font-weight: var(--font-bold);
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   =============================================================== */
@media (max-width: 1024px) {
  .store-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-main {
    flex-wrap: wrap;
    height: auto;
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
  }
  .header-actions {
    flex-wrap: wrap;
    row-gap: var(--space-2);
  }
  .search-wrapper {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: var(--space-2);
  }
  .hero-title {
    font-size: var(--text-2xl);
  }
  .hero-search-location {
    display: none;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .reviews-summary {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   VIEW: LANDING PAGE & BUSINESS SHOWCASE
   ================================================================ */

.landing-hero {
  position: relative;
  background: transparent;
  color: hsl(30, 45%, 9%);
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--space-16) var(--space-8) var(--space-12);
  margin-top: var(--space-6);
  margin-bottom: var(--space-10);
  overflow: hidden;
  text-align: center;
}

/* Hero photo slideshow — cycles every 5s, shakes then slides to the next photo */
/* Fixed to the viewport (not the hero box) so it stays pinned behind the
   ENTIRE landing page as the user scrolls, not just the hero at the top.
   #app (position:relative; z-index:1 — see index.html) is the stacking
   context this escapes to and sits behind. */
.landing-hero-slideshow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.landing-hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, hsla(var(--accent-h), var(--accent-s), 55%, 0.62), hsla(var(--accent-h), var(--accent-s), 46%, 0.88));
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(0) scale(1.04);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide.leaving {
  opacity: 0;
  transform: translateX(-4%) scale(1.04);
}

.hero-slide.entering {
  opacity: 1;
  transform: translateX(4%) scale(1.04);
}

.hero-slide.shaking {
  animation: heroSlideShake 0.45s ease-in-out;
}

@keyframes heroSlideShake {
  0%, 100% { transform: translateX(0) rotate(0deg) scale(1.04); }
  15% { transform: translateX(-10px) rotate(-1.4deg) scale(1.04); }
  30% { transform: translateX(9px) rotate(1.3deg) scale(1.04); }
  45% { transform: translateX(-7px) rotate(-1deg) scale(1.04); }
  60% { transform: translateX(6px) rotate(0.9deg) scale(1.04); }
  75% { transform: translateX(-3px) rotate(-0.5deg) scale(1.04); }
  90% { transform: translateX(2px) rotate(0.3deg) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.4s ease; }
  .hero-slide.shaking { animation: none; }
  .hero-slide.leaving, .hero-slide.entering { transform: none; }
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  justify-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 2;
}

.landing-hero-grid > div:first-child {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: hsla(0, 0%, 100%, 0.6);
  border: 1px solid hsla(30, 45%, 9%, 0.1);
  color: var(--primary-active);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.landing-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: var(--font-extrabold);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  color: hsl(30, 45%, 9%);
}

.landing-title span {
  color: var(--primary);
}

.landing-subtitle {
  font-size: var(--text-base);
  color: hsla(30, 45%, 9%, 0.72);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 580px;
}

.landing-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

/* Floating whimsical icon accents (decorative, hidden on small screens) */
.landing-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-float-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 14px 28px hsla(30, 45%, 9%, 0.18);
  animation: heroFloat 5s ease-in-out infinite;
}

.hero-float-icon.f1 { top: 8%; left: 6%; width: 64px; height: 64px; color: var(--primary); animation-delay: 0s; transform: rotate(-8deg); }
.hero-float-icon.f2 { top: 62%; left: 3%; width: 48px; height: 48px; color: var(--danger); animation-delay: 0.6s; transform: rotate(10deg); }
.hero-float-icon.f3 { top: 12%; right: 6%; width: 56px; height: 56px; color: var(--primary); animation-delay: 1.1s; transform: rotate(9deg); }
.hero-float-icon.f4 { top: 66%; right: 4%; width: 44px; height: 44px; color: var(--danger); animation-delay: 1.7s; transform: rotate(-12deg); }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

@media (max-width: 1100px) {
  .landing-hero-decor { display: none; }
}

/* Fast Stats Bar — white flat card floating on the yellow hero */
.landing-stats-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  background: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-2) auto 0;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  width: 100%;
}

.landing-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.landing-stat-num {
  font-size: var(--text-xl);
  font-weight: var(--font-extrabold);
  color: var(--primary);
}

.landing-stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: var(--font-semibold);
}

/* Business Showcase Cards */
.business-showcase-section {
  margin-bottom: var(--space-12);
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

.business-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.business-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: hsla(var(--primary-h), var(--primary-s), 53%, 0.4);
}

.business-card-top {
  padding: var(--space-5);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.business-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: var(--font-extrabold);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.business-meta {
  flex: 1;
}

.business-name {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.business-cat-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.business-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid hsla(var(--primary-h), var(--primary-s), 40%, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* Vendor business-category multi-select */
.vendor-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.vendor-cat-option {
  position: relative;
  cursor: pointer;
}

.vendor-cat-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vendor-cat-option-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-main);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  width: 100%;
}

.vendor-cat-option:hover .vendor-cat-option-inner {
  border-color: hsla(var(--primary-h), var(--primary-s), 50%, 0.5);
}

.vendor-cat-option input:checked + .vendor-cat-option-inner {
  border-color: var(--primary);
  background: var(--primary-subtle);
  color: var(--primary);
}

.vendor-cat-option input:focus-visible + .vendor-cat-option-inner {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.vendor-cat-option-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.form-label-hint {
  font-weight: normal;
  color: var(--text-muted);
}

.business-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-4);
}

.business-description {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.business-offerings-preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.offering-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
}

.offering-mini-name {
  font-weight: var(--font-semibold);
  color: var(--text-main);
  display: block;
  max-width: 70%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offering-mini-price {
  font-weight: var(--font-bold);
  color: var(--primary);
  flex-shrink: 0;
}

.business-card-footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
}

/* Category Infinite Circular Carousel */
.category-carousel {
  position: relative;
  margin-bottom: var(--space-12);
  /* Cards size so the viewport is always fully covered (never blank):
     desktop ~5 cards, tablet ~3.2, mobile fixed small cards. */
  --cat-card-w: clamp(190px, calc((100% - 64px) / 5), 280px);
}

.category-carousel-viewport {
  overflow: hidden;
  padding: var(--space-3) 0 var(--space-4);
  cursor: grab;
  touch-action: pan-y;
  border-radius: var(--radius-lg);
}

.category-carousel-viewport.dragging {
  cursor: grabbing;
}

.category-carousel-track {
  display: flex;
  gap: var(--space-4);
  will-change: transform;
}

.category-carousel-card {
  flex: 0 0 var(--cat-card-w);
  width: var(--cat-card-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-3);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.category-carousel-card:hover {
  border-color: hsla(var(--primary-h), var(--primary-s), 50%, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-carousel-card.active {
  border-color: var(--primary);
  background: var(--primary-subtle);
  box-shadow: var(--shadow-md);
}

.category-carousel-card.active .category-carousel-name {
  color: var(--primary);
}

.category-carousel-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.category-carousel-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-carousel-name {
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  color: var(--text-main);
}

.category-carousel-count {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.category-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.category-carousel-arrow:hover {
  background: var(--primary-subtle);
  border-color: hsla(var(--primary-h), var(--primary-s), 50%, 0.5);
  color: var(--primary);
}

.category-carousel-arrow:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.category-carousel-arrow.prev {
  left: -12px;
}

.category-carousel-arrow.next {
  right: -12px;
}

@media (max-width: 1024px) {
  .category-carousel {
    --cat-card-w: clamp(148px, calc((100% - 32px) / 3.2), 330px);
  }
}

@media (max-width: 640px) {
  .category-carousel {
    --cat-card-w: 148px;
  }

  .category-carousel-card {
    padding: var(--space-4) var(--space-2);
  }

  /* At this width the arrows have nowhere to sit without overlapping the
     first/last card's text — the viewport already supports drag/swipe
     (see category-carousel.js pointer handlers), so hide them here instead. */
  .category-carousel-arrow {
    display: none;
  }

  .hero-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search {
    flex: 1 1 auto;
    max-width: none;
  }

  .hero-vendor-btn {
    width: 100%;
  }
}

/* Trust / Feature Banner */
.landing-trust-banner {
  /* Frosted, not solid — lets the fixed hero slideshow show through as it scrolls into view. */
  background: hsla(0, 0%, 100%, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--space-8) max(var(--space-6), calc((100vw - var(--container-max)) / 2 + var(--space-6)));
  margin-bottom: var(--space-12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

/* Vendor Onboarding CTA — full-bleed flat teal/yellow wash band */
.vendor-cta-section {
  background: linear-gradient(135deg, hsla(var(--primary-h), var(--primary-s), 31%, 0.08), hsla(var(--accent-h), var(--accent-s), 63%, 0.16));
  border: none;
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--space-10) max(var(--space-6), calc((100vw - var(--container-max)) / 2 + var(--space-6)));
  text-align: center;
  margin-bottom: var(--space-12);
}

.trust-item {
  display: flex;
  gap: var(--space-3);
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--success-subtle);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-title {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--text-main);
  margin-bottom: 2px;
}

.trust-item-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.45;
}

/* Admin Dynamic Indicator in Login Form */
.admin-mode-indicator {
  display: none;
  background: hsla(var(--danger-h), var(--danger-s), 60%, 0.12);
  border: 1px solid hsla(var(--danger-h), var(--danger-s), 60%, 0.35);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
  animation: fadeIn 0.2s ease-in-out forwards;
}

.admin-mode-indicator.active {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

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

@media (max-width: 900px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
  }
  .landing-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
