/* =====================================================
   CEZEL — STOPKA
===================================================== */

.site-footer {

    width: 100%;

    margin-top: 70px;

    background: #f3eee8;

    border-top: 1px solid #e5e0db;

    color: #756e68;

}


/* =====================================================
   GŁÓWNY WIERSZ
===================================================== */

.site-footer-inner {

    width: min(1280px, 100%);

    min-height: 46px;

    margin: 0 auto;

    padding: 0 30px;

    box-sizing: border-box;

display: flex;

justify-content: space-between;

    align-items: center;

    gap: 30px;

}


/* =====================================================
   CEZEL + STRONA GŁÓWNA
===================================================== */

.site-footer-brand {

    display: flex;

    align-items: center;

    gap: 20px;

    justify-self: start;

}


.site-footer-home {

    display: inline-flex;

    align-items: center;

    gap: 24px;

    color: #2f2d2b;

    text-decoration: none;

    white-space: nowrap;

}


.site-footer-logo {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;

    font-weight: 600;

    font-style: italic;

    letter-spacing: 0.03em;

}


.site-footer-logo-domain {

    font-size: 0.72em;

    font-weight: 500;

    font-style: italic;

    letter-spacing: 0.01em;

    margin-left: 1px;

}

.site-footer-home-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 18px;

    height: 18px;

    color: #756e68;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.site-footer-home-icon svg {

    width: 18px;

    height: 18px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.site-footer-home:hover
.site-footer-home-icon {

    color: #b72b27;

    transform: translateY(-1px);

}

/* =====================================================
   POWRÓT NA GÓRĘ
===================================================== */

.site-footer-top {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: #756e68;

    text-decoration: none;

    font-size: 19px;

    font-weight: 600;

    line-height: 1;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}

.site-footer-top svg {

    width: 18px;

    height: 18px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.site-footer-top:hover {

    color: #b72b27;

    transform: translateY(-2px);

}


/* =====================================================
   NAWIGACJA
===================================================== */

.site-footer-nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    justify-self: end;

    gap: 30px;

    white-space: nowrap;

    margin-left: auto;

}


.site-footer-nav a {

    color: #756e68;

    text-decoration: none;

    font-size: 14px;

    font-weight: 400;

    transition:
        color 0.25s ease;

}


.site-footer-nav a:hover {

    color: #b72b27;

}


/* =====================================================
   WYBRANE ROZWIĄZANIA
===================================================== */

.site-footer-selection {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    justify-self: end;

    white-space: nowrap;

}

.site-footer-selection:empty {
    display: none;
}


/* =====================================================
   STREFA WYBORU
===================================================== */

.site-footer-selection-wrap {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 6px 10px;

    border: 1px solid #e1dbd5;

    border-radius: 8px;

    box-sizing: border-box;

}


/* =====================================================
   WYBRANE POZYCJE
===================================================== */

.site-footer-selection-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #756e68;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.4;

}


/* =====================================================
   LICZNIK WYBRANYCH
===================================================== */

.site-footer-selection-count {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 20px;

    height: 20px;

    padding: 0 5px;

    box-sizing: border-box;

    border: 1px solid #b72b27;

    border-radius: 50%;

    color: #b72b27;

    font-size: 12px;

    font-weight: 600;

    line-height: 1;

}


/* =====================================================
   WYCZYŚĆ WYBÓR
===================================================== */

.site-footer-selection-clear {

    padding: 5px 10px;

    border: 1px solid #d8d0c9;

    border-radius: 4px;

    background: transparent;

    color: #9a9189;

    font-family: inherit;

    font-size: 11px;

    line-height: 1.3;

    cursor: pointer;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;

}


.site-footer-selection-clear:hover {

    color: #b72b27;

    border-color: #b72b27;

    background-color: #faf7f4;

}


/* =====================================================
   PRZEJDŹ DO FORMULARZA
===================================================== */

.site-footer-selection-form {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 5px 10px;

    border: 1px solid #d8d0c9;

    border-radius: 4px;

    background: transparent;

    color: #756e68;

    font-family: inherit;

    font-size: 11px;

    line-height: 1.3;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;

}


.site-footer-selection-form:hover {

    color: #b72b27;

    border-color: #b72b27;

    background-color: #faf7f4;

}


/* =====================================================
   LICZNIK WYBRANYCH
===================================================== */

.site-footer-selection-count {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 20px;

    height: 20px;

    padding: 0 5px;

    box-sizing: border-box;

    border: 1px solid #b72b27;

    border-radius: 50%;

    color: #b72b27;

    font-size: 12px;

    font-weight: 600;

    line-height: 1;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;

}


.site-footer-selection-link:hover
.site-footer-selection-count {

    color: #ffffff;

    background-color: #b72b27;

}


/* =====================================================
   DOLNA CZĘŚĆ
===================================================== */

.site-footer-bottom {

    width: min(1280px, 100%);

    margin: 0 auto;

    padding: 10px 30px 14px;

    box-sizing: border-box;

    border-top: 1px solid #e5e0db;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.site-footer-bottom > span {

    font-size: 11px;

    color: #9a9189;

    white-space: nowrap;

}


/* /* 

/* 
=====================================================
   TABLET
===================================================== */

@media (max-width: 800px) {

    .site-footer-inner {
        min-height: 46px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 20px;
        gap: 10px 30px;
    }

    .site-footer-selection {
        width: 100%;
        justify-content: center;
    }

    .site-footer-selection:empty {
        display: none;
    }

.site-footer-nav {
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.site-footer-bottom {
    text-align: right;
    padding-right: 20px;
}

}




/* =====================================================
   TELEFON
===================================================== */

@media (max-width: 500px) {

    .site-footer {

        margin-top: 55px;

    }



    .site-footer-brand {

        justify-self: center;

    }


.site-footer-nav {

    justify-content: flex-end;

    gap: 24px;

    width: 100%;

    box-sizing: border-box;

}


    .site-footer-selection {
        width: 100%;
        min-width: 0;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }


    .site-footer-selection-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        display: flex;
        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        gap: 8px;

        padding: 6px 8px;
    }


    .site-footer-bottom {

        width: 100%;

        box-sizing: border-box;

        padding:
            10px 20px 14px;

        text-align: right;
        padding-right: 20px;

    }

}

