.twelve-icons {
    margin-bottom: 0;
    margin-top: 0;
}

.boxwrap.product-section-new,
.boxwrap {
    padding: 60px 0;
}
.boxwrap:first-of-type {
    padding-top: 70px;
    padding-bottom: 70px;
}
.boxwrap.about-pillow {
   /* padding: 0 0;*/
    background: none;
    margin-bottom: 0px;
    margin-top: 0;
}
.boxwrap.somia-sleep {
    margin-top: 0;
}
.boxwrap.gradient {
    margin-top: 30px;
}

.product_full .gallery {
    border-right: 1px solid #000000;
    border-radius: 10px;
    border-bottom: 1px solid #000000;
    overflow: hidden;
}
.product_full .gallery img{
    border-radius: 10px;
}
.product_full h2 {
    font-size: 20px;
    font-family: 'GT-America', Arial, sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
}
.product_full .title {
    margin-left: 0;
    margin-top: 30px;
    font-size: 16px;
    font-family: 'GT-America', Arial, sans-serif;
    font-weight: 300;
}
.product_full .title .info-type {
    margin-bottom: 20px;
}
.product_full .title .info-type .icon-svg-iztype{
    margin-right: 10px;
}
.product_full .title .titelandcost {
    margin-bottom: 12px;
}
.product-section-new .product_full .title .desc:before {
    content: '';
    position: sticky;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    height: 0px;
    box-shadow: 0px 0px 27px 22px #ffffff;
}
.product-section-new .product_full .title .desc:after {
    content: '';
    display: block;
    height: 26px;
}
.product-section-new .product_full .title .desc {
    position: relative;
    line-height: 1.35;
    border: 0;
    margin: 0 0 15px;
    padding: 0 0;
    overflow-y: auto;
    height: auto;
    max-height: 405px;
/*    border-bottom: 1px solid #eee;*/
    /*padding-bottom: 5px;*/
}
.product-section-new .product_full .title .desc { -ms-overflow-style: auto; }
.product-section-new .product_full .title .desc { overflow: -moz-scrollbars-vertical; }
.product-section-new .product_full .title .desc::-webkit-scrollbar {
    width: 8px;
    height: 100%;
    border-radius: 4px;
    /*background-color: #aaa;*/
    -webkit-box-shadow: inset 0 0 6px rgba(200, 200, 200, 0.9);
    /*border-radius: 4px;*/
}
.product-section-new .product_full .title .desc::-webkit-scrollbar-button {
    display: none;
}
.product-section-new .product_full .title .desc::-webkit-scrollbar-track {
}
.product-section-new .product_full .title .desc::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #67b5ff;
    background-color: #d2d2d2;
    cursor: grab;
}
.product-section-new .product_full .title .desc::-webkit-scrollbar-thumb:active {
    cursor: grabbing;
}

.product-section-new .product_full .title .desc,
.product-section-new .product_full .title .desc p {
    font-size: 16px;
    font-family: 'GT-America', Arial, sans-serif;
    font-weight: 300;
}
.product-section-new .product_full .title .desc .check-height:last-of-type {
    margin-bottom: 10px;
}
.product-section-new .product_full .snipp-dolyami {
    margin: 10px 0;
    display: flex;
}

.product_full .price {
    font-family: 'CoFoRobert-Light', serif;
    font-weight: 400;
    font-size: 22px;
    -webkit-font-feature-settings: 'pnum' on, 'lnum' on;
    font-feature-settings: 'pnum' on, 'lnum' on;
}
.btn_button_1 .ohbtn-blue {
    background: #b4e3fd;
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
}
.promo_code button:before, .product_item button:before,
.mail_form button:before, .submenu .product_item + .button>span:before,
.product_item .button a:before, a[data-fancybox="box_zoom_1"] .button>span:before,
.btn_button_1 button:before, .btn_button_1 a:before, .btn-default:before {
    border: 0!important;
}




.product_full .delivery-info {
    padding: 13px 0 15px!important;
    border-top:1px solid #111;
}
.product_full .delivery-info a:hover {
    text-decoration: none;
}
.gallery-box-area {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gallery-box-area .slick-prev{

}
.gallery-box-area .slick-next{

}
.product_full .rating {
    z-index: 9;
}
.product_full .gallery-box-area .slider-controls_prod{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px;
    margin-top: 0;
    margin-bottom: 0;
}
.product_full .gallery-box-area .slick-dots li button {
    height: 18px;
}
.product_full .gallery-box-area .slick-dots{
    position: relative;
    width: auto;
    top: 0;
    bottom: 0;
}
.product_full .gallery {

}
.gallery-thumbs {
    margin-top: 25px;

    margin-bottom: -1px;
    margin-left: -1px;
}
.gallery-thumbs .item {
    border: 1px solid #111;
    width: 260px;
    margin-right: 47px;
    border-radius: 10px;
    overflow: hidden;
}



/* */
.boxwrap.transform {
    bottom: 0px;
}

/* */
.pillow-gallery {
    padding: 60px 0;
    background: #fffdef;
}
.pillow-gallery .gallery-item {
    margin-bottom: 30px;
}
.pillow-gallery .gallery-item img {
    border: 1px solid;
    border-radius: 15px;
    width: 100%;
    max-width: none;
}

.product_full br.only_mob {
    display: none;
}

/* kids */
.boxwrap.somia-sleep .row.blocked div:nth-child(1) {
    display: block;
}
.somia-sleep {
    font-variant-numeric: lining-nums proportional-nums;
}
.somia-sleep .caption-h3 {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 250;
    max-width: 450px;
    margin: 0 auto;
}
.somia-sleep .poskriptum {
    font-family: 'GT-America', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.25;
    max-width: 450px;
    margin: 15px auto 0;
    display: block;
    color: #979797;
}
.somia-sleep .weed-image {
    padding-left: 0;
    padding-right: 0;
}
.somia-sleep .weed-image img{
    border-left: 1px solid;
    border-radius: 10px 0 0 10px;
}

.somia-sleep-fizyc .somia-pillow-image {
    margin-top: 40px;
    border: 1px solid #111;
    border-radius: 10px;
}
.somia-sleep-fizyc .somia-pillow-image img {
    height: 381px;
    margin: 35px auto;
}

/* transfom */


.tabs-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.tabs-header .tab {
    border-left: 1px solid;
    white-space: nowrap;
    border-top: 1px solid;
    width: 100%;
    border-radius: 7px 8px 0 0;
    font-size: 19px;
    padding: 16px 20px;
    cursor: pointer;
    font-variant-numeric: lining-nums proportional-nums;
    background: #F6F6F6;
    margin-right: 20px;
    position: relative;
    border-right: 1px solid;
}
.tabs-header .tab:last-child {
    margin-right: 0;
}
.tabs-header .tab.active {
    background: #fff;
    position: relative;
}
.tabs-header .tab.active:after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: 0;
    background: #fff;
}

.transform-kids .row.blocked {
    border-radius: 0 0 19px;
}
.transform-kids .mob-second .check-span{
    position: relative;
    top: -4px;
}
.transform-kids .text-check > div {
    font-size: 16px;
    font-family: 'GT-America', Arial, sans-serif;
}
.transform-kids .note {
    border: 1px solid #979797;
    font-weight: 300;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 18px;
    line-height: 130%;
    width: calc(100% + 10px);
    position: relative;
    left: -5px;
    font-family: 'GT-America', Arial, sans-serif;
}
.transform-kids .remove_right_padding {
    padding-left: 5px;
    text-align: center;
}
.transform-kids .remove_left_padding {
    padding-right: 5px;
    text-align: center;
}
.transform-kids .constructor img{
    width: 100%;
}

.transform-text {
    font-size: 24px;
    line-height: 28px;
    font-family: 'CoFoRobert-Light';
    text-align: center;
    margin-top: 50px;
}
.transform-text span {
    background: #FDEE5D;
    border: 1px solid black;
    border-radius: 10px;
    padding: 2px 13px 6px 13px;
    margin-top: 5px;
    display: inline-block;
    font-variant-numeric: lining-nums proportional-nums;
}
.transform-text a {
    background: rgba(180, 227, 253, 1);
    padding: 4px 12px;
    border-radius: 10px;
    border: 1px solid black;
    font-size: 16px;
    display: block;
    width: 180px;
    margin: 20px auto 0;
}


/* end kids */

@media (max-width: 1160px) {
    .gallery-thumbs .item {
        width: 200px;
        margin-right: 20px;
    }
    .gallery-box-area {
        justify-content: normal;
    }
    .gallery-thumbs {
        margin-top: 25px;
        margin-bottom: 0;
        margin-left: 20px;
        margin-right: 20px;
    }
    .product-section-new .product_full .title .desc{
        max-height: 350px;
    }
    .product_full .title {
        margin-right: 20px;
    }
}
@media (max-width: 992px) {

    .product_full .title {
        margin-top: 20px;
    }
    .product-section-new .product_full .title .desc p,
    .product-section-new .product_full .title .desc,
    .product-section-new .product_full .check-height,
    .product-section-new .product_full .check-case,
    .product-section-new .product_full .hardness {
        font-size: 14px;
    }

    .somia-sleep-fizyc .somia-pillow-image img{
        max-height: 381px;
        height: auto;
        width: 84vw;
    }

}
@media (max-width: 767px) {

    .boxwrap,
    .boxwrap:first-of-type{
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .boxwrap.gradient,
    .boxwrap.pillow-gallery,
    .boxwrap.sections,
    .boxwrap.twelve-icons {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .boxwrap.sections {
        margin: 0;
    }
    .review.blocked .name {
        font-size: 17px;
    }
    .review.blocked .review_text {
        font-size: 17px;
    }
    .product_full .title {
        margin-right: 0;
    }
    .product-section-new .product_full .title .desc {
        height: auto;
        max-height: inherit;
    }
    .product-section-new .product_full .title .desc:before,
    .product-section-new .product_full .title .desc:after{
        content: normal;
    }
    .fx-galla-mobile.slick-slider {
        /*height: 230px;*/
    }
    .fx-galla-mobile .gallery-item {
        margin-right: 20px;
        margin-bottom: 10px;
    }
    .fx-galla-mobile .gallery-item img{
        max-height: 230px;
        width: auto;
    }
    .fx-galla-mobile.slick-dotted.slick-slider {
        margin-bottom: 10px!important;
    }
    .popupsplit-window {
        padding: 15px 0px 0;
    }
}

@media (max-width: 575px) {
    .product_full .gallery {
        min-height: auto;
    }
    .gallery-thumbs {
        margin-top: 20px;
        margin-bottom: 15px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .gallery-thumbs .item {
        width: 150px;
        margin-right: 20px;
    }
    /* fix of the new_style.css */
    body .transform {
        bottom: 0px!important;
        padding-top: 50px!important;
    }
    .product-complect-list .proc-images .slick-dots li button:before {
        line-height: 13px;
    }
    .product_full .product-complect-box {
        padding: 20px 0;
    }
    .product_full .product-complect-box .product-complect-list {
        margin: 10px 0 0 0;
        overflow-x: hidden;
    }
    .product_full .product-complect-box .slick-prev {
        left:0px;
    }
    .product_full .product-complect-box .slick-next {
        right: -8px;
    }
    body .product_full .ms2_form {
        display: block;
    }

    /* dop */
    .rating {
        top: 10px;
        right: 10px;
        font-size: 15px;
        line-height: 20px;
        border-radius: 6px;
        padding: 3px 7px;
    }
    .rating img {
        width: 15px;
    }
    .product_full h2 {
        font-size: 18px;
    }
    .product_full .btn_button_1 .ohbtn-blue {
        font-size: 14px;
        font-weight: 300;
    }
    /*.title_desc_1 h2,*/
    .title_desc_1 h6,
    .change-header,
    .somia-pillow-heading,
    .about-pillow-heading {
        font-size: 21px;
        line-height: 1.2;
    }
    .somia-pillow-heading br {
        display: none
    }
    .somia-pillow-heading .show_desc {
        display: inline-block!important;
    }
    .somia-pillow-heading .show_mob_extra {
        display: none!important;
    }
    .somia-pillow-subheading {
        font-size: 15px;
    }

    .about-pillow-subheading {
        font-size: 18px;
    }
    .about-pillow-text {
        font-size: 14px;
    }

    .anketa-block .title {
        font-size: 21px;
        line-height: 1.2;
    }
    .anketa-block .subtitle {
        font-size: 16px;
    }
    .anketa-block .btn-blue .arrow-btn {
        font-size: 14px;
    }


    .somia-sleep-fizyc .somia-pillow-image {
        overflow-x: auto;
        margin-top: 10px;
        border: none;
        margin-right: -20px;
    }
    .somia-sleep-fizyc .somia-pillow-image img {
        height: 245px;
        width: 523px;
        max-width: inherit;
        border: 1px solid;
        border-radius: 10px;
        margin-top: 20px;
        border-left: 1px solid !important;
        padding: 20px;
        margin-right: 20px;
        margin-bottom: 10px;

       /* max-width: none;
        width: 690px;*/

        /*width: 900px;
        height: 440px;
        object-fit: none;*/
    }

    .tabs-header {
        overflow-x: auto;
        overflow-y: hidden;
    }
    .tabs-header .tab {
        font-size: 18px;
        border-radius: 10px;
        padding: 3px 30px;
        text-align: center;
        margin-right: 10px;
        border: 1px solid;
        margin-bottom: 20px;
    }
    .tabs-header .tab.active:after {
        display: none;
    }
    .wrap-layer, .inner-layer {
        font-size: 14px;
    }

    .transform-text {
        margin-top: 40px;
        font-size: 20px;
        line-height: 22px;
    }
    .transform-kids .row.blocked {
        border-radius: 18px;
    }

    .slick-dots li {
        margin: 0 2px;
    }
    .transform .change-header {
        margin-bottom: 8px;
    }
}

.product-complect-list {
    overflow-x: hidden;
}
.product-complect-box .slick-next:before,
.product-complect-box .slick-prev:before {
    display: none;
    content: normal;
}
.product-complect-box .slick-next,
.product-complect-box .slick-prev {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 16px;
    height: 16px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
    top:37%
}
.product-complect-list > .slick-list{
    width: 94%;
    margin: 0 auto;
}
.product-complect-box .slick-prev{
    background: url(../img/arrow-left.png);
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    left:3px;
}
.product-complect-box .slick-next{
    background: url(../img/arrow-right.png);
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    right: 3px;
}

@media (max-width: 575px) {
    .product-complect-box .slick-prev,
    .product-complect-box .slick-next {
        display: none;
    }
    .product-complect-list > .slick-list {
        width: 100%;
    }
}

/* dop */
.boxwrap.changes {
    margin-bottom: 0;
}
