.product-slider {
    position: relative;
    margin: 0 auto 30px auto;
    border-radius: 10px;
}

.product-slider img{
	filter: contrast(1.2);
}

.brackets__small{
	font-size:12px;
}

#main-slider .item img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    max-height:270px;
    object-fit: cover;
}

#thumb-slider {
    margin-top: 20px;
}

#thumb-slider .item {
    padding: 5px;
    cursor: pointer;
}

#thumb-slider .item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0.7;
}

#thumb-slider .item.active img, #thumb-slider .item:hover img {
    opacity: 1;
    border: 2px solid #ffffff;
}

.owl-nav {
    display: none;
}

.custom-nav{
    display: flex;
    justify-content: center;
    margin-top:30px;
    gap:20px;
}

.custom-nav .prev, .custom-nav .next {
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.custom-nav .prev img, .custom-nav .next img {
    width: 40px;
    height: 40px;
    opacity:.5;
    transition:.2s ease;
}

.custom-nav .prev:hover img, .custom-nav .next:hover img {
    opacity:1;
}

main{
    display:flex;
    gap:40px;
}

section#section__info{
    max-width: 526px;
}

section#section__body{
    overflow: hidden;
}

.rate{
    display:flex;
    margin-bottom:12px;
}

.rate img{
    transition:1s ease;
}

.rate:hover img{
    filter: brightness(1.2);
}

a.address{
    margin:6px 0 22px 0;
    display: flex;
    align-items: center;
    font-size:var(--large-text);
    width: fit-content;
}

a.address img{
    margin-right:12px;
}

a.address .disabled-text{
    margin-left:12px;
}

.description{
    font-size:var(--large-text);
    margin-bottom:12px;
}

#section__body .title{
    font-size:var(--gigantic-text);
    margin-bottom:12px;
}

.choose-text{
    display: flex;
    align-items: center;
    margin-bottom:28px;
    font-size:var(--large-text);
}

.choose-text img{
    margin-right:18px;
}

.badania__wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap:4px;
}

form input[type="checkbox"]{
	margin-top:20px;
}

.badania__wrapper .badanie__el{
    width: 111px;
    height:172px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding:12.5px 13px;
    background:transparent;
    text-align: center;
    border:1px solid var(--border-color);
    border-radius:12px;
    cursor:pointer;
    transition: .2s ease;
}
.badania__wrapper .badanie__el.active{
    background:var(--highlighed-background);
}
.badania__wrapper .badanie__el.active .badanie__circle{
    border:1px solid white;
    background-color:white;
}

.badanie__el .badanie__price{
    font-size:var(--large-text);
    display: flex;
    flex-direction: column;
align-items: center;
}

.badanie__circle{
    width:12px;
    height:12px;
    margin-top:8px;
    border:1px solid var(--border-color);
    border-radius: 25px;
    transition:.2s ease;
}

.badanie__el:hover .badanie__circle{
    border:1px solid white;
    background-color:white;
}

.termin__el div{
    border:1px solid var(--border-color);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor:pointer;
    transition:.2s ease;
}

.termin__el div:not(.disabled):hover{
    background-color:var(--highlighed-background);
}

.termin__el div.active{
    background-color:var(--highlighed-background);
}

.termin__el div.disabled{
    border:1px solid var(--disabled-border);
    text-decoration: line-through;
    color:var(--disabled-text);
    pointer-events:painted;
    cursor: not-allowed;
}

.termin__el .day{
    width:64px;
    height:54px;
    border-radius: 12px;
    margin-bottom:6px;
}

.termin__el .hour{
    width: 65px;
    height:30px;
    border-radius: 8px;
    font-weight: 400;
    margin-bottom:2px;
    transform: translateY(0%);
    transition:.3s ease;
    opacity:1;
    visibility: visible;
    position: relative;
}

.termin__el .hour.hidden{
    transform: translateY(-100%);
}

#month-selector{
    margin-bottom:15px;
    padding: 0 34px;
}

.choose-termin-text{
    margin:13px 0 18px 0;
}

#month-selector select{
    background:transparent;
    border:none;
    color:var(--default-text);
    font-size:var(--large-text);
}

#month-selector select option{
    color:black;
}

#month-selector .disabled-text{
    margin-right:6px;
    font-size:var(--large-text);
}

#month-selector select:focus-visible{
    outline:none;
}

#termin{
    padding:0 34px;
}

#calendar{
    position: relative;
}

#calendar .next,#calendar .prev{
    cursor:pointer;
    z-index: 4;
    transition:.2s ease;
    top: 14px;
}

#calendar .next:hover,#calendar .prev:hover{
    opacity:.5;
}

#calendar .prev{
    position:absolute;
    left:0;
}

#calendar .next{
    position:absolute;
    right: 0;
}

.toggle-hours-btn__wrapper{
    display: flex;
    justify-content: center;
    margin-top:25px;
}

#toggle-hours-btn{
    background:transparent;
    color:var(--default-text);
    border:none;
    cursor:pointer;
    transition: .2s;
    padding:0;
}

#toggle-hours-img{
    transform: rotate(0);
    transition: .2s ease;
    padding-left:8px;
}

#toggle-hours-img.rotate{
    transform: rotate(180deg);
}

.toggle-hours{
    display: flex;
    align-items: center;
    transition: .2s;
}

.toggle-hours:hover{
    opacity:.5;
}

.toggle-hours{
    cursor:pointer;
}

#reservation{
    margin-top:60px;
}

#reservation .row{
    display: flex;
    gap:4px;
}

#reservation .row input{
    width:100%;
    background-color: var(--default-background);
    color:black;
    text-align: center;
    border-radius:50px;
    font-size:var(--input-size);
    font-weight:500;
    padding:16px 9px;
}

#reservation .row input:focus-visible{
    outline:none;
}

#reservation button{
    width:100%;
    text-align: center;
    font-size:var(--input-size);
    font-weight:700;
    margin-top:12px;
    background-color:var(--highlighed-background);
    color:var(--default-text);
    border-radius:50px;
    border: 1px solid var(--highlighed-background);
    padding:15px 0;
    cursor:pointer;
    outline:none;
    transition:.2s ease;
}

#reservation button:hover{
    background:transparent;
}

.show-description{
    display:none;
}

#popup__description{
    display:none;
}

#popup__description{
    position: fixed;
    top:0;
    left:0;
    background: rgb(33,33,33);
    background: linear-gradient(0deg, rgba(33,33,33,1) 0%, rgba(55,20,113,1) 100%);
    height:100%;
    width:100%;
    padding: 150px 22px;
    transform:translateX(100%);
    pointer-events: none;
    z-index: 4;
    transition: .2s ease;
}

#popup__description.active{
    transform:translateX(0%);
    pointer-events:all;
    overflow-y: auto;
}

.close__description{
    display: flex;
    flex-direction: row-reverse;
}

@media screen and (max-width:1150px) {
    main{
        flex-direction: column;
    }

    section#section__info{
        max-width: 100%;
    }
}

@media screen and (max-width:1150px) {
    #reservation .row{
        flex-direction: column;
    }
}

@media screen and (min-width:605px){
	#alert-message{
		color: var(--disabled-border); margin-top: 10px;padding:15px;background:white;border-radius:15px;
	}
}

@media screen and (max-width:605px) {
    .custom-nav .prev img, .custom-nav .next img{
        width: 25px;
        height:25px;
    }
	
	#alert-message{
		text-align: center;font-size: 20px;color: var(--disabled-border);background:white;border-radius: 15px 15px 0 0;position:fixed;bottom:0px;        width: 100%;
        height: 85px;
        padding: 0 0 20px 0;
        z-index: 9;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
	}
}

@media screen and (max-width:550px) {
    .choose-text{
        margin:35px 0 28px 0;
    }
    
    .description{
        margin-bottom:16px;
    }

    .info__description{
        display:none;
    }

    #reservation .row{
        gap:8px;
    }

    #popup__description{
        display:block;
    }

    header.fixed{
        position:fixed;
        top:0;
        z-index: 5;
        width: 100%;
    }

    .show-description{
        display:block;
        width: fit-content;
        padding:10px;
        border-radius: 20px;
        cursor:pointer;
        margin:24px 0;
        background:rgba(255, 255, 255, 0.5);
        transition:.2s ease;
    }
    .show-description:hover{
        background:rgba(255, 255, 255, .7);
    }
}