:root {
  --brand: #921713;
  --brand-dark: #67100d;
  --brand-deep: #430806;
  --brand-soft: #fff0ed;
  --gold: #f4aa32;
  --gold-soft: #fff4dd;
  --ink: #211d1b;
  --muted: #6d6662;
  --line: #e7dfdc;
  --surface: #ffffff;
  --page: #f5f2f0;
  --success: #17663a;
  --shadow: 0 12px 32px rgba(54, 17, 13, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1500px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 64px;
  max-width: 180px;
  object-fit: contain;
  border-radius: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 11px 15px;
  color: #3c3532;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
  outline: none;
}

.opening-banner {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand) 62%, #ae211b);
  box-shadow: 0 9px 24px rgba(76, 10, 7, 0.18);
}

.opening-banner__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.opening-banner__label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.opening-banner strong {
  color: var(--gold);
  font-size: clamp(1.18rem, 2.4vw, 1.65rem);
  letter-spacing: 0.02em;
}

.order-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-block: 18px 44px;
}

.restaurant-card,
.order-panel,
.content-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.restaurant-card {
  position: sticky;
  top: 104px;
}

.restaurant-cover {
  width: 100%;
  height: 165px;
  object-fit: cover;
}

.restaurant-card__body {
  padding: 22px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.25;
}

h1 {
  margin-bottom: 6px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

p {
  margin-top: 0;
}

.restaurant-type,
.muted {
  color: var(--muted);
}

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

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 11px;
  color: var(--success);
  background: #eaf7ef;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}

.service-badge::before {
  width: 8px;
  height: 8px;
  content: "";
  background: #20a45a;
  border-radius: 50%;
}

.quick-facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.quick-facts div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.quick-facts dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
}

.quick-facts a,
.text-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.order-panel {
  min-width: 0;
  min-height: 680px;
}

.order-panel__head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.order-panel__head h2 {
  margin-bottom: 4px;
}

.order-panel__head p {
  margin-bottom: 0;
}

.delivery-note {
  margin: 16px 24px 0;
  padding: 12px 14px;
  color: #6a240f;
  background: var(--gold-soft);
  border: 1px solid #f2d08f;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.order-widget {
  min-width: 0;
  min-height: 520px;
  padding: 18px 12px;
  overflow-x: auto;
}

.order-widget #pjWrapperFoodDelivery_theme2 {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.order-widget .container,
.order-widget .container-fluid {
  width: 100% !important;
  max-width: none !important;
}

.system-message {
  margin: 24px;
  padding: 16px;
  background: var(--brand-soft);
  border-radius: 10px;
}

.page-main {
  padding-block: 24px 48px;
}

.info-hero {
  min-height: 320px;
  display: grid;
  align-items: end;
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 52px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(60, 7, 5, 0.94), rgba(60, 7, 5, 0.18)),
    url("order-banner.jpg") center/cover no-repeat;
  border-radius: 16px;
  overflow: hidden;
}

.info-hero__inner {
  max-width: 720px;
}

.info-hero .eyebrow {
  color: var(--gold);
}

.info-hero p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
}

.info-grid,
.legal-layout {
  display: grid;
  gap: 24px;
}

.info-grid {
  grid-template-columns: 1.2fr 0.8fr;
  margin-bottom: 24px;
}

.content-card {
  padding: 26px;
}

.content-card > :last-child,
.legal-copy > :last-child {
  margin-bottom: 0;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.info-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-list dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.info-list dd {
  margin: 3px 0 0;
}

.delivery-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-left: 5px solid var(--brand);
}

.delivery-area p:last-child {
  margin-bottom: 0;
}

.favorites {
  margin-top: 24px;
}

.favorites-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.favorites-head h2,
.favorites-head p {
  margin-bottom: 0;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dish-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.dish-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.dish-copy {
  padding: 17px;
}

.dish-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.dish-title span {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dish-title strong {
  padding: 5px 9px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dish-card h3 {
  margin-bottom: 7px;
}

.dish-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  color: #fff;
  background: var(--brand);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--brand-dark);
  outline: 3px solid rgba(146, 23, 19, 0.2);
  outline-offset: 2px;
}

.legal-layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
  margin-inline: auto;
}

.legal-copy h2 {
  margin-top: 32px;
  font-size: 1.25rem;
}

.legal-copy h3 {
  margin-top: 24px;
  font-size: 1rem;
}

.legal-placeholder {
  display: inline-block;
  min-width: 220px;
  min-height: 1.65rem;
  border-bottom: 1px dashed #b7aba6;
}

.site-footer {
  color: #e4deda;
  background: var(--brand-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 32px;
  padding-block: 34px;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin-bottom: 5px;
}

.site-footer a {
  color: #fff;
  text-underline-offset: 3px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 16px;
  color: #bbaaa3;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.design-credit {
  white-space: nowrap;
}

.design-credit a {
  color: var(--gold);
  font-weight: 600;
}

.mobile-actions {
  display: none;
}

@media (max-width: 1160px) {
  .order-layout,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .restaurant-card {
    position: static;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .restaurant-cover {
    height: 100%;
    min-height: 265px;
  }

  .dish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 64px;
  }

  .shell {
    width: min(100% - 20px, 1500px);
  }

  .header-inner {
    min-height: 70px;
    gap: 8px;
  }

  .brand img {
    width: auto;
    height: 48px;
    max-width: 110px;
    border-radius: 9px;
  }

  .main-nav {
    gap: 2px;
  }

  .main-nav a {
    padding: 9px 8px;
    font-size: 0.78rem;
  }

  .opening-banner__inner {
    min-height: 66px;
    flex-direction: column;
    gap: 0;
    padding-block: 8px;
  }

  .opening-banner__label {
    font-size: 0.68rem;
  }

  .order-layout,
  .page-main {
    padding-top: 10px;
  }

  .order-layout {
    gap: 10px;
  }

  .restaurant-card {
    grid-template-columns: 104px minmax(0, 1fr);
    border-radius: 12px;
    box-shadow: none;
  }

  .restaurant-cover {
    min-height: 175px;
  }

  .restaurant-card__body {
    padding: 14px;
  }

  .restaurant-card h1 {
    font-size: 1.25rem;
  }

  .restaurant-type {
    margin-bottom: 9px;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .service-badge {
    margin-bottom: 0;
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .quick-facts {
    display: none;
  }

  .order-panel {
    min-height: 600px;
    border-radius: 12px;
    box-shadow: none;
  }

  .order-panel__head {
    padding: 17px 16px 14px;
  }

  .order-panel__head h2 {
    font-size: 1.35rem;
  }

  .delivery-note {
    margin: 12px 12px 0;
    padding: 10px 12px;
  }

  .order-widget {
    padding: 8px 4px;
  }

  .info-hero {
    min-height: 260px;
    margin-bottom: 10px;
    padding: 24px 20px;
    border-radius: 12px;
  }

  .info-grid {
    gap: 10px;
  }

  .content-card {
    padding: 20px 17px;
    border-radius: 12px;
    box-shadow: none;
  }

  .delivery-area {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .favorites-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .dish-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
  }

  .mobile-actions a {
    display: grid;
    min-height: 48px;
    place-items: center;
    color: var(--brand);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--brand);
    border-radius: 10px;
  }

  .mobile-actions a:last-child {
    color: #fff;
    background: var(--brand);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 640px) {
  .restaurant-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .restaurant-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }
}
