.headPanelImg{
    background-color: #ddd;
    margin: 0 -15px;
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.headPanelImg .carousel img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.headPanelImg .caption{
    position: absolute;
    width: 100%;
    padding: 1rem 2.5rem;
    background-color: rgba(0, 0, 0, .7);
    text-align: center;
}
.headPanelImg .caption h1{
    color: #ffffff;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.headPanelImg .caption h2{
    color: #fecc00;
    font-size: 25px;
    font-weight: 400;
}
/*Достоинства*/
#materialAdvantages {
    display: flex;
    margin: 1rem 0;
    gap: 1rem;
}
#materialAdvantages .panel{
    display: flex;
    gap: 1rem;
    flex-grow: 3;
    flex-basis: 0;
    flex-direction: column;
}
#materialAdvantages .panel .item {
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}
#materialAdvantages .panel .item .caption{
    display: flex;
    background-color: #333;
    border-radius: 5px 5px 0 0;
    color: #fff;
    align-items: center;
    padding: .5rem;
    gap: 1rem;
}
#materialAdvantages .panel .item .caption .icon {
    height: 50px;
    width: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fecc00;
    border-radius: 5px;
}
#materialAdvantages .panel .item .caption .icon i{
    font-size: 35px;
    color: #333;
}
#materialAdvantages .panel .item .caption h4{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}
#materialAdvantages .panel .item .caption h4 span{
    font-size: 80%;
    color: #ddd;
    margin-left: .5rem;
}
#materialAdvantages .panel .item .content{
    background-color: #f8f8f8;
    padding: .5rem 1rem;
    border-radius: 0 0 5px 5px;
    font-size: 18px;
    font-weight: 300;
}

#materialAdvantages .numbers {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    flex-basis: 0;
    flex-grow: 2;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    background-color: #333;
    gap: 1rem;
}
#materialAdvantages .numbers .item{
    text-align: center;
    border: 1px solid #535353;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
}
#materialAdvantages .numbers .caption{
    display: flex;
    gap: .25rem;
    justify-content: center;
    align-items: center;
    background-color: #444;
    padding: .5rem;
    flex-direction: column;
}
#materialAdvantages .numbers i{
    color: #f8f8f8;
    font-size: 2rem;
}
#materialAdvantages .numbers .item h4{
    font-size: 28px;
    color: #fecc00;
    margin-bottom: 0;
}
#materialAdvantages .numbers .item p{
    color: #ffffff;
    background-color: #555;
    padding: .5rem;
    margin-bottom: 0;
    font-size: 18px;
}
/*Поверхности под монтаж*/
.surface-panel{
    width: 100%;
    margin-bottom: 1rem;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
}
.surface-panel img{
    height: 175px;
    width: 100%;
    object-fit: cover;
}
.surface-panel .text{
    text-align: center;
    background-color: #333;
    padding: .5rem;
}
.surface-panel .text h5{
    font-size: 24px;
    margin-bottom: 0;
    color: #fecc00;
}
.surface-panel .text span{
    color: #fff;
}
/*Пирог стены*/
.pie_panel{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}
.pie_panel .pie_img{
    height: 400px;
    width: 50%;
    background: center / contain no-repeat url("../../images/otdelka_karkasnogo_doma/pirog.png"), #fff;
    flex-grow: 1;
}
.pie_panel .pie_text {
    padding: 1rem;
    border-radius: 5px;
    flex-grow: 1;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pie_panel .pie_text .item{
    display: flex;
    gap: .75rem;
    background-color: #444;
    padding: .5rem;
    border-radius: 5px;
    color: #fff;
    align-items: center;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
}
.pie_panel .pie_text .item div{
    width: 40px;
    height: 40px;
    display: flex;
    flex-shrink: 0;
    color: #333;
    font-size: 24px;
    justify-content: center;
    align-items: center;
    background-color: #fecc00;
    border-radius: 5px;
    font-weight: bold;
}
.pie_panel .pie_text .item span{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.1;
}
/*Видео*/
.swiper-video-carousel{
    max-width: 1400px;
}
.swiper-video-carousel .swiper-slide > .item-video{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    background-color: #ddd;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
.swiper-video-carousel .swiper-slide > .item-video.videoBlock{
    padding: 0;
}
.swiper-video-carousel .swiper-slide > .item-video img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-video-carousel .swiper-slide > .item-video .caption{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    background-color: #0000009e;
    width: 100%;
    padding: .5rem 1rem;
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.2);
}
.swiper-video-carousel .swiper-slide > .item-video .title{
    font-size: 18px;
    color: #fecc00;
    font-weight: bold;
    line-height: 1.2;
}
.swiper-video-carousel .swiper-slide > .item-video .subtitle{
    font-size: 16px;
    font-weight: 300;
}
.swiper-video-carousel .swiper-slide > .item-video .source{
    font-size: 12px;
    color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .25rem;
}
.swiper-video-carousel .swiper-slide > .item-video .source.youtube i{
    color: #ff0000;
    font-size: 18px;
}
.swiper-video-carousel > .swiper-custom-panel > .swiper-pagination {
    display: flex;
    position: relative;
    justify-content: center;
    bottom: inherit;
    margin-top: 1rem;
}
.swiper-video-carousel > .swiper-custom-panel > .swiper-pagination > .swiper-pagination-bullet {
    display: block;
    height: 15px;
    width: 15px;
    background-color: #ddd;
    opacity: 1;
}
.swiper-video-carousel > .swiper-custom-panel > .swiper-pagination > .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #fecc00;
}
/*Калькулятор пирога*/
#pieCalculator,
#pieCost{
    background-color: #333;
    padding: 1rem;
    height: 100%;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden
}
#pieCalculator .caption{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #444;
    padding: .5rem;
    flex-direction: column;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 1rem;
}
#pieCalculator label{
    font-size: 18px;
    font-weight: 400;
    color: #fecc00;
}
#pieCalculator .caption h4{
    color: #fecc00;
    margin-bottom: 0;
}
#pieCalculator .caption span{
    color: #dddddd;
}
#pieCost{
    display: flex;
    justify-content: center;
    min-height: 300px;
}
#pieCost .no_result{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: auto;
}
#pieCost .no_result i{
    color: #fecc00;
    font-size: 60px;
    margin-bottom: .5rem;
}
#pieCost .no_result span{
    color: #dddddd;
    font-size: 18px;
}
#pieCost .pie_result{
    display: flex;
    flex-direction: column;
    width: 100%;
}
#pieCost .pie_result .item{
    display: flex;
    color: #fff;
    align-items: baseline;
    gap: .5rem;
}
#pieCost .pie_result .caption{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #444;
    padding: .5rem;
    flex-direction: column;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 1rem;
}
#pieCost .pie_result .content{
    display: flex;
    justify-content: center;
    flex-grow: 1;
    background-color: #444;
    padding: 1rem;
    flex-direction: column;
    color: #fecc00;
    border-radius: 5px;
    margin-bottom: 1rem;
    gap: .5rem;
}
#pieCost .pie_result .content .item .name{
    font-size: 18px;
}
#pieCost .pie_result .content .item .name b{
    color: #fecc00;
    margin-right: .3rem;
}
#pieCost .pie_result .content .item .sum{
    color: #fecc00;
}
#pieCost .pie_result .content .item .delimiter{
    flex-grow: 1;
    border: 1px dashed #ddd;
    height: 1px;
}
#pieCost .pie_result .total{
    background-color: #444;
    padding: .5rem;
    color: #fff;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}
#pieCost .pie_result .total span{
    margin-left: .25rem;
    color: #fecc00;
}
/*ЧАВО*/
.questions-group{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.questions-group > .question-info{
    text-align: center;
    background-color: #eeeeee;
    padding: .5rem;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}
.questions-group > .question-panel{
    border: 1px solid #ddd;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2);
}
.questions-group > .question-panel .question-header{
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    background-color: #333;
    user-select: none;
}
.questions-group > .question-panel .question-header span{
    margin: .5rem .5rem .5rem 1.5rem;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
}
.questions-group > .question-panel .question-header:hover span,
.questions-group > .question-panel.show .question-header span{
    color: #fecc00;
}
.questions-group > .question-panel .question-header .icon{
    min-width: 60px;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    background-color: #fecc00;
    color: #333;
    font-size: 1.5rem;
    margin-left: auto;
}
.questions-group > .question-panel.show .question-header .icon,
.questions-group > .question-panel .question-header:hover .icon{
    background-color: #f8f8f8;
    color: #333;
}
.questions-group > .question-panel .question-body{
    display: none;
    flex-direction: column;
    padding: 1rem;
    background-color: #f8f8f8;
}
.questions-group > .question-panel .question-body > *:last-child{
    margin-bottom: 0;
}
.questions-group > .question-panel .question-body > p{
    text-indent: 1rem;
}
.questions-group > .question-panel.show .question-body{
    display: flex;
}
.questions-group > .question-panel .question-body p{
    font-size: 16px;
}
@media (max-width: 1300px) {
    .headPanelImg{
        height: 600px;
    }
}
@media (max-width: 1200px) {
    .pie_panel .pie_img {
        width: 40%;
    }
    .headPanelImg .caption h1{
        font-size: 42px;
    }
}
@media (max-width: 992px) {
    .headPanelImg .caption h1{
        font-size: 38px;
    }
    .pie_panel{
        flex-direction: column;
        gap: 0;
    }
    .pie_panel .pie_img {
        width: 100%;
    }
    .pie_panel .pie_text{
        gap: 1rem;
    }
    #materialAdvantages{
        flex-direction: column;
    }
    #materialAdvantages .panel{
        order: 1;
    }
    #materialAdvantages .numbers{
        order: 0;
    }
}
@media (max-width: 768px) {
    .headPanelImg .caption h1{
        font-size: 32px;
    }
    .headPanelImg .caption h2{
        font-size: 22px;
    }
    .headPanelImg{
        height: 500px;
    }
    .pie_panel .pie_text .item span{
        font-size: 16px;
    }
    .swiper-video-carousel .swiper-slide > .item-video{
        height: 200px;
    }
    .questions-group{
        gap: .75rem;
    }
}
@media (max-width: 576px) {
    .headPanelImg .caption {
        padding: 1rem .25rem;
        border-radius: 0;
        width: 100%;
    }
    .headPanelImg .caption h1{
        font-size: 22px;
    }
    .headPanelImg .caption h2{
        font-size: 18px;
    }
    .pie_panel .pie_img{
        height: 300px;
    }
    .pie_panel .pie_text {
        gap: .75rem;
    }
    .pie_panel .pie_text .item{
        gap: .5rem;
    }
    #pieCost .pie_result .content .item .name{
        font-size: 16px;
        font-weight: 300;
    }
    #pieCost .pie_result .content .item .name b {
        margin-right: .2rem;
    }
    .swiper-video-carousel .swiper-slide > .item-video{
        height: 250px;
    }
    .questions-group{
        gap: .5rem;
    }
    .questions-group > .question-panel .question-header span{
        font-size: 16px;
    }
    .questions-group > .question-panel .question-header .icon{
        min-height: 50px;
        min-width: 50px;
    }
    .questions-group > .question-panel .question-body > p{
        font-size: 14px;
        line-height: 1.4;
    }
}
@media (max-width: 400px) {
    .swiper-video-carousel .swiper-slide > .item-video{
        height: 200px;
    }
}
