/*!
Theme Name: Valley wood
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: valley-wood
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Valley wood is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Regular.eot');
    src: local('Gilroy Regular'), local('Gilroy-Regular'),
    url('./fonts/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-Regular.woff2') format('woff2'),
    url('./fonts/Gilroy-Regular.woff') format('woff'),
    url('./fonts/Gilroy-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-ExtraboldItalic.eot');
    src: local('Gilroy Extrabold Italic'), local('Gilroy-ExtraboldItalic'),
    url('./fonts/Gilroy-ExtraboldItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-ExtraboldItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-ExtraboldItalic.woff') format('woff'),
    url('./fonts/Gilroy-ExtraboldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Bold.eot');
    src: local('Gilroy Bold'), local('Gilroy-Bold'),
    url('./fonts/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-Bold.woff2') format('woff2'),
    url('./fonts/Gilroy-Bold.woff') format('woff'),
    url('./fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Black.eot');
    src: local('Gilroy Black'), local('Gilroy-Black'),
    url('./fonts/Gilroy-Black.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-Black.woff2') format('woff2'),
    url('./fonts/Gilroy-Black.woff') format('woff'),
    url('./fonts/Gilroy-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Light.eot');
    src: local('Gilroy Light'), local('Gilroy-Light'),
    url('./fonts/Gilroy-Light.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-Light.woff2') format('woff2'),
    url('./fonts/Gilroy-Light.woff') format('woff'),
    url('./fonts/Gilroy-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Semibold.eot');
    src: local('Gilroy Semibold'), local('Gilroy-Semibold'),
    url('./fonts/Gilroy-Semibold.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-Semibold.woff2') format('woff2'),
    url('./fonts/Gilroy-Semibold.woff') format('woff'),
    url('./fonts/Gilroy-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Medium.eot');
    src: local('Gilroy Medium'), local('Gilroy-Medium'),
    url('./fonts/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-Medium.woff2') format('woff2'),
    url('./fonts/Gilroy-Medium.woff') format('woff'),
    url('./fonts/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-MediumItalic.eot');
    src: local('Gilroy Medium Italic'), local('Gilroy-MediumItalic'),
    url('./fonts/Gilroy-MediumItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-MediumItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-MediumItalic.woff') format('woff'),
    url('./fonts/Gilroy-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-BlackItalic.eot');
    src: local('Gilroy Black Italic'), local('Gilroy-BlackItalic'),
    url('./fonts/Gilroy-BlackItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-BlackItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-BlackItalic.woff') format('woff'),
    url('./fonts/Gilroy-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-UltraLight.eot');
    src: local('Gilroy UltraLight'), local('Gilroy-UltraLight'),
    url('./fonts/Gilroy-UltraLight.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-UltraLight.woff2') format('woff2'),
    url('./fonts/Gilroy-UltraLight.woff') format('woff'),
    url('./fonts/Gilroy-UltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-RegularItalic.eot');
    src: local('Gilroy Regular Italic'), local('Gilroy-RegularItalic'),
    url('./fonts/Gilroy-RegularItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-RegularItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-RegularItalic.woff') format('woff'),
    url('./fonts/Gilroy-RegularItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-SemiboldItalic.eot');
    src: local('Gilroy Semibold Italic'), local('Gilroy-SemiboldItalic'),
    url('./fonts/Gilroy-SemiboldItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-SemiboldItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-SemiboldItalic.woff') format('woff'),
    url('./fonts/Gilroy-SemiboldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-HeavyItalic.eot');
    src: local('Gilroy Heavy Italic'), local('Gilroy-HeavyItalic'),
    url('./fonts/Gilroy-HeavyItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-HeavyItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-HeavyItalic.woff') format('woff'),
    url('./fonts/Gilroy-HeavyItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Extrabold.eot');
    src: local('Gilroy Extrabold'), local('Gilroy-Extrabold'),
    url('./fonts/Gilroy-Extrabold.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-Extrabold.woff2') format('woff2'),
    url('./fonts/Gilroy-Extrabold.woff') format('woff'),
    url('./fonts/Gilroy-Extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-BoldItalic.eot');
    src: local('Gilroy Bold Italic'), local('Gilroy-BoldItalic'),
    url('./fonts/Gilroy-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-BoldItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-BoldItalic.woff') format('woff'),
    url('./fonts/Gilroy-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-UltraLightItalic.eot');
    src: local('Gilroy UltraLight Italic'), local('Gilroy-UltraLightItalic'),
    url('./fonts/Gilroy-UltraLightItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-UltraLightItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-UltraLightItalic.woff') format('woff'),
    url('./fonts/Gilroy-UltraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-LightItalic.eot');
    src: local('Gilroy Light Italic'), local('Gilroy-LightItalic'),
    url('./fonts/Gilroy-LightItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-LightItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-LightItalic.woff') format('woff'),
    url('./fonts/Gilroy-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Heavy.eot');
    src: local('Gilroy Heavy'), local('Gilroy-Heavy'),
    url('./fonts/Gilroy-Heavy.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-Heavy.woff2') format('woff2'),
    url('./fonts/Gilroy-Heavy.woff') format('woff'),
    url('./fonts/Gilroy-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Thin.eot');
    src: local('Gilroy Thin'), local('Gilroy-Thin'),
    url('./fonts/Gilroy-Thin.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-Thin.woff2') format('woff2'),
    url('./fonts/Gilroy-Thin.woff') format('woff'),
    url('./fonts/Gilroy-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-ThinItalic.eot');
    src: local('Gilroy Thin Italic'), local('Gilroy-ThinItalic'),
    url('./fonts/Gilroy-ThinItalic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/Gilroy-ThinItalic.woff2') format('woff2'),
    url('./fonts/Gilroy-ThinItalic.woff') format('woff'),
    url('./fonts/Gilroy-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

body {
    font-family: 'Gilroy';
}
section {
    margin-bottom: 80px;
}
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}
h2 {
    font-family: 'Gilroy';
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
}
.head-block {
    width: 100%;
    height: auto;
    max-height: 820px;
    object-fit: cover;
    position: relative;
}
.head-block img {
    filter: brightness(0.5);
    width: 100%;
    position: relative;
    z-index: -1;
}
.head-block .container {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 10%;
    width: fit-content;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.head-block__title {
    font-family: 'Gilroy';
    color: #fff;
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
}
.catalog-block__items {
    grid-gap: 16px;
    align-items: center;
    display: grid;
    grid-auto-rows: minmax(0, 320px);
    grid-template-columns: 1.5fr 1fr 1fr;
    height: auto;
    margin-top: 50px;
    max-width: 1160px;
    width: 100%;
}
.item {
    position: relative;
    z-index: 0;
    color: #fff;
}
.item_1 {
    height: 100%;
    min-height: 605px;
    width: 100%;
    max-width: 485px;
    border-radius: 20px;
    overflow: hidden;
    background-image: url("./img/cat-1.webp");
    background-size: cover;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    pointer-events: auto;
}
.item_2 {
    height: 100%;
    min-height: 295px;
    width: 100%;
    max-width: 325px;
    border-radius: 20px;
    overflow: hidden;
    background-image: url("./img/item1.png");
}
.item_3 {
    height: 100%;
    min-height: 295px;
    width: 100%;
    max-width: 325px;
    border-radius: 20px;
    overflow: hidden;
    background-image: url("./img/item1.png");
}
.item_4 {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    height: 100%;
    min-height: 295px;
    width: 100%;
    max-width: 662px;
    border-radius: 20px;
    overflow: hidden;
    background-image: url("./img/item4.png");
}
.item .img {
    height: 100%;
    width: 100%;
}
.item-brand {
    font-family: 'Gilroy';
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    margin: 30px 0 0;
    padding-left: 30px;
    position: relative;
    z-index: 4;
}
.item-category__name {
    font-size: 35px;
    font-weight: 700;
    margin: 5px 0 0;
    max-width: 265px;
    padding-left: 30px;
    position: relative;
    z-index: 4;
}
.about-top-block {
    display: flex;
    gap: 50px;
    max-width: 1160px;
    width: 100%;
    justify-content: space-between;
}
.about-top__left {
    display: flex;
    flex-direction: column;
    height: 492px;
    justify-content: flex-start;
    max-width: 524px;
}
.about-top__title {
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 50px;
    color: #59524e;
}
.about-top__content {
    color: #59524e;
    font-family: Gilroy, Arial, sans-serif;
    letter-spacing: .4px;
}
.about-top__right img{
    border-radius: 20px;
    height: 496px;
    max-width: 615px;
    object-fit: cover;
    width: 100%;
}
.bestsellers-block, .about-bottom-block {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 70px;
}
.bestsellers-block .wrapper {
    margin-top: 50px;
    max-width: 1160px;
    width: 100%;
}
.section-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    max-width: 1160px;
    width: 100%;
    font-size: 50px;
    font-weight: 400;
    margin: 0;
}
.card {
    display: flex;
    flex-direction: column;
    max-height: 661px;
    max-width: 500px;
    color: #59524e;
}
.card img {
    border-radius: 10px;
    height: 330px;
    object-fit: cover;
    width: 100%;
}
.card__title {
    margin-top: 15px;
    font-size: 20px;
    height: 40px;
}
.card__price {
    color: #674d41;
    font-size: 23px;
    font-weight: 500;
    margin: 0;
    padding: 0 0 12px;
}
.card a {
    background-color: #84927a;
    border: none;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    height: 60px;
    line-height: 1.2;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.our-items {
    grid-gap: 16px;
    align-items: center;
    display: grid;
    grid-auto-rows: minmax(0, 320px);
    grid-template-columns: 1.5fr 1fr 1fr;
    height: 600px;
    margin-top: 50px;
    max-width: 1160px;
    width: 100%;
}
.item {
    align-items: center;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid transparent;
    border-radius: 20px;
    height: 100%;
    justify-content: center;
    min-height: 240px;
    width: 100%;
    position: relative;
}
.item::after {
    content: "";
    display: block;
    position: absolute;
    background: #00000063;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.item_1 {
    background-image: url(./img/cat-1.webp);
    background-size: cover;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    pointer-events: auto;
}
.item_2 {
    background-image: url(./img/cat-2.webp);
    background-size: cover;
}
.item_3 {
    background-image: url(./img/cat-3.webp);
    background-size: cover;
}
.item_4 {
    background-image: url(./img/cat-6.webp);
    background-size: cover;
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}
.testimonials-block {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 70px;
    width: 100%;
}
.tess-wrapper {
    align-items: center;
    display: flex;
    gap: 25px;
    max-width: 1160px;
    width: 100%;
}
.testimonial {
    background-position: 50%;
    border-color: #b9b9b9;
    border-radius: 20px;
    border-style: solid;
    border-width: 1px;
    display: flex;
    flex-direction: column;
    height: 390px;
    max-width: 368px;
    width: 100%;
    padding: 30px;
}
.tess__userdata {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.tess__userdata img {
    border-radius: 50%;
    height: 80px;
    width: 80px;
}
.tess__name {
    color: #7b8d6a;
    font-size: 18px;
    font-weight: 500;
    margin: 30px 0 30px;
}
.tess__stars img {
    width: 17px;
}
.tess__content {
    font-size: 16px;
    font-weight: 400;
    margin: 16px 0;
    border-color: transparent;
    border-style: solid;
    line-height: 1.5;
}

@media(max-width: 980px) {
    .head-block .container {
        left: 5%;
    }
    .catalog-block__items {
        grid-template-columns: 1fr 1fr 1fr;
        height: auto;
    }
    .our-items {
        height: auto;
    }
    .item_1 {
        grid-row: 1/1;
    }
    .item_4 {
        grid-column: 1 / 4;
        max-width: 100%;
    }
}
@media(max-width: 700px) {
    .head-block__title, h2,
    .about-top__title,
    .section-title{
        font-size: 36px;
    }
	.catalog-block__items {
		margin-top: 20px;
	}
    .item {
        grid-column: 1/4;
        max-width: 100%;
    }
    .about-top__left {
        height: auto;
    }
    .about-top-block {
        flex-direction: column;
    }
    section {
        margin-bottom: 40px;
    }
}
@media(max-width: 500px) {
	.bestsellers-block, .about-bottom-block {
		margin-top: 40px;
	}
	.head-block__title {
		font-size: 24px;
	}
}