:root {
    --primary: #2daae2;
    --light: #ffffff;
    --dark: #000000;
    --text-size: 15px;
    --icon-color: #555555;
    --secondary: #777777;
}

html{
    height: 100%;
}

body{
    font-family: 'Roboto', sans-serif;
    font-size: var(--text-size);
    line-height: 1.3;
    color: var(--dark);
    background-color: #f9f9f9;
    height: 100%;
}

.desktop_center{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.main_holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin: 0 auto;
    gap: 2rem;
    padding: 3rem 0;
}

h1 {
    font-size: 30px;
    font-weight: 600;
    color: var(--dark);
    padding: 0;
    letter-spacing: 0;
}

h5{
    font-weight: 600;
}

.logo {
    max-width: 180px;
}

img{
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    border: 0;
}

a {
    outline: 0;
    text-decoration: none;
    color: var(--primary);
}

.text_secondary {
    color: var(--secondary);
}

.btn{
    font-weight: 500;
    vertical-align: bottom;
    box-shadow: none;
    padding: 0.5rem 1.5rem 0.5rem;
    font-size: 1rem;
    line-height: 1;
    border-radius: 0.25rem;
    text-align: center;
    text-decoration: none;
    user-select: none;
    margin: 0;
}

.btn-primary,
.btn-primary:not([disabled]):not(.disabled):active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary) !important;
    color: var(--light);
    border: 1px solid var(--primary);

}

/* Disabled button styles */
.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.desktop-only{
    display: block!important;
}

.mobile-only{
    display: none!important;
}

ul.progress-bar {
    width: 100%;
    list-style: none;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: transparent;
    padding: 0 0 1rem;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;

    li{
        /*flex: 1;*/
        position: relative;
        text-align: center;
    }

    li a{
        display: flex;
        align-items: center;
        flex-direction: column;
        line-height: 40px;

    }

    li span{
        font-size: clamp(12px, 2vw, 14px);
        color: var(--secondary);
    }

    li.disabled{
        pointer-events: none;
        cursor: not-allowed!important;
        i{
            opacity: 0.7;
        }
    }

    li.disabled a:hover{
        cursor: not-allowed;
    }


    li.active span{
        color: var(--primary);
        font-weight: 600;
    }

    li.visited span{
        color: var(--primary);
        font-weight: 500;
    }

    li .round_tab{
        content: "";
        background: var(--light);
        border-radius: 50%;
        z-index: 1;
        position: relative;
        color: var(--icon-color);
        width: 70px;
        height: 70px;
        line-height: 70px;
        display: inline-block;
        background: #fff;
        border: 2px solid #e0e0e0;
        left: 0;
        text-align: center;
        font-size: 25px;
    }

    li:hover .round_tab{
        border: 2px solid var(--icon-color);
    }

    li.visited a::before,
    li.active a::before
    {
        background: var(--primary);
    }

    /* Triangle under the active circle */
    .progress-triangle {
        position: absolute;
        bottom: -1rem; /* Adjust to position the triangle */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid var(--primary); /* Triangle color */
    }

    /* Hide the triangle for inactive steps */
    li:not(.active) .progress-triangle {
        display: none;
    }

}


.form-check{
    background-color: var(--light);
    padding: .7rem 1rem .7rem 2rem;
    margin-bottom: 1rem;
    border-radius: .25rem;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    label{
        cursor: pointer;
    }

    i{
        color: var(--secondary);
    }
}

ul.progress-bar::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 0.5rem);
    transform: translateY(-50%);
    background: #e0e0e0;

    height: 2px;
    width: calc(100%);
    /*width: calc(100% - 55px);*/
}

ul.progress-bar.step-1::after {
    background: linear-gradient(to right, var(--primary) 0%, #e0e0e0 0%);
}
ul.progress-bar.step-2::after {
    background: linear-gradient(to right, var(--primary) 33%, #e0e0e0 33%);
}

ul.progress-bar.step-3::after {
    background: linear-gradient(to right,  var(--primary) 66%, #e0e0e0 66%);
}
ul.progress-bar.step-4::after {
    background: linear-gradient(to right,  var(--primary) 99%, #e0e0e0 99%);
}

ul.progress-bar
ul.progress-bar li.stop ~ li::after {
    height: 0;
}

ul.progress-bar-guidance {
    list-style: none;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    counter-reset: li-counter;


    li{
        display: flex;
        align-items: center;
        padding-left: 50px;
        flex-direction: row;
        position: relative;
        margin-bottom: 20px;
        min-height: 40px;

    }

    li::before{
        counter-increment: li-counter;
        content: counter(li-counter);
        text-align: center;
        font-size: 18px;
        background: var(--primary);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        z-index: 1;
        line-height: 40px;
        position: absolute;
        left: 0;
        top: 0;
        color: #e0e0e0;
        margin-right: 10px;
    }

}

ul.progress-bar-guidance::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    background: var(--primary);
    height: calc(100% - 50px);
    width: 3px;
}

.btn_holder_form{
    padding-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer_image_holder{
    max-width: 100px;
}

.card_summary{
    padding: 1rem 1.5rem;
    color: var(--secondary);
    .card-title{
        font-weight: bold;
        font-size: 1.1rem;
    }
    .icon_card{
        width: 55px;
    }
    p{
        margin-bottom: .3rem;
    }
    table{
        thead th{
            border-top: none;
        }
        tbody td,
        thead th{
            color: var(--secondary);
        }
        .table_image{
            max-width: 150px;
        }
    }
}

.white-popup-block {
    background: #FFF;
    padding: 1rem 1.5rem;
    text-align: left;
    max-width: 750px;
    margin: 40px auto;
    position: relative;
    h1{
        color: var(--dark);
        margin-bottom: 0;
    }
}

.flex_container_shopping_cart {
    .qty{
        max-width: 70px;
        display: block;
        width: 100%;
        height: calc(1.5em + .75rem + 2px);
        padding: .375rem .75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: .25rem;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }

    .flex-row {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        border-bottom: 1px solid #dee2e6;
        >div{
            padding: .5rem;
            font-size: 12px;
            font-weight: 700;
        }
    }


}

.modal-cart-btns{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.cw20 {
    width: 20%;
}

.cw30 {
    width: 30%;
}

.cw15 {
    width: 15%;
}

.gombiky {
    width: 30%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.button.qtyplus,
.button.qtyminus{
    display: inline-block;
    zoom: 1;
    vertical-align: baseline;
    border-radius: .25rem;
    text-align: center;
    padding: 4px 15px;
    line-height: 22px;
    text-transform: uppercase;
    border: none;
    background-color: #000;
    color: #fff;
}

input.qtyminus {

}

.cart-line-spolu {
    margin-top:1rem;

    font-weight: bold;
    text-align: right;
}




/*media under */
@media (max-width: 991px) {
    .desktop_center{
        display: unset;
        height: auto;
        min-height: unset;
    }
}

@media (max-width: 767px){

   ul.progress-bar{

       li .round_tab{
           width: 34px;
           height: 34px;
           line-height: 32px;
           font-size: .7rem;
       }
   }

    .logo{
        max-width: 120px;
    }

}

@media (max-width: 576px) {
    .footer_image_holder{
        display: none;
    }
    .btn_holder_form{
        flex-wrap: wrap;
    }

    .cw20,
    .cw30,
    .cw15,
    .gombiky {
        width: 100%;
    }



}

