:root {
    --red: #E2071B;
    --black: #131313;
    --white: #fff;
    --grey-border: #d9d9d9;
    --grey-text: #666;
    --container: 1400px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 130%;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    transition: color var(--transition-base),
    background-color var(--transition-base),
    opacity var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--white);
    border-bottom: 1px solid var(--grey-border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 120px;
    transition: height var(--transition-base);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
}

.logo:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.logo img {
    height: auto;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--red);
    background: transparent;
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.burger:hover {
    background: rgba(226, 7, 27, 0.08);
}

.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--red);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.header__menu {
    display: contents;
}

.header--menu-open .burger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header--menu-open .burger__line:nth-child(2) {
    opacity: 0;
}

.header--menu-open .burger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav {
    display: flex;
    gap: 4px;
}

.nav__link {
    max-height: fit-content;
    height: auto;
    padding: 15px;
    text-decoration: none;
    color: var(--black);
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    transition: background-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
    background: var(--red);
    color: var(--white);
}

.nav__link:hover {
    transform: translateY(-2px);
}

.header__menu-search .menu-item {
    display: flex;
}

@media (min-width: 1025px) {
    .header--scrolled .logo {
        max-width: 85px;
        /*transition:*/
        /*        max-height var(--transition-base),*/
        /*        opacity var(--transition-base),*/
        /*        margin var(--transition-base),*/
        /*        padding var(--transition-base),*/
        /*        border-width var(--transition-base);*/
    }

    .header--scrolled {
        height: 62px;
    }

    .header--scrolled .header__menu-search .search {
        max-height: 0;
        opacity: 0;
        margin: 0;
        padding: 0;
        border-width: 0;
        overflow: hidden;
        pointer-events: none;
        transition:
                max-height var(--transition-base),
                opacity var(--transition-base),
                margin var(--transition-base),
                padding var(--transition-base),
                border-width var(--transition-base);
    }

    .header__menu-search .search {
        max-height: 60px;
        opacity: 1;
        transition:
                max-height var(--transition-base),
                opacity var(--transition-base),
                margin var(--transition-base),
                padding var(--transition-base),
                border-width var(--transition-base);
    }
}
.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__menu-search .menu-item {
    display: flex;
}

.search {
    display: flex;
    border: 1px solid var(--red);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.search:hover,
.search:focus-within {
    box-shadow: 0 4px 16px rgba(226, 7, 27, 0.15);
}

.search__input {
    border: none;
    padding: 10px 12px;
    outline: none;
    width: 100%;
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    transition: width var(--transition-base);
}

.search:focus-within .search__input {
    width: 100%;
}

.search__btn {
    border: none;
    background: transparent;
    padding: 8px 10px;
    cursor: pointer;
    transition: background-color var(--transition-base), transform var(--transition-fast);
}

.search__btn:hover {
    background: rgba(226, 7, 27, 0.08);
    transform: scale(1.1);
}

.phones {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.4;
}

.phones a {
    color: var(--black);
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 6px;
}

.phones a:last-child {
    margin-bottom: 0;
}

.phones a:hover {
    color: var(--red);
    transform: translateX(3px);
}

.hero {
    background: url('../images/hero.jpg') center/cover no-repeat;
    height: 780px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slider {
    height: 780px;
    position: relative;
    overflow: hidden;
}

.hero__slide {
    height: 780px;
    display: flex;
    align-items: center;
    background: url('../images/hero.jpg') center/cover no-repeat;
    position: relative;
}

.hero__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, transparent 60%);
    pointer-events: none;
}

.hero__inner {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center !important;
    height: 100%;
    gap: 24px;
}

.hero__btn {
    width: 100%;
    max-width: 740px;
}

.hero-slider__prev:after,
.hero-slider__next:after {
    background: hsla(0, 0%, 100%, .5);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 22px !important;
    font-weight: 900 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    color: var(--red);
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.hero-slider__prev:hover:after,
.hero-slider__next:hover:after {
    background: hsla(0, 0%, 100%, 0.85);
    transform: scale(1.08);
    color: var(--red);
}
.hero-slider__prev,
.hero-slider__next {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-slider__prev:hover,
.hero-slider__next:hover {
    transform: scale(1.05);
}


.hero-slider__pagination .swiper-pagination-bullet {
    background-color: var(--white);
    opacity: 1;
    height: 7px;
    width: 40px;
    border-radius: 10px;
}
.hero-slider__pagination .swiper-pagination-bullet-active {
    background-color: var(--red);
}

.footer__right {
    text-align: center;
    max-width: 100% !important;
    width: 100%;
    margin-top: 40px;
}

.hero-slider__prev,
.hero-slider__next {
    border-radius: 50% !important;
    border: none;
    background: transparent;
    width: 46px !important;
    height: 46px !important;
}

@keyframes heroKenBurns {
    from {
        background-size: 100%;
    }
    to {
        background-size: 112%;
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slider__pagination {
    bottom: 32px !important;
}

.hero-slider__prev,
.hero-slider__next {
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, transparent 60%);
    pointer-events: none;
}

.hero__inner {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.hero__title {
    color: var(--white);
    text-align: left;
    max-width: 740px;
    font-weight: 500;
    font-size: 56px;
    line-height: 130%;
    text-transform: uppercase;
    animation: heroFadeIn 0.8s ease forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.categories {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    color: var(--red);
    font-weight: 400;
    font-size: 48px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 60px;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    row-gap: 40px;
}

.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card__img {
    border: 1px solid var(--red);
    background: var(--white);
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.category-card__img::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(0);
    background: rgba(255, 255, 255, 0);
    transition: backdrop-filter var(--transition-base),
    background-color var(--transition-base);
    z-index: 1;
    pointer-events: none;
}

.category-card:hover .category-card__img {
    box-shadow: 0 12px 32px rgba(226, 7, 27, 0.18);
    transform: translateY(-6px);
}

.category-card:hover .category-card__img::before {
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.62);
}

.category-card__img img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform var(--transition-slow), opacity var(--transition-base);
    position: relative;
    z-index: 0;
}

.category-card:hover .category-card__img img {
    transform: scale(1.08);
    opacity: 0.5;
}

.category-card__name {
    display: block;
    text-align: center;
    font-weight: 400;
    font-size: 22px;
    margin-top: 20px;
    text-transform: uppercase;
    color: var(--black);
    transition: color var(--transition-base), transform var(--transition-base);
}

.category-card:hover .category-card__name {
    color: var(--red);
    transform: translateY(2px);
}

.category-card__btn {
    position: absolute;
    opacity: 0;
    color: #424242;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 2;
    transform: translateY(10px);
    transition: opacity var(--transition-base),
    transform var(--transition-base);
}

.category-card__btn::before {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 10px;
    height: 1px;
    background-color: currentColor;
}

.category-card:hover .category-card__btn {
    opacity: 1;
    transform: translateY(0);
}

.categories__cta {
    text-align: center;
    margin-top: 60px;
}

.categories__cta .categories__cta-btn {
    padding: 22px 40px;
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    transition: background-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.btn--red {
    background: var(--red);
    color: var(--white);
}

.btn--red:hover {
    background: #c00617;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(226, 7, 27, 0.35);
}

.btn--red:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(226, 7, 27, 0.25);
}

.footer {
    background: var(--red);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr 1fr;
    gap: 30px;
}

.footer__logo {
    margin-bottom: 20px;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.footer__logo:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

.footer .footer__copy {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    max-width: 260px;
}

.footer__title {
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list li:last-child {
    margin-bottom: 0;
}

.footer__list a,
.footer a {
    color: var(--white);
    text-decoration: none;
}

.footer__list a {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    display: inline-block;
}

.footer__list a:hover,
.footer a:hover {
    opacity: 0.8;
    transform: translateX(4px);
    text-decoration: underline;
}

.footer p {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    margin-bottom: 16px;
}

.footer p:last-child {
    margin-bottom: 0;
}

.header__menu-search {
    display: flex;
    flex-direction: column;
}

.header__menu-search .nav {
    height: 62px;
}

.search {
    justify-content: space-between;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1300px) {
    /*.header__menu li,*/
    .header__menu .nav__link {
        padding: 15px;
        font-size: 16px;
        width: 100%;
        display: flex;
    }

    .hero__title {
        font-size: 44px;
        max-width: 600px;
    }

    .category-card__img {
        height: 280px;
    }

    .category-card__name {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .header--scrolled .search {
        display: flex;
    }

    .header__menu-search .nav {
        height: auto;
    }

    .burger {
        display: flex;
    }

    .header {
        height: auto;
        min-height: 72px;
    }

    .header__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo burger"
            "menu menu";
        gap: 0;
        align-items: center;
        padding: 12px 20px;
    }

    .logo {
        grid-area: logo;
        padding: 10px 0;
    }

    .burger {
        grid-area: burger;
        justify-self: end;
    }

    .header__menu {
        display: flex;
        flex-direction: column;
        grid-area: menu;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        gap: 0;
        transition: max-height var(--transition-slow),
        opacity var(--transition-base),
        padding var(--transition-base);
    }

    .header--menu-open .header__menu {
        max-height: 520px;
        opacity: 1;
        padding: 16px 0 12px;
        border-top: 1px solid var(--grey-border);
        background-color: var(--white);
    }

    .nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav__link {
        width: 100%;
        text-align: center;
        padding: 14px 16px;
    }

    .nav__link:hover {
        transform: none;
    }

    .header__right {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 16px;
        padding: 16px 0 4px;
        border-top: 1px solid var(--grey-border);
        margin-top: 8px;
    }

    .search {
        width: 100%;
    }

    .search__input {
        width: 100%;
        flex: 1;
        font-size: 16px;
    }

    .search:focus-within .search__input {
        width: 100%;
    }

    .header .phones {
        margin-bottom: 20px;
    }

    .phones {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .phones a {
        font-size: 16px;
    }

    .phones a:hover {
        transform: none;
    }

    .hero {
        height: 560px;
    }

    .hero__title {
        font-size: 36px;
    }

    .categories {
        padding: 80px 0;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .categories__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
    }
}

@media (max-width: 768px) {
    .hero-slider__prev,
    .hero-slider__next {
        display: none !important;
    }
    .contact {
        flex-direction: column;
        gap: 10px;
    }
    .hero {
        height: 420px;
    }

    .hero::before {
        background: rgba(0, 0, 0, 0.4);
    }

    .hero__inner {
        justify-content: center;
    }

    .hero__title {
        text-align: left;
        font-size: 28px;
        max-width: 100%;
    }

    .categories__grid {
        grid-template-columns: 1fr;
    }

    .category-card__img {
        height: 260px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer .footer__copy {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header {
        min-height: 72px;
    }

    .search__input {
        font-size: 14px;
        padding: 8px 10px;
    }

    .phones a {
        font-size: 14px;
    }

    .hero {
        height: 320px;
    }

    .hero__title {
        font-size: 22px;
    }

    .categories {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .category-card__name {
        font-size: 16px;
        margin-top: 14px;
    }

    .categories__cta .categories__cta-btn {
        width: 100%;
        padding: 18px 24px;
        font-size: 16px;
    }

    .footer {
        padding: 40px 0;
    }
}


.search__input::-webkit-search-cancel-button,
.search__input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.search__input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.s-page {
    padding: 40px 0;
}
.contact {
    padding: 40px 0;
    display: flex;
}

.contact__item:first-child {
    max-width: 450px;
}

.contact__item {
    width: 100%;
}

.map {
    width: 100%;
    height: 410px;
    background: var(--red);
    padding: 0;
    margin: 0;
}





.s-catalog {
    padding: 40px 0 80px;
}

.catalog {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.catalog__inner {
    min-width: 0;
    display: flex;
    flex-direction: column;
}



.catalog-sidebar {
    border: 1px solid var(--grey-border);
    background: var(--white);
}

.catalog-sidebar__top {
    width: 100%;
    padding: 16px 20px;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--red);
    color: var(--white);
    border: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
}

.catalog-sidebar__top-text {
    display: block;
}

.catalog-sidebar__top-icon {
    display: none;
}

.catalog-sidebar__inner {
    padding: 12px 0;
}

.catalog-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-sidebar__list--child {
    padding-left: 16px;
}

.catalog-sidebar__item.has-children > .catalog-sidebar__list--child {
    display: none;
}

.catalog-sidebar__item.has-children.is-open > .catalog-sidebar__list--child {
    display: block;
}

.catalog-sidebar__row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-sidebar__toggle {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--black);
    cursor: pointer;
    transition: color var(--transition-base), transform var(--transition-base);
}

.catalog-sidebar__toggle:hover {
    color: var(--red);
}

.catalog-sidebar__toggle-icon {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform var(--transition-base);
}

.catalog-sidebar__item.is-open > .catalog-sidebar__row .catalog-sidebar__toggle-icon {
    transform: rotate(45deg);
}

.catalog-sidebar__item > a,
.catalog-sidebar__row > a {
    display: block;
    flex: 1 1 auto;
    padding: 10px 20px 10px 0;
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.catalog-sidebar__item > a {
    padding-left: 20px;
}

.catalog-sidebar__item a:hover,
.catalog-sidebar__item.is-current > .catalog-sidebar__row > a,
.catalog-sidebar__item.is-current > a {
    color: var(--red);
}

.catalog-sidebar__item.is-open > .catalog-sidebar__row > a {
    font-weight: 600;
}

@media (max-width: 768px) {
    .catalog-sidebar__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    .catalog-sidebar__top-icon {
        display: block;
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform var(--transition-base);
    }

    .catalog-sidebar.is-expanded .catalog-sidebar__top-icon {
        transform: rotate(-135deg);
    }

    .catalog-sidebar:not(.is-expanded) .catalog-sidebar__inner {
        display: none;
    }

    .catalog-sidebar.is-expanded .catalog-sidebar__inner {
        display: block;
    }
}



.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--grey-text);
}

.breadcrumbs a {
    color: var(--black);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--red);
}

.category-name {
    font-size: 36px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--black);
}

.catalog__description {
    margin-bottom: 28px;
    color: var(--black);
    line-height: 1.6;
}

.catalog__description--bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--grey-border);
}

.catalog__empty {
    padding: 24px 0;
    color: var(--grey-text);
}

.categories-tile-outer {
    margin-bottom: 32px;
}

.categories-tile {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.categories-tile_el-content {
    border: 1px solid var(--grey-border);
    background: var(--white);
    height: 100%;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.categories-tile_el-content:hover {
    box-shadow: 0 8px 24px rgba(226, 7, 27, 0.12);
    transform: translateY(-4px);
}

.categories-tile_el-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 20px;
}

.categories-tile_el-image img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.categories-tile_el-name {
    padding: 14px 16px 18px;
    text-align: center;
    border-top: 1px solid var(--grey-border);
}

.categories-tile_el-name a {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.categories-tile_el-name a:hover {
    color: var(--red);
}

.products-list-outer {
    margin-top: 8px;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.products-list_item {
    border: 1px solid var(--grey-border);
    background: var(--white);
    transition: box-shadow var(--transition-base);
}

.products-list_item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.display-table {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    padding: 20px;
}

.products-list_item-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.products-list_item-image img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.products-list_item-placeholder {
    display: block;
    width: 100%;
    min-height: 140px;
    background: #f5f5f5;
}

.products-list_item-title a {
    color: var(--black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.products-list_item-title a:hover {
    color: var(--red);
}

.product-list_item-sku {
    margin-top: 8px;
    font-size: 13px;
    color: var(--grey-text);
}

.products-list_item-bottom {
    margin-top: 16px;
}

.products-list_item-bottom .price {
    font-size: 22px;
    font-weight: 600;
    color: var(--red);
}

.ruble {
    font-weight: 500;
}

.product-card__main {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.product-card__image-large {
    margin: 0;
    border: 1px solid var(--grey-border);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.product-card__image-large img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.product-card__thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.product-card__thumbs a {
    width: 72px;
    height: 72px;
    border: 1px solid var(--grey-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.product-card__thumbs img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card__name {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 16px;
    text-transform: none;
}

.product-card__sku {
    margin-bottom: 16px;
    font-size: 14px;
}

.product-card__sku .hint {
    color: var(--grey-text);
}

.product-card__prices .price {
    display: inline-block;
    font-size: 28px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 20px;
}

.product_features--card {
    margin-top: 0;
}

.product-card__content {
    border-top: 1px solid var(--grey-border);
    padding-top: 28px;
}

.product-card__tab-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--red);
    text-transform: uppercase;
}

.product-card__description {
    color: var(--black);
    font-size: 16px;
    line-height: 1.6;
    max-width: 900px;
}

.product-card__description > *:first-child {
    margin-top: 0;
}

.product-card__description > *:last-child {
    margin-bottom: 0;
}

.product-card__description p {
    margin: 0 0 16px;
}

.product-card__description h2,
.product-card__description h3,
.product-card__description h4 {
    margin: 24px 0 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    text-transform: none;
}

.product-card__description ul,
.product-card__description ol {
    margin: 0 0 16px 20px;
    padding: 0;
}

.product-card__description li {
    list-style: disc;
    margin-bottom: 6px;
}

.product-card__description a {
    color: var(--red);
    text-decoration: underline;
}

.product-card__description a:hover {
    text-decoration: none;
}

.product-card__description img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}

.product-card__description table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.product-card__description th,
.product-card__description td {
    padding: 8px 12px;
    border: 1px solid var(--grey-border);
    vertical-align: top;
}

.product-card__description th {
    background: #f7f7f7;
    font-weight: 600;
    text-align: left;
}

@media (max-width: 1100px) {
    .catalog {
        grid-template-columns: 1fr;
    }

    .categories-tile {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-card__main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .categories-tile {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .display-table {
        grid-template-columns: 1fr;
    }

    .category-name {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .categories-tile {
        grid-template-columns: 1fr;
    }
}




.archive.search {
    flex-direction: column;
}

.catalog__search-meta {
    margin: -12px 0 24px;
    font-size: 14px;
    color: var(--grey-text);
}

.catalog__search-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.catalog__search-empty .catalog__empty {
    padding: 0;
    margin: 0;
}

.catalog__search-form {
    width: 100%;
    max-width: 420px;
}

.catalog__search-form .search__input {
    width: 100%;
    flex: 1 1 auto;
}

.catalog__search-form:focus-within .search__input {
    width: 100%;
}

.catalog__search-back {
    margin: 0;
}

.catalog__search-back a {
    color: var(--red);
    text-decoration: none;
}

.catalog__search-back a:hover {
    text-decoration: underline;
}







.products-list_item-title {
    margin: 0 0 10px
}

.products-list_item-title .rating {
    margin: 0 10px 0 0
}

.products-list_item-stock {
    margin: 0 0 10px
}

.products-list_item-desc {
    font-size: 13px;
    margin: 0 0 10px
}

.product_features {
    font-size: 13px;
    width: 100%;
    line-height: 16px
}

.product_cart-desc .product_features {
    margin: 15px 0 0
}

.product_features td {
    padding: 3px 0;
    border: 0;
    vertical-align: top
}

.product_features-value {
    color: #000;
    padding-left: 7px;
    display: flex;
}

.product_features-value .color {
    margin: 0 5px 2px 0
}

.product_features-value .color-del {
    display: inline-block;
    margin: 0 10px 0 0
}

.product_features-title {
    position: relative
}

.product_features-title:before {
    border-bottom: 1px dashed #b5b5b5;
    left: 0;
    top: 13px;
    right: 5px;
    content: "";
    position: absolute
}

.product_features-title span {
    background: #fff;
    display: inline-block;
    position: relative;
    padding: 0 5px 0 0
}

.products-list_features {
    margin: 0 0 10px
}

.products-list_features .product_features-title {
    width: 350px
}

.product_features-item.divider .product_features-title span {
    color: #000;
    font-weight: 700
}

.product_features-item.divider .product_features-title:before {
    display: none
}

.products-list_item-bottom {
    border-top: 1px solid #e8e8e8;
    margin: 20px 0 0;
    padding: 20px 0 0
}

.products-list_item-bottom-right {
    float: right
}

.products-list_item-bottom-left {
    float: left;
    line-height: 35px
}

.product-list_item-sku {
    margin: 0 0 10px
}

.products-list_item .product_action {
    margin: 0 0 0 10px;
    vertical-align: top
}

.products-list_item .add2cart-wrap {
    margin: 0 0 0 10px
}

.products-list_item .add2cart-btn {
    padding: 0 25px
}

.products-list_item .price {
    font-size: 22px;
    margin: 0 10px 0 0
}

.products-list_item .compare-price {
    font-size: 18px
}

.products-list_item .out-of-stock {
    width: 120px;
    padding: 0 25px
}



.catalog__pagination {
    margin: 32px 0 0;
}

.catalog__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--grey-border);
    color: var(--black);
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.catalog__pagination li:hover .page-numbers {
    color: var(--white);
}
.catalog__pagination li:hover,
.catalog__pagination .page-numbers.current {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.catalog__pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    border-color: transparent !important;
}

.catalog__pagination li {
    list-style: none;
}

.site-main {
    flex: 1 1 auto;
}





.error-404 {
    padding: 60px 0 100px;
}

.error-404__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.error-404__code {
    font-size: clamp(96px, 18vw, 160px);
    font-weight: 600;
    line-height: 1;
    color: var(--red);
    opacity: 0.15;
    margin-bottom: -24px;
    user-select: none;
}

.error-404__title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.error-404__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--grey-text);
    margin-bottom: 32px;
}

.error-404__search {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 32px;
}

.error-404__search .search__input {
    width: 100%;
    flex: 1 1 auto;
}

.error-404__search:focus-within .search__input {
    width: 100%;
}

.error-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.error-404__btn-outline {
    background: transparent;
    color: var(--red);
    border: 1px solid var(--red);
}

.error-404__btn-outline:hover {
    background: var(--red);
    color: var(--white);
}

@media (max-width: 768px) {
    .error-404 {
        padding: 40px 0 80px;
    }

    .error-404__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-404__actions .btn {
        width: 100%;
        text-align: center;
    }
}


.item-request-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.item-request-form input[type="text"],
.item-request-form input[type="tel"],
.item-request-form input[type="email"],
.item-request-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px 12px;
    border: 1px solid #C4C4C4;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.item-request-form input:focus,
.item-request-form textarea:focus {
    /*border-color: #004C95;*/
    outline: none;
}

.item-request-form textarea {
    min-height: 120px;
    resize: vertical;
}

.item-request-form .wpcf7-submit {
    height: 40px;
    padding: 8px 40px;
    border: 1px solid var(--red);
    background: var(--red);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

/* CF7 — сообщения об отправке */
.item-request-form .wpcf7-response-output {
    display: none;
    margin: 20px 0 0;
    padding: 14px 18px;
    max-width: 500px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
    border: 1px solid transparent;
}

.item-request-form .wpcf7 form.sent .wpcf7-response-output,
.item-request-form .wpcf7 form.invalid .wpcf7-response-output,
.item-request-form .wpcf7 form.failed .wpcf7-response-output,
.item-request-form .wpcf7 form.spam .wpcf7-response-output,
.item-request-form .wpcf7 form.unaccepted .wpcf7-response-output {
    display: block;
}

.item-request-form .wpcf7 form.sent .wpcf7-response-output {
    color: #1a6b2e;
    background: #edf7ef;
    border-color: #46b450;
}

.item-request-form .wpcf7 form.invalid .wpcf7-response-output,
.item-request-form .wpcf7 form.unaccepted .wpcf7-response-output {
    color: #8a6d00;
    background: #fffbeb;
    border-color: #f0c020;
}

.item-request-form .wpcf7 form.failed .wpcf7-response-output,
.item-request-form .wpcf7 form.spam .wpcf7-response-output {
    color: var(--red);
    background: #fdeced;
    border-color: var(--red);
}

.item-request-form .wpcf7 form.init .wpcf7-response-output,
.item-request-form .wpcf7 form.submitting .wpcf7-response-output,
.item-request-form .wpcf7 form.resetting .wpcf7-response-output {
    display: none !important;
}

.item-request-form .product-card__tab-title {
    margin-top: 25px;
    margin-bottom: 0;
}
