@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;500;600&display=swap');

@font-face {
    font-family: 'Helvetica';
    src: url('../fonts/HelveticaNeueCyr-Medium.ttf') format(true type);
    font-style: normal;
    font-weight: 500;
}

/* Base styles */

:root {
    --green-color: #188470;
}

html {
    margin-top: 0 !important;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-repeat: no-repeat !important;
}

body {
    font-family: 'Montserrat', sans-serif;
}

input {
    width: 100%;
}

button,
input,
textarea,
select,
option {
    outline: none;
    border: none;
    cursor: pointer;
    background: none;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
}

li {
    list-style: none;
}

span {
    font-family: inherit;
}

.container {
    max-width: 1210px;
    margin: 0 auto;
    padding: 0 20px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
}

.close-btn span {
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #25201E;
}

.close-btn span:nth-child(1) {
    transform: rotate(45deg);
}

.close-btn span:nth-child(2) {
    transform: rotate(-45deg);
}

.green-btn {
    background: #08B8B; /* Заменено на новый цвет */
    padding: 14px 26px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: calc(19.5 / 16 * 100%);
    color: #FFF;
    justify-content: center;

    transition: .3s all;
}

.green-btn:hover {
    opacity: .8;
}
.title {
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 500;
    line-height: calc(39 / 32 * 100%);
    color: #000000;
}

.swiper-btn {
    width: 50px;
    height: 50px;
    background: var(--green-color);
    border-radius: 50%;
    color: #FFFFFF;
    transition: .3s all;
    font-size: 16px;
}

.swiper-btn:hover {
    opacity: .8;
}

.check-all {
    position: absolute;
    right: 20px;
    top: 14px;
    font-size: 18px;
    font-weight: 400;
    line-height: calc(22 / 18 * 100%);
    color: #838383;
}

@media(max-width: 990px) {
    .title {
        font-size: 30px;
    }
}

@media(max-width: 560px) {
    .container {
        padding: 0 15px;
    }
    .title {
        font-size: 28px;
    }
    .check-all {
        right: 15px;
        top: calc(100% + 16px);
        color: var(--green-color);
        border-bottom: 1px solid var(--green-color);
    }
}

/* HEADER */

.header.home {
    width: 100%;
    padding-top: 47px;
    height: 174px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #FFF 0%, rgba(244, 244, 244, 0.10) 100%);
    position: absolute;
    top: 0;
    left: 0;
    color: #25201E;
}

.header.default {
    padding: 47px 0 49px;
    background: var(--green-color);
    color: #ffffff;
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 18px;
    font-weight: 600;
    line-height: calc(21.94 / 18 * 100%);
}

.header__list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__list-item {
    font-size: 40px;
    font-weight: 400;
    line-height: calc(21.94 / 18 * 100%);
}

.header__phone {
    font-size: 20px;
    font-weight: 500;
    line-height: calc(24.38 / 20 * 100%);
}

.mobile__menu-open {
    display: none;
}

.mobile__menu {
    display: none;
}

@media(max-width: 1200px) {
    .header__list {
        gap: 30px;
    }
}

@media(max-width: 990px) {
    .header.default {
        padding: 24px 0;
    }
    .mobile__menu-open {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
        padding: 23px 15px;
    }
    .header__nav,
    .header__phone {
        display: none;
    }
    .mobile__menu {
        display: block;
        padding: 60px 20px 20px 20px;
        position: fixed;
        right: 0;
        top: 0;
        width: 30%;
        height: 100vh;
        background: rgba(255, 255, 255, 1);

        opacity: 0;
        z-index: -1;
        pointer-events: none;
        transition: .4s all;
    }
    .mobile__menu.active {
        opacity: 1;
        z-index: 99;
        pointer-events: all;
    }
    .mobile__menu .header__nav {
        display: block;
        margin-top: 10vh;
    }
    .mobile__menu .header__list {
        flex-direction: column;
        align-items: flex-start;
        color: #25201E;
    }
    .mobile__menu-open span {
        height: 3.6px;
        border-radius: 3.6px;
        width: 40px;
        background: #ffffff;
    }
    .header.home .mobile__menu-open span {
        background: #25201E;
    }
    .mobile__menu-open span:nth-child(2) {
        width: 20px;
    }
}

@media (max-width: 767px) {
    .mobile__menu {
        width: 50%;
    }
}

@media (max-width: 560px) {
    .header.home {
        padding-top: 12px;
    }
    .header.home::after {
        display: none;
    }
    .header.default {
        padding: 18px 0;
    }
}

/* FOOTER */

.footer {
    padding: 60px 0;
    margin-top: 80px;
    background: var(--green-color);
    color: #ffffff;
}

.footer__wrapper {
    display: flex;
    gap: 60px 186px;
    flex-wrap: wrap;
}

.footer__title {
    font-size: 24px;
    font-weight: 600;
    line-height: calc(29.26 / 24 * 100%);
}

.footer__block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer__logo {
    margin-bottom: 10px;
}

.footer__block-text {
    font-size: 20px;
    font-weight: 400;
    line-height: calc(24.38 / 20 * 100%);
}

.footer__block-text span {
    display: block;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer__list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__list-item {
    font-size: 18px;
    font-weight: 500;
    line-height: calc(22 / 18 * 100%);
}

@media(max-width: 560px) {
    .footer {
        padding: 80px 0;
    }
    .footer__wrapper {
        flex-direction: column;
        gap: 60px;
    }
}

/* BREADCRUMBS */

.breadcrumbs {
    margin-top: 30px;
}

.breadcrumbs__items {
    display: flex;
    align-items: center;
    gap: 10.5px;
}

.breadcrumbs__items i {
    font-size: 8.75px;
}

.breadcrumbs__item {
    font-size: 16px;
    font-weight: 400;
    line-height: calc(19.5 / 16 * 100%);
    color: #000000;
}

.breadcrumbs__item.active {
    color: var(--green-color);
}

/* PRODUCT CARD */

.product-card {
    background: #FFFFFF;
    box-shadow: 0px 0px 3px 0px #00000026;
}

.product-card__preview {
    height: 320px;
    background-size: cover;
    background-position: center;
}

.product-card__content {
    padding: 10px 16px 24px 16px;
}

.produnct-card__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.product-card__article {
    font-size: 20px;
    font-weight: 500;
    line-height: 100%;
    color: #232830;
}

.product-card__price {
    font-family: 'Helvetica';
    font-size: 22px;
    font-weight: 550;
    line-height: calc(33.6 / 22 * 100%);
    color: var(--green-color);
}

.product-card__price span {
    color: #9a9a9a;
    font-size: 18px;
    line-height: 100%;
}

.product-card__stock {
    font-size: 18px;
    line-height: 100%;
    color: #232830;
}

.product-card__btn {
    width: 100%;
}

/* SALE BLOCK */

.sale {
    margin-top: 80px;
    background: url(../img/common/sale/bg.png)
    center / cover no-repeat;
    padding: 120px 0 207px;
    position: relative;
}

.sale::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(89.99deg, #F8F8F8 0.01%, rgba(196, 196, 196, 0) 101.59%);
}

.sale__title,
.sale__form {
    position: relative;
    z-index: 2;
}

.sale__title span {
    font-weight: 600;
    color: var(--green-color);
}

.sale__form {
    margin-top: 28px;
    display: flex;
}

.sale__form-input {
    background: #ffffff;
    box-shadow: 0px 0px 3px 0px #00000026;
    width: 240px;
    height: 48px;
    padding: 0 16px;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
    line-height: calc(22 / 18 * 100%);
    color: #232830;
    border-radius: 4px 0 0 4px;
}

.sale__form-input::placeholder {
    color: #616161;
}

.sale__form-btn {
    border-radius: 0 4px 4px 0;
}

@media(max-width: 990px) {
    .sale {
        padding: 100px 0 160px;
    }
}

@media(max-width: 560px) {
    .sale {
        padding: 64px 10px;
    }
    .sale__title {
        font-size: 24px;
    }
    .sale__form {
        margin-top: 20px;
        flex-direction: column;
        gap: 16px;
    }
    .sale__form-input {
        width: 100%;
    }
}

/* SEO BLOCK */

.seo {
    margin-top: 80px;
}

.seo__title {
    font-size: 28px;
    font-weight: 500;
    line-height: calc(34.13 / 28 * 100%);
    color: #000000;
}

.seo__text {
    margin-top: 32px;
    font-size: 20px;
    font-weight: 400;
    line-height: calc(30 / 20 * 100%);
    color: #000000;
}

.seo__collapse {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seo__collapse-item {
    transition: .5s all;
    overflow: hidden;
}

.seo__collapse-content {
    opacity: 0;
    transition: .5s all;
}

.seo__collapse-item.active .seo__collapse-content {
    opacity: 1;
}

.seo__collapse-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seo__collapse-title {
    font-size: 24px;
    font-weight: 500;
    line-height: calc(30 / 24 * 100%);
    color: #000000;
}

.seo__collapse-btn {
    height: 24px;
    width: 24px;
    background: url(../img/common/dropdown-arrow.svg)
    center / contain no-repeat;
    transition: .3s all;
}

.seo__collapse-item.active .seo__collapse-btn {
    rotate: 180deg;
}

.seo__list.seo__text {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seo__list-item {
    position: relative;
    padding-left: 14px;
}

.seo__list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 4px;
    height: 4px;
    background: #000000;
    border-radius: 50%;
}

@media(max-width: 990px) {
    .seo__text {
        margin-top: 28px;
    }
}

@media(max-width: 560px) {
    .seo__text {
        margin-top: 20px;
    }
    .seo__collapse {
        margin-top: 20px;
    }
    .seo__collapse-title {
        font-size: 20px;
    }
}

/* Обновленный CSS - добавьте в ваш стиль */
.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px; /* В 4 раза больше по сравнению с предыдущими 25px */
    height: 100px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: #fff;
    font-size: 80px; /* Размер иконки в 4 раза больше */
    transition: all 0.3s ease;
    text-decoration: none;
}
