.pwa-install[hidden], .pwa-install [hidden] { display: none !important; }
.pwa-install { display: none; }
@media (max-width: 767px) {
    .pwa-install {
        position: fixed;
        z-index: 1040;
        inset-inline: 12px;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto 28px;
        align-items: center;
        gap: 10px;
        max-width: 550px;
        margin: 0 auto;
        padding: 12px;
        border: 1px solid #dfd0ad;
        border-radius: 17px;
        background: #fffdf7;
        box-shadow: 0 6px 28px #30271c26;
        color: #30271c;
        font-family: "Almarai", "Poppins", sans-serif;
        text-align: start;
    }
    .pwa-icon { width: 40px; height: 40px; border-radius: 10px; }
    .pwa-copy p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.7; color: #25221d; }
    .pwa-install-button {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 10px 14px;
        white-space: nowrap;
        border: 0;
        border-radius: 11px;
        background: linear-gradient(110deg, #9b721e, #b68a2e);
        color: white;
        font: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }
    .pwa-install-button:active { transform: translateY(1px); }
    .pwa-install-button:disabled { opacity: .65; cursor: wait; }
    .pwa-dismiss { width: 28px; height: 44px; padding: 0; background: transparent; border: 0; color: #514d43; font-size: 26px; cursor: pointer; }
    .pwa-install button:focus-visible { outline: 3px solid #30271c; outline-offset: 3px; }
    .pwa-help { grid-column: 1 / -1; border-top: 1px solid #ddc9a8; padding-top: 12px; max-height: 35vh; overflow-y: auto; }
    .pwa-help p { margin: 0; font-size: 13px; line-height: 1.9; }
}
@media (max-width: 359px) {
    .pwa-install { inset-inline: 8px; gap: 7px; padding: 10px; grid-template-columns: 34px minmax(0, 1fr) auto 24px; }
    .pwa-icon { width: 34px; height: 34px; }
    .pwa-copy p, .pwa-install-button { font-size: 11px; }
    .pwa-install-button { padding-inline: 10px; }
}
