:root {
  --primary-color: #1d5fa1;
  --gap-size: 25px;
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}

.detail_brand_main_block_p2_row {
  padding: 75px 0 75px 40px;
}
.owl-wrap .item {
  height: auto;
}

.logo-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 171px;
}
.imageh1 {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  z-index: 5;
}
.imageh1 .logocontainer1 {
  float: left;
  width: 35%;
  height: 171px;
  padding: 0;
  margin: 0 5% 0 0;
}
.imageh1 .logocontainer2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 171px;
  padding: 5px 10px;
}
.imageh1 img {
  display: block;
  border: none;
  margin: 0;
  padding: 0 0 10px 0;
  max-width: 100%;
  max-height: 100%;
}
.imageh1::after {
  position: absolute;
  content: "";
  height: 100%;
  background: url("{$brandlogo}") no-repeat;
  background-size: 50%;
  opacity: 0.1;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -10;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  -webkit-filter: grayscale(1); /* Old WebKit */
  filter: grayscale(100%);
  filter: grayscale(1); /* Old WebKit */
}
.textintro1 {
  float: right;
  width: 60%;
  height: 171px;
  line-height: 141px;
  margin: 0;
  padding: 10px 60px 20px 10px;
  font-size: 18px;
  overflow: hidden;
}
.textintro2 {
  display: inline-block;
  line-height: 24px;
  text-align: left;
  vertical-align: middle;
}
.magazin-marka {
  height: 50px;
  font-size: 18px;
  line-height: 50px;
}
.magazin-marka a {
  display: block;
  text-decoration: none;
  color: #649fd7;
  margin: 16px auto;
  background-color: #efefef;
  border: 1px solid #4a7aa7;
}
.magazin-marka .detail_brand_main_block_p1 {
  padding: 0;
  text-align: center;
  width: 100%;
}
.magazin-marka a:hover {
  border: none;
  cursor: pointer;
  background-color: #649fd7;
  color: #ffffff;
}
.width95 {
  width: 95%;
}

.remontprice {
  position: relative;
  top: -3px;
}
.remontpricetitle {
  font-size: 16px;
  top: 5px;
  position: relative;
}
.remontprices {
  margin-bottom: -10px;
}
.dellin {
  background: #eee;
  padding: 10px;
  border: 1px solid #ddd;
}
.dellin table td {
  padding: 5px;
  white-space: nowrap;
}
.dellin input,
.dellin select {
  margin-bottom: 0;
}
.energ {
  background: #eee;
  padding: 10px;
  border: 1px solid #ddd;
}
.energ table td {
  padding: 5px;
  white-space: nowrap;
}
.energ input,
.energ select {
  margin-bottom: 0;
}
.result2 table {
  background: #fff;
  margin-top: 10px;
}
.tariftable td {
  white-space: nowrap;
}

/* Ð‘Ð»Ð¾Ðº ÐÐ°Ð¼ Ð´Ð¾Ð²ÐµÑ€ÑÑŽÑ‚ */

.rem_fors_diz_clients {
  padding: 40px 0;
  background-color: #f9f9f9;
  color: var(--primary-color);
}

.rem_fors_diz_clients .blocks_title {
  display: block;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.content_block__main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.sertificat__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-size);
}

.sertificat__list .item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
  aspect-ratio: 1/1.4;
}

.sertificat__list .item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.sertificat__list .item a {
  display: block;
  height: 100%;
  width: 100%;
  outline-offset: -2px;
  transition: box-shadow 0.3s ease;
}

.sertificat__list .item a:focus-visible {
  box-shadow: 0 0 0 3px var(--primary-color);
}

.sertificat__list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.3s ease;
}

.sertificat__list .item:hover img {
  opacity: 0.92;
  transform: scale(1.02);
}

/* ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð²Ð½Ð¾ÑÑ‚ÑŒ */
@media (max-width: 992px) {
  .sertificat__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .rem_fors_diz_clients {
    padding: 30px 0;
  }

  .sertificat__list {
    max-width: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sertificat__list .item {
    max-width: 400px;
    width: 100%;
  }

  .rem_fors_diz_clients .blocks_title {
    font-size: 24px;
    margin-bottom: 20px;
  }
}
