:root{
    --kidsImgRadius--: 12%;
    --paddingTop--: 64px;
}

    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* Zapobiega przewijaniu poziomemu */
        font-family: "Barlow", sans-serif !important;
        margin: 0 auto;
    }


    #payment{
        background-color: #f5f5f5;
    }

    #price{
        padding-top: 72px;
        padding-bottom: 64px;
    }
    #price-container, #payment-container{
        max-width: 1200px;
        margin: 0 auto;
    }
    #price h1{
        font-weight: 700;
        font-size: 96px;
        line-height: 100%;
        margin: 0 0 32px 0;
        
    }

    #price-alert{
        background-color: #2751BC1A;
        border: 1px solid #2751BC;
        /* margin: 32px 0 24px 0; */
    }
    #price-alert-container{
        color: #2751BC;
        font-size: 16px;
        font-weight: 400;
        line-height: 30px;
        padding: 16px;
        display: flex;
        align-items: center;
    }
    #price-alert-container i{
        margin: 0 16px 0 0;
        font-size: 24px;
    }

    #price-list{
        display: flex;
        padding: 24px 0 0 0;
    }
    #price-list-type{
        flex-basis: 50%;
        flex: 1;

        display: flex;
    }

    .price-list-type-half{
        flex-grow: 1;
    }

    #price-list .fee{
        margin: 4px;
        text-align: center;
        font-weight: 500;
        font-size: 20px;
        line-height: 30px;
        padding: 11px;
        border: 1px solid #0000004D;
        border-radius: 4px;
    }

    #price-list .fee:nth-of-type(1){
        background-color: #000;
        color: #fff;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 18px;
        line-height: 24px;
    }

    #price-list-additional{
        flex-basis: 50%;
        flex: 1;

        display: flex;
        flex-direction: column;

        font-weight: 400;
        font-size: 16px;
        line-height: 30px;


    }

    #price-list-additional .info{
        display: flex;
        margin: 8px 0;

    }

    #price-list-additional .info span{
     padding: 0 16px;   
    }

    #price-list-additional .info i{
        margin: 0 0 0 21px;
        font-size: 18px;
        line-height: 30px;
    }
    #price-list-additional i.fa-solid.fa-arrow-right{
        font-size: 24px;
        color: #000000;
        opacity: 90%;
        position: relative;
        flex-grow: 0;
    }


    #payment{
        padding: 32px 0;
    }

    #payment-container{
        text-align: center;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #payment-container h2{
        margin: 0;
        font-weight: 700;
        font-size: 18px;
        line-height: 24px;
        text-transform: uppercase;
    }

    #payment-account{
        width: fit-content;
        padding: 8px 16px;
        margin: 8px 0;
        border: 1px solid #00000080;
        border-radius: 4px;
        display: flex;
        align-items: center;
    }

    #payment-account span{
        font-size: 16px;
        font-weight: 400;
        line-height: 30px;
    }

    #payment-account i{
        font-size: 18px;
        margin-left: 32px;

    }

    #payment-account:hover{
        cursor: pointer;
        color: #000;
        border: 1px solid #000;
        transition: 0.3s;
    }

    

    /* Powiadomienie */
    #copy-notification {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgb(121, 121, 121);
        color: white;
        padding: 10px;
        border-radius: 5px;
        font-size: 14px;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    #copy-notification.show {
        display: block;
        opacity: 1;
    }


    #discount{
        padding: 78px;
    }

    #discount-container{
        max-width: 1200px;
        margin: 0 auto;

        display: flex;
        justify-content: space-between;
    }

    .discount-term{
        flex-basis: 45%;

        display: flex;
        flex-direction: column;
    }
    .discount-family{
        flex-basis: 45%;
    }
    .discount-term-container, .discount-family-container{
        display: flex;
    }
    .discount-term-half, .discount-family-half{
        /* flex-basis: 50%; */
        /* flex-grow: 2; */
        text-align: center;
    }

    
    .discount-term-half:nth-of-type(1), .discount-family-half:nth-of-type(1){
        /* flex-basis: 50%; */
        flex-grow: 1;
    }
    #discount .offer{
        font-weight: 500;
        font-size: 20px;
        line-height: 30px;
        padding: 11px 20px;
        border: 1px solid #0000004D;
        border-radius: 4px;
        margin: 4px;

    }
    
    .discount-term header, .discount-family header{
        font-weight: 700;
        font-size: 18px;
        line-height: 24px;
        background-color: #000;
        text-align: center;
        border: 1px solid #000;
        border-radius: 4px;
        color: white;
        padding: 14px;
    }

    .discount-term-info, .discount-family-info{
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #000000E5;
        margin: 16px 0 64px 4px;
    }

    #discount header{
        margin: 0 4px;
    }

    header.editable-border, #price-list .fee:nth-of-type(1).editable-border{
        background-color: #00000046;
        border: 1px dashed #000 !important;

    }

    .editable-border {
    border: 1px dashed gray !important;
    padding: 4px;
    transition: border 0.2s;
}

.editable-active {
    border: 1px solid black !important;
}



.edit-button{
    display: none;
}

.dev-mode{
    display: inline-block;
}
    


@media (max-width: 768px) {
    #price h1{
        font-size: 28px;
        text-align: center;
    }
    section{
        padding: 32px 16px !important
    }

    #price-list{
        flex-direction: column;
    }

    #price-list-additional .info{
        align-items: center;
    }
    #price-list-additional i.fa-solid.fa-arrow-right {
        font-size: 18px;
        margin: 0 0 0 8px;
    }


    #discount-container{
        flex-direction: column;
    }

    #price-list .fee {
        font-size: 16px !important;
    }

    #copy-notification{
        display: none;
    }

    #payment-account span{
        font-size: 16px;
    }
    #discount .offer{
        font-size: 16px;
    }


}




.nav-edit {
    text-align: right;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

#save-nav-btn {
    outline: none;
    border: none;
    width: 100%;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
}

#save-nav-btn:nth-of-type(2) {
    border-left: 0 solid rgba(0, 0, 0, 0.76);
}

#save-nav-btn:nth-of-type(1) {
    border-right: 0.1px solid rgba(0, 0, 0, 0.76);
}

#save-nav-btn:hover {
    background-color: #000000c9;
    color: white;
}



.nav-dev-mode{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: var(--nav-height) auto 0 auto;
    max-width: var(--max-width);

}

.nav-dev-mode button {
    display: none;
    border: 1px dotted black;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    padding: 10px;
    font-weight: 600;
    background-color: #f2f2f2;
    /* width: 19%; */
    text-align: justify;
    margin-top: 3px;
}


#edit-nav-btn.dev-mode, #edit-footer-btn.dev-mode, #alert-btn.dev-mode {
    display: inline-block;
}

.nav-dev-mode button:hover {
    background-color: #d2d2d2;
}

.nav-dev-mode .server-button:hover{
    background-color: #ffffff;
    color: #2196F3;
    border: 1px dotted #2196F3;
}



#edit-nav-btn::before {
    margin-right: 8px;
    content: '\f0ca';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}
#edit-footer-btn::before {
    margin-right: 8px;
    content: '\f54b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}
#alert-btn::before {
    margin-right: 8px;
    content: '\f071';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}
.server-button::before {
    margin-right: 8px;
    content: '\f0ee';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}