/* ----------------------------------------
   Базовые стили
---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* --- Light (300) --- */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/css/fonts/Montserrat-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* --- Light Italic (300 Italic) --- */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/css/fonts/Montserrat-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* --- Regular (400) --- */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/css/fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --- Regular Italic (400 Italic) --- */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/css/fonts/Montserrat-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* --- SemiBold (600) --- */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/css/fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: 'Montserrat';
    font-size: 20px;
    line-height: 34px;
    color: #000;
    background: #fff;
     font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a { color: #4f46e5; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }
.hidden {
	display:none;
}
/* Показываем кастомный крестик только тогда, когда пользователь что-то ввел */
input[type="search"]:not(:placeholder-shown)::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: block; /* или inline-block */
    width: 12px;
    height: 12px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23065BAA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
    background-color:transparent;
}
.h1 {
font-weight: 600;
font-size: 40px;
line-height: 80px;
text-transform: uppercase;
color:#434343;
}
.h2 {
	
}
.h3 {
	
}
.t-a-center {
	text-align:center;
}
/* ----------------------------------------
   Header
---------------------------------------- */
.header {
	padding-top:6px;
	box-shadow: 0px 0px 15px 0px #00000017;
}
.h-container{
	background-image: url(/assets/img/crymtop.webp);
    background-repeat: no-repeat;
    background-position: calc(100% - 62px) 10px;
}
.h-topline {
	display:flex;
	align-items: center;
}
.h-top-1 {
font-weight: 300;
line-height: 20px;
letter-spacing: 20%;
color: #949494;
}
.h-top-2 a {
font-size: 17px;
line-height: 100%;
letter-spacing: 0;
color:#000;
    display: inline-block;
}
header svg{
	    fill: #065BAA;
	   
}
.h-top-2 {
	    margin-left: auto;
}
.h-top-3 {
	margin-left: auto;
}
.fav-cart-block {
	border: 1px solid #065BAA;
	display:flex;
	align-items:center;
		justify-content:space-between;
		max-width:152px;
		border-radius:8px;
}
.fav-cart-block div {
	display:flex;
	align-items:center;
	justify-content:center;
	padding:7px 17px;
}
.fav-cart-block svg {
	height:35px;
	    width: 40px;
}
.h-botline{
	display: flex;
    align-items: center;
    margin-top:26px;
    padding-bottom:35px;
}
.h-bot-2{
font-weight: 600;
font-size: 18px;
line-height: 100%;
text-transform:uppercase;
color:#fff;
background-color:#065BAA;
border-radius:7px;
 padding:10px;
 display:flex;
 align-items:center;
 cursor:pointer;
 margin-left:43px;
 margin-right: 48px;
}
.hamburger {
	display:flex;
	flex-direction:column;
	gap: 3px;
	padding-left:32px;
	
}

.hamburger i{
	width:30px;
	height:3px;
	border-radius:90px;
	background:#fff;
	display:block;
}
.h-bot-3{
	 margin-left:auto;
	     width: 100%;
}
.h-bot-3 button,
footer form button{
	     border: 0;
    outline: none;
    background: none;
    display: flex;
    padding-right: 13px;
    height: 34px;
    align-items: center;
    cursor: pointer;
    padding-left: 15px;
}
.h-bot-3 button svg,
footer form button svg
{
	width:13px;
	height:13px;
}
.h-bot-3 form,
footer form{
	border: 1px solid #065BAA;
	border-radius:90px;
	display: flex;
    gap: .75rem;
    align-items:center;
        justify-content: space-between;
}
.h-bot-3 input::placeholder,
footer form input::placeholder{
    color: #065BAA; /* Цвет подсказки */
    opacity: 1;    /* Нужно для корректного отображения в Firefox */
}
.h-bot-3 input,
footer form input{
	border: 0;
    outline: 0;
    background: none;
    padding:10px;
    font-size:12px;
    font-style:italic;
    font-weight:300;
    color:#065BAA;
    width: 100%;
}
.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    text-decoration: none;
   
}

/* ----------------------------------------
   Main и Footer
---------------------------------------- */
main { padding-bottom: 3.31250rem; min-height: 60vh; }

footer {
	background:#002546;
	color:#fff;
	padding:40px 0;
}
.f-container {
	display:flex;
}
.f-disclaimer {
	font-size:10px;
	line-height:14px;
	font-weight:300;
}
.footer-nav {
	
}
.footer-nav h3 {
	font-weight:400;
	font-size:18px;
	line-height:22px;
}
.footer-nav ul {
	list-style:none;
}
.footer-nav ul li a {
	font-weight: 300;
	font-size: 14px;
	line-height: 26px;
	color:#fff;
}
.footer-nav ul li a:hover{
	font-weight:400;
}

footer .contacts-wrapper{
		display: flex;
    flex-direction: column;
    gap: 26px;
    padding-top:20px;
}
footer .contacts-wrapper svg{
    width: 24px;
    height: 24px;
}
footer .contacts-wrapper a {
font-weight: 500;
font-size: 18px;
line-height: 100%;
color:#fff;
white-space: nowrap;
}
.contact-item {
	display:flex;
	align-items:center;
	gap:9px;
	
}
.icon.icon-phone {
	display:flex;
}
.f-col-3-wr {
	display:flex;
	width: 100%;
    justify-content: space-between;
}
footer form {
	border-color:#fff;
	    margin-top: 20px;
}
footer form button svg {
	fill:#fff;
}
footer form input,footer form input::placeholder{ 
	color:#fff;
	font-size:12px;
	font-weight:300;
}
footer input[type="search"]:not(:placeholder-shown)::-webkit-search-cancel-button {
    /* Инвертируем цвет из серого в белый */
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}
.f-col-1 {
	max-width:25%;
	padding-right:30px;
}
.f-col-2 {
max-width:30%;
padding-right:30px;
padding-left:30px;
}
.f-col-3{
	max-width:45%;
	padding-left:30px;
	    width: 100%;
}
/*-----------------------------------------
   HERO
 ----------------------------------------*/
 .hero {max-width:1440px;
 	margin:0 auto;
 }
 .slider-item {
 	position:relative;
 }
 .slider-item-txt {
 	position:absolute;
 	    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
font-weight: 600;
font-size: 50px;
line-height: 80px;
text-align: center;
text-transform: uppercase;
color:#fff;

 }
 .slider-wrap-image{
 	background: #1919191C;

 }
 .slider-wrap-image {
 	z-index:-1;
 }
/* ----------------------------------------
   Пагинация
---------------------------------------- */
.pagination {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.pagination__page,
.pagination__prev,
.pagination__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .6rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: .875rem;
    color: #333;
    text-decoration: none;
    transition: all .15s;
}

.pagination__page:hover,
.pagination__prev:hover,
.pagination__next:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    text-decoration: none;
}

.pagination__page--active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff !important;
    cursor: default;
}

.pagination__dots {
    color: #999;
    padding: 0 .3rem;
}
/* ─── Главное меню ───────────────────────── */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: .95rem;
}
.nav-menu a:hover,
.nav-menu li.active > a {
    color: #4f46e5;
}

/* Дропдаун */
.nav-menu li { position: relative; }
.nav-menu__sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: .25rem 0 0;
    padding: .5rem 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    z-index: 100;
}
.nav-menu__sub a {
    display: block;
    padding: .4rem 1rem;
}
.nav-menu li.has-children:hover > .nav-menu__sub { display: block; }

/* ─── Breadcrumbs ────────────────────────────────────────────── */
.breadcrumbs { margin-bottom: 1.5rem; }

.breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
}
.breadcrumbs__list a span {
	color: #434343;
font-weight: 400;
font-size: 14px;
line-height: 100%;
}
.bc-separator{
	color:#065BAA;
	margin: 0px 6px;
    font-size: 18px;
}

.breadcrumbs__list .bc-last {
	text-decoration: none; 
	pointer-events: none;
	 

}
.breadcrumbs__list  .bc-last span {
	color: #BFBFBF;
}

/*-------------------------------
   about
--------------------------------*/
.about{
	display:flex;
	margin-top: 50px;
	margin-bottom: 82px;
}
.about-block {
                    
}
.about-desc {
	font-weight: 300;
}
.advantages {
	row-gap:15px;
	column-gap:56px;
	flex: 1;         
  display: grid;        
  grid-template-columns: 1fr 1fr;
}
.advantage{
	color:#0158A8;
	display:flex;
	width:180px;
	flex-direction: column;
font-weight: 600;
font-size: 17px;
line-height: 22px;
text-align: center;
    align-items: center;
    justify-content: center;

}
.advantage img{
	padding-bottom:16px;
}
#special {
	margin-bottom:46px;
}
/*****************************
   Carousel
*****************************/
.grid-carousel {
  position: relative;
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  display: block;
}

/* Главный трек */
.carousel-track {
  display: flex;
  gap: var(--gap, 20px);
  width: max-content;
  flex-shrink: 0; /* ВАЖНО: контейнер не должен сжиматься браузером */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Зона рядов */
.carousel-rows-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap, 20px);
  flex-shrink: 0; /* ВАЖНО */
}

.carousel-row {
  display: flex;
  gap: var(--gap, 20px);
  width: max-content;
  flex-shrink: 0; /* ВАЖНО */
   flex: 1 1 0%; 
}
/* Добавьте это в ваш CSS файл */
.row-top-track,
.row-bottom-track {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
/* Добавьте это свойство к вашему классу карточек в CSS */
.carousel-item {
  flex-shrink: 0 !important;
  box-sizing: border-box;
  /* Анимируем изменение ширины одновременно со сдвигом transform */
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
}
/* Декор карточек */
.product-card, .news-card-big {
  width: 100%;
  height: 100%;
  min-height: 180px;
  box-sizing: border-box;
}
.product-card {  background: #fff; }
.news-card-big{ color: white; display:flex; flex-direction:column;}
.first .product-card{
	background: #0052cc; color: white; padding: 20px; display:flex; flex-direction:column;
}
.first .product-card a {
	margin-top:auto;
font-weight: 400;
font-size: 16px;
line-height: 30px;
justify-content: center;
display:flex;
align-items:center;
height:55px;
background:#fff;
color:#0158A8;
border-radius:90px;
max-width:217px;
width:100%;
margin-left:auto;
margin-right:auto;
}
/* Убедитесь, что для десктопа (от 768px и выше) у вас написаны эти свойства */
@media (min-width: 768px) {
  /* Контейнер рядов должен занимать только остаток экрана, не больше */
  .carousel-rows-container {
    display: flex;
    flex-direction: column;
    gap: var(--gap, 20px);
    
    /* Магия: запрещаем контейнеру раздуваться шире выделенного ему места */
    max-width: calc(100% - var(--banner-width, 304px) - var(--gap, 20px));
    width: 100%;
    flex-shrink: 0; 
  }
}
@media (max-width: 767px) {
  /* На мобилке заставляем внутренние ряды выстраиваться в один ряд */
  .carousel-rows-container {
    flex-direction: row !important;
    gap: var(--gap, 20px) !important;
  }
  .carousel-row {
    gap: var(--gap, 20px) !important;
  }
}



/* Стили для неактивных стрелок */
.nav-btn.disabled,
.nav-btn[disabled] {
  opacity: 0.4;             /* Делаем стрелку полупрозрачной */
  cursor: not-allowed;      /* Меняем курсор мыши на запрещающий знак */
  pointer-events: none;     /* Полностью отключаем реакцию на ховеры и клики */
}
/***********
   carousel special - frontpage
***********/

.product-card {
	display:flex;
	flex-direction:column;
	box-shadow: 0px 0px 20px 0px #00000012;
	border-radius: 20px;
}
.product-card-img {
	position:relative;
	background-color:#EFF8FF;
	height:218px;
	border-radius: 20px 20px 0 0;
}
.product-card-img a {
	justify-content: center;
	display: flex;
    align-items: center;
    height: 100%;
}
.product-card-img img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px;
}
 .rating {
	position:absolute;
	right:17px;
	top:13px;
	color:#FFAE00;
	display:flex;
	align-items:center;
	gap:5px;
	font-size: 18px;
	line-height: 14px;
	}
.rating-count {
	font-weight: 400;
	font-size: 12px;
	line-height: 12px;
	text-align: center;
	color:#AFAFAF;
}
.favorite {
	position:absolute;
	left:18px;
	top:11px;
	cursor:pointer;
}
.product-card-img svg{
	display: flex;
    width: 21px;
    height: 18px;
    fill: #0158A8;
}

.product-card-info {
	display:flex;
	flex-direction:column;
	border-radius: 0 0 20px 20px;
	padding: 15px;
flex-grow: 1; 
}
.product-card-info_block,.product-card-price_block {
	display:flex;
	flex-direction:column;
}
.product-card-price_block {
	margin-top:auto;
}
.product-card-title {
	line-height: 16px;
}
.product-card-title a{
font-weight: 600;
font-size: 16px;
line-height: 22px;
color:#303030;
text-decoration:none;
}
.product-card-short{
font-weight: 300;
font-size: 14px;
line-height: 18px;
color:#5D5D5D;
}
.price_addcart-block {
	display:flex;
	    justify-content: space-between;
	align-items: center;
}
.price_block {
	display:flex;
	align-items:flex-end;
	gap:3px;
}
.price-normal {
	display:flex;
	flex-direction:column;
}
.in_stock {
	color:#00A24B;
font-weight: 300;
font-size: 12px;
line-height: 100%;
display:flex;
align-items:center;
gap: 5px;
margin-top:20px;
}
.in_stock .dot {
	display:flex;
align-items:center;
gap: 5px;
}
.in_stock .dot:before{
	content:'';
	width:6px;
	height:6px;
	border-radius:90px;
	background:#00A24B;
	display:block;
}
.in_stock-count {
	font-weight: 600;
}
.price-percent {
font-weight: 600;
font-size: 14px;
line-height: 18px;
color:#FF4242;
margin-bottom: -5px;
    margin-top: 8px;
}
.price-value {

color:#0158A8;
font-weight: 400;
font-size: 20px;
line-height: 22px;
}
.price-value bdi{
font-weight: 700;
font-size: 24px;
}
.price-special {
font-weight: 400;
font-size: 14px;
line-height: 22px;
text-decoration: line-through;
color:#C2C2C2;
}
.addcart_block {
	width:46px;
	height:46px;
	border-radius:90px;
	display:flex;
	align-items:center;
	justify-content:center;
	background:#0158A8;
	cursor:pointer;
	flex-shrink: 0;
}
.addcart_block svg {
	fill:#fff;
	width:31px;
	height: 31px;
}
/* ЛЕВАЯ ЧАСТЬ (Красная, повыше) */
.carousel-nav::before {
   content: '';
    /* До 40% высоты — красная, от 40% до конца — синяя */
    background: linear-gradient(to left, #E3E3E3 40%, #0158A8 40%);
    margin-right:auto;
    height:1px;
    display:flex;
    width:calc(100% - 200px);

}

.nav-btn{
	display:flex;
	align-items:center;
	justify-content:center;
	width:46px;
	height:46px;
	border-radius:90px;
	background:#0158A8;
	color:#fff;
	border: 0;
    outline: 0;
    cursor:pointer;
        font-size: 20px;
}
.carousel-nav {
	 position: relative; /* Важно для точного позиционирования линий */
    display: flex;
    align-items: center;
        gap: 20px;
        margin-bottom:28px;
   
}
/***********
  end carousel special - frontpage
***********/
/*****************
   news-card
*****************/
.news-card {
	border-radius:10px;
	 height: 100%; 
}
.news-card a {
	position:relative;
	z-index:1;
	    height: 100%;
}
.news-card a:before {
	content:'';
	display:block;
	position: absolute;
	width:100%;
	height:100%;
	background: #1A1A1A75;
	    border-radius: 10px;
}
.news-card img {
	    width: 100%;
    height: 100%;
    object-fit: cover;
        border-radius: 10px;
}
.news-card .news-title{
	position:absolute;
	bottom:0;
	width:100%;
	color:#fff;
	display: flex;
	align-items: flex-end;
	gap: 20px;
		padding-left:21px;
	padding-right:10px;
	padding-bottom:32px;
font-weight: 600;
font-size: 18px;
line-height: 22px;

}
.news-card .news-arrow,.inspiration-arrow {
	display:flex;
	align-items:center;
	justify-content:center;
	color:#0158A8;
	width:46px;
	height:46px;
	border-radius:90px;
	background:#fff;
	font-size:20px;
	flex-shrink: 0;
}
.news-card-big .news-arrow {
	width:64px;
	height:64px;
	font-size:28px;
}
.news-card-big .news-title{
font-size: 26px;
line-height: 40px;
gap:32px;
padding-right:26px;
}
/*****************
   end news-card
*****************/
/*******************
   subscribe
   ********************/
/* Контейнер секции */
.subscribe-section {
  background-color: #0158A8; /* Синий цвет фона из макета */
  color: #ffffff;
  margin-top:65px;
  margin-bottom:48px;
  padding-top:20px;
  padding-bottom:55px;
  background-image: url(/assets/img/crym.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 81px) 17px;
}

.subscribe-container {

}

/* Типографика */
.subscribe-title {
font-size: 30px;
    text-transform: uppercase;
    line-height: 50px;
}

.subscribe-subtitle {
  font-size: 20px;
margin-top: 15px;
}

.subscribe-subtitle strong {
  text-transform: uppercase;
}

/* Форма и Fieldset */
.subscribe-form {
  display: flex;
  justify-content: center;
  margin-top:36px;
}

.subscribe-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 36px; /* Расстояние между инпутом и кнопкой */
  width: 100%;
 
}

/* Поле ввода */
.subscribe-input {
  flex-grow: 1;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 10px; /* Скругленные края */
  padding: 18px 30px;
  color: #ffffff;
  font-size: 16px;
  outline: none;
   font-family: 'Montserrat', sans-serif; 
   max-width: 673px;
}
.subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
font-style: italic;
font-weight:400;
font-size: 16px;
line-height: 22px;
}

/* Круглая кнопка со стрелкой */
.subscribe-button {
  width: 56px;
  height: 56px;
  background-color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #005691;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
      font-size: 28px;
}

.subscribe-button:hover {
  opacity: 0.9;
}

/* Скрытие легенды для доступности */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.subscribe-title span{
	text-transform: capitalize;
}
/**********
   inspiration
*********/
.inspiration-card {
background-color: #E8EFF4;
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 26px;
    padding-top: 5px;
    height: 223px;
}
.inspiration-card a {
	    display: flex;
	    flex-direction:column;
    text-decoration:none;
}
.card-image-wrapper {
  height: 146px;
  width: 100%;
}
.inspiration-card img {
	    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}
.inspiration-title {
font-size: 18px;
line-height: 22px;
color:#1F1F1F;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}
/*******************
   catalog
******************/
.hero-catalog {
	display:flex;
	    gap: 20px;
}
.hero-left,
.hero-right {
	width:100%;
	flex:1;
}
.category-description {
	font-weight:300;
}
.catalog-container {
	display:flex;
	gap:20px;
	margin-top: 56px;
}
.catalog-content {
	width:100%;
}
/*sorting*/
/* Контейнер для трех кнопок */
.sorting-form {
  display: flex;
  gap: 12px; /* Расстояние между кнопками */
  margin-bottom: 47px;
}

/* Сама кнопка-обертка */
.sorting-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 160px; /* Настройте ширину под макет */
  padding: 1px 14px;
  border: 1px solid #B9B9B9; /* Серый бордер как на скрине */
  border-radius:7px; /* Скругление */
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

/* Текст внутри кнопки */
.sorting-btn__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #ABABAB; /* Исходный блеклый цвет текста */
}

/* Иконка стрелочки */
.sorting-btn__icon {
  color: #ABABAB;
  margin-left: 8px;
}

/* ХОББИ-ЭФФЕКТ: при наведении */
.sorting-btn:hover {
  border-color: #8E8E93;
}

/* МАГИЯ: Стили для выбранной кнопки */
.sorting-btn input:checked ~ .sorting-btn__text {
  color: #000000; /* Активный текст становится черным (или синим) */
  font-weight: 500;
}

.sorting-btn input:checked ~ .sorting-btn__icon {
  color: #000000; /* Активная стрелочка тоже темнеет */
}

.sorting-btn:has(input:checked) {
  border-color: #000000; /* Активная рамка карточки */
  background-color: #f9f9f9; /* Опционально: легкий фон активной кнопки */
}

/* Вспомогательный класс утилиты для скрытия стандартного радио-кружка */
.visually-hidden {
  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;
}
/*************
   фильтр
**************/
/* Базовые стили для контейнера */
.catalog-filter {
  width: 100%;
  max-width: 278px; /* Адаптивная ширина под макет */
}

.filter {
  background-color: #0056b3; /* Синий цвет из Figma */
  color: #ffffff;
  padding: 30px 24px;
  border-radius: 8px;
}

.filter__title {
font-weight: 600;
font-size: 18px;
line-height: 50px;
}

/* Стилизация аккордеона (details/summary) */
.filter__accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
}

.filter__summary {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none; /* Убираем стандартную стрелку Chrome */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Кастомная стрелка для аккордеона */
.filter__summary::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.filter__accordion[open] .filter__summary::after {
  transform: rotate(-135deg);
}

.filter__summary::-webkit-details-marker {
  display: none; /* Убираем стандартную стрелку Safari */
}

.filter__content {
  padding-top: 14px;
}

/* Списки и группы элементов */
.filter__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Поля ввода цены */
.filter__range {
  display: flex;
  gap: 12px;
}

.filter__input {
  width: 50%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
}

.filter__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Кастомные или стандартные чекбоксы */
.filter__checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
}

.filter__checkbox-label--bold {
  font-weight: 500;
}

.filter__checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
      box-shadow: 0 0 1px 1px #fff;
}

/* Кнопки */
.filter__actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.filter__btn-submit {
  width: 100%;
  background-color: #ffffff;
  color: #0056b3;
  border: none;
  padding: 14px 20px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.filter__btn-submit:hover {
  opacity: 0.9;
}

.filter__btn-reset {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.filter__btn-reset:hover {
  color: #ffffff;
}
/**********
   product card
*********/
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 равные колонки */
  gap: 20px; /* Отступы: 30px между строками, 20px между столбцами */
}
.catalog-grid .price-badge svg,
.poduct-info-block .price-badge svg{
	    width: 9px;
    height: 11px;
}

.catalog-grid .price-badge.price-percent,
.poduct-info-block .price-badge.price-percent{
	font-size:12px;
	margin-top:0;
}
.catalog-grid .price-normal,
.poduct-info-block .price-normal{
	gap: 10px;
	    background: #EFF8FF;
    padding: 12px 16px 9px 7px;
        border-radius: 0 0 0 20px;
        min-height: 63px;
    justify-content: center;
}
.poduct-info-block .price-normal {
	border-radius:0;
}
.catalog-grid .product-card-info{
	    padding-left: 0;
    padding-bottom: 0;
    padding-right: 13px;
        min-height: 206px;
}
.catalog-grid .price_block{
    gap: 5px;
}
.poduct-info-block .price_block{
	background: #EFF8FF;
	 gap: 5px;
}
.catalog-grid .price-special,
.poduct-info-block .price-special{
	margin-bottom: 7px;
}
.catalog-grid .price_addcart-block,
.poduct-info-block .price_addcart-block{
    margin-top: 12px;
}
.catalog-grid .product-card-info_block,.catalog-grid .in_stock{
	padding-left: 18px;
}
.btn-more {
	width: 100%;
    background-color: #0158A8;
    color: #fff;
    border: none;
    padding: 14px 20px;
    height:55px;
    max-width:229px;
    border-radius: 90px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    transition: opacity 0.2s ease;
        margin: 0 auto;
    margin-top: 68px;
    margin-bottom: 75px;
}
/************************
   product slider
*************************/
/* --- ЛЕВАЯ КОЛОНКА (Главный слайд) --- */
.main-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.main-slider-track {
  display: flex;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

.main-slide {
  flex-shrink: 0;
  width: 100%;
}

.main-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Стрелки главного слайда */
.main-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0073ec;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}
.main-prev-btn { left: 15px; }
.main-next-btn { right: 15px; }


/* --- ПРАВАЯ КОЛОНКА (Миниатюры) --- */
.thumbs-viewport {
  position: relative;
  overflow: hidden; /* Отрезает все миниатюры, которые не влезают в рамки высоты главного слайда */
  box-sizing: border-box;
}

.thumbs-track {
  display: flex;
  transition: transform 0.3s ease;
}

.thumb-item {
  flex-shrink: 0; /* Не дает браузеру сплющивать элементы */
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.thumb-item.active {
  opacity: 1;
  border-color: #0073ec;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Картинки сохраняют пропорции узких стульев без искажений */
  display: block;
}

/* Кнопки миниатюр */
.thumb-nav-btn {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: opacity 0.2s;
}

.thumb-nav-btn.hidden {
  opacity: 0;
  pointer-events: none;
}
.right-product-block {
	display:flex;
	position:relative;
}

/* 💻 ДЕСКТОП: Вертикальная лента */
@media (min-width: 768px) {
  /* Контейнер карточки товара */
  .single-product-block {
    display: flex;
    gap: 30px;
  }

  /* Вьюпорт миниатюр */
  .min-gall.thumbs-viewport {
   /* width: 80px;*/
    
    /* 🎯 Динамическая высота строго по размеру слайдера из JS */
    height: var(--main-height, 400px); 
    
    position: relative;
    overflow: hidden; /* Теперь 5-й элемент гарантированно скроется */
  /*  padding: 35px 0;*/  /* Отступы под стрелки */
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .thumbs-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%; /* Занимает всю внутреннюю высоту вьюпорта (за вычетом padding) */
  }

  /* 🎯 Ровно 4 штуки, рассчитываемые самим браузером */
  .thumb-item {
    width: 100%;
    
    /* Идеальная математика: берем 100% внутренней высоты трека, 
       вычитаем 3 промежутка между четырьмя карточками и делим строго на 4 */
    height: calc((100% - (12px * 3)) / 4); 
    
    flex-shrink: 0;
  }

  .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Стрелки */
  .thumb-nav-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
            height: calc((100% - (12px * 3)) / 4);
        width: 100%;
        border-radius: 0;
        border: 0;
  }
  .thumb-prev-btn { top: 0;        transform: translateX(-50%) rotate(-180deg); }
  .thumb-next-btn { bottom: 0; }
  .thumb-next-btn svg,.thumb-prev-btn svg{
  	    height: 32px;
    width: 16px;
  }
  .thumbs-viewport.has-prev {
  	padding-top: calc((100% - (12px * 3)) / 7);
  }
  .thumbs-viewport.has-next {
  	padding-bottom: calc((100% - (12px * 3)) / 7);
  }

}
/* 📱 НАСТРОЙКА ПОВЕДЕНИЯ: МОБИЛКИ (Миниатюры горизонтальные под слайдером, строго 3 штуки) */
@media (max-width: 767px) {
  /* Перестраиваем общую сетку карточки в один вертикальный столбец */
  .single-product-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .left-product-block, 
  .right-product-block {
    width: 100%; /* Занимают всю ширину экрана смартфона */
  }

  /* 🎯 ВЬЮПОРТ МИНИАТЮР (Ограничитель видимости) */
  .min-gall.thumbs-viewport {
    width: 100%;     /* Растягивается по ширине экрана */
    height: auto;    /* Сбрасываем десктопную высоту */
    position: relative;
    overflow: hidden; /* ГАРАНТИРОВАННО отрезает 4-ю и 5-ю миниатюры! */
    /*padding: 0 45px;/  /* Отступы по бокам под стрелки влево/вправо */
    box-sizing: border-box;
  }

  /* ТРЕК (Горизонтальная лента) */
  .thumbs-track {
    display: flex;
    flex-direction: row; /* Строго в линейку */
    gap: 12px;           /* Расстояние между миниатюрами */
    width: 100%;         /* Занимает всю внутреннюю ширину вьюпорта (за вычетом padding) */
  }

  /* 🎯 САМА КАРТОЧКА МИНИАТЮРЫ (Математика на 3 штуки) */
  .thumb-item {
    /* Формула: берем 100% доступной ширины трека, 
       вычитаем 2 промежутка между тремя карточками и делим строго на 3 */
    width: calc((100% - (12px * 2)) / 3) !important; 
    
    /* Автоматическая квадратная высота, чтобы картинки были аккуратными */
   /* aspect-ratio: 1 / 1; */
    
    flex-shrink: 0; /* ЗАПРЕЩАЕМ браузеру сжимать их, чтобы уместить все 5 */
    height: auto !important; /* Сбрасываем десктопную инлайновую высоту */
  }

  .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Позиционирование мобильных стрелок по бокам трека */
  .thumb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: auto; /* Сброс десктопного центрирования */
  }
  .thumb-prev-btn { left: 0; transform: translateY(-50%) rotate(0deg); }
  .thumb-next-btn { right: 0; transform: translateY(-50%) rotate(0deg); }
}
.single-product-block {
	display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3 равные колонки */
  gap: 20px; /* Отступы: 30px между строками, 20px между столбцами */
      max-width: 1170px;
    margin: 0 auto;
}


/* МОДАЛЬНОЕ ОКНО */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px); /* Красивое размытие заднего плана */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

/* Кнопка закрыть */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: #fff;
  font-size: 45px;
  cursor: pointer;
  line-height: 1;
  z-index: 100;
  transition: transform 0.2s;
}
.lightbox-close:hover { transform: scale(1.1); }

/* Вьюпорт и Трек внутри модалки */
.lightbox-viewport {
  width: 90%;
  height: 85%;
  overflow: hidden;
  position: relative;
}

.lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.lightbox-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
}

/* Стрелки внутри модалки */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-nav-btn:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* На мобильных прячем большие стрелки в модалке, там удобнее листать пальцем */
@media (max-width: 767px) {
  .lightbox-nav-btn { display: none; }
  .lightbox-viewport { width: 100%; height: 80%; }
  .single-product-block {
  	    grid-template-columns: none;
  }
}

.poduct-info-block {
    margin-left: 20px;
   
}
.poduct-info-block .in_stock_single svg{
	width:28px;
	fill:#065BAA;
	height: 24px;
}
.in_stock_single .fav-block {
	position:absolute;
	top: 6px;
	right:0;
	cursor:pointer;
}
.in_stock_single {
	display: flex;
    align-items: center;
    
}
.poduct-info-block .price-percent svg {
	width: 9px;
    height: 11px;
}
.poduct-info-block .in_stock {
	margin-top:5px;
}
.poduct-info-block .addcart_block {
	    width: 100%;
    border-radius: 7px;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    height: 55px;
    line-height: 100%;
    margin-top: 4px;
}
.poduct-info-block .price-special {
	padding:0 10px;
}
.poduct-info-block .addcart_block span:nth-of-type(2) {
	font-size:10px;
	color:#E4E4E4;
	font-weight:300;
}
/**/
.specs-list {
  max-width: 400px;
  margin: 0;
  padding: 0;
  line-height: 28px;
    margin-top: 10px;
}

.specs-list__item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.specs-list__item dt {
  color: #A2A2A2;
  margin: 0;
  padding-right: 8px;
  background: #fff; /* Скрывает точки под текстом */
  position: relative;
  z-index: 1;
  font-size: 14px;
}

.specs-list__item dd {
  color: #065BAA;
  font-weight: bold;
  margin: 0;
  font-size: 16px;
  padding-left: 8px;
  background: #fff; /* Скрывает точки под текстом */
  position: relative;
  z-index: 1;
}

/* Создаем линию из точек на заднем плане */
.specs-list__item::after {
  content: "";
  flex-grow: 1;
  border-bottom: 1px dotted #ccc;
  position: relative;
  top: -4px; /* Приподнимаем точки к центру шрифта */
  order: 0;
}
.specs-list__item dt { order: -1; }
.specs-list__item dd { order: 1; }
.product-description-block {
	margin-top: 33px;
}
.product-description p+p{
	margin-top:30px;
}
.subtitle {
	font-size:16px;
	line-height:30px;
	max-width:992px;
	margin:0 auto;
	margin-top:10px;
}
.reviews-list {
	display:flex;
	flex-direction:column;
	gap:30px;
}
.review-item {
	background-color:#EFF8FF;
	border-radius:10px;
	padding:17px;
}
.review-head {
	display:flex;
	    align-items: center;
	    gap:31px;
}
.review-city {
	font-size:18px;
	color:#878787;
}
.review-date {
		font-size:16px;
	color:#808080;
}
.review-rating {
	margin-left:auto;
}
.review-rating .rating{
	position:static;

}
.review-txt{
	color:#474747;
	font-size:15px;
}
.cart-container {
	display: flex;
    flex-wrap: wrap;
  
}
.cart-items {
	max-width: calc(100% - 377px);
}
.cart-items ul {
	list-style: none;
}
.cart-items ul li {
	
}
.cart-item {
	display: flex;
	position:relative;
}
.cart-item .btn-remove {
	position:absolute;
top: 30px;
    right: -5px;
		cursor:pointer;
		    font-size: 14px;
    color: #E31E24;
    font-weight: 400;
    background: none;
    border: 0;
}
.cart-item img {
	    width: 107px;
    height: 107px;
    object-fit: cover;
}
.item-details-wrap {
	display: flex;
	gap: 15px;
	align-items: center;
	flex-shrink: 0;
} 
.item-details {

}
.item-details  h2 a {
		font-size: 20px;
	line-height: 100%;
	font-weight: 500;
	color:#1B1B1B;
}
.item-sku {
	color: #828282;
    font-size: 14px;
    line-height: 100%;
}
.item-quantity {
	    display: flex;
	    gap:3px;
	    margin-left: 15px;
    margin-right: 30px;
      
    align-items: flex-end;
    margin-bottom: 20px;
}
.item-quantity button {
	width:23px;
	height:23px;
	border-radius:100%;
	background:#E3E3E3;
	border:0;
	outline:0;
	cursor:pointer;
	color:#242424;
	font-size:12px;
	    display: flex;
	    align-items:center;
	    justify-content:center;
	    flex-shrink: 0;
}
.item-quantity input {
	color:#8C8C8C;
	font-size:14px;
	line-height: 100%;
	border:0;
	outline:0;
	    width: 23px;
    height: 23px;
    text-align: center;
}
.item-price {
	    display: flex;
    flex-direction: column;
    align-items: stretch;
    column-gap: 20px;

        justify-content: flex-end;
     
        margin-bottom: 15px;
}
.item-price-pr {
	display:flex;
	gap: 20px;
}
.item-price del {
font-weight: 500;
font-size: 16px;
line-height: 30px;
color:#919191;
    display: flex;
    align-items: center;
}
.item-price ins {
font-weight: 700;
font-size: 20px;
line-height: 100%;
color:#065BAA;
text-decoration:none;
    display: flex;
    align-items: center;
}
.cart-item .badge {
	width: 100%;
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    text-transform: uppercase;
    color: #DD0000;
    text-align: right;
}
.cart-summary {
	margin-left: auto;
	    max-width: 377px;
	    width: 100%;
	        background: #EFF8FF;
	        padding-left:12px;
	        padding-top:20px;
	        padding-right:20px;
	        padding-bottom:37px;
	        font-size: 16px;
    line-height: 36px;
}
.cart-summary h2{
	font-weight: 600;
    font-size: 30px;
    line-height: 100%;
    color:#1b1b1b;
        display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom:32px
}
.cart-summary h2 span{
font-weight: 700;
font-size: 26px;
color:#065BAA;
}
.summary-details {
  display: grid;
  grid-template-columns: 1fr auto; /* Левая колонка занимает всё место, правая — по размеру текста */
  color:#434343;
}

.summary-details dd {
  text-align: left; /* Выравнивание текста внутри dd по правому краю */
  margin: 0; /* Сбрасываем стандартные отступы браузера */
      font-weight: 600;
}
.summary-details dd:nth-of-type(1) {
	color:#E31E24;
}
.summary-details dd:nth-of-type(3) {
	color:#065BAA;
}
.btn-order {
	background: #065BAA;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    display: flex;
    height: 55px;
    align-items: center;
    justify-content: center;
    border-radius: 90px;
    margin-top: 85px;
    cursor:pointer;
}
#order-form h2 {
	text-align:center;
	    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 20px;
}
.form-grid {
	    display: flex;
    gap: 21px;
    flex-wrap: wrap;
}
.form-grid .form-group {
	width: 100%;
    max-width: calc(50% - 11px);
}
.form-grid .form-group label {
	
}
.form-grid .form-group input {
	    width: 100%;
    box-shadow: 0px 0px 10px 0px #0000001A;
    border: 0;
    outline: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    padding: 20px 21px;
    border-radius: 10px;
}
.form-grid .form-group input::placeholder,
.form-textarea textarea::placeholder{
	font-family:'Montserrat';
  color: #9A9A9A;
  opacity: 1; /* Ensures Firefox does not make it translucent */
}
.form-grid .form-group select {
	
}



.custom-select {
  position: relative;
  user-select: none;
}

.custom-select__trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
  border-radius:10px;
	font-size:14px;
  box-shadow: 0px 0px 10px 0px #0000001A;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #9A9A9A;
}

.custom-select__trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #cccccc66;
  border-top: none;
  border-radius: 0 0 10px 10px;
  margin-top: -1px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  z-index: 100;
  max-height: 200px; /* Ограничение по высоте, если опций много */
  overflow-y: auto;
}

/* Эффекты при открытии */
.custom-select.open .custom-select__trigger {
  border-radius: 10px 10px 0 0;
}
.custom-select.open .custom-select__trigger::after {
  transform: translateY(2px) rotate(-135deg);
}
.custom-select.open .custom-select__options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  
}

/* Опции */
.custom-select__option {
  display: block;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 14px;
}
.custom-select__option:hover {
  background: #f5f5f5;
}
.custom-select__option.selected {
  background: #e3f2fd;
  color: #1e88e5;
}
.form-textarea {
		width: 100%;
}
.form-textarea textarea{
	width: 100%;
    box-shadow: 0px 0px 10px 0px #0000001A;
    border: 0;
    border-radius:10px;
        padding: 20px 21px;
}
.form-textarea textarea:focus,.form-textarea textarea:hover,
.form-textarea textarea:active,.form-grid .form-group input:focus,
.form-grid .form-group input:active,.form-grid .form-group input:hover,
.custom-select__trigger:hover{
    box-shadow: 0px 0px 10px 2px #0000001A;
    border: 0;
    outline: none;
}
.delivery-info {
	font-size: 16px;
    line-height: 20px;
    margin-top: 25px;
}
.delivery-info h3{
	font-weight: 500;
    font-size: 16px;
        line-height: 30px;
}
.delivery-info ul {
	    padding-left: 27px;
}
.delivery-info ul li{
	    font-style: italic;
    color: #9D9D9D;
    line-height: 30px;
}
.form-agreement label{
	font-size: 14px;
    line-height: 100%;
    color:#ABABAB;
}
.form-agreement label a{
    color:#ABABAB;
}
.btn-submit-main {
	border:0;
	outline:none;
	max-width: 694px;
    width: 100%;
    margin-top:37px;
}
.related-container {
	margin-top:75px;
}
.news-cards{
	    display: grid;
  /* Создает 4 колонки одинаковой ширины */
  grid-template-columns: repeat(4, 1fr); 
  /* Задает одинаковые отступы между карточками (и по горизонтали, и по вертикали) */
  gap: 20px; 
  margin-top:2rem;
}
.news-cards .news-card{

}
.map-block {
		    display: grid;
  /* Создает 4 колонки одинаковой ширины */
  grid-template-columns: repeat(2, 1fr); 
  /* Задает одинаковые отступы между карточками (и по горизонтали, и по вертикали) */
  gap: 20px;
}
.left-block h3 {
	margin-bottom:25px;
}
.contact-list {
	display:flex;
	    align-items: center;
    gap: 5px;
    font-size: 18px;
    line-height: 100%;
}
.contact-list + .contact-list {
margin-top:25px;
	
}

.contact-list svg {
	width:20px;
	height:20px;
}
.tarif-desc {
	margin-top:42px;
	margin-bottom:25px;
}
.tarif-desc ul li{
font-weight: 500;
font-size: 18px;
line-height: 26px;
color:#434343;
margin-bottom:25px;
}
.block-city {
	display:flex;
	flex-wrap:wrap;
	    gap: 20px;
}
.city-item {
	max-width:calc(33% - 10px);
	width:100%;
font-weight: 400;
font-size: 16px;
line-height: 22px;
color:#303030;
display:flex;
    flex-direction: column;
    gap: 50px;
    background-color:#F4FAFF;
    padding:30px 15px;
}
.city-item.w100 {
color:#000;
	flex-direction: row;
	gap: 10px;
}
.city-col {
max-width: 25%;
    width: 100%;
        display: flex;
    flex-direction: column;
    gap: 15px;
}
.city-col .city-item-bl {
	    justify-content: flex-start;
	    gap: 5px;
}
.w100 {
	width:100%;
	max-width:100%;
}
.city-item-bl {
	display:flex;
	justify-content:space-between;
}
.city-item-bl-v {
	font-size:20px;
	font-weight:600;
}
.city-item-bl-k {
	display:flex;
	flex-direction:column;
}
.city-item-bl-k span:nth-of-type(2) {
font-weight: 400;
font-size: 14px;
line-height: 24px;
color:#6C6C6C;
}
.sub-title {
	 background-color:#F4FAFF;
font-weight: 500;
font-size: 30px;
line-height: 40px;
text-transform: uppercase;
padding:32px;
}
.tarif-date p {
	font-size: 18px;
}
.tarif-date p + p {
	margin-top:30px;
}
.tarif-date h3 {
	text-transform:uppercase;
	margin:15px 0;
}
.tarif-date .sub-text {
	color:#717171;
	line-height:30px;
}
.tarif-date hr {
  border: none;               /* Сбрасываем стандартные стили браузера */
  border-top: 1px dashed #C3E2FF; /* Задаем толщину (2px), тип (dashed) и цвет (#ff0000) */
  margin: 35px 0;             /* Отступы сверху и снизу от линии */
}
.btn {
    border: solid 1px #065BAA;
    border-radius: 20px;
    padding: 8px 2rem;
    font-size:14px;
    line-height:100%;
}
.groups-btn-contact{
	margin-top:32px;
	display:flex;
	align-items:center;
	justify-content:space-between;
}
.step-return {
	
}
.step-return .item {
	
}
/*.single-product-block .price_block {
	flex-direction: column;
	align-items: flex-start;
}*/



