/* =========================================================
   Dentál Partner Plusz — design token-rendszer v3
   Irány: "Tech-Prémium" elrendezés (sötét navbar, hero két
   hasábban, kártyás szolgáltatás-lista, partner-sáv) +
   sötét-arany ("SeconDenT"-inspirálta) színvilág.
   ========================================================= */

:root {
  --color-bg: #12151a;          /* fő sötét háttér */
  --color-bg-soft: #1a1e25;     /* enyhén világosabb sötét felület (kártyák) */
  --color-ivory: #f5f3ee;       /* világos szekció háttere */
  --color-panel: #ffffff;

  --color-ink: #1c1d1f;
  --color-ink-soft: #55575c;

  --color-text-light: #f1efe9;
  --color-text-muted: #a9adb6;

  --color-gold: #c9a24a;
  --color-gold-light: #e6cd8f;
  --color-gold-dark: #a9822f;

  --color-line: #e3e0d7;
  --color-line-dark: #2a2e35;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-ivory);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line-dark);
}

.topbar {
  background: #0c0e11;
  color: var(--color-gold-light);
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  padding: 8px 24px;
}

.topbar a { color: var(--color-gold-light); text-decoration: none; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--color-text-light);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
  color: #201804;
  font-size: 0.85rem;
  font-weight: 700;
}

.brand-accent { color: var(--color-gold-light); }

.main-nav { display: flex; gap: 28px; }

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--color-gold-light); }

/* ---------- Hero ---------- */

.hero {
  background: var(--color-bg);
  padding: 88px 0 72px;
  color: var(--color-text-light);
}

.hero-inner { max-width: 620px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: 14px;
}

.eyebrow a { text-decoration: none; color: var(--color-gold-light); }

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--color-text-light);
}

.lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
  color: #201804;
}

.btn-primary:hover { filter: brightness(1.05); }

.btn-outline {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  background: transparent;
}

.btn-outline:hover { background: var(--color-gold); color: #201804; }

/* ---------- Teljes képernyős kezdő szekció ---------- */
/* A fotó tölti ki a teljes első nézetet (100vh); a fejléc és a két
   kártya csak akkor jelenik meg, ha a látogató mozgatja az egeret -
   érintőképernyős eszközön (nincs egér) alapból látszanak. */

body.has-hero-fullbleed .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom-color: transparent;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

body.has-hero-fullbleed.nav-visible .site-header {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: rgba(12, 14, 17, 0.85);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--color-line-dark);
}

body.has-hero-fullbleed .topbar { background: transparent; }

.hero-fullbleed {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* A háttérkép fekvő formátumú; egy álló, magas telefonképernyőn a 100vh
   magasság miatt a böngésző a kép nagy részét levágná/felnagyítaná
   (object-fit: cover). Alacsonyabb magassággal a kép arányosabban,
   kevésbé "ránagyítva" jelenik meg. */
@media (max-width: 620px) {
  .hero-fullbleed { min-height: 40vh; }
}

.hero-fullbleed-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fullbleed-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 14, 17, 0.15) 0%, rgba(12, 14, 17, 0.05) 40%, rgba(12, 14, 17, 0.85) 100%);
}

.hero-fullbleed .hero-cards {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}

.hero-scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-gold-light);
  font-size: 1.4rem;
  opacity: 0.75;
  animation: hero-bounce 2.2s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

body.has-hero-fullbleed.nav-visible .hero-cards {
  transform: translateY(0);
  opacity: 1;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--color-text-light);
  background: linear-gradient(160deg, rgba(26, 30, 37, 0.92), rgba(18, 21, 26, 0.96));
  border: 1px solid rgba(201, 162, 74, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.hero-card > i:first-child {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
  color: #201804;
  font-size: 1.25rem;
}

.hero-card-text { flex: 1; min-width: 0; }

.hero-card-text h3 {
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--color-text-light);
}

.hero-card-text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.hero-card-arrow {
  flex: none;
  color: var(--color-gold-light);
  font-size: 1.1rem;
}

@media (max-width: 860px) {
  .hero-cards { grid-template-columns: 1fr; }
  .hero-card-text p { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: 64px 0; }

.section-alt {
  background: var(--color-bg);
  color: var(--color-text-light);
}

.section-alt h2 { color: var(--color-text-light); }

.section-lead { max-width: 620px; color: var(--color-ink-soft); margin-bottom: 36px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  display: block;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: var(--color-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--color-gold);
}

.card i {
  font-size: 1.8rem;
  color: var(--color-gold-dark);
  margin-bottom: 14px;
  display: block;
}

.card h3 { font-size: 1.1rem; }

.card-link {
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-block h2 { margin-bottom: 6px; }
.cta-block p { color: var(--color-text-muted); margin-bottom: 0; }

/* ---------- Bizalmi partnerek sáv ---------- */

.partners-section { padding: 40px 0; }

.partners-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  margin-bottom: 20px;
}

.partners-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.partner-placeholder {
  border: 1px dashed var(--color-line);
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  background: var(--color-panel);
}

/* ---------- Page hero (aloldalak) ---------- */

.page-hero {
  background: var(--color-bg);
  color: var(--color-text-light);
  padding: 56px 0;
}

.page-hero .eyebrow { color: var(--color-gold-light); }
.page-hero .eyebrow a { color: var(--color-gold-light); }
.page-hero h1 { color: var(--color-text-light); margin: 0; }

.page-icon {
  font-size: 2.2rem;
  color: var(--color-gold-dark);
  display: block;
  margin-bottom: 18px;
}

/* ---------- Eszközök / modal ---------- */

.eszkoz-card {
  position: relative;
  cursor: pointer;
  background: var(--color-panel);
}

.eszkoz-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
  background: var(--color-ivory);
}

/* A harmadik oldalon (eszközök) a termékkártyák mindig fix 3 oszlopban
   jelennek meg, nem a rugalmas auto-fit elrendezésben. */
.eszkoz-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .eszkoz-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .eszkoz-grid { grid-template-columns: 1fr; }
}

/* ---------- Bal oldali, mozgásra beúszó szűrőpanel (csak az eszközök oldalon) ---------- */

/* Egy láthatatlan "érzékelő sáv" a képernyő bal szélén: amíg a kurzor
   ebben a sávban van, a panel nyitva marad, akkor is, ha épp nem mozog az egér. */
.filter-edge-zone {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 100vh;
  z-index: 39;
}

.filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 300px;
  max-width: 84vw;
  z-index: 40;
  overflow-y: auto;
  background: linear-gradient(160deg, rgba(18, 21, 26, 0.98), rgba(12, 14, 17, 0.98));
  border-right: 1px solid rgba(201, 162, 74, 0.25);
  box-shadow: 30px 0 60px rgba(0, 0, 0, 0.35);
  padding: 96px 26px 32px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body.filter-visible .filter-panel {
  transform: translateX(0);
}

.filter-panel-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-light);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-panel-title i { color: var(--color-gold-light); }

.filter-group { margin-bottom: 26px; }

.filter-group h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold-light);
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  cursor: pointer;
}

.filter-option input {
  accent-color: var(--color-gold);
  width: 16px;
  height: 16px;
}

.filter-option:hover { color: var(--color-text-light); }

.filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid rgba(201, 162, 74, 0.35);
  color: var(--color-gold-light);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.filter-clear:hover { border-color: var(--color-gold); color: var(--color-gold); }

.eszkoz-card[hidden] { display: none; }

.eszkoz-noresults {
  color: var(--color-ink-soft);
  text-align: center;
  padding: 40px 0;
}

.eszkoz-noresults[hidden] { display: none; }

@media (max-width: 620px) {
  .filter-panel { width: 84vw; }
}

.eszkoz-kategoria {
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin-bottom: 6px;
}

.badge {
  display: inline-block;
  background: var(--color-ivory);
  color: var(--color-ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid var(--color-line);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 11, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.modal-backdrop[hidden] { display: none; }

.modal {
  background: var(--color-panel);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--color-ivory);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-ink);
}

/* ---------- Kapcsolat ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.contact-card {
  text-align: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px 18px;
}

.contact-card i {
  font-size: 1.6rem;
  color: var(--color-gold-dark);
  margin-bottom: 10px;
  display: block;
}

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

.site-footer {
  background: #0c0e11;
  color: var(--color-text-muted);
  padding: 56px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.brand-footer { color: var(--color-text-light); margin-bottom: 12px; }

.site-footer h4 {
  color: var(--color-gold-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.site-footer a { text-decoration: none; color: var(--color-text-muted); }
.site-footer a:hover { color: var(--color-gold-light); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line-dark);
  font-size: 0.85rem;
  color: #6d7178;
}

.footer-operator {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #55585e;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .nav-inner { flex-direction: column; gap: 14px; }
  .main-nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-block { flex-direction: column; align-items: flex-start; }
}

/* Csökkentett mozgás preferencia tiszteletben tartása */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}

/* Látható fókusz-jelzés billentyűzetes navigációhoz */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* ---------- Beúszó animáció görgetéskor ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.card-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.card-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.25s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.35s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.45s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Nagy, figyelemfelkeltő "csalogató" banner az Eszközök oldalra.
   Demó képpel (ugyanaz a fotó, mint a hero-ban) - később ide kerülhet
   egy célzottabb, pl. akciós vagy friss beérkezésű termékfotó. A sötét
   átmenet kb. 55-70% erősségű balról jobbra, hogy a szöveg olvasható
   maradjon a fotó felett. */
.products-teaser {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.products-teaser-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-teaser-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(12, 14, 17, 0.65) 0%,
    rgba(12, 14, 17, 0.72) 50%,
    rgba(12, 14, 17, 0.65) 100%);
}

.products-teaser-inner {
  max-width: 480px;
  padding: 72px 0;
  color: var(--color-text-light);
  text-align: center;
}

.products-teaser-inner .eyebrow { color: var(--color-gold-light); }

.products-teaser-inner h2 {
  color: var(--color-text-light);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin: 0 0 16px;
}

.products-teaser-inner .lead {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* Szöveg középen, két oldalt egy-egy termékkártya, ami 3 másodpercenként
   véletlenszerűen cserélődik (lásd main.js). */
.products-teaser-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.teaser-slot {
  display: block;
  min-height: 240px;
  text-decoration: none;
  color: var(--color-text-light);
  background: linear-gradient(160deg, rgba(26, 30, 37, 0.9), rgba(18, 21, 26, 0.94));
  border: 1px solid rgba(201, 162, 74, 0.3);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.2s ease, border-color 0.2s ease;
}

.teaser-slot:hover { transform: translateY(-3px); border-color: var(--color-gold); }

.teaser-slot.is-fading { opacity: 0; }

/* A kártyaképek mindig ugyanabba a keretbe kerülnek: fix magasság +
   object-fit: cover. Így bármilyen felbontású/arányú fotót töltenek fel
   hozzá, azt automatikusan a kártyához igazítja, nem kell előre kézzel
   vágni vagy átméretezni. */
.teaser-slot img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--color-ivory);
}

.teaser-slot .badge {
  display: inline-block;
  background: rgba(230, 205, 143, 0.15);
  color: var(--color-gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.teaser-slot h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin: 0 0 4px;
  color: var(--color-text-light);
}

.teaser-slot p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 860px) {
  .products-teaser-grid { grid-template-columns: 1fr; }
  .products-teaser-inner { text-align: center; margin: 0 auto; }
  .teaser-slot { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 700px) {
  .products-teaser { min-height: 50vh; }
  .products-teaser-scrim {
    background: linear-gradient(180deg,
      rgba(12, 14, 17, 0.5) 0%,
      rgba(12, 14, 17, 0.75) 55%,
      rgba(12, 14, 17, 0.92) 100%);
  }
}

@media (max-width: 620px) {
  .products-teaser { min-height: 40vh; }
}

/* Termékfotó-galéria a felugró ablakban (több fotó, nyilas lapozás).
   A kártyán és a bannerben mindig csak a fő fotó jelenik meg - ez a
   galéria kizárólag a modalban él. */
.modal-gallery {
  position: relative;
  margin-bottom: 16px;
}

.modal-gallery-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-ivory);
}

.modal-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-gallery-img.is-active { opacity: 1; }

.modal-gallery-nyil {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(12, 14, 17, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-gallery-nyil:hover { background: rgba(12, 14, 17, 0.8); }

.modal-gallery-elozo { left: 10px; }
.modal-gallery-kovetkezo { right: 10px; }

/* Ha csak 1 fotó van, nincs mit lapozni - a JS ilyenkor elrejti a nyilakat. */
.modal-gallery.egy-kep .modal-gallery-nyil { display: none; }
