.marketplace-home {
  --paper: #f7f0e8;
  --ink: #38222a;
  --deep: #510d2b;
  --line: #dfd0c5;
}

.marketplace-home .masthead { background: #3e0d24; border: 0; }
.marketplace-home .nav { min-height: 74px; }
.marketplace-home .nav .brand {
  color: #fff7ef;
  font: 700 clamp(29px, 4vw, 46px)/1 var(--display);
  letter-spacing: -.065em;
  gap: 3px;
}
.marketplace-home .nav .brand-icon { display: none; }
.marketplace-home .nav .brand-dot { color: #fff7ef; }
.marketplace-home .nav nav > a,
.marketplace-home .nav nav > button,
.marketplace-home .location-link { color: #fff4ef; }
.marketplace-home .nav .nav-current { border-bottom-color: #e0afa7; }
.marketplace-home .location-link span:first-child { color: #e0afa7; }
.marketplace-home .basket-button { background: #67203d; }
.bistro-nav-toggle { display: none; }

.marketplace-home .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 540px;
  isolation: isolate;
  margin-top: 0;
  border-radius: 0 0 14px 14px;
  background: #24140f;
}
.marketplace-home .hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(24px, 4.2vw, 60px);
}
.marketplace-home .hero-picture { position: absolute; inset: 0; }
.marketplace-home .hero-picture img { object-position: 55% 56%; }
.marketplace-home .hero-picture::after {
  inset: 0;
  background: linear-gradient(90deg, #190d09ed, #190d09ab 32%, #190d091a 64%, transparent);
}
.marketplace-home .hero h1 {
  color: #fff8ef;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.01;
  letter-spacing: -.058em;
  max-width: 13.5em;
}
.marketplace-home .hero-description {
  margin-bottom: 20px;
  color: #fff2e7;
  max-width: 38ch;
}
.bistro-order-panel {
  width: min(100%, 525px);
  padding: clamp(14px, 2vw, 23px);
  border-radius: 15px;
  background: #fbf3e9;
  box-shadow: 0 10px 26px #15080930;
}
.bistro-address-title { display: block; margin-bottom: 8px; font: 700 22px/1.1 var(--display); }
.marketplace-home .hero .location-form {
  max-width: none;
  min-height: 0;
  background: transparent;
  border: 0;
  padding: 0;
  gap: 8px;
  box-shadow: none;
}
.marketplace-home .hero .address-input {
  min-width: 0;
  min-height: 43px;
  background: #fffbf7;
  border: 1px solid #a99488;
  border-radius: 9px;
}
.marketplace-home .hero .location-form button { min-height: 43px; }
.marketplace-home .hero .mode {
  margin: 12px 0 0;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
}
.marketplace-home .hero .mode button { border-radius: 20px; border: 1px solid #d9c5b8; }
.marketplace-home .hero .mode button[aria-pressed="true"] { color: #fff8ef; background: var(--deep); }
.marketplace-home .hero .location-message { margin-top: 8px; }
.marketplace-home .pilot-areas { margin-top: 8px; }
.marketplace-home .foodora-campaign { background: #eadbd3; border-radius: 13px; }
.marketplace-home .discovery { margin-top: clamp(24px, 4vw, 48px); }
.marketplace-home .section-head { gap: 12px; }
.marketplace-home .section-head h2 { color: #49132a; letter-spacing: -.05em; }
.marketplace-home .search { min-height: 44px; max-width: 100%; }
.marketplace-home .category { border-radius: 24px; padding: 8px 15px; }
.marketplace-home .category-symbol { display: none; }
.marketplace-home .category[aria-pressed="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.marketplace-home .restaurant-grid { gap: 16px; }
.marketplace-home .restaurant-button { border-radius: 13px; background: #fbf5ed; }
.marketplace-home .card-photo { aspect-ratio: 1.85; }
.marketplace-home .card-title { font: 700 clamp(17px, 2vw, 25px)/1.15 var(--display); color: #49132a; }
.marketplace-home .card-identity > span { overflow-wrap: anywhere; }
.marketplace-home .card-meta { flex-wrap: wrap; }
.marketplace-home .menu-indicator { font-family: var(--ui); }
.marketplace-home .footer-inner { flex-wrap: wrap; gap: 12px 18px; padding-block: 14px; }
.marketplace-home :focus-visible { outline: 2px solid #bd6a89; outline-offset: 3px; }

@media (max-width: 1050px) {
  .marketplace-home .nav { height: auto; min-height: 64px; flex-wrap: wrap; }
  .marketplace-home .nav nav { order: 3; flex: 1 0 100%; flex-wrap: wrap; padding-bottom: 9px; }
  .marketplace-home .nav nav > a { display: inline-flex; }
  .marketplace-home .nav-actions { margin-left: auto; }
  .marketplace-home.bistro-nav-ready .nav:not(:has(.bistro-nav-toggle[aria-expanded="true"])) nav { display: none; }
  .bistro-nav-ready .bistro-nav-toggle {
    display: grid;
    place-items: center;
    min-width: 42px;
    min-height: 42px;
    color: white;
    background: transparent;
    border: 1px solid #ffffff50;
    border-radius: 9px;
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  .marketplace-home .hero { min-height: 500px; }
  .marketplace-home .hero-content { align-self: start; padding-top: 25px; }
  .marketplace-home .hero h1 { font-size: clamp(35px, 7.8vw, 55px); }
  .marketplace-home .hero-picture img { object-position: 72% center; }
  .marketplace-home .hero-picture::after { background: linear-gradient(180deg, #1a0c08e8, #1a0c08a0 70%, transparent); }
  .marketplace-home .section-head { flex-wrap: wrap; align-items: stretch; }
  .marketplace-home .restaurant-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .marketplace-home .restaurant-button { display: grid; grid-template-columns: minmax(90px, 31%) minmax(0, 1fr); }
  .marketplace-home .card-photo { aspect-ratio: auto; min-height: 108px; height: 100%; }
  .marketplace-home .card-content { justify-content: center; padding: 10px 12px; }
  .marketplace-home .card-description,
  .marketplace-home .restaurant-logo,
  .marketplace-home .menu-indicator { display: none; }
  .marketplace-home .time { right: 4px; bottom: 4px; padding: 3px 5px; font-size: 10px; }
}
@media (max-width: 480px) {
  .marketplace-home .hero .location-form { flex-direction: column; }
  .marketplace-home .hero .address-input { min-height: 42px; }
  .marketplace-home .hero { padding-bottom: 32px; }
}
