/* ==========================================================
   Szeged Nagyáruház – stíluslap
   Színek: napsárga (logó), tégla (homlokzat), táblakék (üzletjegyzék)
   ========================================================== */

:root {
  --sun: #F5BF1C;
  --sun-deep: #D99E00;
  --brick: #9C3A22;
  --board: #16213A;
  --board-2: #1F2D4C;
  --concrete: #E4E0D8;
  --paper: #FFFFFF;
  --ink: #1C1C21;
  --muted: #5D5B57;
  --line: #D3CEC4;
  --on-board: #F3F1EC;

  --radius-s: 6px;
  --radius-l: 14px;
  --wrap: 1180px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15171C;
    --concrete: #1E2128;
    --ink: #EDEBE6;
    --muted: #A7A49D;
    --line: #2F333C;
    --board: #0E1526;
    --board-2: #18233D;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 850;
  font-stretch: 112%;
  letter-spacing: -.01em;
}
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: #000; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-lead { color: var(--muted); font-size: 1.125rem; margin-bottom: 2.25rem; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 1rem/1 var(--font);
  padding: .95rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-sun { background: var(--sun); color: #1a1400; }
.btn-sun:hover { background: #ffd34d; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--brick); color: #fff; }

/* ---------- Helyőrző képek ---------- */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem; text-align: center; padding: 1rem;
  color: #6f6a60;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,.035) 14px 28px),
    #ECE8E0;
  width: 100%;
}
.ph-name { font-weight: 750; font-size: 1rem; color: #3e3a33; }
.ph-path { font-size: .78rem; opacity: .8; word-break: break-all; }
.ph-photo { min-height: 260px; }
.ph-photo-old { min-height: 260px; filter: sepia(.7); background-color: #DCCFB5; }
.ph-logo { min-height: 90px; background: transparent; border: 2px dashed var(--line); border-radius: var(--radius-s); }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; font-weight: 850; font-stretch: 115%; font-size: 1.05rem; white-space: nowrap;
}
.sun-mark { width: 38px; height: 38px; }
.sun-mark .rays, .hero-sun .rays { fill: var(--sun); }
.sun-mark circle, .hero-sun circle { fill: var(--sun); }
.nav { display: flex; gap: 1.25rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }

.live-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; padding: .4rem .8rem; border-radius: 999px;
  background: var(--concrete); white-space: nowrap;
}
.live-pill i { width: 9px; height: 9px; border-radius: 50%; background: #9a958b; }
.live-pill.open i { background: #2E9E5B; box-shadow: 0 0 0 4px rgba(46,158,91,.18); }
.live-pill.closed i { background: var(--brick); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 0;
  min-height: min(92vh, 860px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background: #2a2622;
}
.hero-img, .hero > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero > .ph { color: #cfc8bb; background-color: #3a352f; justify-content: flex-start; align-items: flex-end; padding: 1.5rem 2rem; }
.hero > .ph .ph-name { color: #f0eadf; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,20,.15) 0%, rgba(10,12,20,.2) 40%, rgba(10,12,20,.82) 100%);
}
.hero-sun {
  position: absolute; top: 7%; left: 6%;
  width: clamp(110px, 18vw, 230px);
  filter: drop-shadow(0 0 40px rgba(245,191,28,.55));
}
.hero-sun .rays { transform-origin: 50px 50px; animation: rise 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-sun circle { animation: glow 2.4s ease-out both; }
@keyframes rise { from { transform: rotate(-120deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes glow { from { opacity: 0; } to { opacity: 1; } }

.hero-content { position: relative; padding-bottom: 2.5rem; }
.hero h1 {
  font-size: clamp(2.2rem, 10.5vw, 9.5rem);
  font-weight: 900; font-stretch: 125%;
  line-height: .92; letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 46ch; color: #f1eee8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.status-strip { position: relative; background: rgba(10,12,20,.72); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.12); }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.status-item { padding: 1.1rem 1.25rem 1.1rem 0; display: flex; gap: .75rem; align-items: baseline; }
.status-item + .status-item { padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,.14); }
.status-item i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #9a958b; transform: translateY(-1px); }
.status-item.open i { background: #3FD07F; box-shadow: 0 0 0 4px rgba(63,208,127,.2); }
.status-item.closed i { background: #E26A4B; }
.status-item b { display: block; font-weight: 700; }
.status-item small { color: #cfcbc2; font-size: .9rem; }

/* ---------- Bemutatkozás ---------- */
.intro { background: var(--concrete); }
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.owner-logos { display: grid; gap: 1.25rem; }
.owner-logos img { max-height: 90px; width: auto; }

/* ---------- Mire van szükséged ---------- */
.need-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.need {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 1rem/1 var(--font); color: var(--ink);
  background: var(--paper); border: 2px solid var(--line);
  padding: .55rem 1rem .55rem .55rem; border-radius: 999px; cursor: pointer;
}
.need:hover { border-color: var(--ink); }
.need .floor-dot {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--board); color: var(--sun); font-weight: 800; font-size: .8rem;
}

/* ---------- Üzletjegyzék (a fő látványelem) ---------- */
.board {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(245,191,28,.10), transparent 60%),
    var(--board);
  color: var(--on-board);
}
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid rgba(255,255,255,.14); padding-bottom: 1rem; margin-bottom: 2rem; }
.board h2 { font-stretch: 125%; margin: 0; }
.board-count { margin: 0; color: #b8bfd0; }

.board-controls { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; }
.lift { display: flex; flex-wrap: wrap; gap: .9rem; }
.lift-btn {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  background: none; border: 0; color: #b8bfd0; cursor: pointer;
  font: 600 .82rem/1 var(--font);
}
.lift-btn span {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  font-size: 1.25rem; font-weight: 800; color: #dfe3ec;
  background: linear-gradient(160deg, #3a4769, #1a2440);
  border: 3px solid #56638a;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.15), 0 3px 0 #0a1020;
  transition: transform .1s, box-shadow .1s, background .2s, color .2s, border-color .2s;
}
.lift-btn:hover span { border-color: #8592b8; }
.lift-btn:active span { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255,255,255,.1), 0 1px 0 #0a1020; }
.lift-btn.is-on { color: var(--sun); }
.lift-btn.is-on span {
  color: #2b2000; border-color: #ffe08a;
  background: radial-gradient(circle at 50% 40%, #ffe27a, var(--sun) 60%, var(--sun-deep));
  box-shadow: 0 0 22px rgba(245,191,28,.65), inset 0 2px 0 rgba(255,255,255,.5), 0 3px 0 #6b4d00;
}

.search {
  flex: 1 1 280px; max-width: 420px;
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 0 1rem;
}
.search:focus-within { border-color: var(--sun); }
.search svg { width: 20px; height: 20px; fill: none; stroke: #b8bfd0; stroke-width: 2; flex: none; }
.search input { flex: 1; background: none; border: 0; color: #fff; font: 500 1rem var(--font); padding: .85rem 0; outline: none; }
.search input::placeholder { color: #8d95aa; }

.cat-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.cat {
  font: 600 .9rem/1 var(--font); color: #cfd4e0;
  background: transparent; border: 1px solid rgba(255,255,255,.22);
  padding: .55rem .9rem; border-radius: 999px; cursor: pointer;
}
.cat:hover { border-color: #fff; color: #fff; }
.cat.is-on { background: var(--on-board); color: var(--board); border-color: var(--on-board); }

.shop-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem;
}
.shop {
  background: var(--board-2);
  border-radius: var(--radius-s);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.08);
}
.shop.flash { animation: flash 1.8s ease-out; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 4px var(--sun), 0 0 40px rgba(245,191,28,.6); } 100% { box-shadow: 0 0 0 0 transparent; } }
.shop-logo { background: #fff; height: 130px; display: grid; place-items: center; padding: 1.1rem; }
.shop-logo img { max-height: 96px; width: auto; object-fit: contain; }
.shop-logo .ph-logo { border: 0; min-height: 0; height: 100%; background: #fff; color: #9a958b; }
.shop-logo .ph-logo .ph-name { font-weight: 900; font-stretch: 105%; font-size: 1.05rem; line-height: 1.2; color: var(--board); }
.shop-logo .ph-logo, .modal-logo .ph-logo { min-width: 0; }
.ph-name { max-width: 100%; overflow-wrap: break-word; }
.shop-info { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.shop-name { font-weight: 750; font-size: 1.08rem; color: #fff; }
.shop-cat { font-size: .88rem; color: #aab2c6; }
.shop-foot { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.shop-floor { white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; color: #cfd4e0; }
.shop-floor b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sun); color: #2b2000; font-size: .75rem; }
.shop-more {
  font: 700 .85rem/1 var(--font); color: var(--sun);
  background: none; border: 1px solid rgba(245,191,28,.5); border-radius: 999px;
  padding: .45rem .8rem; cursor: pointer;
}
.shop-more:hover { background: var(--sun); color: #2b2000; }
.empty { color: #cfd4e0; padding: 2rem 0; }

/* ---------- Nyitvatartás ---------- */
.hours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.hours-card { border: 2px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem; }
.hours-card h3 { margin-bottom: .35rem; }
.hours-state { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 600; margin-bottom: 1rem; }
.hours-state i { width: 9px; height: 9px; border-radius: 50%; background: var(--brick); }
.hours-state.open i { background: #2E9E5B; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours-table td { padding: .5rem .6rem; border-top: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.today td { background: var(--sun); color: #1a1400; font-weight: 700; border-color: var(--sun); }
.hours-table tr.today td:first-child { border-radius: 6px 0 0 6px; }
.hours-table tr.today td:last-child { border-radius: 0 6px 6px 0; }
.hours-table .closed-day { color: var(--muted); }

/* ---------- Ebéd és akciók ---------- */
.lunch { background: var(--concrete); }
.lunch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.panel { background: var(--paper); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; }
.panel > img, .panel > .ph { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; min-height: 0; }
.panel-body { padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.panel-body .btn { margin-top: auto; }

/* ---------- Régen és most ---------- */
.compare {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  aspect-ratio: 16 / 8; background: #2a2622; user-select: none;
}
.compare-img, .compare > .ph, .compare-top > .ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; min-height: 0;
}
.compare-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-top .compare-img { filter: sepia(.25); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--sun);
  transform: translateX(-50%); pointer-events: none;
}
.compare-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: #2b2000; font-size: 1.3rem; font-weight: 800;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-range:focus-visible + * { outline: none; }
.compare:focus-within .compare-handle span { outline: 3px solid #fff; outline-offset: 2px; }
.compare-tag {
  position: absolute; top: 1rem; padding: .35rem .8rem; border-radius: 999px;
  background: rgba(10,12,20,.7); color: #fff; font-weight: 700; font-size: .9rem; pointer-events: none;
}
.tag-left { left: 1rem; }
.tag-right { right: 1rem; }

/* ---------- Bérbeadás ---------- */
.rent { background: var(--brick); color: #fff; }
.rent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.rent p { color: #f6e6df; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .6rem; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: .5rem; }
.contact-list .k { color: #f0c9bb; }
.contact-list a { font-weight: 700; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.plan { margin: 0; }
.plan img, .plan .ph { border-radius: var(--radius-l); width: 100%; }
.plan figcaption { font-size: .9rem; color: #f0c9bb; margin-top: .6rem; }

/* ---------- Megközelítés ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center; }
.address { font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.todo { background: #fff3c4; color: #6b4d00; padding: 0 .3rem; border-radius: 4px; font-weight: 600; }
.map { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--concrete); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--board); color: #b8bfd0; padding: 2rem 0; font-size: .92rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-grid p { margin: 0; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); box-shadow: 0 6px 20px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: #2b2000; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Üzlet ablak ---------- */
.shop-modal {
  width: min(560px, 100% - 2rem); border: 0; border-radius: var(--radius-l); padding: 0;
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.shop-modal::backdrop { background: rgba(10,14,26,.65); backdrop-filter: blur(3px); }
.shop-modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: .6rem; right: .6rem; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--concrete); color: var(--ink); font-size: 1.5rem; cursor: pointer; z-index: 2;
}
.modal-logo { background: #fff; height: 170px; display: grid; place-items: center; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.modal-logo img { max-height: 120px; width: auto; }
.modal-logo .ph-logo { border: 0; height: 100%; min-height: 0; }
.modal-logo .ph-logo .ph-name { font-weight: 900; font-stretch: 120%; font-size: 1.5rem; color: var(--board); }
.modal-content { padding: 1.5rem 1.75rem 1.75rem; }
.modal-content h3 { font-size: 1.6rem; font-stretch: 112%; }
.modal-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.modal-meta span { background: var(--concrete); padding: .3rem .7rem; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.modal-hours { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .live-pill { order: 2; }
  .nav-toggle { order: 3; margin-left: 0; }
  .brand { margin-right: auto; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 860px) {
  .intro-grid, .rent-grid, .visit-grid, .lunch-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .status-item { padding: .7rem 0; }
  .status-item + .status-item { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .compare { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .live-pill b { display: none; }
  .live-pill { padding: .55rem; }
  .brand span { font-size: .95rem; }
  .lift { gap: .55rem; }
  .lift-btn span { width: 46px; height: 46px; font-size: 1.05rem; }
  .shop-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .shop-logo { height: 100px; padding: .7rem; }
  .shop-foot { flex-direction: column; align-items: flex-start; }
  .hero { justify-content: flex-end; }
  .hero-sun {
    position: relative; top: auto; left: auto;
    align-self: flex-start;
    width: 88px; margin: 5.5rem 0 1rem 1.25rem;
  }
  .hero h1 { font-size: 11vw; font-stretch: 108%; }
}

/* ---------- Mobil finomhangolás ---------- */
@media (max-width: 560px) {
  section { padding: 3rem 0; }
  .section-lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }

  /* Hero gombok egyforma szélesen */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-content { padding-bottom: 1.75rem; }

  /* Bemutatkozás */
  .intro-grid { gap: 1.5rem; }
  .owner-logos { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .owner-logos .ph-logo { min-height: 70px; padding: .5rem; }
  .owner-logos .ph-path { display: none; }

  /* Feladat- és kategóriagombok: vízszintesen görgethető sor */
  .need-chips, .cat-row {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: -1rem; padding: .25rem 1rem .5rem;
    scroll-snap-type: x proximity; scroll-padding-inline: 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 2rem), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 2rem), transparent);
  }
  .need-chips::-webkit-scrollbar, .cat-row::-webkit-scrollbar { display: none; }
  .need, .cat { flex: none; white-space: nowrap; scroll-snap-align: start; }
  /* A feladatgombok két sorban görgethetők, így egyszerre több látszik */
  .need-chips { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: max-content; gap: .5rem; }
  .need-chips .need { justify-self: start; }
  .cat-row { margin-top: 1.25rem; margin-bottom: 1.5rem; }

  /* Liftgombok egy sorban */
  .board-head { margin-bottom: 1.5rem; }
  .board-controls { gap: 1rem; }
  .lift { display: grid; grid-template-columns: repeat(5, 1fr); gap: .25rem; width: 100%; }
  .lift-btn { font-size: .7rem; text-align: center; line-height: 1.15; }
  .lift-btn span { width: 48px; height: 48px; font-size: 1.05rem; }
  .search { max-width: none; }

  /* Üzletkártyák */
  .shop-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .shop-logo { height: 88px; padding: .6rem; }
  .shop-logo .ph-path { display: none; }
  .shop-logo .ph-logo .ph-name { font-size: .9rem; font-stretch: 100%; line-height: 1.2; }
  .shop-info { padding: .75rem .75rem .85rem; }
  .shop-name { font-size: .98rem; line-height: 1.25; }
  .shop-cat { font-size: .8rem; line-height: 1.3; }
  .shop-foot { flex-direction: column; align-items: stretch; gap: .5rem; }
  .shop-more { width: 100%; padding: .55rem; }

  /* Nyitvatartás */
  .hours-card { padding: 1.1rem; }

  /* Ebéd és akciók */
  .lunch-grid { margin-top: 1rem; gap: 1rem; }
  .panel-body { padding: 1.2rem; }
  .panel-body .btn { width: 100%; }

  /* Régen és most */
  .compare-handle span { width: 42px; height: 42px; }

  /* Bérbeadás */
  .rent-grid { gap: 2rem; }
  .contact-list li { grid-template-columns: 70px 1fr; }
  .contact-list a { white-space: nowrap; }
  .rent .btn { width: 100%; text-align: center; line-height: 1.3; }

  /* Megközelítés */
  .visit-grid { gap: 1.5rem; }
  .visit .btn { width: 100%; }

  /* Lábléc */
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: .75rem 1.25rem; }
  .to-top { right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }

  /* Üzlet ablak */
  .shop-modal { width: calc(100% - 1.5rem); max-height: calc(100% - 3rem); }
  .modal-logo { height: 130px; }
}

@media (max-width: 380px) {
  h2 { font-size: 1.75rem; overflow-wrap: break-word; hyphens: auto; }
  .header-inner { gap: .6rem; }
  .brand { gap: .4rem; }
  .brand span { font-size: .85rem; }
  .sun-mark { width: 30px; height: 30px; }
  .lift-btn { min-width: 0; font-size: .64rem; }
  .lift-btn span { width: 42px; height: 42px; font-size: .95rem; border-width: 2px; }
  .contact-list a[href^="mailto"] { white-space: normal; word-break: break-all; }
  .shop-logo { padding: .5rem .35rem; }
  .shop-logo .ph-logo .ph-name { font-size: .78rem; font-stretch: 85%; }
  .shop-name { font-size: .9rem; }
}
.search input { min-width: 0; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
