/* ========================================
   Design system
   ======================================== */

:root {
    --home-container-width: 1440px;
    --home-container-padding: 40px;

    --home-color-dark: #242420;
    --home-color-light: #ffffff;
    --home-color-green: #779b25;
}

/* ========================================
   Design system
   ======================================== */

:root {
    --home-color-dark: #242424;
    --home-color-light: #ffffff;
    --home-color-green: #80a31c;

    --home-font-heading: 'Roboto Slab', serif;
    --home-font-body: 'Open Sans', sans-serif;
}

/* ========================================
   Common button
   ======================================== */

.home-v2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 12px 28px;
    box-sizing: border-box;

    background: var(--home-color-green);
    color: #fff;

    font-family: var(--home-font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;

    border-radius: 100px;
    text-decoration: none;

    transition: background-color 0.2s ease;
}

.home-v2-button:hover {
    background: #6c8b16;
    color: #fff;
    text-decoration: none;
}

/* ========================================
   Model range
   ======================================== */

.home-v2-model-range {
    position: relative;
    padding: 60px 0 70px;
    background: #fff;
    color: var(--home-color-dark);
    text-align: center;
    font-family: var(--home-font-body);
}

.home-v2-model-range__inner {
    max-width: 1440px;
    box-sizing: border-box;
}

.home-v2-model-range__heading {
    margin: 0 0 30px;
    padding: 0;

    font-family: var(--home-font-heading);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;

    color: var(--home-color-dark);
}

.home-v2-model-range__slider {
    position: relative;
    padding: 0 70px;
    margin-bottom: 24px;
}

.home-v2-model-range__slide {
    outline: none;
}

.home-v2-model-range__image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 1000px;
    aspect-ratio: 1000 / 505;
    margin: 0 auto;
}

.home-v2-model-range__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-v2-model-range__caption {
    padding-top: 24px;
}

.home-v2-model-range__title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 5px;
}

.home-v2-model-range__description {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

/* ========================================
   Slider arrows
   ======================================== */

.home-v2-model-range .home-v2-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    padding: 0;

    background: transparent;
    border: 2px solid #242424;
    border-radius: 50%;

    color: #242424;
    cursor: pointer;
    z-index: 5;

    transition: background-color 0.2s, color 0.2s;
}

.home-v2-model-range .home-v2-arrow:hover {
    background: #242424;
    color: #fff;
}

.home-v2-arrow--prev {
    left: 0;
}

.home-v2-arrow--next {
    right: 0;
}

.home-v2-arrow svg {
    width: 22px;
    height: 22px;
}

.home-v2-model-range .slick-disabled {
    opacity: 0.3;
    cursor: default;
}

/* ========================================
   Tablet
   ======================================== */

@media (max-width: 1024px) {

    .home-v2-model-range__slider {
        padding: 0 55px;
    }

    .home-v2-model-range .home-v2-arrow {
        width: 44px;
        height: 44px;
    }

}

/* ========================================
   Mobile
   ======================================== */

@media (max-width: 767px) {

    .home-v2-model-range {
        padding: 35px 0 45px;
    }

    .home-v2-model-range__heading {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .home-v2-model-range__slider {
        padding: 0 34px;
        margin-bottom: 20px;
    }

    .home-v2-model-range__caption {
        padding-top: 20px;
    }

    .home-v2-model-range__title {
        font-size: 15px;
    }

    .home-v2-model-range__description {
        font-size: 17px;
    }

    .home-v2-model-range .home-v2-arrow {
        width: 30px;
        height: 30px;
        border-width: 1.5px;
    }

    .home-v2-arrow svg {
        width: 16px;
        height: 16px;
    }

    .home-v2-button {
        font-size: 14px;
        min-height: 44px;
    }

}
/* ========================================
   Torn section edges
   ======================================== */

.home-v2-edge-top,
.home-v2-edge-bottom {
    position: relative;
}

.home-v2-edge-top::before,
.home-v2-edge-bottom::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 40px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    pointer-events: none;
    z-index: 2;
}

.home-v2-edge-top::before {
    bottom: calc(100% - 1px);
    background-image: url('../img/edge-top.png');
}

.home-v2-edge-bottom::after {
    top: calc(100% - 1px);
    background-image: url('../img/edge-bottom.png');
}

@media (max-width: 767px) {
    .home-v2-edge-top::before,
    .home-v2-edge-bottom::after {
        height: 20px;
    }
}
/* ========================================
   Features section
   ======================================== */

.home-v2-features {
    position: relative;
    padding: 100px 0 100px;

    background: var(--home-color-dark);
    color: #ffffff;

    font-family: var(--home-font-body);
}

.home-v2-features__inner {
    max-width: 1440px;
    box-sizing: border-box;
}

/* Grid */

.home-v2-features__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

/* Common card */

.home-v2-feature {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-v2-feature__image {
    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
    border-radius: 16px;
}

.home-v2-feature__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-v2-feature__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;

    padding-top: 24px;
}

/* Typography */

.home-v2-feature__title {
    margin: 0 0 12px;
    padding: 0;

    font-family: var(--home-font-heading);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;

    color: #ffffff;
}

.home-v2-feature__description {
    margin: 0 0 30px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;

    color: #ffffff;
}

.home-v2-feature .home-v2-button {
    margin-top: auto;
    align-self: flex-start;
}

/* Featured product */

.home-v2-feature--featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 40px;

    margin-bottom: 40px;
}

.home-v2-feature--featured:last-child {
    margin-bottom: 0;
}

.home-v2-feature--featured .home-v2-feature__image {
    aspect-ratio: 1.414 / 1;
}

.home-v2-feature--featured .home-v2-feature__content {
    padding-top: 0;
}

/* ========================================
   Tablet
   ======================================== */

@media (max-width: 1024px) {

    .home-v2-features__grid,
    .home-v2-feature--featured {
        gap: 28px;
    }

    .home-v2-feature--featured {
        margin-bottom: 28px;
    }

    .home-v2-feature__title {
        font-size: 28px;
    }

}

/* ========================================
   Mobile
   ======================================== */

@media (max-width: 767px) {

    .home-v2-features {
        padding: 40px 0;
    }

    .home-v2-features__grid,
    .home-v2-feature--featured {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .home-v2-feature--featured {
        margin-bottom: 32px;
        gap: 0;
    }

    .home-v2-feature__image {
        border-radius: 12px;
    }

    .home-v2-feature__content,
    .home-v2-feature--featured .home-v2-feature__content {
        padding-top: 20px;
    }

    .home-v2-feature__title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .home-v2-feature__description {
        font-size: 15px;
        margin-bottom: 20px;
    }

}
/* ========================================
   Chef recipes
   ======================================== */

.home-v2-chefs {
    position: relative;

    padding: 60px 0 65px;

    background: #ffffff;
    color: var(--home-color-dark);

    font-family: var(--home-font-body);
}

.home-v2-chefs__inner {
    max-width: 1440px;
    box-sizing: border-box;
}

.home-v2-chefs__heading {
    margin: 0 0 36px;
    padding: 0;

    font-family: var(--home-font-heading);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;

    color: var(--home-color-dark);
}

/* Main grid */

.home-v2-chefs__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 289fr)
        minmax(0, 336fr)
        minmax(0, 336fr)
        minmax(0, 290fr);

    grid-template-rows: repeat(2, minmax(310px, auto));

    grid-template-areas:
        "photo1 text1  photo2 photo3"
        "photo1 photo4 text2  photo5";

    gap: 10px;
}

/* Grid positions */

.home-v2-chefs__photo-1 {
    grid-area: photo1;
}

.home-v2-chefs__photo-2 {
    grid-area: photo2;
}

.home-v2-chefs__photo-3 {
    grid-area: photo3;
}

.home-v2-chefs__photo-4 {
    grid-area: photo4;
}

.home-v2-chefs__photo-5 {
    grid-area: photo5;
}

.home-v2-chefs__text-1 {
    grid-area: text1;
}

.home-v2-chefs__text-2 {
    grid-area: text2;
}

/* Photos */

.home-v2-chefs__photo {
    position: relative;

    min-width: 0;
    min-height: 0;

    overflow: hidden;
    border-radius: 10px;
}

.home-v2-chefs__photo picture {
    display: block;
    width: 100%;
    height: 100%;
}

.home-v2-chefs__photo img {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* Text cards */

.home-v2-chefs__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    box-sizing: border-box;

    padding: 32px 28px;

    background: #ded8cc;
    border-radius: 10px;
}

.home-v2-chefs__title {
    margin: 0 0 14px;
    padding: 0;

    font-family: var(--home-font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;

    color: var(--home-color-dark);
}

.home-v2-chefs__description {
    margin: 0 0 24px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;

    color: var(--home-color-dark);
}

.home-v2-chefs__card .home-v2-button {
    margin-top: auto;

    min-height: 40px;
    padding: 10px 28px;

    font-size: 14px;
}

/* ========================================
   Tablet
   ======================================== */

@media (min-width: 768px) and (max-width: 1200px) {

    .home-v2-chefs__grid {
        grid-template-rows: repeat(2, minmax(260px, auto));
    }

    .home-v2-chefs__card {
        padding: 24px 18px;
    }

    .home-v2-chefs__title {
        font-size: 21px;
    }

    .home-v2-chefs__description {
        font-size: 14px;
    }

}

/* ========================================
   Mobile
   ======================================== */

@media (max-width: 767px) {

    .home-v2-chefs {
        padding: 40px 0 50px;
    }

    .home-v2-chefs__heading {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .home-v2-chefs__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;

        grid-template-areas:
            "photo3"
            "text1"
            "photo5"
            "text2";

        gap: 10px;
    }

    .home-v2-chefs__desktop-only {
        display: none;
    }

    .home-v2-chefs__photo {
        aspect-ratio: 1 / 1;
    }

    .home-v2-chefs__card {
        padding: 26px 24px;
    }

    .home-v2-chefs__title {
        font-size: 24px;
    }

    .home-v2-chefs__description {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .home-v2-chefs__text-1 {
        margin-bottom: 14px;
    }

}/* ========================================
   Service and guarantee
   ======================================== */

.home-v2-guarantee {
    padding: 100px 0 100px;
}

.home-v2-guarantee .home-v2-feature--featured {
    margin-bottom: 0;
}

@media (max-width: 767px) {

    .home-v2-guarantee {
        padding: 40px 0;
    }

}
/* ========================================
   Tandyr in action
   ======================================== */

.home-v2-video {
    position: relative;

    padding: 0 0 60px;

    background: var(--home-color-dark);
    color: #ffffff;

    font-family: var(--home-font-body);
}

.home-v2-video__inner {
    max-width: 1440px;
    box-sizing: border-box;
}

.home-v2-video__heading {
    margin: 0 0 40px;
    padding: 0;

    font-family: var(--home-font-heading);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;

    color: #ffffff;
    text-align: center;
}

/* Video frame */

.home-v2-video__frame {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
}

.home-v2-video__player,
.home-v2-video__frame > img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* Description */

.home-v2-video__description {
    max-width: 840px;

    margin: 40px auto 0;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;

    color: #ffffff;
}

/* ========================================
   Mobile
   ======================================== */

@media (max-width: 767px) {

    .home-v2-video {
        padding: 0 0 40px;
    }

    .home-v2-video__heading {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .home-v2-video__description {
        margin-top: 24px;
        font-size: 15px;
    }

}
.home-v2-video__frame::before,
.home-v2-video__frame::after {
    content: "";

    position: absolute;
    left: 0;

    width: 100%;
    height: 30px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    pointer-events: none;
    z-index: 2;
}

.home-v2-video__frame::before {
    top: -15px;
    background-image: url('../img/video-edge-top.png');
}

.home-v2-video__frame::after {
    bottom: 0;
    background-image: url('../img/video-edge-bottom.png');
}

@media (max-width: 767px) {

    .home-v2-video__frame::before,
    .home-v2-video__frame::after {
        height: 12px;
    }

}
/* ========================================
   Accessories and components
   ======================================== */

.home-v2-accessories__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* Item */

.home-v2-accessories__item {
    display: grid;

    grid-template-columns:
        minmax(0, 289fr)
        minmax(0, 336fr);

    gap: 10px;
    min-height: 310px;
}

/* Reverse right column */

.home-v2-accessories__item:nth-child(even) {
    grid-template-columns:
        minmax(0, 336fr)
        minmax(0, 290fr);
}

.home-v2-accessories__item:nth-child(even)
.home-v2-accessories__photo {
    order: 2;
}

/* ========================================
   Tablet
   ======================================== */

@media (min-width: 768px) and (max-width: 1200px) {

    .home-v2-accessories__item {
        min-height: 260px;
    }

}

/* ========================================
   Mobile
   ======================================== */

@media (max-width: 767px) {

    .home-v2-accessories__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .home-v2-accessories__item,
    .home-v2-accessories__item:nth-child(even) {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        gap: 10px;
    }

    .home-v2-accessories__item:nth-child(even)
    .home-v2-accessories__photo {
        order: 0;
    }

    .home-v2-accessories__photo {
        aspect-ratio: 1 / 1;
    }

}
/* ========================================
   Family and friends
   ======================================== */

.home-v2-family {
    padding: 110px 0 120px;
}

.home-v2-family .home-v2-feature--featured {
    margin-bottom: 0;
}

.home-v2-family .home-v2-feature__title {
    margin-bottom: 24px;
}

.home-v2-family .home-v2-feature__description {
    margin-bottom: 0;
}

@media (max-width: 1024px) {

    .home-v2-family {
        padding: 80px 0;
    }

}

@media (max-width: 767px) {

    .home-v2-family {
        padding: 45px 0;
    }

    .home-v2-family .home-v2-feature__title {
        margin-bottom: 16px;
    }

}
/* ========================================
   Recipes
   ======================================== */

.home-v2-recipes {
    position: relative;

    padding: 70px 0 60px;

    background: #eeeeee;
    color: var(--home-color-dark);

    font-family: var(--home-font-body);
}

.home-v2-recipes__inner {
    max-width: 1440px;
    box-sizing: border-box;
}

.home-v2-recipes__grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 24px;
}

.home-v2-recipes__item {
    min-width: 0;
    width: 100%;
}

.home-v2-recipes__item .card {
    width: 100%;
    max-width: none;

    margin: 0;
    box-sizing: border-box;
}

.home-v2-recipes__button {
    display: flex;
    justify-content: center;

    margin-top: 30px;
}

/* Tablet */

@media (max-width: 1024px) {

    .home-v2-recipes__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}

/* Mobile */

@media (max-width: 767px) {

    .home-v2-recipes {
        padding: 45px 0;
    }

.home-v2-recipes__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

    .home-v2-recipes__button {
        margin-top: 24px;
    }

}
.home-v2-recipes.home-v2-edge-top::before {
    background-image: url('../img/edge-gray-top.png');
}

.home-v2-recipes.home-v2-edge-bottom::after {
    background-image: url('../img/edge-gray-bottom.png');
}