/* import */
/* color */
/* mixin */
.br {
  border-radius: 4px;
}

.opacity-img {
  opacity: 0.8;
}

.opacity-btn {
  opacity: 0.8;
}

.link-hover {
  opacity: 0.8;
}

.box-hover {
  box-shadow: 0 0 23px 0 rgba(0, 0, 0, 0.2);
}

/* SERVICES2 */
.services2-news-list__col {
  margin-bottom: 30px;
}

.services2-news-list__item {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  border: 1px solid #ececec;
  background-color: #fff;
}

.services2-news-list__item:hover {
  box-shadow: 0 0 23px 0 rgba(0, 0, 0, 0.2);
}

.services2-news-list__img {
  width: 100%;
  height: auto;
  line-height: 0;
}

.services2-news-list__img-img {
  width: 100%;
  height: auto;
}

.services2-news-list__img-link:hover {
  opacity: 0.8;
}

.services2-news-list__text {
  text-align: center;
  padding: 20px 20px 40px 20px;
}

.services2-news-list__section-name {
  color: #777;
  font-size: 0.8em;
  margin-bottom: 30px;
}

.services2-news-list__title {
  margin: 0 0 15px 0;
  font-size: 1.2em;
}

.services2-news-list__title-link {
  color: #000;
}

.services2-news-list__title-link:hover {
  opacity: 0.8;
}

.services2-news-list__preview {
  font-size: 0.9em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.services2-news-list__param-box {
  margin-bottom: 20px;
}

.services2-news-list__param {
  margin-bottom: 5px;
  font-size: 0.8em;
}

.services2-news-list__param:before {
  content: "\f00c";
  font-family: FontAwesome;
  color: #3bc915;
  padding-right: 3px;
}

.services2-news-list__price {
  font-size: 1.2em;
}

.services2-news-list__price-price {
  display: inline;
  font-size: 1.5em;
}

.services2-news-list__btn-link {
  display: inline-block;
  margin-top: 35px;
  padding: 10px 30px;
}

.services2-news-list__desc-section {
  margin-top: 20px;
}

/* PRODUCTS */
.products-news-list__col {
  margin-bottom: 30px;
}

.products-news-list__item {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  border: 1px solid #ececec;
  background-color: #fff;
}

.products-news-list__item:hover {
  box-shadow: 0 0 23px 0 rgba(0, 0, 0, 0.2);
}

.products-news-list__img {
  width: 100%;
  height: auto;
  line-height: 0;
}

.products-news-list__img-img {
  width: 100%;
  height: auto;
}

.products-news-list__img-link:hover {
  opacity: 0.8;
}

.products-news-list__text {
  text-align: center;
  padding: 20px 20px 40px 20px;
}

.products-news-list__title {
  margin: 0 0 15px 0;
  font-size: 1.1em;
}

.products-news-list__title-link {
  color: #000;
}

.products-news-list__title-link:hover {
  opacity: 0.8;
}

.products-news-list__price {
  font-size: 1.2em;
}

.products-news-list__price-price {
  display: inline;
  font-size: 1.5em;
}

.products-news-list__btn-link {
  display: inline-block;
  margin-top: 35px;
  padding: 10px 30px;
}

.products-news-list__desc-section {
  margin-top: 20px;
}

.detail-content__head {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: stretch;
	margin-top: 8px;
	border: 1px solid #e2e2e2;
	background: #f4f4f4;
}

.detail-content__head h1 {
	margin: 0 0 14px;
	font-family: "Geologica", "Manrope", sans-serif;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.08;
	padding-bottom: unset;
	border-bottom: unset;
	color: #1a1a1a;
}

.detail-content__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px clamp(24px, 4vw, 48px);
}

.detail-content-desc p {
	margin: 0 0 22px;
	max-width: 40ch;
	color: #333;
	font-size: 0.98rem;
	font-family: "Manrope", "Segoe UI", sans-serif;
}

.detail-content-tags ul {
	list-style: none;
	margin: 0 0 24px;
}

.tags-list {
	display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 18px;
    padding: 0;
    list-style: none;
}

.detail-content-tags li {
	position: relative;
    padding-left: 12px;
    color: #6a6a6a;
    font-size: 0.86rem;
    font-weight: 600;
	display: flex;
    align-items: center;  
}

.detail-content-tags li::before {
    content: "";
    position: absolute;
    left: 0;
    width: 5px;
    height: 5px;
    background: #e88900;
}

.detail-content__btn-link {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.detail-content__btn-link a {
	background: #e88900;
    color: #fff;
	display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.detail-content__btn-link a:hover {
	background: #c57400;
}

.detail-content__image {
	position: relative;
	min-height: 280px;
	max-height: 100%;
	overflow: hidden;
	background: #ddd;
}

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

.detail-content-nav {
    top: 68px;
    z-index: 90;
    background: #fff;
}

.detail-content-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    height: 1px;
    background-color: #e2e2e2;
    pointer-events: none;
}

.detail-content-nav ul {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.detail-content__head ul li {
	line-height: unset;
    margin-bottom: unset;
}

.detail-content-nav li {
	line-height: unset !important;
    margin-bottom: unset !important;
}

.detail-content--nav__list a {
    display: block;
    padding: 14px 16px;
    white-space: nowrap;
    color: #6a6a6a;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.detail-content--nav__list a:hover, .detail-content--nav__list a.is-active {
    color: #1a1a1a;
    border-bottom-color: #e88900;
}

.detail-content__description h1,
.detail-content__description h2,
.detail-content__description h3 {
  text-align: center;
  margin: 100px 0 30px 0 !important;
}

.detail-service {
    padding: 64px 0;
}

.detail-content__description div {
  width: 100%;
  padding: 60px;
  background-color: #e3e3e3;
  color: #333;
  line-height: 1.5;
}

.gallery .gallery-desc {
	margin: 0 0 32px;
    max-width: 52ch;
    color: #6a6a6a;
    font-size: 0.98rem;
}

.gallery__items {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.gallery__item {
	aspect-ratio: 1;
	cursor: zoom-in;
	position: relative;
	overflow: hidden;
}

.gallery__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.gallery__image:hover {
	transform: scale(1.04);
	transition: transform 0.3s ease;
}

.main-text.advantages {
    text-align: center;
    margin-bottom: 28px !important;
}

.detail-advantages__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
}

.detail-advantages__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 20px;
    border-right: 1px solid #e2e2e2;
}

.detail-advantages__item:last-child {
    border-right: 0;
}

.detail-advantages__item p {
	margin: 0;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.35;
}

.detail-steps__items {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e2e2e2;
    border: 1px solid #e2e2e2;
    counter-reset: detail-steps__item;
}

.detail-steps__item {
    padding: 28px 22px;
    background: #fff;
    counter-increment: detail-steps__item;
}

.detail-steps__item:before {
    content: "0" counter(detail-steps__item);
    display: block;
    margin-bottom: 14px;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #e88900;
}

.detail-steps__item .detail-steps__title {
    margin: 0 0 8px;
	color: #1a1a1a;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.detail-steps__item .detail-steps__desc {
    margin: 0;
    color: #6a6a6a;
    font-size: 0.9rem;
}

.detail-services__items {
	margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-services__row{
    display: grid;
    gap: 16px;
}

.detail-services__row:nth-child(1) {
    grid-template-columns: 4.2fr 5.8fr;
}

.detail-services__row:nth-child(2) {
    grid-template-columns: 5.8fr 4.2fr;
}

.detail-services__row:nth-child(n+3) {
    grid-template-columns: repeat(3, 1fr);
}

.detail-services__row:nth-child(1) .detail-services__item:nth-child(2) {
    background-color: #FFF5EA;
    border-color: #F0E3D3;
}

.detail-services__row:nth-child(3) .detail-services__item:nth-child(2) {
    background-color: #1f1f1f;
    border-color: #1f1f1f;
}

.detail-services__row:nth-child(3) .detail-services__item:nth-child(2) .detail-services__link,
.detail-services__row:nth-child(3) .detail-services__item:nth-child(2) .detail-services__title {
    color: #ffffff;
}

.detail-services__row:nth-child(3) .detail-services__item:nth-child(3) {
    background-color: #FFF5EA;
    border-color: #F0E3D3;
}

.detail-services__item {
    border: 1px solid #e2e2e2;
    overflow: hidden;
    background: #ffffff;
}

.detail-services__link {
    position: relative;
    min-height: 168px;
    padding: 20px;
    overflow: hidden;
	display: flex;
	transition: 0.2s;
}

.detail-services__link .detail-services__title {
    position: relative;
    z-index: 1;
    color: #1a1a1a;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    max-width: 12ch;
	margin: unset;
}

.detail-services__image {
    position: absolute;
    right: -5px;
    bottom: -10px;
    top: 0;
    width: min(55%, 200px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.detail-services__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.detail-services__image:hover{
    transform: translateY(-4px);
}

.detail-materials__desc {
  text-align: center;
}

.news-detail__secondary-block {
    padding: 64px 0;
}

.fancybox__button--prev,
.fancybox__button--next {
  background: rgba(0, 0, 0, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.fancybox__button--close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.detail-content__detail-materials, .detail-advantages__detail-advantages, .detail-service.detail-review__detail-review, .news-detail__secondary-block.terms {
	background: #f6f6f6;
	box-shadow: 0 0 0 100vmax #f4f4f4;
    clip-path: inset(0 -100vmax);
}

.detail-materials__items {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
    margin-top: 28px;
}

.detail-materials__item {
	border: 1px solid #e2e2e2;
	background: #fff;
}

.detail-materials__picblock {
	aspect-ratio: 1;
	overflow: hidden;
	background: #f6f6f6;
}

.detail-materials__name-block .detail-materials__title {
	margin: unset;
    padding: 10px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
}

.detail-materials__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.production-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #e2e2e2;
    margin-top: 28px;
}

.production-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid #e2e2e2;
}

.production-item__picture {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    overflow: hidden;
}

.production-item__picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.production-item__name {
    margin: 0 0 6px;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.55;
}

.production-item__desc {
    margin: 0;
    color: #6a6a6a;
    font-size: 0.88rem;
    line-height: 1.55;
}

.production-item__desc p {
  font-size: 12px;
}

.news-detail__secondary-block .production-warning {
    margin: 16px 0 0;
    color: #aa0000;
    font-size: 0.88rem;
}

.requirements-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.requirements-item {
    padding: 28px;
    border: 1px solid #e2e2e2;
    background: #fff;
}

.requirements-item__desc {
    margin: 0 0 18px;
    color: #333;
}

.requirements-item__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    background: #e88900;
    color: #fff;
}

.requirements-item__button:hover {
	background: #c57400;
}

.requirements-item:nth-child(2) .requirements-item__button {
    background: transparent;
    border: 1px solid currentColor;
    color: #333;
}

.payments-list {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.payments-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 32%;
}

.payments-item__picture {
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.payments-item__picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payments-item__desc {
  text-align: center;
  flex-direction: column;
  display: flex;
  align-items: center;
}

.payments-item__name {
  text-align: center;
  margin-top: 10px;
  height: 40px;
  font-size: 13px;
  font-weight: 600;
}

.payments-item__desc p {
  font-size: 12px;
}

.delivery-list {}

.delivery-list__selectlist {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.delivery-item__name {
  width: 100%;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0;
  margin-bottom: -1px;
  padding: 9px 25px 10px 25px;
  text-transform: none;
  font-size: 13px;
  line-height: 13px;
  letter-spacing: normal;
  color: #343434;
}

.delivery-item__name:hover {
  cursor: pointer;
}

.delivery-item__name.active {
  background-image: linear-gradient(0.143turn, rgba(64, 0, 0, 1) 0%, rgba(170, 0, 0, 1) 68%);
  color: #fff;
}

.delivery-item__desc {
  margin-top: 20px;
}

.main-text {
	margin: 0 0 10px !important;
	font-family: "Geologica", "Manrope", sans-serif;
	font-size: clamp(1.45rem, 2.2vw, 1.9rem) !important;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: #1a1a1a;
}

.main-text.delivery {
  margin: 0px 0px 10px 0px !important;
}

.main-desc {
  text-align: center;
  margin: 0px 0px 20px 0px !important;
}

.print-types__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.advantage__num {
    color: #e88900;
    font-weight: 700;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 0.85rem;
}

.print-types__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 250px;
  width: 32.5%;
}

.print-types__item:hover {
  cursor: pointer;
  -webkit-box-shadow: -1px 2px 58px -15px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: -1px 2px 58px -15px rgba(34, 60, 80, 0.2);
  box-shadow: -1px 2px 58px -15px rgba(34, 60, 80, 0.2);
}

.print-types__item:hover p {
  color: var(--main-template-color);
}

.print-types__picblock {
  width: auto;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.print-types__text {
  padding: 20px 0px 20px 0px;
}

.print-types__main-text {
  margin: 50px 0px 50px 0px !important;
}

.news-list__title {
  text-align: left;
}

.review-head {
    text-align: center;
    margin-bottom: 28px;
}

.review-head p {
    margin: 8px auto 0;
    max-width: 52ch;
    color: #6a6a6a;
    font-size: 0.98rem;
}

.main-text.review {
    margin: 0 0 10px;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.detail-reviews__title {
    margin: 0;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.detail-reviews__subtitle {
    display: flex;
    gap: 8px;
    margin: 4px 0 0;
    color: #6a6a6a;
    font-size: 0.82rem;
}

.detail-reviews__items {
    counter-reset: detail-reviews__item;
}

.detail-reviews__item {
	flex: 0 0 min(270px, 80vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 340px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e2e2;
	counter-increment: detail-reviews__item;
}

.detail-reviews__item::before {
    content: "# " counter(detail-reviews__item);
    display: block;
    position: absolute;
    right: 15px;
    top: 30px;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #b0b0b0;
}

.detail-reviews__item .detail-reviews__rating {
    display: grid;
    margin: 15px 0;
    padding: 0;
    list-style: none;
}

.stars {
    color: #e88900;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.detail-reviews__item .detail-reviews__text {
    margin: 0;
    color: #333;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-reviews__item .detail-reviews__rating li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    font-size: 0.8rem;
    color: #333;
}

#reviews-track.swiper {
    padding-bottom: 40px !important;
    position: relative;
}

#reviews-track .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    border-radius: 0 !important; /* делает их квадратными */
    background: #d8d8d8 !important; /* цвет неактивных квадратиков */
    opacity: 1 !important;
    margin: 0 4px !important; 
    transition: background-color 0.2s ease;
    cursor: pointer;
    gap: 5px;
}

#reviews-track .swiper-pagination-bullet-active {
    background: #e88900 !important;
}

.detail-related__title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.detail-related__title h2 {
    margin: 0 !important;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 1.05rem !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
	font-weight: 700;
}

.detail-related__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #b8d4cf;
}

.detail-related__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.detail-related__item {
    border: 1px solid #e2e2e2;
    overflow: hidden;
    background: #ffffff;
}

.detail-related__link {
    position: relative;
    min-height: 168px;
    padding: 20px;
    overflow: hidden;
    display: flex;
    transition: 0.2s;
}

.detail-related__icon {
    position: absolute;
    right: -6px;
    bottom: -10px;
    width: min(55%, 200px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}

.detail-related__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.detail-related__label {
    position: relative;
    z-index: 1;
    color: #1a1a1a;
    font-family: "Geologica", "Manrope", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    max-width: 12ch;
    margin: unset;
}


@media (max-width: 1020px) {
	.detail-services__row:nth-child(1),
    .detail-services__row:nth-child(2),
    .detail-services__row:nth-child(n+3) {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

	.gallery__items, .detail-advantages__items, .detail-steps__items, .detail-materials__items, .detail-related__items {
        grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 1000px) {
  .detail-service__picblock {
    height: 200px;
  }

  .detail-services__title {
    margin: 10px 0 10px 0 !important;
    font-size: 16px !important;
  }

  .print-types__item {
    height: 220px;
    width: 31.5%;
  }

  .print-types__picblock {
    width: auto;
    height: 150px;
  }

  .print-types__main-text {
    margin: 30px 0px 33px 0px !important;
  }

  .requirements-item__desc {
    width: 100%;
  }
}



@media (max-width: 760px) {
  .detail-content__head {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }

	.detail-services__row:nth-child(1),
    .detail-services__row:nth-child(2),
    .detail-services__row:nth-child(n+3),
	.detail-related__items {
        grid-template-columns: 1fr;
    }

	.production-list {
	     grid-template-columns: 1fr 1fr;
	}

  .detail-content__text {
    width: 100%;
  }

  .detail-content__head h1 {
    padding-bottom: 0px !important;
    font-size: 26px;
  }

  .detail-content__image {
    width: 100%;
    height: 250px;
  }

  .detail-content__btn-link {
    width: 100%;
  }

  .detail-content__description h1,
  h2,
  h3 {
    font-size: 1.4em !important;
    margin: 50px 0 30px 0 !important;
  }

  .detail-content__detail-materials {
    margin-top: 50px;
  }

  .delivery-list__selectlist {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .delivery-item__desc {
    margin-top: 20px;
    height: 200px;
  }
}

@media(max-width: 550px) {
	.gallery__items, .detail-advantages__items, .detail-steps__items, .detail-materials__items, .production-list, .requirements-list {
        grid-template-columns: 1fr;
    }

  .production-item {
    width: 100%;
  }

  .payments-list {
    display: flex;
    flex-direction: column;
  }

  .payments-item {
    width: 100%;
  }

  .payments-item__name {
    height: unset;
    margin-bottom: 10px;
  }

  .delivery-item__desc {
    height: 250px;
  }

  .detail-services__item {
    width: 100%;
  }


  .print-types__item {
    height: 220px;
    width: 100%;
  }

  .print-types__text {
    padding: 10px 0px 10px 0px;
  }
}

.news-list {
  padding: 20px 0;
}

.news-item {
  height: 320px;
  background: #fff;
  transition: transform 0.3s ease;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.news-item:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-item__image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
  /* Фиксированная высота */
  width: 100%;
}

.news-item__image-wrapper a {
  display: block;
  height: 100%;
  width: 100%;
}

.news-item__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-item__image {
  transform: scale(1.05);
}

.news-item__content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-item__title {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 !important;
}

.news-item__link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.3rem !important;
}

.news-item__link:hover {
  color: #007bff;
}

.news-detail__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.news-detail__textblock {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.news-detail__textblock h1 {
  border-bottom: 0px;
  margin: 0px;
}

.news-detail__img {
  width: 50%;
}

.news-detail__img img {
  width: 100%;
  height: 100%;
}

.news-detail__main-text {
  margin: 100px 0px 50px 0px !important;
}

.detail-news__content h1,
.detail-news__content h2,
.detail-news__content h3 {
  text-align: center;
  margin: 50px 0 20px 0 !important;
}

.detail-news__content div {
  width: 100%;
  padding: 60px;
  background-color: #e3e3e3;
  color: #333;
  line-height: 1.5;
}

.products__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.product__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 23.5%;
}

.product__picblock {
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.product__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.product__title {
  margin: 10px 0 10px 0 !important;
  font-size: 16px !important;
  text-align: center;
}


@media (max-width: 991px) {
  .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575px) {
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width:700px) {
  .product__item {
    width: 31.5%;
  }

  .news-detail__main-text {
    margin: 50px 0px 50px 0px !important;
  }

  .detail-news__content div {
    padding: 30px;
  }

  .news-detail__head {
    display: flex;
    align-items: unset;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .news-detail__textblock {
    width: 100%;
  }

  .news-detail__textblock h1 {
    border-bottom: 0px;
    margin: 0px;
  }

  .news-detail__img {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .products__items {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .product__item {
    width: 100%;
  }
}

.about {
  display: flex;
  flex-direction: column;
}

.about__items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.about__item.reverse {
  flex-direction: row-reverse
}

.about__picblock {
  width: 50%;
  height: 515px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.about__text {
  width: 50%;

}

.about-reviews {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.about-reviews__title {
  text-align: center;
}

.about-reviews__desc {
  width: 56%;
  text-align: center;
}

.about-reviews__maps {
  margin-top: 40px;
  width: -webkit-fill-available;
}

.about-reviews__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.about-reviews__tab {
  color: #222 !important;
  font-weight: 500 !important;
  font-size: 22px;
  cursor: pointer;
  padding-bottom: 12px;
  border-radius: 0px;
  background-color: #FFF;
}

.about-reviews__tab.active {
  border-bottom: 1px solid #222;
}

.about-reviews__item {
  margin-top: 50px;
}

.about-reviews__item .btn-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-reviews__swiper {
  width: -webkit-fill-available;
  height: auto;
}

.swiper-wrapper {
  width: -webkit-fill-available !important;
  height: fit-content !important;
}

.about-reviews__slide {
  background-color: #e6e6e67d;
  border-radius: 12px;
  padding: 40px;
  width: 25.4% !important;
  height: fit-content !important;
}

/* .about-reviews__slide:first-child {
  background-color: #ffffff7d;
  width:325px !important;
} */
.about-reviews__slide__head {
  display: flex;
  align-items: center;
}

.about-reviews__slide__avatar {
  width: 75px;
  height: 75px;
  overflow: hidden;
  margin-right: 32px;
}

.about-reviews__slide__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-reviews__slide__name {
  margin: 0px 0 10px 0 !important;
  margin-bottom: 10px;
}

.about-reviews__description {
  margin: 20px 0px 0px 0px !important;
}

.about-reviews__item__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-reviews__grade {
  font-size: 18px;
  color: #222222 !important;
  font-weight: 500;
  margin: 10px 0 10px 0 !important;
}

.y-reviews {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width:1200px) {
  .about-reviews__slide {
    width: 22.7% !important;
  }
}

@media (max-width: 1000px) {
  .about__picblock {
    height: 300px;
  }

  .about-reviews__slide {
    width: 80% !important;
  }

  .about-reviews__desc {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .about__item {
    display: flex;
    justify-content: unset;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .about__item.reverse {
    flex-direction: column;
  }

  .about__text {
    width: 100%;
  }

  .about__picblock {
    width: 100%;
  }

  .about__title {
    margin: 0px 0 0px 0 !important;
  }

  .about-reviews__title {
    margin: 0px 0 20px 0 !important;
  }

  .y-reviews {
    width: 100% !important;
  }

  .about-reviews__slide {
    width: 84% !important;
    padding: 20px;
  }

  .about-reviews__description {
    font-size: 12px;
  }

  .about-reviews__item {
    margin-top: 20px;
  }

  .about-reviews__slide__name {
    font-size: 18px !important;
  }

  .about-reviews__tab {
    font-size: 18px;
  }

  .about-reviews__item .btn-link {
    text-align: center;
    padding: 14px 22px;
  }

  .about-reviews__btn-link {
    padding: 14px 22px;
  }
}

.news-content-main .news-detail__img {
  width: 100%;
}

.section-personal__img-box a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 316px;
}

.section-personal__img-box a img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.admin-text {
  margin-top: 20px;
}

.client-input-block {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.client-msg-label {
  font-size: 16px;
  font-weight: 600;

}

.client-msg {
  resize: none;
  width: 100%;
  border: 1px solid rgba(170, 0, 0, 1);
  border-radius: 5px;
  height: 100px;
  padding: 9px;
}

.file-upload-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.file-upload-btn {
  background-image: linear-gradient(0.143turn, rgba(64, 0, 0, 1) 0%, rgba(170, 0, 0, 1) 68%);
  height: auto;
  padding: 15px 30px;
  border-radius: 4px;
  color: #f7f7f7 !important;
  letter-spacing: 1px;
  text-decoration: none;
  margin-top: 20px;
}

.file-list {
  margin-left: 0px !important;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-upload-btn_main-text {
  font-size: 16px;
  margin-bottom: -10px !important;
  font-weight: 600;
  color: #FFF !important;
}

.admin-text__warning h1,
.admin-text__warning h2,
.admin-text__warning h3,
.admin-text__warning h4,
.admin-text__warning h5,
.admin-text__warning h6,
.admin-text__warning li,
.admin-text__warning p {
  color: rgba(170, 0, 0, 1);
}

.faq-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.faq-item {
  position: relative;
  width: 100%;
  padding: 25px 30px;
  text-align: left;
  background-color: transparent;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  background-color: #ffffff;
  border-radius: 13px;
}

.faq-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item__name {
  margin: 0px !important;
  width: 90%;
  line-height: 24.2px;
}

.faq-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: margin-top 0.6s ease, max-height 2s ease, opacity 1s ease, overflow 1s ease;
}

.faq-desc.active {
  max-height: fit-content;
  opacity: 1;
}

.faq_icon svg {
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-desc.active {
  display: block;
  transition: 0.8s;
  margin-top: 20px;
}

.badge-container {
  margin-bottom: 20px;
}

@media(max-width: 900px) {
  .faq-item__name {
    font-size: 16px !important;
  }

  .faq-items {
    gap: 10px;
  }

  .badge-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.seo-text {
  margin-top: 100px;
}
.news-detail .catalog-section-tile__item{
  display: flex;
  flex-direction: column;
  justify-content:space-between;
}
.cookie {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  color: white;
  border-radius: 1px;
  padding: 12px;
  position: fixed;
  bottom: 50px;
  z-index: 9999999;
  width: 40%;
  gap:20px;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid #5c0306;
}

.cookie__text {
margin: auto;
}

.cookie__title {
font-weight: bold;
font-size: 18px;
}

.cookie__desc {
font-size: 16px;
color: #000;
}

.cookie__desc>a {
border-bottom: 1px dotted;
}

.cookie__btn>.cookie-btn {
  background-color: white;
  border-radius: inherit;
  font-size: 14px;
  color: #000000;
  padding: 10px 20px;
  border: 0;
  cursor: pointer;
}

@media (min-width: 220px) and (max-width: 640px) {
.cookie {
  margin: 0;
  width: 80%;
  padding: 16px;
  text-align: center;
  gap: 10px;
  flex-direction: column;
}

.cookie__title {
  font-size: 14px;
}

.cookie__desc {
  font-size: 12px;
}

.cookie__btn>.cookie-btn {
  font-size: 12px;
  padding: 10px 20px;
}
}

@media (min-width: 640px) and (max-width: 1200px) {
.cookie {
  width: 90%;

}

.cookie__title {
  font-size: 14px;
}

.cookie__desc {
  font-size: 12px;
}

.cookie__btn>.cookie-btn {
  font-size: 12px;
  padding: 10px 20px;
}
}

@media (min-width: 1200px) and (max-width: 1599px) {
.cookie {
  width: 65%
}

.cookie__title {
  font-size: 16px;
}

.cookie__desc {
  font-size: 14px;
}

.cookie__btn>.cookie-btn {
  font-size: 14px;
  padding: 10px 20px;
}
}

.portfolio{
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.portfolio-item{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.portfolio-item .gallery__item{
  width: 100%;
}
.portfolio-items__gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.portfolio-item__title{
  font-size: 28px;
  font-weight: 600;
  color: #5c0306;
  margin: 0px !important;
  border-bottom: 2px solid #5c0306;
  padding-bottom: 5px;
  width:fit-content;
}

a.portfolio-item__title:hover{
  color: #5c0306;
}
.portfolio-item_description{
  color: #333;
}

.gallery__image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
.fancybox-caption__body{
  font-size: 46px;
}
.portfolio-item__tags{
  display: flex;
  justify-content: space-between;
  background-color: #efefef;
  padding: 5px;
  border-radius: 12px;
  overflow-y: hidden;
  height: 48px;
  transition: 0.5ms;
}
.portfolio-item__tags.active{
  height: fit-content;
}
.portfolio-item__tags.active .portfolio-item__see-more{
  height: fit-content;
}
.portfolio-item__tovars-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 87%;
}
.portfolio-item__tag{
  padding: 10px 20px;
  border-radius: 25px;
  background-image: linear-gradient(0.143turn, rgba(64, 0, 0, 1) 0%, rgba(170, 0, 0, 1) 68%);
  color: #FFF;
  line-height: 140%;
  font-size: 12px;
}
.portfolio-item__see-more{
  background-color: #6d5c5c00;
  cursor: pointer;
  color: #5c0306;
}


@media (max-width:900px) {
  .portfolio-items__gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .fancybox-caption__body {
    font-size: 26px;
  }
}
@media (max-width:500px) {
  .portfolio-items__gallery{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.catalog-wrapper .sidebar-menu__header .sidebar-menu__head {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}


