:root {
    --main-color: #F5F5DC;
    --secondary-color: #000;
    --third-color: #326417;
    --main-font: "Open Sans", sans-serif;
    --secondary-font: "Montserrat", sans-serif;
    --main-font-size: 16px;
}

body {
    font-family: var(--main-font);
    color: #212121;
    background-color: var(--main-color);
    font-size: var(--main-font-size);
        line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
    margin-bottom: 0;
}
h1 {
    font-size: 2.5em;
    /* Пример размера для заголовка h1 */
}

h2 {
    font-size: 2em;
    /* Пример размера для заголовка h2 */
}

p {
    font-size: 1em;
    /* Размер обычного текста */
}

ul,
ol {
    margin: 0;
    padding-left: 0;
}

img {
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.logo {
    padding: 5px;
    width: 260px;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    background: #2f303a;
    background-color: #c4c4c4;
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(../img/hero-background.jpeg);
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10%;
    padding-bottom: 10%;
}

.hero__header {
    line-height: 1.62;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
    font-size: 28px;
}

.action {
        padding-top: 20px;
   padding-bottom: 5px;
background-color: #90EE90;
}

.hero__btn-list {
    list-style: none;
    padding: 0;
    justify-content: space-around;
}

.hero__btn {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    letter-spacing: 0.06em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    color: #ffffff;
    width: 280px;
    height: 50px;
    background: var(--third-color);
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__btn:hover,
.hero__btn:focus {
    background: #2a4a19;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}
.section-title {
    color: var(--third-color);
    font-size: 2em;
    margin-bottom: 0.5em;
}

.section-text {
    margin-bottom: 1.25em;
}
.section-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.25em;
    text-align: justify
}
.section-list li {
    margin-bottom: 0.5em;
    text-align: justify
}

.product-list {
    list-style: none;
    padding: 0;
    border-radius: 15px;
}
.product-info img {
    max-width: 100%;
    height: auto;
}
.category-list {
    padding-top: 20px;
}
.category {
    margin-bottom: 10px;
    }

.category-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    padding-left: 30px;
    font-weight: 700;
    border-radius: 15px;
    border: 3px solid #ddd;
    background: var(--third-color);
    color: #ffffff;
    transition: background 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.category-header:hover,
.category-header:focus {
    background: #2a4a19;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

.category-title {
    margin: 0;
    padding-left: 0;
}
.category-title h2::before {
    content: '';
}
.category-title::before {
    content: none;
}
.product-title:before {
    content: '';
}
.toggle-icon {
    font-size: 1.5em;
}

.product {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 15px;
}

.product-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 15px;
}

.product-title {
    margin: 0;
}
.product-img {
    width: 50%;
    margin-right: 10px;
}
.product-wrap {
    display: flex;
}
.product-info-title {
    font-weight: 700;
    margin-bottom: 20px;
}
.product-info {
    display: none;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-radius: 0 0 15px 15px;
}
.footer {
    margin-top: 20px;
    background-color: var(--third-color);

}
.footer-title {
    text-align: right;
    color: #ffffff;
    font-size: 16px;
}
.show .product-info {
    display: block;
}
@media screen and (min-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    :root {
        --main-font-size: 18px;
    }

    .hero__header {
        font-size: 34px;
    }
}

@media screen and (min-width: 800px) {
    .container {
        width: 720px;
    }

    :root {
        --main-font-size: 20px;
    }

    .hero__header {
        font-size: 40px;
    }
}

@media screen and (min-width: 1280px) {
    .hero__header {
        width: 696px;
        font-size: 44px;
        line-height: 1.36;
        letter-spacing: 0.06em;
    }

    .container {
        width: 1200px;
    }

    .hero__btn-list {
        display: flex;
    }

    :root {
        --main-font-size: 22px;
    }

    .hero__header {
        font-size: 48px;
    }
}