/* главная с 47 по 1248*/

/* каталог с 1250 по 1416 */

/* карточка товара с 1418 по 1738 */

/* категории с 1740 по 2018*/

/* корзина с 2020 */

:root {
    --black: #000000;
    --bg: #FFFFFC;
    --primary-accent-green: #12664F;
    --secondary-gray: #9CA5A0;
    --gray-400: #999999;
    --gray-500: #808080;
    --primary-gray: #132111;
    --secondary-accent-green: #62B69F;
    --white: #FFFFFF;
    --additional-green: #E0ECE9;
    --gray-900: #1A1A1A;
    --outline-gray: #E6E6E6;
    --additional-green: #E0ECE9;
    --primary-text: #2B2B2B;
}

@font-face {
    font-family: "fira";
    src: url("font/FiraSans-Regular.ttf") format('truetype');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "fira";
    font-size: 16px;
    font-weight: 400;
    background-color: var(--bg);
}

/* главная */

.container {
    width: 100%;
    max-width: 1138px;
    padding: 10px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

a {
    text-decoration: none;
}

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.subheader {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.subheader-left {
    display: flex;
    align-items: stretch;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--secondary-gray);
}

.subheader-left img {
    width: 15px;
    height: 18px;
}

.subheader-right {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-align: start;
}

.average {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.links {
    display: flex;
    gap: 40px;
}

.links a {
    font-size: 0.875rem;
    color: var(--secondary-gray);
    display: flex;
    gap: 5px;
    align-items: center;
}

.lupa-mobile {
    display: none;
}

.call {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 5px;
}

.call-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2px;
}

.call-text p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.call-text a {
    font-size: 1.25rem;
    color: var(--primary-gray);
    font-weight: 600;
}

.menu-mobile {
    display: none;
}

.lower {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.lower-button {
    width: 290px;
    min-width: 220px;
    height: 60px;
    display: flex;
    align-items: center;
}

.butt-catalog {
    width: 290px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-radius: 5px;
    border: none;
    background-color: var(--primary-accent-green);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
}

.search-input {
    width: 400px;
    min-width: 360px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lupa {
    position: absolute;
    left: 20px;
}

.search-input input {
    width: 310px;
    height: 100%;
    padding-left: 50px;
    border-top: 1px solid var(--outline-gray);
    border-left: 1px solid var(--outline-gray);
    border-bottom: 1px solid var(--outline-gray);
    border-right: 0px;
    outline: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    
}

.search-input button {
    width: 100px;
    height: 100%;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: "fira";
    background-color: var(--additional-green);
    font-size: 0.875rem;
    color: var(--primary-gray);
}

.user-actions {
    width: 20%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding-right: 10px;
}

.user-actions img {
    width: 30px;
    height: 30px;
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-accent-green);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.banner-catalog {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 15px;
}

.catalog {
    background-color: var(--white);
    border-radius: 5px;
    border: 1px solid var(--outline-gray);
    width: 290px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-item {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 50px;
    color: var(--primary-gray);
    font-size: 0.875rem;
}

.sub-catalog {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sub-catalog-item {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    color: var(--primary-gray);
    font-size: 0.875rem;
    border-left: 1px solid var(--outline-gray);
}

.catalog-item:hover {
    color: var(--white);
    background-color: var(--secondary-accent-green);
}

.catalog-more {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 12px;
    padding-left: 20px;
    color: var(--primary-gray);
    font-size: 0.875rem;
    border-top: 1px solid var(--outline-gray);
}

.banner {
    width: 810px;
    min-width: 340px;
    height: 450px;
    min-height: 200px;
    position: relative;
}

.banner-img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.banner-text {
    width: 525px;
    min-width: 240px;
    position: absolute;
    top: 50px;
    left: 20px;
}

.banner-text img {
    width: 100%;
    height: 100%;
}

.banner-button {
    position: absolute;
    top: 250px;
    left: 30px;
}

.banner-button-item {
    width: 200px;
    min-width: 120px;
    height: 50px;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    border: none;
    background-color: var(--primary-accent-green);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.banner-pagination {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 0;
    display: flex;
    gap: 10px;
}

.banner-pagination-item {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #333333;
}

.banner-pagination-item.white {
    background-color: #E0E0E0;
}

.wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-title {
    display: flex;
    font-size: 1.5rem;
    color: var(--gray-900);
    font-weight: 600;
}

.products-list {
    width: 100%;
    display: flex;
    overflow: hidden;
    gap: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-list::-webkit-scrollbar {
    display: none;
}

.product-item {
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    border-radius: 10px;
    border: 1px solid var(--outline-gray);
    padding: 20px 10px;
}

.product-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img img {
    width: 100%;
}

.product-name {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: start;
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 600;
}

.product-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--black);
    gap: 10px;
}

.product-more-cart {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-more {
    width: 75%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    border-radius: 5px;
    border: none;
    background-color: var(--additional-green);
}

.product-text-more {
    font-size: 1rem;
    color: #333333;
}

.arrow-right {
    font-size: 1.25rem;
    color: var(--primary-accent-green);
}

.more-arrow-right {
    font-size: 1.25rem;
    color: var(--primary-accent-green);
}

.product-cart {
    width: 22%;
    height: 50px;
    border-radius: 5px;
    border: none;
    background-color: var(--primary-accent-green);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-more-mobile  {
    display: none;
}

.product-price, .product-size {
    width: 50%;
    text-align: center;
}

.product-button {
    width: 100%;
    display: flex;
    justify-content: center;
}

.product-button-item {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 1px solid var(--primary-accent-green);
    color: var(--primary-gray);
    background-color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.more-products {
    width: 250px;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--primary-accent-green);
    border-radius: 10px;
    padding: 20px;
    flex-shrink: 0;
}

.more-products.mobile {
    display: none;
}

.more-text {
    font-size: 1.25rem;
    color: var(--additional-green);
    text-align: start;
    font-weight: 600;
}

.button-more {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 5px;
    border-radius: 5px;
    padding: 10px;
    border: none;
    background-color: var(--additional-green);
}

.about {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-left {
    width: 50%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.about-left-text {
    width: 96%;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--black);
    text-align: start;
}

.about-left-button {
    width: 96%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.reviews {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.reviews-item {
    width: 50%;
    height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    background-color: var(--white);
    gap: 10px;
    padding: 10px;
    box-shadow: 0px 4px 20px 0px #0000001A;
}

.reviews-item p {
    font-size: 1.25rem;
    color: var(--black);
    font-weight: 600;
}

.reviews-stars {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.grade {
    width: 25px;
    height: 20px;
    background-color: #32BA43;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 600;
}

.review {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.review p {
    font-size: 0.875rem;
    color: #333333;
    font-weight: 400;
}

.about-right {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-right-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-right-img img {
    width: 100%;
}

.about-us-advantages {
    background-color: var(--white);
    box-shadow: 0px -0.5px 0px 0px #CCCCCC inset;
    margin-top: 50px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    padding: 10px;
}

.about-us-advantages-item {
    flex: 1;
    display: flex;
    gap: 16px;
    min-width: 200px;
    justify-content: center;
}

.about-us-advantages-item img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.about-us-advantages-item-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-us-advantages-item h1 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.about-us-advantages-item h3 {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 400;
    text-wrap: balance;
}

.profile-banner {
    margin-top: 50px;
    width: 100%;
    height: 240px;
    background-color: var(--secondary-accent-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 40px;
    padding-bottom: 40px;
    border-radius: 15px;
    position: relative;
}

.profile-right {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 40px;
}

.profile-title {
    font-size: 1.25rem;
    color: var(--primary-accent-green);
    font-weight: 600;
}

.profile-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: 20px;
    row-gap: 20px;
    column-gap: 50px;
    list-style: decimal;
    text-align: left;
}

.profile-list li {
    color: var(--white);
    font-size: 0.875rem;
    list-style-position: outside;
    vertical-align: text-top;
}

li::marker {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-accent-green);
    content: counter(list-item) " ";
    text-align: start !important;
}

.profile-left {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

footer {
    width: 100%;
    background: var(--additional-green);
    margin-top: 80px;
}

.footer-content {
    width: 100%;
    max-width: 1128px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding: 40px 20px 50px 20px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.footer-top-links, .footer-top-links-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-visible {
    display: none;
}

.footer-top-links h2, .footer-top-links-mobile h2 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-gray) !important;
}

.footer-top-links-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.footer-links-row a {
    font-size: 0.875rem;
    color: var(--primary-gray) !important;
    text-decoration: none;
    font-weight: 400;
}

.footer-top-contacts {
    display: flex;
    flex-direction: column;
}

.footer-top-contacts p {
    color: var(--primary-gray);
    opacity: 0.6;
    font-size: 1rem;
    line-height: 150%;
    font-weight: 400;
}

.footer-top-contacts a {
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 500;
}

.footer-top-contacts a:last-child {
    margin-top: 13px;
    font-size: 0.813rem;
    color: var(--primary-gray);
    font-weight: 400;
}

.footer-bottom {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--secondary-gray);
}

.footer-bottom a {
    font-size: 0.875rem;
    color: var(--secondary-gray);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    column-gap: 64px;
    row-gap: 8px;
}

.footer-top-links-mobile {
    display: none
}

@media (max-width: 1115px) {
    body {
        font-size: 14px;
    }
    .products-list {
        flex-direction: row-reverse;
        overflow-x: auto;
        gap: 20px;
        justify-content: space-between;
    }

    .not-reverse {
        flex-direction: row;
    }
    
    .about-us-advantages-item h1 {
        text-wrap: wrap;
        font-size: 0.875rem;
    }

    .about-us-advantages-item h3 {
        font-size: 0.75rem;
    }
    
    .profile-list li {
        text-wrap: wrap;
        overflow-wrap: break-word;
    }

    .profile-list {
        width: 80%;
    }

    .more-products {
        width: 230px;
    }
}

@media (max-width: 1000px) {
    .butt-catalog {
        width: 220px;
    }

    .catalog {
        width: 220px;
    }
    .catalog-more {
    padding-left: 0px;
    justify-content: center;
    }
    
    .footer-top-links-list {
        flex-direction: column-reverse;
    }

    .reviews-item p {
        font-size: 1rem;
    }

    .review p {
        font-size: 0.75rem;
    }

    .grade {
        font-size: 0.75rem;
    }

    .product-item {
        width: 230px;
        flex-shrink: 0;
    }
}

@media (max-width: 950px) {
    .lupa-mobile, .menu-mobile {
        display: block;
    }

    .links, .subheader, .lower, .catalog {
        display: none;
    }

    .banner-catalog {
        margin-top: 20px;
        justify-content: center;
        align-items: center;
    }

    .profile-list {
        width: 70%;
    }

    .profile-banner {
        height: 300px;
    }

    .profile-left {
        top: 60%;
    }

    .profile-list {
        column-gap: 30px;
        width: 60%;
    }

    .footer-top-links {
        display: none;
    }

    .footer-top-links-mobile {
        display: flex;
    }

    .about {
        width: 70%;
        flex-direction: column-reverse;
        margin: 0 auto;
    }

    .about-left, .about-left-button, .about-right {
        width: 100%;
    }

    .about-left-text {
        width: 100%;
        margin-top: 20px;
    }

    .about-right-img {
        width: 90%;
    }

    .review p {
        text-align: center
    }
}

@media (max-width: 700px) {
    .container {
        padding: 30px;
    }
    .banner {
        height: 350px;
    }

    .banner-pagination {
        left: unset;
        right: 30px;
    }

    .banner-text img {
        width: 90%;
    }

    .not-reverse {
        flex-direction: row-reverse;
    }

    .product-item {
        width: 100%;
    }

    .products-list {
        overflow: unset;
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: space-between;
        gap: 10px;
    }

    .more-products {
        display: none;
    }

    .more-products.mobile {
        display: flex;
    }

    .more-products.mobile {
        width: 100%;
        height: 150px;
        justify-content: space-around;
    }

    .about-us-advantages {
        flex-direction: column;
    }

    .review p {
        font-size: 0.625rem;
    }

    .profile-banner {
        width: 100%;
        height: 510px;
        flex-direction: column;
        padding: 50px;
    }

    .profile-list {
        width: 80%;
    }

    .profile-left {
        top: 76%;
    }

    .profile-right {
        width: 100%;
    }

    .banner-text {
        width: 90%;
    }
}

@media (max-width: 570px) {
    .container {
        padding: 10px;
    }

    .logo {
        width: 150px;
    }

    .logo img {
        width: 100%;
    }

    .call img {
        width: 15px;
    }
    
    .call-text p {
        font-size: 0.688rem;
    }

    .call-text a {
        font-size: 0.75rem;
    }

    .banner-button-item {
        width: 150px;
        font-size: 0.75rem;
    }

    .product-name, .product-info {
        font-size: 0.875rem;
    }

    .product-more, .product-button {
        display: none;
    }

    .button-more.mobile {
        width: 50%;
    }

    .product-more-mobile {
        width: 65%;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 10px;
        border-radius: 5px;
        border: none;
        background-color: var(--primary-accent-green);
    }

    .arrow-right-mobile {
        font-size: 1.25rem;
        color: var(--white);
    }

    .product-cart {
        width: 30%;
        height: 40px;
    }

    .about-left-text {
        width: 96%;
        font-size: 0.876rem;
    }

    .profile-banner {
        padding: 20px;
    }

    .profile-right {
        gap: 20px;
    }

    .profile-list {
        grid-template-columns: 1fr;
    }

    .profile-left {
        top: 81%;
        width: 300px;
        flex-shrink: 0;
    }

    .profile-left img {
        width: 100%;
    }

    .review {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 450px) {
    .footer-top-logo {
        width: 150px;
    }

    .footer-top-logo img {
        width: 100%;
    }

    .logo {
        width: 100px;
    }
}

/* главная */

/* каталог */

.page-path {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-path-gray {
    color: var(--secondary-gray);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
}

.page-path p {
    width: 150px;
    color: var(--primary-gray);
    font-size: 0.75rem;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.catalog-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.catalog-grid-item {
    width: 100%;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    background-color: var(--white);
    border-radius: 5px;
    border: 1px solid var(--outline-gray);
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.catalog-grid-item:last-child:nth-child(3n+1) {
    grid-column: 1 / span 3;
}

.catalog-grid-item:last-child:nth-child(3n+2) {
    grid-column: 2 / span 2;
}

.catalog-grid-img {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.catalog-grid-img img {
    max-height: 100%;
}

.catalog-grid-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 100%;
    gap: 5px;
}

.catalog-grid-name {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--black);
}

.catalog-grid-colvo {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.catalog-grid-button {
    display: flex;
    width: 50px;
    height: 50px;
    background-color: var(--primary-accent-green);
    border-radius: 10px;
    padding: 15px;
    position: absolute;
    bottom: 25px;
    right: 20px;
}

@media (max-width: 1115px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .catalog-grid-item:last-child:nth-child(even) {
        grid-column: auto;
    }
}

@media (max-width: 950px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .catalog-grid-item:last-child:nth-child(odd) {
        grid-column: 1 / span 2;
    }
    
    .catalog-grid-item:last-child:nth-child(even) {
        grid-column: auto;
    }

    .catalog-grid-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }
}

@media (max-width: 700px) {
    .catalog-grid-name {
        font-size: 1rem;
    }

    .catalog-grid-button {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .catalog-grid-img {
        width: 100%;
        height: 130px;
    }
}

@media (max-width: 450px) {
    .catalog-grid-info {
        gap: 30px;
    }

    .catalog-grid-button {
        bottom: 10px;
        right: 10px;
    }

    .catalog-grid-item {
        padding: 10px;
    }
}

/* каталог */

/* карточка товара */

.product {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.product-card-item {
    width: 100%;
    display: flex;
    align-items: start;
    gap: 30px;
}

.product-card-left {
    width: 100%;
    display: flex;
    align-items: start;
    gap: 15px;
}

.product-card-mini {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 10px;
    align-items: center;
}

.product-card-arrow{
    width: 25px;
    height: 25px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.product-card-mini-item {
    width: 80px;
    height: 80px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.product-card-mini-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.product-card-photo {
    width: 450px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    position: relative;
}

.product-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.product-card-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-card-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card-text p, .product-card-text span {
    font-size: 0.875rem;
    display: flex;
    gap: 10px;
}

.product-card-text span {
    font-weight: 600;
}

.product-card-text.distance p {
    width: 45%;
    justify-content: space-between;
}

.product-card-stock {
    width: 100px;
    height: 25px;
    background-color: var(--additional-green);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card-stock p {
    font-size: 0.625rem;
    color: var(--primary-accent-green);
}

.product-card-buttons {
    width: 80%;
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-button-cart {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    color: var(--white);
    border: none;
    background-color: var(--primary-accent-green);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.product-card-info {
    width: 100%;
    display: flex;
    gap: 20px;
}

.product-card-info-item {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 150%;
}

@media (max-width: 1115px) {
    .product-card-text.distance p {
        width: 60%;
    }
}

@media (max-width: 950px) {
    .product {
        justify-content: center;
        align-items: center;
    }

    .product-card-item {
        width: 50%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .product-card-left {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .product-card-mini {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .product-card-arrow {
        transform: rotate(-90deg);
    }

    .product-card-text {
        width: 100%;
    }

    .product-card-buttons {
        width: 100%;
        flex-direction: column;
    }

    .product-card-info {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .product-card-info-item {
        width: 50%;
        justify-content: center;
        align-items: center;
    }
    
    .product-item.product-card {
        width: 220px;
    }

    .products-list.product-card {
        display: flex;
        flex-direction: row-reverse;
        overflow-x: auto;
        gap: 20px;
        justify-content: space-between;
    }
}

@media (max-width: 700px) {
    .product-card-left {
        width: max-content;
    }

    .product-card-photo {
        width: 320px;
        height: 290px;
    }

    .product-card-mini-item {
        width: 50px;
        height: 50px;
    }

    .product-card-text h2 {
        font-size: 1.25rem;
    }

    .product-card-stock {
        display: none;
    }

    .product-card-text.distance p {
        width: 80%;
    }
}

@media (max-width: 570px) {
    .product-item.product-card {
        position: relative;
        align-items: start;
    }
    
    .product-cart.product-card {
        width: 40px;
        position: absolute;
        top: 140px;
        right: 10px;
    }

    .product-name.product-card {
        width: 60%;
    }

    .product-more.product-card {
        display: flex;
        width: 100%;
    }

    .product-button.product-card {
        display: flex;
    }

    .product-more-mobile.product-card {
        display: none;
    }
    
    .product-card-mini {
        justify-content: start;
    }
    
    .product-card-item {
        width: 80%;
    }
    
    .product-card-info {
        width: 80%;
        justify-content: start;
        align-items: start;
    }
    
    .product-card-info-item {
        width: 80%;
        justify-content: start;
        align-items: start;
    }
}

@media (max-width: 450px) {
    .product-card-item, .product-card-info {
        width: 100%;
    }

    .product-item.product-card {
        width: 150px;
    }

    .product-card-text {
        width: 90%;
    }

    .product-cart.product-card {
        top: 100px;
    }
}

/* карточка товара */

/* категории */

main.category {
    flex-direction: row;
    margin-top: 10px;
    gap: 30px;
}

.container.category {
    gap: 0px;
}

.section-title.category {
    justify-content: space-between;
}

.left-panel {
    width: 290px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.sort-text {
    color: var(--primary-gray);
    font-size: 0.875rem;
    font-weight: 400;
}

.sort-button {
    width: 180px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--outline-gray);
    background-color: var(--white);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--primary-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.filter-mobile {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-accent-green);
    border: none;
    border-radius: 10px;
    display: none;
    justify-content: center;
    align-items: center;
}

.mobile-sort {
    width: 100%;
    height: 30px;
    display: none;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
}

.mobile-button-sort {
    width: fit-content;
    height: 30px;
    background-color: var(--white);
    border: 1px solid #E0E0E0;
    color: var(--secondary-gray);
    border-radius: 5px;
    font-size: 0.75rem;
    padding: 7px 14px;
    display: flex;
    justify-content: center;
    align-items: center; 
    cursor: pointer;
    white-space: nowrap
}

.mobile-button-sort:focus {
    background-color: var(--secondary-accent-green);
    color: var(--white);
}

.filter {
    width: 100%;
    height: 470px;
    background-color: var(--white);
    border: 1px solid #E6E6E6;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-title {
    width: 100%;
    height: 50px;
    background-color: var(--secondary-accent-green);
    display: flex;
    gap: 15px;
    color: var(--white);
    padding-left: 50px;
    justify-content: start;
    align-items: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.filter-title p{
    font-size: 1rem;
}

.filter-section {
    margin-left: 50px;
    display:flex;
    flex-direction: column;
    gap: 10px;
}

.filter-section h5 {
    font-size: 0.875rem;
    color: var(--gray-900);
    font-weight: 400;
}

.filter-option {
    display: flex;
    flex-direction: column;
}

.filter-option-item {
    width: 140px;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #12664F;
}

.filter-option-item label {
    font-size: 0.875rem;
    color: var(--gray-900);
    cursor: pointer;
}

.filter-button {
    text-align: start;
    width: 100%;
    height: 30px;
    background-color: var(--white);
    border: none;
    color: var(--gray-900);
    cursor: pointer;
}

.product-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pagination {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.pagination-button {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pagination-button img {
    width: 70%;
    height: 70%;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--secondary-accent-green);
    text-decoration: none;
}

.pagination-number:hover {
    background-color: var(--secondary-accent-green);
    color: var(--white);
}

@media (max-width:1115px) {
    .product-item.category {
        width: 220px;
    }
}

@media (max-width:950px) {
    .pagination {
        justify-content: center;
    }

    .filter, .left-panel {
        display: none;
    }

    .product-grid {
        justify-items: center;
    }

    .product-item.category {
        width: 230px;
    }
}

@media (max-width:700px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sort-container {
        display: none;
    }

    .filter-mobile, .mobile-sort {
        display: flex;
    }
}

@media (max-width:570px) {
    .product-item.category {
        width: 200px;
    }
}

@media (max-width:450px) {
    .product-item.category {
        width: 180px;
    }
}

@media (max-width:380px) {
    .product-item.category {
        width: 150px;
    }
}

/* категории */

/* корзина */

.section-title.cart {
    gap: 20px;
    align-items: center;
}

.quantity {
    font-size: 0.875rem;
    color: var(--primary-gray);
    font-weight: 400;
}

.downoload-excel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.875rem;
    color: var(--secondary-gray);
    font-weight: 400;
}

.downoload-excel p {
    text-decoration: underline;
}

.selected {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 0.875rem;
    text-align: center;
}

.black-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.black-checkbox input {
    width: 18px;
    height: 18px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--black);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    background: white;
}

.black-checkbox input:checked {
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath fill='black' d='M10.6.6L4 7.2 1.4 4.6 0 6l4 4 8-8z'/%3E%3C/svg%3E") no-repeat center;
}

.selected p {
    font-size: 0.875rem;
    color: var(--secondary-gray);
}

.cart-product {
    width: 100%;
    display: flex;
    gap: 25px;
    margin-bottom: 70px;
}

.cart-product-left {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-products {
    width: 100%;
    height: 50px;
    background-color: var(--white);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    padding-left: 50px;
    align-items: center;
    font-size: 1rem;
    color: var(--secondary-gray);
    text-align: center;
}

.info-products-first {
    width: 33%;
}

.info-products-second {
    width: 25%;
}

.info-products-third {
    width: 15%;
}

.info-products-fourth {
    width: 22%;
}

.cart-products-item {
    width: 100%;
    height: 160px;
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--white);
    box-shadow: 4px 4px 20px 0px #6060600F;
}

.cart-products-item-section {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 20px;
}

.cart-products-item-photo {
    width: 130px;
    height: 130px;
    border-radius: 5px;
}

.cart-products-item-photo img {
    width: 100%;
    object-fit: cover;
}

.cart-products-item-namebutton {
    width: 30%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.cart-products-item-name {
    font-size: 1rem;
    color: var(--primary-gray);
}

.cart-products-item-buttons {
    height: 25px;
    display: flex;
    gap: 20px;
}

.cart-button {
    width: 25px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
}

.cart-products-item-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-gray);
}

.cart-products-item-colvo {
    width: 125px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cart-minplus-button {
    width: 30px;
    height: 30px;
    background-color: #F0F0F0;
    border-radius: 10px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cart-number {
    font-size: 1rem;
    color: #2B2B2B;
}

.cart-products-item-summ {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-gray);
}

.cart-product-right {
    width: 30%;
}

.cart-product-buy {
    background-color: var(--white);
    padding: 30px 15px;
    box-shadow: 4px 4px 20px 0px #6060600F;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-product-title {
    font-size: 1rem;
    color: var(--primary-text);
}

.cart-product-price {
    width: 100%;
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-product-main-price {
    font-size: 1.5rem;
    color: var(--primary-accent-green);
    font-weight: 600;
}

.cart-product-old-rice {
    font-size: 1rem;
    color: var(--secondary-gray);
    text-decoration: line-through;
}

.cart-products-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-products-section-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-products-section-info span {
    font-size: 0.875rem;
    color: var(--secondary-gray);
}

.cart-products-section-info p {
    font-size: 1rem;
    color: var(--primary-text);
}

.cart-products-section.otstup {
    margin-top: 35px;
}

.cart-products-item-mobile {
    display: none;
}

@media (max-width: 1115px) {
    .cart-products-item {
        gap: 20px;
    }
}

@media (max-width: 1000px) {
    .info-products {
        display: none;
    }

    .cart-product {
        flex-direction: column;
    }

    .cart-product-left, .cart-product-right {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .cart-products-item {
        position: relative;
        border-radius: 10px;
        flex-direction: column;
    }

    .cart-products-item-buttons {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }

    .cart-products-item-colvo {
        position: absolute;
        bottom: 20px;
        right: 20px;
    }

    .cart-products-item-mobile {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 5px;
    }

    .cart-products-item-price.mobile, .cart-products-item-summ.mobile, .cart-products-item-section.mobile {
        display: none;
    }

    .cart-products-item-namebutton {
        margin-top: 0;
        width: 100%
    }

    .cart-products-item-name, .cart-products-section-info.mobile span, .quantity, .downoload-excel p, .black-checkbox span, .selected p  {
        font-size: 0.75rem;
    }

    .cart-products-item-price {
        font-size: 0.813rem !important;
        color: var(--secondary-gray) !important;
    }

    .cart-products-item-summ {
        font-size: 0.813rem !important;
        font-weight: 600 !important;
        color: var(--primary-gray) !important;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .black-checkbox input {
        width: 15px;
        height: 15px;
    }

    .cart-products-section-info.mobile {
        justify-content: start;
        gap: 5px;
    }
}