#main-page.category .title {
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
  text-align: left;
}
#main-page.category .hero__title{
font-size: 48px;
font-weight: 700;
line-height: 1.1;
}
#main-page.category .section {
  max-width: 1086px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}
#main-page.category .section--big {
	max-width:1374px;
display:flex;
	gap:40px;
}
#main-page.category.product .hero__boxLink a{
font-size: 14px;
font-weight: 400;
line-height:1.3;
text-align: right;
text-decoration-line: underline;
color: #5C5C65;
}
#main-page.category.product .hero__boxLink a::after{
display:none
}
#main-page.category .hero-bread.container,#main-page.category.product .hero-bread.container  {
  padding-top: 40px;
}

#main-page.category .hero__breadcrumbs {
  margin-bottom:20px;
}
#main-page.category.product .hero__breadcrumbs {
  margin-bottom:40px;
	display:flex;
	flex-direction:row;
	justify-content:space-between;
}
#main-page.category.product .section {
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}
#main-page.category .container {
  padding-top: 100px;
  padding-bottom: 100px;
}
#main-page.category .hero {
  background-image: url(./assets/bg.jpg);
  background-position: center;
}
#main-page.category .hero__box {
  max-width: 618px;
}
#main-page.category .btn__payment {
  margin-top: 0;
}
#main-page.category .box {
  display: flex;
  flex-direction: column;
}
#main-page.category .wp-pagenavi{
margin-top:40px;
}
#main-page.category .box--row {
  display: flex;
  flex-direction: row;
}
#main-page.category .products__box {
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--text-2);
}
#main-page.category .products__dropdown {
  width: 200px;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

#main-page.category .products__selected {
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--main);
  border-radius: 6px;
}

#main-page.category .products__arrow {
  width: 12px;
  height: 12px;
  position: absolute;
  top: 26%;
  right: 10px;
  display: inline-block;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
}

#main-page.category .products__dropdown.active .products__arrow {
  top: 40%;
  transform: rotate(-135deg);
}

#main-page.category .products__list {
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  display: none;
  background: var(--white);
  border: 1px solid var(--main);
  border-radius: 6px;
  list-style: none;
}

#main-page.category .products__dropdown.active .products__list {
  display: block;
}

#main-page.category .products__list li {
  padding: 6px 10px;
}

#main-page.category .products__list li:hover {
  background-color: #f0f0f0;
  border-radius: 6px;
}

#main-page.category .products-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

#main-page.category .products-list > li {
  width: calc(100% / 3 - 20px);
  position: relative;
  border: 1px solid #4c699b80;
  border-radius: 6px;
}

#main-page.category .products-list > li > a > img {
  width: 99%;
  margin: 0 auto;
  display: block;
  border-radius: 6px 6px 0 0;
}
#main-page.category .products__wrapper {
  padding: 4px 20px;
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  background: #ff0000;
  display: inline-block;
}
#main-page.category .products__wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: -13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 0 15px 13px;
  border-color: transparent transparent transparent #ff0000;
}
#main-page.category .products-list a{
width:100%;}
#main-page.category .products__wrap {
  padding: 10px 20px;
  position: relative;
  gap: 10px;
  color: var(--dark-main);
  border-top: 2px solid #8a92a180;
}
#main-page.category .products__wrap::before {
  width: 110px;
  height: 2px;
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  z-index: 2;
  background: var(--main);
}
#main-page.category .products__name {
  font-size: 20px;
  font-weight: 700;
}
#main-page.category .products__listDescr {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#main-page.category .products__listDescr li {
  position: relative;
  padding-left: 34px;
  color: var(--text-1);
}
#main-page.category .products__listDescr li::before {
  width: 24px;
  height: 24px;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  background-image: url(./assets/size.png);
  background-position: center;
  background-repeat: no-repeat;
}
#main-page.category .products__listDescr li:nth-child(2):before {
  background-image: url(./assets/drywall.png);
}
#main-page.category .products__listDescr li:nth-child(3):before {
  background-image: url(./assets/checkmark.png);
}
#main-page.category .products__listDescr li.products__item--absent:nth-child(3):before {
  background-image: none;
}
#main-page.category .products__price {
  font-size: 24px;
  font-weight: 700;
}
#main-page.category .products__price--accent {
  font-weight: 500;
  color: var(--dark-main);
}
#main-page.category .products__price--sales {
  color: #ff0000;
}
#main-page.category .products-box {
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
#main-page.category .products__price--absent,
#main-page.category .products__price--old {
  color: var(--text-2);
}
#main-page.category .products__price--old {
  position: relative;
  font-size: 18px;
}
#main-page.category .products__price--old::before {
  width: 100%;
  height: 1px;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  background: var(--text-2);
}
#main-page.category .base__btn {
  padding: 6px 28px;
  font-family: var(--second-family);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: 6px;
}
#main-page.category .products__btn {
  width: 100%;
  margin-top: 16px;
}

#main-page.category .description__box--second {
  margin-top: 64px;
}
#main-page.category .description__title {
  margin-bottom: 20px;
}

#main-page.category .description__text,
#main-page.category .description__list {
  font-size: 16px;
  text-align: left;
  color: var(--text-1);
}
#main-page.category .description__text {
  margin-bottom: 10px;
}
#main-page.category .description__text--second {
  margin-top: 10px;
  margin-bottom: 0;
}
#main-page.category .description__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#main-page.category .description__list li {
  padding-left: 20px;
  position: relative;
}
#main-page.category .description__list li::before {
  width: 4px;
  height: 4px;
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--text-1);
  border-radius: 50%;
}

#main-page.category .description__descr {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
}
#main-page.category .order__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}
#main-page.product .mySwiper2 .swiper-slide,
#main-page.product .mySwiper3 .swiper-slide {
  cursor: pointer;
}
#main-page.product .mySwiper2 .swiper-slide {
  position: relative;
}
#main-page.product .mySwiper2 .swiper-slide::before {
  width: 24px;
  height: 24px;
  content: "";
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-image: url(./assets/specification/search.png);
  background-repeat: no-repeat;
  background-size: 24px;
}
#main-page.category .mySwiper3 .swiper-slide-thumb-active {
  border: 2px solid var(--accent);
  border-radius: 6px;
}
#main-page.category .works__container {
  padding-top: 0;
}
#main-page.category .works__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}
#main-page.category .works__list li {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
#main-page.category .works__characteristic {
  width: 126px;
  color: var(--text-2);
}
#main-page.category .works__meaning {
  color: var(--text-1);
}
#main-page.category .product__wrap {
  margin-top: 24px;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-main);
}
#main-page.category .product__box {
  width: 30px;
  height: 30px;
  position: relative;
  border: 2px solid var(--text-2);
  border-radius: 6px;
}
#main-page.category .product__box--done::before {
  width: 30px;
  height: 30px;
  content: "";
  position: absolute;
  top: 50%;
  left: -2px;
  transform: translate(0, -50%);
  background-image: url(./assets/done.png);
  background-position: center;
  background-repeat: no-repeat;
}
#main-page.category .product__container {
  gap: 20px;
}
#main-page.category .order__form {
  max-width: 1026px;
  margin: 0 auto;
}
#main-page.product .title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}
#main-page.category .min__title {
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
}
#main-page.category .specifications__list {
  max-width: 1114px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 40px;
}
#main-page.category .specifications__list li {
  width: calc(100% / 3 - 27px);
  padding-left: 42px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 20px;
  font-weight: 700;
}
#main-page.category .specifications__list li::before {
  width: 32px;
  height: 32px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(./assets/specification/layout.png);
  background-repeat: no-repeat;
  background-size: 32px;
}
#main-page.category .specifications__list li:nth-child(2)::before {
  background-image: url(./assets/specification/rooftop.png);
}
#main-page.category .specifications__list li:nth-child(3)::before {
  background-image: url(./assets/specification/door.png);
}
#main-page.category .specifications__list li:nth-child(4)::before {
  background-image: url(./assets/specification/size-right.png);
}
#main-page.category .specifications__list li:nth-child(5)::before {
  background-image: url(./assets/specification/size.png);
}
#main-page.category .specifications__list li:nth-child(6)::before {
  background-image: url(./assets/specification/skin.png);
}
#main-page.category .specifications__list li:nth-child(7)::before {
  background-image: url(./assets/specification/temperature.png);
}
#main-page.category .specifications__list li:nth-child(8)::before {
  background-image: url(./assets/specification/window.png);
}
#main-page.category .specifications__list li:nth-child(9)::before {
  background-image: url(./assets/specification/wiring.png);
}
#main-page.category .specifications__descr {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-1);
}
#main-page.category .specification__wrap {
  max-width: 870px;
  margin-top: 40px;
}
#main-page.category .specification__text {
  font-size: 16px;
  color: var(--text-1);
}
#main-page.category .specifications {
  margin-top: 40px;
}
#main-page.category .mob__img--sea {
  display: none;
}
#main-page .base__btn:disabled {
  background: #b8b3b3;
}
#main-page #dialog-review[open] {
  min-width: 320px;
  display: flex !important;
  background: none;
}
#main-page #dialog-img {
  width: 600px;
}
#main-page.category .order__btn {
    width: 100%;
    margin-top: 25px;
    padding: 15px 120px;
}

@media (max-width: 1360px) {

  #main-page.category .works__meaning {
    max-height: 75px;
    overflow: hidden;
    overflow-y: scroll;
    word-break: break-all;
  }
	#main-page.category   .products-list{
gap:20px;
	}
	#main-page.category   .products-list > li {
    width: calc(50% - 10px);
  }
}
@media (max-width: 1250px) {
  #main-page.product .mySwiper2 {
    margin: 0 15px;
  }
  #main-page.category .works__list {
    gap: 4px;
  }
  #main-page.category .product__wrap {
    margin-top: 10px;
  }
}
@media (max-width: 1100px) {
 #main-page.category  .products__price--old {
    font-size: 16px;
  }
#main-page.category   .products__price {
    font-size: 20px;
  }
 #main-page.category  span.products__price--sales {
    font-size: 18px;
  }
}
@media (width < 1000px) {
  #main-page.product .swiper-wrapper-works .swiper-slide,
  #main-page.product .mySwiper3 {
    max-height: 100%;
  }
#main-page.category .hero__title{
font-size: 40px;
}
	#main-page.category .wp-pagenavi{
margin-top:20px;
}
  #main-page.product .works__container {
    margin-top: 20px;
    flex-direction: row;
    gap: 40px;
    justify-content: space-between;
  }
  #main-page.product .product__container button {
    max-width: 222px;
    position: static;
  }
  #main-page.product .products__price {
    margin-top: auto;
  }
  #main-page.category .product__wrap {
    margin-top: 0;
  }
  #main-page.product .product__container {
    max-width: 222px;
    width: 100%;
    padding-top: 44px;
  }
  #main-page.product .works__meaning {
    max-height: 100%;
    word-break: normal;
  }
  #main-page.category.product .title {
    margin-bottom: 40px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
  }
}
@media (max-width: 970px) {
  #main-page.category .title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  #main-page.category .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  #main-page.category .container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

 #main-page.category  .products-list {
    margin-top: 10px;
    gap: 20px;
  }


 #main-page.category  .products__btn {
    margin-top: 10px;
  }
  #main-page.category .order__title {
    font-size: 40px;
  }
 #main-page.category  .description__box--second {
    margin-top: 40px;
  }

 #main-page.category  .description__descr {
    margin-top: 20px;
  }
 #main-page.category  .specifications__list li {
    width: calc(100% / 2 - 20px);
  }
		#main-page.category .hero-bread.container {
  padding-top: 20px;
}
	#main-page.category .hero__breadcrumbs{
		margin-bottom:20px;
		font-size:14px;
	}
#main-page.category.product .hero-bread.container  {
  padding-top: 20px;
}

#main-page.category.product .hero__breadcrumbs {
  margin-bottom:15px;
	flex-direction:column-reverse;
	gap:6px;
}
}

@media (max-width: 768px) {
  #main-page.product .mySwiper2 .swiper-slide::before {
    width: 20px;
    height: 20px;
    bottom: 10px;
    right: 10px;
    background-size: 20px;
  }
  #main-page.product .mySwiper3 {
    padding: 10px 80px 20px;
  }

  #main-page.product .swiper-button-prev-works--vertical,
  #main-page.product .swiper-button-next-works--vertical {
    width: 76px;
    height: 100%;
    top: -15%;
    background: var(--white);
  }
  #main-page.product .swiper-button-next-works--vertical {
    top: 0%;
  }
  #main-page.product .swiper-button-next-works--vertical::after,
  #main-page.product .swiper-button-prev-works--vertical::after {
    content: url(https://agnistroy.by/wp-content/themes/agmi/assets/svg/arrow-slider-1.svg);
  }
  #main-page.product .swiper-button-prev-works--vertical::after {
    top: 23%;
  }
  #main-page.product .swiper-button-next-works--vertical::after {
    top: 32%;
  }
  #main-page.product .works__container {
    text-align: start;
  }
  #main-page.product .works__container {
    margin-top: 10px;
    flex-direction: column;
    gap: 10px;
  }
  #main-page.product .mySwiper2 {
    margin: 0;
  }
  #main-page.category.product .title {
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
  }
  #main-page.category .works__list {
    margin-top: 10px;
    gap: 6px;
    font-size: 14px;
  }
  #main-page.category .works__list li {
    gap: 10px;
  }
 #main-page.category  .works__characteristic {
    width: 88px;
  }
  #main-page.product .product__container {
    max-width: 100%;
    padding-top: 0;
  }
 #main-page.category  .product__box {
    width: 24px;
    height: 24px;
  }
 #main-page.category  .product__box--done::before {
    width: 24px;
    height: 24px;
    left: -3px;
  }
#main-page.category  .product__wrap {
    font-size: 14px;
  }
  #main-page.product .product__container .works__btn {
    max-width: 300px;
    margin: 0;
  }
  #main-page.category .product__container {
    gap: 10px;
  }
  #main-page.product .products__price {
    margin-top: 10px;
    font-size: 24px;
  }
  #main-page.product .products__price--accent {
    font-size: 20px;
    font-weight: 600;
  }
#main-page.category   .mob__img--sea {
    max-width: 400px;
    width: 100%;
    margin: 0 auto 10px;
    display: block;
  }
}
@media (max-width: 620px) {
  #main-page.category .title {
    font-size: 24px;
  }
#main-page.category .order__btn {
    margin-top: 0;
    padding: 10px ;
	font-size:16px;
}
  #main-page.category .section,
  #main-page.category.product .section {
    padding-left: 10px;
    padding-right: 10px;
  }
  #main-page.category .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #main-page.category .products__box,
#main-page.category   .products__listDescr,
#main-page.category   .description__text,
#main-page.category   .description__list,
#main-page.category   .description__descr {
    font-size: 12px;
  }
#main-page.category   .products__listDescr {
    gap: 10px;
  }
#main-page.category   .products-list {
    margin-top: 10px;
    gap: 12px;
  }
#main-page.category   .products__selected {
    padding: 2px 10px;
  }
#main-page.category   .products__arrow {
    top: 7%;
  }
#main-page.category   .products__wrap {
    padding: 8px 10px;
    gap: 8px;
  }
#main-page.category   .products__name {
    font-size: 16px;
  }
 #main-page.category  .products__price--accent {
    font-weight: 700;
    font-size: 20px;
  }
#main-page.category   .products__btn {
    margin-top: 6px;
  }

  #main-page.category .order__title {
    font-size: 28px;
  }
 #main-page.category  .description__box--second,
#main-page.category   .description__descr {
    margin-top: 20px;
  }

  #main-page.category .order__list input,
  #main-page.category .order__list textarea {
    padding: 10px;
  }
  #main-page.category .description__box .title {
    margin-bottom: 10px;
    font-size: 20px;
  }
#main-page.category   .description__list li {
    padding-left: 16px;
  }
 #main-page.category  .description__list li::before {
    width: 3px;
    height: 3px;
    top: 6px;
    left: 6px;
  }
#main-page.category   .products-list > li {
    width: 100%;
  }
 #main-page.category  .products-list > li > a > img {
    max-width: 334px;
  }
  #main-page.category .hero {
    background-image: url(./assets/bg-320.jpg);
    background-position: center;
  }
#main-page.category   .specifications,
 #main-page.category  .specification__wrap {
    margin-top: 20px;
  }
 #main-page.category  .min__title {
    margin-bottom: 10px;
    font-size: 20px;
  }
#main-page.category   .specifications__list {
    gap: 10px;
  }
#main-page.category   .specifications__list li {
    width: 100%;
    padding-left: 34px;
    font-size: 16px;
  }
#main-page.category   .specifications__list li::before {
    width: 24px;
    height: 24px;
    background-size: 24px;
  }
 #main-page.category  .specifications__descr,
 #main-page.category  .specification__text {
    font-size: 12px;
  }
	#main-page.category .hero__title{
font-size: 28px;
}
	#main-page.category.product .hero-bread.container  {
  padding-top: 10px;
}

#main-page.category.product .hero__breadcrumbs {
  margin-bottom:10px;
	gap:4px;
}
}
@media (max-width: 550px) {
  #main-page.product .mySwiper3 {
    padding: 10px 60px 20px;
  }
	#main-page.category .hero-bread.container {
  padding-top: 10px;
}
	#main-page.category .hero__breadcrumbs{
		margin-bottom:10px;
        display:flex;
		flex-wrap:wrap;
		font-size:12px;
	}
		#main-page.category .hero__breadcrumbs a:after {
    top: 48%;
}
  #main-page.product .swiper-button-prev-works--vertical,
  #main-page.product .swiper-button-next-works--vertical {
    width: 56px;
  }
}

@media (max-width: 400px) {
  #main-page.product .mySwiper3 {
    padding: 10px 40px 20px;
  }

  #main-page.product .swiper-button-prev-works--vertical,
  #main-page.product .swiper-button-next-works--vertical {
    width: 36px;
  }
  #main-page.product .swiper-button-next-works--vertical::after {
    top: 27%;
  }
}
