/* ==========================================================================
   HOMEMADE FOOD & TIFFIN MARKETPLACE — STYLE.CSS
   Global Foundation, Component Library, Page Layouts, Dashboards & Responsive
   ========================================================================== */

/* ==========================================================================
   1. RESET & BASE FOUNDATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: var(--transition-theme);
  overflow-x: clip;
}

html.no-scroll,
body.no-scroll,
html.menu-open,
body.menu-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}

/* Accessible focus outline */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Selection */
::selection {
  background-color: var(--color-primary);
  color: #14130F;
}

/* Media Elements */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  object-fit: cover;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Accessible Visually Hidden */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   2. CONTAINERS & LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.container-sm {
  width: 100%;
  max-width: var(--container-sm);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.section {
  padding-block: clamp(3rem, 6vw, 6rem);
  position: relative;
}

.section-tight {
  padding-block: clamp(2rem, 4vw, 4rem);
}

.section-alt {
  background-color: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.section-accent {
  background-color: var(--color-soft-accent);
  color: #14130F;
}

.section-accent h1,
.section-accent h2,
.section-accent h3,
.section-accent h4,
.section-accent h5,
.section-accent h6,
.section-accent p,
.section-accent .lead-text {
  color: #14130F;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   3. TYPOGRAPHY SYSTEM
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: var(--leading-tight);
  font-weight: var(--font-semibold);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw + 1rem, 4rem);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw + 0.5rem, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw + 0.5rem, 2rem);
  line-height: var(--leading-snug);
}

h4 {
  font-size: var(--text-xl);
  font-family: var(--font-body);
  font-weight: var(--font-bold);
}

h5 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: var(--font-semibold);
}

p {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

.lead-text {
  font-size: clamp(1.0625rem, 1.2vw + 0.8rem, 1.25rem);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--color-primary);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 680px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header.center .kicker {
  justify-content: center;
}

.section-header.center .kicker::before {
  display: none;
}

.section-header h2 {
  margin-bottom: var(--space-3);
}

.section-header p {
  font-size: var(--text-md);
}

/* ==========================================================================
   4. BUTTONS & INTERACTION
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.02em;
  padding-block: 0.75rem;
  padding-inline: 1.5rem;
  min-height: var(--tap-target-min);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
  text-decoration: none;
}

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

.btn-primary {
  background-color: var(--color-primary);
  color: #14130F;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #14130F;
  box-shadow: 0 4px 14px rgba(205, 139, 9, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-soft {
  background-color: var(--color-soft-accent);
  color: #14130F;
  border-color: transparent;
}

.btn-soft:hover {
  background-color: var(--color-primary);
  color: #14130F;
}

.btn-dark {
  background-color: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.btn-dark:hover {
  opacity: 0.9;
}

.btn-sm {
  padding-block: 0.45rem;
  padding-inline: 0.9rem;
  font-size: var(--text-xs);
  min-height: 36px;
}

.btn-lg {
  padding-block: 0.95rem;
  padding-inline: 2rem;
  font-size: var(--text-base);
  min-height: 50px;
}

.btn-full {
  width: 100%;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Icon Buttons */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-button-size);
  height: var(--icon-button-size);
  min-width: var(--icon-button-size);
  min-height: var(--icon-button-size);
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  font-size: var(--icon-glyph-size);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-surface);
}
/* --------------------------------------------------------------------------
   DARK MODE — SECONDARY BUTTON HOVER
   -------------------------------------------------------------------------- */

html[data-theme="dark"] .home2-bg-actions .btn-secondary:hover {
  color: #1c1914;
}
/* ==========================================================================
   5. FORM ELEMENTS & VALIDATION
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-5);
  position: relative;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: var(--color-error);
  margin-inline-start: 2px;
}

.form-control,
.form-select,
textarea.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  min-height: var(--tap-target-min);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(233, 164, 19, 0.25);
  outline: none;
}

.form-control::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Password Input Group */
.input-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-password-wrapper .form-control {
  padding-inline-end: 2.75rem;
}

.btn-password-toggle {
  position: absolute;
  inset-inline-end: 0.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.btn-password-toggle:hover {
  color: var(--color-primary);
}

/* Form Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  cursor: pointer;
}

.form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background-color: var(--color-surface);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all var(--transition-fast);
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.form-check-input:checked::before {
  content: "";
  width: 9px;
  height: 5px;
  border-inline-start: 2px solid #14130F;
  border-block-end: 2px solid #14130F;
  transform: rotate(-45deg) translate(1px, -1px);
}

.form-check-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  user-select: none;
}

.form-check-label a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form Validation Error Text */
.form-error-msg {
  display: none;
  font-size: var(--text-xs);
  color: var(--color-error);
  font-weight: var(--font-medium);
  margin-top: var(--space-1);
}

.has-error .form-control,
.has-error .form-select {
  border-color: var(--color-error) !important;
  background-color: var(--color-error-bg);
}

.has-error .form-error-msg {
  display: block;
}

.form-alert {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  display: none;
  align-items: center;
  gap: var(--space-3);
}

.form-alert.show {
  display: flex;
}

.form-alert.alert-success {
  background-color: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  color: var(--color-success);
}

.form-alert.alert-error {
  background-color: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  color: var(--color-error);
}

/* ==========================================================================
   6. HEADER & STICKY NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-bg);
  border-block-end: 1px solid var(--color-border);
  z-index: var(--z-header);
  transition: background-color var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.site-header.scrolled {
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

/* Brand Logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  z-index: calc(var(--z-drawer) + 1);
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.site-logo:hover {
  opacity: 0.92;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: var(--color-primary);
  color: #14130F;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  box-shadow: 0 2px 6px rgba(233, 164, 19, 0.28);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.site-logo:hover .logo-mark {
  transform: scale(1.02);
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.logo-text .brand-name,
.site-logo .brand-name,
.brand-name {
  font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text);
  line-height: 1.1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo-text .brand-tagline {
  font-family: var(--font-body), -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-top: 1px;
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  position: static;
  gap: var(--space-6);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.5rem);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
  padding-block: 0.5rem;
  padding-inline: 0.25rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 0.25rem;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

/* Desktop Dropdowns */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 220px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  display: none;
  z-index: var(--z-dropdown);
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.6rem 0.85rem;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--color-soft-accent);
  color: #14130F;
}

.dropdown-item i {
  font-size: 0.9rem;
  width: 16px;
  color: var(--color-text-muted);
}

.dropdown-item:hover i {
  color: #14130F;
}

/* Desktop Utilities - Clean Standalone Icons (No Box Design) */
.nav-utilities {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-utilities .has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-utilities .has-dropdown .dropdown-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

/* Standalone Utility Icons (Theme, RTL/LTR, Account) - No Box/Border/Background */
.nav-utilities .btn-icon,
.nav-utilities .theme-toggle-btn,
.nav-utilities .dir-toggle-btn,
.nav-utilities .dropdown-trigger,
.mobile-utilities-group .btn-icon,
.mobile-utilities-group .theme-toggle-btn,
.mobile-utilities-group .dir-toggle-btn {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  width: var(--tap-target-min, 44px);
  height: var(--tap-target-min, 44px);
  min-width: var(--tap-target-min, 44px);
  min-height: var(--tap-target-min, 44px);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary) !important;
  transition: opacity var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.nav-utilities .btn-icon i,
.nav-utilities .theme-toggle-btn i,
.nav-utilities .dir-toggle-btn i,
.nav-utilities .dropdown-trigger i,
.mobile-utilities-group .btn-icon i {
  color: var(--color-primary) !important;
  font-size: 1.25rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-utilities .btn-icon:hover,
.nav-utilities .btn-icon:focus-visible,
.mobile-utilities-group .btn-icon:hover,
.mobile-utilities-group .btn-icon:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--color-primary-hover) !important;
  opacity: 0.85;
}

.nav-utilities .btn-icon:hover i,
.nav-utilities .btn-icon:focus-visible i,
.mobile-utilities-group .btn-icon:hover i,
.mobile-utilities-group .btn-icon:focus-visible i {
  color: var(--color-primary-hover) !important;
}

/* ==========================================================================
   7. MOBILE NAVIGATION & DRAWER
   ========================================================================== */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: var(--tap-target-min, 44px);
  height: var(--tap-target-min, 44px);
  min-width: var(--tap-target-min, 44px);
  min-height: var(--tap-target-min, 44px);
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  z-index: calc(var(--z-drawer) + 2);
  padding: 0;
  transition: opacity var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.hamburger-btn:hover,
.hamburger-btn:focus-visible {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  opacity: 0.85;
}

.hamburger-line {
  width: 22px;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast), background-color var(--transition-fast);
}

/* Hamburger to X Animation - lines remain exact golden yellow */
.hamburger-btn.is-active .hamburger-line {
  background-color: var(--color-primary);
}

.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Drawer - FULL SCREEN edge to edge */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 19, 15, 0.75);
  backdrop-filter: blur(4px);
  z-index: var(--z-drawer-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-drawer-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-surface);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: none;
  border: none;
}

html[dir="rtl"] .mobile-drawer {
  inset: 0;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-100%);
  border: none;
  box-shadow: none;
}

.mobile-drawer.is-active,
html[dir="rtl"] .mobile-drawer.is-active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--container-gutter, 1.5rem);
  border-block-end: 1px solid var(--color-border);
}

/* Mobile Close Button - Standalone golden icon, no box */
.mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: var(--tap-target-min, 44px);
  height: var(--tap-target-min, 44px);
  min-width: var(--tap-target-min, 44px);
  min-height: var(--tap-target-min, 44px);
  padding: 0;
  cursor: pointer;
  color: var(--color-primary) !important;
  font-size: 1.4rem;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-drawer-close i {
  color: var(--color-primary) !important;
  font-size: 1.4rem;
}

.mobile-drawer-close:hover,
.mobile-drawer-close:focus-visible {
  color: var(--color-primary-hover) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.85;
}

.mobile-drawer-close:hover i {
  color: var(--color-primary-hover) !important;
}

.mobile-drawer-nav {
  padding: 1.5rem;
  flex: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.5rem;
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  border-block-end: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-primary);
}

.mobile-submenu {
  display: none;
  padding-inline-start: 1rem;
  background-color: var(--color-bg);
  border-radius: var(--radius-sm);
  margin-block: var(--space-2);
}

.mobile-submenu.is-open {
  display: block;
}

.mobile-sub-link {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-medium);
}

.mobile-sub-link:hover {
  color: var(--color-primary);
}

.mobile-drawer-footer {
  padding: 1.5rem;
  border-block-start: 1px solid var(--color-border);
  background-color: var(--color-bg);
}

.mobile-utilities-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-3);
}
/* =========================================================
   MOBILE DRAWER NAVIGATION
   ========================================================= */

.mobile-drawer-nav {
  padding: 1.5rem 0;
  flex: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Main navigation links */
.mobile-nav-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;

  padding: 1.15rem var(--container-gutter, 1.5rem);

  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  color: var(--color-text);

  text-align: center;

  border-block-end: 1px solid var(--color-border);

  transition:
    color var(--transition-fast),
    background-color var(--transition-fast);
}

/* Home / Dashboard arrow stays beside the text */
.mobile-nav-link .dropdown-arrow,
.mobile-nav-link .fa-chevron-down,
.mobile-nav-link i {
  flex-shrink: 0;
}

/* Submenu */
.mobile-submenu {
  display: none;

  width: 100%;
  padding: 0;

  background-color: var(--color-bg);
  border-radius: 0;
  margin: 0;

  border-block-end: 1px solid var(--color-border);
}



/* Submenu links */
.mobile-submenu a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  width: 100%;
  padding: 0.9rem var(--container-gutter, 1.5rem);

  text-align: center;
  color: var(--color-text);

  border-block-end: 1px solid var(--color-border);
}

.mobile-submenu li:last-child a {
  border-block-end: none;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-surface);
  border-block-start: 1px solid var(--color-border);
  padding-block-start: clamp(3rem, 5vw, 5rem);
  padding-block-end: 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-block-end: clamp(2.5rem, 4vw, 4rem);
}

.footer-brand p {
  margin-block: var(--space-4);
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

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

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.45;
}

.footer-contact-item i {
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.footer-contact-item a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--color-primary);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.newsletter-input-group {
  display: flex;
  gap: var(--space-2);
}

.newsletter-input-group .form-control {
  font-size: var(--text-sm);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  padding-block-start: 2rem;
  border-block-start: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  color: #14130F;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ==========================================================================
   9. SHARED COMPONENTS (Cards, Badges, Ratings, Skeletons)
   ========================================================================== */
/* Restrained Cards */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  line-height: 1;
  white-space: nowrap;
}

.badge-primary {
  background-color: var(--color-soft-accent);
  color: #14130F;
}

.badge-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background-color: transparent;
}

.badge-veg {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid var(--color-success-border);
}

.badge-status-active {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

.badge-status-pending {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
}

.badge-status-delivering {
  background-color: var(--color-info-bg);
  color: var(--color-info);
}

.badge-status-danger {
  background-color: var(--color-error-bg);
  color: var(--color-error);
}

/* Rating Stars */
.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--color-secondary);
  font-size: var(--text-sm);
}

.rating-score {
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-inline-start: 4px;
}


/* ==========================================================================
   10. HOME 1 — DISCOVERY & CONVENIENCE  (FIXED — SMOOTH RESPONSIVE)
   --------------------------------------------------------------------------
   Replace the original ".hero-home-1 ... 10. HOME 1" block in style.css
   with everything below. This is the SAME selectors as your source —
   no "html" prefix needed since this replaces the source, it doesn't
   override it.

   WHAT CHANGED AND WHY:
   1. grid-template-columns now uses clamp()/min() instead of a hard
      420px floor, so the image column shrinks fluidly instead of
      forcing horizontal overflow.
   2. transition added to the properties that actually change at
      breakpoints (gap, padding-block, grid-template-columns) so any
      jump between states eases instead of snapping.
   3. min-width: 0 added to grid children — without it, grid/flex items
      refuse to shrink past their content size, which is the #1 cause
      of "resizing isn't smooth, it just clips."
   4. One real breakpoint (768px) to stack to a single column BEFORE
      the fluid columns run out of room, instead of overflowing.
   5. Floating card now scales with clamp() and is contained with
      max-width: calc(100% - spacing) so it can never escape the image
      on any width.
   ========================================================================== */

.hero-home-1 {
  position: relative;
  max-width: 100%;
  padding-block: clamp(4.5rem, 7vw, 7.5rem);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 28%,
      var(--color-soft-accent) 0%,
      transparent 52%
    );
  transition: padding-block var(--transition-base);
}

/* --------------------------------------------------------------------------
   HERO GRID
   -------------------------------------------------------------------------- */

.hero-grid {
  display: grid;
  /* Fluid instead of a hard 420px floor: shrinks smoothly, never overflows */
  grid-template-columns: minmax(0, 1.05fr) minmax(min(420px, 100%), 0.95fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  transition: grid-template-columns var(--transition-base),
              gap var(--transition-base);
}
/* ==========================================================================
   HOME 1 HERO — MOBILE IMAGE + FLOATING CARD FIX
   (paste at the very end of style.css)
   ========================================================================== */
@media (max-width: 767px) {

  .hero-home-1 .hero-image-composition {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-top: var(--space-6);
    padding: 0 0 var(--space-4);
  }

  .hero-home-1 .hero-main-img-wrap {
    width: 100%;
    max-width: min(100%, 560px);
    margin-inline: auto;
    border-radius: clamp(1rem, 2vw, 1.5rem);
  }

  .hero-home-1 .hero-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-home-1 .hero-floating-card {
    position: relative;
    inset: auto;
    align-self: center;
    width: calc(100% - 2rem);
    max-width: 340px;
    margin: -1.75rem auto 0;
    padding: clamp(0.6rem, 2.5vw, 0.85rem) clamp(0.75rem, 3vw, 1rem);
    gap: clamp(0.5rem, 2vw, 0.75rem);
    animation: none;
    transform: none;
  }

  .hero-home-1 .hero-floating-card .user-avatar {
    flex: 0 0 clamp(2rem, 8vw, 2.5rem);
    width: clamp(2rem, 8vw, 2.5rem);
    height: clamp(2rem, 8vw, 2.5rem);
    min-width: 0;
    font-size: clamp(0.75rem, 3vw, 0.95rem);
  }

  .hero-home-1 .hero-floating-card strong {
    font-size: clamp(0.75rem, 3.2vw, 0.875rem) !important;
    line-height: 1.3;
  }

  .hero-home-1 .hero-floating-card span {
    font-size: clamp(0.6875rem, 2.8vw, 0.75rem) !important;
    line-height: 1.4;
  }
}
/* Stack cleanly before the fluid columns run out of room */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   HERO CONTENT
   -------------------------------------------------------------------------- */

.hero-content {
  width: 100%;
  max-width: 640px;
  min-width: 0;
}

.hero-content .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content .kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
}

.hero-content h1 {
  max-width: 680px;
  margin-bottom: var(--space-5);
  font-size: clamp(2rem, 5vw, 4.75rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

.hero-content .lead-text {
  max-width: 610px;
  margin-bottom: var(--space-7);
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.8;
}

@media (max-width: 860px) {
  .hero-content h1,
  .hero-content .lead-text {
    margin-inline: auto;
  }

  .hero-content .kicker {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   BUTTON GROUP
   -------------------------------------------------------------------------- */

.hero-content .btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 860px) {
  .hero-content .btn-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content .btn-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

.hero-content .btn {
  min-height: 3.25rem;
}

/* --------------------------------------------------------------------------
   TRUST BAR
   -------------------------------------------------------------------------- */

.hero-trust-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: var(--space-8);
  padding-block-start: var(--space-6);
  border-block-start: 1px solid var(--color-border);
  transition: gap var(--transition-base);
}

@media (max-width: 860px) {
  .hero-trust-bar {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-trust-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    justify-items: start;
  }
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1.4;
}

.hero-trust-item i {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: var(--color-soft-accent);
  border-radius: 50%;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   IMAGE COMPOSITION
   -------------------------------------------------------------------------- */

.hero-image-composition {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 2rem;
}

/* Decorative background shape */
.hero-image-composition::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 82%;
  aspect-ratio: 1;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--color-soft-accent);
  opacity: 0.65;
}

@media (max-width: 860px) {
  .hero-image-composition::before {
    inset-inline-end: auto;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
  }
}

/* --------------------------------------------------------------------------
   MAIN IMAGE
   -------------------------------------------------------------------------- */

.hero-main-img-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3.15;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  background: var(--color-surface);
  box-shadow: var(--shadow-xl);
}

.hero-main-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.hero-main-img-wrap:hover img {
  transform: scale(1.035);
}

/* --------------------------------------------------------------------------
   FLOATING TRUST CARD
   -------------------------------------------------------------------------- */

.hero-floating-card {
  position: absolute;
  z-index: 2;
  inset-inline-start: 0;
  bottom: 0;

  display: flex;
  align-items: center;
  gap: var(--space-3);

  /* Fluid width, but always leaves a safe margin inside the image */
  width: clamp(220px, 42vw, 340px);
  max-width: calc(100% - 1.5rem);
  padding: clamp(0.7rem, 1.5vw, 0.9rem) clamp(0.85rem, 2vw, 1.1rem);

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);

  animation: floatSubtle 4s ease-in-out infinite;
}

@media (max-width: 480px) {
  /* Static in flow on small phones: cannot clip or overhang */
  .hero-floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 340px;
    margin: calc(var(--space-4) * -1) auto 0;
    animation: none;
  }
}

.hero-floating-card .user-avatar {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.hero-floating-card strong {
  line-height: 1.3;
}

.hero-floating-card span {
  display: block;
  margin-top: 0.15rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   FLOAT ANIMATION
   -------------------------------------------------------------------------- */

@keyframes floatSubtle {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .hero-home-1,
  .hero-grid,
  .hero-trust-bar {
    transition: none;
  }

  .hero-main-img-wrap img {
    transition: none;
  }

  .hero-floating-card {
    animation: none;
  }
}
/* ==========================================================================
   HOME 1 — CUISINE DISCOVERY
   ========================================================================== */

.cuisine-section-heading {
  align-items: flex-end;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.cuisine-section-heading > div:first-child {
  min-width: 0;
}

.cuisine-section-heading .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cuisine-section-heading .kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  flex: 0 0 auto;
  background: var(--color-primary);
  border-radius: 999px;
}

.cuisine-section-heading h2 {
  margin: 0;
}


/* ==========================================================================
   CUISINE EDITORIAL STRIP
   ========================================================================== */

.cuisine-editorial-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  overflow-x: auto;
  padding: 0.5rem 0.15rem 1rem;

  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;

  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}


/* --------------------------------------------------------------------------
   CUSTOM SCROLLBAR
   -------------------------------------------------------------------------- */

.cuisine-editorial-strip::-webkit-scrollbar {
  height: 4px;
}

.cuisine-editorial-strip::-webkit-scrollbar-track {
  background: transparent;
}

.cuisine-editorial-strip::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 999px;
}

.cuisine-editorial-strip::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}


/* ==========================================================================
   CUISINE PILL
   ========================================================================== */

.cuisine-pill-item {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 0.65rem;

  flex: 0 0 auto;

  min-height: 3.25rem;
  padding: 0.55rem 1.05rem 0.55rem 0.6rem;

  color: var(--color-text);
  background: var(--color-surface);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);

  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;

  white-space: nowrap;
  text-decoration: none;

  cursor: pointer;

  box-shadow:
    0 1px 2px color-mix(
      in srgb,
      var(--color-text) 4%,
      transparent
    ),
    0 4px 14px color-mix(
      in srgb,
      var(--color-text) 4%,
      transparent
    );

  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}


/* ==========================================================================
   CUISINE ICON
   ========================================================================== */

.cuisine-pill-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 2.15rem;
  height: 2.15rem;

  flex: 0 0 auto;

  color: var(--color-primary);
  background: var(--color-soft-accent);

  border-radius: 50%;

  font-size: 0.8rem;

  box-shadow:
    inset 0 0 0 1px color-mix(
      in srgb,
      var(--color-primary) 8%,
      transparent
    );

  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}


/* ==========================================================================
   HOVER
   ========================================================================== */

.cuisine-pill-item:hover {
  color: var(--color-primary);

  background: var(--color-soft-accent);

  border-color: color-mix(
    in srgb,
    var(--color-primary) 45%,
    var(--color-border)
  );

  box-shadow:
    0 3px 6px color-mix(
      in srgb,
      var(--color-text) 5%,
      transparent
    ),
    0 10px 22px color-mix(
      in srgb,
      var(--color-primary) 10%,
      transparent
    );

  transform: translateY(-2px);
}

.cuisine-pill-item:hover i {
  color: var(--color-surface);
  background: var(--color-primary);

  transform: scale(1.05);
}


/* ==========================================================================
   ACTIVE PILL
   ========================================================================== */

.cuisine-pill-item.active {
  color: var(--color-surface);

  background: var(--color-primary);

  border-color: var(--color-primary);

  box-shadow:
    0 4px 10px color-mix(
      in srgb,
      var(--color-primary) 18%,
      transparent
    ),
    0 10px 24px color-mix(
      in srgb,
      var(--color-primary) 14%,
      transparent
    );

  transform: translateY(-1px);
}

.cuisine-pill-item.active i {
  color: var(--color-primary);

  background: var(--color-surface);

  box-shadow: none;
}


/* ==========================================================================
   ACTIVE HOVER
   ========================================================================== */

.cuisine-pill-item.active:hover {
  color: var(--color-surface);

  background: color-mix(
    in srgb,
    var(--color-primary) 90%,
    black
  );

  border-color: var(--color-primary);

  transform: translateY(-2px);
}

.cuisine-pill-item.active:hover i {
  color: var(--color-primary);
  background: var(--color-surface);

  transform: scale(1.05);
}


/* ==========================================================================
   KEYBOARD ACCESSIBILITY
   ========================================================================== */

.cuisine-pill-item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}


/* ==========================================================================
   PRESS / CLICK FEEDBACK
   ========================================================================== */

.cuisine-pill-item:active {
  transform: translateY(0) scale(0.98);
}


/* ==========================================================================
   FIRST / LAST EDGE SPACING
   ========================================================================== */

.cuisine-editorial-strip::before,
.cuisine-editorial-strip::after {
  content: "";
  flex: 0 0 0.15rem;
}


/* ==========================================================================
   DARK THEME SUPPORT
   ========================================================================== */

[data-theme="dark"] .cuisine-pill-item {
  box-shadow:
    0 1px 2px color-mix(
      in srgb,
      black 12%,
      transparent
    ),
    0 5px 16px color-mix(
      in srgb,
      black 12%,
      transparent
    );
}

[data-theme="dark"] .cuisine-pill-item:hover {
  box-shadow:
    0 4px 10px color-mix(
      in srgb,
      black 18%,
      transparent
    ),
    0 10px 24px color-mix(
      in srgb,
      var(--color-primary) 12%,
      transparent
    );
}

[data-theme="dark"] .cuisine-pill-item.active {
  box-shadow:
    0 4px 12px color-mix(
      in srgb,
      var(--color-primary) 22%,
      transparent
    ),
    0 10px 26px color-mix(
      in srgb,
      black 18%,
      transparent
    );
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .cuisine-editorial-strip {
    scroll-behavior: auto;
  }

  .cuisine-pill-item,
  .cuisine-pill-item i {
    transition: none;
  }
}

/* ==========================================================================
   WEEKLY MENU SPOTLIGHT
   ========================================================================== */

.menu-spotlight-box {
  padding: clamp(1.5rem, 3vw, 2.5rem);

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-md);
}

.menu-day-schedule {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);

  margin-block: var(--space-6);
}

.menu-day-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--space-4);
  flex-wrap: wrap;

  padding: var(--space-4);

  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.menu-day-row:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.menu-day-name {
  min-width: 110px;

  color: var(--color-primary);

  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}

.menu-dish-info {
  flex: 1;
  min-width: 180px;
}

.menu-dish-title {
  margin-bottom: 2px;

  color: var(--color-text);
  font-weight: var(--font-bold);
}

.menu-dish-info p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
 /* ==========================================================================
    SECTION 3 — FEATURED HOME CHEFS
    ========================================================================== */

.featured-chefs-section {
  position: relative;
}

.featured-chefs-header {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.featured-chefs-header p {
  max-width: 680px;
  margin-inline: auto;
  color: var(--color-text-muted);
}


/* ==========================================================================
   CHEF GRID
   ========================================================================== */

.chef-grid {
  align-items: stretch;
}


/* ==========================================================================
   CHEF CARD
   ========================================================================== */

.chef-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.chef-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(
    in srgb,
    var(--color-primary) 45%,
    var(--color-border)
  );
  box-shadow: var(--shadow-card-hover);
}


/* ==========================================================================
   IMAGE
   ========================================================================== */

.chef-card-image-wrap {
  position: relative;

  width: 100%;
  aspect-ratio: 4 / 3;

  overflow: hidden;

  background: var(--color-soft-accent);
}

.chef-card-image-wrap::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(0, 0, 0, 0.28) 100%
  );

  pointer-events: none;
}

.chef-card-image-wrap img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition:
    transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.chef-card:hover .chef-card-image-wrap img {
  transform: scale(1.06);
}


/* ==========================================================================
   STATUS BADGE
   ========================================================================== */

.chef-badge-overlay {
  position: absolute;
  z-index: 2;

  top: 1rem;
  inset-inline-start: 1rem;
}

.chef-badge-overlay .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  padding: 0.45rem 0.7rem;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);

  background: rgba(255, 255, 255, 0.92);

  color: #24231f;

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.chef-badge-overlay .badge i {
  font-size: 0.38rem;
}


/* ==========================================================================
   LOCATION TAG
   ========================================================================== */

.chef-location-tag {
  position: absolute;
  z-index: 2;

  right: 1rem;
  inset-inline-end: 1rem;
  bottom: 1rem;

  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  padding: 0.4rem 0.65rem;

  color: #fff;

  background: rgba(20, 20, 18, 0.68);

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);

  font-size: var(--text-xs);
  font-weight: var(--font-semibold);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.chef-location-tag i {
  font-size: 0.7rem;
}


/* ==========================================================================
   CARD BODY
   ========================================================================== */

.chef-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: clamp(1.15rem, 2vw, 1.5rem);
}


/* ==========================================================================
   CARD HEADER
   ========================================================================== */

.chef-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 1rem;

  margin-bottom: 0.25rem;
}

.chef-title {
  margin: 0;

  color: var(--color-text);

  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  line-height: 1.25;
}


/* ==========================================================================
   CUISINE
   ========================================================================== */

.chef-cuisine {
  margin: 0.35rem 0 0;

  color: var(--color-primary);

  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1.4;
}


/* ==========================================================================
   RATING
   ========================================================================== */

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;

  flex: 0 0 auto;

  color: var(--color-primary);

  font-size: 0.85rem;
}

.rating-score {
  color: var(--color-text);

  font-size: var(--text-sm);
  font-weight: var(--font-bold);
}


/* ==========================================================================
   SPECIALTY
   ========================================================================== */

.chef-specialty {
  flex: 1;

  margin: 0.85rem 0 1rem;

  color: var(--color-text-muted);

  font-size: var(--text-sm);
  line-height: 1.7;
}


/* ==========================================================================
   CHEF TAGS
   ========================================================================== */

.chef-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 0.4rem;

  margin-bottom: 1rem;
}

.chef-tags .badge {
  font-size: 0.7rem;
}


/* ==========================================================================
   META ROW
   ========================================================================== */

.chef-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1rem;

  margin-top: auto;
  padding-block-start: 1rem;

  border-block-start: 1px solid var(--color-border);

  color: var(--color-text-muted);

  font-size: var(--text-xs);
}

.chef-price {
  margin-inline: 0.15rem;

  color: var(--color-text);

  font-size: var(--text-base);
  font-weight: var(--font-bold);
}


/* ==========================================================================
   EXPLORE CARD
   ========================================================================== */

.chef-explore-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 100%;

  padding: clamp(2rem, 4vw, 3rem);

  text-align: center;

  background:
    radial-gradient(
      circle at 50% 20%,
      var(--color-soft-accent),
      transparent 65%
    );

  border: 1.5px dashed var(--color-primary);
  border-radius: var(--radius-lg);

  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.chef-explore-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.chef-explore-icon {
  width: 3.5rem;
  height: 3.5rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: var(--space-4);

  color: var(--color-primary);
  background: var(--color-surface);

  border: 1px solid var(--color-border);
  border-radius: 50%;

  font-size: 1.25rem;

  box-shadow: var(--shadow-sm);
}

.chef-explore-card .kicker {
  margin-bottom: var(--space-2);

  color: var(--color-primary);

  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chef-explore-card h3 {
  max-width: 260px;
  margin-bottom: var(--space-3);

  font-size: var(--text-xl);
}

.chef-explore-card p {
  max-width: 280px;
  margin-bottom: var(--space-5);

  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}


/* ==========================================================================
   SKELETON
   ========================================================================== */

.skeleton {
  background:
    linear-gradient(
      90deg,
      var(--color-border) 25%,
      var(--color-soft-accent) 50%,
      var(--color-border) 75%
    );

  background-size: 200% 100%;

  animation: skeletonPulse 1.5s infinite;

  border-radius: var(--radius-xs);
}

@keyframes skeletonPulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}
/* ==========================================================================
   SECTION 4 — HOW MARKETPLACE WORKS
   ========================================================================== */

.marketplace-how-section {
  position: relative;
  overflow: hidden;
}

.marketplace-how-header {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.marketplace-how-header p {
  max-width: 640px;
  margin-inline: auto;
  color: var(--color-text-muted);
}


/* ==========================================================================
   HOW IT WORKS GRID
   ========================================================================== */

.how-it-works-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}


/* Connecting line */

.how-it-works-grid::before {
  content: "";
  position: absolute;
  top: 2.15rem;
  inset-inline-start: 8%;
  inset-inline-end: 8%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}


/* ==========================================================================
   STEP CARD
   ========================================================================== */

.how-step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 1.25rem;
  text-align: center;
}

.how-step-card:first-child {
  padding-inline-start: 0;
}

.how-step-card:last-child {
  padding-inline-end: 0;
}


/* ==========================================================================
   STEP TOP
   ========================================================================== */

.how-step-top {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4.3rem;
  margin-bottom: 1.5rem;
}

.how-step-number {
  position: absolute;
  top: -0.15rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  color: var(--color-text-muted);
  font-size: 0.62rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.08em;
}

.how-step-icon {
  position: relative;
  z-index: 2;
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.65rem;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--color-bg);
  font-size: 0.95rem;
  transition:
    color var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base);
}


/* ==========================================================================
   STEP CONTENT
   ========================================================================== */

.how-step-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.how-step-content h3 {
  margin: 0 0 0.65rem;
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  line-height: 1.35;
}

.how-step-content p {
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.75;
}


/* ==========================================================================
   ARROW
   ========================================================================== */

.how-step-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  color: var(--color-border);
  font-size: 0.7rem;
}

.how-step-card:not(.how-step-card--last):hover .how-step-icon {
  color: var(--color-surface);
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.how-step-card:not(.how-step-card--last):hover .how-step-arrow {
  color: var(--color-primary);
}

/* =========================================================
   SECTION 3 — STEP BADGE
   ========================================================= */

.section .badge.badge-secondary {
  display: inline-flex;
  align-items: center;
  width: fit-content;

  padding: 0.38rem 0.75rem;
  margin-bottom: var(--space-2);

  background-color: #FEF36C;
  color: #14130F;

  border: 1px solid #FEF36C;
  border-radius: 999px;

  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;

  white-space: nowrap;
}
/* =========================================================
   DARK MODE — STEP BADGE
   ========================================================= */

[data-theme="dark"] .section .badge.badge-secondary {
  background-color: rgba(205, 139, 9, 0.12);
  color: #E9A413;
  border-color: rgba(205, 139, 9, 0.55);
}

/* =========================================================
   SECTION 5 — DELIVERY & TRACKING
   ========================================================= */
.delivery-tracker-card {
  width: calc(100% - 30px);
  margin-inline-start: 30px;
  margin-inline-end: 0;
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.delivery-callout {
  width: calc(100% - 30px);
  margin-inline-start: 30px;
  margin-inline-end: 0;
}
/* ==========================================================================
   BOTTOM CTA
   ========================================================================== */

.how-it-works-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding: 1.5rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.how-bottom-copy {
  min-width: 0;
}

.how-bottom-copy .kicker {
  margin-bottom: 0.4rem;
}

.how-bottom-copy h3 {
  max-width: 600px;
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-lg);
  line-height: 1.35;
}

.how-it-works-bottom .btn {
  flex: 0 0 auto;
}
/* ==========================================================================
   HOW IT WORKS — BALANCED DESKTOP SPACING
   ========================================================================== */

.how-it-works-grid {
  position: relative;
  width: min(100%, 1180px);
  margin-inline: auto;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;

  padding-inline: clamp(1rem, 3vw, 2.5rem);
}


/* Connecting line */




/* --------------------------------------------------------------------------
   STEP CARD
   -------------------------------------------------------------------------- */

.how-step-card {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;

  min-width: 0;

  padding-inline: clamp(0.85rem, 1.5vw, 1.4rem);

  text-align: center;
}

.how-step-card:first-child {
  padding-inline-start: 0.85rem;
}

.how-step-card:last-child {
  padding-inline-end: 0.85rem;
}


/* --------------------------------------------------------------------------
   STEP CONTENT
   -------------------------------------------------------------------------- */

.how-step-content {
  max-width: 190px;
  margin-inline: auto;
}

.how-step-content p {
  max-width: 180px;
  margin-inline: auto;
}


/* ==========================================================================
   SECTION 6 — CUSTOMER TRUST
   ========================================================================== */

.customer-trust-section {
  position: relative;
  overflow: hidden;
}

.customer-trust-header {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.customer-trust-header p {
  max-width: 680px;
  margin-inline: auto;
  color: var(--color-text-muted);
}


/* --------------------------------------------------------------------------
   TRUST PILLARS
   -------------------------------------------------------------------------- */

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: clamp(4rem, 7vw, 6rem);
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.trust-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--color-surface);
  transition:
    background-color var(--transition-base),
    transform var(--transition-base);
}

.trust-pillar:hover {
  background: var(--color-bg);
  z-index: 1;
}

.trust-pillar-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  background: var(--color-soft-accent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base);
}

.trust-pillar:hover .trust-pillar-icon {
  color: var(--color-surface);
  background: var(--color-primary);
  transform: translateY(-2px);
}

.trust-pillar-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trust-pillar-number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-pillar h3 {
  margin: 0 0 0.7rem;
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  line-height: 1.3;
}

.trust-pillar p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   TESTIMONIAL HEADING
   -------------------------------------------------------------------------- */

.trust-testimonials-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.trust-testimonials-heading .kicker {
  margin-bottom: 0.5rem;
}

.trust-testimonials-heading h3 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.trust-rating-summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.trust-rating-summary .rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  color: var(--color-primary);
  font-size: 0.78rem;
}


/* --------------------------------------------------------------------------
   TESTIMONIAL CARDS
   -------------------------------------------------------------------------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(
    in srgb,
    var(--color-primary) 40%,
    var(--color-border)
  );
  box-shadow: var(--shadow-md);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  color: var(--color-primary);
  font-size: 0.78rem;
}

.testimonial-quote-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  background: var(--color-soft-accent);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 0.8rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.75rem;
  color: var(--color-text);
  font-size: var(--text-md);
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--color-primary);
  background: var(--color-soft-accent);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.testimonial-author-info strong {
  margin-bottom: 0.2rem;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
}

.testimonial-author-info span {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}
/* ==========================================================================
   SECTION 7 — FINAL CALL TO ACTION
   ========================================================================== */

.final-cta-section {
  position: relative;
  overflow: hidden;
}


/* --------------------------------------------------------------------------
   MAIN CTA CARD
   -------------------------------------------------------------------------- */

.final-cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  background:
    radial-gradient(
      circle at 15% 20%,
      var(--color-soft-accent),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 80%,
      var(--color-soft-accent),
      transparent 30%
    ),
    var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}


/* --------------------------------------------------------------------------
   DECORATIVE ELEMENTS
   -------------------------------------------------------------------------- */

.final-cta-decoration {
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}

.final-cta-decoration--one {
  top: -95px;
  inset-inline-end: -60px;
}

.final-cta-decoration--two {
  bottom: -120px;
  inset-inline-start: -75px;
  width: 220px;
  height: 220px;
}


/* --------------------------------------------------------------------------
   CONTENT
   -------------------------------------------------------------------------- */

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.final-cta-content .kicker {
  margin-bottom: 0.75rem;
}

.final-cta-content h2 {
  max-width: 700px;
  margin: 0 auto 1.25rem;
  color: var(--color-text);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: var(--font-bold);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.final-cta-content p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: 1.75;
}


/* --------------------------------------------------------------------------
   DUAL CTA ACTIONS
   -------------------------------------------------------------------------- */

.final-cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  max-width: 760px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.final-cta-action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.1rem 1.15rem;
  color: var(--color-text);
  text-decoration: none;
  text-align: start;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.final-cta-action:hover {
  color: var(--color-text);
  text-decoration: none;
  transform: translateY(-4px);
  border-color: color-mix(
    in srgb,
    var(--color-primary) 45%,
    var(--color-border)
  );
  box-shadow: var(--shadow-md);
}

.final-cta-action-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--color-primary);
  background: var(--color-soft-accent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.final-cta-action:hover .final-cta-action-icon {
  color: var(--color-surface);
  background: var(--color-primary);
}

.final-cta-action-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.final-cta-action-content strong {
  margin-bottom: 0.25rem;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  line-height: 1.3;
}

.final-cta-action-content small {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.final-cta-arrow {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  transition:
    color var(--transition-base),
    transform var(--transition-base);
}

.final-cta-action:hover .final-cta-arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}


/* --------------------------------------------------------------------------
   TRUST LINE
   -------------------------------------------------------------------------- */

.final-cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.final-cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.final-cta-trust i {
  color: var(--color-primary);
  font-size: 0.75rem;
}

/* ==========================================================================
   HOME 2 — EDITORIAL BACKGROUND HERO
   Light + Dark Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   SECTION
   -------------------------------------------------------------------------- */

.home2-bg-hero {
  --home2-overlay-dark: rgba(10, 9, 6, 0.72);
  --home2-overlay-mid: rgba(10, 9, 6, 0.42);
  --home2-overlay-light: rgba(10, 9, 6, 0.18);

  position: relative;
  isolation: isolate;
  min-height: min(820px, calc(100vh - var(--header-height)));
  overflow: hidden;
  color: #ffffff;
  background: var(--color-text);
}

.home2-bg-slides,
.home2-bg-slide,
.home2-bg-overlay {
  position: absolute;
  inset: 0;
}

.home2-bg-slides {
  z-index: -3;
  overflow: hidden;
}

.home2-bg-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.045);

  transition:
    opacity 900ms ease,
    transform 7s cubic-bezier(0.16, 1, 0.3, 1);

  will-change: opacity, transform;
}

.home2-bg-slide.is-active {
  opacity: 1;
  transform: scale(1);
}


/* --------------------------------------------------------------------------
   LIGHT MODE OVERLAY
   -------------------------------------------------------------------------- */

.home2-bg-overlay {
  z-index: -2;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(10, 9, 6, 0.82) 0%,
      rgba(10, 9, 6, 0.62) 35%,
      rgba(10, 9, 6, 0.30) 68%,
      rgba(10, 9, 6, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 9, 6, 0.12) 0%,
      transparent 38%,
      rgba(10, 9, 6, 0.62) 100%
    );
}


/* --------------------------------------------------------------------------
   DARK MODE OVERLAY
   -------------------------------------------------------------------------- */

html[data-theme="dark"] .home2-bg-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.68) 36%,
      rgba(0, 0, 0, 0.36) 70%,
      rgba(0, 0, 0, 0.52) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      transparent 36%,
      rgba(0, 0, 0, 0.72) 100%
    );
}


/* --------------------------------------------------------------------------
   CONTAINER
   -------------------------------------------------------------------------- */

.home2-bg-container {
  position: relative;
  z-index: 2;

  min-height: min(820px, calc(100vh - var(--header-height)));

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  padding-block:
    clamp(2.5rem, 5vw, 4.5rem)
    clamp(2rem, 4vw, 3.5rem);
}


/* --------------------------------------------------------------------------
   MAIN CONTENT
   -------------------------------------------------------------------------- */

.home2-bg-main {
  display: flex;
  align-items: flex-start;
  flex: none;
}

.home2-bg-content {
  width: min(100%, 720px);
  padding-block: var(--space-4);
}


/* --------------------------------------------------------------------------
   KICKER
   -------------------------------------------------------------------------- */

.home2-bg-kicker-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.home2-bg-kicker {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: var(--space-3);

  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.92);
}

.home2-bg-kicker::before {
  content: "";

  width: 30px;
  height: 1px;
  flex: 0 0 30px;

  background: var(--color-secondary);
}

.home2-bg-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 34px;
  height: 28px;
  padding-inline: 8px;

  border: 1px solid rgba(255, 255, 255, 0.30);

  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.1em;

  color: #ffffff;
}


/* --------------------------------------------------------------------------
   COPY
   -------------------------------------------------------------------------- */

.home2-bg-copy {
  max-width: 680px;
}

.home2-bg-title {
  margin: 0;
  max-width: 720px;

  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7.2vw, 7rem);
  font-weight: var(--font-medium);
  line-height: 0.91;
  letter-spacing: -0.035em;

  color: #ffffff;

  text-wrap: balance;
}

.home2-bg-description {
  max-width: 530px;

  margin:
    clamp(1.5rem, 3vw, 2rem)
    0
    0;

  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.125rem);
  font-weight: var(--font-regular);
  line-height: 1.75;

  color: rgba(255, 255, 255, 0.80);
}


/* --------------------------------------------------------------------------
   ACTIONS
   -------------------------------------------------------------------------- */

.home2-bg-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: var(--space-3);

  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.home2-bg-actions .btn {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 0.7rem;

  padding: 0.8rem 1.35rem;

  border: 1px solid transparent;

  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  line-height: 1;

  text-decoration: none;

  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.home2-bg-actions .btn i {
  font-size: 0.85em;

  transition:
    transform var(--transition-base);
}

.home2-bg-actions .btn:hover i {
  transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   PRIMARY BUTTON
   -------------------------------------------------------------------------- */

.home2-bg-actions .btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);

  color: #1c1914;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.16);
}

.home2-bg-actions .btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);

  transform: translateY(-2px);
}


/* --------------------------------------------------------------------------
   SECONDARY BUTTON
   -------------------------------------------------------------------------- */

.home2-bg-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.45);

  color: #ffffff;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home2-bg-actions .btn-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;

  color: var(--color-text);

  transform: translateY(-2px);
}


/* --------------------------------------------------------------------------
   BOTTOM EDITORIAL INFORMATION
   -------------------------------------------------------------------------- */

.home2-bg-bottom {
  display: grid;

  grid-template-columns: 1fr auto;

  align-items: end;

  gap: var(--space-8);

  margin-top: auto;

  padding-top: var(--space-12);
}

.home2-bg-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 5px;

  max-width: 360px;

  padding-left: var(--space-5);

  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.home2-bg-feature-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: var(--font-bold);

  letter-spacing: 0.15em;
  line-height: 1.3;

  text-transform: uppercase;

  color: var(--color-secondary);
}

.home2-bg-feature strong {
  margin-top: 3px;

  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: var(--font-semibold);
  line-height: 1.05;

  color: #ffffff;
}

.home2-bg-feature span:last-child {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  line-height: 1.5;

  color: rgba(255, 255, 255, 0.70);
}


/* --------------------------------------------------------------------------
   SLIDER NAVIGATION
   -------------------------------------------------------------------------- */

.home2-bg-navigation {
  display: flex;
  align-items: center;

  gap: var(--space-6);
}

.home2-bg-counter {
  display: flex;
  align-items: center;

  gap: 10px;

  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.08em;

  color: rgba(255, 255, 255, 0.88);
}

.home2-bg-counter-line {
  width: 42px;
  height: 1px;

  background: rgba(255, 255, 255, 0.38);
}

.home2-bg-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home2-bg-arrow {
  width: 46px;
  height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.35);

  background: rgba(0, 0, 0, 0.08);

  color: #ffffff;

  cursor: pointer;

  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home2-bg-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);

  color: var(--color-text);

  transform: translateY(-2px);
}

.home2-bg-arrow:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   EDITORIAL PROGRESS
   -------------------------------------------------------------------------- */

.home2-bg-progress {
  position: absolute;

  z-index: 5;

  top: 50%;
  right: var(--container-gutter);

  display: flex;
  flex-direction: column;

  gap: var(--space-3);

  transform: translateY(-50%);
}

.home2-progress-item {
  width: 56px;

  display: grid;
  grid-template-columns: 20px 1fr;

  align-items: center;

  gap: 8px;

  padding: 5px 0;

  border: 0;

  background: transparent;

  color: rgba(255, 255, 255, 0.52);

  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: var(--font-bold);

  letter-spacing: 0.08em;

  text-align: left;

  cursor: pointer;
}

.home2-progress-item:hover,
.home2-progress-item.is-active {
  color: #ffffff;
}

.home2-progress-line {
  position: relative;

  display: block;

  width: 100%;
  height: 1px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.30);
}

.home2-progress-line span {
  position: absolute;

  inset: 0 auto 0 0;

  width: 0;

  background: var(--color-secondary);

  transform-origin: left center;
}

.home2-progress-item.is-active .home2-progress-line span {
  animation:
    home2Progress
    var(--home2-slide-duration, 6000ms)
    linear
    forwards;
}

@keyframes home2Progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   SLIDE CONTENT TRANSITION
   -------------------------------------------------------------------------- */

.home2-bg-content.is-changing .home2-bg-kicker-row,
.home2-bg-content.is-changing .home2-bg-copy,
.home2-bg-content.is-changing .home2-bg-actions,
.home2-bg-feature.is-changing {
  animation:
    home2ContentOut
    220ms
    ease
    forwards;
}

@keyframes home2ContentOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(12px);
  }
}

.home2-bg-content.is-entering .home2-bg-kicker-row,
.home2-bg-content.is-entering .home2-bg-copy,
.home2-bg-content.is-entering .home2-bg-actions,
.home2-bg-feature.is-entering {
  animation:
    home2ContentIn
    650ms
    cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

@keyframes home2ContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --------------------------------------------------------------------------
   RTL
   -------------------------------------------------------------------------- */

html[dir="rtl"] .home2-bg-overlay {
  background:
    linear-gradient(
      270deg,
      rgba(10, 9, 6, 0.82) 0%,
      rgba(10, 9, 6, 0.62) 35%,
      rgba(10, 9, 6, 0.30) 68%,
      rgba(10, 9, 6, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 9, 6, 0.12) 0%,
      transparent 38%,
      rgba(10, 9, 6, 0.62) 100%
    );
}

html[data-theme="dark"][dir="rtl"] .home2-bg-overlay {
  background:
    linear-gradient(
      270deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.68) 36%,
      rgba(0, 0, 0, 0.36) 70%,
      rgba(0, 0, 0, 0.52) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      transparent 36%,
      rgba(0, 0, 0, 0.72) 100%
    );
}

html[dir="rtl"] .home2-bg-feature {
  padding-left: 0;
  padding-right: var(--space-5);

  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}

html[dir="rtl"] .home2-bg-actions .btn:hover i {
  transform: translateX(-4px);
}

html[dir="rtl"] .home2-progress-item {
  text-align: right;
}

html[dir="rtl"] .home2-progress-line span {
  inset: 0 0 0 auto;

  transform-origin: right center;
}
.home2-bg-slide {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  opacity: 0;
  transform: scale(1.02);

  transition:
    opacity 900ms ease,
    transform 7s cubic-bezier(0.16, 1, 0.3, 1);

  will-change: opacity, transform;
}




/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .home2-bg-slide {
    transition: opacity 300ms ease;
    transform: none;
  }

  .home2-bg-slide.is-active {
    transform: none;
  }

  .home2-bg-content.is-changing .home2-bg-kicker-row,
  .home2-bg-content.is-changing .home2-bg-copy,
  .home2-bg-content.is-changing .home2-bg-actions,
  .home2-bg-feature.is-changing,
  .home2-bg-content.is-entering .home2-bg-kicker-row,
  .home2-bg-content.is-entering .home2-bg-copy,
  .home2-bg-content.is-entering .home2-bg-actions,
  .home2-bg-feature.is-entering {
    animation: none;
  }

  .home2-progress-item.is-active .home2-progress-line span {
    animation: none;
    width: 100%;
  }
}

/* ==========================================================================
   HOME 2 — PAGE ENTRANCE ANIMATION
   ========================================================================== */

.home2-bg-hero .home2-bg-content,
.home2-bg-hero .home2-bg-feature,
.home2-bg-hero .home2-bg-navigation,
.home2-bg-hero .home2-bg-progress {
  opacity: 0;
}

/* Hero content */
.home2-bg-hero.is-loaded .home2-bg-content {
  animation: home2HeroContentIn 900ms cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
}

/* Featured kitchen */
.home2-bg-hero.is-loaded .home2-bg-feature {
  animation: home2HeroFeatureIn 750ms cubic-bezier(0.16, 1, 0.3, 1) 650ms forwards;
}

/* Navigation */
.home2-bg-hero.is-loaded .home2-bg-navigation {
  animation: home2HeroFeatureIn 750ms cubic-bezier(0.16, 1, 0.3, 1) 800ms forwards;
}

/* Progress navigation */
.home2-bg-hero.is-loaded .home2-bg-progress {
  animation: home2HeroProgressIn 700ms cubic-bezier(0.16, 1, 0.3, 1) 950ms forwards;
}


/* --------------------------------------------------------------------------
   Individual content elements
   -------------------------------------------------------------------------- */

.home2-bg-hero:not(.is-loaded) .home2-bg-kicker-row,
.home2-bg-hero:not(.is-loaded) .home2-bg-copy,
.home2-bg-hero:not(.is-loaded) .home2-bg-actions {
  opacity: 0;
  transform: translateY(24px);
}

.home2-bg-hero.is-loaded .home2-bg-kicker-row {
  animation:
    home2HeroItemIn
    700ms
    cubic-bezier(0.16, 1, 0.3, 1)
    250ms
    both;
}

.home2-bg-hero.is-loaded .home2-bg-copy {
  animation:
    home2HeroItemIn
    800ms
    cubic-bezier(0.16, 1, 0.3, 1)
    380ms
    both;
}

.home2-bg-hero.is-loaded .home2-bg-actions {
  animation:
    home2HeroItemIn
    750ms
    cubic-bezier(0.16, 1, 0.3, 1)
    550ms
    both;
}


/* --------------------------------------------------------------------------
   Background entrance
   -------------------------------------------------------------------------- */

.home2-bg-hero:not(.is-loaded) .home2-bg-slide.is-active {
  opacity: 0;
  transform: scale(1.08);
}

.home2-bg-hero.is-loaded .home2-bg-slide.is-active {
  animation:
    home2HeroImageIn
    1400ms
    cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}


/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */

@keyframes home2HeroContentIn {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home2HeroItemIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home2HeroFeatureIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home2HeroProgressIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes home2HeroImageIn {
  from {
    opacity: 0;
    transform: scale(1.08);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* ==========================================================================
   HOME 2 — SECTION 2
   FEATURED CHEF STORY
   ========================================================================== */

.story-featured-box {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;

  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      var(--color-surface) 0%,
      var(--color-surface) 72%,
      var(--color-soft-accent) 100%
    );

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  padding: clamp(1.25rem, 3vw, 2rem);

  box-shadow: var(--shadow-sm);

  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.story-featured-box:hover {
  border-color: color-mix(
    in srgb,
    var(--color-primary) 45%,
    var(--color-border)
  );

  box-shadow: var(--shadow-lg);
}


/* ==========================================================================
   CHEF IMAGE
   ========================================================================== */

.story-featured-box .hero-main-img-wrap {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;

  background-color: var(--color-soft-accent);

  border-radius: var(--radius-md) !important;
}

.story-featured-box .hero-main-img-wrap::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 60%,
      rgba(20, 19, 15, 0.22) 100%
    );

  pointer-events: none;
}

.story-featured-box .hero-main-img-wrap img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition:
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-featured-box:hover .hero-main-img-wrap img {
  transform: scale(1.035);
}


/* ==========================================================================
   STORY CONTENT
   ========================================================================== */

.story-featured-box > div:last-child {
  min-width: 0;
  padding-block: clamp(0.5rem, 2vw, 1.5rem);
}


/* ==========================================================================
   BADGES
   ========================================================================== */

.story-featured-box .badge {
  display: inline-flex;
  align-items: center;

  min-height: 28px;

  padding-inline: 0.7rem;

  border-radius: var(--radius-full);

  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: var(--font-bold);

  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.story-featured-box .badge-primary {
  background: var(--color-primary);
  color: #1c1914;
}

.story-featured-box .badge-veg {
  background: var(--color-soft-accent);
  color: var(--color-accent);
  border: 1px solid var(--color-border);
}


/* ==========================================================================
   CHEF NAME
   ========================================================================== */

.story-featured-box h3 {
  margin-block: 0.85rem 0.35rem;

  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: var(--font-semibold);
  line-height: 0.98;
  letter-spacing: -0.025em;

  color: var(--color-text);
}


/* ==========================================================================
   CHEF META
   ========================================================================== */

.story-featured-box h3 + p {
  display: flex;
  align-items: center;
  gap: 0.35rem;

  margin-bottom: var(--space-6) !important;

  font-family: var(--font-body);
  font-size: var(--text-sm) !important;
  font-weight: var(--font-semibold);

  color: var(--color-accent) !important;
}


/* ==========================================================================
   STORY QUOTE
   ========================================================================== */

.story-quote {
  position: relative;

  max-width: 680px;

  margin-block: var(--space-6);

  padding-block: var(--space-4);
  padding-inline-start: var(--space-5);

  border-inline-start: 3px solid var(--color-primary);

  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: var(--font-medium);

  line-height: 1.35;

  color: var(--color-text);
}


/* ==========================================================================
   STORY DESCRIPTION
   ========================================================================== */

.story-featured-box .story-quote + p {
  max-width: 650px;

  margin-bottom: var(--space-8) !important;

  color: var(--color-text-muted);

  font-family: var(--font-body);
  font-size: var(--text-base) !important;
  line-height: 1.8;
}


/* ==========================================================================
   BOTTOM ACTION ROW
   ========================================================================== */

.story-featured-box .flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--space-5);

  padding-top: var(--space-5);

  border-top: 1px solid var(--color-border);
}

.story-featured-box .flex-between .btn {
  flex-shrink: 0;
}

.story-featured-box .flex-between > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;

  white-space: nowrap;

  font-family: var(--font-body);
}

.story-featured-box .flex-between > span i {
  margin-inline-end: 0.15rem;
}


/* ==========================================================================
   BUTTON
   ========================================================================== */

.story-featured-box .btn-primary {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;

  padding-inline: 1.2rem;

  background: var(--color-primary);
  border: 1px solid var(--color-primary);

  color: #1c1914;

  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.story-featured-box .btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);

  transform: translateY(-2px);

  box-shadow: var(--shadow-md);
}

.story-featured-box .btn-primary i {
  transition: transform var(--transition-base);
}

.story-featured-box .btn-primary:hover i {
  transform: translateX(4px);
}


/* ==========================================================================
   DARK MODE
   ========================================================================== */

html[data-theme="dark"] .story-featured-box {
  background:
    linear-gradient(
      135deg,
      var(--color-surface) 0%,
      var(--color-surface) 72%,
      var(--color-soft-accent) 100%
    );

  box-shadow: none;
}

html[data-theme="dark"] .story-featured-box:hover {
  border-color: color-mix(
    in srgb,
    var(--color-primary) 55%,
    var(--color-border)
  );

  box-shadow: var(--shadow-lg);
}

html[data-theme="dark"] .story-featured-box .hero-main-img-wrap {
  background-color: var(--color-soft-accent);
}

html[data-theme="dark"] .story-featured-box .hero-main-img-wrap::after {
  background:
    linear-gradient(
      180deg,
      transparent 58%,
      rgba(0, 0, 0, 0.38) 100%
    );
}

html[data-theme="dark"] .story-featured-box .badge-veg {
  background: var(--color-soft-accent);
  color: var(--color-primary);
  border-color: var(--color-border);
}

html[data-theme="dark"] .story-featured-box .btn-primary:hover {
  color: #14130F;
}


/* ==========================================================================
   RTL
   ========================================================================== */

html[dir="rtl"] .story-featured-box .btn-primary:hover i {
  transform: translateX(-4px);
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .story-featured-box,
  .story-featured-box .hero-main-img-wrap img,
  .story-featured-box .btn-primary,
  .story-featured-box .btn-primary i {
    transition: none;
  }

}
/* ==========================================================================
   HOME 2 — YOUR WEEK SCHEDULE
   ========================================================================== */

.week-routine-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;

  overflow: hidden;

  background-color: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}


/* ==========================================================================
   ROUTINE CARD
   ========================================================================== */

.routine-card {
  position: relative;

  min-height: 220px;

  display: flex;
  flex-direction: column;

  padding: var(--space-5);

  background-color: var(--color-surface);

  border: 0;
  border-radius: 0;

  overflow: hidden;

  transition:
    background-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}


/* Small editorial accent */
.routine-card::before {
  content: "";

  position: absolute;

  inset-block-start: 0;
  inset-inline-start: 0;

  width: 100%;
  height: 3px;

  background-color: var(--color-border);

  transition:
    background-color var(--transition-base),
    transform var(--transition-base);
}


/* Decorative number / corner detail */
.routine-card::after {
  content: "";

  position: absolute;

  inset-inline-end: -18px;
  inset-block-end: -18px;

  width: 70px;
  height: 70px;

  border: 1px solid var(--color-border);
  border-radius: 50%;

  opacity: 0.5;

  transition:
    transform var(--transition-slow),
    border-color var(--transition-base);
}


/* ==========================================================================
   HOVER
   ========================================================================== */

.routine-card:hover {
  z-index: 2;

  background-color: var(--color-soft-accent);

  border-color: transparent;

  transform: translateY(-4px);

  box-shadow: var(--shadow-md);
}

.routine-card:hover::before {
  background-color: var(--color-primary);
}

.routine-card:hover::after {
  border-color: var(--color-primary);

  transform: scale(1.25);
}


/* ==========================================================================
   DAY
   ========================================================================== */

.routine-day {
  position: relative;

  display: inline-flex;
  align-items: center;

  width: fit-content;

  margin-bottom: var(--space-4);

  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: var(--font-extrabold);

  line-height: 1.2;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--color-accent);
}


/* Small line beside day */
.routine-day::after {
  content: "";

  width: 18px;
  height: 1px;

  margin-inline-start: 8px;

  background-color: var(--color-primary);
}


/* ==========================================================================
   ROUTINE TITLE
   ========================================================================== */

.routine-title {
  max-width: 150px;

  margin: 0 0 var(--space-3);

  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: var(--font-semibold);

  line-height: 1.05;
  letter-spacing: -0.015em;

  color: var(--color-text);

  transition: color var(--transition-base);
}

.routine-card:hover .routine-title {
  color: var(--color-accent);
}


/* ==========================================================================
   CARD DESCRIPTION / EXTRA CONTENT
   ========================================================================== */

.routine-card p {
  margin-top: auto;

  font-family: var(--font-body);
  font-size: var(--text-xs);

  line-height: 1.65;

  color: var(--color-text-muted);
}


/* ==========================================================================
   OPTIONAL ICON SUPPORT
   ========================================================================== */

.routine-card i {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: var(--space-5);

  border-radius: var(--radius-sm);

  background-color: var(--color-soft-accent);

  color: var(--color-primary);

  font-size: 0.9rem;

  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base);
}

.routine-card:hover i {
  background-color: var(--color-primary);

  color: #1c1914;

  transform: translateY(-2px);
}


/* ==========================================================================
   DARK MODE
   ========================================================================== */

html[data-theme="dark"] .routine-card {
  background-color: var(--color-surface);
}

html[data-theme="dark"] .routine-card:hover {
  background-color: var(--color-soft-accent);
}

html[data-theme="dark"] .routine-card::after {
  opacity: 0.25;
}

html[data-theme="dark"] .routine-card i {
  background-color: var(--color-soft-accent);
}


/* ==========================================================================
   RTL
   ========================================================================== */

html[dir="rtl"] .routine-day::after {
  margin-inline-start: 0;
  margin-inline-end: 8px;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .routine-card,
  .routine-card::before,
  .routine-card::after,
  .routine-card i,
  .routine-title {
    transition: none;
  }

}

/* ==========================================================================
   HOME 2 — SUBSCRIPTION EXPERIENCE
   BALANCED LEFT / RIGHT LAYOUT
   ========================================================================== */

.section .grid-2:has(.logo-mark .fa-calendar-check) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  align-items: center;

  column-gap: clamp(2.5rem, 5vw, 5rem);
  row-gap: var(--space-8);

  width: 100%;
}


/* LEFT SIDE */

.section .grid-2:has(.logo-mark .fa-calendar-check)
> div:first-child {
  width: 100%;
  max-width: 600px;

  justify-self: start;
}


/* RIGHT SIDE */

.section .grid-2:has(.logo-mark .fa-calendar-check)
> div:last-child {
  width: 100%;
  max-width: 620px;

  justify-self: end;
}


/* IMAGE */

.section .grid-2:has(.logo-mark .fa-calendar-check)
.hero-main-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3.5 !important;

  min-height: 0;

  overflow: hidden;

  border-radius: var(--radius-lg) !important;
}


/* IMAGE ITSELF */

.section .grid-2:has(.logo-mark .fa-calendar-check)
.hero-main-img-wrap img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   HOME 2 — SECTION 5
   INGREDIENTS & PREPARATION / HONEST KITCHEN STANDARDS
   ========================================================================== */

.section-alt:has(.value-box-icon) {
  position: relative;
  overflow: hidden;
}


/* ==========================================================================
   SECTION HEADER
   ========================================================================== */

.section-alt:has(.value-box-icon) .section-header {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-alt:has(.value-box-icon) .section-header h2 {
  max-width: 700px;
  margin-inline: auto;

  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: var(--font-semibold);
  line-height: 1;
  letter-spacing: -0.025em;

  color: var(--color-text);
}

.section-alt:has(.value-box-icon) .section-header p {
  max-width: 650px;
  margin-inline: auto;

  color: var(--color-text-muted);
  line-height: 1.75;
}


/* ==========================================================================
   CARDS GRID
   ========================================================================== */

.section-alt:has(.value-box-icon) .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 1px;

  overflow: hidden;

  background-color: var(--color-border);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}


/* ==========================================================================
   INDIVIDUAL CARD
   ========================================================================== */

.section-alt:has(.value-box-icon) .card {
  position: relative;

  min-height: 300px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: clamp(1.75rem, 3vw, 2.5rem);

  background-color: var(--color-surface);

  border: 0;
  border-radius: 0;

  overflow: hidden;

  transition:
    background-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}


/* Top accent line */

.section-alt:has(.value-box-icon) .card::before {
  content: "";

  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;

  width: 0;
  height: 3px;

  background-color: var(--color-primary);

  transition: width var(--transition-base);
}


/* Decorative circle */

.section-alt:has(.value-box-icon) .card::after {
  content: "";

  position: absolute;

  inset-inline-end: -35px;
  inset-block-end: -35px;

  width: 110px;
  height: 110px;

  border: 1px solid var(--color-border);
  border-radius: 50%;

  opacity: 0.5;

  pointer-events: none;

  transition:
    transform var(--transition-slow),
    border-color var(--transition-base);
}


/* Hover */

.section-alt:has(.value-box-icon) .card:hover {
  z-index: 2;

  background-color: var(--color-soft-accent);

  transform: translateY(-5px);

  box-shadow: var(--shadow-md);
}

.section-alt:has(.value-box-icon) .card:hover::before {
  width: 55px;
}

.section-alt:has(.value-box-icon) .card:hover::after {
  border-color: var(--color-primary);
  transform: scale(1.2);
}


/* ==========================================================================
   ICON
   ========================================================================== */

.section-alt:has(.value-box-icon) .value-box-icon {
  position: relative;
  z-index: 1;

  width: 54px;
  height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: var(--space-6);

  border: 1px solid var(--color-border);
  border-radius: 50%;

  background-color: var(--color-soft-accent);

  color: var(--color-primary);

  font-size: 1.1rem;

  box-shadow: var(--shadow-sm);

  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base);
}

.section-alt:has(.value-box-icon) .card:hover .value-box-icon {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #1c1914;

  transform: translateY(-3px) rotate(-3deg);
}


/* ==========================================================================
   CARD TITLE
   ========================================================================== */

.section-alt:has(.value-box-icon) .card h4 {
  position: relative;
  z-index: 1;

  margin-bottom: var(--space-3);

  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: var(--font-semibold);
  line-height: 1.1;
  letter-spacing: -0.015em;

  color: var(--color-text);

  transition: color var(--transition-base);
}

.section-alt:has(.value-box-icon) .card:hover h4 {
  color: var(--color-accent);
}


/* ==========================================================================
   CARD DESCRIPTION
   ========================================================================== */

.section-alt:has(.value-box-icon) .card p {
  position: relative;
  z-index: 1;

  max-width: 390px;

  margin-top: auto;
  margin-bottom: 0 !important;

  font-family: var(--font-body);
  font-size: var(--text-sm) !important;
  line-height: 1.75;

  color: var(--color-text-muted);
}


/* ==========================================================================
   DARK MODE
   ========================================================================== */

html[data-theme="dark"]
.section-alt:has(.value-box-icon) .card {
  background-color: var(--color-surface);
}

html[data-theme="dark"]
.section-alt:has(.value-box-icon) .card:hover {
  background-color: var(--color-soft-accent);
}

html[data-theme="dark"]
.section-alt:has(.value-box-icon) .card::after {
  opacity: 0.25;
}



/* ==========================================================================
   RTL
   ========================================================================== */

html[dir="rtl"]
.section-alt:has(.value-box-icon) .card:hover .value-box-icon {
  transform: translateY(-3px) rotate(3deg);
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .section-alt:has(.value-box-icon) .card,
  .section-alt:has(.value-box-icon) .card::before,
  .section-alt:has(.value-box-icon) .card::after,
  .section-alt:has(.value-box-icon) .value-box-icon,
  .section-alt:has(.value-box-icon) .card h4 {
    transition: none;
  }
}
/* ==========================================================================
   HOME 2 — SECTION 6
   COMMUNITY & FOOD CULTURE
   ========================================================================== */


/* ==========================================================================
   STATS BANNER
   ========================================================================== */

.stats-banner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 1px;

  margin-bottom: var(--space-12) !important;

  overflow: hidden;

  background-color: var(--color-border);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.stats-banner .stat-item {
  position: relative;

  min-height: 155px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: var(--space-6);

  background-color: var(--color-surface);

  overflow: hidden;

  transition:
    background-color var(--transition-base),
    transform var(--transition-base);
}


/* Top accent */

.stats-banner .stat-item::before {
  content: "";

  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;

  width: 0;
  height: 3px;

  background-color: var(--color-primary);

  transform: translateX(-50%);

  transition: width var(--transition-base);
}


/* Decorative circle */

.stats-banner .stat-item::after {
  content: "";

  position: absolute;

  inset-inline-end: -28px;
  inset-block-end: -28px;

  width: 85px;
  height: 85px;

  border: 1px solid var(--color-border);
  border-radius: 50%;

  opacity: 0.45;

  pointer-events: none;

  transition:
    transform var(--transition-slow),
    border-color var(--transition-base);
}


.stats-banner .stat-item:hover {
  background-color: var(--color-soft-accent);
  transform: translateY(-3px);
}

.stats-banner .stat-item:hover::before {
  width: 45px;
}

.stats-banner .stat-item:hover::after {
  border-color: var(--color-primary);
  transform: scale(1.2);
}


/* Number */

.stats-banner .stat-num {
  position: relative;
  z-index: 1;

  margin-bottom: var(--space-2);

  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: var(--font-bold);
  line-height: 0.95;
  letter-spacing: -0.025em;

  color: var(--color-primary);

  transition:
    color var(--transition-base),
    transform var(--transition-base);
}

.stats-banner .stat-item:hover .stat-num {
  color: var(--color-accent);
  transform: translateY(-2px);
}


/* Label */

.stats-banner .stat-label {
  position: relative;
  z-index: 1;

  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1.4;

  color: var(--color-text-muted);

  transition: color var(--transition-base);
}

.stats-banner .stat-item:hover .stat-label {
  color: var(--color-text);
}


/* ==========================================================================
   COMMUNITY VOICES
   ========================================================================== */

.section:has(.stats-banner) .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: clamp(1.25rem, 3vw, 2rem);
}


/* Testimonial card */

.section:has(.stats-banner) .grid-2 > .card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 270px;

  padding: clamp(1.75rem, 3vw, 2.5rem);

  background:
    linear-gradient(
      145deg,
      var(--color-surface) 0%,
      var(--color-soft-accent) 100%
    );

  border: 1px solid var(--color-border);

  border-inline-start: 4px solid var(--color-primary) !important;
  border-radius: var(--radius-md);

  overflow: hidden;

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}


/* Second testimonial */

.section:has(.stats-banner) .grid-2 > .card:nth-child(2) {
  border-inline-start-color: var(--color-secondary) !important;
}


/* Decorative quote mark */

.section:has(.stats-banner) .grid-2 > .card::before {
  content: "“";

  position: absolute;

  inset-inline-end: 24px;
  inset-block-start: 5px;

  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: var(--font-bold);
  line-height: 1;

  color: var(--color-primary);

  opacity: 0.08;

  pointer-events: none;
}

.section:has(.stats-banner) .grid-2 > .card:nth-child(2)::before {
  color: var(--color-secondary);
}


.section:has(.stats-banner) .grid-2 > .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}


/* Kicker */

.section:has(.stats-banner) .grid-2 > .card .kicker {
  position: relative;
  z-index: 1;

  margin-bottom: var(--space-3) !important;
}


/* Quote */

.section:has(.stats-banner) .grid-2 > .card > p {
  position: relative;
  z-index: 1;

  flex: 1;

  max-width: 650px;

  margin-bottom: var(--space-6) !important;

  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
  font-style: italic;

  line-height: 1.55;

  color: var(--color-text) !important;
}


/* Person row */

.section:has(.stats-banner) .grid-2 > .card > div:last-child {
  position: relative;
  z-index: 1;

  display: flex !important;
  align-items: center;

  gap: var(--space-3);

  padding-top: var(--space-4);

  border-top: 1px solid var(--color-border);
}


/* Avatar */

.section:has(.stats-banner) .user-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--color-border);
  border-radius: 50%;

  background-color: var(--color-soft-accent);

  color: var(--color-primary);

  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: var(--font-bold);
}


/* Name */

.section:has(.stats-banner) .grid-2 > .card strong {
  color: var(--color-text) !important;
  font-weight: var(--font-bold);
}


/* Role */

.section:has(.stats-banner) .grid-2 > .card span:not(.kicker) {
  color: var(--color-text-muted) !important;
}


/* ==========================================================================
   DARK MODE — SECTION 6
   ========================================================================== */

html[data-theme="dark"]
.section:has(.stats-banner) .grid-2 > .card {
  background:
    linear-gradient(
      145deg,
      var(--color-surface) 0%,
      var(--color-soft-accent) 100%
    );
}

html[data-theme="dark"]
.stats-banner .stat-item:hover {
  background-color: var(--color-soft-accent);
}


/* ==========================================================================
   SECTION 7 — TWO-WAY CTA
   ========================================================================== */

.two-way-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 1px;

  overflow: hidden;

  background-color: var(--color-border);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-md);
}


/* CTA cards */

.two-way-cta-card {
  position: relative;

  min-height: 350px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: clamp(2rem, 4vw, 3.5rem);

  overflow: hidden;

  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}


/* Customer */

.two-way-cta-card.customer {
  background:
    linear-gradient(
      145deg,
      var(--color-soft-accent) 0%,
      var(--color-surface) 100%
    );
}


/* Chef */

.two-way-cta-card.chef {
  background:
    linear-gradient(
      145deg,
      var(--color-primary) 0%,
      var(--color-secondary) 100%
    );

  color: #1c1914;
}


/* Decorative circle */

.two-way-cta-card::before {
  content: "";

  position: absolute;

  width: 190px;
  height: 190px;

  inset-inline-end: -75px;
  inset-block-start: -75px;

  border: 1px solid currentColor;
  border-radius: 50%;

  opacity: 0.12;

  pointer-events: none;

  transition: transform var(--transition-slow);
}

.two-way-cta-card::after {
  content: "";

  position: absolute;

  width: 110px;
  height: 110px;

  inset-inline-end: 50px;
  inset-block-end: -55px;

  border: 1px solid currentColor;
  border-radius: 50%;

  opacity: 0.1;

  pointer-events: none;
}

.two-way-cta-card:hover::before {
  transform: scale(1.15);
}


/* Content */

.two-way-cta-card > div {
  position: relative;
  z-index: 1;
}


/* Kicker */

.two-way-cta-card .kicker {
  display: inline-block;

  margin-bottom: var(--space-3);

  color: var(--color-accent);
}

.two-way-cta-card.chef .kicker {
  color: #4f3908;
}


/* Heading */

.two-way-cta-card h3 {
  max-width: 520px;

  margin-bottom: var(--space-3) !important;

  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  font-weight: var(--font-semibold);
  line-height: 1.05;
  letter-spacing: -0.02em;

  color: var(--color-text);
}


/* Chef heading */

.two-way-cta-card.chef h3 {
  color: #1c1914;
}


/* Description */

.two-way-cta-card p {
  max-width: 520px;

  margin-bottom: var(--space-6) !important;

  font-size: var(--text-base) !important;
  line-height: 1.7;

  color: var(--color-text-muted);
}

.two-way-cta-card.chef p {
  color: rgba(28, 25, 20, 0.72);
}


/* CTA button */

.two-way-cta-card .btn {
  position: relative;
  z-index: 2;

  width: fit-content;

  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.two-way-cta-card .btn:hover {
  transform: translateY(-2px);
}


/* Customer arrow */

.two-way-cta-card.customer .btn i {
  margin-inline-start: 0.45rem;

  transition: transform var(--transition-base);
}

.two-way-cta-card.customer .btn:hover i {
  transform: translateX(4px);
}


/* Chef button */

.two-way-cta-card.chef .btn-dark {
  background-color: #1c1914;
  border-color: #1c1914;
  color: #fff;
}

.two-way-cta-card.chef .btn-dark:hover {
  background-color: #000;
  border-color: #000;
}


/* ==========================================================================
   DARK MODE — SECTION 7
   ========================================================================== */

html[data-theme="dark"]
.two-way-cta-card.customer {
  background:
    linear-gradient(
      145deg,
      var(--color-soft-accent) 0%,
      var(--color-surface) 100%
    );
}

html[data-theme="dark"]
.two-way-cta-card.chef {
  background:
    linear-gradient(
      145deg,
      var(--color-primary) 0%,
      var(--color-secondary) 100%
    );
}


/* ==========================================================================
   RTL
   ========================================================================== */

html[dir="rtl"]
.two-way-cta-card.customer .btn:hover i {
  transform: translateX(-4px);
}



/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .stats-banner .stat-item,
  .stats-banner .stat-item::before,
  .stats-banner .stat-item::after,
  .stats-banner .stat-num,
  .section:has(.stats-banner) .grid-2 > .card,
  .two-way-cta-card,
  .two-way-cta-card::before,
  .two-way-cta-card .btn,
  .two-way-cta-card .btn i {
    transition: none;
  }
}
/* Community Stats Strip */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  text-align: center;
  padding-block: var(--space-8);
  border-block: 1px solid var(--color-border);
}

.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item .stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-medium);
}

/* Two-Way CTA Split */
.two-way-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.two-way-cta-card {
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.two-way-cta-card.customer {
  background-color: var(--color-surface);
}

.two-way-cta-card.chef {
  background-color: var(--color-soft-accent);
  color: #14130F;
}

.two-way-cta-card.chef h3,
.two-way-cta-card.chef p,
.two-way-cta-card.chef .kicker {
  color: #14130F;
}

/* ==========================================================================
   12. ABOUT PAGE — REDESIGNED
   Premium Homemade Food Marketplace Editorial Style
   NOTE: Base / desktop styling only. No responsive rules included.
   ========================================================================== */


/* ==========================================================================
   ABOUT HERO
   ========================================================================== */

.hero-general {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5.5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--color-border);

  /* LIGHT THEME — clean, warm and airy */
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(233, 164, 19, 0.10) 0%,
      transparent 32%
    ),
    radial-gradient(
      circle at 8% 88%,
      rgba(254, 243, 108, 0.16) 0%,
      transparent 28%
    ),
    var(--color-bg);
}

.hero-general::before {
  content: "";
  position: absolute;
  inset-inline-end: 8%;
  inset-block-start: 16%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(233, 164, 19, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.hero-general::after {
  content: "";
  position: absolute;
  inset-inline-start: 7%;
  inset-block-end: 14%;
  width: 70px;
  height: 70px;
  border: 1px solid var(--color-border);
  transform: rotate(45deg);
  opacity: 0.65;
  pointer-events: none;
}

.hero-general .container {
  position: relative;
  z-index: 1;
}

.about-hero-text {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.about-hero-text .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-5);

  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: var(--font-extrabold);
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--color-accent);
}

.about-hero-text .kicker::before,
.about-hero-text .kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background-color: var(--color-primary);
}

.about-hero-text h1 {
  max-width: 850px;
  margin-inline: auto;
  margin-bottom: var(--space-6);

  font-family: var(--font-heading);
  font-size: clamp(3.6rem, 6.5vw, 6.2rem) !important;
  font-weight: var(--font-semibold);
  line-height: 0.94;
  letter-spacing: -0.045em;

  color: var(--color-text);
}

.about-hero-text .lead-text {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-8);

  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-muted);
}

.about-hero-text .btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
}


/* ----------------------------------------------------------
   RESPONSIVE — ABOUT HERO
   The base rules above were desktop-only (font-size used
   !important with a 3.6rem floor). On small phones that
   floor is still too large next to the page gutters, so we
   give it a smaller, still-fluid floor below 480px.
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  .about-hero-text h1 {
    font-size: clamp(2.35rem, 9vw, 3rem) !important;
    line-height: 1.08;
  }

  .about-hero-text .lead-text {
    font-size: var(--text-base);
    line-height: 1.6;
  }

  .about-hero-text .btn-group .btn {
    width: 100%;
  }
}


/* ==========================================================================
   ABOUT HERO — DARK THEME
   ========================================================================== */

html[data-theme="dark"] .hero-general {
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(233, 164, 19, 0.13) 0%,
      transparent 34%
    ),
    var(--color-bg);
}

html[data-theme="dark"] .hero-general::before {
  border-color: rgba(233, 164, 19, 0.28);
}

html[data-theme="dark"] .hero-general::after {
  opacity: 0.35;
}


/* ==========================================================================
   SECTION 2 — OUR STORY
   Balanced 50 / 50 Editorial Layout
   ========================================================================== */

#ourStory {
  position: relative;
  overflow: hidden;
}

#ourStory > .container {
  width: 100%;
  max-width: var(--container-max-width, 1280px);
  margin-inline: auto;
}

/* ----------------------------------------------------------
   MAIN GRID
   ---------------------------------------------------------- */

#ourStory .grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;

  column-gap: clamp(3rem, 6vw, 6rem);

  width: 100%;
}


/* ----------------------------------------------------------
   LEFT — CONTENT
   ---------------------------------------------------------- */

#ourStory .grid-2 > div:first-child {
  width: 100%;
  max-width: 100%;

  padding-inline: 0;
}

#ourStory .grid-2 > div:first-child .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: var(--space-4);
}

#ourStory .grid-2 > div:first-child .kicker::before {
  content: "";

  width: 28px;
  height: 1px;

  background-color: var(--color-primary);
}


/* Heading */

#ourStory .grid-2 > div:first-child h2 {
  width: 100%;
  max-width: 560px;

  margin: 0 0 var(--space-5);

  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.4vw, 4.25rem);
  font-weight: var(--font-semibold);
  line-height: 0.98;
  letter-spacing: -0.035em;

  color: var(--color-text);
}


/* Lead */

#ourStory .grid-2 > div:first-child .lead-text {
  width: 100%;
  max-width: 590px;

  margin: 0 0 var(--space-5);

  font-size: var(--text-lg);
  line-height: 1.75;

  color: var(--color-text);
}


/* Body paragraphs */

#ourStory .grid-2 > div:first-child p:not(.lead-text) {
  width: 100%;
  max-width: 590px;

  margin-bottom: var(--space-4);

  font-size: var(--text-sm);
  line-height: 1.85;

  color: var(--color-text-muted);
}


/* ----------------------------------------------------------
   RIGHT — IMAGE
   ---------------------------------------------------------- */

#ourStory .grid-2 > .hero-main-img-wrap {
  position: relative;

  width: 100%;
  max-width: 100%;

  min-width: 0;

  aspect-ratio: 4 / 3.4 !important;

  margin: 0;

  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg) !important;

  background-color: var(--color-surface);

  box-shadow: var(--shadow-md);
}


/* Image */

#ourStory .grid-2 > .hero-main-img-wrap img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition:
    transform 700ms cubic-bezier(.16, 1, .3, 1),
    filter 400ms ease;
}

#ourStory .grid-2 > .hero-main-img-wrap:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

/* ----------------------------------------------------------
   LIGHT THEME
   ---------------------------------------------------------- */

html[data-theme="light"] #ourStory {
  background-color: var(--color-soft-accent);
}

html[data-theme="light"] #ourStory .grid-2 > .hero-main-img-wrap {
  background-color: var(--color-surface);
}


/* ----------------------------------------------------------
   DARK THEME
   ---------------------------------------------------------- */

html[data-theme="dark"] #ourStory {
  background-color: var(--color-bg);
}

html[data-theme="dark"]
#ourStory .grid-2 > .hero-main-img-wrap::before {
  border-color: rgba(255, 255, 255, 0.16);
}


/* ----------------------------------------------------------
   RTL
   ---------------------------------------------------------- */

html[dir="rtl"]
#ourStory .grid-2 > div:first-child .kicker::before {
  order: 2;
}


/* ----------------------------------------------------------
   REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  #ourStory .grid-2 > .hero-main-img-wrap img {
    transition: none;
  }
}


/* ==========================================================================
   SECTION 4 — DARK THEME
   ========================================================================== */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary) {

  background-color: var(--color-bg);
}


/* --------------------------------------------------------------------------
   SECTION HEADER
   -------------------------------------------------------------------------- */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  .section-header .kicker {

  color: var(--color-primary);
}

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  .section-header .kicker::before,
html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  .section-header .kicker::after {

  background-color: var(--color-primary);
}

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  .section-header h2 {

  color: var(--color-text);
}

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  .section-header p {

  color: var(--color-text-muted);
}


/* --------------------------------------------------------------------------
   FEATURED VALUE CARD
   -------------------------------------------------------------------------- */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .card:first-child {

  background:
    linear-gradient(
      135deg,
      #1E1C15 0%,
      #211E15 55%,
      #272113 100%
    );

  border-color: var(--color-border);
  border-inline-start-color: var(--color-primary);

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.20);
}


/* featured card decorative circle */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .card:first-child::before {

  border-color: var(--color-primary);
  opacity: 0.16;
}


/* featured card decorative circle */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .card:first-child::after {

  border-color: var(--color-primary);
  opacity: 0.20;
}


/* featured badge */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .card:first-child
  .badge {

  color: var(--color-primary);
}


/* featured heading */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .card:first-child
  h3 {

  color: var(--color-text);
}


/* featured paragraph */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .card:first-child
  p {

  color: var(--color-text-muted);
}


/* featured logo */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .card:first-child
  .logo-mark {

  background-color: #242117;

  border-color: var(--color-primary);
  color: var(--color-primary);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22);
}


/* --------------------------------------------------------------------------
   FOUR VALUE CARDS
   -------------------------------------------------------------------------- */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2 {

  border-color: var(--color-border);
  background-color: var(--color-border);
}


/* individual cards */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .card {

  background-color: var(--color-surface);
}


/* card hover */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .card:hover {

  background-color: #27241A;

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.20);
}


/* accent line */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .card::before {

  background-color: var(--color-primary);
}


/* secondary accent */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .card[style*="secondary"]::before {

  background-color: var(--color-secondary);
}


/* value icons */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .value-box-icon {

  background-color: #292518;

  border-color: #4A432B;

  color: var(--color-primary);
}


/* icon hover */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .card:hover
  .value-box-icon {

  background-color: var(--color-primary);

  border-color: var(--color-primary);

  color: #1C1914;
}


/* value headings */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .card h4 {

  color: var(--color-text);
}


/* value descriptions */

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .card p {

  color: var(--color-text-muted);
}
html[data-theme="dark"]
.section.section-alt:has(.badge-primary)
.badge.badge-primary {
  background-color: #3A2A08;
  color: #FCC724;
  border: 1px solid #6B510F;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
/* ==========================================================================
   OUR STORY
   ========================================================================== */



#ourStory::before {
  content: "OUR STORY";

  position: absolute;
  inset-inline-end: 2%;
  inset-block-start: 7%;
  transform: translateY(-50%);

  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.06em;

  color: #CD8B09;
  opacity: 0.30;

  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
#ourStory .container {
  position: relative;
  z-index: 1;
}

#ourStory .grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  column-gap: clamp(4rem, 8vw, 8rem);
}

#ourStory .grid-2 > div:first-child {
  position: relative;
  padding-inline-start: var(--space-4);
}

#ourStory .grid-2 > div:first-child::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 5px;
  width: 2px;
  height: 74px;
  background-color: var(--color-primary);
}

#ourStory .kicker {
  margin-bottom: var(--space-3);
}

#ourStory h2 {
  max-width: 600px;
  margin-bottom: var(--space-5);
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: var(--font-semibold);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--color-text);
}

#ourStory .lead-text {
  max-width: 620px;
  margin-bottom: var(--space-5);
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--color-text);
}

#ourStory p:not(.lead-text) {
  max-width: 620px;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.85;
  color: var(--color-text-muted);
}

#ourStory .hero-main-img-wrap {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: visible;
  border-radius: 0 !important;
  background-color: var(--color-surface);
}

#ourStory .hero-main-img-wrap::before {
  content: "";
  position: absolute;
  inset-inline-start: -18px;
  inset-block-end: -18px;
  width: 46%;
  height: 46%;
  border-inline-start: 2px solid var(--color-primary);
  border-block-end: 2px solid var(--color-primary);
  z-index: -1;
}

#ourStory .hero-main-img-wrap::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
  z-index: 2;
}

#ourStory .hero-main-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9);
  transition:
    transform var(--transition-slow),
    filter var(--transition-base);
}

#ourStory .hero-main-img-wrap:hover img {
  transform: scale(1.025);
  filter: saturate(1);
}


/* ----------------------------------------------------------
   RESPONSIVE — OUR STORY ("Why We Started")
   IMPORTANT: this block must stay AFTER the #ourStory rules
   above. There are two separate #ourStory definitions in this
   file, and this later one re-declares grid-template-columns
   at the same specificity — so any override placed earlier is
   silently beaten by the cascade regardless of media query.
   Design is unchanged; this only controls how it reflows.
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  #ourStory .grid-2 {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--space-8);
    column-gap: 0;
  }

  #ourStory h2,
  #ourStory .lead-text,
  #ourStory p:not(.lead-text),
  #ourStory .grid-2 > div:first-child {
    max-width: 100%;
  }

  #ourStory h2 {
    font-size: clamp(2.1rem, 6.5vw, 3rem);
  }

  /* Decorative "OUR STORY" watermark: keep it, but move it out
     from behind the heading and scale it down so it reads as a
     background flourish instead of overlapping the text. */
  #ourStory::before {
    font-size: clamp(2.75rem, 12vw, 5rem);
    opacity: 0.16;
    inset-block-start: 3.5%;
  }

  #ourStory .grid-2 > .hero-main-img-wrap {
    aspect-ratio: 16 / 10 !important;
  }
}

@media (max-width: 480px) {
  #ourStory::before {
    opacity: 0.12;
  }

  #ourStory .grid-2 > .hero-main-img-wrap {
    aspect-ratio: 4 / 3 !important;
  }

  /* Corner bracket accent shrinks so it can't push the layout */
  #ourStory .hero-main-img-wrap::before {
    inset-inline-start: -10px;
    inset-block-end: -10px;
  }
}


/* ==========================================================================
   MISSION — INTRO
   ========================================================================== */

.section:has(.value-box-icon) {
  position: relative;
}

.section:has(.value-box-icon) .section-header {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  text-align: center;
}

.section:has(.value-box-icon) .section-header .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section:has(.value-box-icon) .section-header .kicker::before,
.section:has(.value-box-icon) .section-header .kicker::after {
  content: "";
  width: 24px;
  height: 1px;
  background-color: var(--color-primary);
}

.section:has(.value-box-icon) .section-header h2 {
  margin-top: var(--space-3);
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: var(--font-semibold);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.section:has(.value-box-icon) .section-header p {
  max-width: 620px;
  margin-inline: auto;
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.8;
}


/* ==========================================================================
   MISSION CARDS
   ========================================================================== */

.section:has(.value-box-icon) .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.section:has(.value-box-icon) .grid-3 .card {
  position: relative;
  min-height: 310px;
  padding: var(--space-8);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background-color: var(--color-surface);
  transition:
    transform var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base);
}

.section:has(.value-box-icon) .grid-3 .card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-border);
  transition: background-color var(--transition-base);
}

.section:has(.value-box-icon) .grid-3 .card::after {
  content: "";
  position: absolute;
  inset-inline-end: -35px;
  inset-block-end: -35px;
  width: 125px;
  height: 125px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  opacity: 0.55;
  transition:
    transform var(--transition-slow),
    border-color var(--transition-base);
}

.section:has(.value-box-icon) .grid-3 .card:hover {
  z-index: 2;
  transform: translateY(-6px);
  background-color: var(--color-soft-accent);
  box-shadow: var(--shadow-lg);
}

.section:has(.value-box-icon) .grid-3 .card:hover::before {
  background-color: var(--color-primary);
}

.section:has(.value-box-icon) .grid-3 .card:hover::after {
  transform: scale(1.25);
  border-color: var(--color-primary);
}

.section:has(.value-box-icon) .value-box-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  margin-bottom: var(--space-6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: var(--color-soft-accent);
  color: var(--color-primary);
  font-size: 1.05rem;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base);
}

.section:has(.value-box-icon) .grid-3 .card:hover .value-box-icon {
  background-color: var(--color-primary);
  color: #1c1914;
  transform: translateY(-3px);
}

.section:has(.value-box-icon) .grid-3 .card h4 {
  position: relative;
  z-index: 1;
  max-width: 240px;
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: var(--font-semibold);
  line-height: 1.05;
  color: var(--color-text);
}

.section:has(.value-box-icon) .grid-3 .card p {
  position: relative;
  z-index: 1;
  max-width: 270px;
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--color-text-muted);
}


/* ----------------------------------------------------------
   RESPONSIVE — OUR MISSION ("Purpose & Impact")
   The rules above are unconditional (base/desktop-only), so
   the six pillar cards stayed locked to 3 equal columns with
   a fixed 310px card height at every screen size — on a
   phone that renders each card as a very narrow, very tall
   sliver. :has() carries the same weight as a class, so it
   already beats the plain .grid-3 rule used inside the
   generic mobile/tablet media queries; these overrides match
   that specificity inside real breakpoints: 1 column on
   phones, 2 on tablets, 3 stays for desktop.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  .section:has(.value-box-icon) .grid-3 {
    grid-template-columns: 1fr;
  }

  .section:has(.value-box-icon) .grid-3 .card {
    min-height: 0;
    padding: var(--space-6);
  }

  .section:has(.value-box-icon) .grid-3 .card::after {
    display: none;
  }

  .section:has(.value-box-icon) .grid-3 .card h4,
  .section:has(.value-box-icon) .grid-3 .card p {
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section:has(.value-box-icon) .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section:has(.value-box-icon) .grid-3 .card {
    min-height: 280px;
    padding: var(--space-6);
  }
}


/* ==========================================================================
   VALUES SECTION
   ========================================================================== */

.section.section-alt:has(.badge-primary) {
  position: relative;
  overflow: hidden;
}

.section.section-alt:has(.badge-primary) > .container {
  position: relative;
  z-index: 1;
}

.section.section-alt:has(.badge-primary) .section-header {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  text-align: center;
}

.section.section-alt:has(.badge-primary) .section-header h2 {
  margin-top: var(--space-3);
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: var(--font-semibold);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.section.section-alt:has(.badge-primary) .section-header p {
  max-width: 650px;
  margin-inline: auto;
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.8;
}


/* ==========================================================================
   FEATURED FOUNDATIONAL VALUE
   ========================================================================== */

.section.section-alt:has(.badge-primary) > .container > .flex-column > .card:first-child {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: var(--space-6);
  border: 1px solid var(--color-border);
  border-inline-start: 5px solid var(--color-primary);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      115deg,
      var(--color-surface) 0%,
      var(--color-soft-accent) 100%
    );
  box-shadow: var(--shadow-md);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .card:first-child::before {
  content: "";
  position: absolute;
  inset-inline-end: -70px;
  inset-block-start: -70px;
  width: 250px;
  height: 250px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  opacity: 0.18;
  z-index: -1;
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .card:first-child::after {
  content: "";
  position: absolute;
  inset-inline-end: 55px;
  inset-block-end: 35px;
  width: 75px;
  height: 75px;
  border: 1px solid var(--color-border);
  transform: rotate(45deg);
  opacity: 0.5;
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .card:first-child .badge {
  margin-bottom: var(--space-4);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .card:first-child h3 {
  max-width: 700px;
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: var(--font-semibold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .card:first-child p {
  max-width: 760px;
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text-muted);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .card:first-child .logo-mark {
  position: absolute;
  inset-inline-end: clamp(2rem, 5vw, 5rem);
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: 92px;
  height: 92px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-primary);
  font-size: 1.7rem;
  box-shadow: var(--shadow-sm);
}


/* ==========================================================================
   VALUES GRID
   ========================================================================== */

.section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card {
  position: relative;
  min-height: 250px;
  padding: var(--space-7);
  border: 0 !important;
  border-radius: 0;
  background-color: var(--color-surface);
  overflow: hidden;
  transition:
    transform var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-primary);
  transform: scaleY(0.3);
  transform-origin: center;
  transition:
    transform var(--transition-base),
    background-color var(--transition-base);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card:hover {
  z-index: 2;
  background-color: var(--color-soft-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card:hover::before {
  transform: scaleY(1);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card[style*="secondary"]::before {
  background-color: var(--color-secondary);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card .value-box-icon {
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: var(--color-soft-accent);
  color: var(--color-primary);
  font-size: 1rem;
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card h4 {
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: var(--font-semibold);
  line-height: 1;
  color: var(--color-text);
}

.section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card p {
  max-width: 470px;
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-muted);
}


/* ----------------------------------------------------------
   RESPONSIVE — VALUES ("Values That Shape Every Meal")
   Same issue as the two sections above: the featured card and
   the 2-column split rows are unconditional, so the 2-column
   grid never stacks on phones, and the absolutely-positioned
   logo-mark badge can sit on top of the heading once it wraps
   to 2+ lines on a narrow screen.
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  .section.section-alt:has(.badge-primary) > .container > .flex-column > .card:first-child {
    min-height: 0;
    padding: var(--space-6);
  }

  .section.section-alt:has(.badge-primary) > .container > .flex-column > .card:first-child .logo-mark {
    position: static;
    transform: none;
    margin-top: var(--space-4);
  }

  .section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 {
    grid-template-columns: 1fr;
  }

  .section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card {
    min-height: 0;
    padding: var(--space-6);
  }

  .section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card p {
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section.section-alt:has(.badge-primary) > .container > .flex-column > .grid-2 .card {
    min-height: 220px;
  }
}


/* ==========================================================================
   DARK THEME
   ========================================================================== */

html[data-theme="dark"] .hero-general {
  background:
    radial-gradient(
      circle at 82% 18%,
      var(--color-soft-accent) 0%,
      transparent 38%
    ),
    var(--color-bg);
}

html[data-theme="dark"] #ourStory::before {
  opacity: 0.12;
}

html[data-theme="dark"] #ourStory .hero-main-img-wrap::after {
  border-color: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .section:has(.value-box-icon) .grid-3 .card:hover,
html[data-theme="dark"] .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .card:hover {
  background-color: var(--color-soft-accent);
}

html[data-theme="dark"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .card:first-child {
  background:
    linear-gradient(
      115deg,
      var(--color-surface) 0%,
      var(--color-soft-accent) 100%
    );
}


/* ==========================================================================
   RTL
   ========================================================================== */

html[dir="rtl"] #ourStory .grid-2 > div:first-child {
  padding-inline-start: 0;
  padding-inline-end: var(--space-4);
}

html[dir="rtl"] #ourStory .grid-2 > div:first-child::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

html[dir="rtl"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .card:first-child {
  border-inline-start: 1px solid var(--color-border);
  border-inline-end: 5px solid var(--color-primary);
}

html[dir="rtl"]
  .section.section-alt:has(.badge-primary)
  > .container
  > .flex-column
  > .grid-2
  .card::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  #ourStory .hero-main-img-wrap img,
  .section:has(.value-box-icon) .grid-3 .card,
  .section:has(.value-box-icon) .grid-3 .card::after,
  .section:has(.value-box-icon) .value-box-icon,
  .section.section-alt:has(.badge-primary)
    > .container
    > .flex-column
    > .grid-2
    .card,
  .section.section-alt:has(.badge-primary)
    > .container
    > .flex-column
    > .grid-2
    .card::before {
    transition: none;
  }
}


/* ==========================================================================
   13. FIND CHEF (CATALOG & FILTER UI)
   ========================================================================== */
.filter-search-bar {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-input-wrapper i {
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
}

.search-input-wrapper .form-control {
  padding-inline-start: 2.75rem;
}

.filter-toolbar {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-8);
}

.filter-grid-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

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

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

.no-results-box {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  background-color: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: none;
}
/* ==========================================================================
   SECTION 6 — WHY HOME CHEFS
   ========================================================================== */

.why-home-chefs-section {
  width: 100%;
}

.why-home-chefs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(3rem, 6vw, 6rem);
}

/* LEFT CONTENT */

.why-home-chefs-content {
  width: 100%;
  max-width: 600px;
}

.why-home-chefs-content h2 {
  margin-bottom: var(--space-4);
}

.why-home-chefs-content .lead-text {
  max-width: 560px;
  margin-bottom: var(--space-6);
}

/* FEATURE POINTS */

.why-home-chefs-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.why-home-chefs-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.why-home-chefs-point .logo-mark {
  width: 32px;
  height: 32px;
  min-width: 32px;
  font-size: 0.85rem;
}

.why-home-chefs-point strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--color-text);
  font-size: var(--text-base);
}

.why-home-chefs-point p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* RIGHT IMAGE */

.why-home-chefs-image {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.why-home-chefs-image .hero-main-img-wrap {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-home-chefs-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ==========================================================================
   SECTION 7 — FINAL CALL TO ACTION
   ========================================================================== */

.final-cta-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Subtle decorative background */
.final-cta-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -220px;
  right: -160px;
  border-radius: 50%;
  background: color-mix(
    in srgb,
    var(--color-primary) 8%,
    transparent
  );
  pointer-events: none;
  z-index: -1;
}

.final-cta-section::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  bottom: -190px;
  left: -120px;
  border-radius: 50%;
  background: color-mix(
    in srgb,
    var(--color-primary) 6%,
    transparent
  );
  pointer-events: none;
  z-index: -1;
}

/* Main content */

.final-cta-inner {
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.final-cta-inner .kicker {
  display: inline-block;
  margin-bottom: var(--space-3);
}

.final-cta-inner h2 {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  text-wrap: balance;
}

.final-cta-inner .lead-text {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.75;
}

/* Buttons */

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Primary CTA */

.final-cta-actions .btn-primary {
  box-shadow:
    0 8px 20px color-mix(
      in srgb,
      var(--color-primary) 16%,
      transparent
    );
}

/* Secondary dark CTA */

.final-cta-actions .btn-dark {
  box-shadow:
    0 6px 16px color-mix(
      in srgb,
      var(--color-text) 10%,
      transparent
    );
}

/* ==========================================================================
   LIGHT THEME
   ========================================================================== */

html[data-theme="light"] .final-cta-section {
  background: var(--color-soft-accent);
  color: var(--color-text);
}

html[data-theme="light"] .final-cta-inner h2 {
  color: var(--color-heading, var(--color-text));
}

html[data-theme="light"] .final-cta-inner .lead-text {
  color: var(--color-muted);
}

/* ==========================================================================
   DARK THEME
   ========================================================================== */

html[data-theme="dark"] .final-cta-section {
  background: var(--color-surface);
  color: var(--color-text);
}

html[data-theme="dark"] .final-cta-section::before {
  background: color-mix(
    in srgb,
    var(--color-primary) 12%,
    transparent
  );
}

html[data-theme="dark"] .final-cta-section::after {
  background: color-mix(
    in srgb,
    var(--color-primary) 8%,
    transparent
  );
}

html[data-theme="dark"] .final-cta-inner h2 {
  color: var(--color-text);
}

html[data-theme="dark"] .final-cta-inner .lead-text {
  color: var(--color-muted);
}

html[data-theme="dark"] .final-cta-actions .btn-dark {
  background: var(--color-text);
  color: var(--color-background);
  border-color: var(--color-text);
}
/* ==========================================================================
   DARK MODE — SECOND CTA BUTTON
   ========================================================================== */

html[data-theme="dark"] .final-cta-actions .btn-dark {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

html[data-theme="dark"] .final-cta-actions .btn-dark:hover {
  background: var(--color-soft-accent);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow:
    0 6px 18px color-mix(
      in srgb,
      var(--color-primary) 10%,
      transparent
    );
}
/* ==========================================================================
   HOVER
   ========================================================================== */

.final-cta-actions .btn {
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.final-cta-actions .btn:hover {
  transform: translateY(-2px);
}

.final-cta-actions .btn:active {
  transform: translateY(0);
}
/* ==========================================================================
   14. CHEF PROFILE
   ========================================================================== */
.chef-intro-banner {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.chef-avatar-wrapper {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.weekly-menu-calendar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.menu-card-day {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.menu-card-day.today {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.order-selector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.order-option-card {
  padding: var(--space-6);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  cursor: pointer;
  transition: all var(--transition-base);
}

.order-option-card:hover,
.order-option-card.selected {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* Reviews List */
.review-item {
  padding-block: var(--space-5);
  border-block-end: 1px solid var(--color-border);
}

.review-item:last-child {
  border-block-end: none;
}

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




/* ==========================================================================
   15. HOW IT WORKS & FAQ
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--color-text);
  cursor: pointer;
  text-align: start;
}

.faq-trigger i {
  transition: transform var(--transition-base);
  color: var(--color-primary);
}

.faq-item.is-open .faq-trigger i {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 1.5rem 1.25rem 1.5rem;
  display: none;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* ==========================================================================
   16. JOIN AS CHEF
   ========================================================================== */
.roadmap-step-box {
  display: flex;
  gap: var(--space-4);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.roadmap-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
}
/* =========================================================
   SECTION 2 — WHY HOME CHEFS LOVE OUR MARKETPLACE
   Editorial / Premium Composition
   ========================================================= */

.section-alt {
  position: relative;
  overflow: hidden;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.section-alt .section-header {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.section-alt .section-header .kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.4rem 0.8rem;

  margin-bottom: var(--space-3);

  background: rgba(205, 139, 9, 0.10);
  border: 1px solid rgba(205, 139, 9, 0.35);
  border-radius: 999px;

  color: var(--color-primary);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-alt .section-header h2 {
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-3);

  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-alt .section-header p {
  max-width: 650px;
  margin-inline: auto;

  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: 1.7;
}


/* =========================================================
   MAIN CONTENT WRAPPER
   ========================================================= */

.section-alt .container > div:last-child {
  position: relative;
}


/* =========================================================
   FEATURED TWO-COLUMN CARDS
   ========================================================= */

.section-alt .grid-2 {
  align-items: stretch;
}

.section-alt .grid-2 > .card {
  position: relative;

  padding: var(--space-8) !important;

  min-height: 310px;

  background: var(--color-bg);

  border: 1px solid var(--color-border);
  border-inline-start-width: 4px;

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.section-alt .grid-2 > .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}


/* First featured card */

.section-alt .grid-2 > .card:first-child {
  border-inline-start-color: var(--color-primary);
}


/* Second featured card */

.section-alt .grid-2 > .card:last-child {
  border-inline-start-color: var(--color-primary);
}


/* =========================================================
   FEATURE ICON
   ========================================================= */

.section-alt .value-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  margin-bottom: var(--space-5);

  background: rgba(205, 139, 9, 0.12);

  border: 1px solid rgba(205, 139, 9, 0.25);
  border-radius: 50%;

  color: var(--color-primary);

  font-size: 1.15rem;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.section-alt .card:hover .value-box-icon {
  background: var(--color-primary);
  color: #14130F;
  transform: scale(1.05);
}


/* =========================================================
   FEATURED CARD TYPOGRAPHY
   ========================================================= */

.section-alt .grid-2 .card h3 {
  max-width: 500px;

  font-size: clamp(1.35rem, 2.3vw, 1.8rem) !important;
  line-height: 1.2;

  margin-bottom: var(--space-3) !important;
}

.section-alt .grid-2 .card p {
  max-width: 560px;

  font-size: var(--text-sm) !important;
  line-height: 1.7;

  margin-bottom: var(--space-5) !important;
}

.section-alt .grid-2 .card > span {
  display: inline-flex;
  align-items: center;

  padding-top: var(--space-3);

  border-top: 1px solid var(--color-border);

  color: var(--color-primary) !important;

  font-size: 0.68rem !important;
  letter-spacing: 0.08em;
}


/* =========================================================
   THREE METRIC CARDS
   ========================================================= */

.section-alt .grid-3 {
  align-items: stretch;
}

.section-alt .grid-3 > .card {
  position: relative;

  min-height: 190px;

  padding: var(--space-6) !important;

  background: var(--color-surface);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  box-shadow: none;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.section-alt .grid-3 > .card:hover {
  transform: translateY(-4px);

  border-color: rgba(205, 139, 9, 0.45);

  box-shadow: var(--shadow-sm);
}


/* =========================================================
   METRIC HEADINGS
   ========================================================= */

.section-alt .grid-3 .card h4 {
  display: flex;
  align-items: center;

  gap: 0.15rem;

  font-size: var(--text-lg) !important;
  line-height: 1.3;

  margin-bottom: var(--space-3) !important;
}

.section-alt .grid-3 .card h4 i {
  flex: 0 0 auto;

  color: var(--color-primary) !important;

  font-size: 0.95rem;
}

.section-alt .grid-3 .card p {
  font-size: var(--text-sm) !important;
  line-height: 1.7;

  margin-bottom: 0 !important;

  color: var(--color-text-muted) !important;
}

/* =========================================================
   SECTION 4 — CHEF BENEFITS IMAGE POSITION
   ========================================================= */

.section-alt .hero-main-img-wrap {
  margin-inline-start: 30px;
}
/* ==========================================================================
   17. CONTACT & MAP PLACEHOLDER
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.contact-info-card {
  padding: var(--space-6);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.map-placeholder-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--color-soft-accent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6);
  gap: var(--space-2);
  color: #14130F;
}

.map-placeholder-box p,
.map-placeholder-box i {
  color: #14130F;
}
/* =========================================================
   CONTACT SUPPORT HERO
   ========================================================= */
.contact-support-hero {
  position: relative;
  isolation: isolate;

  /* Increased section size */
  min-height: 700px;

  display: flex;
  align-items: center;

  padding-block: clamp(6rem, 10vw, 9rem);

  background:
    linear-gradient(
      rgba(20, 19, 15, 0.58),
      rgba(20, 19, 15, 0.68)
    ),
    url("../images/food8.avif")
    center center / cover no-repeat;

  overflow: hidden;
}

/* =========================================================
   HERO CONTAINER
   ========================================================= */

.contact-support-hero__container {
  width: 100%;
  max-width: 1000px;

  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.contact-support-hero__content {
  width: 100%;
  max-width: 820px;

  margin-inline: auto;

  text-align: center;

  color: #ffffff;
}


/* =========================================================
   KICKER
   ========================================================= */

.contact-support-hero__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.4rem 0.85rem;

  margin-bottom: var(--space-3);

  background: rgba(252, 199, 36, 0.14);

  border: 1px solid rgba(252, 199, 36, 0.55);
  border-radius: 999px;

  color: #FCC724;

  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;

  letter-spacing: 0.06em;
  text-transform: uppercase;

  white-space: nowrap;
}


/* =========================================================
   TITLE
   ========================================================= */

.contact-support-hero__title {
  max-width: 780px;

  margin-inline: auto;
  margin-bottom: var(--space-4);

  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;

  color: #ffffff;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.contact-support-hero__description {
  max-width: 700px;

  margin-inline: auto;
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.84);

  font-size: var(--text-md);
  line-height: 1.7;
}
/* =========================================================
   SECTION 2 — CONTACT INFO POSITION
   ========================================================= */
.contact-info-section {
  padding-top: 5.5rem !important;
}
/* =========================================================
   SECTION 5 — NEIGHBORHOOD COVERAGE
   ========================================================= */

.neighborhood-coverage-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 8vw, 8rem);
  background: var(--color-bg);
}

/* ==========================================================================
   SECTION 6 — NEWSLETTER BACKGROUND IMAGE
   ========================================================================== */

.newsletter-image-section {
  position: relative;
  isolation: isolate;

  background-image:
    linear-gradient(
      rgba(20, 18, 14, 0.68),
      rgba(20, 18, 14, 0.68)
    ),
    url("../images/food7.avif");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
}

/* Keep newsletter content above the background */
.newsletter-image-content {
  position: relative;
  z-index: 2;
}

/* Text visibility over image */
.newsletter-image-section .kicker,
.newsletter-image-section h2,
.newsletter-image-section .lead-text {
  color: #ffffff;
}

.newsletter-image-section .newsletter-image-note {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Newsletter form error */
.newsletter-image-section .form-error-msg {
  color: #ffd6d6;
}
/* =========================================================
   HEADER
   ========================================================= */

.neighborhood-coverage__header {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  text-align: center;
}

.neighborhood-coverage__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.42rem 0.85rem;
  margin-bottom: var(--space-3);

  border: 1px solid rgba(205, 139, 9, 0.45);
  border-radius: 999px;

  background: rgba(205, 139, 9, 0.08);
  color: var(--color-primary);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.neighborhood-coverage__title {
  margin-bottom: var(--space-3);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.neighborhood-coverage__intro {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 0;

  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: 1.75;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.neighborhood-coverage__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.neighborhood-coverage__info {
  max-width: 460px;
}

.neighborhood-coverage__info-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  margin-bottom: var(--space-4);

  color: var(--color-primary);

  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.neighborhood-coverage__info-label i {
  font-size: 0.9rem;
}

.neighborhood-coverage__info h3 {
  margin-bottom: var(--space-4);

  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.neighborhood-coverage__info h3 span {
  color: var(--color-primary);
}

.neighborhood-coverage__info > p {
  margin-bottom: var(--space-6);

  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
}


/* =========================================================
   STATS
   ========================================================= */

.neighborhood-coverage__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;

  margin-bottom: var(--space-7);

  border-block: 1px solid var(--color-border);
}

.neighborhood-coverage__stat {
  padding: var(--space-4) var(--space-3);
  text-align: center;
}

.neighborhood-coverage__stat + .neighborhood-coverage__stat {
  border-inline-start: 1px solid var(--color-border);
}

.neighborhood-coverage__stat strong {
  display: block;
  margin-bottom: 0.3rem;

  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 800;
}

.neighborhood-coverage__stat span {
  display: block;

  color: var(--color-text-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}


/* =========================================================
   CTA
   ========================================================= */

.neighborhood-coverage__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.neighborhood-coverage__cta i {
  transition: transform 0.25s ease;
}

.neighborhood-coverage__cta:hover i {
  transform: translateX(4px);
}


/* =========================================================
   MAP CARD
   ========================================================= */

.neighborhood-coverage__map-card {
  min-width: 0;
}

.neighborhood-coverage__map {
  position: relative;
  min-height: 520px;

  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      135deg,
      rgba(205, 139, 9, 0.08),
      transparent 50%
    ),
    var(--color-surface);

  box-shadow: var(--shadow-md);
}


/* =========================================================
   MAP GRID
   ========================================================= */

.neighborhood-coverage__grid {
  position: absolute;
  inset: 0;

  opacity: 0.42;

  background-image:
    linear-gradient(
      rgba(120, 110, 90, 0.12) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(120, 110, 90, 0.12) 1px,
      transparent 1px
    );

  background-size: 42px 42px;
}


/* =========================================================
   DECORATIVE ROADS
   ========================================================= */

.neighborhood-coverage__road {
  position: absolute;
  display: block;

  height: 2px;

  background: var(--color-border);

  opacity: 0.75;
}

.road-one {
  width: 120%;
  top: 25%;
  left: -10%;
  transform: rotate(18deg);
}

.road-two {
  width: 120%;
  top: 63%;
  left: -8%;
  transform: rotate(-14deg);
}

.road-three {
  width: 90%;
  top: 48%;
  left: 10%;
  transform: rotate(76deg);
}

.road-four {
  width: 80%;
  top: 50%;
  left: 5%;
  transform: rotate(-55deg);
}


/* =========================================================
   DELIVERY RADIUS
   ========================================================= */

.neighborhood-coverage__radius {
  position: absolute;
  width: 330px;
  height: 330px;

  top: 50%;
  left: 52%;

  transform: translate(-50%, -50%);

  border: 1px dashed rgba(205, 139, 9, 0.65);
  border-radius: 50%;

  background: rgba(205, 139, 9, 0.045);
}

.neighborhood-coverage__radius-inner {
  position: absolute;
  inset: 35px;

  border: 1px solid rgba(205, 139, 9, 0.2);
  border-radius: 50%;
}


/* =========================================================
   HUBS
   ========================================================= */

.neighborhood-coverage__hub {
  position: absolute;
  z-index: 4;

  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.neighborhood-coverage__pin {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border: 3px solid var(--color-surface);
  border-radius: 50%;

  background: var(--color-primary);
  color: #fff;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);

  font-size: 0.75rem;
}

.neighborhood-coverage__hub-label {
  display: flex;
  flex-direction: column;

  padding: 0.5rem 0.7rem;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);

  background: var(--color-surface);

  box-shadow: var(--shadow-sm);
}

.neighborhood-coverage__hub-label strong {
  color: var(--color-text);
  font-size: 0.72rem;
  line-height: 1.2;
}

.neighborhood-coverage__hub-label small {
  margin-top: 0.15rem;

  color: var(--color-text-muted);
  font-size: 0.62rem;
}


/* HUB POSITIONS */

.hub-downtown {
  top: 15%;
  left: 15%;
}

.hub-hyde {
  top: 22%;
  right: 11%;
}

.hub-congress {
  bottom: 14%;
  right: 9%;
}

.hub-east {
  bottom: 16%;
  left: 11%;
}


/* =========================================================
   CENTER CARD
   ========================================================= */

.neighborhood-coverage__center-card {
  position: absolute;
  z-index: 5;

  top: 50%;
  left: 52%;

  width: min(290px, 65%);

  transform: translate(-50%, -50%);

  padding: var(--space-5);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  background: color-mix(
    in srgb,
    var(--color-surface) 94%,
    transparent
  );

  box-shadow: var(--shadow-lg);

  text-align: center;
  backdrop-filter: blur(10px);
}

.neighborhood-coverage__center-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin: 0 auto var(--space-3);

  border-radius: 50%;

  background: var(--color-primary);
  color: #fff;

  font-size: 1rem;
}

.neighborhood-coverage__center-card > span {
  display: block;

  margin-bottom: 0.35rem;

  color: var(--color-primary);

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.neighborhood-coverage__center-card > strong {
  display: block;

  margin-bottom: var(--space-2);

  color: var(--color-text);

  font-size: var(--text-lg);
}

.neighborhood-coverage__center-card p {
  margin-bottom: 0;

  color: var(--color-text-muted);

  font-size: var(--text-xs);
  line-height: 1.65;
}


/* =========================================================
   MAP LEGEND
   ========================================================= */

.neighborhood-coverage__legend {
  position: absolute;
  z-index: 6;

  right: var(--space-4);
  bottom: var(--space-4);

  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;

  padding: 0.6rem 0.75rem;

  border: 1px solid var(--color-border);
  border-radius: 999px;

  background: var(--color-surface);

  box-shadow: var(--shadow-sm);

  font-size: 0.62rem;
  color: var(--color-text-muted);
}

.neighborhood-coverage__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.neighborhood-coverage__legend i {
  color: var(--color-primary);
  font-size: 0.45rem;
}

.neighborhood-coverage__legend span:last-child i {
  font-size: 0.6rem;
}


/* =========================================================
   BOTTOM NOTE
   ========================================================= */

.neighborhood-coverage__bottom-note {
  display: flex;
  align-items: center;
  gap: var(--space-4);

  max-width: 760px;

  margin: var(--space-8) auto 0;
  padding: var(--space-4) var(--space-5);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);

  background: var(--color-surface);
}

.neighborhood-coverage__bottom-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 42px;

  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: rgba(205, 139, 9, 0.1);
  color: var(--color-primary);
}
.neighborhood-coverage__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: var(--space-4);
}
.neighborhood-coverage__bottom-note strong {
  display: block;

  margin-bottom: 0.2rem;

  color: var(--color-text);
  font-size: var(--text-sm);
}

.neighborhood-coverage__bottom-note p {
  margin-bottom: 0;

  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.55;
}
/* =========================================================
   SECTION 7 — FINAL CTA
   ========================================================= */



.final-cta-section__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.final-cta-section__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.42rem 0.85rem;
  margin-bottom: var(--space-4);

  border: 1px solid rgba(205, 139, 9, 0.55);
  border-radius: 999px;

  background: rgba(205, 139, 9, 0.12);
  color: var(--color-primary);

  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.final-cta-section__title {
  margin-bottom: var(--space-4);

  color: var(--color-text);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.final-cta-section__description {
  max-width: 650px;
  margin-inline: auto;
  margin-bottom: var(--space-8);

  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: 1.75;
}

.final-cta-section__buttons {
  gap: var(--space-3);
}


/* =========================================================
   DARK MODE
   ========================================================= */

[data-theme="dark"] .final-cta-section {
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(205, 139, 9, 0.12),
      transparent 55%
    ),
    var(--color-bg);
}

[data-theme="dark"] .final-cta-section__kicker {
  background: rgba(205, 139, 9, 0.14);
  border-color: rgba(233, 164, 19, 0.55);
  color: #E9A413;
}

[data-theme="dark"] .final-cta-section__title {
  color: #FFFFFF;
}

[data-theme="dark"] .final-cta-section__description {
  color: rgba(255, 255, 255, 0.72);
}


/* Make secondary dark button visible in dark mode */
[data-theme="dark"] .final-cta-section .btn-dark {
  background: #F5F1E8;
  color: #171512;
  border-color: #F5F1E8;
}

[data-theme="dark"] .final-cta-section .btn-dark:hover {
  background: #FFFFFF;
  color: #11100D;
}
/* ==========================================================================
   18. LOGIN PAGE
   ========================================================================== */

.login-page {
  min-height: 100vh;
  background: var(--color-bg);
  overflow: hidden;
}

.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 48%);
}


/* --------------------------------------------------------------------------
   FORM PANEL
   -------------------------------------------------------------------------- */

.login-form-panel {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    radial-gradient(
      circle at 15% 15%,
      var(--color-soft-accent) 0,
      transparent 32%
    ),
    var(--color-bg);
}

.login-form-inner {
  width: 100%;
  max-width: 500px;
}


/* --------------------------------------------------------------------------
   BRAND
   -------------------------------------------------------------------------- */

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
  text-decoration: none;
}

.login-brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

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

.login-brand-text strong {
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: var(--font-bold);
}

.login-brand-text small {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}


/* --------------------------------------------------------------------------
   HEADING
   -------------------------------------------------------------------------- */

.login-heading {
  margin-bottom: 2rem;
}

.login-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-eyebrow i {
  font-size: 0.75rem;
}

.login-heading h1 {
  max-width: 520px;
  margin: 0 0 14px;
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.login-heading p {
  max-width: 500px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.75;
}


/* --------------------------------------------------------------------------
   FORM
   -------------------------------------------------------------------------- */

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.login-field {
  margin-bottom: 0;
}

.login-field .form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

.login-input-wrap {
  position: relative;
}

.login-input-wrap > i {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  z-index: 2;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.login-input-wrap .form-control {
  min-height: 52px;
  padding-inline-start: 45px;
  padding-inline-end: 16px;
  border-radius: 12px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.login-input-wrap .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-soft-accent);
}

.login-password-wrap .form-control {
  padding-inline-end: 48px;
}

.login-password-toggle {
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.login-password-toggle:hover {
  color: var(--color-primary);
  background: var(--color-soft-accent);
}


/* --------------------------------------------------------------------------
   PASSWORD HEADER
   -------------------------------------------------------------------------- */

.login-password-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.login-password-heading .form-label {
  margin-bottom: 0;
}

.login-forgot-link {
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-decoration: none;
}

.login-forgot-link:hover {
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   OPTIONS
   -------------------------------------------------------------------------- */

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -2px;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  cursor: pointer;
}

.login-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--color-primary);
}


/* --------------------------------------------------------------------------
   SUBMIT
   -------------------------------------------------------------------------- */

.login-submit {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 20px;
  border: 1px solid var(--color-primary);
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.login-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.login-submit i {
  font-size: 0.8rem;
  transition: transform 180ms ease;
}

.login-submit:hover i {
  transform: translateX(3px);
}


/* --------------------------------------------------------------------------
   REGISTER / BACK LINKS
   -------------------------------------------------------------------------- */

.login-register {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 1.75rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.login-register a {
  color: var(--color-primary);
  font-weight: var(--font-semibold);
  text-decoration: none;
}

.login-register a:hover {
  text-decoration: underline;
}

.login-back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 1.25rem;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-decoration: none;
}

.login-back-home:hover {
  color: var(--color-primary);
}

.login-back-home i {
  font-size: 0.7rem;
}


/* --------------------------------------------------------------------------
   VISUAL PANEL
   -------------------------------------------------------------------------- */

.login-visual-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  isolation: isolate;
  background:
    linear-gradient(
      180deg,
      rgba(20, 16, 12, 0.18),
      rgba(20, 16, 12, 0.72)
    ),
    url("../images/im1.avif") center center / cover no-repeat;
  color: #fff;
}

.login-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(15, 12, 9, 0.18) 0%,
      rgba(15, 12, 9, 0.08) 35%,
      rgba(15, 12, 9, 0.78) 100%
    );
}


/* --------------------------------------------------------------------------
   VISUAL TOP
   -------------------------------------------------------------------------- */

.login-visual-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.login-visual-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.login-visual-logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.login-visual-logo > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.login-visual-logo strong {
  font-size: 1.05rem;
}

.login-visual-logo small {
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-size: 0.62rem;
}

.login-website-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(0,0,0,.14);
  color: #fff;
  font-size: 0.72rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.login-website-link:hover {
  background: rgba(255,255,255,.14);
}

.login-website-link i {
  font-size: 0.65rem;
}


/* --------------------------------------------------------------------------
   VISUAL CONTENT
   -------------------------------------------------------------------------- */

.login-visual-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.login-visual-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: rgba(255,255,255,.82);
  font-size: 0.72rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.login-visual-kicker i {
  color: #fff;
}

.login-visual-content h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.login-visual-content h2 em {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.login-visual-content p {
  max-width: 480px;
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: var(--text-sm);
  line-height: 1.75;
}

.login-visual-features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.login-visual-features span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.9);
  font-size: 0.7rem;
  backdrop-filter: blur(8px);
}

.login-visual-features i {
  font-size: 0.68rem;
}
/* --------------------------------------------------------------------------
   FORM PANEL
   -------------------------------------------------------------------------- */

.login-form-panel {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    radial-gradient(
      circle at 15% 15%,
      var(--color-soft-accent) 0,
      transparent 32%
    ),
    var(--color-bg);
}

.login-form-inner {
  width: 100%;
  max-width: 500px;
}
/* ==========================================================================
   19. REGISTER PAGE
   ========================================================================== */

.register-page {
  min-height: 100vh;
  background: var(--color-bg);
  overflow: hidden;
}

.register-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 48%);
}


/* --------------------------------------------------------------------------
   FORM PANEL
   -------------------------------------------------------------------------- */

.register-form-panel {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4.5rem);
  background:
    radial-gradient(
      circle at 15% 15%,
      var(--color-soft-accent) 0,
      transparent 32%
    ),
    var(--color-bg);
}

.register-form-inner {
  width: 100%;
  max-width: 590px;
}


/* --------------------------------------------------------------------------
   BRAND
   -------------------------------------------------------------------------- */

.register-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.5rem;
  text-decoration: none;
}

.register-brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--color-primary);
  color: black;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

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

.register-brand-text strong {
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: var(--font-bold);
}

.register-brand-text small {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}


/* --------------------------------------------------------------------------
   HEADING
   -------------------------------------------------------------------------- */

.register-heading {
  margin-bottom: 1.75rem;
}

.register-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.register-heading h1 {
  max-width: 600px;
  margin: 0 0 13px;
  color: var(--color-text);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.register-heading p {
  max-width: 580px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   FORM
   -------------------------------------------------------------------------- */

.register-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.register-field {
  margin: 0;
}

.register-field .form-label {
  display: block;
  margin-bottom: 7px;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

.register-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.register-input-wrap {
  position: relative;
}

.register-input-wrap > i {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  z-index: 2;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.register-input-wrap .form-control {
  min-height: 50px;
  padding-inline-start: 44px;
  padding-inline-end: 15px;
  border-radius: 11px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.register-input-wrap .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-soft-accent);
}

.register-password-wrap .form-control {
  padding-inline-end: 48px;
}

.register-password-toggle {
  position: absolute;
  inset-inline-end: 9px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.register-password-toggle:hover {
  color: var(--color-primary);
  background: var(--color-soft-accent);
}


/* --------------------------------------------------------------------------
   TERMS
   -------------------------------------------------------------------------- */

.register-terms {
  margin-top: 2px;
}

.register-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.55;
  cursor: pointer;
}

.register-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--color-primary);
}

.register-check a {
  color: var(--color-primary);
  font-weight: var(--font-semibold);
  text-decoration: none;
}

.register-check a:hover {
  text-decoration: underline;
}

.register-terms .form-error-msg {
  margin-top: 5px;
}


/* --------------------------------------------------------------------------
   SUBMIT
   -------------------------------------------------------------------------- */

.register-submit {
  width: 100%;
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 20px;
  border: 1px solid var(--color-primary);
  border-radius: 11px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.register-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.register-submit i {
  font-size: 0.78rem;
  transition: transform 180ms ease;
}

.register-submit:hover i {
  transform: translateX(3px);
}


/* --------------------------------------------------------------------------
   FOOTER LINKS
   -------------------------------------------------------------------------- */

.register-login {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 1.4rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.register-login a {
  color: var(--color-primary);
  font-weight: var(--font-semibold);
  text-decoration: none;
}

.register-login a:hover {
  text-decoration: underline;
}

.register-back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-decoration: none;
}

.register-back-home:hover {
  color: var(--color-primary);
}


/* --------------------------------------------------------------------------
   VISUAL PANEL
   -------------------------------------------------------------------------- */

.register-visual-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  isolation: isolate;
  background:
    linear-gradient(
      180deg,
      rgba(20, 16, 12, 0.18),
      rgba(20, 16, 12, 0.74)
    ),
    url("../images/im2.jpg") center center / cover no-repeat;
  color: #fff;
}

.register-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(15, 12, 9, 0.18) 0%,
      rgba(15, 12, 9, 0.06) 35%,
      rgba(15, 12, 9, 0.8) 100%
    );
}


/* --------------------------------------------------------------------------
   VISUAL TOP
   -------------------------------------------------------------------------- */

.register-visual-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.register-visual-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.register-visual-logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.register-visual-logo > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.register-visual-logo strong {
  font-size: 1.05rem;
}

.register-visual-logo small {
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-size: 0.62rem;
}

.register-website-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(0,0,0,.14);
  color: #fff;
  font-size: 0.72rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.register-website-link:hover {
  background: rgba(255,255,255,.14);
}

.register-website-link i {
  font-size: 0.65rem;
}


/* --------------------------------------------------------------------------
   VISUAL CONTENT
   -------------------------------------------------------------------------- */

.register-visual-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.register-visual-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: rgba(255,255,255,.82);
  font-size: 0.72rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.register-visual-content h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.register-visual-content h2 em {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.register-visual-content p {
  max-width: 480px;
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: var(--text-sm);
  line-height: 1.75;
}

.register-visual-features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.register-visual-features span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.9);
  font-size: 0.7rem;
  backdrop-filter: blur(8px);
}



/* ==========================================================================
   19. CUSTOMER DASHBOARD (DASHBOARD.HTML)
   ========================================================================== */


/* ==========================================================================
   DASHBOARD LAYOUT
   ========================================================================== */

.dashboard-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  min-height: calc(100vh - var(--header-height));
}


/* ==========================================================================
   DASHBOARD SIDEBAR — STICKY
   ========================================================================== */

.dashboard-sidebar {
  position: sticky;
  top: var(--header-height);

  height: calc(100vh - var(--header-height));
  overflow-y: auto;

  align-self: start;

  background-color: var(--color-surface);
  border-inline-end: 1px solid var(--color-border);

  padding: var(--space-5) var(--space-4);

  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.dashboard-sidebar::-webkit-scrollbar {
  width: 5px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 999px;
}


/* ==========================================================================
   USER PROFILE
   ========================================================================== */

.dashboard-user-profile {
  display: flex;
  align-items: center;
  gap: var(--space-3);

  padding-block-end: var(--space-4);
  margin-bottom: var(--space-4);

  border-block-end: 1px solid var(--color-border);
}

.dashboard-user-profile h3 {
  color: var(--color-text);
}

.dashboard-user-profile p {
  color: var(--color-text-muted);
}

.user-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  border-radius: var(--radius-full);

  background-color: var(--color-soft-accent);
  color: #14130F;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: var(--font-bold);
}


/* ==========================================================================
   SIDEBAR NAVIGATION
   ========================================================================== */

.dashboard-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;

  overflow: visible;
}

.dashboard-nav-btn {
  width: 100%;

  display: flex;
  align-items: center;
  gap: var(--space-3);

  padding: 0.72rem 0.85rem;

  border: 1px solid transparent;
  border-radius: var(--radius-sm);

  font-size: var(--text-sm);
  font-weight: var(--font-semibold);

  color: var(--color-text);
  background: transparent;

  cursor: pointer;
  white-space: nowrap;

  text-align: start;

  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.dashboard-nav-btn i {
  width: 18px;
  flex: 0 0 18px;

  color: var(--color-text-muted);
  text-align: center;
}

.dashboard-nav-btn:hover {
  background-color: var(--color-soft-accent);
  color: var(--color-text);
}

.dashboard-nav-btn:hover i {
  color: var(--color-primary);
}

.dashboard-nav-btn.active {
  background-color: var(--color-soft-accent);
  color: #14130F;
  border-color: transparent;
}

.dashboard-nav-btn.active i {
  color: #14130F;
}


/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

.dashboard-main-content {
  min-width: 0;

  padding: clamp(1.5rem, 3vw, 3rem);
}


/* ==========================================================================
   DASHBOARD PANELS
   ========================================================================== */

.dashboard-panel {
  display: none;
}

.dashboard-panel.active {
  display: block;
}


/* ==========================================================================
   DELIVERY TRACKER
   ========================================================================== */

.delivery-tracker-flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);

  margin-block: var(--space-6);

  position: relative;
}

.tracker-stage {
  display: flex;
  align-items: center;
  gap: var(--space-4);

  position: relative;
}

.tracker-indicator {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;

  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);

  background-color: var(--color-surface);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.8rem;
  color: var(--color-text-muted);

  z-index: var(--z-normal);
}

.tracker-stage.completed .tracker-indicator {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #14130F;
}

.tracker-stage.current .tracker-indicator {
  background-color: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);

  box-shadow: 0 0 0 4px var(--color-soft-accent);
}

.tracker-info h4 {
  color: var(--color-text);

  font-size: var(--text-base);
  margin-bottom: 2px;
}

.tracker-info p {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}


/* ==========================================================================
   DASHBOARD TABLES
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.app-table {
  width: 100%;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);

  background-color: var(--color-surface);

  color: var(--color-text);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.app-table th {
  background-color: var(--color-bg);

  padding: 0.85rem 1rem;

  text-align: start;

  font-size: var(--text-xs);
  font-weight: var(--font-bold);

  text-transform: uppercase;
  letter-spacing: 0.05em;

  color: var(--color-text-muted);

  border-block-end: 1px solid var(--color-border);
}

.app-table td {
  padding: 1rem;

  font-size: var(--text-sm);
  color: var(--color-text);

  background-color: var(--color-surface);

  border-block-end: 1px solid var(--color-border);
}

.app-table tbody tr:hover td {
  background-color: var(--color-soft-accent);
}

.app-table tr:last-child td {
  border-block-end: none;
}


/* ==========================================================================
   DARK MODE — DASHBOARD VISIBILITY
   ========================================================================== */

[data-theme="dark"] .dashboard-sidebar {
  background-color: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="dark"] .dashboard-user-profile h3 {
  color: #FFFFFF;
}

[data-theme="dark"] .dashboard-user-profile p {
  color: rgba(255, 255, 255, 0.65);
}


/* ==========================================================================
   DARK MODE — SIDEBAR
   ========================================================================== */

[data-theme="dark"] .dashboard-nav-btn {
  color: #F5F5F5;
}

[data-theme="dark"] .dashboard-nav-btn i {
  color: #A9A9A9;
}

[data-theme="dark"] .dashboard-nav-btn:hover {
  background-color: rgba(205, 139, 9, 0.12);
  color: #FFFFFF;
}

[data-theme="dark"] .dashboard-nav-btn:hover i {
  color: #E9A413;
}

[data-theme="dark"] .dashboard-nav-btn.active {
  background-color: #E9A413;
  color: #14130F;
}

[data-theme="dark"] .dashboard-nav-btn.active i {
  color: #14130F;
}


/* ==========================================================================
   DARK MODE — HEADINGS / TEXT
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content,
[data-theme="dark"] .dashboard-main-content h1,
[data-theme="dark"] .dashboard-main-content h2,
[data-theme="dark"] .dashboard-main-content h3,
[data-theme="dark"] .dashboard-main-content h4,
[data-theme="dark"] .dashboard-main-content strong {
  color: #F7F7F7;
}

[data-theme="dark"] .dashboard-main-content p {
  color: rgba(255, 255, 255, 0.72);
}

[data-theme="dark"] .dashboard-main-content .kicker {
  color: #E9A413;
}


/* ==========================================================================
   DARK MODE — CARDS
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content .card {
  background-color: #1B1B19;
  border-color: #343431;
  color: #F7F7F7;
}

[data-theme="dark"] .dashboard-main-content .card p {
  color: rgba(255, 255, 255, 0.68);
}

[data-theme="dark"] .dashboard-main-content .card h3,
[data-theme="dark"] .dashboard-main-content .card h4 {
  color: #FFFFFF;
}


/* ==========================================================================
   DARK MODE — TABLES
   ========================================================================== */

[data-theme="dark"] .app-table {
  background-color: #1B1B19;
  border-color: #3A3A36;
}

[data-theme="dark"] .app-table th {
  background-color: #242421;
  color: #D2D2CE;
  border-color: #3A3A36;
}

[data-theme="dark"] .app-table td {
  background-color: #1B1B19;
  color: #F2F2EF;
  border-color: #343431;
}

[data-theme="dark"] .app-table td strong {
  color: #FFFFFF;
}

[data-theme="dark"] .app-table tbody tr:hover td {
  background-color: #242421;
}


/* ==========================================================================
   DARK MODE — TRACKER
   ========================================================================== */

[data-theme="dark"] .tracker-indicator {
  background-color: #1B1B19;
  border-color: #484842;
  color: #BDBDB7;
}

[data-theme="dark"] .tracker-stage.completed .tracker-indicator {
  background-color: #E9A413;
  border-color: #E9A413;
  color: #14130F;
}

[data-theme="dark"] .tracker-stage.current .tracker-indicator {
  background-color: #1B1B19;
  border-color: #E9A413;
  color: #E9A413;
  box-shadow: 0 0 0 4px rgba(233, 164, 19, 0.14);
}

[data-theme="dark"] .tracker-info h4 {
  color: #FFFFFF;
}

[data-theme="dark"] .tracker-info p {
  color: rgba(255, 255, 255, 0.65);
}


/* ==========================================================================
   DARK MODE — BUTTONS
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content .btn-primary {
  background-color: #E9A413;
  border-color: #E9A413;
  color: #14130F;
}

[data-theme="dark"] .dashboard-main-content .btn-primary:hover {
  background-color: #F2B52C;
  border-color: #F2B52C;
  color: #14130F;
}

[data-theme="dark"] .dashboard-main-content .btn-secondary {
  background-color: transparent;
  border-color: #6A6A63;
  color: #F5F5F5;
}

[data-theme="dark"] .dashboard-main-content .btn-secondary:hover {
  background-color: #2A2A26;
  border-color: #9A9A90;
  color: #FFFFFF;
}

[data-theme="dark"] .dashboard-main-content .btn-soft {
  background-color: rgba(233, 164, 19, 0.12);
  border-color: rgba(233, 164, 19, 0.25);
  color: #F2B52D;
}

[data-theme="dark"] .dashboard-main-content .btn-soft:hover {
  background-color: rgba(233, 164, 19, 0.2);
  color: #FFD477;
}

[data-theme="dark"] .dashboard-main-content .btn-dark {
  background-color: #F2F2EF;
  border-color: #F2F2EF;
  color: #14130F;
}


/* ==========================================================================
   DARK MODE — BADGES
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content .badge {
  color: #FFFFFF;
}

[data-theme="dark"] .dashboard-main-content .badge-primary {
  background-color: rgba(233, 164, 19, 0.16);
  border-color: rgba(233, 164, 19, 0.45);
  color: #F2B52D;
}

[data-theme="dark"] .dashboard-main-content .badge-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #F0F0EC;
}

[data-theme="dark"] .dashboard-main-content .badge-outline {
  background-color: transparent;
  border-color: #66665F;
  color: #E7E7E2;
}

[data-theme="dark"] .dashboard-main-content .badge-status-active {
  background-color: rgba(46, 170, 100, 0.16);
  border-color: rgba(46, 170, 100, 0.4);
  color: #72E2A2;
}

[data-theme="dark"] .dashboard-main-content .badge-status-delivering {
  background-color: rgba(233, 164, 19, 0.16);
  border-color: rgba(233, 164, 19, 0.45);
  color: #F5BD42;
}

[data-theme="dark"] .dashboard-main-content .badge-status-pending {
  background-color: rgba(245, 190, 65, 0.14);
  border-color: rgba(245, 190, 65, 0.4);
  color: #F8CD67;
}

[data-theme="dark"] .dashboard-main-content .badge-status-danger {
  background-color: rgba(220, 75, 75, 0.14);
  border-color: rgba(220, 75, 75, 0.4);
  color: #FF8D8D;
}

[data-theme="dark"] .dashboard-main-content .badge-veg {
  background-color: rgba(65, 180, 105, 0.16);
  border-color: rgba(65, 180, 105, 0.4);
  color: #7BE3A4;
}


/* ==========================================================================
   DARK MODE — FORMS
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content .form-label {
  color: #F1F1ED;
}

[data-theme="dark"] .dashboard-main-content .form-control {
  background-color: #181816;
  border-color: #484842;
  color: #F5F5F1;
}

[data-theme="dark"] .dashboard-main-content .form-control::placeholder {
  color: #8F8F88;
}

[data-theme="dark"] .dashboard-main-content .form-control:focus {
  border-color: #E9A413;
  box-shadow: 0 0 0 3px rgba(233, 164, 19, 0.14);
}

[data-theme="dark"] .dashboard-main-content .form-check-label {
  color: #E8E8E3;
}


/* ==========================================================================
   DARK MODE — SOFT ACCENT BLOCKS
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content [style*="background: var(--color-soft-accent)"] {
  background: rgba(233, 164, 19, 0.09) !important;
}

[data-theme="dark"] .dashboard-main-content [style*="background-color: var(--color-bg)"] {
  background-color: #151513 !important;
}


/* ==========================================================================
   DARK MODE — LINKS
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content a:not(.btn) {
  color: #F0B52B;
}

[data-theme="dark"] .dashboard-main-content a:not(.btn):hover {
  color: #FFD477;
}


/* ==========================================================================
   DARK MODE — RATING STARS
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content .rating-stars {
  color: #F2B52D;
}

[data-theme="dark"] .dashboard-main-content .rating-score {
  color: #FFFFFF;
}


/* ==========================================================================
   DARK MODE — BORDERS / DIVIDERS
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content hr,
[data-theme="dark"] .dashboard-main-content [style*="border-bottom"],
[data-theme="dark"] .dashboard-main-content [style*="border-top"] {
  border-color: #383833 !important;
}


/* ==========================================================================
   DARK MODE — ICONS
   ========================================================================== */

[data-theme="dark"] .dashboard-main-content .fa-circle-info,
[data-theme="dark"] .dashboard-main-content .fa-user-check,
[data-theme="dark"] .dashboard-main-content .fa-location-crosshairs,
[data-theme="dark"] .dashboard-main-content .fa-phone {
  color: #E9A413 !important;
}

/* =========================================================
   DASHBOARD USER AVATAR — DARK MODE VISIBILITY
   ========================================================= */

[data-theme="dark"] .dashboard-layout .user-avatar {
  background-color: var(--color-secondary);
  color: #FFFFFF !important;
  border-color: var(--color-secondary);
  opacity: 1;
  text-shadow: none;
}

/* If avatar contains initials like EM */
[data-theme="dark"] .dashboard-layout .user-avatar:not(:has(i)) {
  color: #FFFFFF !important;
  background-color: var(--color-secondary);
}

/* Make sure the profile text also stays visible */
[data-theme="dark"] .dashboard-layout .dashboard-user-profile h3 {
  color: var(--color-text) !important;
}

[data-theme="dark"] .dashboard-layout .dashboard-user-profile p {
  color: var(--color-text-muted) !important;
}
/* ==========================================================================
   20. ADMIN DASHBOARD (ADMIN-DASHBOARD.HTML)
   ========================================================================== */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.metric-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.metric-label {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
}

/* ==========================================================================
   21. 404 ERROR PAGE
   ========================================================================== */
.error-page-wrapper {
  min-height: calc(100vh - var(--header-height) - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--space-12);
}

.error-content-box {
  max-width: 580px;
}

.error-giant-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-4);
}

/* ==========================================================================
   22. RESPONSIVE BREAKPOINTS (TABLET: 768px – 1024px)
   ========================================================================== */
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-home-2-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-timeline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .week-routine-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1.4fr;
  }

  .footer-bottom {
    flex-direction: row;
  }

  .filter-grid-controls {
    grid-template-columns: repeat(3, 1fr);
  }

  .order-selector-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-featured-box {
    grid-template-columns: 1fr 1fr;
  }

  .chef-intro-banner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .stats-banner {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-way-cta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-tracker-flow {
    flex-direction: row;
    justify-content: space-between;
  }

  .delivery-tracker-flow::before {
    content: "";
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
  }

  .tracker-stage {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }
}

/* ==========================================================================
   23. RESPONSIVE BREAKPOINTS (DESKTOP: 1025px+)
   ========================================================================== */
@media (min-width: 1025px) {
  .hamburger-btn {
    display: none;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    position: static;
  }

  .nav-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.2vw, 1.5rem);
    white-space: nowrap;
    z-index: 10;
  }

  .nav-utilities {
    margin-inline-start: auto;
    position: relative;
    z-index: 11;
  }

  .mobile-drawer,
  .mobile-drawer-backdrop {
    display: none !important;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .week-routine-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .filter-grid-controls {
    grid-template-columns: repeat(6, 1fr);
  }

  .dashboard-layout {
    grid-template-columns: 260px 1fr;
  }

  .dashboard-sidebar {
    border-block-end: none;
    border-inline-end: 1px solid var(--color-border);
    min-height: calc(100vh - var(--header-height));
    padding: var(--space-8) var(--space-6);
  }

  .dashboard-nav-list {
    flex-direction: column;
    overflow-x: visible;
  }
}

/* Mobile & Small Screen Logo Visibility Optimizations */
@media (max-width: 480px) {
  .site-logo {
    gap: var(--space-2);
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.05rem;
  }

  .logo-text .brand-name,
  .site-logo .brand-name,
  .brand-name {
    font-size: 1.18rem;
  }

  .logo-text .brand-tagline {
    font-size: 0.6rem;
  }
}

@media (max-width: 350px) {
  .logo-text .brand-name,
  .site-logo .brand-name,
  .brand-name {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   24. PAGE LOADER & BACK TO TOP
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.page-loader.dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.page-loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: var(--radius-full);
  animation: pageLoaderSpin 0.8s linear infinite;
}

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

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #14130F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-hover);
  color: #14130F;
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: var(--space-6);
}

/* ==========================================================================
   25. REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-floating-card {
    animation: none;
  }
}
/* =========================================================
   HOME 1 — RESPONSIVE
   Mobile: 320px — 767px
   Tablet: 768px — 1024px
   Large Devices: 1025px — 1280px
   ========================================================= */


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

  /* ---------------------------------------------------------
     HERO
     --------------------------------------------------------- */

  .hero-home-1 {
    padding-block: var(--space-10);
  }

  .hero-home-1 .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-home-1 .hero-content {
    text-align: center;
  }

  .hero-home-1 .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.1;
  }

  .hero-home-1 .lead-text {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-home-1 .btn-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-home-1 .hero-trust-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }

  .hero-home-1 .hero-trust-item {
    justify-content: center;
  }

  .hero-home-1 .hero-image-composition {
    width: 100%;
  }

  .hero-home-1 .hero-main-img-wrap {
    width: 100%;
  }

  .hero-home-1 .hero-main-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-home-1 .hero-floating-card {
    position: relative;
    inset: auto;
    width: calc(100% - 24px);
    margin: -30px auto 0;
  }


  /* ---------------------------------------------------------
     SECTION 2 — CUISINE DISCOVERY
     --------------------------------------------------------- */

  .cuisine-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .cuisine-section-heading .btn {
    width: 100%;
    justify-content: center;
  }

  .cuisine-editorial-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }

  .cuisine-pill-item {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 3 — FEATURED CHEFS
     --------------------------------------------------------- */

  .featured-chefs-header {
    text-align: center;
  }

  .featured-chefs-header p {
    max-width: 100%;
  }

  .chef-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .chef-card,
  .chef-explore-card {
    width: 100%;
  }

  .chef-card-header {
    align-items: flex-start;
    gap: var(--space-3);
  }

  .chef-title {
    font-size: var(--text-xl);
  }

  .chef-meta-row {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .chef-meta-row .btn {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 4 — HOW MARKETPLACE WORKS
     --------------------------------------------------------- */

  .marketplace-how-header {
    text-align: center;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .how-step-card {
    width: 100%;
  }

  .how-step-arrow {
    display: none;
  }

  .how-it-works-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }

  .how-it-works-bottom .btn {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 5 — WEEKLY MENU SPOTLIGHT
     --------------------------------------------------------- */

  .menu-spotlight-box {
    width: 100%;
    overflow: hidden;
  }

  .menu-spotlight-box > .flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .menu-day-schedule {
    overflow-x: auto;
    width: 100%;
  }

  .menu-day-row {
    min-width: 600px;
  }

  .menu-spotlight-box > .flex-between:last-child {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .menu-spotlight-box > .flex-between:last-child .btn {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 6 — CUSTOMER TRUST
     --------------------------------------------------------- */

  .customer-trust-header {
    text-align: center;
  }

  .trust-pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .trust-pillar {
    width: 100%;
  }

  .trust-testimonials-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .trust-rating-summary {
    width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .testimonial-card {
    width: 100%;
  }


  /* ---------------------------------------------------------
     SECTION 7 — FINAL CTA
     --------------------------------------------------------- */

  .final-cta-card {
    padding: var(--space-6);
  }

  .final-cta-content {
    text-align: center;
  }

  .final-cta-content h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .final-cta-actions {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .final-cta-action {
    width: 100%;
  }

  .final-cta-trust {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
  }

}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

  /* ---------------------------------------------------------
     HERO
     --------------------------------------------------------- */

  .hero-home-1 {
    padding-block: var(--space-12);
  }

  .hero-home-1 .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: var(--space-8);
    align-items: center;
  }

  .hero-home-1 .hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
  }

  .hero-home-1 .hero-trust-bar {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .hero-home-1 .hero-trust-item {
    flex: 1 1 45%;
  }

  .hero-home-1 .hero-floating-card {
    max-width: 90%;
  }


  /* ---------------------------------------------------------
     SECTION 2 — CUISINE
     --------------------------------------------------------- */

  .cuisine-section-heading {
    gap: var(--space-5);
  }

  .cuisine-editorial-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
  }

  .cuisine-pill-item {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 3 — FEATURED CHEFS
     --------------------------------------------------------- */

  .chef-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .chef-card-header {
    gap: var(--space-3);
  }

  .chef-meta-row {
    gap: var(--space-3);
  }


  /* ---------------------------------------------------------
     SECTION 4 — HOW IT WORKS
     --------------------------------------------------------- */

  .how-it-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .how-step-card--last {
    grid-column: 1 / -1;
  }

  .how-it-works-bottom {
    gap: var(--space-5);
  }


  /* ---------------------------------------------------------
     SECTION 5 — WEEKLY MENU
     --------------------------------------------------------- */

  .menu-spotlight-box {
    overflow-x: auto;
  }

  .menu-day-schedule {
    min-width: 720px;
  }


  /* ---------------------------------------------------------
     SECTION 6 — TRUST
     --------------------------------------------------------- */

  .trust-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }


  /* ---------------------------------------------------------
     SECTION 7 — FINAL CTA
     --------------------------------------------------------- */

  .final-cta-card {
    padding: var(--space-8);
  }

  .final-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .final-cta-trust {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }

}


/* =========================================================
   LARGE DEVICES
   1025px — 1280px
   ========================================================= */

@media (min-width: 1025px) and (max-width: 1280px) {

  /* ---------------------------------------------------------
     HERO
     --------------------------------------------------------- */

  .hero-home-1 .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
    gap: var(--space-10);
  }

  .hero-home-1 .hero-content h1 {
    font-size: clamp(3rem, 4vw, 4.25rem);
  }

  .hero-home-1 .hero-trust-bar {
    gap: var(--space-4);
  }


  /* ---------------------------------------------------------
     SECTION 2 — CUISINE
     --------------------------------------------------------- */

  .cuisine-editorial-strip {
    gap: var(--space-3);
  }


  /* ---------------------------------------------------------
     SECTION 3 — FEATURED CHEFS
     --------------------------------------------------------- */

  .chef-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }


  /* ---------------------------------------------------------
     SECTION 4 — HOW IT WORKS
     --------------------------------------------------------- */

  .how-it-works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .how-step-card--last {
    grid-column: auto;
  }


  /* ---------------------------------------------------------
     SECTION 5 — WEEKLY MENU
     --------------------------------------------------------- */

  .menu-day-row {
    gap: var(--space-4);
  }


  /* ---------------------------------------------------------
     SECTION 6 — TRUST
     --------------------------------------------------------- */

  .trust-pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }


  /* ---------------------------------------------------------
     SECTION 7 — FINAL CTA
     --------------------------------------------------------- */

  .final-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

}

/* ==========================================================================
   22. RESPONSIVE BREAKPOINTS (TABLET: 768px – 1024px)
   ========================================================================== */
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-home-2-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-timeline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .week-routine-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1.4fr;
  }

  .footer-bottom {
    flex-direction: row;
  }

  .filter-grid-controls {
    grid-template-columns: repeat(3, 1fr);
  }

  .order-selector-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-featured-box {
    grid-template-columns: 1fr 1fr;
  }

  .chef-intro-banner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .stats-banner {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-way-cta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-tracker-flow {
    flex-direction: row;
    justify-content: space-between;
  }

  .delivery-tracker-flow::before {
    content: "";
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
  }

  .tracker-stage {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }
}

/* ==========================================================================
   23. RESPONSIVE BREAKPOINTS (DESKTOP: 1025px+)
   ========================================================================== */
@media (min-width: 1025px) {
  .hamburger-btn {
    display: none;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    position: static;
  }

  .nav-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.2vw, 1.5rem);
    white-space: nowrap;
    z-index: 10;
  }

  .nav-utilities {
    margin-inline-start: auto;
    position: relative;
    z-index: 11;
  }

  .mobile-drawer,
  .mobile-drawer-backdrop {
    display: none !important;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .week-routine-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .filter-grid-controls {
    grid-template-columns: repeat(6, 1fr);
  }

  .dashboard-layout {
    grid-template-columns: 260px 1fr;
  }

  .dashboard-sidebar {
    border-block-end: none;
    border-inline-end: 1px solid var(--color-border);
    min-height: calc(100vh - var(--header-height));
    padding: var(--space-8) var(--space-6);
  }

  .dashboard-nav-list {
    flex-direction: column;
    overflow-x: visible;
  }
}

/* Mobile & Small Screen Logo Visibility Optimizations */
@media (max-width: 480px) {
  .site-logo {
    gap: var(--space-2);
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.05rem;
  }

  .logo-text .brand-name,
  .site-logo .brand-name,
  .brand-name {
    font-size: 1.18rem;
  }

  .logo-text .brand-tagline {
    font-size: 0.6rem;
  }
}

@media (max-width: 350px) {
  .logo-text .brand-name,
  .site-logo .brand-name,
  .brand-name {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   24. PAGE LOADER & BACK TO TOP
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.page-loader.dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.page-loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: var(--radius-full);
  animation: pageLoaderSpin 0.8s linear infinite;
}

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

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #14130F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-hover);
  color: #14130F;
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: var(--space-6);
}

/* ==========================================================================
   25. REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-floating-card {
    animation: none;
  }
}
/* =========================================================
   HOME 1 — RESPONSIVE
   Mobile: 320px — 767px
   Tablet: 768px — 1024px
   Large Devices: 1025px — 1280px
   ========================================================= */


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

  /* ---------------------------------------------------------
     HERO
     --------------------------------------------------------- */

  .hero-home-1 {
    padding-block: var(--space-10);
  }

  .hero-home-1 .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-home-1 .hero-content {
    text-align: center;
  }

  .hero-home-1 .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.1;
  }

  .hero-home-1 .lead-text {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-home-1 .btn-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-home-1 .hero-trust-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }

  .hero-home-1 .hero-trust-item {
    justify-content: center;
  }

  .hero-home-1 .hero-image-composition {
    width: 100%;
  }

  .hero-home-1 .hero-main-img-wrap {
    width: 100%;
  }

  .hero-home-1 .hero-main-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-home-1 .hero-floating-card {
    position: relative;
    inset: auto;
    width: calc(100% - 24px);
    margin: -30px auto 0;
  }


  /* ---------------------------------------------------------
     SECTION 2 — CUISINE DISCOVERY
     --------------------------------------------------------- */

  .cuisine-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .cuisine-section-heading .btn {
    width: 100%;
    justify-content: center;
  }

  .cuisine-editorial-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }

  .cuisine-pill-item {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 3 — FEATURED CHEFS
     --------------------------------------------------------- */

  .featured-chefs-header {
    text-align: center;
  }

  .featured-chefs-header p {
    max-width: 100%;
  }

  .chef-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .chef-card,
  .chef-explore-card {
    width: 100%;
  }

  .chef-card-header {
    align-items: flex-start;
    gap: var(--space-3);
  }

  .chef-title {
    font-size: var(--text-xl);
  }

  .chef-meta-row {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .chef-meta-row .btn {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 4 — HOW MARKETPLACE WORKS
     --------------------------------------------------------- */

  .marketplace-how-header {
    text-align: center;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .how-step-card {
    width: 100%;
  }

  .how-step-arrow {
    display: none;
  }

  .how-it-works-bottom {
 
   flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }

  .how-it-works-bottom .btn {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 5 — WEEKLY MENU SPOTLIGHT
     --------------------------------------------------------- */

  .menu-spotlight-box {
    width: 100%;
    overflow: hidden;
  }

  .menu-spotlight-box > .flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .menu-day-schedule {
    overflow-x: auto;
    width: 100%;
  }

  .menu-day-row {
    min-width: 600px;
  }

  .menu-spotlight-box > .flex-between:last-child {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .menu-spotlight-box > .flex-between:last-child .btn {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 6 — CUSTOMER TRUST
     --------------------------------------------------------- */

  .customer-trust-header {
    text-align: center;
  }

  .trust-pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .trust-pillar {
    width: 100%;
  }

  .trust-testimonials-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .trust-rating-summary {
    width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .testimonial-card {
    width: 100%;
  }


  /* ---------------------------------------------------------
     SECTION 7 — FINAL CTA
     --------------------------------------------------------- */

  .final-cta-card {
    padding: var(--space-6);
  }

  .final-cta-content {
    text-align: center;
  }

  .final-cta-content h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .final-cta-actions {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .final-cta-action {
    width: 100%;
  }

  .final-cta-trust {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
  }

}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

  /* ---------------------------------------------------------
     HERO
     --------------------------------------------------------- */

  .hero-home-1 {
    padding-block: var(--space-12);
  }

  .hero-home-1 .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: var(--space-8);
    align-items: center;
  }

  .hero-home-1 .hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
  }

  .hero-home-1 .hero-trust-bar {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .hero-home-1 .hero-trust-item {
    flex: 1 1 45%;
  }

  .hero-home-1 .hero-floating-card {
    max-width: 90%;
  }


  /* ---------------------------------------------------------
     SECTION 2 — CUISINE
     --------------------------------------------------------- */

  .cuisine-section-heading {
    gap: var(--space-5);
  }

  .cuisine-editorial-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
  }

  .cuisine-pill-item {
    width: 100%;
    justify-content: center;
  }


  /* ---------------------------------------------------------
     SECTION 3 — FEATURED CHEFS
     --------------------------------------------------------- */

  .chef-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .chef-card-header {
    gap: var(--space-3);
  }

  .chef-meta-row {
    gap: var(--space-3);
  }


  /* ---------------------------------------------------------
     SECTION 4 — HOW IT WORKS
     --------------------------------------------------------- */

  .how-it-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .how-step-card--last {
    grid-column: 1 / -1;
  }

  .how-it-works-bottom {
    gap: var(--space-5);
  }


  /* ---------------------------------------------------------
     SECTION 5 — WEEKLY MENU
     --------------------------------------------------------- */

  .menu-spotlight-box {
    overflow-x: auto;
  }

  .menu-day-schedule {
    min-width: 720px;
  }


  /* ---------------------------------------------------------
     SECTION 6 — TRUST
     --------------------------------------------------------- */

  .trust-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }


  /* ---------------------------------------------------------
     SECTION 7 — FINAL CTA
     --------------------------------------------------------- */

  .final-cta-card {
    padding: var(--space-8);
  }

  .final-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .final-cta-trust {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }

}


/* =========================================================
   LARGE DEVICES
   1025px — 1280px
   ========================================================= */

@media (min-width: 1025px) and (max-width: 1280px) {

  /* ---------------------------------------------------------
     HERO
     --------------------------------------------------------- */

  .hero-home-1 .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
    gap: var(--space-10);
  }

  .hero-home-1 .hero-content h1 {
    font-size: clamp(3rem, 4vw, 4.25rem);
  }

  .hero-home-1 .hero-trust-bar {
    gap: var(--space-4);
  }


  /* ---------------------------------------------------------
     SECTION 2 — CUISINE
     --------------------------------------------------------- */

  .cuisine-editorial-strip {
    gap: var(--space-3);
  }


  /* ---------------------------------------------------------
     SECTION 3 — FEATURED CHEFS
     --------------------------------------------------------- */

  .chef-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }


  /* ---------------------------------------------------------
     SECTION 4 — HOW IT WORKS
     --------------------------------------------------------- */

  .how-it-works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .how-step-card--last {
    grid-column: auto;
  }


  /* ---------------------------------------------------------
     SECTION 5 — WEEKLY MENU
     --------------------------------------------------------- */

  .menu-day-row {
    gap: var(--space-4);
  }


  /* ---------------------------------------------------------
     SECTION 6 — TRUST
     --------------------------------------------------------- */

  .trust-pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }


  /* ---------------------------------------------------------
     SECTION 7 — FINAL CTA
     --------------------------------------------------------- */

  .final-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

}
/* ========================================================================== 
   RESPONSIVE LAYOUT — ALL PAGE CONTENT EXCEPT NAVBAR & FOOTER
   Mobile: 320px–767px
   Tablet: 768px–1023px
   Large Devices: 1024px–1280px
   NOTE: Header / navbar / mobile navigation / footer are intentionally not
   included in this responsive layer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   SHARED RESPONSIVE SAFETY
   -------------------------------------------------------------------------- */
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

.container,
.container-narrow,
.container-sm {
  width: min(100% - 2rem, var(--container-max, 1200px));
}

.section-header,
.featured-chefs-header,
.marketplace-how-header,
.customer-trust-header,
.final-cta-content,
.about-hero-text,
.contact-support-hero__content,
.neighborhood-coverage__header {
  min-width: 0;
}
/* ==========================================================================
   DARK THEME — DROPDOWN VISIBILITY FIX
   ========================================================================== */

html[data-theme="dark"] .dropdown-menu {
  background-color: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: var(--shadow-lg);
}

html[data-theme="dark"] .dropdown-menu a,
html[data-theme="dark"] .dropdown-menu button,
html[data-theme="dark"] .dropdown-menu li {
  color: var(--color-text);
}

html[data-theme="dark"] .dropdown-menu a:hover,
html[data-theme="dark"] .dropdown-menu button:hover {
  background-color: var(--color-soft-accent);
  color: var(--color-primary);
}


/* ==========================================================================
   DARK THEME — DROPDOWN TEXT / ICON CONTRAST
   ========================================================================== */

html[data-theme="dark"] .dropdown-menu .dropdown-item,
html[data-theme="dark"] .dropdown-menu i {
  color: var(--color-text);
}

html[data-theme="dark"] .dropdown-menu .dropdown-item:hover i,
html[data-theme="dark"] .dropdown-menu a:hover i {
  color: var(--color-primary);
}


/* ==========================================================================
   DARK THEME — HOVER VISIBILITY
   ========================================================================== */

html[data-theme="dark"] .has-dropdown:hover > .dropdown-menu,
html[data-theme="dark"] .has-dropdown:focus-within > .dropdown-menu {
  background-color: var(--color-surface);
  opacity: 1;
  visibility: visible;
}
/* ========================================================================== 
   MOBILE — 320px–767px
   ========================================================================== */
@media (min-width: 320px) and (max-width: 767px) {

  /* Shared grids */
  .grid-2,
  .grid-3,
  .grid-4,
  .hero-grid,
  .hero-home-2-grid,
  .story-featured-box,
  .two-way-cta-grid,
  .contact-grid,
  .why-home-chefs-grid,
  .chef-intro-banner,
  .login-layout,
  .register-layout,
  .order-selector-grid,
  .weekly-menu-calendar,
  .neighborhood-coverage__layout,
  .admin-metrics-grid {
    grid-template-columns: 1fr;
  }

  .stats-banner {
    grid-template-columns: 1fr;
  }

  .filter-grid-controls {
    grid-template-columns: 1fr;
  }

  .week-routine-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .menu-day-schedule {
    width: 100%;
    overflow-x: auto;
  }

  .menu-day-row {
    min-width: 620px;
  }

  
  .hero-home-1 .hero-image-composition {
    width: 100%;
    margin-top: 28px;
    position: relative;
  }

  /* Main Hero Image */
  .hero-home-1 .hero-main-img-wrap {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: inherit;
  }

  .hero-home-1 .hero-main-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
  }

  /* Smaller Floating Badge */
  .hero-home-1 .hero-floating-card {
    width: auto;
    max-width: 68%;
    padding: 9px 11px;
    gap: 8px;
    transform: none;
  }

  .hero-home-1 .hero-floating-card .user-avatar {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 12px;
  }

  .hero-home-1 .hero-floating-card strong {
    font-size: 11px !important;
    line-height: 1.3;
  }

  .hero-home-1 .hero-floating-card span {
    display: block;
    font-size: 9px !important;
    line-height: 1.3;
  }

  /* Home 2 / editorial layouts */
  .home2-bg-container,
  .home2-bg-main,
  .home2-bg-feature {
    grid-template-columns: 1fr;
  }

  .home2-bg-actions,
  .home2-bg-navigation,
  .home2-bg-controls,
  .home2-bg-progress {
    flex-wrap: wrap;
  }

  .home2-progress-item {
    min-width: 0;
    flex: 1 1 100%;
  }

  /* Home / About / content sections */
  .hero-content,
  .about-hero-text,
  .customer-trust-header,
  .featured-chefs-header,
  .marketplace-how-header,
  .contact-support-hero__content,
  .neighborhood-coverage__header {
    width: 100%;
    max-width: 100%;
  }

  .hero-content h1,
  .about-hero-text h1,
  .home2-bg-title,
  .final-cta-content h2,
  .final-cta-inner h2 {
    overflow-wrap: anywhere;
  }

  .story-featured-box,
  .two-way-cta-grid,
  .contact-grid,
  .why-home-chefs-grid {
    gap: var(--space-6);
  }

  .story-featured-box > div:last-child,
  .why-home-chefs-content,
  .why-home-chefs-image {
    width: 100%;
    max-width: 100%;
  }

  .story-featured-box .hero-main-img-wrap,
  #ourStory .hero-main-img-wrap,
  .why-home-chefs-image .hero-main-img-wrap {
    width: 100%;
  }

  /* Cuisine / chips / pills */
  .cuisine-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .cuisine-section-heading .btn {
    width: 100%;
    justify-content: center;
  }

  .cuisine-editorial-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }

  .cuisine-pill-item {
    width: 100%;
    justify-content: center;
  }

  /* Chef cards / catalog */
  .chef-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .chef-card,
  .chef-explore-card,
  .testimonial-card,
  .trust-pillar,
  .how-step-card,
  .metric-card,
  .two-way-cta-card,
  .contact-info-card {
    width: 100%;
    min-width: 0;
  }

  .chef-card-header,
  .chef-meta-row,
  .chef-results-header,
  .filter-actions,
  .final-cta-actions,
  .contact-support-hero__container,
  .dashboard-user-profile {
    flex-wrap: wrap;
  }

  .chef-meta-row .btn,
  .final-cta-actions .btn,
  .filter-actions .btn,
  .login-submit,
  .register-submit {
    width: 100%;
    justify-content: center;
  }

  .chef-tags {
    flex-wrap: wrap;
  }

  /* How it works / process */
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .how-step-arrow {
    display: none;
  }

  .how-it-works-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }

  .how-it-works-bottom .btn {
    width: 100%;
    justify-content: center;
  }

  /* Trust / testimonials */
  .trust-pillars-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .trust-testimonials-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .trust-rating-summary {
    width: 100%;
  }

  /* CTA */
  .final-cta-actions {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .final-cta-action {
    width: 100%;
  }

  .final-cta-trust {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Find Chef / search / filters */
  .filter-search-bar,
  .filter-actions,
  .chef-results-header {
    width: 100%;
  }

  .search-input-wrapper {
    width: 100%;
  }

  /* FAQ / contact */
  .faq-accordion {
    width: 100%;
  }

  .faq-trigger {
    text-align: start;
    gap: var(--space-3);
  }

  .contact-info-card,
  .map-placeholder-box,
  .contact-support-hero {
    width: 100%;
  }

  /* Neighborhood coverage */
  .neighborhood-coverage__map-card {
    min-width: 0;
    width: 100%;
  }

  .neighborhood-coverage__info,
  .neighborhood-coverage__legend,
  .neighborhood-coverage__bottom-note {
    flex-wrap: wrap;
  }

  /* Login / Register */
  .login-form-panel,
  .register-form-panel,
  .login-visual-panel,
  .register-visual-panel {
    width: 100%;
    min-width: 0;
  }

  .login-form-inner,
  .register-form-inner {
    width: 100%;
  }

  .register-fields-grid {
    grid-template-columns: 1fr;
  }

  .login-options {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  /* Dashboard */
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    min-width: 0;
    width: 100%;
    border-inline-end: 0;
    border-block-end: 1px solid var(--color-border);
  }

  .dashboard-nav-list {
    flex-direction: row;
    overflow-x: auto;
  }

  .dashboard-nav-btn {
    flex: 0 0 auto;
  }

  .dashboard-main-content {
    min-width: 0;
    width: 100%;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
  }

  .app-table {
    min-width: 680px;
  }

  /* Delivery / tracker */
  .delivery-tracker-flow {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-5);
  }

  .delivery-tracker-flow::before {
    display: none;
  }

  .tracker-stage {
    flex-direction: row;
    text-align: start;
  }

  /* Error page */
  .error-page-wrapper,
  .error-content-box {
    width: 100%;
    max-width: 100%;
  }

  /* Cards and long text */
  .card,
  .section-alt .grid-2 > .card,
  .section-alt .grid-3 .card {
    min-width: 0;
  }
}

/* ========================================================================== 
   TABLET — 768px–1023px
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {

  .grid-2,
  .hero-grid,
  .hero-home-2-grid,
  .story-featured-box,
  .two-way-cta-grid,
  .contact-grid,
  .why-home-chefs-grid,
  .login-layout,
  .register-layout,
  .order-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .grid-4,
  .filter-grid-controls,
  .admin-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-banner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .week-routine-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weekly-menu-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cuisine-editorial-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chef-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .how-it-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-step-card--last {
    grid-column: 1 / -1;
  }

  .trust-pillars-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .register-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    width: 100%;
    border-inline-end: 0;
    border-block-end: 1px solid var(--color-border);
  }

  .dashboard-nav-list {
    flex-direction: row;
    overflow-x: auto;
  }

  .dashboard-nav-btn {
    flex: 0 0 auto;
  }

  .dashboard-main-content {
    min-width: 0;
  }

  .delivery-tracker-flow {
    flex-direction: row;
    justify-content: space-between;
  }

  .delivery-tracker-flow::before {
    content: "";
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
  }

  .tracker-stage {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }

  .menu-day-schedule {
    width: 100%;
    overflow-x: auto;
  }

  .menu-day-row {
    min-width: 720px;
  }

  .filter-actions,
  .chef-results-header,
  .contact-support-hero__container {
    flex-wrap: wrap;
  }
}

/* ========================================================================== 
   LARGE DEVICES — 1024px–1280px
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1280px) {

  .grid-2,
  .hero-grid,
  .hero-home-2-grid,
  .story-featured-box,
  .two-way-cta-grid,
  .contact-grid,
  .why-home-chefs-grid,
  .login-layout,
  .register-layout,
  .order-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .filter-grid-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stats-banner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .week-routine-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .weekly-menu-calendar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cuisine-editorial-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chef-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .how-it-works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .how-step-card--last {
    grid-column: auto;
  }

  .trust-pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-layout {
    grid-template-columns: 240px 1fr;
  }

  .dashboard-sidebar {
    min-height: calc(100vh - var(--header-height));
    border-block-end: none;
    border-inline-end: 1px solid var(--color-border);
  }

  .dashboard-nav-list {
    flex-direction: column;
    overflow-x: visible;
  }

  .dashboard-main-content {
    min-width: 0;
  }

  .delivery-tracker-flow {
    flex-direction: row;
    justify-content: space-between;
  }

  .delivery-tracker-flow::before {
    content: "";
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    inset-inline-end: 16px;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
  }

  .tracker-stage {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }
}

/* --------------------------------------------------------------------------
   SMALL WIDTH SAFETY INSIDE THE REQUESTED MOBILE RANGE
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container,
  .container-narrow,
  .container-sm {
    width: min(100% - 1.25rem, var(--container-max, 1200px));
  }

  .cuisine-editorial-strip {
    grid-template-columns: 1fr;
  }

  .stats-banner {
    grid-template-columns: 1fr;
  }

  .login-options,
  .login-register,
  .register-login,
  .login-back-home,
  .register-back-home {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta-card {
    padding: var(--space-6);
  }
}
/* ==========================================================================
   19. CUSTOMER DASHBOARD — RESPONSIVE OVERRIDES
   Breakpoints:
   Mobile  : 320px–767px
   Tablet  : 768px–1024px
   Large   : 1025px–1280px
   ========================================================================== */


/* ==========================================================================
   MOBILE — 320px–767px
   ========================================================================== */

@media (min-width: 320px) and (max-width: 767px) {

  /* ------------------------------------------------------------------------
     DASHBOARD LAYOUT
     ------------------------------------------------------------------------ */

  .dashboard-layout {
    display: block;
    min-height: auto;
  }


  /* ------------------------------------------------------------------------
     DASHBOARD SIDEBAR
     ------------------------------------------------------------------------ */

  .dashboard-sidebar {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    border-inline-end: none;
    border-block-end: 1px solid var(--color-border);
    padding: var(--space-4);
  }


  /* ------------------------------------------------------------------------
     USER PROFILE
     ------------------------------------------------------------------------ */

  .dashboard-user-profile {
    gap: var(--space-3);
    padding-block-end: var(--space-3);
    margin-bottom: var(--space-3);
  }

  .user-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }


  /* ------------------------------------------------------------------------
     SIDEBAR NAVIGATION
     ------------------------------------------------------------------------ */

  .dashboard-nav-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .dashboard-nav-btn {
    width: 100%;
    min-width: 0;
    padding: 0.7rem 0.65rem;
    gap: 0.55rem;
    white-space: normal;
    font-size: var(--text-xs);
  }

  .dashboard-nav-btn i {
    width: 16px;
    flex: 0 0 16px;
  }


  /* ------------------------------------------------------------------------
     MAIN CONTENT
     ------------------------------------------------------------------------ */

  .dashboard-main-content {
    width: 100%;
    min-width: 0;
    padding: var(--space-5) clamp(1rem, 4vw, 1.5rem);
  }


  /* ------------------------------------------------------------------------
     PANELS
     ------------------------------------------------------------------------ */

  .dashboard-panel {
    width: 100%;
    min-width: 0;
  }


  /* ------------------------------------------------------------------------
     DELIVERY TRACKER
     ------------------------------------------------------------------------ */

  .delivery-tracker-flow {
    width: 100%;
    gap: var(--space-4);
    margin-block: var(--space-5);
  }

  .tracker-stage {
    width: 100%;
    min-width: 0;
    gap: var(--space-3);
    align-items: flex-start;
  }

  .tracker-indicator {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    font-size: 0.75rem;
  }

  .tracker-info {
    min-width: 0;
  }

  .tracker-info h4,
  .tracker-info p {
    overflow-wrap: break-word;
  }


  /* ------------------------------------------------------------------------
     TABLES
     ------------------------------------------------------------------------ */

  .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .app-table {
    min-width: 650px;
  }

  .app-table th,
  .app-table td {
    white-space: nowrap;
  }

  .app-table th {
    padding: 0.75rem 0.8rem;
  }

  .app-table td {
    padding: 0.85rem 0.8rem;
  }


  /* ------------------------------------------------------------------------
     ADMIN METRICS
     ------------------------------------------------------------------------ */

  .admin-metrics-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }

  .metric-card {
    min-width: 0;
    padding: var(--space-4);
  }

  .metric-label {
    font-size: 0.65rem;
    line-height: 1.4;
  }

  .metric-value {
    font-size: var(--text-2xl);
    line-height: 1.1;
    overflow-wrap: break-word;
  }
}


/* ==========================================================================
   TABLET — 768px–1024px
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {

  /* ------------------------------------------------------------------------
     DASHBOARD LAYOUT
     ------------------------------------------------------------------------ */

  .dashboard-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    min-height: calc(100vh - var(--header-height));
  }


  /* ------------------------------------------------------------------------
     DASHBOARD SIDEBAR
     ------------------------------------------------------------------------ */

  .dashboard-sidebar {
    width: 100%;
    padding: var(--space-5) var(--space-3);
  }


  /* ------------------------------------------------------------------------
     USER PROFILE
     ------------------------------------------------------------------------ */

  .dashboard-user-profile {
    gap: var(--space-2);
  }

  .user-avatar {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }


  /* ------------------------------------------------------------------------
     SIDEBAR NAVIGATION
     ------------------------------------------------------------------------ */

  .dashboard-nav-btn {
    gap: var(--space-2);
    padding: 0.7rem 0.65rem;
    font-size: var(--text-xs);
  }

  .dashboard-nav-btn i {
    width: 17px;
    flex-basis: 17px;
  }


  /* ------------------------------------------------------------------------
     MAIN CONTENT
     ------------------------------------------------------------------------ */

  .dashboard-main-content {
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
  }


  /* ------------------------------------------------------------------------
     DELIVERY TRACKER
     ------------------------------------------------------------------------ */

  .delivery-tracker-flow {
    gap: var(--space-4);
  }

  .tracker-stage {
    min-width: 0;
  }

  .tracker-info {
    min-width: 0;
  }


  /* ------------------------------------------------------------------------
     TABLES
     ------------------------------------------------------------------------ */

  .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .app-table {
    min-width: 650px;
  }


  /* ------------------------------------------------------------------------
     ADMIN METRICS
     ------------------------------------------------------------------------ */

  .admin-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-7);
  }

  .metric-card {
    min-width: 0;
    padding: var(--space-4);
  }

  .metric-value {
    font-size: var(--text-3xl);
  }
}


/* ==========================================================================
   LARGE DEVICES — 1025px–1280px
   ========================================================================== */

@media (min-width: 1025px) and (max-width: 1280px) {

  /* ------------------------------------------------------------------------
     DASHBOARD LAYOUT
     ------------------------------------------------------------------------ */

  .dashboard-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }


  /* ------------------------------------------------------------------------
     DASHBOARD SIDEBAR
     ------------------------------------------------------------------------ */

  .dashboard-sidebar {
    padding-inline: var(--space-3);
  }


  /* ------------------------------------------------------------------------
     SIDEBAR NAVIGATION
     ------------------------------------------------------------------------ */

  .dashboard-nav-btn {
    gap: var(--space-2);
    padding-inline: 0.75rem;
  }


  /* ------------------------------------------------------------------------
     MAIN CONTENT
     ------------------------------------------------------------------------ */

  .dashboard-main-content {
    min-width: 0;
    padding: clamp(1.75rem, 3vw, 2.5rem);
  }


  /* ------------------------------------------------------------------------
     TABLES
     ------------------------------------------------------------------------ */

  .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }


  /* ------------------------------------------------------------------------
     ADMIN METRICS
     ------------------------------------------------------------------------ */

  .admin-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .metric-card {
    min-width: 0;
  }
}

/* ==========================================================================
   HOME 2 — RESPONSIVE LAYER
   Mobile: 320–767px | Tablet: 768–1024px | Desktop: 1025px+

   WHY THIS LIVES AT THE END OF THE FILE
   Three Home 2 sections are built with :has() selectors:
     .section .grid-2:has(.logo-mark .fa-calendar-check)   (Tiffin Plans)
     .section-alt:has(.value-box-icon) .grid-3             (Kitchen Standards)
     .section:has(.stats-banner) .grid-2                   (Community Voices)
   :has() carries class-level specificity, so each of these beats the plain
   .grid-2 / .grid-3 declarations used inside the generic mobile and tablet
   media queries earlier in this file. The result was that all three stayed
   locked to their desktop column counts on every screen size. These rules
   match that specificity and sit last, so they win cleanly.

   Visual design is unchanged — colors, type, borders, spacing scales and the
   desktop layout are all untouched. Only reflow behavior changes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   SECTION 4 — "Effortless Tiffin Plans"
   Was: two fixed 1fr columns at all widths, so on a phone the copy was
   crushed into a ~45% wide strip beside the photo (see screenshot 2).
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .section .grid-2:has(.logo-mark .fa-calendar-check) {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: var(--space-8);
  }

  .section .grid-2:has(.logo-mark .fa-calendar-check) > div:first-child,
  .section .grid-2:has(.logo-mark .fa-calendar-check) > div:last-child {
    max-width: 100%;
    justify-self: stretch;
  }

  /* Image moves below the copy rather than beside it */
  .section .grid-2:has(.logo-mark .fa-calendar-check) .hero-main-img-wrap {
    aspect-ratio: 16 / 10 !important;
  }
}

@media (max-width: 480px) {
  .section .grid-2:has(.logo-mark .fa-calendar-check) .hero-main-img-wrap {
    aspect-ratio: 4 / 3 !important;
  }

  /* Keep the icon + text feature rows readable at narrow widths */
  .section .grid-2:has(.logo-mark .fa-calendar-check) .logo-mark {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }
}


/* --------------------------------------------------------------------------
   SECTION 5 — "Honest Kitchen Standards"
   Was: three fixed columns with a 300px minimum card height at all widths,
   which renders as three tall narrow slivers on a phone.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .section-alt:has(.value-box-icon) .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-alt:has(.value-box-icon) .card {
    min-height: 0;
  }

  /* Decorative corner circle crowds the text once cards are full width */
  .section-alt:has(.value-box-icon) .card::after {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section-alt:has(.value-box-icon) .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-alt:has(.value-box-icon) .card {
    min-height: 260px;
  }
}


/* --------------------------------------------------------------------------
   SECTION 6 — Community Voices ("Chef Perspective" / "Customer Perspective")
   Was: two fixed columns at all widths, so each testimonial wrapped to one or
   two words per line on a phone (see screenshot 1). The decorative 7rem quote
   glyph also sat directly on top of the kicker label at narrow widths.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .section:has(.stats-banner) .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section:has(.stats-banner) .grid-2 > .card {
    min-height: 0;
  }

  /* Shrink and lift the quote mark clear of the kicker text */
  .section:has(.stats-banner) .grid-2 > .card::before {
    font-size: 4.5rem;
    inset-inline-end: 14px;
    inset-block-start: -6px;
  }

  .section:has(.stats-banner) .grid-2 > .card > p {
    max-width: 100%;
  }
}


/* --------------------------------------------------------------------------
   SHARED CONTENT SAFETY — HOME 2
   Guards against sideways scroll from long words, inline-styled flex rows and
   wide quote text on the narrowest supported screens.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .section .grid-2 > div,
  .section-alt:has(.value-box-icon) .card,
  .section:has(.stats-banner) .grid-2 > .card {
    min-width: 0;
  }

  .section-alt:has(.value-box-icon) .card h4,
  .section-alt:has(.value-box-icon) .card p,
  .section:has(.stats-banner) .grid-2 > .card p {
    overflow-wrap: break-word;
  }
}

@media (max-width: 360px) {
  .section .grid-2:has(.logo-mark .fa-calendar-check) .btn-lg,
  .section:has(.stats-banner) .btn-lg {
    width: 100%;
    justify-content: center;
  }
}
/* ==========================================================================
   FIND A CHEF — RESPONSIVE FIX SHEET
   Load AFTER style.css:
   <link rel="stylesheet" href="../assets/css/find-chef-responsive.css">
   Covers: 320 / 360 / 480 / 768 / 1024 / 1280 / 1536+
   ========================================================================== */

/* ==========================================================================
   0. ROOT BUG FIXES (these caused the overflow in the screenshot)
   ========================================================================== */

/* BUG 1: `.section-alt .hero-main-img-wrap { margin-inline-start: 30px; }`
   in style.css (~line 8361) also hits the "Curated Palettes" cards, so the
   image is 100% wide + 30px offset => it pushes out of the card and creates
   horizontal page scroll. Scope it to the section it was meant for. */
.section-alt .hero-main-img-wrap {
  margin-inline-start: 0;
}

/* BUG 2: hero image wrapper keeps its 560px / hero aspect ratio inside cards. */
.section-alt .card .hero-main-img-wrap,
.specialty-highlights .hero-main-img-wrap {
  max-width: 100%;
  margin-inline: 0;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, .06));
}

/* BUG 3: grid children with long words / images can't shrink below content
   width unless the track is minmax(0, 1fr). */
.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1025px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* BUG 4: nothing may bleed past the viewport. */
main#main-content,
main#main-content section,
main#main-content .container,
main#main-content .card {
  max-width: 100%;
  min-width: 0;
}

main#main-content img,
main#main-content video,
main#main-content iframe {
  max-width: 100%;
  height: auto;
}

/* Long dish names / emails never blow the layout up */
main#main-content h1,
main#main-content h2,
main#main-content h3,
main#main-content h4,
main#main-content p,
main#main-content a {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Fluid type for the section headings on this page */
.section-header h2 {
  font-size: clamp(1.6rem, 1.15rem + 2.2vw, 2.75rem);
  line-height: 1.2;
}

.section-header p {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
}


/* ==========================================================================
   1. SMALL PHONES — 320px to 360px
   ========================================================================== */
@media (max-width: 360px) {
  .container,
  .container-narrow,
  .container-sm {
    padding-inline: 1rem;
  }

  .section {
    padding-block: 2.25rem;
  }

  /* Hero + search */
  .hero-general h1 {
    font-size: clamp(1.75rem, 8vw, 2.1rem) !important;
  }

  .hero-general .lead-text {
    font-size: 0.95rem;
  }

  .filter-search-bar .form-control-lg {
    font-size: 0.95rem;
    padding-block: 0.7rem;
  }

  /* Cuisine pills */
  .cuisine-pill-item {
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
  }

  /* Filter toolbar */
  .filter-toolbar {
    padding: 1rem;
    border-radius: 0.75rem;
  }

  .filter-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Curated Palettes cards */
  .section-alt .card {
    padding: 1.1rem !important;
    border-radius: 0.85rem;
  }

  .section-alt .card h3 {
    font-size: 1.15rem !important;
  }

  .section-alt .card h4 {
    font-size: 1.05rem !important;
  }

  .section-alt .card .btn {
    width: 100%;
    justify-content: center;
  }

  .final-cta-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
  }
}


/* ==========================================================================
   2. PHONES — up to 767px (main mobile layout)
   ========================================================================== */
@media (max-width: 767px) {
  .container,
  .container-narrow,
  .container-sm {
    padding-inline: 1.15rem;
  }

  .section {
    padding-block: clamp(2.5rem, 8vw, 3.5rem);
  }

  /* Kill the inline padding-top:100px on the cuisine section */
  .section-tight[style] {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
  }

  /* ---- Hero & search ---- */
  .hero-general {
    padding-bottom: 2rem !important;
  }

  .hero-general .lead-text {
    margin-bottom: 1.75rem !important;
  }

  .filter-search-bar {
    max-width: 100% !important;
  }

  /* ---- Cuisine strip: edge-to-edge swipe, no clipped first/last pill ---- */
  .cuisine-editorial-strip {
    gap: 0.5rem;
    padding-inline: 1.15rem;
    margin-inline: -1.15rem;
    width: calc(100% + 2.3rem);
    scroll-snap-type: inline proximity;
  }

  .cuisine-pill-item {
    scroll-snap-align: start;
    font-size: 0.85rem;
    padding: 0.55rem 0.95rem;
  }

  /* ---- Filter toolbar: 1 column ---- */
  .filter-toolbar {
    padding: 1.15rem;
    margin-bottom: 2rem;
  }

  .filter-grid-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .form-select,
  .form-control {
    width: 100%;
    font-size: 16px; /* stops iOS Safari auto-zoom on focus */
  }

  .filter-actions {
    justify-content: stretch;
  }

  /* ---- Results header stacks ---- */
  .chef-results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* ---- Chef result cards ---- */
  #chefResultsContainer {
    gap: 1.25rem;
  }

  #chefResultsContainer .chef-card.skeleton {
    min-height: 300px !important;
  }

  .no-results-box {
    padding: 2.5rem 1.25rem;
  }

  /* ==========================================================
     CURATED PALETTES (Specialty Spotlight) — the reported issue
     ========================================================== */
  .section-alt .card {
    padding: 1.25rem !important;
    border-inline-start-width: 4px;
  }

  /* Featured wide card: image first, then text (visual hierarchy on mobile) */
  .section-alt .card > .grid-2 {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem !important;
  }

  .section-alt .card > .grid-2 > .hero-main-img-wrap {
    order: -1;
    aspect-ratio: 16 / 10;
    margin-inline: 0 !important;
    max-width: 100%;
  }

  /* Split grid (Paella + Harvest Bowls) */
  .section-alt .grid-2 {
    gap: 1.25rem;
  }

  .section-alt .card .hero-main-img-wrap {
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem !important;
  }

  .section-alt .card h3 { font-size: 1.3rem !important; }
  .section-alt .card h4 { font-size: 1.15rem !important; }

  .section-alt .card p {
    font-size: 0.92rem !important;
    line-height: 1.6;
  }

  .section-alt .card .btn {
    width: 100%;
    justify-content: center;
  }

  /* ---- Why Home Chefs ---- */
  .why-home-chefs-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 2rem;
  }

  .why-home-chefs-image {
    order: -1;
  }

  .why-home-chefs-image .hero-main-img-wrap {
    max-width: 100%;
    aspect-ratio: 4 / 3;
    margin-inline: 0;
  }

  .why-home-chefs-point {
    gap: 0.9rem;
  }

  .why-home-chefs-point p {
    font-size: 0.92rem;
  }

  .why-home-chefs-content .btn {
    width: 100%;
    justify-content: center;
  }

  /* ---- Final CTA ---- */
  .final-cta-inner {
    text-align: center;
  }

  .final-cta-inner h2 {
    font-size: clamp(1.6rem, 6.5vw, 2.1rem) !important;
  }

  .final-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .final-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ---- Footer ---- */
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* ==========================================================================
   3. LARGE PHONES / SMALL TABLETS — 481px to 767px
   ========================================================================== */
@media (min-width: 481px) and (max-width: 767px) {
  /* Two filters per row fits comfortably from 481px */
  .filter-grid-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .final-cta-actions .btn {
    width: auto;
  }
}


/* ==========================================================================
   4. TABLETS — 768px to 1024px
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .container,
  .container-narrow {
    padding-inline: 2rem;
  }

  .section-tight[style] {
    padding-top: 3rem !important;
  }

  /* Filters: 3 across reads better than 6 squashed */
  .filter-grid-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Chef results: 2 across */
  #chefResultsContainer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  /* Curated Palettes: featured card keeps 2 columns but tighter */
  .section-alt .card {
    padding: 1.75rem !important;
  }

  .section-alt .card > .grid-2 {
    gap: 1.75rem !important;
    align-items: center;
  }

  .section-alt .card > .grid-2 > .hero-main-img-wrap {
    aspect-ratio: 4 / 3;
    max-width: 100%;
    margin-inline: 0 !important;
  }

  /* Split pair stays 2-up; equalise card heights */
  .section-alt .grid-2 > .card {
    display: flex;
    flex-direction: column;
  }

  .section-alt .grid-2 > .card .btn {
    margin-top: auto;
    align-self: flex-start;
  }

  /* Why Home Chefs stacks — the 2-column version gets too cramped here */
  .why-home-chefs-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 2.5rem;
  }

  .why-home-chefs-image .hero-main-img-wrap {
    max-width: 640px;
    margin-inline: auto;
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem;
  }
}


/* ==========================================================================
   5. SMALL LAPTOPS — 1025px to 1280px
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1280px) {
  .container,
  .container-narrow {
    padding-inline: 2.25rem;
  }

  /* 6 filters in one row is tight below 1280 — use 3 x 2 */
  .filter-grid-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #chefResultsContainer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .section-alt .card > .grid-2 {
    gap: 2rem !important;
  }

  .section-alt .card > .grid-2 > .hero-main-img-wrap {
    aspect-ratio: 16 / 10;
    max-width: 100%;
  }

  .why-home-chefs-grid {
    column-gap: 3rem;
  }

  .why-home-chefs-image .hero-main-img-wrap {
    max-width: 100%;
  }
}


/* ==========================================================================
   6. DESKTOP — 1281px and up
   ========================================================================== */
@media (min-width: 1281px) {
  .filter-grid-controls {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #chefResultsContainer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Restore the intended offset only where it belongs */
  .why-home-chefs-image .hero-main-img-wrap {
    margin-inline-start: 30px;
  }

  .section-alt .card > .grid-2 > .hero-main-img-wrap {
    aspect-ratio: 16 / 10;
  }
}


/* ==========================================================================
   7. WIDE SCREENS — 1536px and up
   ========================================================================== */
@media (min-width: 1536px) {
  .section-alt .card {
    padding: 2.5rem !important;
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .why-home-chefs-image .hero-main-img-wrap {
    max-width: 640px;
  }
}


/* ==========================================================================
   8. LANDSCAPE PHONES & TOUCH REFINEMENTS
   ========================================================================== */
@media (max-width: 900px) and (orientation: landscape) {
  .hero-general {
    padding-block: 2.5rem !important;
  }

  .why-home-chefs-image .hero-main-img-wrap {
    aspect-ratio: 21 / 9;
  }
}

@media (hover: none) {
  /* Comfortable tap targets (WCAG 2.5.8) */
  .cuisine-pill-item,
  .filter-actions .btn,
  .section-alt .card .btn,
  .final-cta-actions .btn {
    min-height: 44px;
  }
}
/* ==========================================================================
   ABOUT PAGE — RESPONSIVE FIX SHEET
   Load AFTER style.css:
   <link rel="stylesheet" href="../assets/css/about-responsive.css">
   Covers: 320 / 360 / 480 / 768 / 1024 / 1280 / 1536+
   ========================================================================== */

/* ==========================================================================
   0. ROOT BUG — THIS IS WHAT CAUSED THE SCREENSHOT
   ========================================================================== */

/* `.section-alt .hero-main-img-wrap { margin-inline-start: 30px; }` in
   style.css (~line 8362) was written for a different page, but `#ourStory`
   is also `.section-alt` and also uses `.hero-main-img-wrap`. That rule adds
   30px on top of the image's own `width: 100%`, so the "Our Story" photo
   becomes wider than its grid column and pushes the ENTIRE page into
   horizontal overflow. Everything below it — including "The Guiding
   Principles" heading and paragraph — gets shifted right and clipped at the
   viewport edge, which is exactly the cut-off text in the screenshot. */
#ourStory .hero-main-img-wrap {
  margin-inline-start: 0 !important;
}

/* Belt-and-braces: nothing on this page may ever create horizontal scroll. */
html, body {
  overflow-x: hidden;
}

main#main-content,
main#main-content section,
main#main-content .container,
main#main-content .card {
  max-width: 100%;
  min-width: 0;
}

main#main-content img,
main#main-content video {
  max-width: 100%;
  height: auto;
}

main#main-content h1,
main#main-content h2,
main#main-content h3,
main#main-content h4,
main#main-content p {
  overflow-wrap: anywhere;
}

/* Grid tracks must be able to shrink below their content's natural width */
.grid-2,
.grid-3 {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ==========================================================================
   0b. SECOND BUG — "Foundational Value" badge + heading row
   ========================================================================== */

/* The featured "Authenticity Above All" card wraps the badge and the h3 in
   an inline `display:flex; align-items:center; gap:...` row with NO
   flex-wrap. Flex items default to min-width:auto, so on a narrow phone
   that row refuses to shrink or drop to a new line — the badge and heading
   text just run past the edge of the card and the viewport, which is why
   the heading in the screenshot is sliced to "Authen…" / "Above A…".
   Fix: let that inner row wrap, and let the heading shrink normally. */
.section.section-alt .card[style*="border-inline-start: 5px"] .flex-between > div[style*="max-width: 680px"] > div {
  flex-wrap: wrap;
  row-gap: var(--space-2);
}

.section.section-alt .card[style*="border-inline-start: 5px"] .flex-between > div[style*="max-width: 680px"] h3 {
  min-width: 0;
}

/* Same family of cards (value-box-icon + h4 rows) get the same guard */
.section.section-alt .grid-2 .card > div[style*="align-items: center"] {
  flex-wrap: wrap;
  row-gap: var(--space-2);
}


/* ==========================================================================
   1. SMALL PHONES — up to 360px
   ========================================================================== */
@media (max-width: 360px) {
  .container,
  .container-narrow {
    padding-inline: 1rem;
  }

  .hero-general h1 {
    font-size: clamp(1.7rem, 8vw, 2.1rem) !important;
  }

  .hero-general .lead-text {
    font-size: 0.92rem;
  }

  .btn-group.flex-center {
    flex-direction: column;
    width: 100%;
  }

  .btn-group.flex-center .btn {
    width: 100%;
    justify-content: center;
  }

  #ourStory h2 {
    font-size: clamp(1.6rem, 7vw, 2rem) !important;
  }

  .section.section-alt .card[style*="border-inline-start: 5px"] {
    padding: var(--space-5) !important;
  }

  .section.section-alt .card[style*="border-inline-start: 5px"] h3 {
    font-size: 1.2rem !important;
  }

  .value-box-icon {
    width: 46px !important;
    height: 46px !important;
  }
}


/* ==========================================================================
   2. PHONES — up to 767px
   ========================================================================== */
@media (max-width: 767px) {
  .section {
    padding-block: clamp(2.5rem, 8vw, 3.5rem);
  }

  /* ---- Hero ---- */
  .hero-general .btn-group {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .hero-general .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* ---- Our Story ---- */
  #ourStory .grid-2 {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: var(--space-6);
  }

  #ourStory .hero-main-img-wrap {
    order: -1;
    aspect-ratio: 4 / 3 !important;
  }

  #ourStory .grid-2 > div:first-child {
    padding-inline-start: var(--space-3);
  }

  /* ---- Our Core Mission (pillar cards) ---- */
  .grid-3 .card {
    padding: var(--space-6);
  }

  .grid-3 .card h4 {
    max-width: 100% !important;
  }

  .grid-3 .card p {
    max-width: 100% !important;
  }

  /* ---- The Guiding Principles ---- */
  .section-header p {
    font-size: 0.95rem;
  }

  /* Featured "Authenticity Above All" card */
  .section.section-alt .card[style*="border-inline-start: 5px"] {
    padding: var(--space-6) !important;
  }

  .section.section-alt .card[style*="border-inline-start: 5px"] .flex-between {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .section.section-alt .card[style*="border-inline-start: 5px"] div[style*="max-width: 680px"] {
    max-width: 100% !important;
  }

  .section.section-alt .card[style*="border-inline-start: 5px"] .logo-mark {
    align-self: flex-start;
  }

  .section.section-alt .card[style*="border-inline-start: 5px"] h3 {
    font-size: 1.35rem !important;
  }

  /* Value split rows (2&3, 4&5) */
  .section.section-alt .grid-2 .card {
    padding: var(--space-5);
  }

  .section.section-alt .grid-2 .card h4 {
    font-size: 1.05rem !important;
  }

  .section.section-alt .grid-2 .card p {
    font-size: 0.9rem !important;
  }
}


/* ==========================================================================
   3. LARGE PHONES / SMALL TABLETS — 481px to 767px
   ========================================================================== */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-general .btn-group {
    flex-direction: row;
    width: auto;
  }

  .hero-general .btn-group .btn {
    width: auto;
  }

  .section.section-alt .card[style*="border-inline-start: 5px"] .flex-between {
    flex-direction: row;
    align-items: center !important;
  }
}


/* ==========================================================================
   4. TABLETS — 768px to 1024px
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .container,
  .container-narrow {
    padding-inline: 2rem;
  }

  #ourStory .grid-2 {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 3rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section.section-alt .card[style*="border-inline-start: 5px"] {
    padding: var(--space-7) !important;
  }

  .section.section-alt .grid-2 .card {
    display: flex;
    flex-direction: column;
  }
}


/* ==========================================================================
   5. SMALL LAPTOPS — 1025px to 1280px
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1280px) {
  .container,
  .container-narrow {
    padding-inline: 2.25rem;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* ==========================================================================
   6. DESKTOP — 1281px and up
   ========================================================================== */
@media (min-width: 1281px) {
  /* Restore the 30px offset ONLY where the design intended it — none of
     the About page sections asked for it, so nothing to restore here. */
}


/* ==========================================================================
   7. WIDE SCREENS — 1536px+
   ========================================================================== */
@media (min-width: 1536px) {
  .about-hero-text h1,
  .hero-general h1 {
    font-size: clamp(3.6rem, 5vw, 5.5rem);
  }

  .section-header h2 {
    font-size: 3rem;
  }
}


/* ==========================================================================
   8. TOUCH / TAP TARGETS
   ========================================================================== */
@media (hover: none) {
  .hero-general .btn-group .btn,
  .section.section-alt .card .btn {
    min-height: 44px;
  }
}

/* ==========================================================================
   ==========================================================================
   FINAL FIX — IMAGE SIZING INSIDE ASPECT-RATIO WRAPPERS
   ==========================================================================

   THE BUG
   -------
   Two late rules in this file force every image inside the page back to its
   natural height:

       main#main-content img,
       main#main-content video,
       main#main-content iframe { max-width: 100%; height: auto; }

   `main#main-content img` has an ID in it, so its specificity is (1,0,1).
   The rules that actually size the photos —

       .chef-card-image-wrap img { height: 100%; }   -> (0,2,0)
       .hero-main-img-wrap img   { height: 100%; }   -> (0,2,0)

   — are class-only, specificity (0,2,0), which LOSES to (1,0,1).

   Result: `height: 100%` is thrown away, the <img> falls back to its own
   natural height, and the wrapper (which still has `aspect-ratio: 4/3`)
   is left taller or shorter than the photo. The wrapper's background
   (`var(--color-soft-accent)`) shows through as the empty cream / white
   strip, and the photo itself is cropped at the wrong point — exactly what
   the screenshots show.

   THE FIX
   -------
   Re-declare the sizing with specificity that beats (1,0,1), by scoping the
   same selectors under `main#main-content` (-> 1,1,1 / 1,2,1). The
   unscoped copies are kept for images that live outside <main> (header,
   footer, sidebars) where the buggy rule never applied anyway.

   No HTML changes needed. This block must stay LAST in the file.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. RE-ARM THE BROKEN RESET
   Let `height: auto` stay the default for loose images, but stop it from
   leaking into images that are supposed to fill a sized box.
   -------------------------------------------------------------------------- */
main#main-content img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   2. CHEF CARD PHOTOS  (Screenshot 1 — "Marcus's Heritage Table")
   Wrapper is 4/3. The photo must fill it completely, no background gaps.
   -------------------------------------------------------------------------- */
.chef-card-image-wrap,
main#main-content .chef-card-image-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-soft-accent);
  /* Stops the 1px sub-pixel seam some browsers draw under a cover image */
  line-height: 0;
  font-size: 0;
}

.chef-card-image-wrap > img,
main#main-content .chef-card-image-wrap > img {
  display: block;

  /* The four lines that were being overridden */
  width: 100%;
  height: 100%;
  max-width: none;   /* `max-width:100%` + a scale() hover can letterbox */
  min-height: 100%;

  object-fit: cover;

  /* Chef photos are portraits — bias the crop upward so the face and the
     chef's hat stay in frame instead of being sliced off at the top. */
  object-position: center 22%;

  transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.chef-card:hover .chef-card-image-wrap > img,
main#main-content .chef-card:hover .chef-card-image-wrap > img {
  transform: scale(1.06);
}


/* --------------------------------------------------------------------------
   3. HERO / SECTION / STORY IMAGES  (Screenshot 2 — the orange block with
   the empty white strip underneath it)
   Same override, applied to every `.hero-main-img-wrap` variant in the file.
   -------------------------------------------------------------------------- */
.hero-main-img-wrap,
main#main-content .hero-main-img-wrap,
.why-home-chefs-image .hero-main-img-wrap,
main#main-content .why-home-chefs-image .hero-main-img-wrap,
.story-featured-box .hero-main-img-wrap,
main#main-content .story-featured-box .hero-main-img-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

.hero-main-img-wrap > img,
main#main-content .hero-main-img-wrap > img,
.why-home-chefs-image img,
main#main-content .why-home-chefs-image img,
.story-featured-box .hero-main-img-wrap > img,
main#main-content .story-featured-box .hero-main-img-wrap > img,
#ourStory .hero-main-img-wrap > img,
main#main-content #ourStory .hero-main-img-wrap > img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 100%;

  object-fit: cover;
  object-position: center;
}


/* --------------------------------------------------------------------------
   4. AVATARS — fixed square boxes, image must fill and stay circular
   -------------------------------------------------------------------------- */
.chef-avatar-wrapper,
main#main-content .chef-avatar-wrapper,
.user-avatar,
main#main-content .user-avatar,
.testimonial-avatar,
main#main-content .testimonial-avatar {
  overflow: hidden;
  flex-shrink: 0;
}

.chef-avatar-wrapper > img,
main#main-content .chef-avatar-wrapper > img,
.user-avatar > img,
main#main-content .user-avatar > img,
.testimonial-avatar > img,
main#main-content .testimonial-avatar > img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;

  object-fit: cover;
  object-position: center 25%;

  border-radius: inherit;
}


/* --------------------------------------------------------------------------
   5. GENERIC SAFETY NET
   Any image dropped straight into a wrapper that has its own aspect-ratio
   should fill that wrapper rather than fall back to `height: auto`.
   -------------------------------------------------------------------------- */
[class*="-img-wrap"] > img,
[class*="-image-wrap"] > img,
main#main-content [class*="-img-wrap"] > img,
main#main-content [class*="-image-wrap"] > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   6. RESPONSIVE — keep the ratios sane on small screens
   The override has to be repeated inside the media queries, because the
   original `height: auto` rules are also repeated there.
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  main#main-content .chef-card-image-wrap > img,
  main#main-content .hero-main-img-wrap > img,
  main#main-content .why-home-chefs-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }
}

@media (max-width: 767px) {
  .chef-card-image-wrap,
  main#main-content .chef-card-image-wrap {
    /* Slightly shorter card photo on phones so the text isn't pushed down */
    aspect-ratio: 16 / 10;
  }

  main#main-content .chef-card-image-wrap > img,
  main#main-content .hero-main-img-wrap > img,
  main#main-content .why-home-chefs-image img,
  main#main-content [class*="-img-wrap"] > img,
  main#main-content [class*="-image-wrap"] > img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  main#main-content .chef-card-image-wrap > img,
  main#main-content .hero-main-img-wrap > img,
  main#main-content .why-home-chefs-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }
}


/* --------------------------------------------------------------------------
   7. REDUCED MOTION — the hover zoom is decorative
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .chef-card-image-wrap > img,
  main#main-content .chef-card-image-wrap > img,
  .hero-main-img-wrap > img,
  main#main-content .hero-main-img-wrap > img {
    transition: none;
  }

  .chef-card:hover .chef-card-image-wrap > img,
  main#main-content .chef-card:hover .chef-card-image-wrap > img {
    transform: none;
  }
}

/* ========================= END IMAGE SIZING FIX ========================== */


/* ==========================================================================
   ==========================================================================
   HOW IT WORKS — STEP 02 OVERFLOW FIX
   ==========================================================================

   WHAT THE SCREENSHOT SHOWS
   -------------------------
   Two elements in "Step 02 - Transparency" run off the right edge of the
   phone screen:

     1. The "View Sample Chef Profile & Menu" button
     2. The food photo below it

   CAUSE 1 - THE PHOTO
   -------------------
   how-it-works.html line ~385 puts an inline style on the image wrapper:

       <div class="hero-main-img-wrap" style="... transform: translateX(30px);">

   That 30px nudge is a desktop flourish. The wrapper is already `width: 100%`
   of its grid column, so shifting it 30px to the right pushes it 30px past
   the container on every screen. On desktop the page gutter absorbs it; on a
   phone there is no slack left, so the image is clipped by the viewport.

   CAUSE 2 - THE BUTTON
   --------------------
   `.btn` sets `white-space: nowrap` (style.css line ~250). "View Sample Chef
   Profile & Menu" plus the arrow icon is wider than a phone column, and
   nowrap forbids it from breaking, so the button box itself grows past the
   card. `main#main-content a { overflow-wrap: anywhere; }` cannot help here
   because nowrap wins - the text is never allowed to look for a break point.

   THE FIX
   -------
   Both overrides are scoped to tablet and below, so the desktop layout is
   byte-for-byte unchanged. `transform` needs `!important` because it is
   fighting an inline style attribute, which no selector can outrank.

   No HTML changes. This block must stay LAST in the file.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. CANCEL THE 30px NUDGE BELOW DESKTOP
   Targets only wrappers that actually carry the inline translate, so no
   other image on the site is touched.
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-main-img-wrap[style*="translateX"],
  main#main-content .hero-main-img-wrap[style*="translateX"] {
    transform: none !important;
    margin-inline: 0 !important;
    max-width: 100% !important;
  }
}


/* --------------------------------------------------------------------------
   2. LET LONG BUTTON LABELS WRAP ON PHONES
   `nowrap` stays in force on desktop, where there is room for one line.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  main#main-content .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    overflow-wrap: break-word;
    line-height: 1.35;
    /* Vertical padding instead of a fixed height, so a 2-line label
       still sits centred inside the button */
    padding-block: 0.7rem;
    height: auto;
  }

  /* The trailing arrow should never be orphaned onto its own line */
  main#main-content .btn > i {
    flex: 0 0 auto;
  }
}


/* --------------------------------------------------------------------------
   3. SAME 30px BUG, SAME PAGE — DELIVERY TRACKER + CALLOUT
   `.delivery-tracker-card` and `.delivery-callout` are given
   `width: calc(100% - 30px); margin-inline-start: 30px;` further up this
   file. That is the identical desktop offset and it clips the same way
   further down the How It Works page. Reset below desktop only.
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .delivery-tracker-card,
  .delivery-callout,
  main#main-content .delivery-tracker-card,
  main#main-content .delivery-callout {
    width: 100%;
    margin-inline-start: 0;
    margin-inline-end: 0;
  }
}

/* ==================== END HOW IT WORKS OVERFLOW FIX ====================== */


/* ==========================================================================
   ==========================================================================
   JOIN AS CHEF — FULL RESPONSIVE LAYER
   320 / 360 / 480 / 768 / 1024 / 1280 / 1536+
   ==========================================================================

   WHAT THE SCREENSHOT SHOWS
   -------------------------
   In the hero, the heading runs to the screen edge and the paragraph is
   sliced mid-word ("build lastin..."). The orange CTA also bleeds past the
   right edge while the outlined button below it sits correctly inside the
   gutters.

   THE CAUSE (one bug, three symptoms)
   -----------------------------------
   `.btn` sets `white-space: nowrap`, so "Start Your Chef Application" plus
   its arrow can never break. At `.btn-lg` sizing that label is roughly
   300px wide.

   That button lives in the hero's left column, which is a grid item. Grid
   items default to `min-width: auto`, meaning they refuse to shrink below
   their min-content width - and min-content here is set by the unbreakable
   button. So the whole column becomes ~300px+ on a 310px screen.

   Making it worse, `@media (max-width: 860px)` adds `justify-items: center`
   to `.hero-grid`. A centred grid item is sized fit-content rather than
   stretched, so it settles at that min-content width and overhangs the
   column on BOTH sides. The heading and paragraph then wrap to that too-wide
   box, and the last line of each is what gets cut off at the viewport.

   Nothing is wrong with the text itself - it is wrapping correctly, just to
   a box wider than the phone.

   THE FIX
   -------
   Three lines do the real work: let the grid children shrink (`min-width: 0`),
   let long button labels wrap below 768px, and make the hero buttons full
   width so they stop driving the column size. The rest of this block is the
   device-by-device pass requested for the remaining sections.

   No HTML changes. Desktop rendering is unchanged.
   This block must stay LAST in the file.
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. THE ROOT FIX — grid children must be allowed to shrink
   Unconditional: an item that cannot shrink is never correct.
   -------------------------------------------------------------------------- */
main#main-content .hero-grid > *,
main#main-content .grid-2 > *,
main#main-content .grid-3 > *,
main#main-content .story-featured-box > * {
  min-width: 0;
  max-width: 100%;
}

/* The requirements card uses an inline `minmax(240px, 1fr)` auto-fit grid.
   Inside a padded card on a 320px phone there is nowhere near 240px left,
   so the track overflows. `min()` lets it collapse gracefully. */
main#main-content [style*="minmax(240px"] {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)) !important;
}


/* --------------------------------------------------------------------------
   1. PHONES & SMALL TABLETS — up to 900px
   Stack the hero before the two fluid columns run out of room. 900px rather
   than 860px because a later `@media (min-width: 768px)` rule in this file
   re-declares `.hero-grid` as two columns; `.hero-general .hero-grid` has the
   higher specificity needed to beat it.
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-general .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: var(--space-8);
    /* Inline `transform: translateY(-35px)` pulls the hero under the sticky
       header once the layout stacks. */
    transform: none !important;
  }

  .hero-general .hero-grid > * {
    width: 100%;
    justify-self: stretch;
  }

  .hero-general .hero-main-img-wrap {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }
}


/* --------------------------------------------------------------------------
   2. PHONES — up to 767px
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {

  /* ---- Hero ---- */
  .hero-general .hero-grid h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem) !important;
    line-height: 1.12;
  }

  .hero-general .hero-grid .lead-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  /* Buttons stop dictating the column width */
  .hero-general .btn-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: var(--space-3);
  }

  .hero-general .btn-group .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .hero-general .hero-main-img-wrap {
    aspect-ratio: 4 / 3 !important;
  }

  /* ---- Section 2: why become a home chef ---- */
  main#main-content .card[style*="border-inline-start: 4px"] {
    padding: var(--space-5) !important;
  }

  /* ---- Section 3: onboarding roadmap ---- */
  .roadmap-step-box {
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .roadmap-number {
    font-size: var(--text-xl);
    line-height: 1.1;
  }

  /* ---- Section 4: comfort cards + image ---- */
  main#main-content .card[style*="padding: var(--space-5)"] {
    padding: var(--space-4) !important;
  }

  /* ---- Section 5: requirements card ---- */
  main#main-content .card[style*="padding: var(--space-8)"] {
    padding: var(--space-5) !important;
  }

  /* ---- Section 6: chef spotlight ----
     `.story-featured-box .hero-main-img-wrap` carries `min-height: 500px`,
     which is half a phone screen of photo before any text appears. */
  .story-featured-box .hero-main-img-wrap {
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
  }

  .story-featured-box .story-quote {
    font-size: 1.05rem;
    padding-inline-start: var(--space-4);
    margin-block: var(--space-4);
  }

  /* ---- Section 7: application form ---- */
  main#main-content form .grid-2 {
    gap: var(--space-3) !important;
  }
}


/* --------------------------------------------------------------------------
   3. SMALL PHONES — up to 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-general .hero-grid h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem) !important;
  }

  .hero-general .kicker {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .roadmap-step-box {
    flex-direction: column;
    gap: var(--space-2);
  }

  .story-featured-box {
    padding: var(--space-4) !important;
  }

  .story-featured-box h3 {
    font-size: 1.5rem !important;
  }
}


/* --------------------------------------------------------------------------
   4. VERY SMALL PHONES — up to 360px
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .hero-general .hero-grid h1 {
    font-size: clamp(1.6rem, 8.5vw, 2rem) !important;
  }

  main#main-content .card[style*="padding: var(--space-8)"],
  main#main-content .card[style*="border-inline-start: 4px"] {
    padding: var(--space-4) !important;
  }

  /* Icon + text rows in section 4 stay side by side but tighten up */
  main#main-content .logo-mark[style*="32px"] {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 0.75rem !important;
  }
}


/* --------------------------------------------------------------------------
   5. TABLETS — 768px to 1023px
   Hero stays stacked (rule 1 covers it); the supporting grids go two-up.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-general .hero-main-img-wrap {
    max-width: 620px;
    margin-inline: auto;
  }

  .hero-general .btn-group {
    justify-content: flex-start;
  }

  .story-featured-box .hero-main-img-wrap {
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
  }

  main#main-content .card[style*="padding: var(--space-8)"] {
    padding: var(--space-6) !important;
  }
}


/* --------------------------------------------------------------------------
   6. SMALL LAPTOPS — 1024px to 1280px
   Two-column hero returns here, where the CTA fits on one line again.
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) and (max-width: 1280px) {
  .hero-general .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }

  .story-featured-box .hero-main-img-wrap {
    min-height: 420px;
  }
}


/* --------------------------------------------------------------------------
   7. DESKTOP — 1281px and up
   Nothing to correct; the original design applies unchanged.
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   8. WIDE SCREENS — 1536px and up
   -------------------------------------------------------------------------- */
@media (min-width: 1536px) {
  .hero-general .hero-main-img-wrap {
    max-width: 640px;
    margin-inline-start: auto;
  }
}


/* --------------------------------------------------------------------------
   9. LANDSCAPE PHONES
   -------------------------------------------------------------------------- */
@media (max-width: 900px) and (orientation: landscape) {
  .hero-general {
    padding-block: 3rem !important;
  }

  .hero-general .hero-main-img-wrap {
    aspect-ratio: 21 / 9 !important;
  }
}


/* --------------------------------------------------------------------------
   10. TOUCH TARGETS (WCAG 2.5.8)
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .hero-general .btn-group .btn,
  .roadmap-step-box .btn,
  main#main-content form .btn {
    min-height: 44px;
  }
}
/* ==========================================================================
   FIX — RESPONSIVE STICKY NAVBAR ONLY
   Do not change navbar design/layout
   ========================================================================== */

@media (max-width: 1280px) {
  html,
  body {
    overflow-x: clip;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
  }
}

/* Large Desktop (1025px and up): `html, body { overflow-x: hidden; }`
   defined further down (About page fix sheet) is only overridden back to
   `overflow-x: clip` for widths up to 1280px above, so above that the
   `hidden` value forces `overflow-y` to a used value of `auto`, which turns
   `<body>` into a scroll container and breaks `.site-header`'s
   `position: sticky`. Re-applying `clip` here (same visual clipping, no
   scroll container) closes that gap for true desktop widths without
   touching anything else about the navbar or page. */
@media (min-width: 1025px) {
  html,
  body {
    overflow-x: clip;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
  }
}

/* ==========================================================================
   USER AVATAR — DARK MODE VISIBILITY ONLY
   ========================================================================== */

[data-theme="dark"] .user-avatar {
  background-color: #E9A413;
  color: #1F1F1F;
  border-color: #E9A413;
}
/* ==========================================================================
   SECTION 7 — FINAL CTA DARK MODE TEXT VISIBILITY ONLY
   ========================================================================== */

[data-theme="dark"] .section-accent .kicker {
  color: #FCC724;
}

[data-theme="dark"] .section-accent h2 {
  color: #FDFEAD;
}

[data-theme="dark"] .section-accent .lead-text {
  color: #FDFBD5;
}

[data-theme="dark"] .section-accent .btn-primary {
  color: #1F1F1F;
}

[data-theme="dark"] .section-accent .btn-dark {
  background-color: #FDFEAD;
  color: #1F1F1F;
  border-color: #FDFEAD;
}
/* ==========================================================================
   MOBILE — REGISTER BRAND + BACK TO WEBSITE
   320px — 767px
   ========================================================================== */

@media (max-width: 767px) {

  .register-brand {
    gap: 0.5rem;
  }

  .register-brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .register-brand-mark i {
    font-size: 0.9rem;
  }

  .register-brand-text strong {
    font-size: 1rem;
    line-height: 1.05;
  }

  .register-brand-text small {
    font-size: 0.62rem;
    line-height: 1.15;
  }

  .login-website-link {
    font-size: 0.72rem;
    line-height: 1.15;
    gap: 0.35rem;
    padding: 0.55rem 0.7rem;
  }

  .login-website-link i {
    font-size: 0.65rem;
  }

}
/* ==========================================================================
   EXTRA SMALL MOBILE — 320px to 360px
   ========================================================================== */

@media (max-width: 360px) {

  .register-brand {
    gap: 0.35rem;
  }

  .register-brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .register-brand-mark i {
    font-size: 0.75rem;
  }

  .register-brand-text strong {
    font-size: 0.85rem;
    line-height: 1.05;
  }

  .register-brand-text small {
    font-size: 0.55rem;
    line-height: 1.1;
  }

  .login-website-link {
    font-size: 0.64rem;
    gap: 0.25rem;
    padding: 0.45rem 0.55rem;
  }

  .login-website-link i {
    font-size: 0.55rem;
  }

}
@media (max-width: 768px) {

  .register-brand {
    gap: 0.35rem;
  }

  .register-brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .register-brand-mark i {
    font-size: 0.75rem;
  }

  .register-brand-text strong {
    font-size: 0.85rem;
    line-height: 1.05;
  }

  .register-brand-text small {
    font-size: 0.55rem;
    line-height: 1.1;
  }

  .login-website-link {
    font-size: 0.64rem;
    gap: 0.25rem;
    padding: 0.45rem 0.55rem;
  }

  .login-website-link i {
    font-size: 0.55rem;
  }

}
/* ==========================================================================
   DASHBOARD NAVBAR — ISOLATED STYLE
   Only affects #siteHeader
   ========================================================================== */

#siteHeader {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

#siteHeader .navbar-container {
  width: 100%;
  min-height: 76px;
  padding: 0 2rem;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   LOGO
   ========================================================================== */

#siteHeader .site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  flex-shrink: 0;
  min-width: 0;

  text-decoration: none;
  visibility: visible;
  opacity: 1;
}

#siteHeader .site-logo .logo-mark {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

#siteHeader .site-logo .logo-mark i {
  font-size: 1rem;
}

#siteHeader .site-logo .logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
}

#siteHeader .site-logo .brand-name {
  display: block;

  font-size: 1.15rem;
  line-height: 1.1;
  white-space: nowrap;
}

#siteHeader .site-logo .brand-tagline {
  display: block;

  font-size: 0.65rem;
  line-height: 1.2;
  white-space: nowrap;
}


/* ==========================================================================
   UTILITY ICONS
   ========================================================================== */

#siteHeader .nav-utilities {
  margin-left: auto;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 0.75rem;
  flex-shrink: 0;
}

#siteHeader .nav-utilities .btn-icon {
  width: 42px;
  height: 42px;

  padding: 0;
  margin: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid transparent;
  border-radius: 50%;

  background: transparent;
  color: var(--color-primary, #CD8B09);

  text-decoration: none;
  cursor: pointer;

  flex-shrink: 0;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#siteHeader .nav-utilities .btn-icon i {
  font-size: 0.95rem;
  line-height: 1;
}

#siteHeader .nav-utilities .btn-icon:hover {
  background-color: rgba(233, 164, 19, 0.10);
  border-color: rgba(205, 139, 9, 0.20);
}

#siteHeader .nav-utilities .btn-icon:active {
  transform: scale(0.96);
}


/* ==========================================================================
   MOBILE — 320px TO 767px
   ========================================================================== */

@media (max-width: 767px) {

  #siteHeader .navbar-container {
    min-height: 64px;
    padding: 0 0.75rem;

    gap: 0.5rem;
  }

  /* Logo */

  #siteHeader .site-logo {
    gap: 0.45rem;
    min-width: 0;
  }

  #siteHeader .site-logo .logo-mark {
    width: 30px;
    height: 30px;
  }

  #siteHeader .site-logo .logo-mark i {
    font-size: 0.85rem;
  }

  #siteHeader .site-logo .logo-text {
    min-width: 0;
  }

  #siteHeader .site-logo .brand-name {
    font-size: 0.95rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  #siteHeader .site-logo .brand-tagline {
    font-size: 0.58rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  /* Utility Icons */

  #siteHeader .nav-utilities {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  #siteHeader .nav-utilities .btn-icon {
    width: 34px;
    height: 34px;
  }

  #siteHeader .nav-utilities .btn-icon i {
    font-size: 0.82rem;
  }
}


/* ==========================================================================
   EXTRA SMALL MOBILE — 320px TO 380px
   ========================================================================== */

@media (max-width: 380px) {

  #siteHeader .navbar-container {
    padding: 0 0.6rem;
  }

  /* Logo */

  #siteHeader .site-logo {
    gap: 0.35rem;
  }

  #siteHeader .site-logo .logo-mark {
    width: 28px;
    height: 28px;
  }

  #siteHeader .site-logo .logo-mark i {
    font-size: 0.78rem;
  }

  #siteHeader .site-logo .brand-name {
    font-size: 0.88rem;
  }

  #siteHeader .site-logo .brand-tagline {
    font-size: 0.52rem;
  }

  /* Utility Icons */

  #siteHeader .nav-utilities {
    gap: 0.35rem;
  }

  #siteHeader .nav-utilities .btn-icon {
    width: 32px;
    height: 32px;
  }

  #siteHeader .nav-utilities .btn-icon i {
    font-size: 0.76rem;
  }
}
@media (max-width: 767px) {
  #siteHeader .nav-utilities {
    gap: 0;
  }

  #siteHeader .nav-utilities .btn-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 380px) {
  #siteHeader .nav-utilities {
    gap: 0;
  }

  #siteHeader .nav-utilities .btn-icon {
    width: 30px;
    height: 30px;
  }
}
/* ==========================================================================
   LOGIN PAGE — TOP ROW
   Brand + Theme / RTL Utilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   Desktop
   -------------------------------------------------------------------------- */

.login-form-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.login-form-top .register-brand {
  flex: 0 1 auto;
  min-width: 0;
}

.login-form-top .login-page-utilities {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;

  /* Keep the existing Theme ↔ RTL spacing unchanged */
}


/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .login-form-top {
    gap: 0.85rem;
  }
}


/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .login-form-top {
    gap: 0.65rem;
  }
}


/* --------------------------------------------------------------------------
   Very Small Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .login-form-top {
    gap: 0.4rem;
  }
}
.login-form-top .login-page-utilities {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;

  /* Move the utility group slightly upward */
  position: relative;
  top: -1.3rem;
}
.login-form-top .login-page-utilities .btn-icon {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #E9A413;
}
.login-form-top .login-page-utilities {
  gap: 1rem;
}
.login-form-top .login-page-utilities {
  margin-right: 1rem;
}
/* ===================== END JOIN AS CHEF RESPONSIVE ======================= */