  :root{
    --blue:#00ADEF;
    --pink:#ED0E64;
    --text:#1f2937;
    --muted:#6b7280;
    --line:#e5e7eb;
    --bg:#ffffff;
    --navbg:#ffffff;
    --shadow:0 10px 30px rgba(0,0,0,.08);
    --radius:14px;
    --container:100%;
    --topbar-h:86px;
    --nav-h:85px;
	--eg-pink: #ff2d7a;
    --eg-pink2:#ff4fa3;
    --eg-ink:  #0b1b2b;
    --eg-border: rgba(255,45,122,.35);
    --eg-shadow: 0 10px 28px rgba(11,27,43,.16);
}
*{box-sizing:border-box}
    html,body{height:100%}
    body{
	height:100%;
	overflow:hidden;
    margin:0;
    font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    color:var(--text);
    background:var(--bg);
}
a{color:inherit; text-decoration:none}
.container{
    max-width:var(--container);
    margin:0 auto;
    padding:0 16px;
}
/* ===== TOPBAR ===== */
.topbar{
    position:sticky;
    top:0;
    z-index:50;
    background:var(--bg);
    border-bottom:1px solid var(--line);
}
.topbar-inner{
  height:var(--topbar-h);
  display:grid;
  grid-template-columns: minmax(260px, 1fr) auto auto; /* bal | közép | jobb */
  align-items:center;
  gap:18px;
}
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    height:42px;
    padding:0 16px;
    border-radius:10px;
    border:1px solid transparent;
    font-weight:700;
    letter-spacing:.2px;
    white-space:nowrap;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    transition: transform .15s ease, filter .15s ease;
}
.btn:hover{transform:translateY(-1px); filter:brightness(.98)}
.btn:active{transform:translateY(0)}
.btn-phone{
    background:var(--blue);
    color:#fff;
    justify-self:start;
}
.btn-book{
  background:var(--pink);
  color:#fff;
  margin-left: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
/* Egészséggyár - diszkrét counter */
.counter-box{
  width: 110px;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255, 60, 140, .18);
  box-shadow: 0 8px 18px rgba(16, 24, 40, .10);
  backdrop-filter: blur(10px);
  font-family: 'Montserrat', sans-serif;
  color: #1f2937;
  display:flex;
  flex-direction:column;
  gap: 4px;
  margin-left: 10px;
  align-items: stretch;
}
/* SOR */
.counter-line{
  display:flex;
  align-items:center;
  gap:6px;
  line-height:1.1;
  padding: 2px 6px;
  border-radius: 8px;
}
.counter-icon.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
  display:inline-block;
}
/* hover nagyon finom */
.counter-line:hover{
  background: rgba(255, 60, 140, .06);
}
/* ikon: visszafogott, pink akcent */
.counter-icon{
  font-size: 12px;
  width: 16px;
  text-align:center;
  color: rgba(255, 60, 140, .95);
  filter: drop-shadow(0 2px 6px rgba(255,60,140,.18));
}
/* érték */
.counter-value{
  flex:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;

  font-weight: 600;
  font-size: 11px;
  letter-spacing: .1px;
}
/* óra kicsit "kijelzősebb", de diszkrét */
.counter-clock .counter-value{
  font-variant-numeric: tabular-nums;
  opacity: .92;
}
.menu{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
}
/* a logós LI ne nyúljon */
.menu-logo{
  flex:0 0 auto;
  display:flex;
  align-items:center;
}
.nav-brand{
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border-radius: 14px;
  overflow: hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
  line-height:0;
}
/* ikon maga */
.nav-brand .animated-icon{
  width:70px;
  height:70px;
  background-image:url('image/egyar_logo.png');
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
  display:block;
  animation: rotateY 1.5s linear infinite;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform;
}
/* ha valaki csökkentett animációt kér */
@media (prefers-reduced-motion: reduce){
  .nav-brand .animated-icon{ animation:none; }
}
@keyframes rotateY{
  from{ transform: rotateY(0deg); }
  to  { transform: rotateY(360deg); }
}
.right-stack{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
}
.auth{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:14px;
  font-weight:600;
}
.auth a{
  padding:6px 8px;
  border-radius:8px;
}
.auth a:hover{
  background:rgba(0,0,0,.04);
  color:var(--text);
}
.social{
  display:flex;
  align-items:center;
  gap:8px;
}
.icon-btn{
  width:36px; height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
 transition:transform .15s ease, background .15s ease;
}
.icon-btn:hover{transform:translateY(-1px); background:#fafafa}
.icon{
  width:18px; height:18px; display:block;
  fill: currentColor;
  color: #374151;
}
/* ===== NAV ===== */
.mainnav{
  position: sticky;
  top:var(--topbar-h);
  z-index: 2000; 
  background:var(--navbg);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  height:var(--nav-h);
  position: relative;
  display:flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap:12px;
}
.nav-toggle{
  display:none;
  height:40px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:800;
  cursor:pointer;
}
.menu{
  margin:0;
  padding:0;
  width: auto; 
  list-style:none;
  display:flex;
  justify-content: center;
  gap:10px;
  width:100%;
}
.menu > li{position:relative}
.menu > li > a{
   display:inline-flex;
   align-items:center;
   gap:10px;
   padding:10px 12px;
   border-radius:10px;
   border-bottom: 0;
   box-shadow: inset 0 -3px 0 transparent;
   color:#5b6472;
   font-weight:700;
   font-size:15px;
   border-bottom:3px solid transparent;
   transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.menu > li > a:hover{
  background:rgba(0,0,0,.04);
  color:#1f2937;
  box-shadow: inset 0 -3px 0 rgba(0,173,239,.35);
  border-color: rgba(0,173,239,.35);
}
.menu > li > a[aria-current="page"]{
  color:var(--blue);
  border-color: var(--blue);
  box-shadow: inset 0 -3px 0 var(--blue);
  background:rgba(0,173,239,.06);
}
.home-pill{
  font-size:18px;
  padding:10px 12px !important;
}
.left-info-slider{
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
#infoItems {
    display: inline-flex;
    gap: clamp(10px, 2vw, 30px);
    transition: all 0.5s ease-in-out;
}
#infoItems span,
#infoItems a {
    white-space: nowrap;
    color: #ED0E64;
    text-decoration: none;
}
#infoItems a:hover {
    text-decoration: underline;
}
/* dropdown */
.has-dd > a::after{
  content:"▾";
  font-size:12px;
  opacity:.75;
}
.dd{
  position:absolute;
  top:100%;
  left:0;
  min-width:260px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:8px;
  z-index: 3000;
  margin-top:0px;
  calc(100% + 8px);
  display:none;
}
.dd a{
  display:flex;
  padding:10px 10px;
  border-radius:10px;
  color:#374151;
  font-weight:650;
  font-size:14px;
}
.dd a:hover{background:rgba(0,0,0,.04)}
.has-dd:hover
.dd{display:block}
.has-dd:hover > .dd,
.has-dd:focus-within > .dd{
  display:block;
}
.has-dd > a{ cursor:pointer; }
.dd a{ cursor:pointer; }
/* ===== IFRAME AREA ===== */
.frame-wrap{
  height: calc(100vh - var(--topbar-h) - var(--nav-h));
  overflow:hidden;
  background:#f7fafc;
  position: relative;
  z-index: 1;
}
.frame-wrap iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:#fff;
}
iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:#fff;
}
.menu-search{
  margin-left:auto;
  list-style:none;
}
#kereso-form{
  display:flex; 
  align-items:center;
  gap:5px; margin:0;
  position:relative;
  min-width: 0;
}
#kereso-input{
  width:180px;
  padding: 8px 34px 8px 10px;
  font-size:13.5px;
  border-radius:10px;
  background: rgba(255,255,255,.95) !important;
  border: 1px solid var(--eg-border) !important;
  color: var(--eg-ink) !important;
  box-shadow: 0 8px 20px rgba(11,27,43,.10) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
#kereso-input::placeholder{ color: rgba(11,27,43,.55) !important; }

#kereso-input:focus{
  background: #fff !important;
  border-color: rgba(255,45,122,.70) !important;
  box-shadow:
    0 0 0 3px rgba(255,45,122,.22),
    0 10px 24px rgba(11,27,43,.14) !important;
}
#kereso-form button {
  position:absolute;
  right:4px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.35);
  border-radius:8px;
  border-color: rgba(255,45,122,.45) !important;
  background: linear-gradient(180deg, var(--eg-pink2), var(--eg-pink)) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(255,45,122,.25), 0 8px 18px rgba(11,27,43,.14) !important;
  cursor:pointer;
  padding: 5px 8px;
  font-size: 13.5px;
}
#kereso-btn:hover{
  filter: brightness(1.03);
  transform: translateY(-50%) translateY(-1px);
}
#kereso-btn:active{
  filter: brightness(.98);
  transform: translateY(-50%);
}
#kereso-btn:focus-visible{
  outline:2px solid #ffffff; outline-offset:2px;
}
#kereso-btn i{ font-size:14px; color:#0e2b52; }
#kereso-btn img{ width:16px; height:16px; display:block; }
#talalatok {
    position: fixed;
    top: 165px;
    right: 20px;
    width: 300px;
    max-height: 450px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
    padding: 15px;
    background: rgba(255,255,255,.98) !important;
    border: 1px solid rgba(255,45,122,.25) !important;
    border-radius: 14px !important;
    box-shadow: var(--eg-shadow) !important;
    color: var(--eg-ink) !important;
    display: none;
    z-index: 1000;
}
#talalatok::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:4px;
  border-radius:14px 14px 0 0;
  background: linear-gradient(90deg, var(--eg-pink), var(--eg-pink2));
}
#talalatok-bezar {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
	color: var(--eg-pink) !important;
    opacity: .95;
    font-size: 18px;
    cursor: pointer;
}
#talalatok-tartalom{
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px;
  column-count: 1 !important;
  columns: auto !important;
  overflow-x: hidden;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  writing-mode: horizontal-tb !important;
}
#talalatok-tartalom > *{
  display: block !important;
  float: none !important;
  clear: both !important;
  width: auto !important;
  max-width: 100% !important;
}
.eredmeny-doboz {
  background: #fff !important;
  border: 1px solid rgba(255,45,122,.22) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 18px rgba(11,27,43,.10) !important;
  padding: 20px;
  max-width: 600px;
  margin: 20px auto;
  font-family: sans-serif;
}
.talalat{
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,45,122,.06);
  border: 1px solid rgba(255,45,122,.12);
  margin-bottom: 8px;
}
.talalat a{
  color: var(--eg-ink);
  text-decoration: none;
  font-weight: 600;
}
.talalat a:hover{
  color: var(--eg-pink);
  text-decoration: underline;
}
/* Aktuális nap kiemelése */
.is-today {
  border: 2px solid #2563eb !important;
  background-color: #f0f7ff !important;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  position: relative;
  z-index: 1;
}
.today-badge {
  background: #2563eb;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
  text-transform: uppercase;
  vertical-align: middle;
}
.is-today {
  animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
:root{ --topbar-h: 104px; }
.topbar-inner{
   grid-template-columns: 1fr 1fr;
   grid-template-rows: auto auto;
   height:var(--topbar-h);
   padding:10px 0;
}

.btn-phone{order:2; justify-self:start}
.right-stack{order:3; justify-self:end}
.btn-book{order:4; justify-self:end}
.nav-toggle{display:inline-flex}
.menu{
   position:absolute;
   left:0; right:0;
   top:100%;
   background:#fff;
   border-bottom:1px solid var(--line);
   padding:10px 16px 16px;
   flex-direction:column;
   align-items:stretch;
   gap:6px;
   display:none;
}
.menu.is-open{display:flex}
.menu > li > a{
    justify-content:space-between;
    border-bottom:none;
}
.dd{
    position:static;
    display:none;
    margin-top:0;
    box-shadow:none;
    border-radius:12px;
}
.has-dd.is-open .dd{display:block}
.has-dd:hover .dd{display:none}
 }