/* PESYJE UNIVERSAL FOOTER V5 — admin social links + dynamic locale + compact mobile PWA */
.pesyje-universal-footer,
.pesyje-universal-footer * { box-sizing:border-box; }

.pesyje-universal-footer {
    --puf-bg: rgb(var(--footer_background_color, 13, 30, 39));
    --puf-heading: rgb(var(--footer_heading_color, 245, 248, 250));
    --puf-text: rgb(var(--footer_text_color, 183, 197, 207));
    --puf-border: rgb(var(--footer_border_color, 42, 58, 67));
    --puf-element-bg: rgb(var(--footer_elements_background_color, 34, 48, 56));
    --puf-element-text: rgb(var(--footer_elements_text_color, 220, 229, 234));
    --puf-accent:#078d89;
    --puf-accent-bright:#13bdb5;
    width:100%;
    margin:0;
    padding:30px 0 0;
    color:var(--puf-text);
    background:linear-gradient(100deg,#111e26 0%,#10171e 66%,#15262e 100%);
    font-family:inherit;
}

.pesyje-uf-container {
    width:min(calc(100% - 48px),1240px);
    margin:0 auto;
}

.pesyje-uf-grid {
    display:grid;
    grid-template-columns:1.4fr .8fr 1fr 1.1fr 1.3fr;
    gap:34px;
    align-items:start;
    padding-bottom:25px;
}

.pesyje-uf-brand,
.pesyje-uf-column,
.pesyje-uf-apps { min-width:0; }

.pesyje-uf-logo {
    display:inline-flex;
    align-items:center;
    width:172px;
    max-width:100%;
    text-decoration:none!important;
}
.pesyje-uf-logo img {
    display:block;
    width:170px;
    max-width:100%;
    max-height:62px;
    height:auto;
    object-fit:contain;
}

.pesyje-uf-tagline {
    margin:9px 0 14px;
    color:var(--puf-text);
    font-size:10px;
    line-height:1.55;
}

.pesyje-uf-socials {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}
.pesyje-uf-socials a,
.pesyje-uf-socials span {
    width:25px;
    height:25px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.025);
    color:#d6dfe5!important;
    text-decoration:none!important;
    font-size:12px;
}
.pesyje-uf-socials a {
    transition:transform .16s ease,background-color .16s ease,color .16s ease;
}
.pesyje-uf-socials a:hover,
.pesyje-uf-socials a:focus-visible {
    transform:translateY(-1px);
    background:#068e97;
    color:#fff!important;
}

.pesyje-uf-column {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}
.pesyje-uf-column h2,
.pesyje-uf-apps h2 {
    margin:0 0 12px;
    color:#f0f4f7;
    font-size:12px;
    font-weight:700;
    line-height:1.5;
}
.pesyje-uf-column > a {
    display:inline-block;
    padding:2px 0;
    color:var(--puf-text)!important;
    text-decoration:none!important;
    font-size:10px;
    line-height:1.55;
    transition:color .16s ease,transform .16s ease;
}
.pesyje-uf-column > a:hover,
.pesyje-uf-column > a:focus-visible {
    color:#4ae2dc!important;
    transform:translateX(1px);
}

.pesyje-uf-apps > p {
    margin:0 0 10px;
    color:var(--puf-text);
    font-size:9.5px;
    line-height:1.5;
    max-width:230px;
}

.pesyje-uf-install-grid {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    width:100%;
}

.pesyje-uf-install-btn {
    width:172px;
    max-width:100%;
    min-height:38px;
    padding:5px 9px;
    display:grid;
    grid-template-columns:22px minmax(0,1fr);
    align-items:center;
    gap:8px;
    border:1px solid rgba(183,197,207,.34);
    border-radius:8px;
    background:rgba(3,10,15,.34);
    color:#fff;
    text-align:left;
    cursor:pointer;
    appearance:none;
    transition:border-color .16s ease,background-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.pesyje-uf-install-btn:hover,
.pesyje-uf-install-btn:focus-visible,
.pesyje-uf-install-btn.is-current-device {
    border-color:rgba(34,204,198,.58);
    background:rgba(8,169,170,.10);
    box-shadow:0 5px 14px rgba(0,0,0,.10);
}
.pesyje-uf-install-btn:hover { transform:translateY(-1px); }
.pesyje-uf-install-btn:disabled {
    cursor:default;
    opacity:.56;
    transform:none;
}

.pesyje-uf-install-icon {
    width:21px;
    height:21px;
    display:grid;
    place-items:center;
    color:#fff;
    font-size:14px;
    line-height:1;
}
.pesyje-uf-install-copy {
    min-width:0;
    display:flex;
    flex-direction:column;
    line-height:1.02;
}
.pesyje-uf-install-copy small {
    color:var(--puf-text);
    font-size:6.4px;
    font-weight:500;
}
.pesyje-uf-install-copy strong {
    margin-top:2px;
    color:#fff;
    font-size:9.6px;
    font-weight:700;
}

.pesyje-uf-installed-note {
    margin-top:8px;
    max-width:190px;
    padding:6px 8px;
    border-radius:7px;
    background:rgba(8,169,170,.10);
    color:#9ae8e4;
    font-size:8px;
    line-height:1.4;
}
.pesyje-uf-installed-note i { margin-right:4px; }

.pesyje-uf-bottom {
    position:relative;
    min-height:40px;
    border-top:1px solid rgba(255,255,255,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    color:var(--puf-text);
    font-size:9px;
}
.pesyje-uf-bottom > span:first-child { margin-left:auto; }

.pesyje-uf-languages {
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:13px;
}
.pesyje-uf-languages a {
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:var(--puf-text)!important;
    text-decoration:none!important;
    opacity:.65;
    transition:opacity .15s ease,color .15s ease;
}
.pesyje-uf-languages a[aria-current="true"],
.pesyje-uf-languages a:hover { opacity:1;color:#fff!important; }
.pesyje-uf-languages img { border-radius:50%;object-fit:cover; }

/* PWA help sheet */
html.pesyje-uf-pwa-open { overflow:hidden; }
.pesyje-uf-pwa-help {
    position:fixed;
    inset:0;
    z-index:2147483600;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.pesyje-uf-pwa-help.is-visible { display:flex; }
.pesyje-uf-pwa-backdrop {
    position:absolute;
    inset:0;
    border:0;
    background:rgba(3,10,15,.68);
    backdrop-filter:blur(5px);
}
.pesyje-uf-pwa-dialog {
    position:relative;
    z-index:1;
    width:min(100%,390px);
    padding:24px;
    border:1px solid rgba(7,141,137,.18);
    border-radius:20px;
    background:#fff;
    box-shadow:0 24px 80px rgba(0,0,0,.28);
    color:#17212b;
}
.pesyje-uf-pwa-close {
    position:absolute;
    top:12px;
    right:12px;
    width:34px;
    height:34px;
    border:0;
    border-radius:10px;
    background:#f3f6f6;
    color:#667085;
    display:grid;
    place-items:center;
}
.pesyje-uf-pwa-dialog-icon {
    width:46px;
    height:46px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:#e9f8f6;
    color:#078d89;
    font-size:22px;
}
.pesyje-uf-pwa-dialog h2 {
    margin:14px 0 7px;
    color:#101828;
    font-size:19px;
    font-weight:800;
}
.pesyje-uf-pwa-dialog > p {
    margin:0;
    color:#667085;
    font-size:13px;
    line-height:1.55;
}
.pesyje-uf-pwa-steps {
    margin:16px 0;
    padding-left:21px;
    color:#344054;
    font-size:12.5px;
    line-height:1.55;
}
.pesyje-uf-pwa-steps li + li { margin-top:8px; }
.pesyje-uf-pwa-done {
    width:100%;
    min-height:42px;
    border:0;
    border-radius:11px;
    background:#078d89;
    color:#fff;
    font-size:13px;
    font-weight:700;
}

@media (max-width:1199px) {
    .pesyje-uf-grid { gap:20px; }
}

@media (max-width:991px) {
    .pesyje-uf-grid {
        grid-template-columns:1.3fr 1fr 1fr;
        gap:28px;
    }
    .pesyje-uf-brand { grid-column:1/-1; }
    .pesyje-uf-apps { grid-column:span 2; }
    .pesyje-uf-install-grid {
        flex-direction:row;
        flex-wrap:wrap;
    }
}

@media (max-width:767.98px) {
    .pesyje-universal-footer { padding-top:24px; }
    .pesyje-uf-container { width:calc(100% - 28px); }

    /* Explicit areas keep PWA exactly in the right-side X position. */
    .pesyje-uf-grid {
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        grid-template-areas:
            "brand brand"
            "explore company"
            "business apps";
        gap:22px 18px;
        align-items:start;
        padding-bottom:20px;
    }
    .pesyje-uf-brand { grid-area:brand; }
    .pesyje-uf-explore { grid-area:explore; }
    .pesyje-uf-company { grid-area:company; }
    .pesyje-uf-business { grid-area:business; }
    .pesyje-uf-apps { grid-area:apps; min-width:0; align-self:start; }

    .pesyje-uf-logo { width:150px; }
    .pesyje-uf-logo img { width:148px;max-height:52px; }
    .pesyje-uf-tagline { margin:8px 0 12px;font-size:10.5px; }
    .pesyje-uf-socials { gap:6px; }
    .pesyje-uf-socials a { width:24px;height:24px;font-size:11px; }

    .pesyje-uf-column h2,
    .pesyje-uf-apps h2 { margin-bottom:8px;font-size:11px;line-height:1.35; }
    .pesyje-uf-column > a { padding:2px 0;font-size:10.5px;line-height:1.45; }

    .pesyje-uf-apps > p {
        margin:0 0 8px;
        max-width:170px;
        font-size:8.5px;
        line-height:1.35;
    }

    /* Mobile = real icon buttons, not long badges. */
    .pesyje-uf-install-grid {
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content:flex-start;
        flex-wrap:wrap;
        gap:7px;
        width:100%;
    }
    .pesyje-uf-install-btn {
        flex:0 0 42px;
        width:42px;
        height:42px;
        min-width:42px;
        min-height:42px;
        padding:0;
        display:grid;
        place-items:center;
        border-radius:11px;
        text-align:center;
    }
    .pesyje-uf-install-icon {
        width:100%;
        height:100%;
        display:grid;
        place-items:center;
        font-size:18px;
    }
    .pesyje-uf-install-copy { display:none!important; }
    .pesyje-uf-install-btn.is-current-device {
        border-color:rgba(34,204,198,.78);
        background:rgba(8,169,170,.16);
    }
    .pesyje-uf-installed-note {
        width:100%;
        max-width:170px;
        margin-top:7px;
        padding:5px 6px;
        font-size:7px;
    }

    .pesyje-uf-bottom {
        min-height:auto;
        padding:12px 0 72px;
        flex-direction:column;
        justify-content:center;
        gap:8px;
        text-align:center;
        font-size:8px;
    }
    .pesyje-uf-bottom > span:first-child,
    .pesyje-uf-languages { margin:0; }
    .pesyje-uf-languages { justify-content:center;gap:10px; }
}

@media (max-width:420px) {
    .pesyje-uf-container { width:calc(100% - 24px); }
    .pesyje-uf-grid { gap:20px 12px; }
    .pesyje-uf-column h2,
    .pesyje-uf-apps h2 { font-size:10.5px; }
    .pesyje-uf-column > a { font-size:10px; }
    .pesyje-uf-apps > p { font-size:8px; }
    .pesyje-uf-install-grid { gap:6px; }
    .pesyje-uf-install-btn {
        flex-basis:38px;
        width:38px;
        height:38px;
        min-width:38px;
        min-height:38px;
        border-radius:10px;
    }
    .pesyje-uf-install-icon { font-size:16px; }
}


@media (max-width:520px) {
    .pesyje-uf-grid { grid-template-columns:1fr 1fr; }
    .pesyje-uf-logo img { width:145px; }
    .pesyje-uf-install-grid { gap:6px; }
    .pesyje-uf-install-btn {
        width:100%;
        min-height:36px;
    }
    .pesyje-uf-bottom {
        flex-direction:column;
        justify-content:center;
        text-align:center;
        gap:9px;
    }
    .pesyje-uf-languages { margin-left:0;justify-content:center; }
    .pesyje-uf-pwa-dialog { padding:21px 18px 18px; }
}

/* PESYJE_FOOTER_V9_MOBILE_PWA_FIX_START */
@media (max-width: 767.98px) {
  .pesyje-universal-footer .pesyje-uf-install-grid {
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    width:auto!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-btn {
    flex:0 0 36px!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    border-radius:9px!important;
    display:grid!important;
    place-items:center!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-icon {
    width:36px!important;
    height:36px!important;
    font-size:15px!important;
    display:grid!important;
    place-items:center!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-copy { display:none!important; }
}
@media (max-width: 420px) {
  .pesyje-universal-footer .pesyje-uf-install-btn {
    flex-basis:34px!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:34px!important;
    min-height:34px!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-icon { width:34px!important;height:34px!important;font-size:14px!important; }
}
/* PESYJE_FOOTER_V9_MOBILE_PWA_FIX_END */

/* PESYJE_V13_MOBILE_PWA_START */
/* Desktop remains unchanged. Mobile/tablet = icon-only PWA controls. */
@media (max-width:1024px){
  .pesyje-universal-footer .pesyje-uf-apps{min-width:0!important;overflow:visible!important}
  .pesyje-universal-footer .pesyje-uf-install-grid{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    width:auto!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-btn{
    flex:0 0 44px!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    overflow:hidden!important;
    border-radius:12px!important;
    font-size:0!important;
    line-height:0!important;
    white-space:nowrap!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-copy,
  .pesyje-universal-footer .pesyje-uf-install-copy *,
  .pesyje-universal-footer .pesyje-uf-install-btn small,
  .pesyje-universal-footer .pesyje-uf-install-btn strong{
    display:none!important;
    width:0!important;
    min-width:0!important;
    max-width:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    opacity:0!important;
    visibility:hidden!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-icon{
    flex:0 0 44px!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    font-size:20px!important;
    line-height:1!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-icon i{
    margin:0!important;
    padding:0!important;
    font-size:20px!important;
    line-height:1!important;
  }
}
@media (max-width:520px){
  .pesyje-universal-footer .pesyje-uf-install-grid{gap:7px!important}
  .pesyje-universal-footer .pesyje-uf-install-btn,
  .pesyje-universal-footer .pesyje-uf-install-icon{
    flex-basis:40px!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
  }
  .pesyje-universal-footer .pesyje-uf-install-icon,
  .pesyje-universal-footer .pesyje-uf-install-icon i{font-size:18px!important}
}
/* PESYJE_V13_MOBILE_PWA_END */
