/* booking.css — szalon/foglalas modul stilusai (kulon a globalis style.css-tol).
   Stack: Bootstrap 5 + Bootstrap Icons. @see .claude/skills/bootstrap5-ui.md */
   
/* bg */
.bg-theme-gradient {
  background: #ffffff;
  background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(231, 220, 205, 1) 100%);
}

.br-1 { border-radius: 6px;}
.br-2 { border-radius: 10px;}
.br-3 { border-radius: 15px;}
.br-4 { border-radius: 30px;}

.bb-4 {border-bottom: 10px solid #000;}

/* --- kereso --- */
.salons-hero .salons-search { border: 1px solid rgba(0, 0, 0, .05); }
.salons-search .form-label { color: #000; font-weight: 500; }
.salons-search input[type="text"]::placeholder, .salons-search .form-select {color: #222;}
.salons-search input[type="text"]:focus::placeholder{opacity:0.2;}

/* --- szalon kartya --- */
.salon-card {
    transition: transform .15s ease, box-shadow .15s ease;
    border-radius: 0;
    overflow: hidden;
    transform: translateZ(0); 
    backface-visibility: hidden;
}
.salon-card:hover {
    transform: translateY(0);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .12) !important;
}
.salon-card__media { position: relative; }
.salon-card__placeholder {
    background: linear-gradient(135deg, #f3e9f1 0%, #e9eef5 100%);
    color: #b98bb0;
}
.salon-card__placeholder .bi { font-size: 2.5rem; }
.salon-card .card-body { padding: 1rem 1.1rem 1.1rem; }
.salon-card .badge { font-size: .72rem; }

/* loading allapot (AJAX szuro alatt) */
#salon-results.is-loading { opacity: .45; pointer-events: none; transition: opacity .15s ease; }

/* --- slot grid (foglalasi wizard, kesobb) --- */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: .5rem;
}
.slot-grid .slot-btn { font-variant-numeric: tabular-nums; }

.profile-logo-circle {
    width: 75px; 
    height: 75px; 
    flex-shrink: 0;
    margin-top:-65px;
    position:relative;
    z-index:2;
    background: #fff;
}

@media (max-width: 575.98px) {
    .salons-search .row > [class^="col-"] { margin-bottom: .25rem; }
}

/* ============================================================
   SZALON ADATLAP — Booksy-stilusu profil (uj design tokenek)
   szinek: --primary #000, --text #5F615E, --bg-2 #F5F5F5, --line #EDEDED
   ============================================================ */

.salon-breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: .35rem;
    font-size: .85rem; color: var(--text-2, #8A8C8A);
    padding: 1rem 0 .25rem;
}
.salon-breadcrumb a { color: var(--text-2, #8A8C8A); text-decoration: none; }
.salon-breadcrumb a:hover { color: var(--primary, #000); }
.salon-breadcrumb .icon { font-size: .7rem; opacity: .6; }
.salon-breadcrumb span { color: var(--text, #5F615E); }

/* --- HERO galeria --- */
.salon-hero { padding-top: .5rem; }
.salon-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; height: 360px; }
.salon-gallery__main,
.salon-gallery__thumb {
    border-radius: 16px; overflow: hidden; position: relative; background: var(--bg-2, #F5F5F5);
}
.salon-gallery__main { height: 360px; }
.salon-gallery__main img,
.salon-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.salon-gallery__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.salon-gallery__ph {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: linear-gradient(135deg, #efe6dc 0%, #e9eef5 100%); color: var(--primary, #000);
}
.salon-gallery__ph .icon { font-size: 3.5rem; }

/* --- HERO fejlec --- */
.salon-headline {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
    padding: 1.25rem 0 .25rem;
}
.salon-headline__title { font-weight: 700; font-size: 2rem; margin: 0 0 .5rem; }
.salon-headline__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; color: var(--text, #5F615E); font-size: .95rem; }
.salon-headline__meta .icon { color: var(--primary, #000); margin-right: .25rem; }
.salon-rating { font-weight: 600; }
/* Csillagos atlagertekeles: szurke alap + arany kitolto reteg (szelesseg=atlag %) */
.salon-rating--score { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.salon-rating__count { color: var(--text-2, #8A8C8A); font-weight: 400; }
.salon-stars { position: relative; display: inline-block; white-space: nowrap; line-height: 1; vertical-align: middle; }
.salon-stars__base, .salon-stars__fill { display: inline-block; white-space: nowrap; }
.salon-stars__fill { position: absolute; top: 0; left: 0; overflow: hidden; }
.salon-stars .icon { margin: 0 1px 0 0 !important; }
.salon-stars__base .icon { color: #d7d7d7 !important; }
.salon-stars__fill .icon { color: #f5b301 !important; }
.salon-status.is-open b, .salon-status.is-open { color: #2e7d32; }
.salon-status.is-closed { color: #b23b3b; }
.salon-headline__actions { display: flex; gap: .5rem; flex-shrink: 0; }
.salon-icon-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line, #EDEDED);
    background: #fff; color: var(--text, #5F615E); cursor: pointer; transition: all .15s ease;
}
.salon-icon-btn:hover { border-color: var(--primary, #000); color: var(--primary, #000); }

/* --- BODY layout --- */
.salon-body { padding-top: 1.5rem !important; }
.salon-alert { border-radius: 12px; padding: .85rem 1rem; margin-bottom: 1.25rem; font-size: .92rem; }
.salon-alert--info { background: #f3f6ec; color: #5a6a2e; }
.salon-alert--warn { background: #fdf3e7; color: #8a5a1e; }

/* in-page nav */
.salon-nav {
    position: sticky; top: 0; z-index: 20; display: flex; gap: .5rem; flex-wrap: wrap;
    background: #fff; padding: .75rem 0; margin-bottom: 1rem; border-bottom: 1px solid var(--line, #EDEDED);
}
.salon-nav a {
    padding: .4rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
    color: var(--text, #5F615E); text-decoration: none; transition: all .15s ease;
}
.salon-nav a:hover { background: var(--bg-2, #F5F5F5); }
.salon-nav a.is-active { background: var(--primary, #000); color: #fff; }

.salon-section { padding-top: 1.75rem; scroll-margin-top: 70px; }
.salon-section__title { font-weight: 700; font-size: 1.4rem; margin-bottom: 1rem; }
.salon-about { color: var(--text, #5F615E); line-height: 1.7; }

/* szolgaltatas-sorok (Booksy) */
.svc-cat { font-weight: 700; font-size: 1.05rem; margin: 1.5rem 0 .25rem; display: flex; align-items: center; gap: .5rem; }
.svc-cat .icon { color: var(--primary, #000); }
.svc-sub { font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; color: var(--text-2, #8A8C8A); margin: .75rem 0 .25rem; }
.svc-list { display: flex; flex-direction: column; }
.svc-row {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 0;
    border-bottom: 1px solid var(--line, #EDEDED);
}
.svc-row__info { flex: 1; min-width: 0; }
.svc-row__name { font-weight: 600; margin-bottom: .2rem; }
.svc-row__meta { font-size: .88rem; color: var(--text-2, #8A8C8A); display: flex; align-items: center; gap: .4rem; }
.svc-row__meta .icon { font-size: .9rem; }
.svc-row__price { color: var(--text, #5F615E); font-weight: 700; }
.svc-row__price::before { content: "·"; margin-right: .4rem; color: var(--text-3, #ACAFAB); }
.svc-row__desc { font-size: .85rem; color: var(--text-2, #8A8C8A); margin-top: .35rem; }
.svc-row__btn { flex-shrink: 0; padding: .5rem 1.25rem; }

/* csapat */
.salon-team { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.salon-team__member { text-align: center; width: 120px; }
.salon-team__avatar {
    width: 120px; height: 120px; border-radius: 50%; margin: 0 auto .5rem; overflow: hidden;
    background: var(--bg-2, #F5F5F5); display: flex; align-items: center; justify-content: center;
}
.salon-team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.salon-team__avatar .icon { font-size: 2rem; color: var(--text-3, #ACAFAB); }
.salon-team__name { font-weight: 600; font-size: .9rem; }
.salon-team__role { font-size: .78rem; color: var(--primary, #000); }

/* nyitvatartas + elerhetoseg */
.salon-hours { width: 100%; border-collapse: collapse; }
.salon-hours th, .salon-hours td { padding: .45rem .25rem; border-bottom: 1px solid var(--line, #EDEDED); font-weight: 400; }
.salon-hours th { text-align: left; color: var(--text, #5F615E); }
.salon-hours td { text-align: right; }
.salon-hours tr.is-today th, .salon-hours tr.is-today td { font-weight: 700; color: #000; }
.salon-hours .closed { color: var(--text-3, #ACAFAB); }
.salon-contact { list-style: none; padding: 0; margin: 0 0 1rem; }
.salon-contact li { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; color: var(--text, #5F615E); }
.salon-contact li .icon { color: var(--primary, #000); }
.salon-contact a { color: inherit; text-decoration: none; }
.salon-contact a:hover { color: var(--primary, #000); }
.salon-note { font-size: .88rem; color: var(--text-2, #8A8C8A); margin-bottom: .35rem; }
.salon-socials { display: flex; gap: .5rem; margin: .75rem 0; }
.salon-socials a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line, #EDEDED);
    display: flex; align-items: center; justify-content: center; color: var(--text, #5F615E); transition: all .15s ease;
}
.salon-socials a:hover { border-color: var(--primary, #000); color: var(--primary, #000); }
.salon-map-btn { margin-top: .5rem; }

/* galeria */
.salon-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.salon-gallery-grid__item { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--bg-2, #F5F5F5); }
.salon-gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.salon-gallery-grid__item:hover img { transform: scale(1.05); }

/* galeriankenti csoport (2026-09-09): a `$galeria` galeriankent csoportositott,
   ezert minden album sajat cimsort es sajat racsot kap. A cimsor a lap sajat
   `.svc-cat` idiomajat koveti, hogy ne uj stilus-nyelvet vezessunk be. */
.salon-gallery-album + .salon-gallery-album { margin-top: 1.5rem; }
.salon-gallery-album__title { font-weight: 700; font-size: 1.05rem; margin: 0 0 .5rem; }

/* kep-leiras lathato feliratkent (2026-09-09).
   ⚠️ A `.salon-gallery-grid__item` szabalya (aspect-ratio: 1 + overflow: hidden)
   VALTOZATLAN: azt a negyzetet teljesen kitolti a kep, oda felirat nem fer be.
   Ezert a racs gyereke most a `<figure>`, es az `<a>` maradt a negyzet.
   ⚠️ Az `<a>`-t blokkositani KELL: grid-gyerekkent eddig magatol az volt, a
   figure-on belul viszont inline lenne, es az `aspect-ratio` + a kep
   `height:100%`-a elcsuszna.
   ⚠️ `overflow-wrap`: egy hosszu, torhetetlen szo (URL) kilogna a 150px cellabol. */
.salon-gallery-figure { margin: 0; }
.salon-gallery-figure > .salon-gallery-grid__item { display: block; }
.salon-gallery-figure__caption {
    margin: .5rem 0 0; font-size: .85rem; line-height: 1.4;
    color: var(--text, #5F615E); overflow-wrap: break-word;
}

/* ragacsos foglalokartya */
.salon-aside { position: relative; }
.salon-book-card {
    position: sticky; top: 7rem; border: 1px solid var(--line, #EDEDED); border-radius: 10px;
    padding: 1.5rem; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}
.salon-book-card__name { font-weight: 700; font-size: 1.15rem; }
.salon-book-card__rating { font-size: .85rem; color: var(--text-2, #8A8C8A); margin: .25rem 0 1rem; }
.salon-book-card__rating .icon { color: var(--primary, #000); }
.salon-book-card__rating--score { display: flex; align-items: center; gap: .35rem; color: var(--text, #5F615E); }
.salon-book-card__rating--score b { color: var(--text, #5F615E); }
.salon-book-card__cta { margin-bottom: 1.25rem; }
.salon-book-card__cta .icon { margin-right: .4rem; }
.salon-book-card__list { list-style: none; padding: 0; margin: 0; }
.salon-book-card__list li { display: flex; gap: .6rem; padding: .4rem 0; font-size: .9rem; color: var(--text, #5F615E); }
.salon-book-card__list li .icon { color: var(--primary, #000); margin-top: .15rem; }
.salon-book-card__list a { color: inherit; text-decoration: none; }
.salon-book-card__list .open { color: #2e7d32; }
.salon-book-card__list .closed { color: #b23b3b; }

/* mobil ragacsos sav */
.salon-mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: #fff; border-top: 1px solid var(--line, #EDEDED); padding: .65rem 1rem;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .08);
}
.salon-mobile-bar__info { display: flex; flex-direction: column; line-height: 1.2; }
.salon-mobile-bar__info b { font-size: .92rem; }
.salon-mobile-bar__info .open { color: #2e7d32; font-size: .8rem; }
.salon-mobile-bar__info .closed { color: #b23b3b; font-size: .8rem; }
.salon-mobile-bar .tf-btn { white-space: nowrap; }

@media (max-width: 991.98px) {
    .salon-gallery { grid-template-columns: 1fr; height: auto; }
    .salon-gallery__main { height: 240px; }
    .salon-gallery__grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; }
    .salon-aside { display: none; }       /* mobilon a ragacsos sav helyettesiti */
    .salon-body { padding-bottom: 5rem !important; }
}
@media (max-width: 575.98px) {
    .salon-headline__title { font-size: 1.5rem; }
    .salon-headline { flex-direction: column; }
}

/* ============================================================
   FOGLALASI WIZARD (/szalon/{slug}/foglalas)
   ============================================================ */
.booking-wizard { padding-top: .5rem; }
.bw-title { font-weight: 700; font-size: 1.6rem; margin: .5rem 0 1rem; }

.bw-service-head {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    background: var(--bg-9, #F6F4F1); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.bw-service-head__name { font-weight: 700; font-size: 1.1rem; }
.bw-service-head__meta { font-size: .9rem; color: var(--text-2, #8A8C8A); }
.bw-service-head__meta .icon { color: var(--primary, #000); }
.bw-service-head__price { font-weight: 700; color: var(--primary, #000); font-size: 1.15rem; }

.bw-step { margin-bottom: 1.75rem; }
.bw-step__title { font-weight: 700; font-size: 1.15rem; margin-bottom: .85rem; }

/* szakember valaszto */
.bw-staff { display: flex; flex-wrap: wrap; gap: .75rem; }
.bw-staff__item {
    display: flex; flex-direction: column; align-items: center; gap: .35rem; width: 110px; padding: .85rem .5rem;
    border: 1px solid var(--line, #EDEDED); border-radius: 14px; background: #fff; cursor: pointer; transition: all .15s ease;
}
.bw-staff__item:hover { border-color: var(--primary, #000); }
.bw-staff__item.is-selected { border-color: var(--primary, #000); box-shadow: 0 0 0 2px var(--primary, #000) inset; }
.bw-staff__avatar {
    width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--bg-2, #F5F5F5);
    display: flex; align-items: center; justify-content: center;
}
.bw-staff__avatar img { width: 100%; height: 100%; object-fit: cover; }
.bw-staff__avatar .icon { font-size: 1.5rem; color: var(--text-3, #ACAFAB); }
.bw-staff__name { font-weight: 600; font-size: .85rem; text-align: center; }
.bw-staff__role { font-size: .72rem; color: var(--primary, #000); }

.bw-date { max-width: 260px; }

/* slot gombok */
.slot-grid .slot-btn { font-variant-numeric: tabular-nums; border-radius: 10px; }
.slot-grid .slot-btn.active { background: var(--primary, #000); border-color: var(--primary, #000); color: #fff; }
#book-slots.is-loading { opacity: .4; pointer-events: none; }

/* auth panel */
.bw-auth { border: 1px solid var(--line, #EDEDED); border-radius: 14px; padding: 1.25rem; margin-bottom: 1.25rem; }
.bw-auth__lead { font-size: .9rem; color: var(--text-2, #8A8C8A); margin-bottom: .85rem; }
.bw-auth__tabs { display: flex; gap: .5rem; margin-bottom: 1rem; }
.bw-auth__tab {
    flex: 1; padding: .5rem; border: 1px solid #fff; background: #fff;
    font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--text, #5F615E); justify-content: center;border-bottom: 0;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.bw-auth__tab.is-active { background: #fff; border-color: #000; color: #000; }
.bw-auth__form { display: flex; flex-direction: column; gap: .65rem; }

.bw-form { display: flex; flex-direction: column; gap: .5rem; }
.bw-user { padding: .5rem 0; }
.bw-label { font-size: .85rem; font-weight: 600; color: var(--text, #5F615E); margin-top: .35rem; }
.bw-check { font-size: .85rem; color: var(--text, #5F615E); display: flex; gap: .4rem; align-items: flex-start; }
.bw-submit { margin-top: .75rem; }
.bw-submit .icon { margin-right: .35rem; }
.bw-error { background: #fdecec; color: #b23b3b; border-radius: 10px; padding: .6rem .85rem; font-size: .88rem; margin-top: .5rem; }

/* osszegzo */
.bw-summary__list { list-style: none; padding: 0; margin: 0 0 1rem; }
.bw-summary__list li { display: flex; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--line, #EDEDED); }
.bw-summary__list li .icon { color: var(--primary, #000); margin-top: .15rem; }
.bw-summary__price { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; padding: .5rem 0; }
.bw-summary__price b { color: var(--primary, #000); }
.bw-summary__note { font-size: .8rem; color: var(--text-2, #8A8C8A); margin: .5rem 0 0; }

/* siker */
.bw-success { padding: 2rem 0; }
.bw-success__box { max-width: 520px; margin: 0 auto; text-align: center; border: 1px solid var(--line, #EDEDED); border-radius: 18px; padding: 2.5rem 1.5rem; }
.bw-success__box .icon-check-circle { font-size: 3.5rem; color: #2e7d32; }
.bw-success__box h2 { font-weight: 700; margin: 1rem 0 .5rem; }
.bw-success__ref { color: var(--text-2, #8A8C8A); margin: 1rem 0; }

/* ============================================================
   FOGLALO MODAL (szalon adatlapon) — ket-utas, datum-kartyak
   ============================================================ */
.bw-modal { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; }
.bw-modal[hidden] { display: none; }
.bw-modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); cursor: url(../images/cursor-close.svg),auto;}
.bw-modal__dialog {
    position: relative; width: 100%; max-width: 520px; max-height: 90vh; background: #fff; border-radius: 18px;
    display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 1rem 3rem rgba(0, 0, 0, .25);
    margin: 0;
    cursor: unset;
}
.bw-modal__head { display: flex; align-items: center; gap: .5rem; padding: 1rem 0.8rem; border-bottom: 1px solid var(--line, #EDEDED); }
.bw-modal__title { flex: 1; line-height: 1.2; }
.bw-modal__title span { font-weight: 700; display: block; font-size: 1.2em;color:#000;}
.bw-modal__title small { color: var(--text-2, #8A8C8A); font-size: .9rem; }
.bw-modal__back, .bw-modal__close {
    font-size: 1.5em; width: 38px; height: 38px; border-radius: 50%; border: 0px solid var(--line, #EDEDED); background: #fff;
    color: var(--text, #5F615E); cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.bw-modal__back:hover, .bw-modal__close:hover { border-color: var(--primary, #000); color: var(--primary, #000); }
.bw-modal__body { padding: 1.25rem; overflow-y: auto; position: relative; }
.bwm-h { font-weight: 700; font-size: 1.5rem; margin: 0 0 1rem; }
.bwm-empty { color: var(--text-2, #8A8C8A); }

/* loading + spinner */
.bw-loading { position: absolute; inset: 0; background: rgba(255, 255, 255, .7); display: flex; align-items: center; justify-content: center; z-index: 5; }
.bw-loading[hidden] { display: none; }
.bw-spinner { width: 34px; height: 34px; border: 3px solid var(--line, #EDEDED); border-top-color: var(--primary, #000); border-radius: 50%; animation: bw-spin .8s linear infinite; }
@keyframes bw-spin { to { transform: rotate(360deg); } }

/* variansok + ut-valaszto opciok */
.bwm-options { display: flex; flex-direction: column; gap: .6rem; }
.bwm-option {
    display: flex; flex-direction: column; align-items: flex-start; padding: .85rem 1.1rem; border: 1px solid var(--line, #EDEDED);
    border-radius: 12px; background: #fff; cursor: pointer; text-align: left; transition: all .15s ease;
}
.bwm-option:hover { border-color: var(--primary, #000); background: var(--bg-9, #F6F4F1); }
.bwm-option span { font-weight: 600; }
.bwm-option small { color: var(--text-2, #8A8C8A); }

.bwm-paths { display: grid; gap: .75rem; }
.bwm-path {
    display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; padding: 1.25rem; border: 1px solid var(--line, #EDEDED);
    border-radius: 14px; background: #fff; cursor: pointer; text-align: left; transition: all .15s ease;
}
.bwm-path:hover { border-color: var(--primary, #000); background: var(--bg-9, #F6F4F1); }
.bwm-path .icon { font-size: 1.6rem; color: var(--primary, #000); }
.bwm-path span { font-weight: 700; font-size: 1.05rem; }
.bwm-path small { color: var(--text-2, #8A8C8A); }

/* "Idopont szerint" opcio a szakember-kepernyo tetejen */
.bwm-anytime {
    display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; width: 100%;
    padding: 1rem 1.1rem; border: 1px solid var(--line, #EDEDED); border-radius: 14px; background: #fff;
    cursor: pointer; text-align: left; transition: all .15s ease; margin-bottom: 1rem;
}
.bwm-anytime:hover { border-color: var(--primary, #000); background: var(--bg-9, #F6F4F1); }
.bwm-anytime .icon { font-size: 1.4rem; color: var(--primary, #000); }
.bwm-anytime span { font-weight: 700; }
.bwm-anytime small { color: var(--text-2, #8A8C8A); }
.bwm-or { text-align: center; font-size: .82rem; color: var(--text-3, #ACAFAB); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .85rem; }

/* szakember racs (modalban) */
.bwm-staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .75rem; }
.bwm-staff__item {
    display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .85rem .4rem; border: 1px solid var(--line, #EDEDED);
    border-radius: 14px; background: #fff; cursor: pointer; transition: all .15s ease;
}
.bwm-staff__item:hover { border-color: var(--primary, #000); }
.bwm-staff__av { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: var(--bg-2, #F5F5F5); display: flex; align-items: center; justify-content: center; }
.bwm-staff__av img { width: 100%; height: 100%; object-fit: cover; }
.bwm-staff__av .icon { font-size: 1.5rem; color: var(--text-3, #ACAFAB); }
.bwm-staff__nm { font-weight: 600; font-size: .82rem; text-align: center; }
.bwm-staff__item small { font-size: .7rem; color: var(--primary, #000); }

/* datum-kartyak (carousel) */
.bwm-date-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; gap: .5rem; }
.bwm-date-head .bwm-h { margin: 0; }
.bwm-month-nav { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; }
.bwm-monthbtn { display: inline-block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line, #EDEDED); background: #fff; cursor: pointer; }
.bwm-monthbtn:disabled { opacity: .35; cursor: default; }
.bwm-dates { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.bwm-date {
    flex: 0 0 auto; width: 62px; padding: .6rem 0; border: 1px solid var(--line, #EDEDED); border-radius: 12px; background: #fff;
    cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .1rem; scroll-snap-align: start; transition: all .12s ease;
}
.bwm-date:hover { border-color: var(--primary, #000); }
.bwm-date.is-active { background: var(--primary, #000); border-color: var(--primary, #000); color: #fff; }
.bwm-date__dow { font-size: .72rem; text-transform: uppercase; color: var(--text-2, #8A8C8A); }
.bwm-date.is-active .bwm-date__dow, .bwm-date.is-active .bwm-date__m { color: rgba(255, 255, 255, .85); }
.bwm-date__d { font-size: 1.25rem; font-weight: 700; }
.bwm-date__m { font-size: .72rem; color: var(--text-2, #8A8C8A); }
.bwm-date.is-disabled { opacity: .35; cursor: not-allowed; }
.bwm-date.is-disabled:hover { border-color: var(--line, #EDEDED); }
.bwm-date.is-pending { opacity: .5; cursor: default; }

/* osszegzo a modalban */
.bwm-summary { background: var(--bg-9, #F6F4F1); border-radius: 12px; padding: .85rem 1rem; margin-bottom: 1rem; }
.bwm-sum-row { display: flex; gap: .6rem; align-items: center; padding: .2rem 0; }
.bwm-sum-row .icon { color: var(--primary, #000); }

/* siker a modalban */
.bwm-success-screen { text-align: center; padding: 1.5rem 1rem; }
.bwm-success-screen .icon-check-circle { font-size: 3rem; color: #2e7d32; }
.bwm-success-screen h4 { font-weight: 700; margin: .85rem 0 .5rem; }
.bwm-success-ref { color: var(--text-2, #8A8C8A); margin: .85rem 0; }

@media (max-width: 575.98px) {
    .bw-modal__dialog { max-width: 100%; max-height: 100vh; height: 100vh; border-radius: 0; margin: 0; }
}

/* ============================================================
   MUNKATARS PROFIL MODAL (szalon adatlap, Csapat fules)
   A modal-vaz (bw-modal*) es a szolgaltatas-lista (svc-*) ujrahasznositott.
   A galeria a salon-gallery-grid* alapjait hasznalja, de a modal keskeny
   dialogusaban 3 oszlopot kenyszerit (lasd .sm-gallery-grid).
   ============================================================ */
.sm-modal__head { align-items: center; }
.sm-profile__avatar {
    width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: var(--bg-2, #F5F5F5); display: flex; align-items: center; justify-content: center;
}
.sm-profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sm-profile__avatar .icon { font-size: 1.5rem; color: var(--text-3, #ACAFAB); }
.sm-profile__leiras { margin: 0 0 1rem; color: var(--text, #5F615E); line-height: 1.6; }

/* a booking-gomb a szolgaltatas-soron belul, a svc-row__info mellett —
   #sm-szolgaltatasok-ra szukitve, hogy a fo "Szolgaltatasok" fulet ne erintse */
#sm-szolgaltatasok .svc-row { padding: .85rem 0; }
#sm-szolgaltatasok .svc-row__btn { padding: .4rem 1rem; font-size: .85rem; }

/* 3 kep soronkent, fuggetlenul a modal pontos szelessegetol */
.sm-gallery-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }


.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    padding-left: 20px;
}
.form-select {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    background-color: #f5f5f5 !important;
    border-color: #f5f5f5 !important;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--text-2);
    height: 56px;
    background-position: right 1.3rem center;
}
.form-select option {
  font-size: 15px;
}
.form-control:focus,
.form-select:focus {
    border-color: #f5f5f5 !important;
    outline: 0 !important;
    box-shadow: unset !important;
    background-color: #f5f5f5 !important;
}


/* SALON PROFILE  */
.page-szalonok .tf-header.style-3, 
.page-szalon .tf-header.style-3 {
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
}
.cover-photo {
    height: 380px;
    background-color: #e9ecef;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
}
.cover-photo:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0,0,0,0.025);
    z-index: 0;
    border-radius: 10px;
}
.profile-photo-wrapper {
  width: 168px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 4px solid #fff;
  margin-top: -55px;
  margin-left: 15px;
  background-color: #f9f9f9;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-pills .nav-link {
    color: #777;
    border-radius: 999px;
    font-weight: 600;
    padding: 8px 16px;
    margin-right: 8px;
    border: 1px solid #bbb;
}
.nav-pills .nav-link.active {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
}
.nav-pills .nav-link:hover:not(.active) {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}
.card {
    border-radius: 8px;
}

.btn-white {border:1px solid #000;}

/* Gördíthető vízszintes tabok - fix */
.scrollable-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.scrollable-tabs::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1100px) {
   .banner-card {
        padding: 2em !important;
   }
   .banner-card .heading,
   .banner-card .text-sub {
        color: #fff !important;
        text-shadow: rgba(0,0,0,0.9) 0 0 20px;
        line-height: 0.8;
   }

}


@media (max-width: 575.98px) {
    .salons-wrapper {
        width: 100% !important;
        padding-top: 5px !important;
    }
    .cover-photo {
      height: 180px;
    }
    .profile-photo-wrapper {
      width: 120px;
    }
    .svc-row__btn {
      margin-top: 15px;
      flex-shrink: unset;
      height: 40px;
    }
    .scrollable-tabs .nav-item {
        margin-right: 8px;
    }
    .salon-status {display:block;}
    .svc-row__info {
        min-width: 83%;
    }

    /* Csapat tab: 3 munkatars soronkent (flex+fix-szelesseg helyett grid,
       igy a pontos viewport-szelessegtol fuggetlenul mindig 3 fer ki). */
    .salon-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
    .salon-team__member { width: auto; }
    .salon-team__avatar { width: 72px; height: 72px; margin: 0 auto .4rem; }
    .salon-team__avatar .icon { font-size: 1.4rem; }
    .salon-team__name { font-size: .78rem; }
    .salon-team__role { font-size: .68rem; }
}