main
{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 26px;

    color: #1d1b20;
}

.main-wrapper
{
    width: 1240px;
    margin: 0 auto;
}

.product-detail__gallery
{
    margin-top: 63px;
    margin-bottom: 95px; 
    margin-left: 2px;
}

.main-slider-wrapper
{
    position: relative;

    width: 864px;
    height: 486px;
    margin: 0 auto;
    margin-bottom: 22px;
}

.main-slider__slide
{
    width: 864px;
    height: 486px;

    background-repeat: no-repeat;
    background-position: center center; 
    background-size: cover;
}

.slider-arrow
{
    position: absolute;
    top: 50%;

    width: 9px;
    height: 16px;
    margin-top: -8px;

    cursor: pointer; 

    border: none;
    background: transparent;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.slider-arrow__prev
{
    background-image: url('../images/product-detail/slider-prev.svg');
}

.main-slider__prev
{
    left: -55px;
}

.nav-slider__prev
{
    left: -30px;
}

.slider-arrow__next
{
    background-image: url('../images/product-detail/slider-next.svg');
}

.main-slider__next
{
    right: -62px;
}

.nav-slider__next
{
    right: -30px;
}

.main-slider__tag-list
{
    position: absolute; 
    top: 43px;
    left: 33px;
}

.tag-list
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
        flex-direction: column;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.tag-list__item
{
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;

    margin-bottom: 10px;
    padding: 0 10px;

    cursor: pointer; 
    letter-spacing: .02em;
    text-transform: lowercase;

    border-radius: 100px;
    background: #ffefb2;
}

.tag-list__item:focus,
.tag-list__item:hover
{
    -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, .4);
            box-shadow: 0 4px 4px rgba(0, 0, 0, .4);
}

.main-slider__product-controls
{
    position: absolute;
    top: 38px;
    right: 38px; 

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 50;
}

.main-slider__product-control
{
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: normal;

    position: relative;

    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 105px;
    padding-top: 7px;
    padding-right: 11px;
    padding-bottom: 6px;
    padding-left: 32px;

    cursor: pointer; 
    letter-spacing: .03em;
    text-transform: uppercase;

    color: #fff;
    border: none;
    border-radius: 100px;
    background-color: #4233b8;
}

.main-slider__product-control_active
{
    color: #1d1b20; 
    background-color: #ffefb2;
}

.main-slider__product-control:not(:last-child)
{
    margin-right: 10px;
}

.main-slider__product-control::before
{
    position: absolute;
    left: 14px;

    width: 12px;
    height: 12px;

    content: '';

    background-size: cover;
}

.main-slider__product-control_active:before
{
    -webkit-filter: brightness(0);
            filter: brightness(0);
}

.main-slider__product-control_list::before
{
    background-image: url('../images/product-detail/control-list.svg');
}

.main-slider__product-control_compare::before
{
    background-image: url('../images/product-detail/control-compare.svg');
}

.main-slider__product-control:focus,
.main-slider__product-control:hover
{
    -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, .4);
            box-shadow: 0 4px 4px rgba(0, 0, 0, .4);
}

.main-slider__card
{
    position: absolute;
    right: 31px; 
    bottom: 63px;
}

.slider-card
{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 252px;
    padding-top: 38px;
    padding-bottom: 60px;
    padding-left: 25px;

    background: rgba(255, 255, 255, .65);
}

.slider-card__title
{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800; 
    line-height: 23px;

    margin-bottom: 3px;

    color: #1c154e;
}

.slider-card__text
{
    font-size: 12px;
    line-height: 26px;

    margin-bottom: 9px;

    color: #1d1b20;
}

.slider-card__text_bold
{
    font-weight: 600;
}

.slider-card__button
{
    font-size: 12px;
    font-weight: bold;

    position: absolute;
    bottom: 20px;
    left: -8px;

    width: 268px;
    padding-top: 12px;
    padding-bottom: 13px;

    opacity: 1;
}

.slick-dots
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    margin-top: 20px;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.slick-dots li:not(:last-child)
{
    margin-right: 10px;
}

.slick-dots button
{
    font-size: 0;
    line-height: 0;

    display: block;

    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 5px;
    height: 5px;
    margin: 0 0;
    padding: 0 0;

    cursor: pointer; 

    border: none;
    border-radius: 50%;
    background-color: #c4c4c4;
}

.slick-dots li.slick-active button
{
    background-color: #2f2483;
}

.nav-slider-wrapper
{
    position: relative;

    width: 400px;
    height: 62px;
    margin: 0 auto;
}

.nav-slider__slide
{
    width: 110px; 
    height: 62px;
}

.nav-slider__slide div
{
    height: 100%;
    margin: 0 auto;

    cursor: pointer; 

    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.product-detail__info
{
    margin-bottom: 71px;
}

.detail-info
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    padding-left: 10px;
}

.detail-info__about
{
    width: 523px;
    margin-right: 130px;
}

.detail-info__title
{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800; 
    line-height: 26px;

    margin-bottom: 28px;

    color: #1c154e;
}

.detail-info__about-text
{
    font-size: 14px;
    line-height: 27px; 

    color: #1d1b20;
}

.detail-info__product-specs
{
    width: 284px;
    margin-right: 56px;

    border-right: 1px solid #d7dee0;
}

.specs__title
{
    font-size: 14px;
    font-weight: bold; 
    line-height: 19px;

    margin-top: 2px;
    margin-bottom: 31px;

    color: #000;
}

.specs__label
{
    font-size: 14px; 
    line-height: 30px;

    color: #474a57;
}

.specs__value
{
    font-size: 14px;
    font-weight: 600; 
    line-height: 19px;

    padding-left: 8px;

    color: #000;
}

.detail-info__plank-specs
{
    width: 239px;
}

.product-detail__suggest
{
    margin-bottom: 55px;
}

.suggest__title
{
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 44px;

    margin-bottom: 42px;

    color: #1c154e;
}

.suggest__list
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    width: 100%;

    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.suggest-card
{
    width: 295px;
}

.suggest-card:not(:last-child)
{
    margin-right: 20px;
}

.suggest-card__image
{
    width: 295px;
    height: 240px;

    background-repeat: no-repeat; 
    background-position: center center;
    background-size: cover;
}

.suggest-card__title
{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    height: 60px;
    padding: 19px;
    padding-top: 16px;
    padding-left: 20px; 

    background: #d7dee0;
}

.suggest-card__title-link
{
    font-size: 14px;
    font-weight: bold;
    line-height: 23px;

    padding-bottom: 2px;

    color: #1d1b20;
}

.suggest-card:focus,
.suggest-card:hover
{
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, .25);
            box-shadow: 0 4px 6px rgba(0, 0, 0, .25);
}

.suggest-card:focus .suggest-card__title-link,
.suggest-card:hover .suggest-card__title-link
{
    border-bottom: 1px solid #1d1b20;
}

.suggest-card_last
{
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;

    display: block;

    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    height: 300px;
    padding-top: 138px;
    padding-right: 40px;

    text-align: right;
    letter-spacing: .02em;
    text-transform: uppercase;

    color: #fff;
    border-radius: 2px;
    background: #4233b8;
}

.suggest-card_last:hover span,
.suggest-card_last:focus span
{
    border-bottom: 1px solid #fff;
}

.suggest-card_last span
{
    position: relative;
}

.suggest-card_last span::after
{
    position: absolute;
    top: 70px; 
    right: 0;

    content: url('../images/product-detail/arrow_right.svg');
}

.back-to-catalog
{
    font-size: 12px;
    line-height: 16px; 

    position: relative;

    display: inline-block;

    padding-bottom: 2px;
    padding-left: 15px;

    color: #bac7ca;
    border-bottom: 1px solid #29295a;
}

.back-to-catalog::before
{
    position: absolute;
    left: 0; 

    content: url('../images/product-detail/arrow_left.svg');
}

.back-to-catalog_top
{
    display: none;

    margin-bottom: 60px;
    margin-left: 20px;
}

.back-to-catalog_bottom
{
    margin-bottom: 89px;
}

@media (max-width: 1240px)
{
    .main-wrapper
    {
        width: 320px;
    }
    .product-detail__gallery
    {
        margin: 0 0;
        margin-bottom: 63px;
    }
    .main-slider-wrapper
    {
        position: relative;

        width: 100%;
        height: 480px;
        margin-bottom: 0;
    }
    .main-slider__slide
    {
        width: 100%;
        height: 480px;
    }
    .main-slider__slide img
    {
        width: 100%;
        height: 480px;
    }
    .slider-arrow
    {
        position: absolute;
        top: 50%;

        width: 9px;
        height: 16px;
        margin-top: -18px;

        cursor: pointer; 

        border: none;
        background: transparent;
        background-repeat: no-repeat;
        background-position: 0 0;
    }
    .slider-arrow__prev
    {
        background-image: url('../images/product-detail/slider-prev-white.svg');
    }
    .main-slider__prev
    {
        left: 20px;
    }
    .slider-arrow__next
    {
        background-image: url('../images/product-detail/slider-next-white.svg');
    }
    .main-slider__next
    {
        right: 20px;
    }
    .main-slider__tag-list
    {
        position: absolute; 
        top: 41px;
        left: 22px;
    }
    .main-slider__product-controls
    {
        top: 40px;
        right: 20px; 

            flex-direction: column;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
    }
    .main-slider__product-control
    {
        font-size: 0;
        line-height: 0;

        width: 28px;
        height: 28px;
        padding: 0;

        border-radius: 50px;
    }
    .main-slider__product-control:not(:last-child)
    {
        margin: 0;
        margin-bottom: 10px;
    }
    .main-slider__product-control::before
    {
        top: 9px !important;
        left: 9px;

        width: 10px; 
        height: 10px;
    }
    .main-slider__card
    {
        right: 28px; 
        bottom: 0;
    }
    .slider-card
    {
        width: 262px;
        padding-top: 20px;
        padding-left: 30px;
    }
    .slider-card__button
    {
        width: 280px;
    }
    .nav-slider-wrapper
    {
        display: none;
    }
    .product-detail__info
    {
        margin-bottom: 27px;
    }
    .detail-info
    {
            flex-direction: column;

        padding-right: 20px; 
        padding-left: 20px;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
    }
    .detail-info__about
    {
        width: 100%; 
        margin: 0 0;
        margin-bottom: 45px;
        padding: 0 0;
    }
    .detail-info__title
    {
        font-size: 14px;
        line-height: 20px; 

        margin-bottom: 13px;
    }
    .detail-info__about-text
    {
        font-size: 14px;
        line-height: 23px;
    }
    .detail-info__product-specs
    {
        width: 100%;
        margin: 0 0;
        margin-bottom: 41px;

        border-right: none;
    }
    .specs__title
    {
        margin: 0 0;
        margin-bottom: 10px;
    }
    .specs__label
    {
        font-size: 14px; 
        line-height: 30px;

        color: #474a57;
    }
    .specs__value
    {
        font-size: 14px;
        font-weight: 600; 
        line-height: 19px;

        padding-left: 8px;

        color: #000;
    }
    .detail-info__plank-specs
    {
        width: 100%;
    }
    .back-to-catalog_top
    {
        display: inline-block;
    }
    .product-detail__suggest
    {
        margin-bottom: 25px;
        padding-right: 20px; 
        padding-left: 20px;
    }
    .suggest__title
    {
        font-size: 18px;
        line-height: 22px; 

        margin-bottom: 25px;
    }
    .suggest__list
    {
            flex-direction: column; 

        width: 100%;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
    }
    .suggest-card
    {
        width: 100%;
    }
    .suggest-card__image
    {
        width: 280px;
        height: 228px;
    }
    .suggest-card:not(:last-child)
    {
        margin: 0 0;
        margin-bottom: 20px;
    }
    .suggest-card__title
    {
        height: 57px;
        padding-top: 15px;
        padding-bottom: 17px;
    }
    .suggest-card_last
    {
        height: 160px;
        padding-top: 36px;
        padding-right: 25px;
    }
    .suggest-card_last span::after
    {
        top: 73px;
    }
    .back-to-catalog_bottom
    {
        display: none;
    }
}
