:root{
    --color-active: #c8dc07;
    --color-gray: #4b4c51;
    --padding-left: calc((100vw - 100% - 17px) / 2);
    --bs-body-font-family: 'GothamPro-Light';
}

html{
    font-size: 14px;
}
section {
    max-width: 1920px!important;
    margin: 0 auto!important;
}

a{
    text-decoration: none;
    color: inherit;
}
img{
    width: 100%;
}

h1, h2{
    font-size: 1.9rem;
    font-family: 'GothamPro-Bold';
}


/* form */

.form-control{
    padding: 0.5rem;
    font-size: 1.2rem;
    border-radius: 0;
}
.input-group > .form-control{
    border-left: none;
}
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(66, 66, 66, 0.25);
}
.input-group-text{
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 0;
}
.input-group-text img{
    height: 2rem;
    width: auto;
}
.label-check{
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}
.form-check-input[type="checkbox"]{
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    border-radius: 0;
    line-height: 2rem;
}
.btn{
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: 'GothamPro-Bold';
}
.btn.btn-primary{
    width: 260px;
    text-align: center;
    background-color: #fff;
    color: #4b4c51; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;

}
.btn-primary:before {
    content: "";
    position: absolute;
    height: 150px;
    width: 50px;
    background : #ccc;
    left: 90%;
    top: -40px;
    transform: rotate(37deg);
    transition: all .4s ease-in-out;
    opacity: 0.3;
}
.btn-primary:hover:before {
    left: -10%;
}
.btn-colored,.btn-colored:hover{
    background-color: #c9dd0e;
    color: #fff; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    padding: 0.6em 2em;
    position: relative;
    overflow: hidden;
}

.btn-colored:before {
    content: "";
    position: absolute;
    height: 150px;
    width: 50px;
    background : #fff;
    left: 90%;
    top: -40px;
    transform: rotate(37deg);
    transition: all .4s ease-in-out;
    opacity: 0.3;
}
.btn-colored:hover:before {
    left: -10%;
}


/* header */
header{
    position: sticky;
    top: 0;
    padding: 0.8rem 0;
    background-color: var(--color-gray);
    border-bottom: 1px var(--color-active) solid;
    z-index: 100;
}
header img.logo{
    width: auto;
    height: 40px;
    transform: translateY(-2px);
}

.desktop-menu{
    margin-left: auto;
}
@media(max-width: 992px) {
    .desktop-menu{
        display: none;
    }
    .mobile-hide{
        display: none;
    }
    header img.logo{
        width: auto;
        height: 30px;
        transform: translateY(-2px);
    }
}
.desktop-menu .nav a{
    display: block;
    padding: 1rem;
    color: #fff;
}
.desktop-menu .nav a:hover{
    color: var(--color-active);
}

/* navbar */
.btn-mobile-menu{
    margin-left: auto;
}
@media(min-width: 992px) {
    .btn-mobile-menu{
        display: none;
    }
}
a.bars{
    display: flex;
    flex-direction: column;
}
a.bars .bar{
    width: 24px;
    height: 4px;
    background-color: var(--color-active);
    margin-bottom: 5px;
    transition: all 0.4s ease;
}
a.bars .bar:last-child{
    margin-bottom: 0;
}
a.bars:hover .bar{
    background-color: #fff;
}
.bars.times .bar:first-child {
    transform-origin: center;
    transform: translatey(4px) rotate(45deg);
}
.bars.times .bar:nth-child(2) {
    display: none;
}
.bars.times .bar:last-child {
    transform-origin: center;
    transform: translatey(-5px) rotate(-45deg);
}
.mobile-menu {
    position: fixed;
    height: calc(100vh - 64px);
    width: 320px;
    top: 64px;
    right: 0;
    transform: translateX(100%);
    z-index: 15;
    background-color: #fff;
    box-shadow: 0 0 20px #0006;
    padding: 1rem 2rem;
    background-color: #4b4c51;
    transition: transform .4s ease;
}
.mobile-menu.show {
    transform: translateX(0);
}
.mobile-menu .nav{
    display: block;
}
.mobile-menu .nav li a{
    display: block;
    padding: 0.5rem 0;
    font-size: 1.2rem;
    font-family: 'GothamPro-Bold';
    color: #fff;
}
.mobile-menu .nav li a:active,
.mobile-menu .nav li a:hover{
    color: var(--color-active);
}
.mobile-menu .btn-colored{
    padding-left: 1rem;
    padding-right: 1rem;
}
.social a {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #333;
    font-size: 1.4rem;
    margin-right: 5px;
    border-radius: 3px;
}
.social a:hover {
    background-color: var(--color-active);
    color: #333;
}
/* --------- */
section#home{
    background-color: var(--color-gray);
}
.site-title{
    padding: 0.5rem 0;
    text-align: center;
}
.site-title h1{
    font-size: 1.6rem;
    font-family: 'GothamPro-Bold';
    color: #fff;
    margin: 0;
}
.site-title a{
    color: var(--color-active);
    font-size: 1.1rem;
}
/* home_slider */
.slick-arrow {
    position: absolute;
    height: 50%;
    transform: translateY(50%);
    width: 50px;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 5px #0003;
}
.slick-prev {
    left: 0;
}
.slick-next {
    right: 0;
}
.home_string{
    margin-bottom: -3px;
}
.home_string marquee{
    padding: 0.4rem 0;
    background-color: #e6e6e6;
    font-size: 1.1rem;
}
/* categories */
.categories_table{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(auto, 1fr);
    grid-gap: 1px 1px;
    grid-auto-flow: row;
    background-color: #ccc;
    padding: 1px;
}
.category{
    position: relative;
}
.category .square{
    padding-top: 100%;
}
.category .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}
.category svg{
    width: 50%;
    height: auto;
}
.category svg path{
    fill: #fff !important;
}
.category .overlay:hover{
    background-color: #333;
}
.category .overlay:hover svg path{
    fill: var(--color-active) !important;
}

.category .caption{
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-active);
    font-family: 'GothamPro';
}
/* action */
.bg-yellow-1{
    background-image: url('../img/bg/bg-yellow-1.jpg');
    background-size: cover;
}
.bg-yellow-2{
    background-image: url('../img/bg/bg-yellow-2.jpg');
    background-size: cover;
}
.bg-yellow-3{
    background-image: url('../img/bg/bg-yellow-3.jpg');
    background-size: cover;
}
.bg-yellow-4{
    background-image: url('../img/bg/bg-yellow-4.jpg');
    background-size: cover;
}

section.action{
    padding: 1.75rem 0;
    color: #fff;
    text-align: center;
}
section.action h2{
    font-size: 1.75rem;
    margin-bottom: 1.4rem;
    font-family: 'GothamPro-Bold';
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
section.action form{
    max-width: 600px;
    margin: 0 auto;
}

/*  installment  */
#installment{
    background-color: #fff;
    padding: 4rem 0;
}
#installment .box{
    width: 320px;
    margin: 0 auto;
    background-color: #4b4c51;
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
#installment h2{
    color: var(--color-active);
    margin-bottom: 0;
}
#installment .subtitle{
    font-family: 'GothamPro-Bold';
    font-size: 2rem;
    margin-top: -0.6rem;
}
#installment img{
    width: 120px;
    height: auto;
    padding-top: 20px;
    padding-bottom: 15px;
}
#installment p{
    padding: 0 3rem;
    font-size: 1.2rem;
}
@media(min-width: 992px){
    #installment{
        background-image: url('../img/bg/bg-installment.jpg');
        background-size: 100% 100%;
    }
    #installment .box{
        margin: 0 0 0 auto;
    }
    
}

.product .description{
    background-color: #4b4d51;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem 2.4rem;
}
.product .caption{
    font-family: 'GothamPro-Bold';
    font-size: 1.4rem;
    text-transform: uppercase;
}
.product .option{
    line-height: 1.2em;
    padding: 1.2rem 3rem 1.2rem 0;
}

.product .buy{
    display: flex;
    line-height: 1em;
}
.product .buy .price .current{
    color:#c8db04;
    display: block;
}
.product .buy .price .current strong{
    font-family: 'GothamPro-Bold';
    font-size: 2.2rem;
}
.product .buy .price .old{
    color:#fff;
    display: block;
    position: relative;
    width: max-content;
    font-size: 1.1rem;
    padding: 0.4em 0.2em;
}
.product .buy .price .old::before{
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    background-color: #c8db04;
}

.product .buy button{
    margin-left: auto;
}
/*  ----  */
#showers .description{
    padding: 2rem 0;
    text-align: center;
    font-size: 1.2rem;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;    
}
#showers h2{
    color: #4b4c51;
    line-height: 1.2em;
    margin-bottom: 1rem;
}
#showers ul{
    padding-left: 4rem;
    text-align: left;
}
#showers ul li{
    list-style-type: none;
}
#showers ul li::before{
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../img/delimeter.png);
    margin-right: 0.5rem;
    margin-bottom: -0.2rem;
}
/* ==  */
#installation .description{
    padding: 2rem 0;
    background-color: #4b4c51;
    color: #fff;
    text-align: center;
    font-size: 1.2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;    
    align-items: center;
}
#installation .certificates{
    display: flex;
    align-items: center;
    justify-content: center;
}
#installation .certificates img{
    width: 120px;
    height: auto;
    margin: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

}
#installation h2{
    margin: 2rem 0;
}
/* ===  */
#cottages .description{
    padding: 2rem 1rem;
    background-color: #f5f5f5;
    color: #4b4c51;
    font-size: 1.2rem;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
#cottages h2{
    margin-bottom: 1.6rem;
}
#cottages p{
    margin-bottom: 1.6rem;
}

/* ===  */
#perila .description{
    padding: 2rem 1rem;
    background-color: #c7dd06;
    color: #4b4c51;
    font-size: 1.2rem;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
#perila h2{
    margin-bottom: 1.6rem;
}
#perila p{
    margin-bottom: 1.6rem;
}

/* ===  */
#glazing .description{
    padding: 1.4rem 1rem;
    color: #4b4c51;
    font-size: 1.2rem;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#glazing h2{
    margin-bottom: 1rem;
}
#glazing p{
    margin-bottom: 1.4rem;
    line-height: 1.0em;
}
#glazing ul{
    text-align: left;
    margin-left: 1.6rem;
}
#glazing ul li{
    list-style-type: none;
    padding-left: 1.6rem;
    margin-top: 0.6rem;
    line-height: 1em;
    position: relative;
}
#glazing ul li::before{
    content: '';
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    background-image: url(../img/delimeter.png);
    top: 0.1rem;
    left: 0;
}
/* =========== */
/* ===  */
#contacts .description{
    padding: 1.4rem 1rem;
    color: #4b4c51;
    font-size: 1.2rem;
    /*text-align: center;*/

    display: flex;
    flex-direction: column;
    justify-content: center;
    /*align-items: center;*/
}
#contacts h2{
    margin-bottom: 1rem;
    margin-left: 3.7rem;
}
#contacts p{
    margin-bottom: 1.4rem;
    line-height: 1.0em;
}
#contacts ul{
    text-align: left;
    /*margin-left: 1.6rem;*/
}
#contacts ul li{
    list-style-type: none;
    padding-left: 1.6rem;
    margin-top: 0.6rem;
    line-height: 1em;
    position: relative;
}
#contacts ul li::before{
    content: '';
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    /*background-image: url(../img/delimeter.png);*/
    top: 0.1rem;
    left: 0;
}
/* =========== */
#gifts{
    padding: 2rem 0;
    text-align: center;
}
#gifts h2{
    margin-bottom: 1.6rem;
    color: var(--color-gray);
}
#gifts img{
    width: auto;
    height: 360px;
    display: block;
    margin: 0 auto;
}
@media(min-width: 992px){
    #gifts{
        background-image: url('../img/bg/bg-gifts.jpg');
        background-size: cover;
    }
}
/* =========== */
#reasons{
    padding: 2.5rem 1rem;
    background-color: #4b4d51;
    color: #fff;
}
#reasons h2{
    text-align: center;
    margin-bottom: 2rem;
}
#reasons .reason{
    display: flex;
}
#reasons .reason-img{
    background-color: #363434;
}
#reasons .reason-img img{
    width: 100px;
    padding: 10px
}
#reasons .description{
    padding: 1rem;
}
#reasons .reason{
    margin-bottom: 1rem;
    padding-left: 0;
}
#reasons .reason h3{
    font-family: 'GothamPro-Bold';
    font-size: 1.3rem;
    line-height: 1em;
    text-transform: uppercase;
}
#reasons .reason p{
    font-size: 0.95rem;
    line-height: 1em;
    margin-bottom: 0;
}
#reasons .reason:nth-child(1){
    background-color: #2b2b2b;
}
#reasons .reason:nth-child(2){
    background-color: #404040;
}
#reasons .reason:nth-child(3){
    background-color: #5c5c5c;
}
#reasons .reason:nth-child(4){
    background-color: #808080;
}
#reasons .reason:nth-child(5){
    background-color: #999999;
}
/*  --------------  */
#trust{
    padding: 1.6rem 0;
}
#trust h2{
    color: var(--color-gray);
    margin-bottom: 1.6rem;
    text-align: center;
}
#trust .slide .box{
    max-width: 320px;
    margin: 0 auto;
}
#trust .slide .caption{
    padding: 0.6rem 2rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.2em;
}
#trust .trust-slider .slick-prev,
#trust .trust-slider .slick-next{
    color: #333;
}
/*  --------------  */
#feedback{
    padding: 1.6rem 0;
    background-color: #4b4d51;
    color: #fff;
    text-align: center;
}
#feedback h2{
    text-align: center;
}
#feedback .feedback-slider{
    padding: 20px 0;
}

#feedback .slide{
    width: 100%;
}
#feedback .slide .box{
    width: 320px;
    margin: 1.6rem auto;
    padding: 1rem;
    box-shadow: 0 0 30px #0008;
    text-align: left;
}
#feedback .slide h3{
    font-size: 1.2rem;
}
#feedback .rating{
    font-size: 1.4rem;
    color:#c7dd06;
    margin-bottom: 1rem;
}
#feedback .text{
    margin-bottom: 1rem;
}
#feedback .date{
    font-size: 0.9rem;
}


/* ------------ */
footer{
    padding: 1.6rem 0;
    background-color: #4b4d51;
    color: #fff;
}
footer p{
    margin: 0;
    font-size: 0.9rem;
}
footer img.logo{
    height: 45px;
    width: auto;
    margin-bottom: 1rem;
}
footer .dropdown{
    font-size: 1.2rem;
    margin: 1.6rem 0 1rem;
}
footer .phones a{
    display: none;
    color: #c7dd06;
}
footer .citylink{
    color: #c7dd06;
}
footer .phones a.active{
    display: block;
}
footer .schedule{
    margin: 1rem 0;
    font-size: 1.2rem;
}
footer .created_by a{
    color: #f33;
}


/* ================== DESKTOP =================== */
@media (min-width: 992px){

    h1, h2{
        font-size: 2.2rem !important;
    }

    .home_slider{
        border-top: 1px #ccc solid;
        border-bottom: 1px #ccc solid;
    }
    .home_string{
        display: none;
    }
    #categories{
        background-color: #4b4c51;
    }
    .categories_table{
        padding: 0 1px;
    }
    #products{
        background-color: #fff;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .product-slider .slick-prev{
        transform: translate(-100%, 50%);
        color: var(--color-gray);
    }
    .product-slider .slick-next{
        transform: translate(100%, 50%);
        color: var(--color-gray);
    }

    .product{
        margin: 0 20px;
    }



    #gifts .btn-colored{
        margin: 2rem auto 2rem;
    }
    /* шахматы */
    .d-lg-flex img{
        width: 50%
    }


    #reasons h2{
        margin-bottom: 2rem;
    }
    #reasons .reason{
        flex-direction: column; 
        padding: 1rem;
    }
    #reasons .description{
        padding: 0.5rem;
    }
    #reasons .reason-img{
        background-color: transparent;
    }
    section.action,
    #reasons, 
    #trust, 
    #feedback{
        padding: 4rem 0;
    }
}

/* ================== MOBILE =================== */
@media (max-width: 992px){
    .container-lg{
        padding-left: 0;
        padding-right: 0;
    }
    .categories_table{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(auto, 1fr);
    }
    
}



/* TEST */
