/*
 * Bella Italyan Pizza.
 * The look comes from the stand itself: a black lit sign with pale "Bella" letters and a red
 * "Italyan-Pizza" bar, a black price board, kraft pizza boxes and the Italian flag.
 */
:root {
  --night: #120d0c;
  --night-2: #1b1412;
  --board-line: #3a2d29;
  --sign: #e8f1f8;
  --red: #e41e26;
  --red-deep: #b5121a;
  --basil: #2f8f3a;
  --paper: #f6efe2;
  --kraft: #e3cfa6;
  --kraft-ink: #3b2a1c;
  --ink: #1d1411;
  --muted: #6b5d55;
  --wa: #1fa855;
  --max: 1120px;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --script: "DM Serif Display", Georgia, serif;
  --sans: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Each script in a font made for it: Kurdish (Sorani) in Noto Sans Arabic, which covers ڕ ڵ ێ ۆ ە;
     Arabic in Cairo. --arabic follows the page language. */
  --kurdish: "Noto Sans Arabic", Tahoma, sans-serif;
  --arabic-ar: "Cairo", "Noto Sans Arabic", Tahoma, sans-serif;
  --arabic: var(--kurdish);
  color-scheme: light;
}
:root[lang="ar"] { --arabic: var(--arabic-ar); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* Kurdish & Arabic: one Arabic-script family, no letter-spacing (it breaks joining) */
[dir="rtl"] body { font-family: var(--arabic); line-height: 1.85; }
[dir="rtl"] * { letter-spacing: 0 !important; }

/* Italian flag stripe */
.tricolore { display: flex; height: 6px; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: var(--basil); }
.tricolore i:nth-child(2) { background: #f4f1ea; }
.tricolore i:nth-child(3) { background: var(--red); }
[dir="rtl"] .tricolore { flex-direction: row-reverse; }

/* Buttons: chunky, stamped */
.pill {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 12px 20px; border-radius: 10px; border: 2px solid transparent;
  font: 500 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 rgba(0,0,0,.28); transition: transform .12s, box-shadow .12s;
}
[dir="rtl"] .pill { font-family: var(--arabic); font-weight: 600; }
.pill:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.28); }
.pill.red { background: var(--red); color: #fff; }
.pill.wa { background: var(--wa); color: #fff; }
.pill.line { background: transparent; border-color: currentColor; box-shadow: none; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 40; background: var(--night); color: var(--sign); border-bottom: 1px solid var(--board-line); }
.top-row { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; direction: ltr; }
.logo-word { font: 400 1.7rem/1 var(--script); color: var(--sign); text-shadow: 0 0 12px rgba(200,225,255,.35); }
.top-links { display: flex; gap: 18px; margin-inline-start: auto; }
.top-links a { text-decoration: none; color: #cbbdb4; font-size: .95rem; }
.top-links a:hover { color: #fff; }
.langs { display: flex; align-items: center; }
.langs button {
  background: none; border: 0; cursor: pointer; color: #9c8d85; padding: 4px 8px;
  font: 600 .85rem/1 var(--arabic); border-inline-start: 1px solid var(--board-line);
}
.langs button:first-child { border-inline-start: 0; }
.langs button[lang="ckb"] { font-family: var(--kurdish); }
.langs button[lang="ar"] { font-family: var(--arabic-ar); }
.langs button[lang="en"] { font-family: var(--sans); }
.langs button[aria-pressed="true"] { color: #fff; text-decoration: underline 2px var(--red); text-underline-offset: 6px; }
.order-btn { background: var(--red); color: #fff; text-decoration: none; padding: 8px 16px; border-radius: 8px; font-weight: 600; }
@media (max-width: 640px) {
  .top-row { gap: 10px; }
  .top-links { display: none; }
  .langs { margin-inline-start: auto; }
}

/* Night sign (home hero) */
.sign { position: relative; background: var(--night); color: #f4ebe2; overflow: hidden; }
.sign-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38rem 24rem at 78% 60%, rgba(255,110,40,.30), transparent 65%),
    radial-gradient(30rem 20rem at 10% 10%, rgba(228,30,38,.22), transparent 60%);
}
[dir="rtl"] .sign-glow { transform: scaleX(-1); }
.sign-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 64px 0 80px; }
.neon { display: inline-grid; grid-template-columns: auto auto; column-gap: 12px; direction: ltr; margin-bottom: 26px; }
.neon-word {
  font: 400 clamp(4rem, 11vw, 7.5rem)/.85 var(--script); color: var(--sign);
  text-shadow: 0 0 6px rgba(220,238,255,.8), 0 0 28px rgba(150,200,255,.45);
  animation: hum 7s infinite;
}
.neon-ku { font: 800 clamp(1.6rem, 3.4vw, 2.3rem)/1 var(--kurdish); color: var(--sign); padding-top: 8px; text-shadow: 0 0 14px rgba(150,200,255,.4); }
.neon-pill {
  grid-column: 1 / -1; justify-self: start; margin-top: 10px; padding: 5px 20px; border-radius: 999px;
  background: var(--red); color: #fff; font: 400 1.25rem/1.2 var(--script); letter-spacing: .12em;
  box-shadow: 0 0 22px rgba(228,30,38,.55);
}
@keyframes hum { 0%, 91%, 95%, 100% { opacity: 1; } 93% { opacity: .55; } }
.sign h1 { font: 400 clamp(2.6rem, 6vw, 4.4rem)/1 var(--display); letter-spacing: .01em; max-width: 16ch; }
[dir="rtl"] .sign h1 { font: 800 clamp(1.9rem, 4.6vw, 3rem)/1.4 var(--arabic); max-width: 18em; }
.sign-lead { font-size: 1.12rem; max-width: 42ch; color: #cdbfb6; margin: 16px 0 30px; }
.sign-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Plate on a checked tablecloth, with the OPEN sign */
.plate-wrap { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.plate-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(var(--red) 0 25%, #f4efe6 0 50%) 0 0 / 44px 44px;
  opacity: .9; transform: rotate(8deg);
}
.plate { position: relative; width: 78%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 10px solid #f7f2ea; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.open-sign {
  position: absolute; inset-inline-end: -4%; bottom: 6%; transform: rotate(-6deg);
  display: grid; justify-items: center; gap: 2px; padding: 10px 16px; border-radius: 10px;
  background: rgba(18,13,12,.92); border: 2px solid #ff5a5f; color: #ffd9da;
  box-shadow: 0 0 16px rgba(255,90,95,.5), inset 0 0 10px rgba(255,90,95,.35);
}
.open-sign b { font: 400 1.8rem/1 var(--display); color: #ff6b70; letter-spacing: .12em; text-shadow: 0 0 10px rgba(255,90,95,.8); }
[dir="rtl"] .open-sign b { font: 800 1.2rem/1.3 var(--arabic); }
.open-sign span { font-weight: 600; font-size: .95rem; }
.open-sign small { font-size: .78rem; opacity: .75; }
@media (max-width: 820px) {
  .sign-grid { grid-template-columns: 1fr; padding: 40px 0 56px; gap: 44px; }
  .plate-wrap { width: min(340px, 86%); }
}

/* Ticker band */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 10px 0; }
.ticker-track { display: flex; gap: 26px; width: max-content; animation: roll 38s linear infinite; }
.ticker span { font: 400 1.5rem/1 var(--display); letter-spacing: .06em; white-space: nowrap; }
[dir="rtl"] .ticker span { font: 700 1.1rem/1.3 var(--arabic); }
.ticker i { font-style: normal; opacity: .7; }
[dir="rtl"] .ticker-track { animation-name: roll-rtl; }
@keyframes roll { to { transform: translateX(-50%); } }
@keyframes roll-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .neon-word { animation: none; } }

/* "Why is our pizza Italian?" */
.why { padding: 96px 0; }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.why-photo { margin: 0; background: #fff; padding: 12px 12px 44px; box-shadow: 0 16px 36px rgba(60,30,20,.18); transform: rotate(-2.5deg); }
[dir="rtl"] .why-photo { transform: rotate(2.5deg); }
.why-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.why-q { font: 400 clamp(2.6rem, 6vw, 4.2rem)/.95 var(--display); color: var(--red); }
[dir="rtl"] .why-q { font: 800 clamp(1.8rem, 4vw, 2.6rem)/1.35 var(--arabic); }
.why-because { font: 400 1.9rem/1.2 var(--script); color: var(--basil); margin: 10px 0 18px; }
[dir="rtl"] .why-because { font: 800 1.5rem/1.3 var(--arabic); }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.why-list li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 2px dotted #d8c7ae; font-size: 1.15rem; }
.why-list li:last-child { border-bottom: 2px dotted #d8c7ae; }
.why-n { flex: none; font: 400 2.4rem/1 var(--display); color: var(--red); width: 34px; text-align: center; }
@media (max-width: 820px) {
  .why { padding: 64px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-photo { width: min(320px, 80%); justify-self: center; }
}

/* The price board */
.board { background: var(--night); color: #f1e8df; padding: 88px 0; }
.board-frame { border: 2px solid var(--board-line); border-radius: 6px; padding: 32px clamp(18px, 4vw, 44px); background: linear-gradient(180deg, var(--night-2), var(--night)); box-shadow: inset 0 0 0 6px var(--night), inset 0 0 0 7px var(--board-line); }
.board-head { display: flex; align-items: end; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--red); }
.board-head h2 { flex: 1; font: 400 clamp(2.6rem, 6vw, 3.6rem)/.9 var(--display); color: #fff; }
[dir="rtl"] .board-head h2 { font: 800 clamp(1.8rem, 4vw, 2.4rem)/1.3 var(--arabic); }
.board-cols { display: flex; color: #a99a91; font-size: .9rem; }
.board-cols span, .b-price { width: 92px; text-align: end; }
.board-rows { list-style: none; padding: 0; margin: 8px 0 0; }
.board-rows li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.b-name { font-size: 1.12rem; font-weight: 500; }
.b-dots { flex: 1; border-bottom: 2px dotted #4d3f3a; transform: translateY(-5px); min-width: 12px; }
.b-price { font: 400 1.6rem/1 var(--display); color: #ff5a5f; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.b-price:last-child { color: #fff; }
.b-price.none { color: #5a4a44; }
.board-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.board-foot p { margin: 0; color: #a99a91; max-width: 52ch; }
@media (max-width: 520px) {
  .board-cols span, .b-price { width: 64px; }
  .b-price { font-size: 1.3rem; }
  .b-name { font-size: 1rem; }
}

/* Instagram mosaic */
.mosaic-sec { padding: 88px 0; }
.mosaic-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; margin-bottom: 22px; }
.handle { font: 400 clamp(1.6rem, 4vw, 2.4rem)/1 var(--script); color: var(--red); text-decoration: none; }
.handle:hover { text-decoration: underline; }
.mosaic-head p { margin: 0; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 8px; }
.tile { overflow: hidden; border-radius: 4px; background: #d9c9b0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.05); }
.tile.t0 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

/* Where is Bella? — a kraft pizza-box card next to the map */
.find { padding: 0 0 96px; }
.find-grid { display: grid; grid-template-columns: 1fr 1.3fr; border-radius: 6px; overflow: hidden; box-shadow: 0 16px 40px rgba(60,30,20,.16); }
.find-card { background: var(--kraft); color: var(--kraft-ink); padding: 36px 32px; background-image: repeating-linear-gradient(90deg, rgba(120,80,40,.05) 0 2px, transparent 2px 7px); }
.find-card h2 { font: 400 clamp(2.4rem, 5vw, 3.2rem)/.95 var(--display); color: var(--red-deep); }
[dir="rtl"] .find-card h2 { font: 800 clamp(1.7rem, 4vw, 2.2rem)/1.35 var(--arabic); }
.find-addr { font-size: 1.1rem; font-weight: 500; margin: 14px 0 6px; }
.find-phone { display: inline-block; font: 400 2.4rem/1.1 var(--display); letter-spacing: .04em; text-decoration: none; color: var(--kraft-ink); }
.find-phone:hover { color: var(--red-deep); }
.find-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 14px 0 22px; padding: 12px 0; border-top: 2px dashed rgba(59,42,28,.35); border-bottom: 2px dashed rgba(59,42,28,.35); }
.find-hours dt { opacity: .7; }
.find-hours dd { margin: 0; font-weight: 600; }
.find-links { display: flex; flex-wrap: wrap; gap: 10px; }
.find-map { min-height: 420px; background: #d9c9b0; }
.find-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 820px) {
  .find-grid { grid-template-columns: 1fr; }
  .find-map, .find-map iframe { min-height: 320px; }
}

/* Footer */
.foot { background: var(--night); color: #a99a91; font-size: .9rem; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 26px 0; }
.foot-brand { color: var(--sign); font: 400 1.2rem/1 var(--script); }
[dir="rtl"] .foot-brand { font-family: var(--arabic); font-size: 1rem; font-weight: 600; }
.foot a { color: #d9ccc3; }
body.has-order .foot-row { padding-bottom: 120px; }

/* ---------- Menu page ---------- */
.menu-sign { background: var(--night); color: #f1e8df; }
.menu-sign .wrap { padding: 52px 0 36px; }
.menu-sign h1 { font: 400 clamp(4rem, 13vw, 7rem)/.85 var(--display); color: #fff; }
[dir="rtl"] .menu-sign h1 { font: 800 clamp(2.4rem, 7vw, 3.6rem)/1.3 var(--arabic); }
.menu-sign p { color: #b9aba2; max-width: 56ch; margin: 12px 0 0; }
.cats { position: sticky; top: 62px; z-index: 30; background: var(--paper); border-bottom: 1px solid #e0d2bd; }
.cats .wrap { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.cats a { flex: none; padding: 14px 0 12px; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 3px solid transparent; }
.cats a.on { color: var(--ink); border-bottom-color: var(--red); }
.menu-block { padding: 44px 0 4px; scroll-margin-top: 120px; }
.menu-block h2 { display: flex; align-items: baseline; gap: 12px; font: 400 clamp(2.4rem, 6vw, 3.2rem)/1 var(--display); padding-bottom: 10px; border-bottom: 3px solid var(--ink); }
[dir="rtl"] .menu-block h2 { font: 800 clamp(1.6rem, 4vw, 2rem)/1.4 var(--arabic); }
.cur { font: 500 .85rem/1 var(--sans); color: var(--muted); border: 1px solid currentColor; border-radius: 4px; padding: 3px 6px; }
[dir="rtl"] .cur { font-family: var(--arabic); }
.rows { list-style: none; padding: 0; margin: 0; }
.row { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px dashed #d8c7ae; }
.pic { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #efe3cf; }
.pic > * { width: 100%; height: 100%; object-fit: cover; }
.name { font-weight: 700; font-size: 1.08rem; }
.desc { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.prices { display: flex; gap: 8px; }
.price-btn {
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px;
  min-width: 98px; padding: 6px 8px 6px 12px; cursor: pointer; text-align: start;
  background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; font: inherit;
  box-shadow: 0 3px 0 var(--ink); transition: transform .1s, box-shadow .1s;
}
[dir="rtl"] .price-btn { padding: 6px 12px 6px 8px; }
.price-btn:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.price-btn small { grid-column: 1; color: var(--muted); font-size: .75rem; line-height: 1.2; }
.price-btn b { grid-column: 1; font: 400 1.35rem/1 var(--display); letter-spacing: .03em; }
.price-btn .plus { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--red); color: #fff; font: 700 1.1rem/1 var(--sans); }
.price-btn.added .plus { animation: stamp .45s ease; }
@keyframes stamp { 35% { transform: scale(1.35) rotate(-8deg); background: var(--basil); } }
.menu-note { color: var(--muted); font-size: .9rem; padding: 36px 0 56px; }
@media (max-width: 620px) {
  .row { grid-template-columns: 52px 1fr; }
  .pic { width: 52px; height: 52px; }
  .prices { grid-column: 1 / -1; }
  .price-btn { flex: 1; }
}

/* Order ticket: a receipt with a torn top edge */
.ticket {
  position: fixed; z-index: 50; bottom: 14px; inset-inline: 0; margin: 0 auto;
  width: min(560px, 100% - 24px); background: #fffdf8; color: var(--ink);
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.35));
}
.ticket[hidden] { display: none; }
.ticket::before {
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px;
  background: linear-gradient(-45deg, #fffdf8 5px, transparent 0) 0 0 / 12px 10px repeat-x,
              linear-gradient(45deg, #fffdf8 5px, transparent 0) 0 0 / 12px 10px repeat-x;
}
.ticket-body { display: none; padding: 16px 18px 4px; max-height: 50vh; overflow-y: auto; }
.ticket.open .ticket-body { display: block; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 2px dashed #cdbfae; }
.ticket-title { font: 400 1.6rem/1 var(--display); letter-spacing: .04em; }
[dir="rtl"] .ticket-title { font: 800 1.1rem/1.4 var(--arabic); }
.ticket-clear { background: none; border: 0; color: var(--red-deep); cursor: pointer; font: inherit; font-size: .9rem; text-decoration: underline; }
#order-list { list-style: none; padding: 0; margin: 0; }
#order-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dotted #d8c7ae; }
#order-list .q { font: 400 1.2rem/1 var(--display); color: var(--red); min-width: 26px; }
#order-list .n { flex: 1; }
#order-list .p { font-variant-numeric: tabular-nums; white-space: nowrap; }
.x { width: 24px; height: 24px; border-radius: 6px; border: 1px solid #d8c7ae; background: none; cursor: pointer; line-height: 1; color: var(--muted); }
.ticket-bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; }
[dir="rtl"] .ticket-bar { padding: 12px 18px 12px 12px; }
.ticket-sum { flex: 1; display: flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; text-align: start; }
.ticket-count { color: var(--muted); }
.ticket-sum b { font: 400 1.6rem/1 var(--display); letter-spacing: .03em; }
.chev { color: var(--muted); transition: transform .2s; }
.ticket.open .chev { transform: rotate(180deg); }
@media (max-width: 420px) { .ticket-bar .pill span { display: none; } .ticket-bar .pill { padding: 12px 14px; } }

@media print {
  .top, .cats, .foot, .ticket, .plus { display: none !important; }
  .menu-sign { background: none; color: #000; }
  .menu-sign h1 { color: #000; }
}
