/**
 * Zibayab 20.95 — final public shell owner.
 * Home, discovery and focused headers plus Fresha-style two-tier footer.
 */

/* Header base ------------------------------------------------------------ */
.site-header{
  z-index:900;
  width:100%;
  height:var(--zy-fresha-header);
  min-height:var(--zy-fresha-header);
  margin:0;
  border:0;
  background:var(--zy-fresha-canvas);
  color:var(--zy-fresha-ink);
  box-shadow:none;
}
.site-header .site-header__inner{
  width:100%;
  max-width:1440px;
  height:100%;
  margin-inline:auto;
  padding:0 32px;
  display:grid;
  align-items:center;
  gap:24px;
}
.site-header .header-brand-cluster{grid-area:brand;display:flex;align-items:center;gap:18px;min-width:max-content}
.site-header .header-wordmark{
  display:inline-flex;align-items:center;min-height:44px;padding:0;
  color:var(--zy-fresha-ink);font-size:25px;font-weight:850;line-height:1;letter-spacing:-.055em;text-decoration:none;
}
.site-header .header-consult-shortcut,
.site-header .header-business-link,
.site-header .header-login-plain{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;
  border:0;border-radius:var(--zy-fresha-radius-control);background:transparent;color:var(--zy-fresha-ink);
  font-size:14px;font-weight:650;line-height:1;text-decoration:none;white-space:nowrap;
}
.site-header .header-consult-shortcut{gap:7px;padding-inline:0}
.site-header .header-consult-shortcut .zy-icon{display:none}
.site-header .header-business-link{padding-inline:20px;background:var(--zy-fresha-footer)}
.site-header :is(.header-consult-shortcut,.header-business-link,.header-login-plain):hover{background:var(--zy-fresha-footer)}
.site-header .header-desktop-actions{grid-area:actions;display:flex;align-items:center;justify-content:flex-start;gap:4px;min-width:max-content}
.site-header .header-primary-nav{display:none!important}
.site-header .theme-toggle{display:none!important}
.site-header .header-menu-trigger{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 18px;
  border:1px solid var(--zy-fresha-line);border-radius:var(--zy-fresha-radius-control);
  background:color-mix(in srgb,var(--zy-fresha-canvas) 92%,transparent);color:var(--zy-fresha-ink);
  font-size:14px;font-weight:700;line-height:1;
}
.site-header .header-menu-trigger:hover{background:var(--zy-fresha-footer)}
.site-header .header-menu-trigger .zy-icon{width:20px;height:20px}
.site-header .header-mobile-menu,.site-header .header-mobile-actions{display:none}

/* Home header: transparent over the hero -------------------------------- */
.site-header--home{
  position:absolute;inset:0 0 auto;background:transparent;
}
.site-header--home .site-header__inner{grid-template-columns:max-content minmax(0,1fr) max-content;grid-template-areas:"actions spacer brand"}
.site-header--home .header-desktop-actions{grid-column:1}
.site-header--home .header-brand-cluster{grid-column:3}
.site-header--home .header-consult-shortcut{display:inline-flex}

/* Discovery header: compact search inside the shell ---------------------- */
.site-header--discovery{
  position:sticky;top:0;border-bottom:0;
}
.site-header--discovery.is-scrolled{border-bottom:1px solid var(--zy-fresha-line-soft);box-shadow:0 1px 12px rgba(13,13,13,.06)}
.site-header--discovery .site-header__inner{
  grid-template-columns:minmax(260px,704px) minmax(130px,1fr) max-content;
  grid-template-areas:"actions search brand";
}
.site-header--discovery .header-brand-cluster{grid-column:3}
.site-header--discovery .header-desktop-actions{grid-column:1}
.site-header--discovery .header-consult-shortcut{display:none}
:is(.site-header--home,.site-header--discovery) .header-route-search--desktop{
  grid-area:search;grid-column:2;justify-self:center;direction:rtl;
  width:min(100%,704px);height:48px;min-height:48px;margin:0;padding:0 6px 0 5px;
  display:flex;align-items:center;gap:0;overflow:visible;
  border:1px solid var(--zy-fresha-line);border-radius:var(--zy-fresha-radius-control);
  background:var(--zy-fresha-canvas);box-shadow:var(--zy-fresha-shadow-control);
}
:is(.site-header--home,.site-header--discovery) .header-route-search__field{
  position:relative;display:flex;align-items:center;gap:8px;min-width:0;height:46px;padding:0 13px;flex:1 1 0;
  border:0;background:transparent;border-radius:0;
}
:is(.site-header--home,.site-header--discovery) .header-route-search__field--service{flex:1.18 1 0}
:is(.site-header--home,.site-header--discovery) .header-route-search__field--when{flex:.78 1 0}
:is(.site-header--home,.site-header--discovery) .header-route-search__field>.zy-icon{width:18px;height:18px;flex:none;color:var(--zy-fresha-muted)}
:is(.site-header--home,.site-header--discovery) .header-route-search__divider{display:block;width:1px;height:22px;flex:none;background:var(--zy-fresha-line)}
:is(.site-header--home,.site-header--discovery) .header-route-search__native,
:is(.site-header--home,.site-header--discovery) .header-searchable-select__combobox{
  width:100%;min-width:0;height:44px;margin:0;padding:0;border:0!important;outline:0;background:transparent!important;
  color:var(--zy-fresha-ink);font-size:13px;font-weight:550;box-shadow:none!important;text-overflow:ellipsis;
}
:is(.site-header--home,.site-header--discovery) .header-searchable-select{min-width:0;width:100%}
:is(.site-header--home,.site-header--discovery) .header-searchable-select__control{min-height:44px;border:0!important;background:transparent!important;box-shadow:none!important}
:is(.site-header--home,.site-header--discovery) .header-searchable-select__toggle{display:none!important}
:is(.site-header--home,.site-header--discovery) .header-route-search__submit{
  width:42px;height:42px;min-width:42px;min-height:42px;margin:0;border:0;border-radius:50%;
  display:grid;place-items:center;background:var(--zy-fresha-ink);color:var(--zy-fresha-canvas);box-shadow:none;
}
:is(.site-header--home,.site-header--discovery) .header-route-search__submit .zy-icon{width:19px;height:19px}
:is(.site-header--home,.site-header--discovery) .header-route-search__status{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}

/* Focused transactional shell ------------------------------------------- */
.site-header--focused{
  position:relative;height:64px;min-height:64px;border-bottom:1px solid var(--zy-fresha-line-soft);background:var(--zy-fresha-subtle);
}
.site-header--focused .site-header__inner{grid-template-columns:max-content 1fr max-content;grid-template-areas:"actions focus brand";padding-inline:32px}
.site-header--focused .header-brand-cluster{grid-area:brand}
.site-header--focused .header-wordmark{font-size:21px}
.site-header--focused .header-focus-label{grid-area:focus;justify-self:center;display:flex;align-items:center;gap:8px;color:var(--zy-fresha-muted);font-size:13px;font-weight:600}
.site-header--focused .header-focus-label .zy-icon{width:17px;height:17px;color:var(--zy-fresha-accent)}
.site-header--focused .header-desktop-actions{grid-area:actions}
.site-header--focused .header-login-plain{min-width:44px;border:1px solid var(--zy-fresha-line);background:var(--zy-fresha-canvas)}

/* Drawer and search surfaces -------------------------------------------- */
.market-drawer .market-overlay,.market-dialog .market-overlay{background:rgba(13,13,13,.42);backdrop-filter:none}
.market-drawer .market-drawer__panel{
  width:min(420px,calc(100vw - 24px));border:0;border-radius:24px 0 0 24px;background:var(--zy-fresha-canvas);box-shadow:var(--zy-fresha-shadow-panel);
}
.market-drawer .market-drawer__head{min-height:72px;padding:12px 20px;border-bottom:1px solid var(--zy-fresha-line-soft)}
.market-drawer .market-drawer__body{padding:18px 20px 24px}
.market-dialog .market-dialog__panel{border-radius:var(--zy-fresha-radius-panel);background:var(--zy-fresha-canvas);box-shadow:var(--zy-fresha-shadow-panel)}

/* Two-tier footer -------------------------------------------------------- */
.site-footer-stack{margin-top:72px;background:var(--zy-fresha-footer);color:var(--zy-fresha-ink)}
.site-footer.site-footer--main{
  margin:0!important;padding:64px 0!important;border:0!important;background:var(--zy-fresha-footer)!important;color:var(--zy-fresha-ink)!important;
}
.site-footer--main .site-footer__grid{
  width:min(calc(100% - 64px),var(--zy-fresha-wide))!important;margin-inline:auto!important;padding:0!important;
  display:grid!important;grid-template-columns:minmax(250px,1.35fr) repeat(4,minmax(130px,.75fr))!important;gap:48px!important;align-items:start!important;
}
.site-footer--main .site-footer__brand{max-width:310px}
.site-footer--main .site-footer__logo{display:inline-flex!important;align-items:center!important;gap:0!important;margin:0 0 18px!important;color:var(--zy-fresha-ink)!important;text-decoration:none!important}
.site-footer--main .site-footer__logo .brand__mark{display:none!important}
.site-footer--main .site-footer__logo .brand__word{font-size:25px!important;font-weight:850!important;line-height:1!important;letter-spacing:-.055em!important}
.site-footer--main .site-footer__brand>p{margin:0!important;color:var(--zy-fresha-ink-2)!important;font-size:13px!important;line-height:1.9!important}
body.zy-fresha-shell-v4 .site-footer--main .site-footer__brand>p{max-width:42ch;margin:0!important;color:var(--zy-fresha-ink-2)!important;font-size:13px!important;line-height:2!important;text-align:justify;text-justify:inter-word;hyphens:none;overflow-wrap:normal}
.site-footer--main .site-footer__social{display:flex!important;flex-wrap:wrap!important;gap:14px!important;margin-top:20px!important}
.site-footer--main .site-footer__social a{color:var(--zy-fresha-ink)!important;font-size:13px!important;font-weight:650!important;text-decoration:none!important}
.site-footer--main .site-footer__column{display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.site-footer--main .site-footer__column>summary{pointer-events:none!important;display:block!important;list-style:none!important;margin:0 0 17px!important;padding:0!important;color:var(--zy-fresha-ink)!important;font-size:14px!important;font-weight:750!important;line-height:1.4!important}
.site-footer--main .site-footer__column>summary::-webkit-details-marker,.site-footer--main .site-footer__column>summary .zy-icon{display:none!important}
.site-footer--main .site-footer__column ul{display:grid!important;gap:11px!important;margin:0!important;padding:0!important;list-style:none!important}
.site-footer--main .site-footer__column li{margin:0!important;padding:0!important}
.site-footer--main .site-footer__column a{color:var(--zy-fresha-ink-2)!important;font-size:13px!important;font-weight:450!important;line-height:1.55!important;text-decoration:none!important}
.site-footer--main .site-footer__column a:hover{color:var(--zy-fresha-ink)!important;text-decoration:underline!important;text-underline-offset:3px!important}
.site-footer-legal{
  min-height:68px;margin:0;padding:0;border:0;background:var(--zy-fresha-canvas);color:var(--zy-fresha-muted);
}
.site-footer-legal .site-footer__bottom{
  width:min(calc(100% - 64px),var(--zy-fresha-wide))!important;min-height:68px;margin:0 auto!important;padding:0!important;border:0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;
}
.site-footer-legal .site-footer__bottom :is(p,a,span){margin:0!important;color:inherit!important;font-size:12px!important;font-weight:450!important;line-height:1.5!important}
.site-footer-legal .site-footer__bottom a{text-decoration:none}
.site-footer-legal .site-footer__bottom a:hover{color:var(--zy-fresha-ink)!important}

/* Focused footer remains intentionally small ----------------------------- */
.site-footer--focused{margin:0!important;padding:18px 0!important;border-top:1px solid var(--zy-fresha-line-soft)!important;background:var(--zy-fresha-subtle)!important}

@media(max-width:1180px){
  .site-header--discovery .site-header__inner{grid-template-columns:minmax(360px,1fr) max-content;grid-template-areas:"search brand"}
  .site-header--discovery .header-desktop-actions{display:none}
  :is(.site-header--home,.site-header--discovery) .header-route-search--desktop{grid-column:1}
  .site-header--discovery .header-brand-cluster{grid-column:2}
  .site-footer--main .site-footer__grid{grid-template-columns:minmax(230px,1.2fr) repeat(2,minmax(140px,1fr))!important}
}

@media(max-width:899px){
  .site-header,.site-header--focused{height:64px;min-height:64px}
  .site-header--home{position:absolute}
  .site-header .site-header__inner,.site-header--home .site-header__inner,.site-header--discovery .site-header__inner{
    grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"mobile brand";gap:12px;padding:0 16px;
  }
  .site-header .header-brand-cluster,.site-header--home .header-brand-cluster,.site-header--discovery .header-brand-cluster{grid-area:brand;grid-column:auto;gap:9px}
  .site-header .header-wordmark{font-size:22px}
  .site-header .header-mobile-menu{display:inline-grid;width:40px;height:40px;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--zy-fresha-ink)}
  .site-header .header-mobile-menu .zy-icon{width:22px;height:22px}
  .site-header .header-consult-shortcut,.site-header .header-desktop-actions,:is(.site-header--home,.site-header--discovery) .header-route-search--desktop{display:none!important}
  .site-header .header-mobile-actions{grid-area:mobile;display:flex;align-items:center;gap:2px}
  .site-header .header-mobile-actions .icon-button{display:grid;width:40px;height:40px;min-width:40px;min-height:40px;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--zy-fresha-ink)}
  .site-header .header-mobile-actions .icon-button:hover{background:var(--zy-fresha-footer)}
  .site-header .header-mobile-actions .zy-icon{width:21px;height:21px}
  .site-header--focused .site-header__inner{grid-template-columns:auto 1fr auto;grid-template-areas:"actions focus brand";padding:0 16px}
  .site-header--focused .header-desktop-actions{display:flex!important}
  .site-header--focused .header-focus-label span{display:none}
  .site-header--focused .header-login-plain{min-width:auto;padding-inline:12px}
  .market-drawer .market-drawer__panel{width:min(390px,calc(100vw - 12px));border-radius:20px 0 0 20px}
  .site-footer-stack{margin-top:56px}
  .site-footer.site-footer--main{padding:44px 0 28px!important}
  .site-footer--main .site-footer__grid{width:calc(100% - 32px)!important;grid-template-columns:1fr!important;gap:0!important}
  .site-footer--main .site-footer__brand{max-width:none;margin-bottom:28px}
  .site-footer--main .site-footer__column{border-top:1px solid color-mix(in srgb,var(--zy-fresha-line) 72%,transparent)!important}
  .site-footer--main .site-footer__column>summary{pointer-events:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:54px;margin:0!important;cursor:pointer!important}
  .site-footer--main .site-footer__column>summary .zy-icon{display:block!important;width:18px;height:18px;transition:transform .2s ease}
  .site-footer--main .site-footer__column[open]>summary .zy-icon{transform:rotate(180deg)}
  .site-footer--main .site-footer__column ul{padding:0 0 20px!important}
  .site-footer-legal .site-footer__bottom{width:calc(100% - 32px)!important;min-height:86px;flex-direction:column;align-items:flex-start!important;justify-content:center!important;gap:8px!important;padding:14px 0!important}
}

/* 20.97 RTL header order: brand + consultation + search | business + account + menu. */
@media(min-width:900px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .site-header__inner{
    display:flex!important;flex-direction:row!important;direction:rtl!important;align-items:center!important;gap:18px!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-brand-cluster{
    order:1!important;grid-area:auto!important;grid-column:auto!important;display:flex!important;flex:0 0 auto!important;direction:rtl!important;gap:14px!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut{display:inline-flex!important}
  body.zy-fresha-shell-v4 :is(.site-header--home,.site-header--discovery) .header-route-search--desktop{
    order:2!important;grid-area:auto!important;grid-column:auto!important;flex:1 1 704px!important;min-width:260px!important;max-width:704px!important;margin:0 10px 0 auto!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-desktop-actions{
    order:3!important;grid-area:auto!important;grid-column:auto!important;display:flex!important;flex:0 0 auto!important;margin-inline-start:auto!important;direction:rtl!important;
  }
  body.zy-fresha-shell-v4 .site-header--home .header-desktop-actions{margin-inline-start:auto!important}
}

@media(max-width:480px){
  .site-header .header-mobile-account{display:none!important}
  .site-header--focused .header-wordmark{font-size:19px}
  .site-footer--main .site-footer__brand>p{font-size:12px!important}
}

/* Cascade ownership guard -------------------------------------------------
 * Marketplace V2 still owns page content during the phased migration. These
 * scoped declarations make V4 the single shell owner until those page layers
 * are retired in their respective phases. */
body.zy-fresha-shell-v4 .site-header{
  width:100%!important;height:var(--zy-fresha-header)!important;min-height:var(--zy-fresha-header)!important;
  margin:0!important;border:0!important;background:var(--zy-fresha-canvas)!important;color:var(--zy-fresha-ink)!important;
  box-shadow:none!important;backdrop-filter:none!important;
}
body.zy-fresha-shell-v4 .site-header .site-header__inner{
  width:100%!important;max-width:1440px!important;height:100%!important;margin-inline:auto!important;padding:0 32px!important;
  display:grid!important;align-items:center!important;gap:24px!important;
}
body.zy-fresha-shell-v4 .site-header .header-brand-cluster{grid-area:brand!important;display:flex!important;align-items:center!important;gap:18px!important}
body.zy-fresha-shell-v4 .site-header .header-wordmark{color:var(--zy-fresha-ink)!important;font-size:25px!important;font-weight:850!important;letter-spacing:-.055em!important}
body.zy-fresha-shell-v4 .site-header .header-primary-nav{display:none!important}
body.zy-fresha-shell-v4 .site-header .theme-toggle{display:none!important}
body.zy-fresha-shell-v4 .site-header .header-desktop-actions{grid-area:actions!important;display:flex!important;align-items:center!important;gap:4px!important}
body.zy-fresha-shell-v4 .site-header .header-business-link,
body.zy-fresha-shell-v4 .site-header .header-login-plain{
  min-height:44px!important;padding:0 14px!important;border:0!important;border-radius:12px!important;
  background:transparent!important;color:var(--zy-fresha-ink)!important;font-size:14px!important;font-weight:650!important;
}
body.zy-fresha-shell-v4 .site-header .header-business-link{padding-inline:20px!important;background:var(--zy-fresha-footer)!important}
body.zy-fresha-shell-v4 .site-header .header-menu-trigger{display:inline-flex!important}
body.zy-fresha-shell-v4 .site-header .header-mobile-menu,
body.zy-fresha-shell-v4 .site-header .header-mobile-actions{display:none!important}

body.zy-fresha-shell-v4 .site-header--home{
  position:absolute!important;inset:0 0 auto!important;background:transparent!important;border:0!important;
}
body.zy-fresha-shell-v4 .site-header--home .site-header__inner{grid-template-columns:max-content minmax(0,1fr) max-content!important;grid-template-areas:"actions spacer brand"!important}
body.zy-fresha-shell-v4 .site-header--home .header-desktop-actions{grid-column:1!important}
body.zy-fresha-shell-v4 .site-header--home .header-brand-cluster{grid-column:3!important}
body.zy-fresha-shell-v4 .site-header--home .header-consult-shortcut{display:inline-flex!important}

body.zy-fresha-shell-v4 .site-header--discovery{
  position:sticky!important;top:0!important;border-bottom:0!important;background:var(--zy-fresha-canvas)!important;
}
body.zy-fresha-shell-v4 .site-header--discovery.is-scrolled{border-bottom:1px solid var(--zy-fresha-line-soft)!important;box-shadow:0 1px 12px rgba(13,13,13,.06)!important}
body.zy-fresha-shell-v4 .site-header--discovery .site-header__inner{grid-template-columns:minmax(260px,704px) minmax(130px,1fr) max-content!important;grid-template-areas:"actions search brand"!important}
body.zy-fresha-shell-v4 .site-header--discovery .header-brand-cluster{grid-column:3!important}
body.zy-fresha-shell-v4 .site-header--discovery .header-desktop-actions{grid-column:1!important}
body.zy-fresha-shell-v4 .site-header--discovery .header-consult-shortcut{display:none!important}
body.zy-fresha-shell-v4 :is(.site-header--home,.site-header--discovery) .header-route-search--desktop{
  grid-area:search!important;grid-column:2!important;display:flex!important;width:min(100%,704px)!important;height:48px!important;
  margin:0!important;padding:0 6px 0 5px!important;border:1px solid var(--zy-fresha-line)!important;border-radius:12px!important;
  background:var(--zy-fresha-canvas)!important;box-shadow:var(--zy-fresha-shadow-control)!important;
}

body.zy-fresha-shell-v4 .site-header--focused{position:relative!important;height:64px!important;min-height:64px!important;border-bottom:1px solid var(--zy-fresha-line-soft)!important;background:var(--zy-fresha-subtle)!important}
body.zy-fresha-shell-v4 .site-header--focused .site-header__inner{grid-template-columns:max-content 1fr max-content!important;grid-template-areas:"actions focus brand"!important}
body.zy-fresha-shell-v4 .site-header--focused .header-wordmark{font-size:21px!important}
body.zy-fresha-shell-v4 .site-header--focused .header-login-plain{border:1px solid var(--zy-fresha-line)!important;background:var(--zy-fresha-canvas)!important}

body.admin-bar.zy-fresha-shell-v4 .site-header--home,
body.admin-bar.zy-fresha-shell-v4 .site-header--discovery{top:32px!important}

body.zy-fresha-shell-v4 .site-footer-stack{margin-top:72px!important}
body.zy-fresha-shell-v4 .site-footer.site-footer--main{margin:0!important;padding:64px 0!important}
body.zy-fresha-shell-v4 .site-footer--main .site-footer__grid{width:min(calc(100% - 64px),var(--zy-fresha-wide))!important;padding:0!important;grid-template-columns:minmax(250px,1.35fr) repeat(4,minmax(130px,.75fr))!important;gap:48px!important}
body.zy-fresha-shell-v4 .site-footer--main .site-footer__brand{max-width:310px!important}
body.zy-fresha-shell-v4 .site-footer--main .site-footer__column>summary{padding:0!important;font-size:14px!important;font-weight:750!important}
body.zy-fresha-shell-v4 .site-footer--main .site-footer__column>summary .zy-icon{display:none!important}
body.zy-fresha-shell-v4 .site-footer--main .site-footer__column ul{gap:11px!important}
body.zy-fresha-shell-v4 .site-footer--main .site-footer__column a{font-size:13px!important;font-weight:450!important}

@media(max-width:1180px){
  body.zy-fresha-shell-v4 .site-header--discovery .site-header__inner{grid-template-columns:minmax(360px,1fr) max-content!important;grid-template-areas:"search brand"!important}
  body.zy-fresha-shell-v4 .site-header--discovery .header-desktop-actions{display:none!important}
  body.zy-fresha-shell-v4 :is(.site-header--home,.site-header--discovery) .header-route-search--desktop{grid-column:1!important}
  body.zy-fresha-shell-v4 .site-header--discovery .header-brand-cluster{grid-column:2!important}
  body.zy-fresha-shell-v4 .site-footer--main .site-footer__grid{grid-template-columns:minmax(230px,1.2fr) repeat(2,minmax(140px,1fr))!important}
}

@media(max-width:899px){
  body.zy-fresha-shell-v4 .site-header,
  body.zy-fresha-shell-v4 .site-header--focused{height:64px!important;min-height:64px!important}
  body.zy-fresha-shell-v4 .site-header--home{position:absolute!important}
  body.zy-fresha-shell-v4 .site-header .site-header__inner,
  body.zy-fresha-shell-v4 .site-header--home .site-header__inner,
  body.zy-fresha-shell-v4 .site-header--discovery .site-header__inner{
    width:100%!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"mobile brand"!important;gap:12px!important;padding:0 16px!important;
  }
  body.zy-fresha-shell-v4 .site-header .header-brand-cluster,
  body.zy-fresha-shell-v4 .site-header--home .header-brand-cluster,
  body.zy-fresha-shell-v4 .site-header--discovery .header-brand-cluster{grid-area:brand!important;grid-column:auto!important;gap:9px!important}
  body.zy-fresha-shell-v4 .site-header .header-wordmark{font-size:22px!important}
  body.zy-fresha-shell-v4 .site-header .header-mobile-menu{display:inline-grid!important;width:40px!important;height:40px!important;min-width:40px!important}
  body.zy-fresha-shell-v4 .site-header .header-consult-shortcut,
  body.zy-fresha-shell-v4 .site-header .header-desktop-actions,
  body.zy-fresha-shell-v4 :is(.site-header--home,.site-header--discovery) .header-route-search--desktop{display:none!important}
  body.zy-fresha-shell-v4 .site-header .header-mobile-actions{grid-area:mobile!important;display:flex!important;align-items:center!important;gap:2px!important}
  body.zy-fresha-shell-v4 .site-header .header-mobile-actions .icon-button{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
  body.zy-fresha-shell-v4 .site-header--focused .site-header__inner{grid-template-columns:auto 1fr auto!important;grid-template-areas:"actions focus brand"!important;padding:0 16px!important}
  body.zy-fresha-shell-v4 .site-header--focused .header-desktop-actions{display:flex!important}
  body.admin-bar.zy-fresha-shell-v4 .site-header--home,
  body.admin-bar.zy-fresha-shell-v4 .site-header--discovery{top:46px!important}
  body.zy-fresha-shell-v4 .site-footer-stack{margin-top:56px!important}
  body.zy-fresha-shell-v4 .site-footer.site-footer--main{padding:44px 0 28px!important}
  body.zy-fresha-shell-v4 .site-footer--main .site-footer__grid{width:calc(100% - 32px)!important;display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:0!important}
  body.zy-fresha-shell-v4 .site-footer--main .site-footer__brand{max-width:none!important;margin-bottom:28px!important}
  body.zy-fresha-shell-v4 .site-footer--main .site-footer__column>summary{display:flex!important;min-height:54px!important;padding:0!important;pointer-events:auto!important}
  body.zy-fresha-shell-v4 .site-footer--main .site-footer__column>summary .zy-icon{display:block!important}
  body.zy-fresha-shell-v4 .site-footer-legal .site-footer__bottom{width:calc(100% - 32px)!important;min-height:86px!important;padding:14px 0!important}
}


/* 20.99 mobile header — brand + consultation on the right, search + menu on the left. */
@media(max-width:899px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .site-header__inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"mobile brand"!important;
    direction:ltr!important;
    align-items:center!important;
    gap:10px!important;
    padding-inline:14px!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-brand-cluster{
    grid-area:brand!important;
    display:flex!important;
    flex-direction:row-reverse!important;
    direction:ltr!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    min-width:0!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-wordmark{
    order:2!important;
    flex:0 0 auto!important;
    font-size:21px!important;
    line-height:1!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut{
    order:1!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    padding:5px 11px!important;
    border:1px solid var(--zy-fresha-line)!important;
    border-radius:999px!important;
    background:var(--zy-fresha-canvas)!important;
    color:var(--zy-fresha-ink)!important;
    font-size:12px!important;
    font-weight:650!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut .zy-icon{display:none!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-actions{
    grid-area:mobile!important;
    display:flex!important;
    direction:ltr!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:1px!important;
    margin:0!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-search{
    order:1!important;
    display:grid!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-menu{
    order:2!important;
    display:grid!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-account{display:none!important}
}
@media(max-width:380px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-wordmark{font-size:19px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut{padding-inline:9px!important;font-size:11px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .site-header__inner{padding-inline:10px!important;gap:6px!important}
}

/* 20.102 mobile header contract.
 * Visual LTR order: hamburger | search | ... | consultation | Zibayab.
 * Therefore from the RTL/right edge the first item is Zibayab, then consultation. */
@media(max-width:899px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .site-header__inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"mobile brand"!important;
    direction:ltr!important;
    align-items:center!important;
    gap:8px!important;
    padding-inline:14px!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-brand-cluster{
    grid-area:brand!important;
    display:flex!important;
    flex-direction:row!important;
    direction:rtl!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    min-width:max-content!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-wordmark{
    order:initial!important;
    flex:0 0 auto!important;
    font-size:21px!important;
    line-height:1!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut{
    order:initial!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    padding:5px 11px!important;
    border:1px solid var(--zy-fresha-line)!important;
    border-radius:999px!important;
    background:var(--zy-fresha-canvas)!important;
    color:var(--zy-fresha-ink)!important;
    font-size:12px!important;
    font-weight:650!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut .zy-icon{display:none!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-actions{
    grid-area:mobile!important;
    display:flex!important;
    flex-direction:row!important;
    direction:ltr!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:1px!important;
    margin:0!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-menu,
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-search{
    order:initial!important;
    display:grid!important;
    width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
  }
}
@media(max-width:380px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-wordmark{font-size:19px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut{padding-inline:8px!important;font-size:11px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .site-header__inner{padding-inline:9px!important;gap:4px!important}
}


/* 20.103 deterministic mobile header.
 * Do not mirror one desktop flex group in RTL: mobile has two explicit clusters.
 * Visual LTR order is exactly: menu | search | ... | consultation | Zibayab. */
body.zy-fresha-shell-v4 .header-mobile-brand{display:none!important}
@media(max-width:899px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .site-header__inner,
  body.zy-fresha-shell-v4 .site-header--home:not(.site-header--focused) .site-header__inner,
  body.zy-fresha-shell-v4 .site-header--discovery:not(.site-header--focused) .site-header__inner{
    display:flex!important;
    flex-direction:row!important;
    direction:ltr!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    min-width:0!important;
    gap:10px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-brand-cluster{
    display:none!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-actions{
    display:flex!important;
    flex:0 0 auto!important;
    order:1!important;
    flex-direction:row!important;
    direction:ltr!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    margin:0!important;
    padding:0!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-actions .header-mobile-menu{
    display:grid!important;
    order:1!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-actions .header-mobile-search{
    display:grid!important;
    order:2!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-actions .icon-button{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand{
    display:flex!important;
    flex:0 0 auto!important;
    order:2!important;
    flex-direction:row!important;
    direction:rtl!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    min-width:max-content!important;
    margin:0!important;
    padding:0!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-wordmark--mobile{
    display:inline-flex!important;
    order:1!important;
    flex:0 0 auto!important;
    margin:0!important;
    font-size:21px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-consult-shortcut--mobile{
    display:inline-flex!important;
    order:2!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    margin:0!important;
    padding:6px 11px!important;
    border:1px solid var(--zy-fresha-line)!important;
    border-radius:999px!important;
    background:var(--zy-fresha-canvas)!important;
    color:var(--zy-fresha-ink)!important;
    font-size:12px!important;
    font-weight:650!important;
    line-height:1!important;
    text-decoration:none!important;
    white-space:nowrap!important;
  }
}
@media(max-width:380px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .site-header__inner{gap:4px!important;padding-left:7px!important;padding-right:7px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-actions .icon-button{width:36px!important;height:40px!important;min-width:36px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand{gap:6px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-wordmark--mobile{font-size:19px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-consult-shortcut--mobile{padding-inline:8px!important;font-size:11px!important}
}

/* 20.103 hard fallback: the mobile contract must not depend on a body shell class. */
.header-mobile-brand{display:none!important}
@media(max-width:899px){
  .site-header:not(.site-header--focused) .site-header__inner{
    display:flex!important;flex-direction:row!important;direction:ltr!important;align-items:center!important;justify-content:space-between!important;grid-template-columns:none!important;grid-template-areas:none!important;width:100%!important;gap:10px!important;padding-left:12px!important;padding-right:12px!important
  }
  .site-header:not(.site-header--focused) .header-brand-cluster{display:none!important}
  .site-header:not(.site-header--focused) .header-mobile-actions{display:flex!important;flex:0 0 auto!important;order:1!important;flex-direction:row!important;direction:ltr!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;margin:0!important}
  .site-header:not(.site-header--focused) .header-mobile-actions .header-mobile-menu{display:grid!important;order:1!important}
  .site-header:not(.site-header--focused) .header-mobile-actions .header-mobile-search{display:grid!important;order:2!important}
  .site-header:not(.site-header--focused) .header-mobile-brand{display:flex!important;flex:0 0 auto!important;order:2!important;flex-direction:row!important;direction:rtl!important;align-items:center!important;gap:8px!important;min-width:max-content!important}
  .site-header:not(.site-header--focused) .header-mobile-brand .header-wordmark--mobile{display:inline-flex!important;order:1!important;font-size:21px!important;line-height:1!important;white-space:nowrap!important}
  .site-header:not(.site-header--focused) .header-mobile-brand .header-consult-shortcut--mobile{display:inline-flex!important;order:2!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:6px 11px!important;border:1px solid var(--zy-fresha-line,#dedede)!important;border-radius:999px!important;background:var(--zy-fresha-canvas,#fff)!important;color:var(--zy-fresha-ink,#111)!important;font-size:12px!important;font-weight:650!important;line-height:1!important;white-space:nowrap!important}
}


/* 20.104.8 — Fresha header radius normalization + mixed City×Service ranking release.
 * Header controls intentionally use pill/circle geometry consistently.
 * This final cascade block overrides older 12px shell guards. */
.site-header :is(.header-consult-shortcut,.header-business-link,.header-login-plain,.header-menu-trigger){
  border-radius:999px!important;
}
.site-header--focused .header-login-plain{border-radius:999px!important}
:is(.site-header--home,.site-header--discovery) .header-route-search--desktop,
body.zy-fresha-shell-v4 :is(.site-header--home,.site-header--discovery) .header-route-search--desktop{
  border-radius:999px!important;
}
:is(.site-header--home,.site-header--discovery) .header-route-search__submit,
body.zy-fresha-shell-v4 :is(.site-header--home,.site-header--discovery) .header-route-search__submit{
  border-radius:50%!important;
}
.site-header .header-mobile-actions .icon-button,
.site-header .header-mobile-actions .header-mobile-menu,
.site-header .header-mobile-actions .header-mobile-search{
  border-radius:50%!important;
}
.site-header .header-mobile-brand .header-consult-shortcut--mobile{
  border-radius:999px!important;
}
@media(min-width:900px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-business-link,
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-login-plain,
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-menu-trigger,
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut{
    border-radius:999px!important;
  }
}


/* 20.106.0 — navigation drawer follows the hamburger on the left. */
#zibayab-drawer .market-drawer__panel{
  right:auto!important;
  left:0!important;
  transform:translateX(-105%)!important;
  border-radius:0 24px 24px 0!important;
  border-inline-start:0!important;
  border-inline-end:1px solid var(--zy-fresha-line-soft)!important;
}
#zibayab-drawer[aria-hidden="false"] .market-drawer__panel,
#zibayab-drawer.is-open .market-drawer__panel{transform:none!important}
@media(max-width:899px){
  #zibayab-drawer .market-drawer__panel{
    width:min(390px,calc(100vw - 12px))!important;
    border-radius:0 20px 20px 0!important;
  }
}

/* Consultation is an action in the header, separate from the wordmark. */
body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut{
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:40px!important;
  padding:7px 14px!important;
  border:1px solid #5033c9!important;
  border-radius:999px!important;
  background:#5033c9!important;
  color:#fff!important;
  box-shadow:none!important;
  font-weight:750!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  cursor:pointer;
  transition:background-color .18s ease,transform .18s ease;
}
body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut .zy-icon{
  display:block!important;
  flex:none;
  width:18px!important;
  height:18px!important;
  color:inherit!important;
}
body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut:hover{
  background:#39249b!important;
  border-color:#39249b!important;
  box-shadow:none!important;
  transform:translateY(-1px);
}
body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut:focus-visible{
  outline:3px solid var(--zy-fresha-accent)!important;
  outline-offset:3px!important;
}
@media(max-width:899px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-consult-shortcut--mobile{
    min-height:38px!important;
    padding:6px 10px!important;
    gap:7px!important;
    border:1px solid #5033c9!important;
    border-radius:999px!important;
    background:#5033c9!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:11px!important;
    font-weight:750!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-consult-shortcut--mobile:hover{
    background:#39249b!important;
    border-color:#39249b!important;
    box-shadow:none!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-consult-shortcut--mobile .zy-icon{
    display:block!important;
    width:16px!important;
    height:16px!important;
  }
}
@media(max-width:380px){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand{gap:4px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-wordmark--mobile{font-size:18px!important}
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-consult-shortcut--mobile{
    gap:4px!important;
    padding-inline:7px!important;
    font-size:10px!important;
  }
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-mobile-brand .header-consult-shortcut--mobile .zy-icon{
    width:14px!important;
    height:14px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.zy-fresha-shell-v4 .site-header:not(.site-header--focused) .header-consult-shortcut{transition:none}
}
