/* ==========================================================================
   HOCHWALD — Base, layout & page sections
   ========================================================================== */

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
  color: var(--color-text);
  background-color: var(--color-cream);
  background-image:
    radial-gradient(120% 60% at 50% 0%, #fbf6ef 0%, rgba(251, 246, 239, 0) 70%),
    linear-gradient(180deg, #faf5ee 0%, var(--color-cream) 40%, #f6eee3 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom));
}

html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  inset-inline-start: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-text);
  color: var(--color-white);
  font-weight: 700;
  transition: top var(--duration-fast) ease;
}

.skip-link:focus {
  top: 12px;
}

/* i18n: hide texts until translations are applied (prevents flash) */
html:not(.i18n-ready) [data-i18n] {
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   App shell
   -------------------------------------------------------------------------- */

.app-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--page-max);
  min-height: calc(100vh - var(--bottom-nav-height) - var(--safe-bottom));
  min-height: calc(100dvh - var(--bottom-nav-height) - var(--safe-bottom));
  margin: 0 auto;
  isolation: isolate;
}

/* footer always sits at the bottom, even on short pages */
.app-shell > main {
  flex: 1 0 auto;
}

.app-shell > .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.page-decor {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.decor {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}

.decor--leaves-top-left {
  top: -10px;
  inset-inline-start: -30px;
  width: 150px;
  height: 190px;
  background-image: url("../assets/backgrounds/leaves-top-left.webp");
  filter: blur(1.5px);
  opacity: 0.9;
}

.decor--leaves-top-right {
  top: -6px;
  inset-inline-end: -26px;
  width: 150px;
  height: 250px;
  background-image: url("../assets/backgrounds/leaves-top-right.webp");
  background-position: top right;
  opacity: 0.95;
}

.decor--leaves-side-left {
  top: 780px;
  inset-inline-start: -20px;
  width: 60px;
  height: 180px;
  background-image: url("../assets/backgrounds/leaves-side-left.webp");
}

.decor--leaves-side-right {
  top: 730px;
  inset-inline-end: -16px;
  width: 50px;
  height: 160px;
  background-image: url("../assets/backgrounds/leaves-side-right.webp");
  background-position: right;
}

.decor--leaves-bottom-left {
  bottom: 120px;
  inset-inline-start: -14px;
  width: 70px;
  height: 110px;
  background-image: url("../assets/backgrounds/leaves-side-left.webp");
}

.decor--leaves-bottom-right {
  bottom: 110px;
  inset-inline-end: -14px;
  width: 70px;
  height: 120px;
  background-image: url("../assets/backgrounds/leaves-side-right.webp");
  background-position: right;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 10px 14px 0;
}

.site-header__start {
  justify-self: start;
  padding-top: 3px;
}

.site-header__end {
  justify-self: end;
  padding-top: 3px;
}

.site-logo {
  display: block;
  width: 128px;
  margin-top: -5px;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.page--home .site-logo {
  width: 130px;
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  margin-top: 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px 0 20px;
  margin-bottom: 8px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 18.5px;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.section-title--italic {
  font-style: italic;
  font-weight: 900;
}

.section-title__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.section-title__icon--flame {
  color: var(--color-flame);
}

.section-title__icon--cutlery {
  color: var(--color-red-dark);
  width: 20px;
  height: 22px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-gold);
  white-space: nowrap;
  transition: gap var(--duration-fast) var(--ease-out), color var(--duration-fast) ease;
}

.section-link .icon {
  width: 12px;
  height: 12px;
}

.section-link:hover {
  gap: 8px;
  color: var(--color-gold-dark);
}

html[dir="rtl"] .section-link .icon,
html[dir="rtl"] .btn .icon--arrow-right,
html[dir="rtl"] .icon--chevron-right,
html[dir="rtl"] .icon--back {
  transform: scaleX(-1);
}

/* --------------------------------------------------------------------------
   HOME — Hero
   -------------------------------------------------------------------------- */

.home-hero {
  position: relative;
  margin-top: -66px;
  padding: 84px 0 0;
  min-height: 282px;
}

.home-hero__media {
  position: absolute;
  top: 30px;
  inset-inline-end: 0;
  width: 50%;
  height: 246px;
  z-index: 0;
  pointer-events: none;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 100% 50%;
  filter: drop-shadow(0 14px 18px rgba(60, 35, 10, 0.28));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

html[dir="rtl"] .home-hero__image {
  transform: scaleX(-1);
}

.home-hero__brush-tag {
  position: absolute;
  inset-inline-end: 4px;
  bottom: 14px;
  width: 104px;
  padding: 7px 10px 8px 12px;
  transform: rotate(-17deg);
  color: #fff;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.02;
  text-align: center;
  white-space: pre-line;
  z-index: 1;
}

.home-hero__brush-tag::before {
  content: "";
  position: absolute;
  inset: -2px -6px;
  z-index: -1;
  background: var(--color-green-brush);
  -webkit-mask: var(--mask-brush) center / 100% 100% no-repeat;
  mask: var(--mask-brush) center / 100% 100% no-repeat;
}

.home-hero__brush-tag .icon {
  display: inline-block;
  width: 9px;
  height: 9px;
  vertical-align: -1px;
  margin-inline-start: 2px;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding-inline-start: 23px;
  max-width: 220px;
}

.home-hero__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-text);
  text-transform: uppercase;
  white-space: nowrap;
}

.home-hero__title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 2px;
  line-height: 1;
  white-space: nowrap;
}

.home-hero__title-bold {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 43px;
  letter-spacing: 0.005em;
  color: #111;
  text-transform: uppercase;
}

.home-hero__title-script {
  position: relative;
  font-family: var(--font-script);
  font-size: 40px;
  color: var(--color-green);
  text-transform: uppercase;
  transform: rotate(-4deg) translateY(-2px);
}

.home-hero__title-script::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  bottom: -9px;
  width: 64px;
  height: 5px;
  background: var(--color-green);
  -webkit-mask: var(--mask-underline) center / 100% 100% no-repeat;
  mask: var(--mask-underline) center / 100% 100% no-repeat;
}

html[dir="rtl"] .home-hero__title-bold {
  font-family: var(--font-arabic);
  font-weight: 900;
  font-size: 38px;
}

html[dir="rtl"] .home-hero__title-script {
  font-family: var(--font-arabic-script);
  font-size: 38px;
}

.hero-features {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-inline-start: -6px;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  text-align: center;
}

.hero-feature__icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1.5px solid #3f5a2c;
  color: #eef3e4;
  background: radial-gradient(circle at 35% 30%, #6f8f4f 0%, #4d6a36 70%);
  box-shadow: 0 2px 5px rgba(46, 60, 33, 0.25);
}

.hero-feature__icon .icon {
  width: 13px;
  height: 13px;
}

.hero-feature__label {
  margin-top: 5px;
  font-size: 8px;
  line-height: 1.2;
  color: var(--color-text-soft);
  white-space: pre-line;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text);
}

.hero-location .icon {
  width: 12px;
  height: 13px;
}

.home-hero__cta {
  margin-top: 11px;
}

/* --------------------------------------------------------------------------
   HOME — sections
   -------------------------------------------------------------------------- */

.home-categories {
  position: relative;
  z-index: 3;
  margin: 2px 6px 0;
}

.home-offers {
  margin-top: 22px;
}

.home-offers .section-head {
  padding-inline-start: 20px;
}

.home-popular {
  margin-top: 16px;
}

.home-values {
  margin: 12px 14px 0;
}

.home-info {
  margin: 10px 14px 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: 12px;
}

.site-footer__landscape {
  position: relative;
  height: 128px;
  overflow: hidden;
}

.site-footer__landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}

.site-footer__legal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 12px;
  padding: 4px 14px 5px;
  font-size: 7.5px;
  color: rgba(239, 229, 211, 0.75);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.site-footer__legal:empty {
  display: none;
}

.page--contact .site-footer__legal {
  position: static;
  padding: 4px 14px 10px;
  color: var(--color-text-muted);
  text-shadow: none;
}

.page--contact .site-footer__legal a {
  color: var(--color-gold-dark);
}

.page--contact .site-footer__copyright {
  color: var(--color-text-faint);
}

.site-footer__legal a {
  color: #efe5d3;
}

.site-footer__legal a:hover {
  color: var(--color-gold-pale);
}

.site-footer__copyright {
  width: 100%;
  text-align: center;
  color: rgba(239, 229, 211, 0.7);
}

/* --------------------------------------------------------------------------
   MENU page
   -------------------------------------------------------------------------- */

.page-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-title--menu {
  margin-top: 2px;
}

.page-title__script {
  position: relative;
  z-index: 0;
  padding: 0 26px;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 43px;
  line-height: 1.1;
  color: var(--color-green);
  transform: rotate(-3deg);
  margin-bottom: 2px;
}

.page-title__script--brushed::before {
  content: "";
  position: absolute;
  inset: 22% -6px 14% -12px;
  z-index: -1;
  background: var(--color-beige-brush);
  opacity: 0.9;
  -webkit-mask: var(--mask-brush-soft) center / 100% 100% no-repeat;
  mask: var(--mask-brush-soft) center / 100% 100% no-repeat;
  transform: rotate(3deg);
}

html[dir="rtl"] .page-title__script {
  font-family: var(--font-arabic-script);
  font-weight: 700;
  font-size: 42px;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--color-text);
  text-transform: uppercase;
  white-space: nowrap;
}

html[dir="rtl"] .tagline {
  letter-spacing: 0.08em;
  font-size: 10px;
}

.tagline .icon {
  width: 12px;
  height: 12px;
  color: var(--color-text);
}

.menu-search {
  margin: 13px 15px 0;
}

.menu-categories-bar {
  position: sticky;
  top: 0;
  z-index: 25;
  margin-top: 10px;
  padding: 6px 0 4px;
  transition: background-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

.menu-categories-bar.is-stuck {
  background: rgba(250, 245, 238, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 6px 18px rgba(80, 52, 18, 0.08);
}

.menu-sections {
  padding: 0 0 14px;
}

.menu-empty-search {
  display: none;
  margin: 24px 15px;
  padding: 26px 18px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--color-surface-glass);
  box-shadow: var(--shadow-soft);
  color: var(--color-text-muted);
  font-size: 13px;
}

.menu-empty-search.is-visible {
  display: block;
}

.menu-empty-search strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   OFFERS page
   -------------------------------------------------------------------------- */

.offers-hero {
  position: relative;
  min-height: 104px;
  padding: 0 14px;
}

.offers-hero__title {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  margin-inline-start: 22px;
  margin-top: -8px;
}

.offers-hero__eyebrow {
  margin-inline-start: 70px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--color-text);
}

.offers-hero__script {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.05;
  color: var(--color-green);
  transform: rotate(-4deg);
  transform-origin: left center;
}

.offers-hero__script .icon {
  width: 18px;
  height: 18px;
  margin-top: 10px;
  color: var(--color-green);
  transform: rotate(4deg);
}

html[dir="rtl"] .offers-hero__script {
  font-family: var(--font-arabic-script);
  font-weight: 700;
  font-size: 44px;
  transform-origin: right center;
}

.offers-hero .tagline {
  margin-inline-start: 104px;
  margin-top: 2px;
}

.offers-hero__brush-tag {
  position: absolute;
  top: -14px;
  inset-inline-end: 34px;
  width: 124px;
  padding: 10px 12px 12px;
  transform: rotate(-14deg);
  color: #fff8ec;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.02;
  text-align: center;
  white-space: pre-line;
  z-index: 1;
}

.offers-hero__brush-tag::before {
  content: "";
  position: absolute;
  inset: 0 -6px;
  z-index: -1;
  background: #9b6a36;
  -webkit-mask: var(--mask-brush) center / 100% 100% no-repeat;
  mask: var(--mask-brush) center / 100% 100% no-repeat;
}

.offers-list {
  display: grid;
  gap: 10px;
  padding: 6px 12px 0;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.offers-values {
  position: relative;
  margin: 18px 14px 0;
}

/* --------------------------------------------------------------------------
   CONTACT page
   -------------------------------------------------------------------------- */

.contact-hero {
  position: relative;
  min-height: 186px;
  padding-bottom: 14px;
  color: var(--color-white);
  background-color: #1c1714;
  background-image:
    linear-gradient(180deg, rgba(18, 14, 12, 0.35) 0%, rgba(18, 14, 12, 0.15) 60%, rgba(18, 14, 12, 0.45) 100%),
    var(--contact-hero-image, url("../assets/hero/contact-hero.webp"));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.contact-hero .site-header {
  padding-top: 11px;
}

.contact-hero .site-logo {
  width: 114px;
  margin-top: -2px;
}

.contact-hero .icon-circle {
  width: 33px;
  height: 33px;
}

.contact-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: -2px;
  padding: 0 14px;
}

.contact-hero__script {
  position: relative;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.1;
  color: #fff;
  transform: rotate(-3deg);
}

.contact-hero__script::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 68px;
  height: 5px;
  transform: translateX(-50%) rotate(3deg);
  background: var(--color-gold-light);
  -webkit-mask: var(--mask-underline) center / 100% 100% no-repeat;
  mask: var(--mask-underline) center / 100% 100% no-repeat;
}

html[dir="rtl"] .contact-hero__script {
  font-family: var(--font-arabic-script);
  font-weight: 700;
  font-size: 40px;
}

.contact-hero__lead {
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 500;
}

.contact-hero__sub {
  margin-top: 3px;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-body {
  display: grid;
  gap: 6px;
  padding: 10px 27px 14px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 1px 0;
}

.contact-map {
  position: relative;
  height: 89px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #e9e5dc;
  box-shadow: var(--shadow-soft);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.contact-socials:empty {
  display: none;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 22px 30px;
}

.not-found__code {
  font-family: var(--font-display);
  font-size: 92px;
  line-height: 1;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

.not-found__title {
  margin-top: 6px;
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--color-green);
}

html[dir="rtl"] .not-found__title {
  font-family: var(--font-arabic-script);
}

.not-found__text {
  margin-top: 10px;
  max-width: 280px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.not-found .btn {
  margin-top: 20px;
}
