@import"fonts.css";
@import"reset.css";
@import"global.css";
@import"header.css";
@import"footer.css";

/* ////////////////// Slideshow*/

.main__slideshow {
    padding-bottom: 30px;
}

.slideshow {
    max-width: 1294px;
    ;
    width: 100%;
    height: 100%;
}

.slideshow-prev svg,
.slideshow-next svg {
    width: 42px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 28px;
    color: #000;
}

.slideshow-pagination {
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.slideshow-pagination .swiper-pagination-bullet {
    width: 194px;
    height: 2px;
    background: #000;
    padding: 0 34px;
    border-radius: 0;
}

.slide,
.slide2,
.slide3 {
    display: flex;
    max-width: 1294px;
    ;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    padding: 0 56px;
    gap: 105px;
}

.slide {
    background: #DCE5E2;
}

.slide2 {
    background: #cbc1b6;
}

.slide3 {
    background: #afb4c6;
}

.slide__info {
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    max-width: 776px;
    width: 100%;
    padding: 56px 0;

}

.slide__title {
    font-family: var(--font-second);
    font-size: 58px;
    font-weight: 400;
    margin-bottom: 20px;
}

.slide__text {
    margin-bottom: 20px;
}


/* /////////////////////////////////////////////Gallery */


.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-template-rows: 1fr 0.1fr 0.5fr 0.1fr;
    gap: 16px;
    align-items: center;
}

.gallery__item {
    display: flex;   
    background: #ffffff;
    box-shadow: 2px -1px 39px -19px #00000041;
    font-family: var(--font-main);
    font-size: 15px;
    justify-self: end;
    width: 100%;
    transition: var(--transition);
}

.gallery__item:hover{
    box-shadow: 2px -1px 39px -7px #00000041;
}
.gallery__item-img{
    width: 100%;
}
.gallery__item:nth-child(1){
    grid-row: 1 / 2;
    grid-column: 1 / 3;
}

.gallery__item:nth-child(1) img{
    padding: 0 42px;
}
.gallery__item:nth-child(1){
    grid-row: 1 / 2;
    grid-column: 1 / 3;
}
.gallery__item-title {
    font-size: 32px;
    font-family: var(--font-second);
    padding: 0 5px;

}
.gallery__item-body p{
    padding: 0 5px;

}
.gallery__item:nth-child(1) .gallery__item-text,
.gallery__item:nth-child(2) .gallery__item-text{
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: end;
        padding-right: 40px;
}
.gallery__item:nth-child(2){
    grid-row: 3 / -1;
    grid-column: 1 / 3;
    align-items: center;
    max-height: 270px;
    height: 100%;
}
.gallery__item:nth-child(2) .gallery__item-body{
    display: flex;
    max-height: 270px;
    height: 100%;
}
.gallery__item:nth-child(2) img{
    max-height: 270px;
    height: 100%;
}


.gallery__item:nth-child(3){
    grid-column: 3 / 4;
    grid-row: 1 / -2;
    max-height: 792px;
    height: 100%;
}
.gallery__item:nth-child(3) .gallery__item-body,
.gallery__item:nth-child(4) .gallery__item-body{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gallery__item:nth-child(3) .gallery__item-text,
.gallery__item:nth-child(4) .gallery__item-text{
    padding: 42px 0;
}


.gallery__item:nth-child(4){
    grid-column: 4 / 5;
    grid-row: 1 / -2;
    align-items: center;
    max-height: 792px;
    height: 100%;
}
.gallery__item:nth-child(4) .gallery__item-body{
    text-align: center;
}

/* /////////////////////////////////////////// Products */

.main__products {
    margin-bottom: 30px;
}

.products__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 47px;
}

.products__link {
    display: flex;
    flex-direction: column;
    padding: 10px;
    transition: var(--transition);
}
.products__link:hover{
    background: #F8F9FA;
    border-radius: 20px;
}

.products__link img {
    max-height: 214px;
    max-width: 247px;
    height: auto;
    width: auto;
    object-fit: contain;
    align-self: center;
    padding: 28px;
}

.product__info {
    font-family: var(--font-main);
    font-size: 14px;
}

.product__title {
    font-family: var(--font-second);
    font-size: 22px;
    margin-bottom: 10px;
}

.prdouct__price {
    margin-top: 25px;
    font-family: var(--font-second);
    font-size: 18px;
    align-self: end;
}

/* //////////////////////////////////////////////Catalog */

.catalog__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 28px;
}

.catalog-sect {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F8F9FA;
    border-radius: 16px;
    height: 100%;
    padding: 10px;
    text-align: center;
    transition: var(--transition);
}
.catalog-sect:nth-child(1):hover{
    background: #DCE5E2;
}
.catalog-sect:nth-child(2):hover{
    background: #cbc1b6;
}
.catalog-sect:nth-child(3):hover{
    background: #afb4c6;
}
.catalog-sect img {
    max-height: 250px;
    object-fit: contain;
    width: 100%;
}

.catalog-sect__header {
    margin-bottom: 30px;
}

.catalog-sect__header h5 {
    font-family: var(--font-second);
    font-size: 28px;
}

.catalog-sect__header p {
    font-family: var(--font-main);
    font-size: 13px;
}

/* //////////////////////////////////////////////About */
.main__about{
    margin-bottom: 28px;
}

.about__body {
    font-family: var(--font-main);
    display: flex;
    gap: 35px;
    margin-bottom: 74px;
}
.about__body img{
    border-radius: 16px;
}
.about__text{
    padding: 10px 0;
}
.about__text p{
    margin-bottom: 28px;
}

.about__bottom a{
    font-family: var(--font-main);
    display: flex;
    justify-content: center;
    align-items: center;
}
/* //////////////////////////////////////////////Look For */
.main__look-for{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-main);
}
.look-for__search{
    margin-bottom: 60px;
}
.search__bar{
    display: flex    ;
    align-items: center;
    max-width: 650px;
    width: 100%;
    height: 60px;
    border-radius: 100px;
    background: #F8F9FA;
    border: 1px solid #c5c5c5;
    font-size: 14px;
    padding: 21px;
    margin: 14px 0;
}
.search__input{
    background: transparent;
    padding: 16px;
    width: 100%;
}

.search__input::placeholder{
    color: #000;
    background: transparent;
    
    width: 100%;
}
.search__hints{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 650px;
    width: 100%;
}
.searh__hint-link{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c5c5c5;
    border-radius: 200px;
    padding: 12px 22px;
    margin: 3.5px;
    transition: var(--transition);
}
.searh__hint-link:hover{
    background: #eeeff0;
    transition: var(--transition);
}

.look-for__notifications{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #DCE5E2;
    font-family: var(--font-main);
    border-radius: 16px;
    padding: 0 17%;
    margin-bottom: 20px;
}
.look-for__notifications img{
    width: 20vw;

}
.notifications__top{
    margin-bottom: 14px;
}

.notifications__sign-bar {
    font-size: 14px;
    display: flex;
    justify-content: center;
    max-width: 400px;
    width: 100%;
    margin-bottom: 43px;
}
.notifications__sign-bar:hover{
    background: #f4f7f5;
    border-radius: 54px;
}
.sign-bar__form {
    max-width: 285px;
    width: 100%;
    padding: 16px;
    border: 1px solid #000;
    border-radius: 54px 0 0 54px;
    background: transparent;
}
.sign-bar__form::placeholder{
    color: #000;
    pad: 1.5vw;
}
.sign__button {
    width: 30%;
    background: #000;
    color: #fff;
    border-radius: 0 200px 200px 0;
}
/* ////////////////////////////////////////////// */


@media(max-width: 1100px) {

    .slide,
    .slide2,
    .slide3 {
        gap: 50px;
    }

    .slide__title {
        font-size: 44px;
    }


    .products__list {
        grid-template: repeat(2, 1fr)/ repeat(2, 1fr);
    }
    .about__body {
        flex-direction: column;
        align-items: center;
    }
    .about__body img{
        width: 70vw;
    }
}

@media(max-width: 900px) {

    .slide,
    .slide2,
    .slide3 {
        display: block;

    }

    .slide__title {
        font-size: 34px;
    }

    .slide__img {
        display: flex;
        width: 100%;
        justify-content: center;
    }


    .footer__info{
        grid-template-columns: 235px repeat(4, 1fr);
        gap: 15px;
    }
    .footer__logo-text{
        padding: 0;
    }
}

@media(max-width: 800px) {

    .header__inner {
        display: grid;
        grid-template-columns: 40% 20%;

        padding: 30px 10px;
        gap: 10px;
    }

    .nav__list {
        display: none;
    }

    .burger__btn {
        display: flex;
        justify-self: end;
    }
    .gallery__item-title {
        font-size: 22px;
    }

    .about{
        font-size: 3.5vw;
        text-align: center;
    }

    .footer__info{
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    .main-col{
        grid-column: 1 / -1;
    }
}

@media(max-width: 600px) {

    .header__inner {
        padding-right: 30px;
    }

    .title {
        font-size: 34px;
    }

    .slide__img img{
        width: 100%
    }
    .gallery{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: .1fr 1fr .1fr;
    }
    .gallery__item:nth-child(1){
        grid-row: 1 / 2;
        grid-column: 1 / 3;
    }
    
    .gallery__item:nth-child(2){
        grid-row: 3 / 4;
        grid-column: 1 / 3;
        justify-content: center;
        height: 100%;
    }
    
    .gallery__item:nth-child(2) img{
        max-height: 125px;
    }
    .gallery__item:nth-child(3){
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        height: 100%;
    }
    .gallery__item:nth-child(4){
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    align-items: start;
    height: 100%;
}
    
    .products__list {
        grid-template: repeat(4, 1fr) / 1fr;
    }

    .catalog__nav {
        display: grid;
        grid-template: none;
        gap: 28px;
        margin-bottom: 28px;
    }
}

@media(max-width: 450px) {
    .header__inner {
        width: 100%;
        grid-template-columns: 40% 40% 20%;
    }

    .nav__list {
        right: 89px;
        gap: 15px;
    }
    .about__body {
        margin-bottom: 0;
    }

    .sign-bar__form {
        max-width: 285px;
        width: 100%;
        padding: 16px;
        border: 1px solid #000;
        border-radius: 54px 0 0 54px;
        background: transparent;
    }

    .sign__button {
        width: 50%;
        background: #000;
        color: #fff;
        border-radius: 0 200px 200px 0;
    }
    .footer__info{
        display: flex;
        flex-wrap: wrap;
    }
    .footer__credits{
        flex-direction: column;
        gap: 15px;
    }
}
