:root {
  --cream: #fbf4e8;
  --cream-2: #f2e5d2;
  --sand: #dfc9ab;
  --brown: #3b2117;
  --brown-2: #6b4330;
  --gold: #b88a54;
  --ink: #20120d;
  --muted: #816c5e;
  --white: #fffaf1;
  --shadow: 0 22px 60px rgba(59, 33, 23, .14);
  --radius: 24px;
  --bottom-nav: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(184, 138, 84, .16), transparent 34rem),
    linear-gradient(180deg, var(--cream), #fffaf3 46%, var(--cream-2));
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
}

body[dir="rtl"] {
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] .brand strong {
  font-family: Amiri, serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 1rem;
  align-content: center;
  background: var(--cream);
  color: var(--brown);
  transition: opacity .55s ease, visibility .55s ease;
}

.loader img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  filter: drop-shadow(0 18px 32px rgba(59, 33, 23, .14));
  animation: logoFloat 1.8s ease-in-out infinite;
}

.loader span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(.75rem + env(safe-area-inset-top)) 1rem .75rem;
  background: rgba(251, 244, 232, .82);
  border-bottom: 1px solid rgba(59, 33, 23, .08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: .7rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  color: var(--brown);
}

.brand small {
  color: var(--muted);
  font-size: .75rem;
}

.lang-toggle,
.icon-btn {
  border: 1px solid rgba(59, 33, 23, .14);
  background: rgba(255, 250, 241, .78);
  color: var(--brown);
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle {
  padding: .65rem .9rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(59, 33, 23, .08);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--brown);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  transform: scale(1.04);
}

.hero__shade {
  background: linear-gradient(180deg, rgba(32, 18, 13, .24), rgba(32, 18, 13, .38) 36%, rgba(32, 18, 13, .78));
}

.hero__content {
  position: relative;
  width: min(100%, 760px);
  padding: 7.2rem 1.2rem 5.4rem;
}

.eyebrow {
  margin: 0 0 .7rem;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 14vw, 6.8rem);
  line-height: .88;
}

h2 {
  color: var(--brown);
  font-size: clamp(2.1rem, 8vw, 4.3rem);
  line-height: .92;
}

.hero p:not(.eyebrow) {
  max-width: 31rem;
  color: rgba(255, 250, 241, .86);
  font-size: 1rem;
  line-height: 1.7;
}

.hero__actions,
.section__head,
.tabs,
.details-grid,
.steps {
  display: grid;
  gap: .85rem;
}

.hero__actions {
  grid-template-columns: 1fr 1fr;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.2rem;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.lang-toggle:hover,
.icon-btn:hover,
.tab:hover,
.floating-cart:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(59, 33, 23, .25);
}

.hero .btn--primary {
  background: var(--white);
  color: var(--brown);
}

.btn--glass {
  border: 1px solid rgba(255, 250, 241, .38);
  background: rgba(255, 250, 241, .12);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.btn--outline {
  border: 1px solid rgba(59, 33, 23, .18);
  background: rgba(255, 250, 241, .6);
  color: var(--brown);
}

.btn--cream {
  background: var(--white);
  color: var(--brown);
}

.btn--keeta {
  background: #f7cf58;
  color: #1e160d;
}

.btn--wide {
  width: 100%;
}

.status-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
  width: min(calc(100% - 2rem), 980px);
  margin: -2.8rem auto 0;
  padding: 1rem;
  border: 1px solid rgba(255, 250, 241, .7);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-strip div {
  display: grid;
  gap: .2rem;
  padding: .75rem;
  border-radius: 18px;
  background: rgba(251, 244, 232, .72);
}

.status-strip span {
  color: var(--muted);
  font-size: .8rem;
}

.status-strip strong {
  color: var(--brown);
}

.section {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
  padding: 4.2rem 0 0;
}

.section__head {
  margin-bottom: 1.2rem;
}

.tabs {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1rem;
  padding: .35rem;
  border: 1px solid rgba(59, 33, 23, .1);
  border-radius: 999px;
  background: rgba(255, 250, 241, .72);
}

.tab {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  transition: .2s ease;
}

.tab.is-active {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(59, 33, 23, .16);
}

.menu-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(59, 33, 23, .1);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .84);
  box-shadow: 0 18px 48px rgba(59, 33, 23, .1);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: var(--sand);
}

.product-card__body {
  display: grid;
  gap: .9rem;
  padding: 1rem;
}

.product-card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
}

.product-card h3 {
  margin: 0;
  color: var(--brown);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
}

.price {
  flex: 0 0 auto;
  color: var(--brown-2);
  font-weight: 900;
}

.option-group {
  display: grid;
  gap: .45rem;
}

.option-label {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(59, 33, 23, .14);
  border-radius: 999px;
  padding: .55rem .78rem;
  background: rgba(251, 244, 232, .78);
  color: var(--brown);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 800;
}

.choice input:checked + span {
  border-color: var(--brown);
  background: var(--brown);
  color: var(--white);
}

.add-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: center;
}

.qty {
  display: inline-grid;
  grid-template-columns: 38px 34px 38px;
  align-items: center;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid rgba(59, 33, 23, .14);
  border-radius: 999px;
  background: var(--white);
  text-align: center;
  font-weight: 900;
}

.qty button {
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  font-size: 1.1rem;
}

.details-grid,
.steps {
  grid-template-columns: 1fr;
}

.info-panel,
.steps article {
  border: 1px solid rgba(59, 33, 23, .1);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .8);
  box-shadow: 0 18px 48px rgba(59, 33, 23, .09);
}

.info-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.25rem;
}

.info-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.hours {
  margin: 0;
  color: var(--brown);
  font-size: 1.55rem;
  font-weight: 900;
}

.steps article {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: var(--brown);
  font-weight: 800;
}

.instagram-panel {
  width: min(calc(100% - 2rem), 980px);
  margin: 4.2rem auto 1.4rem;
  padding: 2rem 1.2rem;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(59, 33, 23, .94), rgba(107, 67, 48, .96)),
    var(--brown);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.instagram-panel img {
  width: 74px;
  height: 74px;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.instagram-panel h2 {
  margin-bottom: 1.2rem;
  color: var(--white);
}

.floating-cart {
  position: fixed;
  right: 1rem;
  bottom: calc(var(--bottom-nav) + .95rem + env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: .75rem .85rem .75rem 1.05rem;
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(59, 33, 23, .32);
  cursor: pointer;
  transition: transform .2s ease;
}

body[dir="rtl"] .floating-cart {
  right: auto;
  left: 1rem;
}

.floating-cart strong {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 18, 13, .38);
  opacity: 0;
  transition: opacity .25s ease;
}

.cart-drawer.is-open .cart-drawer__backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  max-height: 92svh;
  overflow: auto;
  gap: 1rem;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: var(--cream);
  box-shadow: 0 -20px 70px rgba(32, 18, 13, .24);
  transform: translateY(100%);
  transition: transform .28s ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateY(0);
}

.cart-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  gap: .7rem;
}

.empty-cart {
  margin: 0;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 250, 241, .78);
  color: var(--muted);
  text-align: center;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
  padding: .85rem;
  border: 1px solid rgba(59, 33, 23, .1);
  border-radius: 18px;
  background: rgba(255, 250, 241, .82);
}

.cart-line h3 {
  margin: 0 0 .3rem;
  color: var(--brown);
  font-size: 1rem;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.55;
}

.cart-line__actions {
  display: grid;
  justify-items: end;
  gap: .45rem;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: var(--brown-2);
  cursor: pointer;
  font-weight: 800;
}

.checkout-form {
  display: grid;
  gap: .8rem;
}

.checkout-form label {
  display: grid;
  gap: .4rem;
  color: var(--brown);
  font-size: .86rem;
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(59, 33, 23, .14);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  outline: 0;
  padding: .9rem 1rem;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 138, 84, .16);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  color: var(--brown);
  font-size: 1.1rem;
  font-weight: 900;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 46;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .3rem;
  min-height: var(--bottom-nav);
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(59, 33, 23, .1);
  background: rgba(255, 250, 241, .9);
  backdrop-filter: blur(18px);
}

.bottom-nav a,
.bottom-nav button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 900;
}

.bottom-nav a:focus-visible,
.bottom-nav button:focus-visible,
.btn:focus-visible,
.lang-toggle:focus-visible,
.icon-btn:focus-visible {
  outline: 3px solid rgba(184, 138, 84, .45);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}

@media (min-width: 680px) {
  .topbar {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero__content {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }

  .status-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .details-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(440px, 100%);
    max-height: none;
    border-radius: 28px 0 0 28px;
    transform: translateX(100%);
  }

  body[dir="rtl"] .cart-panel {
    right: auto;
    left: 0;
    border-radius: 0 28px 28px 0;
    transform: translateX(-100%);
  }

  .cart-drawer.is-open .cart-panel {
    transform: translateX(0);
  }
}

@media (min-width: 980px) {
  body {
    padding-bottom: 0;
  }

  .bottom-nav {
    left: 50%;
    right: auto;
    bottom: 1rem;
    width: min(460px, calc(100% - 2rem));
    transform: translateX(-50%);
    border: 1px solid rgba(59, 33, 23, .1);
    border-radius: 999px;
    min-height: 64px;
    padding: .45rem;
    box-shadow: 0 18px 50px rgba(59, 33, 23, .12);
  }

  .bottom-nav a,
  .bottom-nav button {
    border-radius: 999px;
  }

  .hero {
    min-height: 88svh;
  }

  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
