/* ==========================================================================
   KOMUNIKAT INFORMACYJNY (.site-notice)
   Desktop: mała karta w lewym dolnym rogu.
   Telefon: pełna szerokość na dole, NAD paskiem "Zadzwoń / Rezerwuj".
   ========================================================================== */

.site-notice {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1001;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 400px;
    max-width: calc(100vw - 48px);
    padding: 20px 46px 20px 20px;
    background: #ffffff;
    border: 1px solid rgba(223, 197, 133, 0.5);
    border-left: 4px solid #dfc585;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(26, 24, 21, 0.18);
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.4s;
}
.site-notice[hidden] { display: none; }
.site-notice.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ikona */
.site-notice__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f4efe9;
    color: #8a6d2f;
    font-size: 19px;
}

/* Treść */
.site-notice__body { min-width: 0; }

.site-notice__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    padding: 3px 10px 3px 8px;
    border-radius: 20px;
    background: #fbf3e4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8a6d2f;
}
/* Pulsująca kropka "na żywo" */
.site-notice__badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d08a1e;
    box-shadow: 0 0 0 0 rgba(208, 138, 30, 0.6);
    animation: siteNoticePulse 1.8s ease-out infinite;
}
@keyframes siteNoticePulse {
    0%   { box-shadow: 0 0 0 0 rgba(208, 138, 30, 0.55); }
    70%  { box-shadow: 0 0 0 7px rgba(208, 138, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(208, 138, 30, 0); }
}

.site-notice__title {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
}
.site-notice__text {
    font-size: 13px;
    line-height: 1.6;
    color: #555555;
}
.site-notice__text strong { color: #1a1a1a; }

.site-notice__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a6d2f !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(223, 197, 133, 0.7);
    transition: color 0.3s ease;
}
.site-notice__link:hover { color: #1a1a1a !important; }

/* Zamknij */
.site-notice__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #888888;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.site-notice__close:hover,
.site-notice__close:focus-visible {
    background: #f4efe9;
    color: #1a1a1a;
    outline: none;
}

/* Ukryj, gdy otwarte jest menu mobilne */
body.mm-ocd-opened .site-notice { display: none; }

/* --- Telefon / tablet --- */
@media (max-width: 1024px) {
    .site-notice {
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        gap: 12px;
        padding: 16px 44px 16px 16px;
        border-radius: 14px;
    }
    .site-notice__icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
    }
    .site-notice__title { font-size: 14px; }
    .site-notice__text  { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-notice { transition: opacity 0.2s ease; transform: none; }
    .site-notice__badge::before { animation: none; }
}