/* EAT BAR: shared tokens and base elements. */
:root { --accent:#06f1ff; --black:#101010; --paper:#f4f3ee; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:90px; -webkit-text-size-adjust:100%; text-size-adjust:100%; overflow-x:clip; }
body { margin:0; width:100%; min-width:0; overflow-x:clip; background:var(--paper); color:var(--black); font:16px Arial,Helvetica,sans-serif; }
/* Keep transformed pizza bounds out of Safari's document-width calculation.
   Clip does not create a second scroll container or disable pinch zoom. */
@supports not (overflow:clip) { html,body { overflow-x:hidden; } }
a { color:inherit; text-decoration:none; }
button,a { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible { outline:3px solid var(--accent); outline-offset:5px; }
h1,h2 { font-weight:800; letter-spacing:normal; line-height:1.2; margin:0; overflow-wrap:anywhere; }
/* Tight display tracking belongs only to the large hero title, never small headings. */
h1 { font-weight:950; font-size:clamp(76px,8vw,120px); letter-spacing:-.04em; line-height:.98; }
em { font-style:normal; color:var(--accent); }
.section { padding:90px 6%; }
.eyebrow { font-size:13px; letter-spacing:2.5px; font-weight:800; margin:0 0 25px; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.button { display:inline-flex; align-items:center; justify-content:center; padding:19px 28px; background:var(--accent); color:var(--black); font-weight:800; font-size:15px; border-radius:8px; transition:background .2s; }
.button:hover { background:#00c3d1; }
/* Header and brand. */
header { min-height:176px; padding:12px 6%; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; background:var(--black); color:#fff; gap:24px; }
.logo { display:inline-flex; align-items:center; flex-shrink:0; line-height:1; }
.logo img { display:block; width:76px; height:76px; object-fit:contain; }
header .logo img { width:152px; height:152px; }
nav { display:flex; gap:38px; font-size:14px; font-weight:bold; }
/* Hero. */
.hero { position:relative; min-height:690px; background:#171714; color:#fff; overflow:hidden; }
.hero > img { position:absolute; width:100%; height:100%; object-fit:cover; object-position:center 70%; }
.shade { position:absolute; inset:0; background:linear-gradient(90deg,#000e,#0004 65%,#0001); }
.hero-content { position:relative; padding:85px 6% 120px; max-width:790px; }
.intro { max-width:370px; line-height:1.6; margin:30px 0; font-size:18px; color:#ddd; }
.hero-foot { position:absolute; bottom:30px; left:6%; right:6%; display:flex; justify-content:space-between; font-size:12px; font-weight:800; letter-spacing:2px; }
.ribbon { display:flex; gap:35px; align-items:center; justify-content:space-around; flex-wrap:wrap; padding:24px 4%; background:var(--accent); color:var(--black); font-weight:800; font-size:13px; letter-spacing:1px; }
.ribbon b { font-size:25px; }
/* Menu cards: desktop 2–3–2–3–2, mobile one column. */
.section-head { display:flex; justify-content:space-between; align-items:end; gap:40px; }
.section-head h2 { font-size:clamp(44px,5vw,70px); }
.menu-pdf { display:inline-block; margin-top:16px; text-decoration:underline; font-weight:700; }
.pizza-board { background:var(--black); color:#fff; margin-top:36px; padding:clamp(12px,4vw,48px); border-radius:18px; overflow:hidden; overflow:clip; }
.pizza-row { display:flex; justify-content:center; align-items:flex-start; gap:clamp(6px,2.5vw,30px); margin-bottom:clamp(24px,4vw,52px); }
.pizza-row:last-child { margin-bottom:0; }
.pizza-card { width:calc((100% - 2 * clamp(6px,2.5vw,30px))/3); max-width:270px; min-width:0; text-align:center; }
.pizza-card summary { position:relative; isolation:isolate; list-style:none; cursor:pointer; display:grid; justify-items:center; gap:6px; padding:4px; border-radius:10px; -webkit-user-select:none; user-select:none; }
.pizza-card summary::-webkit-details-marker { display:none; }
.pizza-card summary,.pizza-card summary * { -webkit-tap-highlight-color:transparent; }
.pizza-card summary:active { background-color:transparent; }
.pizza-card img { width:100%; height:auto; display:block; }
.pizza-name { font-weight:800; font-size:clamp(.875rem,1.6vw,1.125rem); overflow-wrap:anywhere; }
.pizza-card strong { color:var(--accent); white-space:nowrap; }
.pizza-more { font-size:.875rem; text-decoration:underline; color:#ccc; }
.pizza-info { text-align:center; font-size:.875rem; line-height:1.5; color:#ddd; overflow-wrap:anywhere; }
.pizza-info .allergens,#pizza-sheet .allergens { text-transform:uppercase; }
.menu .pizza-card summary:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
.menu a:focus-visible,.contact a:focus-visible { outline-color:#006d77; }
@media(prefers-reduced-motion:no-preference) {
  .pizza-row > .pizza-card:nth-child(odd) img { transform:rotate3d(0,0,1,calc(-1 * var(--pizza-angle,0deg))); }
  .pizza-row > .pizza-card:nth-child(even) img { transform:rotate3d(0,0,1,var(--pizza-angle,0deg)); }
  .pizza-card img.pizza-rotating { will-change:transform; backface-visibility:hidden; }
}
/* Mobile detail dialog. */
#pizza-sheet { position:fixed; inset:auto 0 0; margin:0 auto; width:min(100%,520px); max-width:100%; max-height:88dvh; overscroll-behavior:contain; padding:12px 22px max(22px,env(safe-area-inset-bottom)); border:0; border-top:1px solid #06f1ff66; border-radius:24px 24px 0 0; background:#101010; color:#fff; }
#pizza-sheet::backdrop { background:#000a; }
html:has(#pizza-sheet[open]) { overflow:hidden; }
#pizza-sheet form { display:flex; justify-content:flex-end; }
#pizza-sheet button { min-height:44px; padding:0 14px; border-radius:12px; border:1px solid #566367; background:#30393a; color:#fff; font:inherit; cursor:pointer; }
#pizza-sheet img { display:block; width:min(100%,220px); max-height:34dvh; height:auto; object-fit:contain; margin:auto; }
#pizza-sheet h2 { margin:10px 0; font-size:clamp(1.25rem,6vw,1.65rem); line-height:1.15; letter-spacing:-.02em; }
#pizza-sheet strong { color:var(--accent); }
#pizza-sheet .sheet-info { text-align:center; color:#e0e0e0; line-height:1.5; }
@media(prefers-reduced-motion:no-preference) { #pizza-sheet[open] { animation:pizza-sheet-in .22s ease-out; } }
@keyframes pizza-sheet-in { from { transform:translateY(100%); } }
/* Extra toppings and gluten-free notice. */
.extra-heading { margin:40px 0 20px; font-size:clamp(24px,3vw,32px); line-height:1.3; letter-spacing:normal; }
.toppings-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; margin-top:28px; }
.topping-group h3 { margin:0 0 12px; font-size:20px; }
.topping-group dl { margin:0; }
.topping-group dl > div { display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:13px 0; border-bottom:1px solid #10101022; line-height:1.5; }
.topping-group dt { overflow-wrap:anywhere; }
.topping-group dd { flex-shrink:0; margin:0; font-weight:700; white-space:nowrap; }
.gluten-free-notice { margin-top:24px; padding:clamp(20px,4vw,30px); border:2px solid #007980; border-radius:12px; background:#e5fafa; color:var(--black); overflow-wrap:anywhere; }
.gluten-free-notice h3 { display:flex; align-items:baseline; gap:10px; margin:0 0 14px; font-size:clamp(18px,2.2vw,24px); line-height:1.35; }
.gluten-free-star { color:#d32222; flex-shrink:0; font-size:1.2em; }
.gluten-free-notice p { margin:0 0 12px; line-height:1.65; }
.gluten-free-notice .gluten-free-price { font-size:20px; font-weight:800; }
.gluten-free-notice .gluten-free-warning { margin-bottom:0; color:#3c4545; font-size:14px; }
/* Story. */
.story { background:var(--black); color:#fff; display:grid; grid-template-columns:1.2fr 1fr; gap:90px; }
.story h2 { font-size:clamp(40px,4.5vw,66px); line-height:1.15; }
.story-copy { padding-top:42px; }
.story-copy p { color:#bbb; font-size:18px; line-height:1.7; margin:0 0 24px; }
.signature { font-size:25px; font-weight:950; margin-top:40px; }
.signature span { display:block; font-size:13px; font-weight:400; letter-spacing:1px; margin-top:8px; color:#aaa; }
.oven-brand { font-family:Arial,Helvetica,sans-serif; font-weight:900; }
.oven-green { color:#36b96a; }.oven-white { color:#fff; }.oven-red { color:#f55; }
/* Contact and approved opening-hours colours. */
.contact { background:var(--accent); color:var(--black); }
.contact h2 { font-size:clamp(22px,2.5vw,32px); line-height:1.3; }
.contact em { color:var(--black); }
.contact .button { background:var(--black); color:#fff; }
.contact-details { margin:32px 0 0; font-style:normal; line-height:1.6; font-size:clamp(17px,2vw,22px); overflow-wrap:anywhere; }
.contact-details p { margin:0 0 16px; }
.contact-label { display:block; font-size:13px; font-weight:700; margin-bottom:3px; }
.contact-details a { display:inline-flex; align-items:center; min-height:44px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.address-with-directions { display:flex; align-items:center; gap:12px; }
.contact-details .directions-link { width:44px; height:44px; min-width:44px; justify-content:center; border:1px solid var(--black); border-radius:8px; text-decoration:none; background:var(--black); color:#fff; }
.contact-details a[href^="tel:"] { background:var(--black); color:#ff5b5b; border:1px solid var(--black); border-radius:8px; padding:10px 16px; text-decoration:none; }
.opening-hours { margin-top:40px; max-width:580px; }
.opening-hours h3 { font-size:26px; margin:0 0 20px; letter-spacing:-.5px; }
.opening-hours dl { margin:0; display:grid; grid-auto-rows:1fr; gap:8px; }
.opening-hours dl > div { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; width:100%; min-height:54px; padding:12px 16px; border:0; border-radius:8px; }
.opening-hours dl > div:nth-child(-n+5) { background:var(--black); color:#fff; }
.opening-hours dl > div:nth-child(6) { background:#b8b8b8; color:var(--black); }
.opening-hours dl > div:last-child { background:#d32222; color:#fff; }
.opening-hours dt { font-weight:700; }
.opening-hours dd { margin:0; text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.contact-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:30px; margin-top:40px; }
.contact-bottom p { font-size:23px; font-weight:bold; line-height:1.6; margin:0; }
.contact-bottom span { font-size:15px; font-weight:400; }
/* Social controls, footer and hover/focus states. */
.social-links { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.social-icon { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid #555; border-radius:8px; }
.social-button { gap:8px; padding:15px 18px; min-height:48px; }
header nav a,footer > a[href="#kinalat"],.social-icon,.social-button,.directions-link,.contact-details a[href^="tel:"] { transition:color .18s ease,background-color .18s ease,border-color .18s ease; }
header nav a:is(:hover,:focus-visible),footer > a[href="#kinalat"]:is(:hover,:focus-visible) { color:var(--accent); }
.social-icon:is(:hover,:focus-visible),.contact .social-button:is(:hover,:focus-visible),.contact-details .directions-link:is(:hover,:focus-visible),.contact-details a[href^="tel:"]:is(:hover,:focus-visible) { background:#252525; color:var(--accent); border-color:var(--accent); }
footer { background:var(--black); color:#fff; padding:40px 6%; display:flex; align-items:center; gap:30px; flex-wrap:wrap; font-size:14px; }
footer .logo img { width:72px; height:72px; }
footer > p { color:#aaa; flex:1; }
footer small { width:100%; color:#aaa; font-size:12px; margin-top:12px; }
.operator-details { width:100%; border-top:1px solid #555; padding-top:16px; color:#ddd; line-height:1.7; }
.operator-details summary { cursor:pointer; min-height:44px; display:list-item; }
.operator-details a { text-decoration:underline; }
/* Accessible language popup: the globe and name form one button. */
.language-picker { position:relative; flex-shrink:0; }
.language-toggle { display:flex; align-items:center; gap:7px; max-width:210px; min-height:44px; padding:8px; border:1px solid #555; border-radius:6px; background:var(--black); color:#fff; font:inherit; font-size:16px; cursor:pointer; text-align:left; }
.language-toggle > span { min-width:0; overflow-wrap:anywhere; }
.language-toggle svg { color:var(--accent); flex-shrink:0; }
.language-toggle:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.language-options { position:absolute; right:0; top:calc(100% + 8px); width:270px; max-width:calc(100vw - 24px); max-height:min(360px,65vh); overflow-y:auto; overscroll-behavior:contain; padding:6px; background:var(--black); border:1px solid #555; border-radius:8px; box-shadow:0 8px 28px #0009; z-index:1000; }
.language-options[hidden],.language-picker select[hidden] { display:none; }
.language-picker select { min-height:44px; max-width:165px; background:var(--black); color:#fff; font:inherit; }
.language-options [role="option"] { display:block; width:100%; min-height:44px; padding:10px 12px; border-radius:4px; color:#fff; font-size:16px; text-align:left; cursor:pointer; overflow-wrap:anywhere; }
.language-options .playful-language,.language-toggle.playful-language { color:#ff5b5b; }
.language-options [role="option"]:is(:hover,:focus-visible) { background:#303030; outline:2px solid var(--accent); outline-offset:-2px; }
.language-options [aria-selected="true"] { background:#252525; font-weight:700; }
.language-group-label { padding:14px 12px 8px; border-top:1px solid #555; margin-top:5px; color:#ddd; font-size:12px; }
/* Language-specific typography and transparent labels for playful adaptations. */
html:not([lang="hu"]) h1 { font-size:clamp(48px,6.5vw,96px); letter-spacing:-.035em; overflow-wrap:anywhere; }
html:is([lang="th"],[lang="vi"],[lang="ja"]) :is(h1,h2) { line-height:1.25; letter-spacing:normal; }
html[lang="ja"] body { font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif; }
.fan-translation-note,.rovas-note,.variant-note { margin:0; padding:12px 6%; font:13px/1.55 Arial,sans-serif; background:#e8fafa; color:var(--black); border-bottom:1px solid #007980; }
.fan-translation-note[hidden],.rovas-note[hidden],.variant-note[hidden],.rovas-safety-reference[hidden] { display:none; }
@font-face { font-family:"EAT Rovas"; src:url("fonts/NotoSansOldHungarian-Regular.ttf") format("truetype"); font-weight:400; font-style:normal; font-display:swap; unicode-range:U+10C80-10CFF; }
html[lang="hu-Hung"] body { font-family:"EAT Rovas",Arial,sans-serif; }
html[lang="hu-Hung"] :is(h1,h2) { letter-spacing:normal; line-height:1.25; }
html[lang="hu-Hung"] :is(.eyebrow,.intro,.story h2,.story-copy p,.signature span,.pizza-info p,.sheet-info p,.topping-group h3,.topping-group dt,.gluten-free-notice h3,.gluten-free-notice > p,.opening-hours h3,.opening-hours dt,header nav a,.contact h2) { direction:rtl; unicode-bidi:plaintext; }
html[lang="hu-Hung"] :is(.pizza-info .allergens,.sheet-info .allergens) { white-space:pre-line; }
.rovas-safety-reference { margin-top:18px; padding-top:14px; border-top:1px solid #007980; font:14px/1.6 Arial,sans-serif; direction:ltr; }
html[lang="hu-x-emoji"] body { font-family:Arial,Helvetica,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
/* Responsive layout. */
@media(max-width:1000px) { .toppings-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
  header { padding-inline:6%; gap:12px; }
  nav { gap:16px; font-size:13px; }
  .hero { min-height:620px; }
  .hero-content { padding-top:70px; }
  .shade { background:linear-gradient(90deg,#000d,#0005); }
  .intro { font-size:16px; max-width:300px; }
  .hero-foot { font-size:10px; letter-spacing:1px; }
  .hero-foot span:last-child { display:none; }
  .ribbon { gap:18px; padding:19px; font-size:11px; }
  .ribbon b,.ribbon span:last-child { display:none; }
  .section { padding:60px 6%; }
  .section-head { display:block; }
  .story { grid-template-columns:1fr; gap:20px; }
  .story-copy { padding-top:0; }
  .story-copy p { font-size:16px; }
  .contact-bottom { display:block; }
  .contact .button { margin-top:25px; }
  footer { gap:20px; } footer > p { flex-basis:60%; font-size:12px; }
}
@media(max-width:600px) {
  html { scroll-padding-top:20px; }
  header { min-height:152px; padding:12px 5%; }
  header .logo { order:0; } header .logo img { width:128px; height:128px; }
  header .language-picker { order:1; margin-left:auto; }
  header nav { order:2; width:100%; justify-content:center; gap:4px; flex-wrap:wrap; }
  header nav a,.menu-pdf { display:inline-flex; align-items:center; min-height:44px; }
  header nav a { padding-inline:7px; font-size:.875rem; }
  header .header-social { order:3; width:100%; justify-content:center; }
  .language-toggle { max-width:min(170px,calc(90vw - 140px)); font-size:16px; }
  .hero { min-height:0; } .hero > img { object-position:center 60%; }
  .hero-content { padding-block:clamp(48px,10vw,70px) 95px; }
  h1 { font-size:clamp(3.3rem,13vw,4.75rem); letter-spacing:-4px; }
  html:not([lang="hu"]) h1 { font-size:clamp(3.3rem,13vw,4.75rem); }
  .section { padding-block:48px; }
  .section-head h2 { font-size:clamp(2.25rem,9vw,3rem); }
  .pizza-board { margin:20px -2vw 0; padding:12px; }
  .pizza-row { flex-direction:column; align-items:center; gap:28px; margin-bottom:28px; }
  .pizza-card { width:100%; max-width:320px; }
  .pizza-card summary { min-height:44px; padding:6px; }
  .pizza-name { font-size:1rem; line-height:1.2; }
  .pizza-info { font-size:.9375rem; padding-inline:6px; }
  .toppings-grid { grid-template-columns:1fr; gap:28px; }
  .contact .social-button { width:auto; margin-top:0; flex:1 1 130px; }
  .contact-social { margin-top:24px; }
}
@media(max-width:480px) {
  .opening-hours dl > div { grid-template-columns:1fr; gap:5px; min-height:76px; padding:12px 14px; }
  .opening-hours dd { text-align:left; font-size:15px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none!important; transition:none!important; }
}

/* Dessert and packaging share one compact row layout. */
.menu-extra{padding:28px 0;border-bottom:1px solid #ccc}
.menu-extra-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.menu-extra-heading h3{font-size:clamp(17px,2vw,22px);letter-spacing:-.8px;margin:12px 0;min-width:0;overflow-wrap:break-word}
.menu-extra-heading strong{font-size:17px;white-space:nowrap}
.menu-extra p{color:#666;line-height:1.6;margin:0;max-width:440px;font-size:14px}
