.body{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* .main{
    margin-top: 30px;
    max-width: var(--max-width);
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 170px;
    width: 100%;
} */





.product-block{
    margin-top: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
}

.product-photos-block{
    user-select: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px 4% 0 0;
    width: 56%;
    height: 100%;
}
.product-slider-block{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 4vh;
}
:root{
    --slider-width: 67vh;
}
.product-slider-canvas{
    height: var(--slider-width);
    width: var(--slider-width);
    overflow: hidden;
}
.product-slider-all{
    display: flex;
    align-items: center;
    height: 100%;
    transition: .5s;
}
.product-slider-photo-container{
    height: 100%;
    width: var(--slider-width);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-width: var(--slider-width);
}
.product-slider-photo{
    width: 100%;
}
.product-photos-left-arrow, .product-photos-right-arrow{
    cursor: pointer;
    height: 24px;
    width: 24px;
    margin: 0 30px;
}

.product-catalog-container{
    display: flex;
    align-items: center;
    margin: 10px 0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}
.product-catalog-item{
    cursor: pointer;
    height: 50px;
    width: 50px;
    margin: 12px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.product-catalog-item-img{
    height: 100%;
}



.product-info-block{
    display: flex;
    flex-direction: column;
    font-family: Noto Sans, sans-serif;
    flex-grow: 1;
    min-width: 42%;
}
.product-sale-title{
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1.2px;
    margin: 0;
    color: rgb(0, 128, 28);
}
.product-name{
    font-size: 29px;
    font-weight: 400;
    margin: 10px 0;
    margin-bottom: 1px;
}

.product-price-block{
    display: flex;
    align-items: center;
}
.product-sale-block{
    display: flex;
    align-items: center;
    color: rgb(0, 128, 28);
}
.product-price-block-line{
    display: flex;
    align-items: center;
    text-decoration: line-through;
}

.product-price-rub, .product-price-sale-rub{
    font-size: 20px;
    font-weight: 500;
    margin-right: 21px;
}
.product-price-eur, .product-price-sale-eur{
    font-size: 17px;
    font-weight: 400;
    margin-right: 18px;
}

.product-colors-container{
    display: flex;
    align-items: center;
    margin: 10px 0;
    width: 100%;
    flex-wrap: wrap;
}
.product-color-item{
    cursor: pointer;
    height: 24px;
    width: 24px;
    display: flex;
    padding: 2px;
    margin: 5px;
    border: solid 1.5px gray;
}
.product-color-item-selected{
    border: solid 2px rgb(34, 34, 34);
}
.product-color-src{
    height: 100%;
    width: 100%;
}



.product-buy-container{
    display: flex;
    align-items: stretch;
    height: 55px;
    width: 100%;
    margin: 10px 0;
    position: relative;
}
.product-qty-container{
    display: flex;
    align-items: center;
    border: solid 1.5px gray;
    margin-right: 22px;
}

.product-qty-less, .product-qty-more{
    cursor: pointer;
    padding: 0 14px;
    height: 100%;
    font-size: 22px;
    font-weight: 300;
    border: none;
    outline: none;
}
.product-qty{
    margin: 0 8px;
    font-size: 18px;
}
.product-buy-button{
    flex-grow: 1;
    color: white;
    background-color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    outline: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
    border: solid 2px rgb(26, 26, 26);
}
.product-buy-button:hover{
    background-color: white;
    color: black;
}
.product-select-color-error{
    position: absolute;
    bottom: -20px;
    font-size: 14px;
    right: 0;
    text-wrap: nowrap;
    color: #c42900;
}

.product-nav-separator{
    margin-top: 15px;
    width: 100%;
    border-bottom: solid 1px black;
}

.product-nav-indicator{
    width: 75px;
    border-bottom: solid 3.5px black;
    transition: all 0.2s;
}

.product-nav-panel{
    display: flex;
    margin-top: 4px;
    align-items: center;
}

.product-nav-item{
    margin: 5px 40px 0 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.product-nav-item-active{
    font-weight: 600;
}
/* .product-nav-description */

.product-nav-info{
    display: none;
    width: 100%;
    margin-top: 10px;
}
.product-nav-info-active{
    display: flex;
}
.product-description{
    flex-grow: 1;
}

.product-details-ul, .product-colors-ul{
    list-style: none;
    margin: 10px 0;
    padding: 0;
}

.product-details-block{
    margin: 12px 0;
}

.product-details-name{
    font-weight: 600;
    margin: 8px 0;
}
.product-details-value{
    margin: 8px 0;
}

.product-details-designer{
    color: rgb(58, 58, 58);
    transition: .2s;
}
.product-details-designer:hover{
    color: black;
}

.product-details-producer{
    height: 40px;
    cursor: pointer;
}

.product-color-li{
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.product-color-src-li{
    height: 45px;
    width: 45px;
    margin-right: 15px;
}

.product-color-name{
    font-weight: 500;
}


.product-page-text-block{
    margin: 60px 0;
    border-top: solid 1px rgb(158, 158, 158);
    padding-top: 40px;
    width: 100%;
}
.product-page-text{
    font-size: 24px;
    font-family: system-ui;
    font-weight: 300;
}

.product-recommendations-block{
    width: 100%;
    margin: 10px 0;
}
.product-recommendations-title{
    margin: 0;
    font-family: system-ui;
    font-size: 29px;
    font-weight: 400;
}

.product-recommendations-carousel{
    margin: 10px 0;
    height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}
.product-recommendations-container{
    height: 100%;
    width: fit-content;
    display: flex;
    align-items: center;
    transition: .3s ease;
}

.rec-left{
    position: absolute;
    top: calc(50% - 10px);
    left: 0px;
    transform: rotate(180deg);
    cursor: pointer;
    z-index: 4;
}
.rec-right{
    position: absolute;
    top: calc(50% - 10px);
    right: 0px;
    cursor: pointer;
    z-index: 4;
}
.product-rec-item{
    width: calc(var(--max-width) / 5);
    min-width: 140px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    height: 100%;
}
.shop-item{
    height: 300px;
    width: auto;
    margin: 0;
    padding: 0;
}




@media(max-width: 1300px){
    .product-rec-item{
        width: calc(var(--max-width) / 4);
    }
}


@media(max-width: 1060px){
    .product-info-block{
        min-width: auto;
    }
    .product-qty-container{
        margin-right: 10px;
    }
    .product-qty{
        margin: 0 2px;
    }
    .product-description{
        font-size: 15px;
    }

    .product-rec-item{
        width: calc((100vw - 16px) / 4);
    }
}

@media(max-width: 980px){
    .product-photos-left-arrow, .product-photos-right-arrow{
        margin: 0 8px;
    }
    .product-page-text{
        font-size: 21px;
    }
}

@media(max-width: 880px){
    .product-block{
        margin-top: 12px;
    }
    .product-photos-block{
        margin: 20px 2% 0 0;
    }
    .product-photos-left-arrow, .product-photos-right-arrow{
        margin: 0 4px;
    }
    .product-info-block{
        width: 36%;
    }
    .product-colors-container{
        margin: 2px 0;
    }
    .product-buy-container{
        height: 48px;
    }
    .product-qty{
        font-size: 16px;
    }
    .product-buy-button{
        font-size: 15px;
    }
    .product-nav-separator{
        margin-top: 6px;
    }
    .product-description{
        font-size: 14px;
    }
    :root{
        --slider-width: 56vh;
    }
    .shop-item{
        height: 280px;
    }
    .product-rec-item{
        width: calc((100vw - 16px) / 3);
    }
}

@media(max-width: 710px){
    .product-block{
        flex-direction: column;
    }
    .product-photos-block{
        width: 96%;
        margin: 0;
    }
    .product-info-block{
        width: 96%;
    }
    .product-slider-block{
        margin-bottom: 12px;
    }
    .product-catalog-container{
        margin: 0;
    }
    .product-catalog-item{
        margin: 9px;
        height: 46px;
        width: 46px;
    }
    .product-page-text{
        font-size: 20px;
    }
}
@media(max-width: 620px){
    .product-rec-item{
        width: calc((100vw - 16px) / 2);
    }
    .product-recommendations-title{
        font-size: 25px;
    }
}
@media(max-width: 450px){
    :root{
        --slider-width: 45vh;
    }
}
