/**
 * AtRest.ie - Add to Home Screen banner, iPhone back button
 * File: wp-content/themes/breakdance-zero-theme-master/pwa/pwa.css
 */
.atrest-pwa-banner {
    --atrest-pwa-brand: var(--bde-brand-primary-color, #7f2e37);
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: 480px;
    margin: 0 auto;
    z-index: 999999;
    background: #fff;
    color: #151411;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    padding: 18px 44px 18px 18px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-sizing: border-box;
}
.atrest-pwa-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
}
.atrest-pwa-banner * {
    box-sizing: border-box;
}
.atrest-pwa-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.atrest-pwa-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 11px;
    flex: 0 0 48px;
    display: block;
}
.atrest-pwa-body strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}
.atrest-pwa-body > span {
    display: block;
    color: #555;
}
.atrest-pwa-steps {
    margin: 10px 0 0 !important;
    padding: 0 0 0 20px !important;
    color: #151411;
}
.atrest-pwa-steps li {
    margin: 4px 0 !important;
    padding: 0 !important;
    list-style: decimal !important;
}
.atrest-pwa-steps em {
    color: #858b96;
    font-style: normal;
    font-size: 13px;
}
.atrest-pwa-share {
    display: inline-block;
    vertical-align: -3px;
    color: #007aff;
}
.atrest-pwa-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.atrest-pwa-btn {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    line-height: 1.2 !important;
    cursor: pointer;
    min-height: 0 !important;
    width: auto !important;
}
.atrest-pwa-primary {
    background: var(--atrest-pwa-brand) !important;
    color: #fff !important;
    border: 1px solid var(--atrest-pwa-brand) !important;
}
.atrest-pwa-secondary {
    background: #fff !important;
    color: var(--atrest-pwa-brand) !important;
    border: 1px solid #d6d6d6 !important;
}
.atrest-pwa-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #858b96 !important;
    font-size: 26px !important;
    line-height: 32px !important;
    cursor: pointer;
}

/* Back button - only added inside the iPhone home-screen app */
.atrest-pwa-back {
    position: fixed;
    left: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 999998;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: rgba(127, 46, 55, 0.92) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.atrest-pwa-back svg {
    margin-left: -2px;
}
