:root {
  --primary: #f78021;
  --primary-dark: #dc5e08;
  --primary-soft: #fff2e8;

  --secondary: #4caf50;

  --text: #1c2434;
  --muted: #667085;

  --surface: #ffffff;
  --background: #f7f8fa;
  --border: #e6e8ec;

  --danger: #e5484d;
  --success: #1f9d55;

  --shadow-sm: 0 8px 24px rgba(28, 36, 52, 0.07);
  --shadow-md: 0 18px 45px rgba(28, 36, 52, 0.11);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

/* ===========================
   GLOBAL RESET
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.food {
  color: var(--primary);
}

.connect {
  color: var(--secondary);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(230, 232, 236, 0.85);

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

.header-container {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.brand > img {
    width: 90px;
    height: 85px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.brand-copy h1 {
    margin: 0;
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.8px;

}

.welcome-text {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    color: #6b7280;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* DESKTOP NAVIGATION */

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;

  color: #475467;

  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;

  height: 2px;

  border-radius: 999px;
  background: var(--primary);

  transition: right 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--text);
}

.desktop-nav a:hover::after {
  right: 0;
}

/* HEADER ICONS */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 43px;
  height: 43px;

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

  border: 1px solid var(--border);
  border-radius: 13px;

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

  text-decoration: none;
  cursor: pointer;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.icon-button:hover,
.icon-button.active {
  color: var(--primary);

  border-color: #ffd4b5;
  background: var(--primary-soft);

  transform: translateY(-1px);
}

/* ===========================
   ACCOUNT DROPDOWN
=========================== */

.account-wrapper {
  position: relative;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: 54px;

  width: 230px;
  padding: 14px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--surface);
  box-shadow: var(--shadow-md);

  opacity: 0;
  visibility: hidden;

  transform: translateY(8px);

  pointer-events: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.account-wrapper.open .account-dropdown {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);

  pointer-events: auto;
}

.account-heading {
  display: flex;
  align-items: center;
  gap: 11px;

  margin-bottom: 10px;
  padding: 4px 4px 12px;

  border-bottom: 1px solid var(--border);
}

.account-avatar {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 50%;

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

.account-heading small {
  display: block;

  color: var(--muted);

  font-size: 10px;
}

.account-heading p {
  max-width: 145px;
  overflow: hidden;

  color: var(--text);

  font-size: 13px;
  font-weight: 700;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-dropdown button {
  width: 100%;

  margin-top: 7px;
  padding: 11px 13px;

  border-radius: 11px;

  background: #f3f4f6;
  color: var(--text);

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.account-dropdown button:hover {
  transform: translateY(-1px);
}

.account-dropdown button:active {
  transform: translateY(0);
}

.account-dropdown .primary-dropdown-btn {
  background: var(--primary);
  color: white;
}

.account-dropdown .danger-dropdown-btn {
  background: #fff0f0;
  color: var(--danger);
}

/* ===========================
   GENERAL LAYOUT
=========================== */

.section {
  padding: 82px 0;
}

.section-container,
.hero-container,
.footer-container {
  width: min(100% - clamp(28px, 6vw, 64px), 1280px);
  margin-inline: auto;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;

  margin-bottom: 30px;
}

.section-heading h2,
.center-heading h2,
.partner-card h2 {
  color: var(--text);

  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.section-kicker {
  display: block;

  margin-bottom: 7px;

  color: var(--primary-dark);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;

  text-transform: uppercase;
}

.section-link {
  color: var(--primary-dark);

  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.section-link i {
  margin-left: 5px;

  transition: transform 0.2s ease;
}

.section-link:hover i {
  transform: translateX(4px);
}

/* ===========================
   HERO
=========================== */

.hero {
  position: relative;

  overflow: hidden;

  padding: 72px 0 88px;

  background:
    radial-gradient(
      circle at 85% 18%,
      rgba(247, 128, 33, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 73% 75%,
      rgba(76, 175, 80, 0.13),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      #fffaf5 0%,
      #ffffff 58%,
      #f6fff7 100%
    );

  border-bottom: 1px solid var(--border);
}

.hero::after {
  content: "";

  position: absolute;
  right: -120px;
  bottom: -180px;

  width: 430px;
  height: 430px;

  border: 70px solid rgba(247, 128, 33, 0.045);
  border-radius: 50%;
}

.hero-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: center;
  gap: clamp(36px, 6vw, 70px);
}

/* HERO CONTENT */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 18px;
  padding: 8px 13px;

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

  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-dark);

  font-size: 12px;
  font-weight: 700;
}

.hero-content h2 {
  max-width: 690px;
  font-size: clamp(2.1rem, 5.2vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: clamp(-2px, -0.12vw, -1px);
}

.hero-content h2 .hero-brand {
  display: inline;
}

.hero-content h2 .food {
  color: var(--primary);
}

.hero-content h2 .connect {
  color: var(--secondary);
}

.hero-content > p {
  max-width: 650px;

  margin-top: 22px;

  color: var(--muted);

  font-size: 17px;
}

/* HERO SEARCH */

.hero-search {
  max-width: 650px;

  margin-top: 31px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;

  padding: 8px 8px 8px 18px;

  border: 1px solid var(--border);
  border-radius: 18px;

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

.hero-search > i {
  color: #98a2b3;
}

.hero-search input {
  min-width: 0;

  padding: 10px 0;

  border: none;
  outline: none;

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

  font-size: 14px;
}

.hero-search input::placeholder {
  color: #98a2b3;
}

.hero-search button {
  padding: 13px 22px;

  border-radius: 12px;

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

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hero-search button:hover {
  background: var(--primary-dark);

  transform: translateY(-1px);
}

/* HERO HIGHLIGHTS */

.hero-highlights {
  margin-top: 22px;

  display: flex;
  flex-wrap: wrap;
  gap: 16px;

  color: #475467;

  font-size: 12px;
  font-weight: 600;
}

.hero-highlights i {
  width: 18px;
  height: 18px;

  margin-right: 4px;

  display: inline-grid;
  place-items: center;

  border-radius: 50%;

  background: #eaf8ee;
  color: var(--success);

  font-size: 9px;
}

/* HERO VISUAL */

.hero-visual {
  position: relative;

  min-height: 440px;

  display: grid;
  place-items: center;
}

.visual-card-main {
  width: min(100%, 390px);

  padding: 25px;

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);

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

  box-shadow: 0 32px 70px rgba(41, 50, 65, 0.16);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transform: rotate(-2deg);
}

.visual-badge {
  display: inline-block;

  padding: 7px 11px;

  border-radius: 999px;

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

  font-size: 11px;
  font-weight: 800;
}

.food-illustration {
  min-height: 220px;

  margin: 20px 0;

  display: grid;
  place-items: center;

  border-radius: 22px;

  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.9),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #ffe1c8,
      #fff2e5
    );

  font-size: 118px;

  filter: drop-shadow(
    0 18px 22px rgba(108, 65, 24, 0.15)
  );
}

.visual-card-main strong {
  font-size: 18px;
}

.visual-card-main p {
  margin-top: 4px;

  color: var(--muted);

  font-size: 12px;
}

/* OPTIONAL FLOATING CHIPS */

.floating-chip {
  position: absolute;

  min-width: 190px;

  display: flex;
  align-items: center;
  gap: 11px;

  padding: 13px 15px;

  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;

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

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

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

.floating-chip > span {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background: #fff5eb;

  font-size: 25px;
}

.floating-chip strong,
.floating-chip small {
  display: block;
}

.floating-chip strong {
  font-size: 13px;
}

.floating-chip small {
  color: var(--muted);
  font-size: 10px;
}

.chip-one {
  top: 44px;
  right: -6px;
}

.chip-two {
  left: -25px;
  bottom: 52px;
}

/* ===========================
   CATEGORIES
=========================== */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: clamp(12px, 2vw, 16px);
}

.category-card {
  min-height: 142px;

  padding: 20px 13px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

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

  box-shadow: 0 5px 18px rgba(28, 36, 52, 0.035);

  cursor: pointer;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.category-card span {
  width: 62px;
  height: 62px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  background: #fff6ee;

  font-size: 33px;

  transition: transform 0.22s ease;
}

.category-card strong {
  font-size: 13px;
}

.category-card:hover {
  border-color: #ffcfad;

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

  transform: translateY(-5px);
}

.category-card:hover span {
  transform: scale(1.06) rotate(-3deg);
}

.category-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247, 128, 33, 0.12), var(--shadow-sm);
  transform: translateY(-3px);
}

.category-card.active span {
  background: var(--primary-soft);
}

/* ===========================
   RESTAURANTS
=========================== */

.restaurants-section {
  background: #ffffff;

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

#restaurantResultCount {
  color: var(--muted);
  font-size: 13px;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 320px), 1fr)
  );
  gap: clamp(16px, 2vw, 24px);
}

/* ===========================
   RESTAURANT CARD
=========================== */

.restaurant-card {
  overflow: hidden;

  display: flex;
  flex-direction: column;

  min-height: 100%;

  border: 1px solid var(--border);
  border-radius: 24px;

  background: var(--surface);

  box-shadow: 0 8px 26px rgba(28, 36, 52, 0.05);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.restaurant-card:hover {
  border-color: #ffc79d;

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

  transform: translateY(-5px);
}

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

.restaurant-card-image {
  position: relative;

  height: 245px;
  overflow: hidden;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  background:
    radial-gradient(
      circle at 25% 20%,
      rgba(255, 255, 255, 0.95),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #fff4e9,
      #ffffff
    );
}

.restaurant-card-image img {
  width: min(78%, 340px);
  height: 78%;

  object-fit: contain;

  transition: transform 0.25s ease;
}

.restaurant-card:hover .restaurant-card-image img {
  transform: scale(1.055);
}

/* ===========================
   RESTAURANT STATUS
=========================== */
.status-badge {
  position: absolute;
  top: 17px;
  left: 17px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 7px 11px;

  border-radius: 999px;

  background: #f2f4f7;
  color: var(--muted);

  font-size: 10px;
  font-weight: 800;
}

.status-badge::before {
  content: "";

  width: 7px;
  height: 7px;

  flex-shrink: 0;

  border-radius: 50%;

  background: currentColor;
}

.status-badge.open {
  background: #e9f8ee;
  color: var(--success);
}

.status-badge.closed {
  background: #fff0f0;
  color: var(--danger);
}


/* ===========================
   RESTAURANT BODY
=========================== */

.restaurant-card-body {
  padding: 22px;

  display: flex;
  flex: 1;
  flex-direction: column;
}

.restaurant-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 77px;
}

.restaurant-title-row > div {
  min-width: 0;
}

.restaurant-title-row h3 {
  color: var(--text);

  font-size: 21px;
  line-height: 1.25;
}

.restaurant-title-row p {
  margin-top: 5px;

  color: var(--muted);

  font-size: 12px;
}

.rating {
  flex-shrink: 0;

  color: #9a5d00;

  font-size: 10px;
  font-weight: 700;
}

.rating i {
  color: #f5a623;
}

/* ===========================
   RESTAURANT META
=========================== */

.restaurant-meta {
  margin-top: 18px;
  margin-bottom: 18px;

  display: grid;
  grid-template-columns: repeat(
    2,
    minmax(0, 1fr)
  );
  gap: 11px;
}

.restaurant-meta-item {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px;

  border: 1px solid var(--border);
  border-radius: 13px;

  background: #fafafa;
}

.restaurant-meta-item > i {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  margin: 0;

  border-radius: 10px;

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

  font-size: 13px;
}

.restaurant-meta-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.restaurant-meta-copy strong {
  color: var(--text);

  font-size: 10px;
  font-weight: 700;
}

.restaurant-meta-copy small {
  max-width: 100%;

  overflow: hidden;

  color: var(--muted);

  font-size: 10px;
  line-height: 1.4;

  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .restaurant-meta {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   VIEW RESTAURANT LINK
=========================== */

.card-action {
  width: 100%;

  margin-top: auto;
  padding: 12px 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: #fafafa;
  color: var(--text);

  text-decoration: none;

  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.card-action:hover,
.card-action:focus-visible {
  border-color: var(--primary);

  background: var(--primary);
  color: #ffffff;

  text-decoration: none;

  transform: translateY(-1px);
}

.card-action i {
  margin: 0;

  transition: transform 0.2s ease;
}

.card-action:hover i {
  transform: translateX(4px);
}

.restaurant-card:hover .card-action,
.restaurant-card.active .card-action {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* EMPTY SEARCH RESULT */

.empty-state {
  display: none;

  margin: 30px 0 0;
  padding: 30px;

  border: 1px dashed #d5d9e0;
  border-radius: 18px;

  color: var(--muted);

  text-align: center;
}

/* ===========================
   SELECTED RESTAURANT PREVIEW
=========================== */

.restaurant-preview.large {
  margin-top: 50px;
  padding: 42px;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;

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

  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(247, 128, 33, 0.13),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #fff9f4,
      #ffffff
    );
}

.preview-image-wrap {
  min-height: 360px;

  display: grid;
  place-items: center;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;

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

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

.restaurant-preview.large img {
  width: 82%;
  max-height: 320px;

  object-fit: contain;

  transition:
    opacity 0.18s ease,
    transform 0.25s ease;
}

.preview-info {
  width: auto;
}

.preview-label {
  display: inline-block;

  margin-bottom: 10px;

  color: var(--primary-dark);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;

  text-transform: uppercase;
}

.preview-info h3 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.preview-info > p {
  margin-top: 8px;

  color: var(--muted);
}

.preview-meta {
  margin: 20px 0;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-meta span {
  padding: 8px 11px;

  border-radius: 999px;

  background: white;
  color: #475467;

  box-shadow: 0 4px 14px rgba(28, 36, 52, 0.05);

  font-size: 10px;
  font-weight: 700;
}

.preview-meta i {
  color: var(--success);
}

.preview-info h4 {
  margin-bottom: 9px;

  font-size: 13px;
}

.preview-foods {
  margin-bottom: 25px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-foods span {
  display: inline-block;

  margin: 0;
  padding: 9px 12px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: white;
  color: #475467;

  font-size: 11px;
}

/* VIEW RESTAURANT BUTTON */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 13px 21px;

  border-radius: 13px;

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

  text-decoration: none;

  font-size: 13px;
  font-weight: 800;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);
}

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

.how-section {
  background: var(--background);
}

.center-heading {
  max-width: 680px;

  margin: 0 auto 36px;

  text-align: center;
}

.center-heading > p {
  margin-top: 10px;

  color: var(--muted);

  font-size: 14px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(16px, 2vw, 20px);
}

.step-card {
  position: relative;

  min-height: 250px;

  padding: 28px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 23px;

  background: white;

  box-shadow: 0 6px 20px rgba(28, 36, 52, 0.04);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.step-card:hover {
  border-color: #ffd2b1;

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

  transform: translateY(-4px);
}

.step-card > i {
  width: 58px;
  height: 58px;

  margin-bottom: 22px;

  display: grid;
  place-items: center;

  border-radius: 17px;

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

  font-size: 23px;
}



.step-card h3 {
  margin-bottom: 8px;

  font-size: 17px;
}

.step-card p {
  color: var(--muted);

  font-size: 12px;
}

.step-number {
  position: absolute;
  right: 18px;
  top: 8px;

  color: #f1f2f4;

  font-size: 72px;
  font-weight: 800;
  line-height: 1;
}

/* ===========================
   PARTNER SECTION
=========================== */

.partner-section {
  padding: 10px 0 90px;

  background: var(--background);
}

.partner-card {
  width: min(1180px, calc(100% - 40px));

  margin: auto;
  padding: 48px 52px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  border-radius: 28px;

  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(255, 255, 255, 0.13),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #1d2738,
      #111827
    );

  color: white;

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

.partner-card h2 {
  max-width: 720px;

  color: white;
}

.partner-card p {
  max-width: 760px;

  margin-top: 13px;

  color: #cbd2dd;

  font-size: 13px;
}

.partner-btn {
  flex-shrink: 0;

  padding: 13px 20px;

  border-radius: 13px;

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

  text-decoration: none;

  font-size: 13px;
  font-weight: 800;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.partner-btn:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);
}

/* ===========================
   FOOTER
=========================== */

.site-footer {
  background: #0f1724;
  color: white;
}

.footer-container {
  min-height: 190px;

  padding: 45px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  max-width: 470px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 46px;
  height: 46px;

  object-fit: contain;
}

.footer-logo strong {
  font-size: 22px;
}

.footer-brand > p {
  margin-top: 13px;

  color: #9da8b8;

  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #c5ccd6;

  text-decoration: none;

  font-size: 12px;

  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding: 17px 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #8d98a8;

  text-align: center;

  font-size: 11px;
}

/* ===========================
   LOGIN MODAL
=========================== */

.modal,
.staff-access-modal {
  display: none;

  position: fixed;
  inset: 0;

  z-index: 5000;

  padding: 20px;

  overflow-y: auto;
  overscroll-behavior: contain;

  background: rgba(15, 23, 36, 0.68);

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

.modal.is-open,
.staff-access-modal.is-open {
  display: block;
}

body.modal-scroll-locked {
  overflow: hidden;
}

.modal-content {
  position: relative;

  width: min(100%, 420px);

  margin: 13vh auto;
  padding: 34px;

  border-radius: 24px;

  background: white;

  text-align: center;

  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

.close-btn,
.staff-close-btn {
  position: absolute;
  top: 14px;
  right: 17px;

  background: transparent;
  color: #98a2b3;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;
}

.close-btn:hover,
.staff-close-btn:hover {
  color: var(--primary);
}

.modal-icon {
  width: 62px;
  height: 62px;

  margin: 0 auto 18px;

  display: grid;
  place-items: center;

  border-radius: 50%;

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

  font-size: 23px;
}

.modal-content h2 {
  font-size: 24px;
}

.modal-content > p {
  margin: 10px 0 22px;

  color: var(--muted);

  font-size: 13px;
}

.modal-actions {
  display: grid;
  gap: 9px;
}

.modal-actions a {
  padding: 12px;

  border-radius: 12px;

  text-decoration: none;

  font-size: 13px;
  font-weight: 800;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.modal-actions a:hover {
  transform: translateY(-1px);
}

.modal-primary {
  background: var(--primary);
  color: white;
}

.modal-secondary {
  border: 1px solid var(--border);

  color: var(--text);
}

/* ===========================
   STAFF ACCESS MODAL
=========================== */

.staff-access-card {
  position: relative;

  width: min(100%, 420px);

  margin: 20px auto;
  padding: 32px 28px;

  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;

  border: 1px solid #2e3949;
  border-radius: 24px;

  background: #111827;
  color: white;

  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.staff-lock-icon {
  width: 62px;
  height: 62px;

  margin: 0 auto 18px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: linear-gradient(
    135deg,
    var(--primary),
    #ffb06d
  );

  color: white;

  font-size: 24px;
}

.staff-access-card h2 {
  text-align: center;

  font-size: 23px;
}

.staff-subtitle {
  margin: 5px 0 24px;

  color: #a9b2c0;

  text-align: center;

  font-size: 12px;
}

.staff-input-group {
  margin-bottom: 15px;
}

.staff-input-group label {
  display: block;

  margin-bottom: 7px;

  color: #d7dce4;

  font-size: 11px;
  font-weight: 600;
}

.staff-input-group input,
.staff-input-group select {
  width: 100%;

  padding: 13px 14px;

  border: 1px solid #344054;
  border-radius: 12px;

  outline: none;

  background: #1b2534;
  color: white;

  font-size: 13px;
}

.staff-input-group input::placeholder {
  color: #7d8795;
}

.staff-input-group input:focus,
.staff-input-group select:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 3px rgba(247, 128, 33, 0.15);
}

.staff-login-btn {
  width: 100%;

  margin-top: 4px;
  padding: 13px;

  border-radius: 12px;

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

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}

.staff-login-btn:hover {
  background: var(--primary-dark);
}

.staff-login-btn:disabled {
  opacity: 0.65;

  cursor: not-allowed;
}

.staff-login-msg {
  margin-top: 13px;

  color: #ff777b;

  text-align: center;

  font-size: 11px;
}

/* ===========================
   STAFF / OWNER PORTAL SWITCH
=========================== */

.portal-divider {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 20px 0;
}

.portal-divider::before,
.portal-divider::after {
  content: "";

  flex: 1;
  height: 1px;

  background: #344054;
}

.portal-divider span {
  color: #7d8795;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;

  text-transform: uppercase;
}

.portal-owner-btn,
.portal-secondary-btn {
  width: 100%;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 12px 14px;

  border: 1px solid #3a4658;
  border-radius: 12px;

  background: #22c55e;
border-color: #22c55e;
color: #ffffff;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.portal-owner-btn:hover,
.portal-secondary-btn:hover {
  border-color: var(--primary);

  background: rgba(247, 128, 33, 0.08);
  color: #ffffff;

  transform: translateY(-1px);
}

.portal-owner-btn i {
  color: #ffffff;
}

.portal-secondary-btn {
  margin-top: 11px;
}

.owner-login-description {
  margin-bottom: 18px;
  padding: 13px 14px;

  border: 1px solid #2f3a4b;
  border-radius: 12px;

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

.owner-login-description p {
  margin: 0;

  color: #a9b2c0;

  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

.staff-login-msg {
  min-height: 19px;

  margin-top: 15px;

  color: #ff777b;

  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.staff-access-card.portal-owner-mode
  .staff-lock-icon {
  background: linear-gradient(
    135deg,
    var(--secondary),
    #76cf7a
  );
}

.staff-access-card.portal-owner-mode
  .staff-close-btn:hover {
  color: var(--secondary);
}

@media (max-width: 480px) {
  .staff-access-card {
    margin: 3vh auto;
    padding: 29px 20px;
  }

  .staff-access-card h2 {
    font-size: 20px;
  }
}

/* ===========================
   TABLETS
=========================== */

@media (max-width: 980px) {

  .desktop-nav {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-content {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-content > p,
  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .restaurant-preview.large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  align-items: center;
  gap: clamp(24px, 5vw, 48px);
  padding: clamp(22px, 5vw, 42px);
}

  .preview-info {
    text-align: center;
  }

  .preview-meta,
  .preview-foods {
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
  }

  .partner-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 680px) {

  .header-container,
  .section-container,
  .hero-container,
  .footer-container,
  .partner-card {
    width: min(100% - 28px, 1180px);
  }

  .header-container {
    min-height: 68px;
  }

  .brand > img {
    width: 42px;
    height: 42px;
  }

  .brand-copy h1 {
    font-size: 20px;
  }

  .welcome-text {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .icon-button {
    width: 39px;
    height: 39px;

    border-radius: 12px;
  }

  .hero {
    padding: 52px 0 62px;
  }

  .hero-content h2 {
    font-size: 40px;
    letter-spacing: -1.6px;
  }

  .hero-content > p {
  font-size: clamp(0.9rem, 1.5vw, 1.06rem);
}

  .hero-search {
    grid-template-columns: auto 1fr;

    padding: 10px 14px;
  }

  .hero-search button {
    grid-column: 1 / -1;

    width: 100%;
  }

  .hero-visual {
    min-height: 345px;
  }

  .visual-card-main {
    width: 88%;
  }

  .food-illustration {
    min-height: 165px;

    font-size: 86px;
  }

  .floating-chip {
    min-width: 158px;

    padding: 10px;
  }

  .chip-one {
    right: 0;
  }

  .chip-two {
    left: 0;
    bottom: 25px;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;

    margin-bottom: 23px;
  }

  .section-heading h2,
.center-heading h2,
.partner-card h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    min-height: 125px;
  }

  .restaurant-grid {
    grid-template-columns: 1fr;
  }

 .restaurant-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 190px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

  .restaurant-preview.large {
    margin-top: 36px;
    padding: 22px;

    gap: 25px;
  }

 .preview-image-wrap {
  min-height: clamp(220px, 38vw, 360px);
}

  .preview-info h3 {
    font-size: 31px;
  }

  .partner-card {
    padding: 34px 27px;
  }

  .footer-container {
    min-height: auto;

    padding: 38px 0;

    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    gap: 13px 18px;
  }

  .account-dropdown {
    position: fixed;
    top: 75px;
    right: 14px;

    width: min(240px, calc(100% - 28px));
  }

  .modal-content,
  .staff-access-card {
    margin-top: 8vh;
  }
}

/* ===========================
   SMALL MOBILE
=========================== */

@media (max-width: 390px) {

  .brand-copy h1 {
    font-size: 18px;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    width: 36px;
    height: 36px;

    border-radius: 11px;
  }

  .hero-content h2 {
    font-size: 34px;
  }

  .category-card {
    min-height: 116px;
  }

  .category-card span {
    width: 54px;
    height: 54px;

    font-size: 28px;
  }

  .restaurant-title-row {
    flex-direction: column;
  }

  .rating {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .header-container {
    gap: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy h1 {
    font-size: clamp(16px, 5vw, 20px);
    white-space: nowrap;
  }

  .header-actions {
    flex-shrink: 0;
  }

  .hero {
    padding-block: 44px 54px;
  }

  .hero-content h2 {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .hero-search {
    width: 100%;
  }

  .visual-card-main {
    width: 100%;
  }

  .restaurant-card-body {
    padding: 18px;
  }

  .restaurant-title-row {
    flex-direction: column;
  }

  .preview-info {
    text-align: center;
  }

  .preview-foods,
  .preview-meta {
    justify-content: center;
  }

  .btn,
  .partner-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 340px) {
  .header-container,
  .section-container,
  .hero-container,
  .footer-container,
  .partner-card {
    width: calc(100% - 20px);
  }

  .brand > img {
    width: 36px;
    height: 36px;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1600px) {
  .section-container,
  .hero-container,
  .footer-container {
    max-width: 1380px;
  }

  .restaurant-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
}

body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-header {
  padding-top: env(safe-area-inset-top);
}

.site-footer {
  padding-bottom: env(safe-area-inset-bottom);
}

/* =========================================================
   RESTAURANT PARTNER CTA
   ========================================================= */

.partner-cta-section {
    position: relative;
    overflow: hidden;

    padding: 92px 20px;

    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(245, 130, 32, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fff7ef 0%,
            #fffdfb 52%,
            #ffffff 100%
        );
}

.partner-cta-section::before {
    content: "";

    position: absolute;
    top: -110px;
    right: -100px;

    width: 320px;
    height: 320px;

    background: rgba(245, 130, 32, 0.07);
    border-radius: 50%;
}

.partner-cta-container {
    position: relative;
    z-index: 1;

    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.9fr);

    align-items: center;
    gap: 72px;
}

.partner-cta-badge {
    width: fit-content;
    margin-bottom: 22px;
    padding: 9px 14px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #f58220;
    font-size: 13px;
    font-weight: 700;

    background: #fff0e2;
    border: 1px solid #ffd0a8;
    border-radius: 999px;
}

.partner-cta-content h2 {
    max-width: 650px;

    color: #30434c;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -2.6px;
}

.partner-brand-name {
    display: block;
    margin-top: 5px;
}

.partner-brand-food {
    color: #f58220;
}

.partner-brand-connect {
    color: #43b047;
}

.partner-cta-content > p {
    max-width: 620px;
    margin-top: 22px;

    color: #71828a;
    font-size: 16px;
    line-height: 1.75;
}

.partner-cta-benefits {
    margin-top: 28px;

    display: grid;
    gap: 13px;
}

.partner-cta-benefit {
    display: flex;
    align-items: center;
    gap: 11px;

    color: #455a64;
    font-size: 14px;
    font-weight: 500;
}

.partner-cta-benefit i {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    color: white;
    font-size: 11px;

    background: #f58220;
    border-radius: 50%;
}

.partner-cta-actions {
    margin-top: 34px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-apply-button {
    min-height: 54px;
    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    color: white;
    font-size: 14px;
    font-weight: 700;

    background: #f58220;
    border-radius: 13px;

    box-shadow:
        0 13px 28px rgba(245, 130, 32, 0.27);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.partner-apply-button:hover {
    color: white;
    background: #dc6810;
    transform: translateY(-2px);

    box-shadow:
        0 17px 34px rgba(245, 130, 32, 0.32);
}

/* ===========================
   PARTNER PORTAL
=========================== */

.portal-divider {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 20px 0;
}

.portal-divider::before,
.portal-divider::after {
  content: "";

  flex: 1;
  height: 1px;

  background: #344054;
}

.portal-divider span {
  color: #7d8795;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;

  text-transform: uppercase;
}

.portal-owner-btn,
.portal-secondary-btn {
  width: 100%;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 12px 14px;

  border: 1px solid #3a4658;
  border-radius: 12px;

background: #22c55e;
color: #ffffff;
border-color: #22c55e;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.portal-owner-btn:hover,
.portal-secondary-btn:hover {
  border-color: var(--primary);

  background: rgba(247, 128, 33, 0.08);
  color: #ffffff;

  transform: translateY(-1px);
}

.portal-owner-btn i {
  color: #ffffff;
}

.portal-secondary-btn {
  margin-top: 11px;
}

.owner-login-description {
  margin-bottom: 18px;
  padding: 13px 14px;

  border: 1px solid #2f3a4b;
  border-radius: 12px;

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

.owner-login-description p {
  margin: 0;

  color: #a9b2c0;

  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

.staff-login-msg {
  min-height: 19px;

  margin-top: 15px;

  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.staff-access-card.partner-mode
  .staff-lock-icon {
  background: linear-gradient(
    135deg,
    var(--secondary),
    #79cf7c
  );
}

/* Dashboard preview */

.partner-cta-visual {
    position: relative;
    min-height: 430px;

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

.partner-dashboard-preview {
    width: min(100%, 500px);
    overflow: hidden;

    background: white;
    border: 1px solid #e5e9eb;
    border-radius: 22px;

    box-shadow:
        0 28px 65px rgba(48, 67, 76, 0.15);

    transform: rotate(1.5deg);
}

.preview-header {
    height: 42px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    gap: 7px;

    background: #fff5ec;
    border-bottom: 1px solid #eceff1;
}

.preview-dot {
    width: 8px;
    height: 8px;

    background: #f58220;
    border-radius: 50%;
}

.preview-dot:nth-child(2),
.preview-dot:nth-child(3) {
    opacity: 0.38;
}

.preview-body {
    min-height: 310px;

    display: grid;
    grid-template-columns: 74px 1fr;
}

.preview-sidebar {
    padding: 20px 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    background: #30434c;
}

.preview-logo {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    color: white;
    background: #f58220;
    border-radius: 11px;
}

.preview-sidebar > span {
    width: 31px;
    height: 7px;

    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
}

.preview-content {
    padding: 25px;
}

.preview-title {
    width: 44%;
    height: 13px;
    margin-bottom: 22px;

    background: #dce2e5;
    border-radius: 999px;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

.preview-card {
    padding: 15px;

    display: flex;
    align-items: center;
    gap: 11px;

    background: #fff8f1;
    border: 1px solid #ffe2c8;
    border-radius: 13px;
}

.preview-card i {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: white;
    background: #f58220;
    border-radius: 10px;
}

.preview-card div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.preview-card small {
    color: #7e8e95;
    font-size: 9px;
}

.preview-card strong {
    color: #30434c;
    font-size: 15px;
}

.preview-chart {
    position: relative;
    height: 130px;
    margin-top: 25px;
    padding: 16px;
    background: #fafbfb;
    border: 1px solid #edf0f1;
    border-radius: 13px;
}

.preview-chart .chart-grid {
    position: absolute;
    inset: 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.preview-chart .chart-grid::before,
.preview-chart .chart-grid::after {
    content: '';
    display: block;
    height: 1px;
    background: rgba(0,0,0,0.06);
}

.preview-chart .chart-grid::before {
    height: 2px;
    background: rgba(0,0,0,0.1);
}

.preview-chart .chart-bars {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
}

.preview-chart .chart-bars > div {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.preview-chart .chart-bars > div > div {
    width: 100%;
    max-width: 28px;
    min-height: 4px;
    border-radius: 3px 3px 2px 2px;
    background: linear-gradient(180deg, #f58220 0%, #d96a14 100%);
}

.preview-chart .chart-bars > div:nth-child(4) > div,
.preview-chart .chart-bars > div:nth-child(6) > div {
    background: linear-gradient(180deg, #43b047 0%, #2f8e33 100%);
}

/* Floating cards */

.floating-partner-card {
    position: absolute;

    min-width: 220px;
    padding: 13px 15px;

    display: flex;
    align-items: center;
    gap: 11px;

    background: white;
    border: 1px solid #e6e9eb;
    border-radius: 14px;

    box-shadow:
        0 15px 34px rgba(48, 67, 76, 0.14);
}

.floating-partner-card > i {
    width: 37px;
    height: 37px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: white;
    background: #f58220;
    border-radius: 11px;
}

.floating-partner-card div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.floating-partner-card strong {
    color: #30434c;
    font-size: 12px;
}

.floating-partner-card span {
    color: #809097;
    font-size: 9px;
}

.floating-orders {
    top: 42px;
    right: -18px;
}

.floating-growth {
    bottom: 25px;
    left: -28px;
}

/* Responsive */

@media (max-width: 980px) {
    .partner-cta-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .partner-cta-content {
        text-align: center;
    }

    .partner-cta-badge {
        margin-inline: auto;
    }

    .partner-cta-content h2,
    .partner-cta-content > p {
        margin-inline: auto;
    }

    .partner-cta-benefits {
        width: fit-content;
        margin-inline: auto;
        text-align: left;
    }

    .partner-cta-actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .partner-cta-section {
        padding: 70px 16px;
    }

    .partner-cta-content h2 {
        font-size: 39px;
        letter-spacing: -1.8px;
    }

    .partner-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .partner-apply-button {
        width: 100%;
    }

    .partner-login-link {
        text-align: center;
    }

    .partner-cta-visual {
        min-height: 350px;
    }

    .floating-partner-card {
        display: none;
    }

    .preview-body {
        grid-template-columns: 58px 1fr;
    }

    .preview-sidebar {
        padding-inline: 10px;
    }

    .preview-content {
        padding: 18px;
    }

    .preview-card {
        padding: 11px;
    }

    .preview-card i {
        display: none;
    }
}

.application-help {
    margin-top: 18px;
    padding: 13px 15px;

    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: var(--fc-muted);
    font-size: 12px;
    line-height: 1.6;

    background: var(--fc-orange-soft);
    border: 1px solid var(--fc-orange-border);
    border-radius: 11px;
}

.application-help i {
    margin-top: 3px;
    flex-shrink: 0;

    color: var(--fc-orange);
}
/* ===== Trust This Device ===== */

.owner-trusted-device-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 16px;
    cursor: pointer;
    user-select: none;
    color: #d8dde5;
    font-size: 12px;
    font-weight: 500;
}

.owner-trusted-device-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 2px solid #697586;
    border-radius: 4px;
    background: #1b2534;
    cursor: pointer;
    position: relative;
    transition: all .2s ease;
}

.owner-trusted-device-option input[type="checkbox"]:hover {
    border-color: var(--primary);
}

.owner-trusted-device-option input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.owner-trusted-device-option input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
}

.owner-trusted-device-option input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(247,128,33,.2);
}

.staff-login-msg {
  display: none;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.staff-login-msg:not(:empty) {
  display: block;
}

.staff-login-msg.error {
  color: #ffb4b7;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.staff-login-msg.success {
  color: #9be7b0;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.staff-login-msg {
  display: none;

  width: 100%;
  margin: 12px 0 0;
  padding: 11px 12px;

  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 10px;

  background: rgba(239, 68, 68, 0.12);
  color: #ffb4b7;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.staff-login-msg:not(:empty) {
  display: block;
}

@media (max-width: 480px) {
  .staff-access-modal {
    padding: 10px;
  }

  .staff-access-card {
    width: 100%;
    margin: 10px auto;
    padding: 26px 20px;

    max-height: calc(100dvh - 20px);
  }
}

/* =========================================================
   RESTAURANTS PAGE VIEW
========================================================= */

.restaurants-page-view {
  display: none;

  min-height: calc(100vh - 78px);
  background: #f8f9fb;

  padding: 45px 0 70px;
}

.restaurants-page-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================
   TOP AREA
========================= */

.restaurants-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 45px;
}


/* SEARCH */

.restaurants-page-search {
  width: min(560px, 100%);

  display: flex;
  align-items: center;

  min-height: 52px;

  background: #ffffff;

  border: 1px solid #e4e7ec;
  border-radius: 14px;

  box-shadow: 0 5px 18px rgba(16, 24, 40, 0.05);

  overflow: hidden;

  margin-left: auto;

  position: relative;
  top: 35px;
}

.restaurants-page-search > i {
  margin-left: 18px;

  color: #98a2b3;

  font-size: 16px;
}

.restaurants-page-search input {
  flex: 1;

  min-width: 0;

  border: 0;
  outline: 0;

  background: transparent;

  padding: 0 14px;

  color: var(--text);

  font-family: inherit;
  font-size: 14px;
}

.restaurants-page-search input::placeholder {
  color: #98a2b3;
}

.restaurants-page-search button {
  width: 48px;
  height: 48px;

  margin-right: 2px;

  border: 0;
  border-radius: 12px;

  background: var(--primary);
  color: #ffffff;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.restaurants-page-search button:hover {
  transform: translateX(2px);
  opacity: 0.9;
}


/* BACK BUTTON */

.restaurants-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  border: 0;
  background: transparent;

  color: var(--primary);

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  padding: 10px 0;
}

.restaurants-page-back i {
  transition: transform 0.2s ease;
}

.restaurants-page-back:hover i {
  transform: translateX(-4px);
}


/* =========================
   PAGE HEADING
========================= */

.restaurants-page-heading {
  margin-bottom: 48px;

  position: relative;
  top: -25px;
}

.restaurants-page-heading h2 {
  margin: 8px 0 8px;

  color: var(--text);

  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.2px;
}

.restaurants-page-heading p {
  max-width: 650px;

  margin: 0;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.7;
}


/* =========================
   SECTION HEADINGS
========================= */

.restaurants-page-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 22px;
}

.restaurants-page-section-heading h3 {
  margin: 5px 0 0;

  color: var(--text);

  font-size: 26px;
  line-height: 1.2;
}

.restaurants-page-section-heading > p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
}


/* =========================
   CATEGORIES
========================= */

.restaurants-page-categories {
  margin-bottom: 58px;
}

.restaurants-page-category-grid {
  display: grid;

  grid-template-columns:
    repeat(7, minmax(0, 1fr));

  gap: 14px;
}

.restaurants-page-category {
  min-height: 130px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 12px;

  padding: 18px 12px;

  border: 1px solid #e5e7eb;
  border-radius: 18px;

  background: #ffffff;

  color: var(--text);

  font-family: inherit;

  cursor: pointer;

  box-shadow: 0 5px 18px rgba(16, 24, 40, 0.04);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.restaurants-page-category:hover {
  transform: translateY(-4px);

  border-color: #ffd0ad;

  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.08);
}

.restaurants-page-category.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247, 128, 33, 0.12),
    0 10px 25px rgba(16, 24, 40, 0.08);
}

.restaurants-page-category.active .restaurants-page-category-icon {
  background: var(--primary-soft);
}

.restaurants-page-category-icon {
  width: 58px;
  height: 58px;

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

  border-radius: 16px;

  background: #fff4e9;

  font-size: 29px;
}

.restaurants-page-category strong {
  font-size: 13px;
}


/* =========================
   RESTAURANTS
========================= */

.restaurants-page-list {
  margin-bottom: 62px;
}

.restaurants-page-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 320px), 1fr));

  gap: 24px;
}


/*
   The existing restaurant cards are copied
   into this grid. These rules make sure the
   copied slide wrapper behaves correctly.
*/

.restaurants-page-grid .restaurant-slide {
  width: 100%;
  min-width: 0;
}

.restaurants-page-grid .restaurant-card {
  width: 100%;
  height: 100%;
}


/* EMPTY RESULT */

.restaurants-page-empty {
  display: none;

  margin: 30px 0 0;

  padding: 35px 20px;

  border: 1px dashed #d5d9e0;
  border-radius: 18px;

  color: var(--muted);

  text-align: center;

  background: #ffffff;
}


/* =========================
   CLOSED RESTAURANTS
========================= */

.closed-restaurants-section {
  margin-top: 15px;
}

.closed-restaurants-grid {
  margin-bottom: 24px;
}

.closed-restaurants-grid:empty {
  display: none;
}

.restaurant-unavailable-card .restaurant-card {
  border-color: rgba(229, 72, 77, 0.22);
}

.restaurant-unavailable-card .restaurant-card-image img {
  filter: saturate(0.82);
}

.closed-restaurants-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 220px;

  padding: 35px 20px;

  border: 1px dashed #d5d9e0;
  border-radius: 20px;

  background: #ffffff;

  text-align: center;
}

.closed-restaurants-placeholder-icon {
  width: 64px;
  height: 64px;

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

  margin-bottom: 16px;

  border-radius: 18px;

  background: #f2f4f7;

  color: #98a2b3;

  font-size: 24px;
}

.closed-restaurants-placeholder h4 {
  margin: 0 0 7px;

  color: var(--text);

  font-size: 17px;
}

.closed-restaurants-placeholder p {
  max-width: 450px;

  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.6;
}


/* =========================================================
   RESTAURANTS PAGE RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

  .restaurants-page-category-grid {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

}


@media (max-width: 800px) {

  .restaurants-page-view {
    padding: 35px 0 55px;
  }

  .restaurants-page-top {
    align-items: stretch;
    flex-direction: column;
  }

  .restaurants-page-search {
    width: 100%;
    top: 0;
  }

  .restaurants-page-back {
    align-self: flex-start;
  }

  .restaurants-page-category-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .restaurants-page-heading {
    top: 0;
  }

}


@media (max-width: 600px) {

  .restaurants-page-container {
    width: min(100% - 28px, 1180px);
  }

  .restaurants-page-heading {
    margin-bottom: 35px;
  }

  .restaurants-page-heading h2 {
    font-size: 30px;
    letter-spacing: -0.8px;
  }

  .restaurants-page-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .restaurants-page-category-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

  .restaurants-page-category {
    min-height: 115px;
  }

  .restaurants-page-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

}


@media (max-width: 390px) {

  .restaurants-page-container {
    width: min(100% - 22px, 1180px);
  }

  .restaurants-page-category {
    min-height: 105px;

    padding: 14px 8px;
  }

  .restaurants-page-category-icon {
    width: 50px;
    height: 50px;

    font-size: 25px;
  }

  .restaurants-page-category strong {
    font-size: 12px;
  }

}

/* Hide main navigation while viewing Restaurants page */
body.restaurants-page-active .desktop-nav {
  display: none !important;
}

/* Hide footer navigation on Restaurants page */
body.restaurants-page-active .footer-links {
  display: none !important;
}

.restaurant-search-pop {
  animation: restaurantSearchPop 0.9s ease;
}

@keyframes restaurantSearchPop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.04);
  }

  70% {
    transform: scale(0.99);
  }

  100% {
    transform: scale(1);
  }
}

/* =========================================================
   STAFF / OWNER PORTAL GLOBAL STATUS MESSAGE
========================================================= */
.portal-status-message {
  width: 100%;
  margin: 14px 0 4px;
}

.portal-status-message.error {
  display: block;
  color: #ffb4b7;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.portal-status-message.success {
  display: block;
  color: #9be7b0;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.portal-status-message.info {
  display: block;
  color: #c7d7ff;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.30);
}

.portal-status-message:empty {
  display: none;
}

/* FOODCONNECT CUSTOMER HOME THEME START */
html[data-theme="dark"] body[data-fc-page="customer-home"] {
  --text: #f5f7fa;
  --muted: #a2aab7;
  --surface: #171a1f;
  --background: #0f1115;
  --border: #30343b;
  --primary-soft: #2b1c12;
  --shadow-sm: 0 8px 24px rgba(0,0,0,.24);
  --shadow-md: 0 18px 45px rgba(0,0,0,.34);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] {
  background: var(--background);
  color: var(--text);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .site-header {
  background: rgba(18,20,24,.96);
  border-color: var(--border);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .desktop-nav a,
  .brand-copy h1,
  .welcome-text,
  .hero-content h2,
  .section-heading h2,
  .center-heading h2,
  .restaurant-card h3,
  .step-card h3,
  .partner-card h2,
  .preview-info h3,
  .preview-info h4
) {
  color: var(--text);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .hero-content > p,
  .section-heading p,
  .center-heading > p,
  .restaurant-card p,
  .step-card p,
  .preview-info > p,
  .restaurant-meta-copy small,
  .floating-chip small
) {
  color: var(--muted);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .hero {
  background:
    radial-gradient(circle at 86% 30%, rgba(247,128,33,.14), transparent 30%),
    radial-gradient(circle at 73% 84%, rgba(76,175,80,.09), transparent 28%),
    linear-gradient(135deg,#11141a 0%,#151820 58%,#101318 100%);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .hero-search,
  .visual-card-main,
  .floating-chip,
  .category-card,
  .restaurant-card,
  .restaurant-preview.large,
  .step-card,
  .partner-card,
  .empty-state,
  .account-dropdown,
  .modal-content,
  .staff-access-card
) {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .restaurants-section,
  .closed-restaurants-section,
  .how-section,
  .partner-section
) {
  background: var(--background);
  color: var(--text);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .hero-search input,
  .staff-input-group input,
  .staff-input-group select
) {
  background: #20242a;
  color: var(--text);
  border-color: var(--border);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .icon-button {
  background: #1b1e24;
  color: var(--text);
  border-color: var(--border);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .account-dropdown button {
  background: #22262c;
  color: var(--text);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .account-dropdown .danger-dropdown-btn {
  background: #ff4d4f;
  color: #fff;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .site-footer {
  background: #111318;
  color: var(--muted);
  border-color: var(--border);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .footer-logo strong,
  .footer-links a
) {
  color: var(--text);
}
/* FOODCONNECT CUSTOMER HOME THEME END */

/* FOODCONNECT DARK UI LEFTOVER FIX START */
html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurant-meta-item {
  background: #20242a;
  border-color: #30343b;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurant-meta-item > i {
  background: #342115;
  color: #ff8a35;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurant-meta-copy strong {
  color: #f5f7fa;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurant-meta-copy small {
  color: #a2aab7;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .card-action {
  background: #22262c;
  color: #f5f7fa;
  border-color: #343941;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .card-action:hover,
html[data-theme="dark"] body[data-fc-page="customer-home"] .card-action:focus-visible,
html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurant-card:hover .card-action,
html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurant-card.active .card-action {
  background: #2b3037;
  color: #ff9547;
  border-color: rgba(247,128,33,.48);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .partner-cta-section {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(247,128,33,.13),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #12151a 0%,
      #171a20 52%,
      #101216 100%
    );
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .partner-cta-section::before {
  background: rgba(247,128,33,.08);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .partner-cta-badge {
  color: #ff974c;
  background: rgba(247,128,33,.12);
  border-color: rgba(247,128,33,.30);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .partner-cta-content h2 {
  color: #f5f7fa;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .partner-cta-content > p {
  color: #aeb6c2;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .partner-cta-benefit {
  color: #d1d6de;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .partner-dashboard-preview,
  .partner-browser,
  .partner-visual-card,
  .floating-partner-card
) {
  background-color: #1b1e24;
  color: #f5f7fa;
  border-color: #30343b;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .floating-partner-card strong,
  .floating-partner-card span
) {
  color: inherit;
}
/* FOODCONNECT DARK UI LEFTOVER FIX END */

/* FOODCONNECT ACCOUNT DROPDOWN POLISH START */
body[data-fc-page="customer-home"] .account-dropdown {
  width: 250px;
  padding: 16px;

  border-radius: 18px;
}

body[data-fc-page="customer-home"] .account-heading {
  gap: 12px;
  margin-bottom: 11px;
  padding: 3px 3px 13px;
}

body[data-fc-page="customer-home"] .account-avatar {
  width: 42px;
  height: 42px;
}

body[data-fc-page="customer-home"] .account-heading small {
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 500;
}

body[data-fc-page="customer-home"] .account-heading p {
  max-width: 160px;
  margin: 0;

  font-size: 14px;
  font-weight: 800;
}

body[data-fc-page="customer-home"] .account-dropdown button {
  min-height: 44px;
  margin-top: 8px;
  padding: 11px 14px;

  border: 1px solid transparent;
  border-radius: 12px;

  font-size: 13px;
  font-weight: 800;
}

body[data-fc-page="customer-home"] .account-dropdown .primary-dropdown-btn {
  background: #f3f4f6;
  color: #182230;
  border-color: #e4e7ec;
}

body[data-fc-page="customer-home"] .account-dropdown .primary-dropdown-btn:hover {
  background: #e9ecf0;
}

body[data-fc-page="customer-home"] .account-dropdown .danger-dropdown-btn {
  background: #f78021;
  color: #ffffff;
  border-color: #f78021;
}

body[data-fc-page="customer-home"] .account-dropdown .danger-dropdown-btn:hover {
  background: #e86f14;
  border-color: #e86f14;
}

html[data-theme="dark"]
body[data-fc-page="customer-home"]
.account-dropdown .primary-dropdown-btn {
  background: #24282e;
  color: #f5f7fa;
  border-color: #343941;
}

html[data-theme="dark"]
body[data-fc-page="customer-home"]
.account-dropdown .primary-dropdown-btn:hover {
  background: #2c3138;
}

html[data-theme="dark"]
body[data-fc-page="customer-home"]
.account-dropdown .danger-dropdown-btn {
  background: #f78021;
  color: #ffffff;
  border-color: #f78021;
}

html[data-theme="dark"]
body[data-fc-page="customer-home"]
.account-dropdown .danger-dropdown-btn:hover {
  background: #e86f14;
  border-color: #e86f14;
}

@media (max-width: 480px) {
  body[data-fc-page="customer-home"] .account-dropdown {
    width: min(250px, calc(100vw - 28px));
  }
}
/* FOODCONNECT ACCOUNT DROPDOWN POLISH END */

/* =========================================================
   RESTAURANT STAFF PORTAL — CLOSE BUTTON POLISH
========================================================= */
.staff-access-card .staff-close-btn {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.07) !important;
  color: #d0d5dd !important;
  font-size: 26px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
.staff-access-card .staff-close-btn:hover {
  background: rgba(247,128,33,.14) !important;
  border-color: rgba(247,128,33,.45) !important;
  color: #f78021 !important;
}

/* =========================================================
   STAFF PASSWORD RECOVERY / REQUIRED CHANGE
========================================================= */
.staff-forgot-password-btn {
  width: 100%;
  margin-top: 10px;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: #f47c1e;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.staff-forgot-password-btn:hover {
  text-decoration: underline;
}
.staff-password-change-box {
  margin-top: 2px;
}
.staff-password-change-note {
  border-color: rgba(244, 124, 30, .28);
  background: rgba(244, 124, 30, .07);
}
.staff-password-change-note p {
  color: #d7dce4;
}

/* ===========================
   OWNER PASSWORD RECOVERY
=========================== */

.owner-recovery-link {
  width: 100%;
  margin-top: 10px;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.owner-recovery-link:hover {
  color: #ffb15d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.owner-recovery-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.staff-input-group textarea {
  width: 100%;
  min-height: 104px;
  padding: 13px 14px;
  border: 1px solid #344054;
  border-radius: 12px;
  outline: none;
  resize: vertical;
  background: #1b2534;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
}

.staff-input-group textarea::placeholder {
  color: #7d8795;
}

.staff-input-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247, 128, 33, 0.15);
}

.owner-recovery-help {
  display: block;
  margin-top: 7px;
  color: #8d98a8;
  font-size: 10px;
  line-height: 1.5;
}

.owner-recovery-field-error {
  display: none;
  margin-top: 7px;
  color: #ff9fa3;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.owner-recovery-field-error:not(:empty) {
  display: block;
}

.staff-input-group input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}

.owner-password-requirements {
  margin: -4px 0 12px;
}

.owner-password-change-note {
  border-color: rgba(255, 175, 51, 0.3);
  background: rgba(255, 175, 51, 0.06);
}


.owner-recovery-intro {
  border-color: rgba(255, 175, 51, 0.22);
  background: rgba(255, 175, 51, 0.055);
}

.owner-recovery-status-view {
  padding-top: 2px;
  text-align: center;
  animation: ownerRecoveryStateIn 0.22s ease-out both;
}

.owner-recovery-status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fc-warning-border);
  border-radius: 50%;
  background: var(--fc-warning-soft);
  color: var(--fc-warning);
  font-size: 25px;
}

.owner-recovery-status-view.is-approved .owner-recovery-status-icon {
  border-color: var(--fc-success-border);
  background: var(--fc-success-soft);
  color: var(--fc-success);
}

.owner-recovery-status-view.is-rejected .owner-recovery-status-icon {
  border-color: var(--fc-danger-border);
  background: var(--fc-danger-soft);
  color: var(--fc-danger);
}

.owner-recovery-status-view.is-unavailable .owner-recovery-status-icon {
  border-color: var(--fc-neutral-border);
  background: var(--fc-neutral-soft);
  color: var(--fc-neutral-dark);
}

.owner-recovery-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid var(--fc-warning-border);
  border-radius: 999px;
  background: var(--fc-warning-soft);
  color: var(--fc-warning);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.owner-recovery-status-view.is-approved .owner-recovery-status-badge {
  border-color: var(--fc-success-border);
  background: var(--fc-success-soft);
  color: var(--fc-success);
}

.owner-recovery-status-view.is-rejected .owner-recovery-status-badge {
  border-color: var(--fc-danger-border);
  background: var(--fc-danger-soft);
  color: var(--fc-danger);
}

.owner-recovery-status-view.is-unavailable .owner-recovery-status-badge {
  border-color: var(--fc-neutral-border);
  background: var(--fc-neutral-soft);
  color: var(--fc-neutral-dark);
}

.owner-recovery-status-title {
  margin: 13px 0 7px;
  color: #f8fafc;
  font-size: 19px;
  line-height: 1.3;
  outline: none;
}

.owner-recovery-status-text {
  max-width: 340px;
  margin: 0 auto;
  color: #a9b2c0;
  font-size: 11.5px;
  line-height: 1.65;
}

.owner-recovery-email-card {
  margin: 17px 0 4px;
  padding: 12px 14px;
  flex-direction: column;
  gap: 3px;
  border: 1px solid var(--fc-success-border);
  border-radius: 12px;
  background: var(--fc-success-soft);
  text-align: left;
}

.owner-recovery-email-card span {
  color: #a9b2c0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.owner-recovery-email-card strong {
  overflow-wrap: anywhere;
  color: #dff8e6;
  font-size: 13px;
  line-height: 1.45;
}

.owner-recovery-progress {
  position: relative;
  margin: 20px 0 16px;
  padding: 0;
  list-style: none;
  gap: 0;
  text-align: left;
}

.owner-recovery-progress li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 54px;
  padding: 0 0 14px;
}

.owner-recovery-progress li:last-child {
  min-height: 34px;
  padding-bottom: 0;
}

.owner-recovery-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 14px;
  width: 2px;
  height: calc(100% - 22px);
  border-radius: 2px;
  background: #344054;
}

.owner-recovery-progress li.is-complete:not(:last-child)::after {
  background: var(--fc-success);
}

.owner-recovery-step-icon {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid #3a4658;
  border-radius: 50%;
  background: #182233;
  color: #8d98a8;
  font-size: 10px;
  font-weight: 800;
}

.owner-recovery-progress li.is-complete .owner-recovery-step-icon {
  border-color: var(--fc-success-border);
  background: var(--fc-success-soft);
  color: var(--fc-success);
}

.owner-recovery-progress li.is-current .owner-recovery-step-icon {
  border-color: var(--fc-warning-border);
  background: var(--fc-warning-soft);
  color: var(--fc-warning);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.08);
}

.owner-recovery-progress li.is-stopped .owner-recovery-step-icon {
  border-color: var(--fc-danger-border);
  background: var(--fc-danger-soft);
  color: var(--fc-danger);
}

.owner-recovery-step-copy {
  min-width: 0;
  padding-top: 1px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.owner-recovery-step-copy strong {
  color: #e7ebf2;
  font-size: 11px;
  line-height: 1.35;
}

.owner-recovery-step-copy small {
  color: #8d98a8;
  font-size: 9.5px;
  line-height: 1.45;
}

.owner-recovery-next-step {
  margin: 17px 0 14px;
  padding: 12px 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--fc-info-border);
  border-radius: 12px;
  background: var(--fc-info-soft);
  color: #c7d7ff;
  text-align: left;
}

.owner-recovery-next-step.is-success {
  border-color: var(--fc-success-border);
  background: var(--fc-success-soft);
  color: #bdeecb;
}

.owner-recovery-next-step.is-danger {
  border-color: var(--fc-danger-border);
  background: var(--fc-danger-soft);
  color: #ffc2c4;
}

.owner-recovery-next-step.is-warning {
  border-color: var(--fc-warning-border);
  background: var(--fc-warning-soft);
  color: #f7d59b;
}

.owner-recovery-next-step > i {
  margin-top: 2px;
  flex: 0 0 auto;
  font-size: 13px;
}

.owner-recovery-next-step p {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
}

.owner-recovery-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@keyframes ownerRecoveryStateIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .owner-recovery-status-view {
    animation: none;
  }
}

@media (max-width: 480px) {
  .owner-recovery-link {
    font-size: 10.5px;
  }

  .staff-input-group textarea {
    min-height: 96px;
  }

  .owner-recovery-status-icon {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .owner-recovery-status-title {
    font-size: 17px;
  }

  .owner-recovery-progress {
    margin-top: 17px;
  }
}


/* =========================================================
   OWNER RECOVERY STATUS — COMPACT SUCCESS / STATUS POLISH
   Keeps the working recovery flow unchanged; this only improves
   readability, hierarchy, and viewport fit after a request is sent.
========================================================= */
.staff-access-card.owner-recovery-status-active {
  padding: 20px 28px 22px;
}

.staff-access-card.owner-recovery-status-active > .staff-lock-icon,
.staff-access-card.owner-recovery-status-active > #staffPortalTitle,
.staff-access-card.owner-recovery-status-active > #staffPortalSubtitle,
.staff-access-card.owner-recovery-status-active > #staffPortalMessage {
  display: none !important;
}

/* Keep dismissal available even if a small viewport still needs scrolling. */
.staff-access-card.owner-recovery-status-active .staff-close-btn {
  position: sticky !important;
  top: 0 !important;
  z-index: 8;
  margin-left: auto;
  margin-bottom: -40px;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-status-view {
  padding-top: 1px;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-status-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 9px;
  font-size: 21px;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-status-badge {
  min-height: 23px;
  padding: 4px 9px;
  font-size: 9px;
  letter-spacing: 0.3px;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-status-title {
  margin: 9px 0 5px;
  font-size: 18px;
  line-height: 1.25;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-status-text {
  max-width: 330px;
  font-size: 11px;
  line-height: 1.5;
}

/* The old success-soft token becomes too pale inside this always-dark portal. */
.staff-access-card.owner-recovery-status-approved .owner-recovery-email-card {
  margin: 13px 0 2px;
  padding: 9px 12px;
  align-items: center;
  gap: 2px;
  border-color: rgba(74, 222, 128, 0.28);
  background: rgba(34, 197, 94, 0.09);
  text-align: center;
}

.staff-access-card.owner-recovery-status-approved .owner-recovery-email-card span {
  color: #a6b5c7;
  font-size: 8.5px;
  letter-spacing: 0.42px;
}

.staff-access-card.owner-recovery-status-approved .owner-recovery-email-card strong {
  color: #f2fff6;
  font-size: 12.5px;
  font-weight: 800;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-progress {
  margin: 14px 0 11px;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-progress li {
  min-height: 43px;
  gap: 9px;
  padding-bottom: 9px;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-progress li:last-child {
  min-height: 29px;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-progress li:not(:last-child)::after {
  top: 26px;
  left: 12px;
  height: calc(100% - 18px);
}

.staff-access-card.owner-recovery-status-active .owner-recovery-step-icon {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  font-size: 9px;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-step-copy strong {
  font-size: 10.5px;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-step-copy small {
  font-size: 9px;
  line-height: 1.35;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-next-step {
  margin: 12px 0 11px;
  padding: 10px 11px;
  gap: 9px;
}

.staff-access-card.owner-recovery-status-approved .owner-recovery-next-step.is-success {
  border-color: rgba(74, 222, 128, 0.28);
  background: rgba(34, 197, 94, 0.09);
  color: #e9fff0;
}

.staff-access-card.owner-recovery-status-approved .owner-recovery-next-step.is-success > i {
  color: #6ee797;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-next-step p {
  color: inherit;
  font-size: 9.7px;
  line-height: 1.5;
}

.staff-access-card.owner-recovery-status-active .owner-recovery-primary-action {
  min-height: 43px;
  margin-top: 2px;
}

@media (max-width: 480px) {
  .staff-access-card.owner-recovery-status-active {
    padding: 17px 18px 19px;
  }

  .staff-access-card.owner-recovery-status-active .owner-recovery-status-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .staff-access-card.owner-recovery-status-active .owner-recovery-status-title {
    font-size: 17px;
  }

  .staff-access-card.owner-recovery-status-active .owner-recovery-progress {
    margin-top: 12px;
  }
}

.password-input-wrapper{position:relative;width:100%;}
.password-input-wrapper input[type="password"],.password-input-wrapper input[type="text"]{width:100%;padding-right:52px;}
.password-input-wrapper .toggle-password{position:absolute;top:50%;right:10px;transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:#98a2b3;cursor:pointer;}
.password-input-wrapper .toggle-password:hover{color:var(--primary);}
.portal-owner-btn{background:#22c55e;border-color:#22c55e;color:#fff;}
.portal-owner-btn i{color:#fff;}
.portal-owner-btn:hover{background:#16a34a;border-color:#16a34a;}

/* UI FIX: password toggle alignment */
.password-input-wrapper{
  position:relative;
  width:100%;
}
.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"]{
  width:100%;
  padding-right:52px;
}
.password-input-wrapper .toggle-password{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:#98a2b3;
  cursor:pointer;
  z-index:2;
}
.password-input-wrapper .toggle-password:hover{
  color:var(--primary);
}

/* UI FIX: partner portal branding */
.portal-owner-btn{
  background:#22c55e !important;
  border-color:#22c55e !important;
  color:#fff !important;
}
.portal-owner-btn:hover{
  background:#16a34a !important;
  border-color:#16a34a !important;
}

/* =========================================================
   OWNER RECOVERY STATUS READABILITY FIX
========================================================= */

/* Email delivery = waiting process, not disabled */
.owner-recovery-progress li:last-child .owner-recovery-step-icon {
    border-color: var(--fc-info-border);
    background: var(--fc-info-soft);
    color: var(--fc-info);
}

/* Make timeline easier to follow */
.owner-recovery-progress li:not(:last-child)::after {
    background: #64748b;
}

/* Improve recovery text contrast */
.owner-recovery-step-copy strong {
    color: #ffffff;
}

.owner-recovery-step-copy small {
    color: #cbd5e1;
}

/* Improve information box readability */
.owner-recovery-next-step {
    border-color: rgba(96,165,250,.35);
    background: rgba(37,99,235,.12);
}

.owner-recovery-next-step p {
    color: #dbeafe;
}

/* Title hierarchy */
.owner-recovery-status-title {
    color: #ffffff;
    font-weight: 800;
}

.owner-recovery-status-text {
    color: #cbd5e1;
}

/* remove edge built-in password reveal icon */
input[type="password"]::-ms-reveal {
    display: none !important;
}

input[type="password"]::-ms-clear {
    display: none !important;
}

/* chromium password decoration */
input[type="password"]::-webkit-textfield-decoration-container {
    display: none !important;
}

.password-input-wrapper input {
    appearance: none;
    -webkit-appearance: none;
}

/* =========================================================
   HOMEPAGE ACTIVE CART BADGE
========================================================= */
body[data-fc-page="customer-home"] .cart-link {
  position: relative;
}

body[data-fc-page="customer-home"] .cart-link .cart-badge {
  position: absolute;
  top: -6px;
  right: -7px;

  min-width: 19px;
  height: 19px;
  padding: 0 5px;

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

  color: #ffffff;
  background: #f47c1e;
  border: 2px solid var(--surface, #ffffff);
  border-radius: 999px;

  font-size: 10px;
  font-weight: 800;
  line-height: 1;

  box-shadow: 0 4px 12px rgba(244, 124, 30, .28);
  pointer-events: none;
}

body[data-fc-page="customer-home"] .cart-link .cart-badge[hidden] {
  display: none !important;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .cart-link .cart-badge {
  border-color: #181b20;
}

/* FoodConnect official brand logo standard */
img[src*="logofoodconnect-Photoroom.png"] {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

/* Keep the logo balanced in smaller navigation areas */
.sidebar img[src*="logofoodconnect-Photoroom.png"],
.admin-sidebar img[src*="logofoodconnect-Photoroom.png"] {
    width: 42px;
    height: 42px;
}

.footer img[src*="logofoodconnect-Photoroom.png"] {
    width: 45px;
    height: 45px;
}

/* =========================================================
   RESTAURANTS PAGE — DARK MODE FIX
   Keeps the dedicated View All Restaurants page consistent
   with the rest of the FoodConnect customer dark theme.
========================================================= */
html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurants-page-view {
  background: var(--background);
  color: var(--text);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .restaurants-page-search,
  .restaurants-page-category,
  .restaurants-page-empty,
  .closed-restaurants-placeholder
) {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .restaurants-page-heading h2,
  .restaurants-page-section-heading h3,
  .restaurants-page-category strong,
  .closed-restaurants-placeholder h4
) {
  color: var(--text);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .restaurants-page-heading p,
  .restaurants-page-section-heading > p,
  .restaurants-page-empty,
  .closed-restaurants-placeholder p
) {
  color: var(--muted);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurants-page-search input {
  color: var(--text);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurants-page-search input::placeholder {
  color: #8f98a6;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurants-page-category-icon {
  background: #2b1c12;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .closed-restaurants-placeholder-icon {
  background: #20242a;
  color: #8f98a6;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurants-page-category:hover {
  border-color: rgba(247,128,33,.48);
  box-shadow: 0 10px 25px rgba(0,0,0,.24);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] :is(
  .restaurants-page-category.active,
  .category-card.active
) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247,128,33,.16),
    0 10px 25px rgba(0,0,0,.24);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurant-unavailable-card .restaurant-card {
  border-color: rgba(229,72,77,.28);
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurants-page-grid .restaurant-card-image {
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.05), transparent 25%),
    linear-gradient(135deg, #1c2026, #15181d);
}

/* =========================================================
   VIEW ALL RESTAURANTS - DESKTOP HEADER / SEARCH ALIGNMENT
   Desktop only. Mobile/tablet layout remains unchanged.
========================================================= */
@media (min-width: 1101px) {
  .restaurants-page-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    column-gap: clamp(36px, 4vw, 64px);
    align-items: start;
  }

  .restaurants-page-heading {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    position: relative;
    top: 0;
    margin-bottom: 48px;
  }

  .restaurants-page-top {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-bottom: 48px;
  }

  .restaurants-page-search {
    width: 100%;
    margin-left: 0;
    position: relative;
    top: 0;
  }

  .restaurants-page-categories,
  .restaurants-page-list,
  .closed-restaurants-section {
    grid-column: 1 / -1;
  }
}


/* =========================================================
   VIEW ALL RESTAURANTS - DESKTOP SEARCH ALIGNMENT V2
   Fixes the desktop-only floating/high search bar by making
   the heading and search true peers in one grid row.
   Mobile/tablet rules remain unchanged.
========================================================= */
@media (min-width: 1101px) {
  .restaurants-page-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    column-gap: clamp(36px, 4vw, 64px);
    row-gap: 48px;
    align-items: center;
  }

  .restaurants-page-heading {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    position: static;
    top: auto;
    margin: 0;
  }

  .restaurants-page-top {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    display: flex;
    align-items: center;
    margin: 0;
  }

  .restaurants-page-search {
    width: 100%;
    margin: 0;
    position: static;
    top: auto;
  }

  .restaurants-page-categories {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .restaurants-page-list,
  .closed-restaurants-section {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   VIEW ALL RESTAURANTS - DESKTOP SEARCH POSITION V3
   Desktop: search sits centered directly below the site header.
   The page title follows underneath. Mobile/tablet are unchanged.
========================================================= */
@media (min-width: 1101px) {
  .restaurants-page-container {
    display: block;
  }

  .restaurants-page-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 0 42px;
  }

  .restaurants-page-search {
    width: min(720px, 72vw);
    max-width: 720px;
    margin: 0 auto;
    position: static;
    top: auto;
  }

  .restaurants-page-heading {
    position: static;
    top: auto;
    margin: 0 0 48px;
  }

  .restaurants-page-categories,
  .restaurants-page-list,
  .closed-restaurants-section {
    grid-column: auto;
    grid-row: auto;
  }
}

/* =========================================================
   FOODCONNECT RESTAURANT CARD UI CONSISTENCY + FULL HOURS
   2026-09-13
   - Replace the old yellow restaurant-type styling with the
     FoodConnect orange brand treatment.
   - Let Store Hours wrap instead of being cut off with "...".
   - Shared by homepage and View All Restaurants cards.
========================================================= */

body[data-fc-page="customer-home"] .restaurant-title-row .rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 5px 8px;
  border: 1px solid rgba(247, 128, 33, 0.22);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  line-height: 1.2;
}

body[data-fc-page="customer-home"] .restaurant-title-row .rating i {
  color: var(--primary);
}

body[data-fc-page="customer-home"] .restaurant-meta {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

body[data-fc-page="customer-home"] .restaurant-meta-copy .restaurant-hours {
  display: block;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
}

/* Keep the Store Hours block comfortable when the value wraps. */
body[data-fc-page="customer-home"] .restaurant-meta-item:nth-child(2) {
  align-items: flex-start;
}

/* Dark theme: use the same orange brand family, never yellow/gold. */
html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurant-title-row .rating {
  border-color: rgba(255, 138, 53, 0.28);
  background: #342115;
  color: #ff9a52;
}

html[data-theme="dark"] body[data-fc-page="customer-home"] .restaurant-title-row .rating i {
  color: #ff8a35;
}

@media (max-width: 680px) {
  body[data-fc-page="customer-home"] .restaurant-meta {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }
}

@media (max-width: 480px) {
  body[data-fc-page="customer-home"] .restaurant-meta {
    grid-template-columns: 1fr;
  }
}
