@font-face {
    font-family: "Stengazeta";
    src: url("../fonts/Stengazeta-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

.legend-section {
    position: relative;
    background: #141414;
}
.legend-btn {
    font-family: "Stengazeta";
    text-transform: uppercase;
    padding: 26px 40px 20px 40px;
    border-radius: 37px;
    transition: .3s ease-in-out;
    color: #F8EAD0 !important;
    text-decoration: none !important;
    background: #B42C30;
    display: inline-block;
    font-size: 37px;
    text-align: center;
    line-height: normal;
    border: none;
    outline: none;
}
.auth-form__next {
    cursor: pointer;
    text-decoration: underline;
}
.legend-section__img {
    position: relative;
}
.auth-form__next:hover {
    text-decoration: none;
}
.legend-modal .auth-body {
    padding: 0;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
}
.legend-modal__img {
    max-width: 300px;
    margin: 0 auto;
}
.legend-modal__img img {
    max-width: 100%;
}
.legend-slider__item {
    height: auto;
    display: flex;
    flex-direction: column;

}
.legend-modal select {
    width: 100%;
    height: 50px;
    padding: 0 22px;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, .3);
}
.legend-modal input::placeholder {
    color: black;
}
.legend-btn:hover {
    background: #761B1E;
}
.legend-section__img img {
    width: 100%;
}

.legend-main__inner {
    position: relative;
}
.legend-main__inner .legend-btn {
    position: absolute;
    bottom: 115px;
    left: 0;
}
.legend-text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin: 100px auto 0 auto;
    color: #fff;
    max-width: 1609px;
    width: 100%;
}

.legend-slider {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    font-size: 18px;
    line-height: normal;
    font-weight: 500;
    color: #fff;
}
.legend-slider .legend-btn {
    width: 100%;
}
.legend-modal .auth-body {
    max-width: unset;
}
.legend-slider__descr p {
    margin: 0;
}
.legend-slider__descr p:not(:last-child) {
    margin: 0 0 15px 0;
}
.legend-modal .sizes-table-box {
    margin: 0 0 30px 0;
}
.legend-modal__back {
    font-size: 18px;
    margin: 0 0 30px 0;
    cursor: pointer;
}
.legend-modal__box {
    margin: 0 0 30px 0;
}
.legend-modal__box input:read-only {
    border: 1px solid rgba(0, 0, 0, .3);
}

.legend-slider__descr {
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
}
.legend-modal__sizes {
    display: none;
}
.legend-modal__sizes.active {
    display: block;
}
.legend-modal__box.hidden {
    display: none;
}
.legend-section__img.absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.legend-section__img.absolute img {
    width: 100%;
}
.legend-section:not(.legend-main) {
    min-height: 1512px;
    padding: 60px 0;
}
.legend-section.small-height {
    min-height: 1300px;
    margin: -100px 0 0 0;
}
.legend-section.end {
    display: flex;
    align-items: flex-end;
}
.legend-section.center {
    display: flex;
    align-items: center;
}
.legend-slider__img {
    display: flex;
    justify-content: center;
}
.legend-slider__img img {
    position: relative;
    filter: brightness(70%);
    transform: scale(.719);
    transition: .8s ease-in-out;
}
.legend-slider__btn {
    opacity: 0;
    transition: .8s ease-in-out;
    margin-top: auto !important;
}
.legend-slider .swiper-slide-active .legend-slider__img img {
    transform: scale(1);
    filter: brightness(100%);
}
.legend-slider .swiper-slide-prev .legend-slider__img img {
    transform: translateX(100px) scale(.719);
}
.legend-slider .swiper-slide-next .legend-slider__img img {
    transform: translateX(-100px) scale(.719);
}
.legend-slider ..swiper-slide-next .swiper-slide .legend-slider__img img {
    transform: translateX(-100px) scale(.719);
}
.legend-slider .swiper-slide-active .legend-slider__btn {
    opacity: 1;
}
.swiper-button-prev::after,
.swiper-button-next::after {
    content: none;
}
.swiper-button-prev,
.swiper-button-next {
    display: flex;
    width: auto;
    height: auto;
}
.swiper-button-prev svg,
.swiper-button-next svg {
    width: auto;
    height: auto;
}
.legend-section__mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.legend-section__mask.no-event {
    pointer-events: none;
}
.legend-section__mask g {
    pointer-events: bounding-box;
}
.legend-section.autoheight {
    min-height: unset !important;
    padding: 0;
}
.legend-cards__content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 5;
    padding: 60px 0;
}
.legend-cards {
    position: relative;
    overflow: hidden;
}
.legend-cards .main_product {
    padding: 0;
    border: none;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    padding: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    height: auto;
}
.legend-cards .main_product__title {
    padding: 0 23px;
    font-size: 23px;
    line-height: normal;
    font-weight: 500;
    margin: 0 0 60px 0;
}
.legend-cards .new-btn {
    font-family: 'Normalidad';
    background: #040404;
    font-size: 27px;
    line-height: normal;
    padding: 10px 18px;
    gap: 23px;
    font-weight: 500;
    margin: auto 0 0 23px;
}
.legend-cards .new-btn span {
    position: relative;
    top: 2px;
}
.legend-cards .new-btn:hover {
    background: #DA2129;
}
.main_product-modal .fancybox-close-small {
    border: none;
}

.legends-cards-box {
    position: relative;
    padding: 0 70px;
    margin: 0 0 90px 0;
}
.legends-cards-box .swiper {
    position: static;
}
.legends-cards-box .swiper-button-prev {
    left: 0px;
}
.legends-cards-box .swiper-button-next {
    right: 0px;
}
.legend-cards .legend-btn {
    margin: 0 0 0 70px;
}
.legend-page .footer {
    background: #141414;
    color: #fff;
}
.legend-page .footer a {
    color: #fff;
}
.legend-page .footer_sitemap__list li:first-child a,
.legend-page .footer-company-name {
    font-family: 'Stengazeta';
    font-size: 32px !important;
    color: #fff !important;
}
.legend-page .footer_subscribe,
.legend-page .footer_sitemap,
.legend-page .footer_subscribe__title {
    color: #fff;
    background: #141414;
}
.legend-page .footer_sitemap__list li:not(:first-child) a {
    color: #fff;
}
.legend-page .footer_sitemap__wrapper * {
    color: #fff;
}
.legend-page .footer_wrapper_global {
    margin: 0 !important;
}
.legend-section__mask.mobile {
    display: none;
}
.legends-cards-box .product__img {
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}
.legends-cards-box .product__img img {
    top: 0;
    left: 0;
    transform: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}
.legends-cards-box .product__img {
    padding: 75% 50%;
}
.legend-cards__img img {
    width: 100%;
}
.legend-section__mask path,
.legend-section__mask rect {
    transition: .5s ease-in-out;
}
.legend-mask__logo:hover path {
    fill: #761B1E;
}
.legend-mask__legend:hover path[fill="#B1272C"],
.legend-mask__legend:hover path[fill="#B42C30"] {
    fill: #761B1E;
}
.legend-mask-btn:hover rect {
    fill: #761B1E;
}
.legend-slider__item.swiper-slide-active {
    z-index: 2;
}
.legend-main-mask,
.legend-main-mask svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.legend-modal {
    width: 100%;
    max-width: 700px;
}
@media screen and (max-width: 1599px) {
    .legend-section:not(.legend-main) {
        min-height: 1300px;
        padding: 60px 0;
    }
    .legend-section.end {
        align-items: center;
    }
}

@media screen and (max-width: 1200px) {
    .legend-btn {
        padding: 10px 18px 6px 18px;
        font-size: 18px;
    }
    .legend-section:not(.legend-main) {
        min-height: unset;
    }
    .legend-section.small-height {
        min-height: unset;
        margin: 0;
    }
    .legend-slider__btn {
        display: flex;
        justify-content: center;
    }
    .legend-cards .new-btn {
        font-size: 20px;
    }
    .legend-cards .main_product__title {
        margin: 0 0 30px 0;
    }
    .legend-slider .legend-btn {
        width: auto;
        min-width: 170px;
    }
    .legend-section__img.absolute img {
        height: 100%;
    }
}
@media screen and (max-width: 1024px) {
    .legend-main__inner .legend-btn {
        bottom: 20px;
    }
    .legend-cards__content {
        position: relative;
        transform: none;
        top: 0;
        left: 0;
    }
    .legend-text {
        display: none;
    }
    .legend-slider .swiper-slide-prev .legend-slider__img img {
        transform: translateX(160px) scale(.719);
    }
    .legend-slider .swiper-slide-next .legend-slider__img img {
        transform: translateX(-160px) scale(.719);
    }
    .legends-cards-box {
        margin: 0 0 30px 0;
    }
    .legend-cards__img {
        
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .legend-cards .legend-btn {
        margin: 0;
    }
    .legend-cards__btn {
        display: flex;
        justify-content: center;
    }
    .legend-cards__img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .legend-slider .swiper-button-next,
    .legend-slider .swiper-button-prev {
        display: none;
    }
    .legends-cards-box {
        padding: 0;
    }
    .legends-cards-box .swiper-button-next,
    .legends-cards-box .swiper-button-prev {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .legend-btn {
        padding: 8px 12px 6px 12px;
        font-size: 14px;
    }
    .legend-cards__content {
        padding: 0 0 60px 0;
    }
    .legend-slider__btn {
        width: max-content;
        margin: 0 auto;
    }
    .legend-cards .main_product__title {
        font-size: 14px;
        padding: 0 15px;
    }
    .legend-cards .new-btn {
        margin: auto 0 0 15px;
        font-size: 12px;
        gap: 8px;
        padding: 4px 7px;
    }
    .legend-cards .new-btn img {
        width: 18px;
    }
    .legend-slider__img {
        max-width: 180px;
        margin: 0 auto;
    }
    .legend-slider .legend-btn {
        font-size: 18px;
        padding: 10px 18px 6px 18px;
    }
    .legend-slider__descr {
        font-size: 15px;
    }
    .legend-slider .swiper-slide-prev .legend-slider__img img {
        transform: translateX(17vw) scale(.719);
    }
    .legend-slider .swiper-slide-next .legend-slider__img img {
        transform: translateX(-17vw) scale(.719);
    }
    
}
@media screen and (max-width: 600px) {
    .legend-section__mask.mobile {
        display: block;
        
    }
    .legend-section__mask.desktop {
        display: none;
    }
    .legend-slider .legend-btn {
        min-width: unset;
    }
}
.input-error input[type="text"], .input-error .form__checkbox-text::before {
	border-color: #f00;
}
.legend-modal .success-text {
	color: #0a0;
}
