 
.iconbox:hover a {
    color: #fff;
}

.iconbox a {
    text-decoration: none;
	color: var(--wf-secondary-color);
}

.wp-block-details summary {
    font-weight: 600;
    padding: 10px;
}

.wp-block-latest-comments__comment a {
    text-decoration: none;
}

.wp-block-verse {
    padding: 10px;
}

.wp-block-archives-list a {
    text-decoration: none;
}
.custom-product-thumbnails {
    display: flex;
    gap: 5px;
}

.custom-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}
.general-left-menu{
  display: grid;
  grid-template-columns: 340px 1fr;
  width: 100%;
  max-width: 1408px;
  box-sizing: border-box;
  padding-bottom: 44px;
}
.left-menu-g{
  display: flex;
  background-color: #ff009c;
  color: #FFFFFF;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  height: auto;
  padding: 10px 0 10px 0;
  align-items: center;
  justify-content: center;
  border-radius: 5px 5px 0 0;
  box-sizing: border-box;
}
.left-menu-gs{
  display: flex;
  background-color: #F39639;
  color: #FFFFFF;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  height: auto;
  padding: 10px 0 10px 0;
  align-items: center;
  justify-content: center;
}
.left-menu-item{
  position: relative;
  display: flex;
  background-color: #eee;
  color: #312F2F;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  height:auto;
  padding: 10px 0 10px 0;
  align-items: center;
  border-bottom: 2px solid #FFFFFF; /* Толщина линии, стиль и цвет */
  }
.left-menu-span{
  position: relative;
  margin-left: 15px;
}
.left-menu-item::after {
  content: ""; /* Текст или контент псевдоэлемента */
  position: absolute;
  top: 45%; /* Появится ниже основного элемента */
  left: 60%;
  transform: translateX(-1050%);
  background-color: var(--wf-main-color); /* Фон всплывающего элемента */
  padding: 5px 10px; /* Отступы */
  border-radius: 5px; /* Сглаживание углов */
  white-space: nowrap; /* Не переносить текст */
  opacity: 0; /* Изначально невидим */
  visibility: hidden; /* Скрыт от взаимодействий */
  clip-path: polygon(
                calc(50% - 5px) calc(50% - 5px), /* Верхний левый угол квадрата */
                calc(50% + 5px) calc(50% - 5px), /* Верхний правый угол */
                calc(50% + 5px) calc(50% + 5px), /* Нижний правый угол */
                calc(50% - 5px) calc(50% + 5px)  /* Нижний левый угол */
            );
}
.left-menu-item::before{
  content: ""; /* Текст или контент псевдоэлемента */
  position: absolute;
  top: 45%;                /* Появится ниже основного элемента */
  left: 39%;
  transform: translateX(950%);
  background-color: var(--wf-main-color);   /* Фон всплывающего элемента */
  padding: 5px 10px;        /* Отступы */
  border-radius: 5px;       /* Сглаживание углов */
  white-space: nowrap;      /* Не переносить текст */
  opacity: 0;               /* Изначально невидим */
  visibility: hidden;       /* Скрыт от взаимодействий */
  clip-path: polygon(
                calc(50% - 5px) calc(50% - 5px), /* Верхний левый угол квадрата */
                calc(50% + 5px) calc(50% - 5px), /* Верхний правый угол */
                calc(50% + 5px) calc(50% + 5px), /* Нижний правый угол */
                calc(50% - 5px) calc(50% + 5px)  /* Нижний левый угол */
            );
}
.left-menu-item:hover::after,
.left-menu-item:hover::before {
  opacity: 1;               /* Делает элемент видимым */
  visibility: visible;
  color: #FFFFFF;
}
.left-menu-span:hover{
  color: #FFFFFF;
}

.letter{
  width: 100%;
  max-width: 1481px;
  box-sizing: border-box;
  padding: 0px 44px 0px 44px;
  overflow: hidden;
  padding-right: 0px;
  padding-left: 36px;
}
.general-left{
  width: 100%;
  box-sizing: border-box;
}
.catalog{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  max-width: 1390px;
  width: 100%;
  gap: 44px;
  box-sizing: border-box;
}
.catalog-element {
  display: flex;
  max-width: 660px;
  width: 100%;
  padding-bottom: 44px;
  border-bottom: thick double #D9D9D9;
}
.general-catalog-element{
  display: grid;
  max-width: 660px;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  grid-template-rows: auto auto auto auto auto;
}
.general-catalog-element-title {
  display: flex;
  padding: 10px 20px;
  width: auto;
  max-width: 660px;
  align-items: center;
  justify-content: center;
  background-color: #aba9a9;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 26px;
  font-weight: 500;
}
.general-catalog-element-o{
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 5px;
}
.general-catalog-element-s1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-right: 5px;
  margin-top: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #aba9a9;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 26px;
  font-weight: 500;
}
.general-catalog-element-s2 {
  display: grid;
  align-items: end;
  max-width: 318px;
  width: 100%;
  margin-top: 5px;
  cursor: pointer;
  font-size: 26px;
  font-weight: 400;
}
.general-catalog-element-t{
  display: flex;
  width: 100%;
  height: auto;
  max-width: 651px;
  gap: 5px;
  border-radius: 5px; /* Округление слева */
  box-sizing: border-box;
}
.general-catalog-element-t1{
  display: grid;
  width: 100%;
  height: auto;
  margin-top: 5px;
  padding-right: 5px;
  align-items: center;
  justify-content: center;
  max-width: 320px;
  border-radius: 5px; /* Округление слева */
}
.general-catalog-element-t2{
  display: grid;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 5px;
  font-size: 18px;
  font-weight: 400;
  max-width: 320px;
  width: 100%;
  margin-top: 5px;
  padding-right: 5px;
  box-sizing: border-box;
}
.general-catalog-element-th{
  display: grid;
  justify-items: center; /* Центрирование по горизонтали */
  align-items: center; /* Центрирование по вертикали */
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 651px;
  gap: 5px;
}
.general-catalog-element-th1{
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 315px;
  width: 100%;
  margin-right: 5px;
  margin-top: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #F39639;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 28px;
  font-weight: 500;
}
.general-catalog-element-th2 {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 315px;
  width: 100%;
  margin-top: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #aba9a9;
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 28px;
  font-weight: 500;
}

.cvet-karkasa{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	gap: 10px;
	justify-content: center;
	padding: 20px;
}

.kalkulyator-monokosour{
	display:grid;
	grid-template-columns: 2fr 1fr;
	padding: 20px;
	text-align: center;
	width: 80%;
}

.kalkulyator-monokosour-podstupenki{
	display: flex;
	flex-wrap: wrap;
	height:70%;
	gap: 10px;
	justify-content: center;
}
.kalkulyator-monokosour-podstupenki-1 {
	flex: 0 0 auto;
	cursor: pointer;
	height: fit-content;
}
.kalkulyator-monokosour-podstupenki-1 img {
  display: block;
  width: auto;
  max-height: 70px; /* или нужная тебе высота */
  height: auto;
}

.kalkulyator-monokosour-podstupenki-1.active {
  outline: 2px solid #ff009c;
  border-radius: 4px;
}

.cvet-karkasa-detalno img{
	border-radius: 5px;
}
.cvet-karkasa-description{
	display: flex;
	justify-content: center;
}

.configurator-lestnic {
	display: grid;
    gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    margin: 5px;
}
.row-configurator { padding: 5px 5px; }
.cell-configurator { padding: 5px 5px; text-align: center; }
.img-karkas-configurator {width: 70%; height: 70%;}
.img-karkas-configurator:hover {border: 3px solid #ff009c; border-radius: 10px; transition-duration: 0.05s;}
.img-configurator {width: 70%; height: 70%; transition-duration: 0.05s;}
.img-configurator:hover {border: 3px solid #ff009c; border-radius: 80px;}
.configurator-fences {
	display: grid;
    gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 5px;
}
.img-fences-configurator {width: 100%; height: 100%;}
.img-fences-configurator:hover {border: 2px solid #ff009c; border-radius: 100px; transition-duration: 0.05s;}
.text-configurator {margin-bottom:5px; margin-top:5px;}

.final-image-lestnica{
	max-width: 100%;
	margin-top: 20px;
}
.page-contacts-g{
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.page-contacts-order-p{
	margin: 0 0 0.1rem;
}
.h4-contacts{
	font-size: 2.0rem;
	padding-bottom: 15px;
}

@media (max-width: 700px) {
.page-contacts-g{
	grid-template-columns: 1fr;
}
}

.castum-markers-orders{
	margin-top: 0px;
}
.page-contacts{
	display: grid;
	padding-right: 20px;
	align-self: start;
}
.page-contacts-adress-p{
	margin: 0 0 0.1rem;
}
.page-contacts-ul{
	list-style-type: none;
	margin: 0;
}
.page-contacts-ul li{
	padding:5px;
}
.page-contacts-ul2{
}
.contacts-map{
	max-height: 400px;
	border-radius: 5px;
}

@media (min-width: 1200px) {
  .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  }
	
}


@media (min-width: 1200px) and (max-width: 1300px) {
  .catalog{
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 22px;
  }
  .catalog-element{
    max-width: 500px;
    padding-bottom: 22px;
  }
  .general-catalog-element{
    max-width: 500px;
  }
  .general-catalog-element-title{
    max-width: 500px;
    font-size: 22px;
  }
  .fa-phone-volume::before, .fa-volume-control-phone::before {
  font-size: 15px;
  }
  .wf-col-lg-4{
	padding-right: 0px;
	padding-left: 0px;
	flex: 0 0 59%;
    max-width: 59%;
  }
  .wf_navbar-info-contact{
	margin-right: 8px;
  }
  .wf-col-lg-6{
	max-width: 30%;
  }
  .fa-phone-volume{
	width: 3.8rem;
	height: 3.8rem; 
  }
  .left_menu_a{
	font-size: 16px;
  }
  .general-left-menu{
	grid-template-columns: 300px 1fr;
  }
  .left-menu-g{
	margin-top: 22px;
    font-size: 17px;
  }
 h1 {
 color: #312F2F;
 font-size: 28px;
 margin: 22px 22px 22px;
 text-align: center;
	}
	.left-menu-item::after{
		left: 68%;
	}
	.left-menu-item::before{
		left: 31%;
	}
}
@media (min-width: 1300px) and (max-width: 1401px) {
	.wf-col-lg-6 {
	flex: 0 0 30%;
    max-width: 30%;
	padding-right: 0px;
	}
	.wf-col-lg-4 {
	flex: 0 0 60%;
    max-width: 60%;
	}
	.header--three button.wf_navbar-sidebar-toggle,
	.header--three .wf_navbar-info-contact .contact__list i {
    width: 3.8rem;
    height: 3.8rem;
	}
	
	.wf_navbar-info-contact .contact__list i {
    font-size: 1.7rem;
	}
	
	.wf_navbar-info-contact .contact__body .description {
	font-size: 1.9rem;
	}
	
	.general-left-menu{
	  width: 100%;
	  max-width: 1408px;
	}
	.left-menu-g{
	  margin-top: 22px;
	  font-size: 17px;
	}
	.left-menu-item{
	  font-size: 18px;
	  font-weight: 400;
	  padding: 10px 0 10px 0;
	}
	.left-menu-span{
	  margin-left: 18px;
	}
	.left-menu-gs{
	 font-size: 18px;
	}
	h1 {
	 color: #312F2F;
	 font-size: 28px;
	 margin: 22px 22px 22px;
	 text-align: center;
	}

	.letter {
	  padding: 0px 0px 0px 22px;
	  max-width: 1370px;
	}
	 .triangle {
	 width: 15px; /* ширина треугольника */
	 height: 15px; /* высота треугольника */
	 clip-path: polygon(0 0, 100% 0, 50% 70%); /* треугольник с острым концом вниз */
	 }
	.button-top-filter{
	 padding: 5px 22px;
	 margin-left: 22px;
	 background-color: #aba9a9;
	 font-size: 19px;
	 }
	}

@media (min-width: 1000px) and (max-width: 1200px) {
	.wf-col-lg-6{
	flex: 0 0 25%;
    max-width: 25%;
	padding-right: 0px;
	}
	.wf-col-lg-4{
	flex: 0 0 65%;
    max-width: 65%;
	}
	.header--three button.wf_navbar-sidebar-toggle,
	.header--three .wf_navbar-info-contact .contact__list i {
    width: 3.8rem;
    height: 3.8rem;
    line-height: 4.8rem;
    padding: 1.3rem;
    background-color: rgba(189, 189, 189, 0.2);
    outline: none;
	}
	
	.wf_navbar-info-contact .contact__list i {
    font-size: 1.7rem;
	}
	
	.wf_navbar-info-contact .contact__body .description {
	font-size: 1.9rem;
	}
	
  .general-left-menu{
  grid-template-columns: 280px 1fr;
  width: 100%;
}
  .left-menu-g{
  margin-top: 22px;
  font-size: 16px;
}
  .left-menu-item{
  font-size: 16px;
  font-weight: 400;
  padding: 10px 0 10px 0;
  }
  .left-menu-span{
  margin-left: 22px;
  font-size: 16px;
}
 .left-menu-gs{
 font-size: 16px;
 }
 
.letter{
  max-width: 1370px;
}
h1 {
 color: #312F2F;
 font-size: 24px;
 margin: 22px 22px 22px;
}
 .triangle {
 width: 15px; /* ширина треугольника */
 height: 15px; /* высота треугольника */
 clip-path: polygon(0 0, 100% 0, 50% 70%); /* треугольник с острым концом вниз */
 }
 .left-menu-item::before{
  transform: translateX(740%);
  left: 42%;
}
.left-menu-item::after{
  transform: translateX(-840%);
  left: 58%;
}
.kalkulyator-monokosour-podstupenki-1 img{
	height: 50px;
	
}
.kalkulyator-monokosour-podstupenki-1{
	font-size: 12px;
}
.img-fences-configurator{
	width: 70%;
	height: 70%;
}
}

@media (min-width: 800px) and (max-width: 1000px) {
	.is--sticky.on{
	position: relative;	
	}
	.mobile-bottom-nav-wrapper{
	display:none;
	}
	.general-left-menu{
	grid-template-columns: 1fr;
	}
	.general-left{
	display: none;
	}
	 h1 {
	 color: #312F2F;
	 font-size: 24px;
	 margin: 22px 22px 22px;
	}
	.letter{
	  padding: 0px 11px 0px 11px;
	  max-width: 1370px;
	  overflow-x: auto;
	}
	 .triangle {
	 width: 15px; /* ширина треугольника */
	 height: 15px; /* высота треугольника */
	 clip-path: polygon(0 0, 100% 0, 50% 70%); /* треугольник с острым концом вниз */
	 }
	 .left-menu-item::before{
	  transform: translateX(740%);
	}
	.left-menu-item::after{
	  transform: translateX(-840%);
	}
	.left-menu-g{
	  margin-top: 18px;
	  font-size: 18px;
	  height: auto;
	}
	.left-menu-item{
	  font-size: 17px;
	}
	.left-menu-gs{
	  font-size: 17px;
	}
	.site--logo{
		padding-top: 12px;
		padding-bottom: 12px;		
	}
	.kalkulyator-monokosour-podstupenki-1 img{
	height: 50px;
	}
	.kalkulyator-monokosour-podstupenki-1{
		font-size: 12px;
	}
	.kalkulyator-monokosour{
		display: grid;
		width: 100%;
		place-items: center;
	}
	.img-fences-configurator{
	width: 60%;
	height: 60%;
	}
	.img-karkas-configurator {
	  width: 60%;
	  height: 60%;
	}
	.img-configurator {
	  width: 60%;
	  height: 60%;
	  transition-duration: 0.05s;
	}
	.configurator-fences {
	  gap: 3px;
	  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}
	.final-image-lestnica{
	max-width: 80%;
	margin-top: 20px;
	}
}

@media (min-width: 600px) and (max-width: 800px) {
	.is--sticky.on{
	position: relative;	
	}
	.site-content{
	width:100%;
	padding-right: 0 !important;
	}
	.mobile-bottom-nav-wrapper{
	display:none;
	}
	.general-left-menu{
	grid-template-columns: 1fr;
	}
	.general-left{
	display: none;
	}
	 h1 {
	 color: #312F2F;
	 font-size: 24px;
	 margin: 0;
	 padding-bottom: 11px;
	}
	h2 h3 h4 h5 {
	 color: #312F2F;
	 margin: 0;
	 padding-bottom: 11px;
	}
	.norm-h3 {
		margin: 0;
		padding-bottom: 11px;
	}
	.letter{
	  padding: 0px 11px 0px 11px;
	  max-width: 1370px;
	  overflow-x: auto;
	}
	.left-menu-g{
	  margin-top: 18px;
	  font-size: 18px;
	  height: auto;
	}
	.left-menu-item{
	  font-size: 17px;
	}
	.left-menu-gs{
	  font-size: 17px;
	}
	.site--logo{
		padding-top: 12px;
		padding-bottom: 12px;		
	}
	.kalkulyator-monokosour-podstupenki-1 img{
	height: 40px;
	}
	.kalkulyator-monokosour-podstupenki-1{
		font-size: 12px;
	}
	.kalkulyator-monokosour{
		display: grid;
		width: 100%;
		place-items: center;
	}
	.img-fences-configurator {
	  width: 80%;
	  height: 80%;
	}
}

@media (min-width: 200px) and (max-width: 600px) {
	.is--sticky.on{
	position: relative;	
	}
	.mobile-bottom-nav-wrapper{
	display:none;
	}
	.general-left-menu{
	grid-template-columns: 1fr;
	}
	.general-left{
	display: none;
	}
	 h1 {
	 color: #312F2F;
	 font-size: 18px;
	 margin: 0;
	 padding-bottom: 11px;
	}
	h2 h3 h4 h5 {
	 color: #312F2F;
	 font-size: 16px;
	 margin: 0;
	 padding-bottom: 11px;
	}
	.norm-h3 {
		font-size: 16px;
		margin: 0;
		padding-bottom: 11px;
	}
	.letter{
	  padding: 0px 0px 0px 0px;
	  max-width: 1370px;
	  overflow-x: auto;
	}
	.filtr-catalog-lestnic{
		text-align: left;
	}
	.filter-group-2 {
	  text-align: left;
	}
	.filter-button{
		margin-bottom: 5px;
	}
	.left-menu-g{
	  margin-top: 18px;
	  font-size: 18px;
	  height: auto;
	}
	.left-menu-item{
	  font-size: 17px;
	}
	.left-menu-gs{
	  font-size: 17px;
	}
	.site--logo{
		padding-top: 12px;
		padding-bottom: 12px;		
	}
	.kalkulyator-monokosour-podstupenki-1 img{
	height: 30px;
	}
	.kalkulyator-monokosour-podstupenki-1{
		font-size: 10px;
	}
	.kalkulyator-monokosour{
		display: grid;
		width: 100%;
		place-items: center;
	}
	.configurator-lestnic {
	  gap: 5px;
	  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
	  margin: 5px;
	}
	.configurator-fences {
	  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	}
	.img-karkas-configurator:hover {
	  border: 2px solid #ff009c;
	}
	.img-fences:hover {border: 2px solid #ff009c; border-radius: 100px;}
	#option3_1.push, #option3_2.push, #option3_3.push, #option3_4.push, #option3_5.push, #option3_6.push, #option3_7.push, #option3_8.push, #option3_9.push, #option3_10.push, #option3_11.push, #option3_12.push, #option3_13.push, #option3_14.push, #option3_15.push
	{outline: 1px solid #ff009c; border-radius: 100px;/* Параметры рамки */}
	.img-calculate:hover {border: 2px solid #ff009c; border-radius: 50px;}
	#option1_1.push, #option1_2.push, #option1_3.push, #option1_4.push, #option1_5.push, #option2_1.push, #option2_2.push, #option2_3.push, #option2_4.push, #option2_5.push
	{outline: 1px solid #ff009c; border-radius: 80px;/* Параметры рамки */}
	.img-karkas:hover {border: 2px solid #ff009c; border-radius: 10px;}
	#option4_1.push, #option4_2.push
	{outline: 1px solid #ff009c; border-radius: 10px;/* Параметры рамки */}
	} 	/* Для страницы готовых деревянных лестниц */
	.img-configurator:hover {border: 2px solid #ff009c; border-radius: 80px;}

}

@media (min-width: 380px) and (max-width: 480px) {
		.kalkulyator-monokosour-podstupenki-1 img{
	height: 20px;
	}
	.kalkulyator-monokosour-podstupenki-1{
		font-size: 8px;
	}
	.kalkulyator-monokosour{
		display: grid;
		width: 100%;
		place-items: center;
	}
}

@media (min-width: 200px) and (max-width: 380px) {
		.kalkulyator-monokosour-podstupenki-1 img{
	height: 15px;
	}
	.kalkulyator-monokosour-podstupenki-1{
		font-size: 6px;
	}
	.kalkulyator-monokosour{
		display: grid;
		width: 100%;
		place-items: center;
		padding-top:0;
	}
	.img-karkas-configurator {
	  width: 100%;
	  height: 100%;
	}
	.product-grid {
	  display: grid;
	  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	  gap: 10px;
	  margin-bottom: 20px;
	  margin-top: 20px;
	  overflow-x: auto;
	}
	.title-ready-made-stairs {
	  font-size: 16px !important;
	}
	.ready-description {
	  font-size: 12px !important;
	}
	.btn {
	  padding: 4px 10px !important;
	}
	.toggle-container-table {
	  font-size: 1.4rem !important;
	}
	.ready-made-stairs-table {
	  font-size: 12px !important;
	}
	.filter-group-2 {
	  display: grid !important;
	}
	.filter-group-cost {
	  padding-bottom: 10px !important;
	}
	.filter-button{
	  margin-bottom: 10px !important;
	}
}

.img-calculate {width: 70%; height: 70%;}
.img-calculate:hover {border: 3px solid #ff009c; border-radius: 50px;}
#option1_1.push, #option1_2.push, #option1_3.push, #option1_4.push, #option1_5.push, #option2_1.push, #option2_2.push, #option2_3.push, #option2_4.push, #option2_5.push
{outline: 3px solid #ff009c; border-radius: 80px;/* Параметры рамки */}
.img-fences {width: 100%; height: 100%;}
.img-fences:hover {border: 3px solid #ff009c; border-radius: 100px;}
#option3_1.push, #option3_2.push, #option3_3.push, #option3_4.push, #option3_5.push, #option3_6.push, #option3_7.push, #option3_8.push, #option3_9.push, #option3_10.push, #option3_11.push, #option3_12.push, #option3_13.push, #option3_14.push, #option3_15.push
{outline: 3px solid #ff009c; border-radius: 100px;/* Параметры рамки */}
.img-stairs {width: 100%; max-height: 541px; max-width: 800px; margin-bottom: 20px;}
.text-calculate {margin-bottom:5px; margin-top:5px;}
.row-calculate { padding: 5px 5px; }
.cell-calculate { padding: 5px 5px; text-align: center; }
.img-karkas {width: 70%; height: 70%;}
.img-karkas:hover {border: 3px solid #ff009c; border-radius: 10px;}
#option4_1.push, #option4_2.push
{outline: 3px solid #ff009c; border-radius: 10px;/* Параметры рамки */}
}
/* Для страницы готовых деревянных лестниц */
.ready-made-stairs-2 {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 10px;
	margin-bottom: 20px;
	margin-top: 20px;
	overflow-x: auto;
}
.ready-made-stairs-1 {
	display: grid;
	grid-template-areas:
        "title-ready-made-stairs"
        "ready-made-stairs-inside"
		"ready-made-stairs-table";
	width: 100%;
	margin-bottom: 10px;
	margin-top: 10px;
}
.title-ready-made-stairs {
	font-size: 18px;
	font-family: Roboto, sans-serif;
	grid-template-columns: 1fr;
	text-align: center;
	margin-bottom: 10px;
	margin-top: 10px;
	text-decoration: underline;
}
.ready-made-stairs-inside {
	display: grid;
	grid-template-columns: 0.7fr 1.28fr;
	border: 2px solid #e5e3e3; /* Граница для всех сторон */
    /*border-top: none;     /* Убираем нижнюю границу */
	border-radius: 5px;
	padding: 0.6rem;
}
.ready-made-stairs-inside:hover {
	border: 2px solid rgba(255, 0, 156, 0.5); /* Граница для всех сторон */
    /*border-top: none;     /* Убираем нижнюю границу */
}
.ready-image {
	display: flex;               /* Включаем Flexbox для элемента */
    justify-content: center;     /* Центрирование по горизонтали */
    align-items: center;		/* Центрирование по вертикали */
}
/* Главное изображение в контейнере */
.ready-image img{
	max-width: 100%;
    max-height: 100%;
}
/* Схемы лестниц в контейнере */
.ready-image-2 {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto;
	grid-template-areas:
        "ready-description"
        "ready-image-2s";
}
/* Стили текста в контейнере */
.ready-description {
	padding-left: 5px; /* Отступ от левого края */
    font-size: 12.5px; /* Размер шрифта */
    font-family: Roboto, sans-serif; /* Семейство шрифтов */
    text-align: left; /* Центрирование текста */
    line-height: 1; /* Межстрочный интервал */
    letter-spacing: -0.3px; /* Расстояние между буквами */
	margin-bottom: 4px;
	margin-top: 4px;
}
.ready-description-p {
	margin-bottom: 4px;
	margin-top: 4px;
}
.ready-image-2s {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 2px;
}
.ready-image-s {
	grid-template-columns: repeat(auto-fill, 126px);
}
.ready-image-s img{
	max-width: 100%;
    max-height: 100%;
}
.ready-image-v {
	grid-template-columns: repeat(auto-fill, 120px);
	display: flex;               /* Включаем Flexbox для элемента */
    justify-content: center;     /* Центрирование по горизонтали */
    align-items: center;		/* Центрирование по вертикали */
}
.ready-image-v img{
	max-width: 100%;
    max-height: 100%;
}
.ready-made-stairs-table {
	display: grid;
	grid-template-columns: auto auto auto;
	gap: 2px;
	font-size: 14px;
	width: 100%;
}
.stairs-table-quantity {
	display: grid;
	grid-template-columns: auto auto auto;
	gap: 2px;
	font-size: 14px;
	width: 100%;
}
.ready-made-stairs-table-row-general {
	display: contents; /* Используем contents, чтобы grid работал только на ячейки */
}
.ready-made-stairs-table-row {
	display: contents; /* Используем contents, чтобы grid работал только на ячейки */	
}
.ready-made-stairs-table-cell-general {
    padding: 5px;
    text-align: center;
    background-color: #f9f9f9;
	display: flex;               /* Включаем Flexbox для элемента */
    justify-content: center;     /* Центрирование по горизонтали */
    align-items: center;		/* Центрирование по вертикали */
}
.ready-made-stairs-table-cell {
    padding: 2px 5px;
    text-align: left;
    background-color: #f9f9f9;
	/*display: flex;               /* Включаем Flexbox для элемента */
    justify-content: left;     /* Центрирование по горизонтали */
    align-items: center;		/* Центрирование по вертикали */
	word-break: break-word; /* Перенос длинных слов */
    overflow-wrap: break-word; /* Для поддержки в разных браузерах */
	white-space: normal;
}
/* Для столбцов 2 и 3 в таблице */
.ready-made-stairs-table-cell-q {
    padding: 2px 5px;
    text-align: center;
    background-color: #f9f9f9;
	display: flex;               /* Включаем Flexbox для элемента */
    justify-content: center;     /* Центрирование по горизонтали */
    align-items: center;		/* Центрирование по вертикали */
}
.ready-made-stairs-table-cell-p {
    padding: 2px;
    text-align: center;
    background-color: #f9f9f9;
	display: flex;               /* Включаем Flexbox для элемента */
    justify-content: center;     /* Центрирование по горизонтали */
    align-items: center;		/* Центрирование по вертикали */
}
.toggle-container-table{
    width: 100%;
	margin: 0 auto; /* Центрирование таблицы */
    overflow-x: auto; /* Прокрутка при необходимости на маленьких экранах */
}
.productrs {
    display: block;
}

.hiddenrs {
    display: none;
}
.ready-label-filter {
	margin: 5px;
	vertical-align: middle;
}

.ready-label-filter:hover {
  color: #F58515;
}

.ready-made-filter {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
  border: 2px solid #e5e3e3; /* Граница для всех сторон */
  border-radius: 3px;
  max-width: 100%;       /* адаптируется к ширине экрана */
  min-width: 300px;      /* минимальная ширина контейнера */
  overflow-x: auto;
}
.ready-made-filter-button {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 10px;
  margin-right: 5px;
}

.ready-made-filter-button1 {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 0px;
  margin-right: 10px;
  padding: 10px 20px; /* Внутренние отступы (сверху и снизу, слева и справа) */
  font-weight: 550; /* Жирность шрифта */
  color: white; /* Цвет текста */
  background-color: #F58515; /* Цвет фона кнопки */
  border: none; /* Убираем рамку */
  border-radius: 5px; /* Скругление углов */
  cursor: pointer; /* Курсор указателя */
  transition: background-color 0.3s, transform 0.2s; /* Плавные переходы */
}

/* Состояние при наведении */
.ready-made-filter-button1:hover {
    background-color: #d47412; /* Более темный оттенок для наведения */
}

/* Состояние при нажатии */
.ready-made-filter-button1:active {
    transform: scale(0.95); /* Уменьшение кнопки при нажатии */
}

/* Состояние при отключенной кнопке */
.ready-made-filter-button1:disabled {
    background-color: #ccc; /* Цвет фона для отключенной кнопки */
    color: #666; /* Цвет текста для отключенной кнопки */
    cursor: not-allowed; /* Курсор "запрещено" */
}

/*.filter-checkbox-ready {
margin-right: 0px;
}*/
.filter-checkbox-ready {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid #9d9d9d;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: background-color 0.3s, border-color 0.3s;
  margin-right: 0px;
  vertical-align: middle;
}

/* Изменение цвета фона при наведении только для .custom-checkbox */
.filter-checkbox-ready:hover {
  border: 2px solid #f8d2b0;
  text-decoration: underline;
}

/* Стиль галочки при активном чекбоксе с классом .custom-checkbox */
.filter-checkbox-ready:checked {
  background-color: #F58515;
  border-color: #f8d2b0;
}

.ready-made-filter-span {
   font-weight: 550;
}

.custom-ul-list {
   list-style-type: disc; /* Тип маркера списка */
   padding-left: 20px; /* Отступ слева для списка */
}

.ready-made-search {
  margin-top: 5px;
  width: 100%;
  max-width: 400px; /* Максимальная ширина для поля */
  padding: 5px 10px;
  border: 2px solid #e5e3e3;
  border-radius: 3px; /* Закругленные края */
  outline: none;
  transition: all 0.3s ease;
  color: #333; /* Цвет текста */
}
.RMF {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;       /* адаптируется к ширине экрана */
  min-width: 350px;      /* минимальная ширина контейнера */
}

.custom-price {
	display: flex;
	align-items: flex-end !important;
}

.price-page-product{
	display:flex;
	font-size: 2rem !important;
	font-family: var(--wf-base-family) !important;
	letter-spacing: 0.01em !important;
	font-weight: bold;
	margin-right: 20px;
	align-items: flex-end;
}

.kartochka-tovara-stroki{
	line-height: 1.4em;
}

.button-row {
  display: flex;
  justify-content: center; /* Горизонтальное выравнивание */
  align-items: center;     /* Вертикальное выравнивание */
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  margin-top: 2px;
  margin-bottom: 2px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.buy-btn {
  background-color: #ff009c;
  color: white;
  border: 2px solid #ff009c;
}

.buy-btn:hover {
  background-color: white;
  color: #ff009c;
  border: 2px solid #ff009c;
}

.details-btn {
  background-color: #007bff;
  color: white;
  border: 2px solid #007bff;
}

.details-btn:hover {
  background-color: white;
  color: #007bff;
}
.toggle-header-table {
	cursor: pointer;
	user-select: none;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
}

.toggle-content-table {
    display: block; /* Контент по умолчанию показываем */
    overflow: hidden;
    max-height: 0; /* Изначально скрыт */
    padding: 0 0 8px; /* Нормальные отступы */
    transition: max-height 0.5s ease-out; /* Плавный переход */
}
.filtr-catalog-lestnic{
	margin: 10px 0;
}
.reset-button{
	background-color: #007bff;
	font-size: 1.5rem;
  font-weight: 600;
  padding: 1.1rem 2rem;
  line-height: 1.134;
  letter-spacing: 0.03rem;
  border-width: 0.2rem;
  border-style: solid;
  border-color: transparent;
  border-radius: 5px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  text-transform: initial;
  font-family: inherit;
  text-decoration: none;
  position: relative;
  z-index: 0;
  color: white;
}
.reset-button:hover{
	background-color:white;
	color:#007bff;
	border-color: #007bff;
}
.filter-group-2{
	display: flex;
	align-items: flex-end;
}
.filter-group-cost{
	margin-right: 10px;
}
.products-filter{
	margin-bottom: 20px;
	border: 2px solid #e5e3e3;
	border-radius: 5px;
	padding: 1.1rem 2rem 1.5rem 2rem;
}
.page-numbers{
	display: flex;          /* располагаем элементы в линию */
	list-style: none;       /* убираем маркеры (точки) */
	margin: 1.5rem;
	font-size: 18px;
}
.filter-button:hover,{
	color:#ff009c;
}

.site-content{
	max-width: 1485px;
	width: 100%;
	margin: 0 auto;
}

.product-remove{
	text-align: center;
}

.remove{
	font-size: 2em;
}

.product-thumbnail{
	text-align: center;
}

.product-price{
	text-align: right;
}

.product-subtotal{
	text-align: right;
}

.button-cart{
	background-color: #ff009c;
	border-radius: 5px;
}

.button-cart[type="submit"]:hover{
	background-color: white;
	border-radius: 5px;
	color: #ff009c;
}

.button-cart-2{
	color: white;
	text-decoration: none;
	background-color: rgba(var(--wf-main-rgb));
	padding: 8px 20px;
	border-radius: 5px;
	border: 2px solid #007bff;
}

.button-cart-2:hover{
	background-color: white;
	color: rgba(var(--wf-main-rgb);
	border: 2px solid #007bff;
}
