:root {
    --primary: #AF242F;
    --text-primary: #1E1E1E;
    --text-light: #F8F8F8;
}

html {
        width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

*, *::before, *::after {
    color: var(--text-primary);
    font-family: "IBM Plex Sans", sans-serif;
}

.container {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 40px;
}

.title-1 {
font-weight: 600;
font-size: 52px;
line-height: 110%;
letter-spacing: 0%;

}

.title-2 {
font-weight: 600;
font-size: 40px;
line-height: 120%;
letter-spacing: 0%;

}

.title-3 {
font-weight: 600;
font-size: 28px;
line-height: 120%;
letter-spacing: 0%;

}

.title-4 {
font-weight: 600;
font-size: 22px;
line-height: 140%;
letter-spacing: 0%;

}

.text-l {
font-weight: 400;
font-size: 18px;
line-height: 150%;
letter-spacing: 0%;

}

.text-m {
font-weight: 400;
font-size: 16px;
line-height: 150%;
letter-spacing: 0%;

}

.text-s {
font-weight: 400;
font-size: 14px;
line-height: 140%;
letter-spacing: 0%;

}

.text-caption {
font-weight: 400;
font-size: 12px;
line-height: 130%;
letter-spacing: 0%;

}

.text-spec {
font-weight: 500;
font-size: 13px;
line-height: 140%;
letter-spacing: 0%;

}

.text-spec-s {
font-weight: 500;
font-size: 12px;
line-height: 130%;
letter-spacing: 4%;

}

.text-label {
font-weight: 500;
font-size: 12px;
line-height: 130%;
letter-spacing: 4%;
text-transform: uppercase;

}

.btn {
font-weight: 500;
font-size: 16px;
line-height: 24px;
letter-spacing: 0%;
padding: 13.5px 0;
width: 100%;
background-color: var(--primary);
color: var(--text-light);
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}

.btn span {
    color: inherit;
}

.btn:hover {
    opacity: 0.8;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #D8D8D8;
    background-color: #F8F8F8;
    cursor: pointer;
}

.slider-arrow svg {
    width: 24px;
    height: auto;
}

.slider-arrow:disabled,
.slider-arrow.disabled {
    opacity: 0.5;
    cursor: initial;
}


@media (max-width: 1080px) {
    .container {
        padding: 0 20px;
    }

    .text-label {
        font-size: 11px;
    }

    .text-l {
        font-size: 16px;
    }

    .text-m {
        font-size: 15px;
    }

    .text-s {
        font-size: 13px;
    }

    .text-spec {
        font-size: 12px;
    }

    .text-spec-s {
        font-size: 11px;
    }

    .title-1 {
        font-size: 32px;
    }

    .title-2 {
        font-size: 26px;
    }

    .title-3 {
        font-weight: 400;
        font-size: 20px;
    }

    .title-4 {
        font-size: 18px;
    }

    .slider-arrow {
        width: 24px;
        height: 24px;
    }

    .slider-arrow svg {
        width: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

.intro__inner {
    width: 100%;
    height: 241px;
    margin-top: 30px;
    

}

.intro__inner .swiper {
    width: 100%;
    height: 100%;
    position: relative;
    border: 1px solid #2A2A2A;
    box-shadow: 0px 4px 4px 0px #00000040;
}

.intro__inner .swiper {
    width: 100%;
    height: 100%;
}

.intro__slide {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 0 51px 0;
    position: relative;
    width: 100%;
    height: 100%;
}

.intro__title {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 570px;
}

.intro__slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    left: 0;
    top: 0;
}

.intro__right,
.intro__left {
    display: none;
}

@media (max-width: 1080px) {
    .intro__right,
    .intro__left {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
		z-index: 2;
    }

    .intro__right {
        left: initial;
        right: 20px;
    }

    .intro__inner .swiper {
        width: calc(100% + 40px);
        margin-left: -20px;
    }

    .intro__title {
        color: #F8F8F8;
        font-size: 26px;
    }

    .intro__slide::after {
        display: block;
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        background: #00000033;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .intro__inner .swiper {
        width: calc(100% + 20px);
        margin-left: -10px;
    }

    .intro__left {
        left: 10px;
    }

    .intro__right {
        right: 10px;
    }
}

.catalog-slider {
    margin-top: 60px;
}

.catalog-slider__inner {
    position: relative;
    
}

.catalog-slider__left,
.catalog-slider__right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
}

.catalog-slider__left {
    left: -22px;
}

.catalog-slider__right {
    right: -22px;
}

.catalog-slide {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.catalog-slide::before {
    display: block;
    content: '';
    position: absolute;
    left: 9px;
    width: calc(100% - 18px);
    height: 112px;
    box-shadow: 0px 4px 4px 0px #00000040;
    background-color: #fff;
}

.catalog-slide__img {
    width: 100%;
    height: auto;
    position: relative;z-index: 3;
}

.catalog-slide__img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    max-height: 130px;
}

.catalog-slide__text {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 3;
    padding: 0 15px;
}

.catalog-slide__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 100%;
    gap: 13px;
}

@media (max-width: 1080px) {
    

    .catalog-slider__left {
        left: 0;
    }

    .catalog-slider__right {
        right: 0;
    }

    .catalog-slide__img {
        width: 100%;
        height: 100px;
    }

    .catalog-slide__img img {
        width: 100%;
        height: 100%;
    }

    .catalog-slide::before {
        width: 100%;
        left: 0;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .catalog-slider {
        margin-top: 40px;
    }
}

.infos {
    margin-top: 60px;
    margin-bottom: 120px;
}

.infos__inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.infos__grid {
    display: grid;
    grid-template-columns: minmax(300px, 488px) minmax(300px, 1fr);
    gap: 20px;
}

.infos__icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 65px;
}

.infos__icon {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    height: 100%;
	
}

.infos__icon img {
    max-height: 61px;
    height: 100%;
    flex-shrink: 0;
    max-width: max-content;
	width: auto;
}
/* 
.infos__icon p {
    white-space: nowrap;
} */

.infos__img {
    filter: blur(3.5999999046325684px);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}



.infos__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.infos__img::after {
    background: #FFFFFFB2;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

.infos__list-title {
    position: relative;
    z-index: 3;
}

.infos__list {
    box-shadow: 0px 4px 4px 0px #00000040;
    position: relative;
    padding: 29px 41px 16px;
    display: flex;
    flex-direction: column;
    gap: 13px;
   
}

.infos__items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
     z-index: 3;
}

.infos__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1080px) {
    .infos__icons {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .infos {
        margin-top: 40px;
        margin-bottom: 60px;
    }

    .infos__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .infos__list {
        width: calc(100% + 20px);
        margin-left: -10px;
        padding: 20px 10px;
    }

    .infos__icon p {
        text-align: center;
        white-space: initial;
    }

    .infos__icon {
        align-items: center;
    }

    .infos__icons {
        gap: 20px;
    }
}

.product-slider__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.product-slider__wrapper {
    position: relative;
}

.product-slider__left,
.product-slider__right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.product-slider__left {
    left: -22px;
}

.product-slider__right {
    right: -22px;
}

.product-card {
    padding: 20px 0;
    height: 100%;
}

.product-card__img {
    width: 100%;
    height: 273px;
    object-fit: contain;
    object-position: center center;
    margin-bottom: 20px;
}

.product-card__title {
    padding: 0 15.5px;
}
.product-card .text-caption {
    margin-top: 10px;
    width: 100%;
    padding: 0 15.5px;
    text-align: center;
}

.product-card__price {
    margin-top: 20px;
    padding: 0 15.5px;
    margin-bottom: 20px;
}

.product-card .btn {
    margin-top: auto;
    width: calc(100% - 31px);
    margin-left: 15.5px;
}

@media (max-width: 1080px) {
    .product-slider__left {
        position: initial;
    }

    .product-slider__right {
        position: initial;
    }

    .product-slider__arrows {
        padding-top: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .product-slider__arrows > * {
        width: 44px;
        height: 44px;
        transform: none;
    }

    .product-slider__arrows > * svg {
        width: 24px;
    }
}

@media (max-width: 768px) {
    .product-card {
        padding: 0;
    }

    .product-card .btn {
        width: 100%;
        margin-left: 0;
    }

    .product-card__title,
    .product-card .text-caption,
    .product-card__price {
        padding: 0;
        text-align: center;
    }

    .product-card__img {
        height: 160px;
    }

    .product-slider__inner {
        gap: 20px;
    }
}

.banner-slider {
    margin-top: 166px;
    margin-bottom: 106px;
    border: 1px solid #AF242F;
    height: 480px;
}

.banner-slider .swiper {
    width: 100%;
    height: 100%;
}

.banner-slider .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.banner-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.banner-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide__content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}


.banner-slide .btn {
    margin-top: 40px;
    width: 100%;
    max-width: 285px;
}

.banner-slide .title-4 {
    margin-top: 20px;
}

.banner-slide__title {
    font-weight: 600;
    font-size: 52px;
    line-height: 110%;
}

.banner-slide__title p {
    margin: 0;
}

.banner-slide__title strong,
.banner-slide__title b {
    color: var(--primary);
}

.banner-slide .container {
    height: 100%;
}

.banner-slide__inner {
    height: 100%;
    position: relative;
}

.banner-slide .title-1 strong,
.banner-slide .title-1 b {
    color: var(--primary);
}

.banner-slide img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 90%;
    object-fit: contain;
    object-position: center center;
  -webkit-mask-image: radial-gradient(circle, black 50%, transparent 100%);
  mask-image: radial-gradient(circle, black 64%, transparent 100%);
}

@media (max-width: 768px) {
    .banner-slide img {
        position: initial;
        width: 100%;
        height: 182px;
    }

    .banner-slider {
        margin-top: 60px;
        margin-bottom: 60px;
        height: auto;
    }

    .banner-slide {
        height: 100%;
        padding: 20px 0;
    }

    .banner-slide__inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .banner-slide .btn {
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    .banner-slide .title-4 {
        margin-top: 10px;
    }
	
	.banner-slider__pagination {
		display: flex;
		justify-content: center;
		margin-bottom: 15px;
	}
	
	.banner-slider__pagination .swiper-pagination-bullet {
		background: #D8D8D8;
		opacity: 1 !important;
	}
	
	.banner-slider__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
		background: #AF242F;
	}
}

.advantages {
    margin-top: 120px;
    margin-bottom: 120px;
}

.advantages__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.advantages__items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    
}

.advantages__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0px 4px 4px 0px #00000026;

    border: 1px solid #2A2A2A;
    background: linear-gradient(135deg, #f0f0f0 0%, #dcdcdc 100%);
    padding: 20px;
}

.advantages__icon {
    width: auto;
    height: 24px;
}

.advantages__icon img {
    height: 100%;
    width: auto;
}

.advantages-card__title {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0px;
    color: var(--primary);
}

@media (max-width: 1080px) {
    .advantages__items {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .advantages__inner {
        gap: 20px;
    }

    .advantages__items {
        grid-template-columns: 1fr;
    }
}

/* ========== ДОСТАВКА И ОПЛАТА ========== */

.dp-hero {
    position: relative;
    padding: 40px 0;
    background-color: #1e1e1e;
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
}
.dp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 24, 40, 0.95) 0%, rgba(16, 24, 40, 0.8) 50%, rgba(16, 24, 40, 0.4) 100%);

}
.dp-hero .container {
    position: relative;
    z-index: 1;
}
.dp-hero .breadcrumbs--light a,
.dp-hero .breadcrumbs--light span {
    color: rgba(255,255,255,0.65);
}
.dp-hero__title {
    color: #fff;
    margin: 0 0 16px;
}
.dp-hero__subtitle {
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    margin: 0;
}

.dp-content {
    padding-bottom: 60px;
}

.dp-section {
    margin-bottom: 60px;
}

/* Заголовок секции с красной полосой слева */
.section-heading {
    border-left: 4px solid var(--primary);
    padding-left: 16px;
    margin: 0 0 32px;
}

/* Карточки методов (оплата / доставка) */
.method-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.method-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #2A2A2A;
    box-shadow: 0px 4px 4px 0px #00000026;
    background: linear-gradient(135deg, #f0f0f0 0%, #dcdcdc 100%);
    padding: 20px;
}
.method-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    background: #F8F8F8;
box-shadow: 0px 2px 4px 0px #0000001A;
    justify-content: center;
    border-radius: 50%;
}
.method-card__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.method-card__title {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
    color: var(--primary);
    margin: 0;
}
.method-card__text {
    color: #444;
    margin: 0;
}

/* Важная информация */
.dp-info {
    padding: 32px 0 0;
    border-top: 1px solid #e7e7e7;
}
.dp-info__title {
    margin: 0 0 16px;
    position: relative;
    padding-left: 20px;
}
.dp-info__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--primary);
}
.dp-info__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dp-info__item {
    color: #444;
}

/* Адаптив */
@media (max-width: 1080px) {
    .method-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .dp-hero {
        padding: 60px 0 48px;
    }
    .method-cards {
        grid-template-columns: 1fr;
    }
}

/* Хлебные крошки (общий) */
.breadcrumbs--light a,
.breadcrumbs--light span {
    color: rgba(255,255,255,0.7);
}

/* ========== О КОМПАНИИ ========== */

/* Герой */
.about-hero {
    padding-bottom: 60px;
}
.about-hero__badge-wrapper {
    width: 100%;
    grid-column: 1 / 3;
    display: flex;
    justify-content: flex-end;
}
.about-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    align-items: center;
}
.about-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.about-hero__badge {
background: #F8F8F8;
border: 1px solid #D8D8D8;
box-shadow: 0px 2px 12px 0px #AF232E1A;
    
    color: var(--primary);
    padding: 4px 12px;
    display: inline-block;
}
.about-hero__title {
    margin: 0;
}
.about-hero__title-accent {
    color: var(--primary);
    font-weight: 700;
}
.about-hero__text {
    color: #555;
    margin: 0;
}
.about-hero__btn {
    max-width: 220px;
}

.about-hero__image {
    border-radius: 2px;
    height: 100%;
    position: relative;
}
.about-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}
@media (min-width: 1280px) {
    .about-hero__image img {
        width: calc((100vw - 1200px) / 2 + 580px);
        max-width: 100vw;
    }
}

/* О нас */
.about-intro {
    padding: 80px 0 20px;
    position: relative;
}
.about-intro::before {
    display: block;
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #af242f;
    filter: blur(6px);
    box-shadow: 0px 4px 4px 0px #AF232E inset;
    left: 0;
    top: 0;
}
.about-intro__text {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
}

.about-intro strong,
.about-intro b {
    color: var(--primary);
}

/* Преимущества без заголовка */
.advantages--no-title {
    margin-top: 60px;
    margin-bottom: 60px;
}
.advantages--no-title .advantages__items {
    grid-template-columns: repeat(4, 1fr);
}

/* Статистика */
.about-stats {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}
.about-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.about-stats__value {
    color: #fff;
    font-weight: 700;
    margin: 0 0 8px;
}
.about-stats__label {
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}



/* Производство */
.about-prod {
    padding: 80px 0;
}
.about-prod__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-prod__gallery {
    height: 100%;
    position: relative;
    width: 100%;
}
.about-prod__photo {
    overflow: hidden;
}
.about-prod__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-prod__photo:first-child {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
}
.about-prod__photo:first-child img {
    position: absolute;

}
@media (min-width: 1280px) {
    .about-prod__photo:first-child img {
        width: calc((100vw - 1200px) / 2 + 580px);
        max-width: 100vw;
        left: calc((100vw - 1200px) / 2 * -1);
    }
}
.about-prod__photo:last-child {
    position: absolute;
    right: 35px;
    top: 10px;
    height: calc(100% - 20px);
    width: auto;
}
.about-prod__photo:last-child img {
    object-fit: contain;
    height: 100%;
    width: auto;
}
.about-prod__photo:first-child:last-child {
    grid-column: 1 / -1;
}
.about-prod__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F8F8F8;
box-shadow: 0px 2px 2px 0px #AF232E1A;

}
.about-prod__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-prod__title {
    margin: 0;
}
.about-prod__text {
    color: #555;
    margin: 0;
}
.about-prod__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.about-prod__list-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.about-prod__list-item svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Процесс */
.about-process {
    padding: 60px 0 120px;
}
.about-process__title {
    text-align: left;
    margin: 0 0 20px;
}
.about-process__subtitle {
    text-align: left;
    color: #6A7282;
    margin: 0 0 60px;
}
.about-process__steps {
    display: flex;
    flex-wrap: nowrap;
    overflow-y: auto;
    gap: 140px;
    justify-content: space-between;
    position: relative;
}

.about-process__steps::-webkit-scrollbar {
  display: none;
}
/* .about-process__steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 1px;
    background: #D8D8D8;
} */
.about-process__lines {
    display: flex;
    width: 100%;
    position: absolute;
    top: 65px;
    padding: 0 195px;
    justify-content: space-between;
}

.about-process__lines span {
    display: block;
    height: 1px;
    width: 100px;
    background: var(--primary);
    filter: blur(4px);
}
.about-process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    width: 195px;
    padding-top: 16px;
}
.about-process__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F8F8;

    border-radius: 50%;
    box-shadow: 0px 2px 2px 0px #AF232E1A;

    position: relative;
    flex-shrink: 0;
    margin-bottom: 10px;
}
.about-process__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.about-process__num {
    position: absolute;
    top: -16px;
    right: -7px;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #F8F8F8;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}
.about-process__step-title {
    font-weight: 500;
    margin: 0;
}
.about-process__step-text {
    color: #6A7282;
    margin: 0;
}

/* ========== ФОРМА ОБРАТНОЙ СВЯЗИ ========== */
.cf-section {
    padding: 60px 0;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}
.cf-card {
    background: #fff;
    display: grid;
    border-radius: 26px;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    gap: 18px;
    padding: 16px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0px 4px 16px 0px #00000026;

}
.cf-card__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background: rgba(255,255,255,0.97);
}
.cf-card__title {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    font-family: "Inter";
}
.cf-card__text {
    color: #555;
    margin: 0;
    font-size: 20px;
}
.cf-card__right {
    background: #fff;
}
.cf-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cf-form__message {
    display: none;
}
.cf-form__message.is-error {
    color: var(--primary);
}
.cf-form__message.is-success {
    color: #2a7d2a;
}
.cf-form__submit {
    margin-top: 4px;
}


/* Адаптив О компании */
@media (max-width: 1080px) {
    .about-hero__inner {
        grid-template-columns: 1fr;
    }
    .about-hero__image {
        height: 100px;
        order: 3;
    }
    .about-hero__badge-wrapper {
        grid-column: initial;
    }
    .advantages--no-title .advantages__items {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-prod__inner {
        display: flex;
        flex-direction: column-reverse;
    }
    .about-process__steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-process__steps::before {
        display: none;
    }
    .cf-card {
        grid-template-columns: 1fr;
    }
    .cf-card__left {
        padding: 32px 28px 24px;
    }
    .cf-card__right {
        padding: 24px 28px 32px;
    }
    .about-prod__gallery {
        height: 381px;
    }
    .about-process__step {
        flex-shrink: 0;
    }
    .about-process__steps {
        gap: 70px;
    }

    .about-process__lines {
        padding: 0 205px;
        width: calc((195px * 4) + (70px * 3));
    }

    .about-process__lines span {
        width: 50px;
        filter: none;
    }

    .about-process {
        padding: 0 0 60px;
    }
}
@media (max-width: 768px) {
    .advantages--no-title .advantages__items {
        grid-template-columns: 1fr;
    }
    .about-stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-process__steps {
        grid-template-columns: 1fr;
    }

    .about-prod__photo:first-child {
        margin-left: -10px;
        width: calc(100% + 20px);
    }
    .about-prod__photo:last-child {
        right: 0;
        bottom: 20px;
        top: initial;
        height: 234px;
    }
    .about-prod__icon {
        width: 24px;
        height: 24px;
    }
}
@media (max-width: 560px) {
    .about-hero__badge {
        width: 100%;
        padding: 16px 0; 
        text-align: center;
    }

    .about-stats__inner {
        grid-template-columns: 1fr;
    }
}


.modal__window .cf-card  {
    padding: 18px;
}

.breadcrumbs {
    padding-top: 20px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog {
    padding-bottom: 120px;
}

.catalog-banner {
    margin-top: 0;
    margin-bottom: 0;
}

.catalog__inner {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px 22px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.category-card__img {
    width: 100%;
    height: 210px;
    background: #FFFFFF;
box-shadow: 0px 4px 4px 0px #00000040;

}

.category-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

@media (max-width: 1080px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding-bottom: 60px;
    }

    .catalog__inner {
        gap: 40px;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .catalog {
        padding-bottom: 60px;
    }
}

/* ========== КАТАЛОГ ========== */

.catalog-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* -- Сайдбар -- */

.catalog-sidebar {
    width: 285px;
    flex-shrink: 0;
}

.sidebar-section {
    margin-bottom: 30px;
    padding: 10px 15px 10px 20px;
    border: 1px solid #D8D8D8;
    box-shadow: 0px 4px 16px 0px #0000001A;

}

.sidebar-section__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 4px;
}

.sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cats__item a {
    display: block;
    padding: 7px 5px;
    font-size: 14px;
    line-height: 140%;
    transition: background 0.15s;
}

.sidebar-cats__item.is-active > a {
    background-color: var(--primary);
    color: var(--text-light);
}



.sidebar-cats--sub {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    padding-left: 15px;
}

/* -- Фильтры -- */

.sidebar-filters {
    border: 1px solid #D8D8D8;
    box-shadow: 0px 4px 16px 0px #0000001A;

    padding: 10px 20px;
}

.sidebar-filters__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.sidebar-filters__reset {
    color: var(--primary);
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid #D8D8D8;
    margin-bottom: 12px;
}

.filter-collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-primary);
    padding: 0;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.filter-group__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* -- Инпуты цены -- */

.price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.price-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #D8D8D8;
    background: #fff;
    padding: 5px 8px;
    gap: 4px;
    flex: 1;
}

.price-prefix {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-sep {
    font-size: 13px;
    color: #888;
    flex-shrink: 0;
}

.price-input {
    width: 100%;
    border: none;
    padding: 0;
    font-size: 14px;
    line-height: 140%;
    text-align: center;
    -moz-appearance: textfield;
}

.price-input::-webkit-inner-spin-button,
.price-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* -- Двойной ценовой слайдер -- */

.price-slider-wrap {
    position: relative;
    height: 20px;
    margin: 4px 0 4px;
}

.price-slider__track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 4px;
    background: #D8D8D8;
    border-radius: 2px;
    pointer-events: none;
}

.price-slider__fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}

.price-slider__input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
    height: 20px;
}

.price-slider__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    pointer-events: all;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--primary);
}

.price-slider__input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    pointer-events: all;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--primary);
}

/* -- Чекбоксы -- */

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    transition: border-color 0.15s, background 0.15s;
}
.filter-checkbox input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.filter-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.sidebar-filters .btn {
    margin-top: 8px;
}

/* -- Основная область -- */

.catalog-main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* -- Топ-бар -- */

.catalog-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-topbar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.catalog-sort select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #D8D8D8;
    padding: 8px 32px 8px 12px;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    font-size: 14px;
    line-height: 140%;
}

.catalog-reset {
    color: var(--primary);
    white-space: nowrap;
}

/* -- Сетка товаров -- */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    display: grid;
    grid-template-rows: auto 1fr auto auto auto;
    padding: 20px 0;
    height: 100%;
    border: 1px solid #D8D8D8;
}

.product-card__img {
    width: 100%;
    height: 200px;
    margin-bottom: 16px;
    overflow: hidden;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-card__title {
    padding: 0 15.5px;
}

.product-card .text-caption {
    margin-top: 6px;
    padding: 0 15.5px;
}

.product-card__price {
    margin-top: 12px;
    padding: 0 15.5px;
    margin-bottom: 16px;
}

.product-card .btn {
    margin-top: auto;
    width: calc(100% - 31px);
    margin-left: 15.5px;
    gap: 8px;
}

/* -- Адаптив каталога -- */

@media (max-width: 1080px) {
    .catalog-layout {
        gap: 24px;
    }

    .catalog-sidebar {
        width: 220px;
    }
}

@media (max-width: 860px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-layout {
        flex-direction: column;
    }

    .catalog-sidebar {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card .btn {
        width: 100%;
        margin-left: 0;
    }

    .product-card__title,
    .product-card .text-caption,
    .product-card__price {
        padding: 0 10px;
    }

    .product-card .btn {
        width: calc(100% - 20px);
        margin-left: 10px;
    }
}


/* -- Мобильный аккордеон сайдбара каталога -- */

.catalog-filter-btn {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #D8D8D8;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    margin-bottom: 12px;
}

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

.sidebar-section__head .sidebar-section__title {
    margin-bottom: 0;
}

.sidebar-section__toggle {
    display: none;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #D8D8D8;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    flex-shrink: 0;
    padding: 0;
}

.sidebar-filters__header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .catalog-sidebar {
        display: none;
        margin-bottom: 16px;
    }

    .catalog-sidebar.is-open {
        display: block;
    }

    .catalog-filter-btn {
        display: flex;
    }

    .sidebar-section__toggle {
        display: inline-flex;
    }

    [data-sidebar-section].is-collapsed .sidebar-collapsible {
        display: none;
    }

    .sidebar-section__head {
        padding-bottom: 4px;
    }
}

/* ========== КНОПКА OUTLINED ========== */

.btn--outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn--outline * {
    color: var(--primary);
}

.btn--outline:hover {
    background: rgba(175, 36, 47, 0.05);
    opacity: 1;
}


/* ========== ПУСТЫЕ СОСТОЯНИЯ ========== */

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 0;
    gap: 16px;
}

.empty-cart__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #D8D8D8;
    margin-bottom: 8px;
}

.empty-cart__text {
    color: #888;
}

.empty-cart__btn {
    max-width: 260px;
    margin-top: 8px;
}


/* ========== ШАГИ ОФОРМЛЕНИЯ ========== */

.checkout-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin: 28px 0 40px;
    position: relative;
}

.checkout-steps__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.checkout-steps__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #D8D8D8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: #B0B0B0;
    transition: background 0.2s, border-color 0.2s;
}

.checkout-steps__label {
    text-align: center;
    color: #B0B0B0;
    white-space: nowrap;
}

.checkout-steps__item.is-active .checkout-steps__circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.checkout-steps__item.is-active .checkout-steps__label {
    color: var(--text-primary);
    font-weight: 500;
}

.checkout-steps__item.is-done .checkout-steps__circle {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.checkout-steps__item.is-done .checkout-steps__label {
    color: #888;
}

.checkout-steps__number {
    display: block;
    color: #fff;
}

.checkout-steps__checkmark {
    display: none;
}

.checkout-steps__item.is-done .checkout-steps__number {
    display: none;
}

.checkout-steps__item.is-done .checkout-steps__checkmark {
    display: block;
}

.page-hero__breadcrumbs--sm {
    margin: 20px 0 0;
    font-size: 14px;
    color: #888;
}

.page-hero__breadcrumbs--sm a {
    color: #888;
}


/* ========== КОРЗИНА ========== */

.cart-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.cart-main {
    flex: 1;
    min-width: 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    background: #F8F8F8;
border: 1px solid #D8D8D8
}

.cart-table thead {
    border-bottom: 1px solid #D8D8D8;
}

.cart-table thead th {
    text-align: left;
    padding: 15px 20px;
    
    white-space: nowrap;
    color: #888;
}

.cart-table thead th:nth-child(2),
.cart-table thead th:nth-child(3),
.cart-table thead th:nth-child(4) {
    text-align: center;
}

.cart-item td {
    padding: 10px 20px;
    vertical-align: middle;
}

.cart-item__img-td {
    width: 88px;
    padding-right: 0 !important;
}

.cart-item__img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.cart-item__info-td {
    padding-left: 12px !important;
}

.cart-item__name {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item__name:hover {
    color: var(--primary);
}

.cart-item__desc {
    color: #888;
}

.cart-item__qty-td {
    text-align: center;
    width: 140px;
}

.cart-item__price-td {
    text-align: center;
    white-space: nowrap;
    width: 130px;
}

.cart-item__unit {
    color: #888;
    margin-top: 4px;
}

.cart-item__remove-td {
    text-align: center;
    width: 100px;
}

/* Qty control */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #D8D8D8;
}

.qty-btn {
    width: 32px;
    height: 36px;
    background: #F8F8F8;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.qty-btn:not(:disabled):hover {
    background: #eee;
}

.qty-input {
    width: 44px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #D8D8D8;
    border-right: 1px solid #D8D8D8;
    font-size: 15px;
    -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Remove button */
.cart-item__remove {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    transition: color 0.15s;
}

.cart-item__remove:hover {
    color: var(--primary);
}

/* Footer */
.cart-table__footer {
    display: flex;
    justify-content: flex-end;
    padding: 8px 0;
}

/* Single product */
.product-page {
    padding-bottom: 80px;
}
.product-page__breadcrumbs {
    padding: 20px 0 24px;
}
.product-page__top {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}
.product-gallery__main {
    border: 1px solid #ececec;
    background: #f8f8f8;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-gallery__thumbs {
    margin-top: 12px;
    position: relative;
}
.product-gallery__thumbs-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.product-thumb {
    border: 1px solid #e4e4e4;
    background: #fff;
    padding: 0;
    height: 88px;
    cursor: pointer;
}
.product-thumb.is-active {
    border-color: #AF242F;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery__nav {
    border: 1px solid #d8d8d8;
    background: #fff;
    width: 28px;
    height: 28px;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.product-gallery__nav--prev { left: -14px; }
.product-gallery__nav--next { right: -14px; }
.product-page__title {
    margin-bottom: 10px;
}
.product-page__short {
    margin-bottom: 12px;
    color: #666;
}
.product-page__price {
    color: #AF242F;
    margin-bottom: 18px;
}
.product-buy-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.product-buy-form__submit {
    min-width: 180px;
}
.product-qty {
    border: 1px solid #d9d9d9;
    display: inline-flex;
    align-items: center;
}
.product-qty__btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
}
.product-qty__btn:disabled {
    opacity: .35;
    cursor: default;
}
.product-qty__input {
    width: 50px;
    height: 34px;
    text-align: center;
    border: 0;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}
.product-qty__input::-webkit-inner-spin-button,
.product-qty__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
.product-advantages {
    border: 1px solid #e7e7e7;
    background: #fff;
    padding: 14px;
    display: grid;
    gap: 10px;
}
.product-advantages__item {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: center;
}
.product-advantages__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.product-advantages__title {
    margin: 0;
    font-weight: 600;
}
.product-advantages__text {
    margin: 2px 0 0;
    color: #666;
}
.product-tabs {
    border: 1px solid #e7e7e7;
    background: #fff;
}
.product-tabs__head {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #e7e7e7;
}
.product-tabs__btn {
    border: 0;
    border-bottom: 2px solid transparent;
    background: #fff;
    padding: 13px 18px;
    cursor: pointer;
    font-size: 15px;
}
.product-tabs__btn.is-active {
    border-bottom-color: #AF242F;
    color: #AF242F;
}
.product-tabs__body {
    padding: 18px;
}
.product-tabs__pane {
    display: none;
}
.product-tabs__pane.is-active {
    display: block;
}
.product-specs {
    width: 100%;
    border-collapse: collapse;
}
.product-specs th,
.product-specs td {
    border: 1px solid #ececec;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.product-specs th {
    width: 240px;
    background: #fafafa;
    font-weight: 500;
}
.product-delivery-payment {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.product-application-list {
    margin: 0;
    padding-left: 18px;
}
.product-application-list li {
    margin-bottom: 8px;
}

/* Short description HTML-список */
.product-page__short ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-page__short li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.product-page__short li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 7px;
}

/* Блок доставки в карточке товара */
.product-delivery-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #e7e7e7;
    background: #fff;
    margin-top: 16px;
    padding: 14px;
}
.product-delivery-info__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.product-delivery-info__right {
    display: flex;
    align-items: center;
}
.product-delivery-info__left .product-delivery-info__item:last-child {
    border-bottom: none;
}
.product-delivery-info__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.product-delivery-info__icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F8F8F8;
    border-radius: 50%;
}
.product-delivery-info__icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    object-position: center center;
}
.product-delivery-info__title {
    font-weight: 500;
    margin: 0;
}
.product-delivery-info__desc {
    color: #888;
    margin: 2px 0 0;
}

/* Вкладка Доставка и оплата — структурированный список */
.product-delivery-payment__title {
    font-weight: 600;
    margin: 0 0 4px;
}
.product-tab-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-tab-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.product-tab-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 7px;
}

@media (max-width: 900px) {
    .product-page__top {
        display: flex;
        flex-direction: column;
    }
    .product-buy-form {
        flex-wrap: wrap;
    }
    .product-delivery-payment {
        grid-template-columns: 1fr;
    }
    .product-delivery-info {
        grid-template-columns: 1fr;
    }
    .product-delivery-info__right {
        margin-top: 24px;
    }
}

.cart-clear-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.cart-clear-btn:hover {
    color: var(--primary);
}

/* Sidebar */
.cart-sidebar {
    width: 380px;
    flex-shrink: 0;
    border: 1px solid #D8D8D8;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #F8F8F8;
    margin-top: 60px;
}

.cart-sidebar__title {
    margin-bottom: 4px;
}

.cart-sidebar__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cart-sidebar__divider {
    border: none;
    border-top: 1px solid #D8D8D8;
    margin: 4px 0;
}

.cart-sidebar__total {
    margin-top: 4px;
}

.cart-sidebar__note {
    color: #888;
    margin-top: -4px;
    text-align: right;
}

.cart-sidebar__notice {
    padding: 12px;
    color: #666;
    margin: 4px 0;
    background: #FFFFFF;
border: 1px solid #AF242F3D
}


/* ========== ЧЕКАУТ ========== */

.checkout-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.checkout-content {
    flex: 1;
    min-width: 0;
}

.checkout-step {
    display: none;
}

.checkout-step.is-active {
    display: block;
}

.checkout-step__subtitle {
    color: #888;
    margin: 8px 0 28px;
}

.checkout-nav {
    display: flex;
    gap: 20px;
    margin-top: 32px;
}

.checkout-nav .btn {
    max-width: 240px;
}

/* Форма */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    color: #364153;
}

.form-required {
    color: var(--primary);
    margin-left: 2px;
}

.form-input-wrap {
    position: relative;
}

.form-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-input-icon--top {
    top: 14px;
    transform: none;
}

.form-input {
    width: 100%;
    border: 1px solid #D8D8D8;
    padding: 11px 14px 11px 40px;
    font-size: 15px;
    line-height: 140%;
    background: #fff;
    transition: border-color 0.15s;
}

.form-input:focus {
    outline: none;
    border-color: #999;
}

.form-input.is-invalid {
    border-color: var(--primary);
}

.form-textarea {
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    transition: border-color 0.15s, background 0.15s;
}
.form-checkbox input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.form-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.form-checkbox input.is-invalid + span {
    color: var(--primary);
}

.form-link {
    color: var(--primary);
    text-decoration: underline;
}

/* Доставка */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.delivery-option {
    display: flex;
    border: 1px solid #D8D8D8;
    padding: 16px 20px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.delivery-option input[type="radio"] {
    flex-shrink: 0;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.delivery-option.is-selected {
    border-color: var(--primary);
}

.delivery-option__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin-left: 12px;
    gap: 12px;
}

.delivery-option__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.delivery-option__title {
    font-weight: 500;
}

.delivery-option__desc {
    color: #888;
}

.delivery-option__icon {
    flex-shrink: 0;
}

.delivery-note {
    color: #888;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

/* Уведомление об оплате */
.checkout-notice {
    display: flex;
    gap: 16px;
    border: 1px solid #D8D8D8;
    padding: 16px 20px;
    margin-bottom: 24px;
    background: #FAFAFA;
}

.checkout-notice__icon {
    flex-shrink: 0;
    padding-top: 2px;
}

.checkout-notice strong {
    display: block;
    margin-bottom: 6px;
}

.checkout-notice .text-s {
    color: #555;
}

/* Итог заказа в подтверждении */
.order-review-box {
    border: 1px solid #D8D8D8;
    padding: 20px;
    margin-bottom: 16px;
}

.order-review-box__title {
    margin-bottom: 12px;
    font-weight: 600;
}

.order-review-box hr {
    border: none;
    border-top: 1px solid #D8D8D8;
    margin: 12px 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
}

.order-review-meta {
    display: flex;
    gap: 40px;
    margin-top: 8px;
}

.order-review-buyer,
.order-review-delivery {
    flex: 1;
}

.order-review-buyer h4,
.order-review-delivery h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.order-review-field {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 4px;
    margin-bottom: 6px;
}

.order-review-field .text-caption {
    color: #888;
    align-self: center;
}


/* ========== PAGE HERO (thank / 404) ========== */

.page-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #111;
}

.page-hero__picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.page-hero__picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #FFFFFF99;

}

.page-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
}

.page-hero__title {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.page-hero__text {
    color: var(--text-primary);
    max-width: 680px;
    margin: 0 auto 32px;
}

.page-hero__btn {
    min-width: 260px;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 380px;
    }

    .page-hero__content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .page-hero__title {
        font-size: 28px;
    }
}


/* ========== АДАПТИВ ========== */

@media (max-width: 1080px) {
    .cart-sidebar {
        width: 100%;
    }

    .cart-layout,
    .checkout-layout {
        flex-direction: column;
    }

    .cart-main {
        width: 100%;
        display: grid;
    }
}

@media (max-width: 768px) {
    .checkout-steps::before {
        display: none;
    }

    .checkout-steps {
        gap: 4px;
    }

    .checkout-steps__label {
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }

    

    .checkout-steps__item {
        flex: initial;
    }

    .checkout-steps {
        justify-content: space-between;
    }

    

    .checkout-steps {
        order: 1;
    }

    .cart-table__footer {
        order: 2;
        margin-bottom: 60px;
        justify-content: flex-start;
        display: flex;
    }

    .cart-table {
        order: 3;
    }

    .cart-sidebar {
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-item {
        display: grid;
        grid-template-columns: 88px 1fr auto;
        grid-template-rows: auto auto;
        gap: 0;
    }

    .cart-item__img-td   { grid-row: 1 / 3; }
    .cart-item__info-td  { grid-column: 2; grid-row: 1; padding-bottom: 0 !important; }
    .cart-item__qty-td   { grid-column: 3; grid-row: 1; text-align: right; }
    .cart-item__price-td { grid-column: 2; grid-row: 2; }
    .cart-item__remove-td { grid-column: 3; grid-row: 2; }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-nav {
        flex-direction: column-reverse;
    }

    .checkout-nav .btn {
        max-width: 100%;
    }

    .order-review-meta {
        flex-direction: column;
        gap: 20px;
    }
}

/* ── Contacts page ── */

.contacts-cards-section {
    padding: 60px 0;
}

.contacts-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    gap: 8px;
}

.contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--primary);
    margin-bottom: 4px;
    flex-shrink: 0;
    box-shadow: 0px 2px 4px 0px #0000001A;

}

.contact-card__icon svg {
    width: 24px;
    height: 24px;
}

.contact-card__label {
    color: #888;
    margin: 0;
}

.contact-card__value {
    margin: 0;
    font-weight: 500;
}

.contact-card__phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-card__phone {
    display: block;
    text-decoration: none;
}

.contact-card__phone:hover {
    color: var(--primary);
}

a.contact-card__value {
    text-decoration: none;
}

a.contact-card__value:hover {
    color: var(--primary);
}

.contacts-map-section {
    padding-bottom: 60px;
}

.contacts-map-section .section-heading {
    margin-bottom: 24px;
    padding-left: 40px;
}

.contacts-map {
    width: 100%;
    height: 440px;
    overflow: hidden;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 1080px) {
    .contacts-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contacts-cards {
        grid-template-columns: 1fr;
    }

    .contacts-cards-section {
        padding: 40px 0;
    }

    .contacts-map {
        height: 300px;
    }
}

/* ── Form labels & errors ── */

.form-label {
    display: block;
    margin-bottom: 6px;
    color: #364153;
    font-weight: 400;
}

.form-label-optional {
    font-weight: 400;
    color: #364153;
}

.form-error {
    display: none;
}

.form-input.is-invalid {
    border-color: #c0392b;
}

/* ── Modal ── */

.modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.modal__window {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.25s;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.modal__window--has-bg .cf-card {
    background: transparent;
    box-shadow: none;
}
.modal__window--has-bg .modal__cf-left {
    background: transparent;
    padding: 0 !important;
}

.modal__window .cf-card__right {
    padding: 20px;
}

@media (max-width: 768px) {
    .modal__window .cf-card__title {
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 600;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0;
    }
    .modal__window .cf-card__text {
        font-size: 18px;
        line-height: 26px;
    }
}

.modal.is-open .modal__window {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.modal__close:hover {
    background: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .modal {
        padding: 0;
        align-items: flex-end;
    }

    .modal__window {
        border-radius: 12px 12px 0 0;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal__close {
        color: var(--text-primary);
        background: rgba(0,0,0,0.08);
    }
}

/* ── Cookie banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: #fff;
    border-top: 1px solid #E8E8E8;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    padding: 20px 0;
    animation: cookieSlideUp 0.3s ease;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cookie-banner__text {
    flex: 1;
    min-width: 0;
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.cookie-banner__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-banner__desc {
    color: #444;
    margin: 0;
}

.cookie-banner__link {
    color: var(--primary);
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 50%;
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Text page */
.text-page {
    padding-top: 32px;
    padding-bottom: 60px;
    max-width: 900px;
}

.text-page__title {
    margin-bottom: 28px;
}

.text-page__content h2,
.text-page__content h3 {
    font-weight: 600;
    margin: 24px 0 10px;
}

.text-page__content p {
    margin-bottom: 14px;
    line-height: 1.7;
}

.text-page__content ul,
.text-page__content ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.text-page__content li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.text-page__content a {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-banner__actions {
        min-width: 0;
    }
}

/* ── Checkout: способ доставки ── */
.checkout-delivery {
    background: #F8F8F8;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.checkout-delivery__title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 16px;
}

.checkout-delivery__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-delivery__option {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: start;
    cursor: pointer;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #E8E8E8;
    border-radius: 6px;
    transition: border-color 0.15s;
}

.checkout-delivery__option:has(input:checked) {
    border-color: var(--primary);
}

.checkout-delivery__option input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    grid-row: 1 / 3;
}

.checkout-delivery__label {
    font-weight: 500;
    font-size: 15px;
}

.checkout-delivery__desc {
    color: #666;
    grid-column: 2;
}

.checkout-delivery__address-wrap {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-delivery__addr-label {
    font-weight: 500;
    font-size: 14px;
}

.checkout-delivery__addr-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.15s;
}

.checkout-delivery__addr-input:focus {
    outline: none;
    border-color: var(--primary);
}

@media (max-width: 600px) {
    .checkout-delivery {
        padding: 16px;
    }
}

/* ── SEO-блок категории ── */
.cat-seo-block {
    margin-top: 40px;
    padding: 28px 32px;
    background: #F8F8F8;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
}

.cat-seo-block__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.cat-seo-block__text {
    color: #444;
}

.cat-seo-block__text p {
    margin-bottom: 10px;
}

.cat-seo-block__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cat-seo-block {
        padding: 20px;
        margin-top: 24px;
    }
}

/* ========== КОРЗИНА — МОБИЛЬНАЯ РАСКЛАДКА ========== */

@media (max-width: 768px) {

    .cart-table,
    .cart-table tbody { display: block; }

    .cart-table thead { display: none; }

    /* Каждая строка превращается в сетку 2-колонки */
    .cart-item {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-areas:
            "img  info"
            "qty  qty"
            "price price"
            "remove remove";
        padding: 16px 12px;
        border-bottom: 1px solid #D8D8D8;
    }

    /* Сброс отступов таблицы */
    .cart-item td { padding: 0; }

    .cart-item__img-td {
        grid-area: img;
        width: auto;
        padding: 0 !important;
        align-self: start;
    }

    .cart-item__info-td {
        grid-area: info;
        padding: 0 0 0 12px !important;
        align-self: center;
    }

    .cart-item__qty-td {
        grid-area: qty;
        padding-top: 14px !important;
        text-align: left;
        width: auto;
    }

    .cart-item__price-td {
        grid-area: price;
        padding-top: 10px !important;
        text-align: center;
        width: auto;
    }

    .cart-item__remove-td {
        grid-area: remove;
        padding-top: 8px !important;
        text-align: center;
        width: auto;
    }

    /* Контрол количества — растянуть на полную ширину */
    .qty-control {
        display: flex;
        width: 100%;
    }

    .qty-btn {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .qty-input {
        flex: 1;
        width: auto;
        height: 44px;
    }

    /* Цена жирнее на мобиле */
    .cart-item__total {
        font-weight: 600;
    }

    .cart-item__remove {
        margin: 0 auto;
    }
}
