.why-we {
    position: relative;
    padding-top: 32px;
}
.why-we__circle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -35px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 690px;
    height: 690px;
    background: url('/img/why-we.svg') no-repeat center;
    background-size: contain;
}

.why-we__circle-text {
    font-weight: 600;
    font-size: 40px;
    color: #05131B;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
}
.why-we__slider-item {
    width: 100%;
    height: 263px;
    overflow: hidden;
    padding: 24px;
    background: #F0F0F0;
    border-radius: 36px;
    margin-bottom: 0;
    margin-left: auto;
}
.why-we__slider-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.why-we__slider-title-text {
    font-weight: 600;
    font-size: 19px;
    color: #05131B;
    line-height: 140%;
}
.why-we__slider-text {
    margin-right: 70px;
    color: #05131B;
    font-size: 15px;
    line-height: 140%;
}
.why-we__slider-counter {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 15px;
}
.why-we__slider-counter span {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    overflow: hidden;
    color: #05131B;
    font-weight: 600;
}
.why-we__slider-counter-current {
}
.why-we__slider-counter-all {
    margin-left: -8px;
    opacity: .5;
}
.why-we__slider-prev,
.why-we__slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 0;
    box-shadow: -2px 2px 14.7px 0 #0000001F;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.why-we__slider-prev {
    left: -17px;
}

.why-we__slider-next {
    right: -17px;
}

.why-we__slider-prev:hover,
.why-we__slider-next:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.why-we__slider-prev svg,
.why-we__slider-next svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.our-stuff-item {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid #00000033;
    margin-bottom: 30px;
}
.our-stuff-item .btn {
    z-index: 1;
}
.our-stuff-item__link {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.our-stuff__list {
    margin-top: 100px;
}
.our-stuff-item__col-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 350px;
}
.our-stuff-item__col-right {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 80px;
}
.our-stuff__title-img {
    width: 100%;
}
.our-stuff-item__img {
    width: 100%;
    margin-left: 80px;
    max-width: 400px;
}
.our-stuff-item__img img {
    max-width: 100%;
    margin: 0 auto;
}
.our-stuff-item__post {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #549CA1;
    line-height: 140%;
}
.our-stuff-item__post-year {
    margin-top: auto;
    font-size: 40px;
    font-weight: 600;
    color: #F8B896;
    line-height: 140%;
}
.our-stuff-item__post-year span {
    font-size: 60px;
    font-weight: 600;
}
.our-stuff-item__post-info {
    font-size: 15px;
    line-height: 140%;
}
.our-stuff-item__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: auto;
    width: 100%;
    max-width: 450px;
}
.our-stuff-item__name {
    font-size: 60px;
    font-weight: 600;
    line-height: 100%;
    color: #05131B;
}
.our-stuff-item__name span {
    font-size: 40px;
}
.our-stuff-item__price {
    margin-top: auto;
    margin-bottom: 16px;
    color: #05131B;
    font-size: 19px;
    line-height: 140%;
}

@media (min-width: 992px) {
    .why-we__slider-prev,
    .why-we__slider-next {
        display: none;
    }
}

@media (max-width: 991px) {
.why-we__slider-item {
    height: 300px;
	}
    .why-we__circle {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        margin-bottom: -45px;

        &:before {
            position: absolute;
            content: '';
            left: 0;
            bottom: -65px;
            width: 100%;
            height: 170px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 48.84%);
            z-index: 1;
        }
    }
    .why-we__circle-text {
        font-size: 24px;
    }
    .why-we__slider {
        position: relative;
        z-index: 2;
        /*overflow: visible;*/

        &:before {
            position: absolute;
            content: '';
            right: -24px;
            top: 0;
            width: 85px;
            height: 100%;
            transform: rotate(-180deg);
            background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
            z-index: 3;
        }
    }
    .why-we__slider .swiper-wrapper {
        overflow: visible;
    }
}
@media (min-width: 992px) {
    .why-we__slider {
        overflow: visible;
		}
    .why-we__slider-item {
        width: 466px;
    }
    .why-we__slider .swiper-wrapper {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .why-we__slider .swiper-slide {
        height: auto;
        width: 50%;
    }

    .why-we__slider .swiper-slide:nth-child(1) .why-we__slider-item,
    .why-we__slider .swiper-slide:nth-child(2) .why-we__slider-item {
        margin-bottom: 100px;
    }

    .why-we__slider .swiper-slide:nth-child(1) .why-we__slider-item,
    .why-we__slider .swiper-slide:nth-child(3n+3) .why-we__slider-item {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .md-is-hidden {
        display: none;
    }
    .cosmetology-box__grid {
        overflow: visible;
    }
}
@media (max-width: 767px) {
    .our-stuff__list {
        margin-top: 55px;
    }
    .our-stuff-item {
        flex-direction: column;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    .our-stuff-item__name {
        font-size: 40px;
        margin-bottom: 32px;
    }
    .our-stuff-item__name span {
        font-size: 24px;
    }
    .our-stuff-item__col-left {
        display: none;
    }
    .our-stuff-item__post-year {
        margin-bottom: 32px;
    }
    .our-stuff-item__price {
        margin-top: 32px;
    }
    .our-stuff-item__info {
        order: 1;
        max-width: 100%;
        margin-left: 0;
    }
    .our-stuff-item__img {
        order: 0;
        margin-left: 0;
        margin-bottom: 32px;
    }
    .our-stuff-item .btn {
        width: 100%;
    }
}

.cosmetology-box__item {
    background: #F0F0F0;
    border-radius: 36px;
    overflow: hidden;
}
.cosmetology-box__item.more .cosmetology-box__text {
    color: #05131B;
}
.cosmetology-box__item.more .cosmetology-box__btn {
    background: #549CA1;
    color: #ffffff;
}
.cosmetology-box .swiper-wrapper {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 214px);
    align-items: stretch;
}

.cosmetology-box .swiper-slide:nth-child(1) {
    grid-column: 1 / 4;
    grid-row: 1 / span 2;
}
.cosmetology-box .swiper-slide:nth-child(2) {
    grid-column: 4 / 7;
    grid-row: 1 / span 2;
}
.cosmetology-box .swiper-slide:nth-child(3) {
    grid-column: 7 / 13;
    grid-row: 1;
}
.cosmetology-box .swiper-slide:nth-child(4) {
    grid-column: 7 / 13;
    grid-row: 2;
}

.cosmetology-box .swiper-slide:nth-child(5) {
    grid-column: 1 / 5;
    grid-row: 3;
}
.cosmetology-box .swiper-slide:nth-child(6) {
    grid-column: 5 / 9;
    grid-row: 3;
}
.cosmetology-box .swiper-slide:nth-child(7) {
    grid-column: 9 / 13;
    grid-row: 3;
}

.cosmetology-box .swiper-slide {
    height: 100%;
}

.cosmetology-box__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cosmetology-box__text {
    position: absolute;
    left: 24px;
    top: 24px;
    width: 115px;
    line-height: 120%;
    z-index: 1;
    font-size: 19px;
    font-weight: 600;
    color: #ffffff;
}
.cosmetology-box__btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    color: #000;
}

.cosmetology-box__slider-prev,
.cosmetology-box__slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 0;
    box-shadow: -2px 2px 14.7px 0 #0000001F;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.cosmetology-box__slider-prev {
    left: -17px;
}

.cosmetology-box__slider-next {
    right: -17px;
}

.cosmetology-box__slider-prev:hover,
.cosmetology-box__slider-next:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.cosmetology-box__slider-prev svg,
.cosmetology-box__slider-next svg {
    width: 20px;
    height: 20px;
    color: #333;
}

@media (max-width: 767px) {
    .cosmetology-box__btn {
        display: none;
    }
    .cosmetology-box__slider-prev,
    .cosmetology-box__slider-next {
        display: flex;
    }
    .cosmetology-box .swiper-wrapper {
        display: flex !important;
        gap: 0 !important;
        align-items: stretch;
    }

    .cosmetology-box__grid:before {
        position: absolute;
        content: '';
        right: -24px;
        top: 0;
        width: 85px;
        height: 100%;
        transform: rotate(-180deg);
        background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 3;
    }
    .cosmetology-box .swiper-slide {
        height: 440px;
    }
    .cosmetology-box__item img {
    }
}
