/* One mobile listing layout shared by hubs, classes and search. */
.zml-discovery,.zml-categories,.zml-card-more { display:none; }
.zml-page .cl-card.is-hidden,.zml-page .cl-card[hidden] { display:none !important; }
.zml-filter-dialog:not([open]) { display:none; }
.zml-filter-dialog [hidden] { display:none !important; }
.zml-filter-dialog { position:fixed; inset:auto 0 0; width:100%; max-width:620px; max-height:88vh; max-height:88dvh; margin:0 auto; padding:0; border:0; border-radius:18px 18px 0 0; background:#fff; color:#333; font-family:yekan,Tahoma,sans-serif; overflow:hidden; }
.zml-filter-dialog[open] { display:flex; flex-direction:column; }
.zml-filter-dialog::backdrop { background:rgba(0,0,0,.35); }
.zml-filter-head { display:flex; align-items:center; justify-content:space-between; padding:14px 18px; border-bottom:1px solid #eee; flex-shrink:0; }
.zml-filter-head h2 { font-size:18px; margin:0; }
.zml-filter-head button { width:44px; height:44px; border:1px solid #eee; border-radius:10px; background:#fff; font-size:24px; }
.zml-filter-fields { overflow-y:auto; padding:0 18px 18px; min-height:0; }
.zml-filter-fields label { display:block; margin:16px 0 6px; font-size:13px; font-weight:600; }
.zml-filter-fields input,.zml-filter-fields select { display:block; width:100%; min-height:46px; border:1px solid #ddd; border-radius:10px; padding:8px 12px; background:#fff; color:#333; font:inherit; font-size:14px; box-sizing:border-box; }
.zml-filter-actions { display:flex; gap:10px; flex-shrink:0; padding:14px 18px calc(14px + env(safe-area-inset-bottom,0px)); border-top:1px solid #eee; }
.zml-filter-actions button { flex:1; min-height:46px; padding:8px; border:1px solid #ddd; border-radius:11px; background:#fff; font:inherit; font-size:13px; }
.zml-filter-actions [data-zml-apply] { background:#fbc42f; border-color:#fbc42f; color:#222; }
body.zml-filter-open { overflow:hidden; }
@media(max-width:767px) {
  body.zml-mobile { background:#fff !important; }
  .zml-page,.zml-page * { box-sizing:border-box; }
  .zml-page.category-listing-page.mh-page,.zml-page.zf-classes-page,.zml-page.site-search-page { direction:rtl; text-align:right; background:#fff; margin:0 !important; padding:14px 0 110px !important; width:100%; min-width:0; }
  .zml-page.site-search-page { padding-right:14px !important; padding-left:14px !important; }
  .zml-page > .container,.zml-page > .hv2-container { width:100%; max-width:100%; padding-left:14px !important; padding-right:14px !important; }
  .zml-page .cl-header,.zml-page .zf-classes-hero,.zml-page .ss-masthead { background:#fff; border:0; border-radius:0; box-shadow:none; padding:0 !important; margin:0 0 14px !important; max-width:none; text-align:right; }
  .zml-page.zf-classes-page > .zf-classes-hero.hv2-container { padding-right:14px !important; padding-left:14px !important; }
  .zml-page .cl-title,.zml-page .zf-classes-hero__title,.zml-page .ss-masthead h1 { font-size:23px; line-height:1.6; margin:0 0 6px; color:#282b29; }
  .zml-page .cl-title > i,.zml-page .zf-classes-hero__title > i { font-size:20px; color:#c59415; margin-left:6px; }
  .zml-page .mh-intro,.zml-page .zf-classes-hero__text,.zml-page .ss-lede { font-size:13px; line-height:1.9; color:#777; margin:0 0 14px; }
  .zml-page .mh-intro,.zml-page .zf-classes-hero__text { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .zml-page .breadcrumb { margin:0 0 8px; font-size:11px; }
  .zml-page .cl-layout { margin:0; }
  .zml-page .cl-layout > .cl-main { width:100%; padding:0; }
  .zml-discovery:has(.zml-search),.zml-categories:has(button) { display:flex; }
  .zml-discovery { margin:0 0 12px; }
  .zml-search { display:flex; width:100%; align-items:center; gap:6px; padding:4px; border:1px solid #dfdfdf; border-radius:12px; background:#fff; }
  .zml-search input { flex:1; min-width:0; width:100%; height:42px; padding:8px 10px; border:0; outline:none; background:transparent; font:inherit; font-size:14px; color:#333; direction:rtl; }
  .zml-search:focus-within { outline:2px solid #fbc42f; outline-offset:1px; }
  .zml-search button { display:flex; align-items:center; justify-content:center; width:42px; height:42px; flex:0 0 42px; border:0; border-radius:9px; background:#fff7db; color:#5d4a13; }
  .zml-search svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; }
  .zml-categories { overflow-x:auto; flex-wrap:nowrap; gap:8px; padding:0 0 10px; margin:0 0 4px; scrollbar-width:none; }
  .zml-categories::-webkit-scrollbar { display:none; }
  .zml-categories button,.zml-page .ss-filter-desktop .filter-tab { flex:0 0 auto; min-height:42px; padding:8px 14px; border:1px solid #e4e4e4; border-radius:11px; background:#fff; color:#474747; white-space:nowrap; font:inherit; font-size:12px; text-decoration:none; }
  .zml-categories button[aria-pressed=true],.zml-page .ss-filter-desktop .filter-tab.active { background:#fbc42f; border-color:#fbc42f; color:#222; }
  .zml-page .cl-main-topbar,.zml-page .ss-toolbar { position:sticky; top:var(--zml-top,70px); z-index:30; padding:8px 0; margin:0 0 10px; background:#fff; border-bottom:1px solid #efefef; }
  .zml-page .cl-mobile-toolbar,.zml-page .ss-mobile-toolbar { display:flex; flex-direction:row-reverse; align-items:center; justify-content:space-between; gap:8px; }
  .zml-page .cl-mobile-chips,.zml-page .zf-mobile-chips,.zml-page .ss-mobile-chips { display:flex; gap:6px; }
  .zml-page .cl-chip,.zml-page .zf-chip,.zml-page .ss-chip { min-height:42px; border:1px solid #e4e4e4; border-radius:11px; padding:8px 11px; font-size:12px; background:#fff; color:#333; box-shadow:none; }
  .zml-page .cl-count,.zml-page .ss-count,.zml-page .zf-classes-count { font-size:12px; color:#777; margin:0; white-space:nowrap; }
  .zml-page .cl-grid,.zml-page .cl-grid.cl-grid--list,.zml-page .zf-classes-grid,.zml-page .ss-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
  .category-listing-page.mh-page.zml-page .cl-card__inner,.zf-classes-page.zml-page .zf-class-card,.site-search-page.zml-page .ss-card { display:flex; flex-direction:row; direction:rtl; align-items:stretch; gap:12px; width:100%; min-width:0; min-height:118px; height:auto; padding:8px; border:1px solid #e5e5e5; border-radius:13px; background:#fff; box-shadow:none; transform:none; color:inherit; text-decoration:none; }
  .category-listing-page.mh-page.zml-page .cl-card__media,.zf-classes-page.zml-page .zf-class-card__media,.site-search-page.zml-page .ss-card__media { display:flex !important; order:-1; flex:0 0 96px !important; width:96px !important; min-width:96px !important; max-width:96px !important; height:104px !important; min-height:104px !important; max-height:104px !important; aspect-ratio:auto !important; align-items:center; justify-content:center; border:0; border-radius:9px; overflow:hidden; background:#f6f6f4; }
  .category-listing-page.mh-page.zml-page .cl-card__media img,.zf-classes-page.zml-page .zf-class-card__media img,.site-search-page.zml-page .ss-card__media img { width:100% !important; height:100% !important; min-height:0 !important; object-fit:contain !important; object-position:center; background:transparent; }
  .zml-page .cl-card__body,.zml-page .zf-class-card__content,.zml-page .ss-card__body { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:5px; flex:1; min-width:0; padding:1px 0; }
  .zml-page .cl-card__title,.zml-page .zf-class-card__title,.zml-page .ss-card__title { order:0; font-size:14px; line-height:1.7; margin:0; color:#292c2a; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; width:100%; }
  .zml-page .mh-card-cat { order:1; font-size:11px; color:#86702d; line-height:1.7; }
  .zml-page .cl-card__location { order:2; font-size:11px; color:#858585; line-height:1.7; }
  .zml-page .zml-card-more { display:flex; align-items:center; gap:8px; order:5; margin-top:auto; font-size:11px; color:#5b5d57; text-decoration:none; line-height:1.8; }
  .zml-page .zf-class-card__instructor { font-size:11px; line-height:1.6; margin:0; }
  .zml-page .zf-class-card__stats { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
  .zml-page .zf-class-card__stat { max-width:100%; font-size:11px; line-height:1.6; }
  .zml-page .zf-class-card__stat--price { color:#9b7100; }
  .zml-page .ss-card__topline { order:1; display:flex; flex-wrap:wrap; justify-content:flex-start; gap:5px 10px; margin:0; }
  .zml-page .ss-card__type { color:#86702d; font-size:11px; }
  .zml-page .ss-card__category { order:2; font-size:11px; line-height:1.7; color:#777; }
  .zml-page .ss-card__location { max-width:100%; font-size:11px; line-height:1.7; color:#888; }
  .zml-page .ss-card__desc { display:none; }
  .zml-page .ss-search-form { padding:4px; border:1px solid #dfdfdf; border-radius:12px; background:#fff; }
  .zml-page .ss-search-btn { border-radius:9px; min-height:42px; padding:8px 12px; font-size:12px; background:#fbc42f; color:#333; }
  .zml-page .ss-search-form input { height:42px; font-size:14px; }
  .zml-page .ss-toolbar { display:flex; flex-direction:column; gap:8px; }
  .zml-page .ss-filter-desktop { display:flex !important; order:-1; flex-wrap:nowrap; overflow-x:auto; gap:8px; padding-bottom:4px; scrollbar-width:none; }
  .zml-page .ss-chip--active { display:none; }
  .zf-classes-page.zml-page [id$=upClasses] > div { display:block; }
  .zml-page .zf-classes-main { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 8px; }
  .zml-page .zf-classes-main > .zml-discovery { grid-column:1/-1; grid-row:1; }
  .zml-page .zf-classes-main > .zml-categories { grid-column:1/-1; grid-row:2; min-width:0; }
  .zml-page .zf-mobile-toolbar { display:flex; grid-column:2; grid-row:3; position:sticky; top:var(--zml-top,70px); z-index:30; background:#fff; padding:8px 0; margin:0 0 10px; }
  .zml-page .zf-classes-toolbar { grid-column:1; grid-row:3; position:sticky; top:var(--zml-top,70px); z-index:30; background:#fff; display:flex; align-items:center; padding:8px 0; margin:0 0 10px; }
  .zml-page .zf-classes-toolbar .zf-classes-breadcrumb { display:none; }
  .zml-page .zf-classes-grid { grid-column:1/-1; grid-row:4; min-width:0; }
  .zml-page [data-zml-fallback] img { visibility:hidden; }
  .zml-page [data-zml-fallback] { background:#f5f5f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%23adb0a9' stroke-width='1.3'%3E%3Cpath d='m3 9 9-6 9 6ZM4 21h16M5 10v8m5-8v8m4-8v8m5-8v8'/%3E%3C/svg%3E") center/36px 36px no-repeat !important; }
  body.zml-mobile #pisnahadi-nav,body.zml-mobile #zfMascotGuide .zf-guide-launcher { display:none !important; }
  body.zml-mobile .crisp-client [data-id=chat-closed] { width:40px !important; height:40px !important; bottom:calc(98px + env(safe-area-inset-bottom,0px)) !important; right:12px !important; }
  body.zml-mobile #mhFilterModal,body.zml-mobile #zfClassesFilterModal,body.zml-mobile .ss-filter-sheet { z-index:20050 !important; }
  body.zml-mobile .modal-backdrop { z-index:20040 !important; }
  body.zml-mobile #mhFilterModal .modal-dialog { position:fixed; left:0; right:0; bottom:0; width:100%; margin:0; max-height:85dvh; }
  body.zml-mobile #mhFilterModal .modal-content { display:flex; flex-direction:column; max-height:85dvh; border:0; border-radius:18px 18px 0 0; }
  body.zml-mobile #mhFilterModal .modal-body { overflow-y:auto; min-height:0; }
  body.zml-mobile #mhFilterModal .modal-footer { flex-shrink:0; padding-bottom:calc(14px + env(safe-area-inset-bottom,0px)); }
}
@media(max-width:359px) {
  .category-listing-page.mh-page.zml-page .cl-card__media,.zf-classes-page.zml-page .zf-class-card__media,.site-search-page.zml-page .ss-card__media { flex-basis:80px !important; width:80px !important; min-width:80px !important; max-width:80px !important; }
  .zml-page .cl-chip,.zml-page .zf-chip,.zml-page .ss-chip { padding:8px; font-size:11px; }
}
