.home_tags {
    margin-block: 1.5rem;

    ul {
        display: flex;
        align-items: center;
        /* gap: 1rem; */
        list-style: none;
        padding-left: 0 !important;
        flex-wrap: wrap;

        li {
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 1rem 1rem 0;

            a {
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 1rem;
                box-shadow: 0px 4px 10px rgba(161, 181, 215, 0.25);
                flex-direction: column;
                background: #fff;
                border-radius: 10px;
                min-height: 100%;
                text-decoration: none;
                color: #343434;
                transition: box-shadow 0.25s;
                text-align: center;

                &:hover {
                    background: var(--theme-secondary-color);
                    color: #fff;
                }

                @media(max-width:991.98px) {
                    border-radius: 4px;
                    padding: .5rem .5rem;
                    font-size: 12px;
                }
            }
        }
    }
}

.new-home-text {
    margin-top: -80px;
    margin-bottom: 80px;

    @media(max-width:991.98px) {
        margin-top: -50px;
        margin-bottom: 50px;
    }
}

.new-advantages {
    margin-bottom: 6rem;

    .new-advantages_wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 2rem;

        @media(max-width:991.98px) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: .8rem;
        }
    }

    .advantages-item {
        padding: 1.5rem;
        box-shadow: 0px 4px 10px rgba(161, 181, 215, 0.25);
        display: flex;
        row-gap: 1.4rem;
        flex-direction: column;
        /* justify-content: space-between; */
        background: #fff;
        border-radius: 10px;
        height: 100%;

        .adv-icon {
            display: flex;
            justify-content: center;
            @media(max-width:991.98px) {
                img {
                    width: 35px;
                }
            }
        }

        .adv-title {
            text-align: center;
            font-weight: 600;
            font-size: 22px;
            line-height: 1.1;
            min-height: 73px;
            @media(max-width:991.98px) {
                font-size: 12px;
                min-height: 33px;
            }
        }

        .adv-text {
            text-align: center;
            height: 100%;
            @media(max-width:991.98px) {
                font-size: 10px;
            }
        }

    }
}

@media (min-width: 1200px) {
  .is-header-fixed .header-callback {
    margin-left: 20px;
  }
}

.header_custom-cart {
    display: flex;
    width: 30px;
  height: 30px;
  align-items: center;
  margin-left: 20px;
  position: relative;

  svg {
    width: 30px;
  height: 30px;
    fill: #2aa9d5;
  }

  .header_custom-cart-count {
    position: absolute;
    top: -2px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 18px;
    height: 18px;
    padding: 4px;
    border-radius: 50%;
    background-color: #38d109;
    color: #fff;
    font-size: 11px;
    z-index: 1;

    &.__hidden {
        display: none;
    }
  }
}

.new-btn-to-cart {
    width: 29px;
    height: 29px;
    display: flex;
    margin-left: 16px !important;
    margin-right: 16px !important;
    margin-bottom: 1rem !important;

    svg {
        &:hover {
            color: var(--theme-primary-color);
        }
    }
}

.new-wiev-ic {
    svg {
        height: 29px;
    }
}

.visuallyhidden:not(:focus):not(:active) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/*----inpage form----*/
.inpage_form_box {
    margin-top:40px;
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
}
.inpage_form_box .inpage_form__title {
    margin: 0 0 1rem;
  font-size: 2.8rem;
  line-height: 1.25;
  font-weight: 500;
}
.inpage_form_box .inpage_form__subtitle {
font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 3rem;
}
.inpage_form {
    width:100%;
    display: flex;
    flex-direction: column;
}
.inpage_form .block_1 {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.inpage_form .block_1 .ui-field {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.inpage_form .block_2 {
    display: flex;
    flex-direction: column;
}
.header__row.re {
    gap: 1rem;
}

/* MAIN PAGE MANUFACTURERS CARDS */

.manufacturers-cards {
	margin-bottom: 6rem;
}

.manufacturers-cards__title {
	margin-bottom: 24px;
	font-size: 28px;
	font-weight: 600;
	margin-top: 0px;
}

/* slider wrapper */
.manufacturers-cards__slider {
	position: relative;
}

/* IMPORTANT: убираем обрезания */
.manufacturers-cards__swiper {
	overflow: hidden;
	padding: 0px;
}

/* swiper slide */
.manufacturers-cards__swiper .swiper-slide {
	height: auto;
}

/* ===== Card ===== */

.manufacturer-card {
	display: block;
	height: 100%;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 14px;
	padding: 20px;
	text-decoration: none;
	transition: border-color .25s, box-shadow .25s;
}

.manufacturer-card:hover {
	border-color: #1e88ff;
	box-shadow: 0 6px 8px rgba(30,136,255,.15);
}

/* image */
.manufacturer-card__image {
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.manufacturer-card__image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* content */
.manufacturer-card__content {
	text-align: center;
}

.manufacturer-card__models {
	font-size: 13px;
	color: #7a8a9a;
	margin-bottom: 6px;
}

/* ===== Arrows ===== */

.manufacturers-cards__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e6eef5;
	cursor: pointer;
	z-index: 10;
	transition: background .2s, border-color .2s;
}

.manufacturers-cards__nav:hover {
	background: #1e88ff;
	border-color: #1e88ff;
}

.manufacturers-cards__nav::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid #1e88ff;
	border-right: 2px solid #1e88ff;
	transform: translate(-50%, -50%) rotate(45deg);
}

.manufacturers-cards__nav:hover::after {
	border-color: #fff;
}

.manufacturers-cards__nav--prev {
	left: -22px;
}

.manufacturers-cards__nav--prev::after {
	transform: translate(-50%, -50%) rotate(-135deg);
}

.manufacturers-cards__nav--next {
	right: -22px;
}
/* ===== Card reset for links ===== */

.manufacturer-card,
.manufacturer-card:hover,
.manufacturer-card:focus {
	text-decoration: none;
	color: inherit;
    position: relative;
    z-index: 1;
}

/* name */
.manufacturer-card__name {
	margin: 0 0 6px;
	font-weight: 600;
	color: #1c1c1c;
	transition: color .25s;

}
.manufacturer-card__name-link{
    color: #1c1c1c;
    text-decoration: none !important;
}
.manufacturer-card__name-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;

}
/* hover name */
.manufacturer-card:hover .manufacturer-card__name,.manufacturer-card:hover .manufacturer-card__name-link {
	color: #1e88ff;
}



/* models */
.manufacturer-card__models {
	display: block;
	font-size: 13px;
	color: #7a8a9a;
	margin-bottom: 6px;
}

/* price */
.manufacturer-card__price {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #1e88ff;
}

/* 🔒 страховка от underline у span/p */
.manufacturer-card__name,
.manufacturer-card__models,
.manufacturer-card__price {
	text-decoration: none;
}

details[open] > h2:first-of-type {
    margin-top: 4rem;
}

.text-lower-main-page{margin-bottom: 6rem;}

/* ===== REVIEW BLOCK MAIN PAGE ===== */

.review-shop {
	margin-bottom: 6rem;
}

.review-shop__title {
	margin-bottom: 24px;
	font-size: 28px;
	font-weight: 600;
	margin-top: 0px;
}

/* slider wrapper */
.review-shop__slider {
	position: relative;
}

/* swiper */
.review-shop__swiper {
	overflow: hidden;
	padding: 0;
}

.review-shop__swiper .swiper-slide {
	height: auto;
}

.review-card {
	height: 100%;
	background: #fff;
	border: 1px solid #e6eef5;
	border-radius: 14px;
	padding: 20px 30px;
	display: flex;
	flex-direction: column;
    justify-content: center;
}

.review-card__head {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}

.review-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 12px;
}

.review-card__author {
	margin: 0;
	font-weight: 600;
}

.review-card__location {
	font-size: 13px;
	color: #7a8a9a;
}

.review-card__body p {
	line-height: 1.5;

	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ===== Arrows ===== */

.review-shop__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e6eef5;
	cursor: pointer;
	z-index: 10;
	transition: background .2s, border-color .2s;
}

.review-shop__nav:hover {
	background: #1e88ff;
	border-color: #1e88ff;
}

.review-shop__nav::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid #1e88ff;
	border-right: 2px solid #1e88ff;
	transform: translate(-50%, -50%) rotate(45deg);
}

.review-shop__nav:hover::after {
	border-color: #fff;
}

.review-shop__nav--prev {
	left: -22px;
}

.review-shop__nav--prev::after {
	transform: translate(-50%, -50%) rotate(-135deg);
}

.review-shop__nav--next {
	right: -22px;
}

/* ===== Rating stars ===== */

.review-card__author-row {
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 18px;
}

.review-card__rating {
	display: flex;
	gap: 3px;
}

.review-card__rating .star {
	width: 14px;
	height: 14px;
	display: inline-block;
	background-color: #dbe4ee;
	clip-path: polygon(
		50% 0%,
		61% 35%,
		98% 35%,
		68% 57%,
		79% 91%,
		50% 70%,
		21% 91%,
		32% 57%,
		2% 35%,
		39% 35%
	);
}

.review-card__rating .star.is-active {
	background-color: #f6b400; /* золото */
}

.review-card__subinfo {
	display: flex;
	gap: 8px;
	font-size: 13px;
	color: #7a8a9a;
}

/* ===============================
   OUR WORKS (image cards)
================================ */

.our-works {
	margin-bottom: 6rem;
}

.our-works__title {
	margin-bottom: 24px;
	font-size: 28px;
	font-weight: 600;
	margin-top: 0;
}

/* slider wrapper */
.our-works__slider {
	position: relative;
}

/* swiper */
.our-works__swiper {
	overflow: hidden;
}

/* slide */
.our-works__swiper .swiper-slide {
	height: auto;
}

/* ===== Card ===== */

.our-works-card {
	width: 100%;
	height: 200px; /* 300x200 */
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e6eef5;
	transition: all .25s;
	cursor: pointer;
	padding: 10px;
}

.our-works-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 7px;
}

/* hover */
.our-works-card:hover {
	border-color: #1e88ff;
}


/* ===== Arrows ===== */

.our-works__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e6eef5;
	cursor: pointer;
	z-index: 10;
	transition: background .2s, border-color .2s;
}

.our-works__nav:hover {
	background: #1e88ff;
	border-color: #1e88ff;
}

.our-works__nav::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid #1e88ff;
	border-right: 2px solid #1e88ff;
	transform: translate(-50%, -50%) rotate(45deg);
}

.our-works__nav:hover::after {
	border-color: #fff;
}

.our-works__nav--prev {
	left: -22px;
}

.our-works__nav--prev::after {
	transform: translate(-50%, -50%) rotate(-135deg);
}

.our-works__nav--next {
	right: -22px;
}

.our-works-card,
.our-works-card:hover,
.our-works-card:focus {
	text-decoration: none;
	color: inherit;
	display: block;
}

/* ==============================
   BLOG FEATURED — FULL FIX
   ============================== */

/* ОБЩЕЕ */
.blog-featured {
    margin-top: 0px;
}

.blog-featured__swiper {
    position: relative;
}

/* SWIPER */
.blog-featured .swiper-slide {
    height: auto;
}

.blog-featured .swiper-wrapper {
    align-items: stretch;
}

/* КАРТОЧКА */
.blog-featured__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border-radius: 14px;
	background-color: #fff;
    border: 1px solid #e6eef5;
	transition: all .25s;
}

.blog-featured__item:hover {
    border: 1px solid #1e88ff;
}

/* КАРТИНКА */
.blog-featured__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #f2f2f2;
}

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

/* МЕТА */
.blog-featured__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #888;
    list-style: none;
    padding: 0;
    margin: 12px 0 12px;
    line-height: 1;
}

.blog-featured__meta li {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ФИКС ГЛОБАЛЬНЫХ SVG */
.blog-featured__meta svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px;
    min-height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ЗАГОЛОВОК */
.blog-featured__item-title {
    margin: 0 0 6px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* ← максимум 2 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* АНОНС */
.blog-featured__desc {
    font-size: 14px;
    color: #555;
    text-wrap: pretty;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ХОВЕР */
.blog-featured__item:hover .blog-featured__image img {
    transform: scale(1.04);
}

.blog-featured__image img {
    transition: transform .3s ease;
}

/* КНОПКИ SWIPER */
.blog-featured .swiper-button-prev,
.blog-featured .swiper-button-next {
    position: static;
    width: 40px;
    height: 40px;
}

/* УБРАТЬ СИСТЕМНЫЕ СТРЕЛКИ SWIPER */
.blog-featured .swiper-button-prev::after,
.blog-featured .swiper-button-next::after {
    display: none;
}

/* АДАПТИВ */
@media (max-width: 767px) {
    .blog-featured__desc {
        -webkit-line-clamp: 2;
    }
}

/* ================================
   TABLE styles ONLY for montaj-txt
   ================================ */

.montaj-txt .details__txt {
    max-width: 100%;
}

/* контейнер для горизонтального скролла */
.montaj-txt .scroll-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 12px;
}

/* сама таблица */
.montaj-txt table {
	width: 100%;
	border-collapse: collapse;
	min-width: 600px; /* чтобы не ломалась структура */
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}

/* заголовки */
.montaj-txt thead th {
	background: #f3f6fa;
	font-weight: 600;
	font-size: 15px;
	color: #1f2a37;
	padding: 14px 16px;
	text-align: left;
	border-bottom: 2px solid #e5e7eb;
	white-space: nowrap;
}

/* ячейки */
.montaj-txt tbody td {
	padding: 14px 16px;
	font-size: 14px;
	line-height: 1.45;
	color: #374151;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
}

/* последняя строка без нижней границы */
.montaj-txt tbody tr:last-child td {
	border-bottom: none;
}

/* зебра */
.montaj-txt tbody tr:nth-child(even) {
	background: #f9fafb;
}

/* hover */
.montaj-txt tbody tr:hover {
	background: #eef4ff;
}

/* колонка "Стоимость" (если 2 колонки) */
.montaj-txt table td:last-child,
.montaj-txt table th:last-child {
	text-align: right;
	white-space: nowrap;
	font-weight: 500;
	color: #0f172a;
}

/* ₽ визуально аккуратнее */
.montaj-txt td {
	word-break: break-word;
}

/* MOBILE */
@media (max-width: 768px) {
	.montaj-txt table {
		min-width: 520px;
	}

	.montaj-txt thead th,
	.montaj-txt tbody td {
		padding: 12px;
		font-size: 13px;
	}
}
