@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

body.storefront-home {
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --display: var(--sans);
  --paper: #fff9f4;
  --ink: #221c19;
  --muted: #625650;
  --line: #eadcd2;
  --deep: #a63f13;
  --lime: #ffebdb;
  --ui: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

.storefront-home .shell { width: min(1320px, calc(100% - 64px)); }
.storefront-home .masthead {
  background: #211b18;
  border-bottom: 1px solid var(--line);
}
.storefront-home .nav { min-height: 76px; gap: 22px; }
.storefront-home .nav .brand,
.storefront-home .footer-inner .brand {
  color: var(--deep);
  font: 800 clamp(27px, 3.4vw, 38px)/1 var(--sans);
  letter-spacing: -.09em;
  gap: 2px;
}
.storefront-home .nav .brand { color: #fff9f3; }
.storefront-home .brand-cutlery {
  display: block;
  flex: none;
  width: .84em;
  height: .84em;
  margin-inline-end: .13em;
  color: #ff9a58;
}
.storefront-home .brand-wordmark { color: #fff9f3; }
.storefront-home .brand-wordmark > span { color: #ff9a58; }
.storefront-home .footer-inner .brand {
  padding: 5px 10px 7px;
  border-radius: 8px;
  background: #211b18;
}
.storefront-home .nav nav > a,
.storefront-home .nav nav > button,
.storefront-home .nav .location-link { color: #fff9f3; }
.storefront-home .nav .location-link span:first-child { color: #ffc39e; }
.storefront-home .nav .nav-current { border-bottom-color: #f49a62; }
.storefront-home .nav .basket-button,
.storefront-home .location-form button,
.storefront-home .primary {
  background: var(--deep);
  color: #fff;
  border-radius: 12px;
}
.storefront-home .nav .basket-button:hover,
.storefront-home .location-form button:hover,
.storefront-home .primary:hover { background: #783115; }
body.storefront-home #bistro-nav-toggle { color: #fff9f3; border-color: #726057; }
.storefront-home .location-link span:first-child,
.storefront-home .address-input span,
.storefront-home .search span,
.storefront-home .text-button { color: var(--deep); }
.storefront-home :focus-visible { outline: 2px solid #b34b1b; outline-offset: 3px; }

.marketplace-home .hero {
  display: block;
  min-height: 0;
  margin-top: 24px;
  padding: 0;
  border: 1px solid #a53b08;
  border-radius: 18px;
  background: linear-gradient(112deg, #963005 0%, #b53d02 44%, #f3911d 100%);
}
.marketplace-home .hero-content { padding: clamp(18px, 2.8vw, 32px); }
.marketplace-home .hero h1 {
  color: #fff;
  font: 800 clamp(27px, 3.7vw, 48px)/1.06 var(--sans);
  letter-spacing: -.05em;
  margin: 0 0 15px;
}
.marketplace-home .bistro-order-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 13px;
  width: 100%;
  padding: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.marketplace-home .bistro-address-title { position: absolute; clip-path: inset(50%); }
.marketplace-home .hero .location-form { width: min(100%, 455px); margin: 0; }
.marketplace-home .hero .address-input { border-color: #e6bfaa; background: #fffdf9; }
.marketplace-home .hero .mode { margin: 0; }
.marketplace-home .hero .location-message { flex-basis: 100%; margin: 0; color: #fff; }
.marketplace-home .hero .pilot-areas { margin: 0; color: #fff; }
.marketplace-home .hero .mode button { border-color: #fff9; color: #fff; }
.marketplace-home .hero .mode button[aria-pressed="true"] { background: #fff8ef; color: #87310d; }
.marketplace-home .hero .location-form button { background: #302018; }
.marketplace-home .hero .location-form button:hover { background: #211710; }
.marketplace-home .hero .browse-all { color: #fff; }
.marketplace-home .hero :focus-visible { outline-color: #fff; }
.storefront-home .location-message,
.storefront-home .pilot-areas { color: var(--muted); }
.storefront-home .pilot-areas button { color: var(--deep); background: #fff4e9; border-color: #edd3c0; }
.browse-all {
  display: inline-flex;
  gap: 6px;
  color: var(--deep);
  margin-top: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  font-weight: 750;
}

.storefront-home .foodora-campaign {
  background: #ffecd9;
  border-color: #f0d8c1;
  border-radius: 17px;
}
.storefront-home .foodora-campaign h2,
.storefront-home .section-head h2,
.storefront-home .results-toolbar h1 {
  color: var(--deep);
  font-family: var(--sans);
  letter-spacing: -.055em;
}
.storefront-home .section-head h2 { font-size: clamp(31px, 4vw, 52px); line-height: 1.05; }
.storefront-home .discovery { margin-top: clamp(24px, 4vw, 50px); }
.storefront-home .search { border-radius: 12px; background: #fff; border-color: var(--line); }
.marketplace-home .section-head .search { width: min(310px, 100%); }
.storefront-home .category {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 8px 15px;
  background: #fffdf7;
  color: var(--ink);
}
.storefront-home .category-symbol { display: none; }
.storefront-home .category:hover { color: var(--deep); background: #fff0e6; border-color: #dfac8f; }
.storefront-home .category[aria-pressed="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.storefront-home .restaurant-grid { gap: clamp(12px, 2vw, 23px); }
.storefront-home .restaurant-button {
  height: 100%;
  border-color: var(--line);
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 3px 12px #2238290a;
}
.storefront-home .restaurant-button:hover { border-color: #d8a489; box-shadow: 0 9px 26px #22382918; }
.storefront-home .card-photo { aspect-ratio: 1.85; }
.storefront-home .card-content { padding: 17px; }
.storefront-home .card-title {
  color: var(--ink);
  font: 800 clamp(17px, 1.7vw, 23px)/1.12 var(--sans);
  letter-spacing: -.035em;
}
.storefront-home .card-identity { min-width: 0; }
.storefront-home .card-identity > span { overflow-wrap: anywhere; }
.storefront-home .card-description, .storefront-home .card-meta { color: var(--muted); }
.storefront-home .card-meta { flex-wrap: wrap; gap: 3px 6px; }
.storefront-home .menu-indicator { color: var(--deep); letter-spacing: 0; }
.storefront-home .featured-badge { background: #ffebd7; color: #79340f; }
.storefront-home .restaurant-status {
  background: #fffaf0;
  color: #633b33;
  border-radius: 14px;
  box-shadow: 0 1px 5px #0002;
}
.storefront-home .restaurant-status[data-status="open"] { color: #204c34; background: #e9f6e9; }
.storefront-home .restaurant-status[data-status="paused"] { color: #6b420f; background: #fff0d5; }
.storefront-home .restaurant-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 2px;
}

.marketplace-home .results-content {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 12px 20px;
  align-items: start;
}
.marketplace-home .section-head { grid-column: 1 / -1; margin-bottom: 0; }
.marketplace-home .categories {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fffdfa;
}
.marketplace-home .categories h3 { margin: 0 0 4px; font-size: 15px; }
.marketplace-home .categories .category { border-radius: 9px; }
.marketplace-home .restaurant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.marketplace-home .restaurant-button { display: grid; grid-template-columns: minmax(94px, 25%) minmax(0, 1fr); }
.marketplace-home .card-photo { aspect-ratio: auto; height: 100%; min-height: 126px; }
.marketplace-home .card-content { justify-content: center; }
.marketplace-home .menu-indicator { display: none; }
.marketplace-home .empty-results { grid-column: 2; }

.storefront-home .results-toolbar,
.storefront-home .result-featured,
.storefront-home .how-to-order,
.storefront-home .menu-page-hero {
  background: linear-gradient(112deg, #963005, #b53d02);
  border-color: #a53b08;
  color: #fff;
}
.storefront-home .how-to-order p,
.storefront-home .results-toolbar h1,
.storefront-home .results-toolbar .location-message,
.storefront-home .results-toolbar .pilot-areas { color: #fff; }
.storefront-home .how-to-order .how-icon { background: #fff0e6; color: #963005; }
.storefront-home .results-sidebar,
.storefront-home .result-sort select,
.storefront-home .location-form { border-color: var(--line); }
.storefront-home .menu-heading h1 { color: #fff; font-family: var(--sans); }
.storefront-home .menu-page-hero .menu-heading > p,
.storefront-home .menu-page-hero .menu-heading dt,
.storefront-home .menu-page-hero .menu-heading dd { color: #fff8f1; }
.storefront-home .menu-heading #back-to-restaurants,
.storefront-home .menu-page-hero .menu-heading .menu-cuisine { color: #fff8f1; }
.storefront-home .menu-facts div { border-left-color: #d99b77; }
.storefront-home .menu-hero-photo { background: #eee2cd; }
.storefront-home .menu-order-panel,
.storefront-home .full-menu { background: #fffefa; border-color: var(--line); }
.storefront-home .full-menu h2,
.storefront-home .menu-order-panel h2 { font-family: var(--sans); letter-spacing: -.04em; }
.storefront-home .menu-line button, .storefront-home .quantity button {
  color: var(--deep);
  border-color: #edc5ab;
  background: #fff1e7;
}
.storefront-home .mode { background: #963005; border-color: #c87d56; }
.storefront-home .mode button { color: #fff; }
.storefront-home .mode button[aria-pressed="true"] { color: var(--deep); }
.storefront-home .dialog-head, .storefront-home .dialog-foot { background: #fff3ea; }
.storefront-home .dish-options { --option-accent: var(--deep); --option-border: var(--line); }
.storefront-home .dish-options-grid label:has(input:checked) { background: #ffeadb; }
.storefront-home footer { border-color: var(--line); }
.storefront-home .footer-inner { flex-wrap: wrap; gap: 12px 22px; }

.foodora-interior .courier-hero,
.foodora-interior .operations-head {
  background: linear-gradient(112deg, #963005 0%, #b53d02 54%, #ec8217 100%);
  border-color: #a53b08;
  color: #fff;
}
.foodora-interior .courier-hero h1,
.foodora-interior .operations-head h1 { color: #fff; }
.foodora-interior .operations-head p,
.foodora-interior .courier-intro .eyebrow { color: #fff8ef; }
.foodora-interior .courier-intro .light-action,
.foodora-interior .apply-panel,
.foodora-interior .operation-notice { background: #ffebdb; color: var(--ink); }
.foodora-interior .apply-copy h2,
.foodora-interior .apply-copy .eyebrow { color: var(--deep); }
.foodora-interior .courier-form > input:not([type="hidden"]),
.foodora-interior .courier-form select,
.foodora-interior .restaurant-switch select,
.foodora-interior .secondary { border-color: var(--line); }
.foodora-interior .secondary:hover { background: #fff0e6; }
.foodora-receipt .brand,
.foodora-bistro-login .brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #211b18;
  color: #fff9f3;
  padding: 7px 12px 9px;
  border-radius: 9px;
  font: 800 30px/1 "DM Sans", "Segoe UI", sans-serif;
  letter-spacing: -.08em;
}
.foodora-bistro-login .brand-cutlery { width: .84em; height: .84em; color: #ff9a58; }
.foodora-bistro-login .brand-wordmark > span { color: #ff9a58; }
.foodora-bistro-login h2 { color: #221c19; font-family: "DM Sans", "Segoe UI", sans-serif; }
body:has(.foodora-bistro-login) { background: linear-gradient(130deg, #211b18, #933409); }
body:has(.foodora-bistro-login) .oe_login_form .btn-primary {
  --btn-bg: #a63f13;
  --btn-border-color: #a63f13;
  background: #a63f13;
  border-color: #a63f13;
}
@media print {
  body.foodora-receipt, .foodora-receipt .brand { background: white; color: #221c19; }
  .foodora-receipt .brand-wordmark,
  .foodora-receipt .brand-wordmark > span,
  .foodora-receipt .brand-cutlery { color: #221c19; }
}

@media (max-width: 1050px) {
  .storefront-home .nav { min-height: 64px; gap: 11px; }
}
@media (max-width: 760px) {
  .storefront-home .shell { width: calc(100% - 28px); }
  .marketplace-home .hero {
    margin-top: 12px;
    background: linear-gradient(155deg, #963005 0%, #ab3604 70%, #c34e0a 100%);
  }
  .marketplace-home .hero-content { padding: 17px; }
  .marketplace-home .results-content { grid-template-columns: minmax(0, 1fr); }
  .marketplace-home .restaurant-grid { grid-template-columns: minmax(0, 1fr); }
  .marketplace-home .empty-results { grid-column: 1; }
  .marketplace-home .categories h3 { display: none; }
  .storefront-home .section-head { flex-wrap: wrap; align-items: stretch; }
  .storefront-home .section-head .search { width: 100%; max-width: none; }
  .storefront-home .categories { display: flex; flex-wrap: nowrap; overflow-x: auto; padding: 3px; }
  .marketplace-home .categories { border: 0; background: transparent; }
  .storefront-home .category { flex: none; }
  .storefront-home .card-content { padding: 11px; }
  .storefront-home .menu-indicator { display: none; }
  .foodora-interior .nav { height: auto; flex-wrap: wrap; padding-block: 10px; }
  .foodora-interior .nav nav { flex-basis: 100%; flex-wrap: wrap; order: 3; }
  .foodora-interior .nav nav > a { display: inline-flex; }
}

.storefront-home .storefront-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.storefront-footer .brand { justify-self: start; }
.storefront-footer .footer-copyright { margin: 0; text-align: center; }
.storefront-footer .footer-owner { margin: 0; justify-self: end; text-align: right; }
@media (max-width: 760px) {
  .storefront-home .storefront-footer { grid-template-columns: 1fr; }
  .storefront-footer .brand { justify-self: center; }
}

@media print {
  .foodora-receipt footer:has(.storefront-footer) { display: none; }
}

#delivery-details textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
