/* PESYJE V10 — mobile dark notification sheet, footer PWA mini badges, homepage owner card, categories mobile hero */

/* Original Pesyje star tiles on homepage reviews */
.py30-review-stars.ratings{display:inline-flex!important;align-items:center!important;gap:3px!important;margin:10px 0!important;color:inherit!important;font-size:inherit!important}
.py30-review-stars.ratings .rating{padding:3px!important;border-radius:4px!important;line-height:1!important}
.py30-review-stars.ratings .rating img{display:block!important;height:16px!important;width:auto!important}

/* Homepage business-owner card: desktop keeps the split card; mobile becomes a clean image + content stack. */
.py30-home .py30-owner-photo{object-position:var(--pesyje-owner-image-position,50%) center!important}
@media(max-width:767.98px){
  .py30-home .py30-owner{
    display:flex!important;flex-direction:column!important;min-height:0!important;padding:0!important;
    overflow:hidden!important;border-radius:22px!important;
  }
  .py30-home .py30-owner::after{display:none!important;content:none!important}
  .py30-home .py30-owner-photo{
    position:relative!important;inset:auto!important;order:0!important;z-index:0!important;
    width:100%!important;height:190px!important;min-height:190px!important;
    object-fit:cover!important;object-position:var(--pesyje-owner-image-position,50%) 32%!important;
    border-radius:22px 22px 0 0!important;
  }
  .py30-home .py30-owner-copy{
    position:relative!important;z-index:1!important;order:1!important;max-width:none!important;width:100%!important;
    padding:19px 18px 21px!important;background:#dff5f4!important;
  }
  html[data-pesyje-theme="dark"] .py30-home .py30-owner-copy{background:#233f46!important}
  .py30-home .py30-owner h2{margin-top:0!important}
}

/* Footer PWA controls — compact labelled mini-badges on mobile, not awkward bare squares. */
@media(max-width:767.98px){
  .pesyje-universal-footer .pesyje-uf-install-grid{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;width:min(100%,250px)!important;max-width:250px!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-btn{
    width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;
    padding:0 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
    border-radius:11px!important;flex:none!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-icon{
    width:22px!important;height:22px!important;display:grid!important;place-items:center!important;font-size:15px!important;flex:0 0 22px!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-copy{display:block!important;min-width:0!important;line-height:1!important;text-align:left!important}
  .pesyje-universal-footer .pesyje-uf-install-copy small{display:none!important}
  .pesyje-universal-footer .pesyje-uf-install-copy strong{display:block!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important}
}
@media(max-width:390px){
  .pesyje-universal-footer .pesyje-uf-install-grid{max-width:228px!important;gap:6px!important}
  .pesyje-universal-footer .pesyje-uf-install-btn{height:38px!important;min-height:38px!important;padding-inline:6px!important;gap:4px!important}
  .pesyje-universal-footer .pesyje-uf-install-icon{width:20px!important;height:20px!important;flex-basis:20px!important;font-size:14px!important}
  .pesyje-universal-footer .pesyje-uf-install-copy strong{font-size:8.2px!important}
}

/* Notification / discover bottom sheets: true readable dark mode. */
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet{
  background:rgba(35,45,50,.985)!important;border-color:#43535a!important;box-shadow:0 24px 65px rgba(0,0,0,.48)!important;color:#eef3f4!important;
}
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-handle{background:#6e7b80!important}
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-head strong{color:#f4f7f8!important}
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-head small{color:#a7b2b7!important}
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-head button{background:#eef3f4!important;color:#59676d!important}
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-list>a,
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-list>button,
html[data-pesyje-theme="dark"] .pesyje-notification-status{
  background:#2b373d!important;border-color:#46565d!important;color:#f1f4f5!important;
}
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-list b,
html[data-pesyje-theme="dark"] .pesyje-notification-status b{color:#f4f7f8!important}
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-list small,
html[data-pesyje-theme="dark"] .pesyje-notification-status small{color:#a7b2b7!important}
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-list>a>span,
html[data-pesyje-theme="dark"] .pesyje-mobile-sheet-list>button>span,
html[data-pesyje-theme="dark"] .pesyje-notification-status>span{background:#dff5f2!important;color:#078f89!important}
html[data-pesyje-theme="dark"] .pesyje-notification-primary{background:#12bdb3!important;color:#071719!important}

@media(prefers-color-scheme:dark){
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet{
    background:rgba(35,45,50,.985)!important;border-color:#43535a!important;box-shadow:0 24px 65px rgba(0,0,0,.48)!important;color:#eef3f4!important;
  }
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-handle{background:#6e7b80!important}
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-head strong{color:#f4f7f8!important}
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-head small{color:#a7b2b7!important}
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-head button{background:#eef3f4!important;color:#59676d!important}
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-list>a,
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-list>button,
  html:not([data-pesyje-theme="light"]) .pesyje-notification-status{background:#2b373d!important;border-color:#46565d!important;color:#f1f4f5!important}
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-list b,
  html:not([data-pesyje-theme="light"]) .pesyje-notification-status b{color:#f4f7f8!important}
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-list small,
  html:not([data-pesyje-theme="light"]) .pesyje-notification-status small{color:#a7b2b7!important}
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-list>a>span,
  html:not([data-pesyje-theme="light"]) .pesyje-mobile-sheet-list>button>span,
  html:not([data-pesyje-theme="light"]) .pesyje-notification-status>span{background:#dff5f2!important;color:#078f89!important}
  html:not([data-pesyje-theme="light"]) .pesyje-notification-primary{background:#12bdb3!important;color:#071719!important}
}
