@font-face {
  font-family: 'Intro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Intro.otf');
}

@font-face {
  font-family: 'HARABARA';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/HARABARA.TTF');
}

@font-face {
  font-family: 'HARABARA-MAIS-LIGHT';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/HARABARA-MAIS-LIGHT.OTF');
}

:root {
  --htr-orange: #f28c28;
  --htr-orange-dark: #d97616;
  --htr-ink: #15171b;
  --htr-muted: #6c7380;
  --htr-line: #e6e0d7;
  --htr-surface: #fffaf4;
  --htr-page: #111418;
  --htr-font-display: "Intro", "Arial Black", Arial, sans-serif;
  --htr-font-body: "HARABARA", Arial, sans-serif;
  --htr-font-body-light: "HARABARA-MAIS-LIGHT", Arial, sans-serif;
}

.restaurant-directory {
  min-height: calc(100vh - 88px);
  background-color: #f4f0ea;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(242, 140, 40, 0.1), transparent 26rem),
    linear-gradient(180deg, #222 0%, #151515 28%, #f4f0ea 78%);
  color: #fff;
  padding: 50px 18px 64px;
}

.restaurant-directory__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.restaurant-directory__hero {
  max-width: 720px;
  margin-bottom: 20px;
}

.restaurant-directory__hero-copy {
  max-width: 720px;
}

.restaurant-directory__eyebrow {
  color: var(--htr-orange);
  font-family: var(--htr-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.restaurant-directory__hero h1 {
  color: #fff;
  font-family: var(--htr-font-display);
  font-size: 2.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.restaurant-directory__hero p:last-child {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--htr-font-body-light);
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 12px 0 0;
}

.restaurant-search {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  max-width: 680px;
  padding: 0 18px;
}

.restaurant-grid-heading {
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  font-family: var(--htr-font-display);
  font-size: 0.86rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0;
  margin: 0 0 18px;
}

.restaurant-grid-heading p {
  margin: 0;
}

.restaurant-search__icon {
  color: var(--htr-muted);
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.restaurant-search input {
  background: transparent;
  border: 0;
  color: var(--htr-ink);
  font-family: var(--htr-font-body-light);
  font-size: 1rem;
  min-height: 58px;
  outline: 0;
  width: 100%;
}

.restaurant-search input::placeholder {
  color: #89919d;
}

.restaurant-search__location-btn {
  background: #15171b;
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  font-family: var(--htr-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  min-height: 38px;
  padding: 10px 14px;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease;
}

.restaurant-search__location-btn:hover,
.restaurant-search__location-btn:focus {
  background: var(--htr-orange-dark);
}

.restaurant-search__location-btn:disabled {
  cursor: default;
  opacity: 0.78;
}

.restaurant-location-status {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--htr-font-body-light);
  font-size: 0.96rem;
  line-height: 1.35;
  margin: -6px 0 16px;
  min-height: 1.35em;
}

.restaurant-location-status.is-error {
  color: #ffd8c2;
}

.restaurant-carousel {
  position: relative;
}

.restaurant-carousel__arrow {
  align-items: center;
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(60, 50, 35, 0.12);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  color: #24272d;
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 245px;
  transform: translateY(-50%);
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
  width: 48px;
  z-index: 3;
}

.restaurant-carousel__arrow span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 0.75;
  margin-top: -3px;
}

.restaurant-carousel__arrow--prev {
  left: -24px;
}

.restaurant-carousel__arrow--next {
  right: -24px;
}

.restaurant-carousel__arrow:hover,
.restaurant-carousel__arrow:focus {
  background: var(--htr-orange);
  color: #fff;
  outline: 0;
  transform: translateY(-50%) scale(1.04);
}

.restaurant-carousel__arrow:disabled {
  cursor: default;
  opacity: 0;
  pointer-events: none;
}

.restaurant-results {
  display: grid;
  gap: 18px;
  grid-auto-columns: minmax(320px, 360px);
  grid-auto-flow: column;
  grid-template-columns: none;
  margin: 0 -18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 18px 18px;
  scroll-padding-inline: 18px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(21, 23, 27, 0.34) transparent;
}

.restaurant-card {
  background: #fffdf9;
  border: 1px solid rgba(60, 50, 35, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  color: var(--htr-ink);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.restaurant-card__media {
  align-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, #f0ede8 0%, #ddd5ca 100%);
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.restaurant-card__media::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.12) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.restaurant-card__cover {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.restaurant-card__logo {
  display: block;
  max-height: 58%;
  max-width: 58%;
  object-fit: contain;
  position: relative;
  width: auto;
  z-index: 1;
}

.restaurant-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
}

.restaurant-card__header {
  min-width: 0;
  padding-bottom: 12px;
}

.restaurant-card__logo-fallback {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(60, 50, 35, 0.08);
  border-radius: 50%;
  color: #a95f18;
  display: flex;
  font-family: var(--htr-font-display);
  font-size: 2rem;
  font-weight: 700;
  height: 86px;
  justify-content: center;
  line-height: 1;
  position: relative;
  text-transform: uppercase;
  width: 86px;
  z-index: 1;
}

.restaurant-card__cover + .restaurant-card__logo-fallback,
.restaurant-card__logo + .restaurant-card__logo-fallback {
  display: none;
}

.restaurant-card__media--fallback .restaurant-card__logo-fallback {
  display: flex;
}

.restaurant-card__title-wrap {
  margin: 0 !important;
  min-width: 0;
  padding: 0 !important;
}

.restaurant-card__title {
  color: var(--htr-ink);
  display: block;
  font-family: var(--htr-font-display);
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  hyphens: auto;
  letter-spacing: 0;
  line-height: 1.1 !important;
  margin: 0 !important;
  overflow: visible;
  overflow-wrap: break-word;
  padding: 0 !important;
  word-break: normal;
}

.restaurant-card__local-name {
  color: rgba(21, 23, 27, 0.64);
  font-family: var(--htr-font-body-light);
  font-size: 0.72em;
  font-weight: 600;
  line-height: 1.2;
  margin-left: 6px;
  white-space: normal;
}

.restaurant-card__location-line {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  min-width: 0;
}

.restaurant-card__distance-badge {
  align-items: center;
  background: #fff2e5;
  border: 1px solid rgba(242, 140, 40, 0.38);
  border-radius: 999px;
  color: #a45209;
  display: inline-flex;
  font-family: var(--htr-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  min-height: 30px;
  padding: 7px 11px;
  width: fit-content;
}

.restaurant-card__location-badge {
  align-items: center;
  background: #f4f1ec;
  border: 1px solid rgba(60, 50, 35, 0.14);
  border-radius: 999px;
  color: #2f3338;
  display: inline-flex;
  font-family: var(--htr-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  min-height: 30px;
  padding: 7px 11px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  width: fit-content;
}

.restaurant-card__location-badge:hover,
.restaurant-card__location-badge:focus {
  background: #fff;
  border-color: rgba(242, 140, 40, 0.5);
  color: #a45209;
  text-decoration: none;
}

.restaurant-card__menu-badge {
  align-items: center;
  background: var(--htr-orange);
  border: 1px solid var(--htr-orange);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--htr-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  min-height: 30px;
  padding: 7px 11px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  width: fit-content;
}

.restaurant-card__menu-badge:hover,
.restaurant-card__menu-badge:focus {
  background: var(--htr-orange-dark);
  border-color: var(--htr-orange-dark);
  color: #fff;
  text-decoration: none;
}

.restaurant-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 0 0 14px;
}

.restaurant-card__body.is-empty {
  padding: 0 0 14px;
}

.restaurant-card__meta,
.restaurant-card__summary {
  color: #4f5762;
  font-family: var(--htr-font-body-light);
  font-size: 0.92rem;
  line-height: 1.42;
  margin: 0;
}

.restaurant-card__meta {
  color: rgba(21, 23, 27, 0.62);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.restaurant-card__summary {
  margin-top: 0;
}

.restaurant-card__availability {
  background: #f8f4ee;
  border: 1px solid rgba(60, 50, 35, 0.08);
  border-radius: 8px;
  margin-top: auto;
  padding: 11px;
}

.restaurant-card__availability-title {
  color: rgba(21, 23, 27, 0.82);
  font-family: var(--htr-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.restaurant-card__turns {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.restaurant-card__turn-chip {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(60, 50, 35, 0.12);
  border-radius: 999px;
  color: #2d3137;
  display: inline-flex;
  font-family: var(--htr-font-body);
  font-size: 0.86rem;
  line-height: 1;
  min-height: 30px;
  padding: 6px 10px;
}

.restaurant-card__availability-empty {
  color: rgba(21, 23, 27, 0.58);
  font-family: var(--htr-font-body-light);
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0;
}

.restaurant-card__actions {
  border-top: 1px solid rgba(230, 224, 215, 0.86);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
}

.restaurant-card__secondary-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.restaurant-card__secondary-actions:empty {
  display: none;
}

.restaurant-card__button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  flex: 1 1 auto;
  font-family: var(--htr-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  min-width: 0;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.restaurant-card__reserve-btn {
  flex: 1 1 auto;
}

.restaurant-card__actions--single .restaurant-card__reserve-btn {
  flex: 1 1 100%;
}

.restaurant-card__button:hover,
.restaurant-card__button:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .restaurant-card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
  }
}

.restaurant-card__button--primary {
  background: var(--htr-orange);
  border: 1px solid var(--htr-orange);
  color: #fff;
}

.restaurant-card__button--primary:hover,
.restaurant-card__button--primary:focus {
  background: var(--htr-orange-dark);
  border-color: var(--htr-orange-dark);
  color: #fff;
}

.restaurant-card__button--secondary {
  background: transparent;
  border: 1px solid #cbc2b7;
  color: #34373d;
  font-weight: 600;
}

.restaurant-card__button--secondary:hover,
.restaurant-card__button--secondary:focus {
  background: #f7f1e9;
  border-color: #b8ada0;
  color: #15171b;
}

.restaurant-empty,
.restaurant-loading {
  background: #f6f4f0;
  border: 1px solid rgba(60, 50, 35, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.035);
  color: var(--htr-ink);
  grid-column: 1 / -1;
  padding: 38px 28px;
  text-align: center;
}

.restaurant-empty h2,
.restaurant-loading p {
  color: var(--htr-ink);
  font-family: var(--htr-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.restaurant-empty p {
  color: var(--htr-muted);
  font-family: var(--htr-font-body-light);
  font-size: 1rem;
  margin: 8px 0 0;
}

.restaurant-owner-callout {
  align-items: center;
  background: #15171b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-top: 22px;
  padding: 26px 28px;
}

.restaurant-owner-callout__eyebrow {
  color: var(--htr-orange);
  font-family: var(--htr-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.restaurant-owner-callout h2 {
  color: #fff;
  font-family: var(--htr-font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
}

.restaurant-owner-callout p:last-child {
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--htr-font-body-light);
  font-size: 1rem;
  line-height: 1.42;
  margin: 10px 0 0;
  max-width: 640px;
}

.restaurant-owner-callout a {
  align-items: center;
  background: var(--htr-orange);
  border: 1px solid var(--htr-orange);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: var(--htr-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  text-align: center;
  text-decoration: none;
}

.restaurant-owner-callout a:hover,
.restaurant-owner-callout a:focus {
  background: var(--htr-orange-dark);
  border-color: var(--htr-orange-dark);
  color: #fff;
  text-decoration: none;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 991px) {
  .restaurant-directory {
    padding-top: 46px;
  }

  .restaurant-directory__hero h1 {
    font-size: 2.45rem;
  }

  .restaurant-results {
    grid-auto-columns: minmax(300px, 340px);
  }
}

@media (max-width: 640px) {
  .restaurant-directory {
    background-color: #f4f0ea;
    background-image:
      radial-gradient(circle at 10% 0%, rgba(242, 140, 40, 0.12), transparent 18rem),
      linear-gradient(180deg, #222 0%, #151515 30%, #f4f0ea 78%);
    padding: 34px 14px 40px;
  }

  .restaurant-directory__hero {
    margin-bottom: 16px;
  }

  .restaurant-directory__hero h1 {
    font-size: 2rem;
  }

  .restaurant-directory__hero p:last-child {
    font-size: 1rem;
  }

  .restaurant-search {
    border-radius: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .restaurant-search input {
    min-height: 40px;
  }

  .restaurant-search__location-btn {
    width: 100%;
  }

  .restaurant-results {
    grid-auto-columns: 100%;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    margin: 0;
    overflow: visible;
    padding: 0;
    row-gap: 14px;
    scroll-snap-type: none;
  }

  .restaurant-carousel__arrow {
    display: none;
  }

  .restaurant-card {
    border-radius: 8px;
    min-height: 0;
  }

  .restaurant-card__content {
    padding: 14px;
  }

  .restaurant-card__logo-fallback {
    font-size: 1.65rem;
    height: 72px;
    width: 72px;
  }

  .restaurant-card__title {
    font-size: 1.15rem !important;
    line-height: 1.1 !important;
  }

  .restaurant-card__body {
    gap: 10px;
    padding: 0 0 12px;
  }

  .restaurant-card__body.is-empty {
    padding: 0 0 12px;
  }

  .restaurant-card__meta,
  .restaurant-card__summary {
    font-size: 0.88rem;
  }

  .restaurant-card__actions {
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
  }

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

  .restaurant-card__button {
    min-height: 46px;
  }

  .restaurant-owner-callout {
    align-items: stretch;
    border-radius: 16px;
    flex-direction: column;
    gap: 18px;
    padding: 22px 18px;
  }

  .restaurant-owner-callout h2 {
    font-size: 1.3rem;
  }
}
