/* шрифты */

@font-face {
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-display: swap;
  font-style: normal;
}

*,
a,
.__header .search-box input::placeholder,
.search--box form.s-icon-right input::placeholder,
.__header .search-box input {
  font-family: "Montserrat", serif !important;
  font-weight: 400;
}

*,
p {
  font-weight: 400;
  letter-spacing: 0.2px;
  color: var(--custom-black-color);
}

strong {
  font-weight: 500 !important;
}

span,
p,
.text-page ul li,
.o-product-tab ul li {
  line-height: 130% !important;
  font-size: 13px !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.__header .contact-box p.toggled {
  line-height: 110% !important;
  color: var(--custom-black-color);
}

a {
  font-weight: 400 !important;
  line-height: 100% !important;
  font-size: 13px;
}

.inner-page h1 {
  color: var(--custom-black-color);
  margin-bottom: 30px;
}

h2,
.h2,
h1,
.h1,
.mb-25,
section.feedback-form .h2,
.question-form .h2 {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600 !important;
  margin-bottom: 30px;
}

h3,
.h3 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600 !important;
  margin-bottom: 20px;
}

h4,
.h4,
.footer-content__title {
  font-size: 13px;
  font-weight: 600 !important;
  line-height: 110% !important;
  margin-bottom: 15px;
  text-transform: uppercase;
}

h5,
.h5 {
  font-size: 13px;
  font-weight: 500 !important;
  line-height: 100% !important;
  margin-bottom: 15px;
}

main {
  overflow: hidden;
}

.fixed::after {
  display: none;
}

.button-theme_primary {
  color: var(--custom-black-color) !important;
  text-align: center;
}

.static-cold-block {
  padding: 80px 0 0 0;
}

.custom-cold-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 80px;
}

.cold-column-right .features__plus-row:nth-child(2) {
  top: 44%;
  position: relative;
}

.partners-grid {
  display: grid;
  gap: 50px 0;
  margin: 15px 0;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
}

.partners-grid img {
  transition: transform 0.25s ease;
  filter: grayscale(1);
  opacity: 0.5;
}

.seo-grid-item img {
  transition: transform 0.25s ease;
}

.partners-grid img:hover,
.seo-grid-item:hover img {
  transform: scale(1.03);
  filter: grayscale(0);
  opacity: 1;
}

.custom-seo-block,
.seo-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.black-block {
  padding: 40px;
  background: var(--custom-black-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.black-block h2,
.black-block p {
  color: var(--custom-white-color);
}

.black-block h2 {
  margin-bottom: 15px !important;
}

.black-block .btn {
  width: 175px;
  margin-top: auto;
}

.seo-grid-item {
  background: var(--custom-black-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

.seo-grid-item img {
  max-height: 80px;
}

@media (min-width: 992px) {
  .fixed .__header {
    top: 0;
    transform: none;
    transition: none;
  }

  header {
    position: fixed;
  }

  main {
    padding-top: 70px;
  }
}

.footer-content__title:not(.footer-right .footer-content__title),
.footer-phone a {
  text-decoration: underline;
  text-underline-offset: 6px;
}

footer {
  z-index: 9999;
}
/*
.page::before {
  content: "";
  width: 1px;
  height: 100%;
  position: absolute;
  background: var(--custom-gray-color-300);
  right: calc(50% - 740px);
  z-index: 1;
  top: 0;
}

.page::after {
  content: "";
  width: 1px;
  height: 100%;
  position: absolute;
  background: var(--custom-gray-color-300);
  left: calc(50% - 740px);
  z-index: 1;
  top: 0;
}
*/
/* курсор */

.h1,
.h2,
.h3,
h1,
h2,
h3,
h4,
.h4,
.h5,
h5,
h6,
.h6,
.personal-form__element-top,
.personal-form__post-text,
section.feedback-form .form-text,
.modal.fancybox-content .form-text,
.footer-content__title,
.frontpage p,
.frontpage .text-page ul li,
.footer-bottom .copy.version,
.footer-bottom__left,
ul li,
.catalog-sorting__title,
.g-title,
.product-card__discription-title,
.product-card__personal-cost span,
.product-card__discription-title,
.product-item__status,
.orig-price strong,
.product-card__left p,
.shopping-cart-item__name,
.shopping-cart-item__total-cost,
.shopping-cart-item__cost,
.footer-content-cookie,
.form-text,
.footer-contact,
.product-card__artikul,
.product-card-container p,
.main-action p,
.contacts-block__title,
.contacts-block__title-red.address-data,
.contact-text-line p,
.content-title {
  cursor: default;
}

[data-fancybox],
.btn-border.callme-button,
.category-box-text,
.form-close,
.catalog-item p,
.st-button__title,
.events-item h4 {
  cursor: pointer;
}

.fixed::after {
  display: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.about-block {
  padding: 20px 0 0 0;
  color: var(--custom-white-color);
}

.about-block__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 215px 105px 105px 105px;
  background-color: var(--custom-black-color);
  gap: 0;
  margin: 0 auto;
  overflow: visible;
}

/* шапка */

.__header .catalog-btn:hover,
.__header .catalog-btn.toggled {
  background: transparent;
  color: var(--custom-accent-color-500);
  border-color: var(--custom-accent-color-500);
}

.__header .contact-box p.toggled a {
  font-weight: 500 !important;
  color: var(--custom-black-color);
  line-height: 100%;
  font-size: 13px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--custom-black-color);
}

.__header .contact-box p.toggled a:hover {
  border-color: var(--custom-accent-color-500);
  color: var(--custom-accent-color-500);
}

.__header .contact-box p.toggled {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.__header .row .col-lg-2 {
  width: max-content !important;
}

.header-cart span.cart-number,
.__header .option-items li:first-child .products-total-count {
  width: min-content;
  height: min-content;
  font-size: 11px !important;
  text-align: center;
  color: var(--custom-black-color);
  border-radius: 0;
  flex-shrink: 0;
  background: none;
  position: absolute;
  top: -2px;
  right: -8px;
}

.__header .option-items li:first-child .products-total-count {
  right: -5px;
}

.__header .option-items li a.header-cart {
  width: max-content;
  gap: 10px;
  align-items: flex-end;
}

.__header .option-items li a {
  padding-left: 0;
}

.header-cart:hover::before {
  text-decoration: none !important;
  color: var(--custom-black-color);
}

.__header .options-box .nav-items li a.active,
.__header .options-box .nav-items li a:hover,
.__header .options-box .nav-items {
  text-decoration: none !important;
}

.__header .options-box ul {
  flex-shrink: 0;
}

.__header .options-box {
  width: min-content;
  margin-left: 0px;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-end;
  gap: 40px;
}

.__header .options-box .nav-items li a {
  font-weight: 400;
  width: max-content;
  display: flex;
}

.__header .options-box .nav-items li {
  padding-right: 0;
  line-height: 100%;
}

.__header .option-items li {
  padding-right: 0;
}

.__header .option-items li a {
  gap: 5px;
}

.__header .option-items li img {
  width: 20px;
  height: 20px !important;
  position: relative;
}

.__header .options-box .nav-items li .location-caret::before {
  content: "";
  width: 16px;
  height: 22px;
  background: url(https://stroybaza-samara.ru/media/uploads/svg/baza-icon.svg)
    no-repeat;
  background-size: 100%;
  background-position: center top;
  position: absolute;
  bottom: auto;
  right: auto;
  top: -2px;
  left: -26px;
  border: none;
  border-bottom: 1px solid var(--custom-accent-color-500);
  padding-bottom: 6px;
}

.fancybox-slide--html .fancybox-close-small {
  padding: 0;
  background: none;
}

.__header .option-items li:first-child img {
  display: none;
}

.__header .option-items li:first-child a:before {
  content: "";
  background-image: url(https://stroybaza-samara.ru/media/uploads/svg/fav-icon.svg);
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.__header .options-box .nav-items li .location-caret {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 15px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--custom-accent-color-500);
  position: relative;
  font-size: 13px !important;
}

.__header .options-box ul {
  gap: 15px;
}

.__header .row .col-lg-2:nth-child(3) {
  order: 4;
}

.__header .contact-box {
  display: flex;
  max-height: 100%;
  height: 100%;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-left: auto;
  margin-right: 21px;
  min-width: 0;
}

.__header .logo {
  width: max-content;
}

.__header .row .col-lg-2 {
  width: 22%;
}

.__header .custom-block {
  padding-left: 0;
  align-items: flex-end;
  gap: 20px;
  height: auto;
  width: min-content;
}

.__header .search-box form {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 15px;
  height: auto;
  line-height: 100%;
  width: 100%;
}

.__header .search-box .submit img {
  display: none;
}

.__header .catalog-btn,
.__header .search-box input {
  background: none;
  border: none;
  color: var(--custom-black-color);
  padding: 0;
  width: min-content;
  height: auto;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  gap: 10px;
  line-height: 112%;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--custom-accent-color-500);
}

.__header .catalog-btn {
  margin-right: 0;
  flex-direction: column;
  gap: 0;
  text-transform: none;
  font-size: 0;
  padding: 0;
  margin: 0;
  margin-bottom: 0px;
  border: none;
}

.__header {
  padding-top: 25px;
  padding-bottom: 0px;
  height: 70px;
}

.__header .catalog-btn span {
  line-height: 100% !important;
  color: var(--custom-black-color);
}

.__header .search-box form,
.__header .search-box {
  height: auto;
}

.__header .search-box input {
  line-height: 100%;
  width: 100%;
  border-radius: 0;
  text-transform: none;
}

.__header .search-box input::placeholder {
  color: var(--custom-black-color);
  line-height: 100% !important;
  text-transform: none;
}

.__header .search-box .submit {
  background: none;
  width: 20px;
  padding: 0;
  border-radius: 0;
  height: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: row;
  border: none;
  border-bottom: 1px solid var(--custom-accent-color-500);
  flex-wrap: nowrap;
}

.__header .search-box .submit::after {
  content: "";
  background: url(https://stroybaza-samara.ru/media/uploads/svg/search.svg)
    no-repeat;
  background-size: 100%;
  background-position: 0px 0;
  height: 12px;
  width: 12px;
  position: relative;
  bottom: 6px;
}

.__header .search-box .submit:hover {
  background: none;
  border: none;
  border-bottom: 1px solid var(--custom-accent-color-500);
}

.__header .contact-box a {
  display: none;
}

.__header .search-box .submit:hover::after {
  background: url(https://stroybaza-samara.ru/media/uploads/svg/search-hover.svg)
    no-repeat;
  background-size: 12px;
  background-position: 0px 0;
  color: var(--custom-black-color);
}

.__header .search-box {
  width: 340px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: flex-end;
}

.__header .catalog-btn span {
  display: none;
}

.__header .catalog-btn {
  margin-right: 0;
}

.__header .catalog-btn:hover {
  background: transparent;
  color: var(--custom-accent-color-500);
  border-color: var(--custom-accent-color-500);
}

.__header .catalog-btn::before {
  content: "";
  width: 32px;
  height: 18px;
  background: url(https://stroybaza-samara.ru/media/uploads/svg/menu-header.svg)
    no-repeat;
  background-size: cover;
  background-position: center center;
  margin-left: 0px;
}

/* Верхний большой блок */

.about-block__hero {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1 / 3;
  min-height: 330px;
  background-color: var(--custom-black-color);
  overflow: visible;
}

.about-block__hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 430px;
  background-image: url("https://stroybaza-samara.ru/media/uploads/svg/pattern-offer.svg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
}

.about-block__content {
  position: relative;
  z-index: 3;
  padding: 40px 40px 0;
}

.about-block__content .btn {
  width: 155px;
}

.about-block__content h2,
.about-block__content h1,
.about-block__content p {
  color: var(--custom-white-color);
}

.about-block__content h2 {
  margin-bottom: 10px !important;
}

.about-block__content h1 {
  text-transform: none !important;
  font-size: 13px !important;
  line-height: 130% !important;
  font-weight: 400 !important;
}

.about-block__photo {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -20px;
  width: auto;
  max-width: none;
  height: calc(100% + 20px);
  pointer-events: none;
  user-select: none;
  transform: translateX(-50%);
}

/* Категории */

.about-block__categories {
  display: contents;
}

.category-card {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  min-height: 105px;
  aspect-ratio: 2.8;
  height: auto;
  padding: 0px 25px;
  background-color: var(--custom-black-color);
  border: 0;
  border-left: 5px solid var(--custom-white-color);
  border-top: 5px solid var(--custom-white-color);
  color: var(--custom-white-color);
  text-decoration: none;
  overflow: hidden;
  transition: color 0.25s ease;
}

.category-card:nth-of-type(6),
.category-card:nth-of-type(8) {
  border-left: 0;
}

.category-card:hover {
  color: var(--custom-accent-color-500);
}

.category-card:focus-visible {
  outline: 2px solid var(--custom-accent-color-500);
  outline-offset: -2px;
}

.category-card__title {
  position: relative;
  z-index: 2;
  display: block;
  padding: 0;
  margin: 0 !important;
  cursor: pointer !important;
}

.category-card__image {
  position: absolute;
  bottom: 0;
  z-index: 1;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.25s ease;
  right: -10px;
  width: auto;
  height: 87%;
  max-width: none !important;
}

.category-card:hover .category-card__image {
  transform: scale(1.03);
}

.dummy {
  grid-column: 2 / 2;
  grid-row: 5 / 6;
  background: var(--custom-white-color);
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  min-height: 84px;
}

/* Раскладка карточек на desktop */

.category-card--roof {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.category-card--facade {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

.category-card--sheets {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}

.category-card--mixes {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

.category-card--metal {
  grid-column: 4 / 5;
  grid-row: 3 / 4;
}

.category-card--fasteners {
  grid-column: 1 / 2;
  grid-row: 4 / 5;
}

.category-card--wood {
  grid-column: 2 / 3;
  grid-row: 4 / 5;
}

.category-card--insulation {
  grid-column: 1 / 2;
  grid-row: 5 / 6;
}

/* Нижний белый блок */

.about-block__bottom {
  position: relative;
  z-index: 4;
  grid-column: 3 / 5;
  grid-row: 4 / 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 60px;
  padding: 25px 0 0 30px;
  background-color: var(--custom-white-color);
  color: var(--custom-black-color);
}

.about-block__bottom h4 {
  font-weight: 500 !important;
}

.about-block__slogan {
  margin: 0;
  max-width: 352px;
}

.about-block__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  height: min-content;
  padding: 0;
  flex-shrink: 0;
}

.review-item {
  padding: 20px;
  background: var(--custom-gray-color-100);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  transition: opacity 0.25s ease;
}

.social-link:hover {
  opacity: 0.65;
}

.social-link:focus-visible {
  outline: 1px solid var(--custom-accent-color-500);
  outline-offset: 2px;
}

.social-link img {
  width: 100%;
  height: 100%;
}

.features {
  position: relative;
  margin-top: 80px;
}

/* === Декоративные плюсы === */
.features__plus-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}

.features__plus-row {
  display: flex;
  justify-content: space-between;
  width: calc(100% + 20px) !important;
}

.features__plus-row--mobile {
  display: none;
}

.features__plus {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.features__plus::before,
.features__plus::after {
  content: "";
  position: absolute;
  background: var(--custom-gray-color-500);
}

.features__plus::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.features__plus::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

/* === Список === */
.features__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0px;
  list-style: none;
  margin: 0;
  width: 100%;
}

.features__item {
  display: flex;
  justify-content: center;
}

/* === Кнопка === */
.features__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding-bottom: 10px;
  font: inherit;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.features__btn:hover {
  transform: translateY(-2px);
}

.features__btn:focus-visible {
  outline: 1px solid var(--custom-accent-color-500);
  outline-offset: 6px;
  border-radius: 4px;
}

.features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
}

.features__icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.features__icon #hover {
  display: none;
}

.features__btn:hover #hover {
  display: block;
}

.features__btn:hover #default {
  display: none;
}

.features__label {
  text-decoration: underline;
  text-underline-offset: 6px;
  white-space: nowrap;
}

.features__btn--active .features__label,
.features__btn:hover .features__label {
  color: var(--custom-accent-color-500);
}

/* подвал */

footer {
  background: var(--custom-black-color);
  padding: 80px 0 0px 0;
}

.footer-content__title {
  margin-bottom: 20px !important;
}

.footer-content__title span,
.footer-content__title,
.footer-content__column a,
.footer-phone a,
.footer-contact {
  color: var(--custom-white-color);
}

.footer-contact,
.footer-content__column a,
.footer-phone a {
  font-size: 13px !important;
}

.footer-right .footer-content__title {
  position: relative;
}

.footer-right .footer-content__title::after {
  content: "";
  height: 1px;
  background: var(--custom-white-color);
  top: 16px;
  left: 0;
  width: 186px;
  position: absolute;
}

.footer-content__title span {
  text-transform: none !important;
  margin-top: 5px;
}

.footer-phone {
  line-height: 100%;
}

.footer-phone a {
  font-weight: 500 !important;
}

.footer-content__column a:hover,
.footer-phone a:hover {
  color: var(--custom-accent-color-500);
}

.developer-link a,
.footer-bottom__left,
.footer-bottom .copy,
.footer-content-cookie {
  font-size: 10px !important;
  opacity: 1;
}

.developer-link a,
.footer-bottom__left,
.footer-bottom .copy,
.footer-content__title span,
.footer-content-cookie {
  color: var(--custom-gray-color-700) !important;
}

.checkbox span,
.checkbox span a {
  font-size: 10px !important;
  line-height: 130% !important;
}

.footer-first-column .logo img {
  width: 124px;
}

.button-theme_primary,
.footer-subscribe button,
.product-card-v2__buttons .st-button_add-to-cart,
.st-button_primary.w-100,
.question-main .btn {
  height: 34px !important;
  width: 100%;
  border-radius: 0px;
  font-size: 13px;
  line-height: 100%;
}

.footer-subscribe button,
.question-main .btn {
  width: 175px;
  color: var(--custom-black-color) !important;
  border: none !important;
  border-radius: 0;
}

.footer-subscribe button:hover,
.question-main .btn:hover {
  background: var(--custom-accent-color-100) !important;
  color: var(--custom-black-color) !important;
  border: none !important;
}

.developer-link a {
  color: var(--custom-accent-color-500);
}

.footer-subscribe input,
section.feedback-form .form-control,
.form-control {
  height: 34px;
  border: none !important;
  font-size: 13px;
  padding: 0 20px;
  border-radius: 0px;
  background: var(--custom-gray-color-100);
  color: var(--custom-black-color);
}

section.feedback-form .form-control:valid + .label-name .content-name {
  display: none;
}

#question-main textarea.form-control {
  height: 78px;
  padding: 8px 20px;
  min-height: 0;
}

.question-form__column {
  align-items: flex-start;
}

.question-form .checkbox {
  max-width: 100%;
  margin-top: 0;
}

.form-group {
  margin-bottom: 10px;
}

.question-form form {
  display: grid;
  gap: 0 10px;
  grid-template-columns: repeat(2, 1fr);
}

.question-form__column {
  width: 100%;
}

.form-text,
.footer-content-cookie,
.form-control::placeholder,
.content-name,
.question-form .form-text {
  color: var(--custom-gray-color-700) !important;
}

.developer-link a:hover {
  color: var(--custom-accent-color-500) !important;
}

.section-dark.feedback-form {
  padding: 80px 0;
}

section.feedback-form .h2,
.question-form .h2 {
  font-size: 20px !important;
  width: min-content;
}

.custom-catalog-button .btn {
  width: 187px;
  display: flex;
  position: relative;
  margin-left: auto;
  right: 0;
}

.button-theme_primary,
.product-card-v2__buttons .st-button_add-to-cart,
.st-button_primary.w-100,
.question-main .btn {
  color: var(--custom-black-color);
  border: none !important;
}

.button-theme_primary:hover,
.product-card-v2__buttons .st-button_add-to-cart:hover,
.st-button_primary.w-100:hover,
.question-main .btn:hover {
  color: var(--custom-black-color) !important;
  background: var(--custom-accent-color-100) !important;
  border: none !important;
}

.slider-constructor .slick-arrow,
.faq-element__trigger {
  width: 40px;
  height: 34px;
  border-radius: 0px;
  border: 1px solid var(--custom-gray-color-300);
  background: var(--custom-white-color);
}

.slider-constructor .slick-arrow img,
.slider-constructor .slick-arrow svg,
.faq-element__trigger .icon {
  width: 12px;
  height: 12px;
}

.slider-constructor .slick-arrow:hover img,
.slider-constructor .slick-arrow:hover svg,
.faq-element__head:hover .faq-element__trigger .icon,
.faq-element.active .faq-element__trigger .icon {
  fill: var(--custom-accent-color-500);
}

.slider-constructor .slick-prev {
  right: 39px;
}

.custom-catalog-button {
  margin-bottom: 0px !important;
}

.mb-25 {
  max-width: 280px;
  margin-bottom: 30px !important;
}

.slider-constructor .slick-prev,
.slider-constructor .slick-next {
  top: -70px;
}

.product_set_slider {
  padding: 80px 0 0 0;
}

/* тизер */

.product-card-v2 {
  font-size: 13px;
  border: 1px solid var(--custom-gray-color-300);
  height: auto;
  aspect-ratio: 0.58;
}

.product-card-v2__image {
  aspect-ratio: 220 / 170;
  background: var(--custom-white-color);
  border-radius: 0;
}

.product-card-v2__title {
  font-size: 13px;
  line-height: 130%;
  color: var(--custom-black-color);
  margin-bottom: 10px;
}

.product-card-v2__price,
.product-card-v2__price span {
  font-size: 16px !important;
  font-weight: 500;
}

.product-card-v2__pricing-txt {
  font-size: 9px;
  line-height: 110% !important;
  width: 150px;
}

.text-color-accent,
.text-color-accent span {
  color: var(--custom-gray-color-700) !important;
}

.product-card-v2__price,
.product-card-v2__price span {
  color: var(--custom-black-color);
}

.product-card-v2__buttons {
  gap: 6px;
}

.input-number input[type="number"] {
  font-size: 13px !important;
}

.product-item_new .input-number .order-down:hover,
.product-item_new .input-number .order-up:hover,
.product-item_wide .input-number .order-down:hover,
.product-item_wide .input-number .order-up:hover,
.product-item_max-heigth .input-number .order-down:hover,
.product-item_max-heigth .input-number .order-up:hover,
.product-item_max-width .input-number .order-down:hover,
.product-item_max-width .input-number .order-up:hover,
.product-card-v2 .input-number .order-down:hover,
.product-card-v2 .input-number .order-up:hover {
  background: var(--custom-white-color);
}

.product-item_new .input-number,
.product-item_wide .input-number,
.product-item_max-heigth .input-number,
.product-item_max-width .input-number,
.input-number,
.product-card-v2 .input-number {
  height: 34px !important;
  border: 1px solid var(--custom-gray-color-300) !important;
  border-radius: 0px;
  width: 100%;
  max-width: none;
}

.product-card-v2__buttons .st-button_add-to-cart {
  border: 1px solid var(--custom-gray-color-300) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--custom-accent-color-100);
  padding: 0;
  width: 34px !important;
}

.st-button_add-to-cart .st-button__icon_cart.hover,
.st-button_add-to-cart .st-button__text,
.st-button_add-to-cart:has(.st-button__icon_cart.hover):hover
  .st-button__icon_cart {
  display: none !important;
}

.st-button_add-to-cart:hover {
  border: 1px solid var(--custom-accent-color-400) !important;
  background: var(--custom-accent-color-400);
}

.st-button_add-to-cart:hover .st-button__icon_cart.hover,
.st-button_add-to-cart:has(.st-button__icon_cart.hover):hover
  .st-button__icon_cart.hover {
  display: block !important;
}

.st-button_add-to-cart:has(.st-button__icon_cart.hover):hover {
  background: var(--custom-accent-color-500) !important;
  border: 1px solid var(--custom-accent-color-500) !important;
}

.st-button_add-to-cart {
  flex: none !important;
}

.st-button__icon_favorite {
  fill: var(--custom-accent-color-500) !important;
}

/* акции */

.news-slider-set {
  margin-top: -140px;
  padding: 60px 0 0px 0;
  background: var(--custom-gray-color-100);
}

.news-slider-set h2 {
  width: min-content;
}

.news-item-img img {
  max-width: 100%;
  position: relative;
  z-index: 2;
  width: 100%;
  transition: transform 0.25s ease;
}

.news-item-img {
  aspect-ratio: 1.195;
  background: var(--custom-black-color)
    url(https://stroybaza-samara.ru/media/uploads/svg/news-pattern.svg);
  position: relative;
  transition: 0.25s ease;
  overflow: hidden;
}

.news-item-img::before {
  content: "";
  position: absolute;
  background: var(--custom-gray-color-100);
  height: 20px;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.custom-news-item {
  display: flex;
  gap: 10px;
  flex-direction: column;
  padding-top: 20px;
}

.custom-news-item:hover .news-item-img {
  background: var(--custom-accent-color-500)
    url(https://stroybaza-samara.ru/media/uploads/svg/news-pattern-hover.svg);
}

.custom-news-item:hover .news-item-img img {
  transform: scale(1.03);
}

.news-item-info {
  background: var(--custom-black-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 15px 20px 25px 20px;
  align-items: flex-start;
}

.news-item-info .btn-plus {
  flex-shrink: 0;
}

.news-item-info-text {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
}

.btn-plus {
  background-color: var(--custom-accent-color-500);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.25s ease;
}

.product-info__banner .btn-plus::before,
.product-info__banner .btn-plus::after {
  background: var(--custom-accent-color-500);
}

.btn-plus:hover {
  background-color: var(--custom-accent-color-100);
}

.product-info__banner .btn-plus:hover::before,
.product-info__banner .btn-plus:hover::after {
  background: var(--custom-white-color);
}

.btn-plus::before,
.btn-plus::after {
  content: "";
  position: absolute;
  background: var(--custom-white-color);
  transition: color 0.25s ease;
}

.btn-plus:hover::before,
.btn-plus:hover::after {
  background: var(--custom-accent-color-500);
}

.btn-plus::after {
  left: 50%;
  top: 7px;
  width: 1px;
  height: calc(100% - 14px);
  transform: translateX(-50%);
}

.btn-plus::before {
  top: 50%;
  left: 7px;
  width: calc(100% - 14px);
  height: 1px;
  transform: translateY(-50%);
}

.product-info__banner img {
  z-index: 1;
  position: absolute;
}

.product-info__banner p {
  z-index: 2;
  padding: 30px;
  width: 80%;
}

.product-info__banner .btn-plus {
  top: 30px;
  right: 30px;
}

.product-info__banner .button-theme_primary {
  position: relative;
  z-index: 2;
  top: auto;
  bottom: 30px;
  left: 30px;
  width: calc(100% - 60px);
}

.content-title span {
  font-size: 20px !important;
}

.product-info__banner:hover .btn-plus::after,
.product-info__banner:hover .btn-plus::before {
  background: var(--custom-white-color);
}

.product-info__banner {
  height: min-content;
  position: relative;
  aspect-ratio: 0.619;
  width: 100%;
  justify-content: space-between;
}

.product-info__banner:hover .button-theme_primary {
  background: var(--custom-accent-color-500);
}

.news-item-info h4,
.news-item-info p {
  color: var(--custom-white-color);
  margin-bottom: 0;
}

.news-item-info p {
  height: 33.8px;
  display: inline-table;
}

.custom-news-button {
  background: var(--custom-gray-color-100);
  padding-bottom: 60px;
  margin-top: 0 !important;
  padding-top: 20px;
}

.custom-news-button .features__plus-row {
  width: calc(100% + 100px) !important;
  margin-top: 10px;
  transform: translateX(-50px);
}

.custom-news-button .btn:hover {
  background: var(--custom-white-color) !important;
}

.plus-block {
  position: relative;
  z-index: 10;
  margin-top: 220px;
}

.plus-block .features__plus-row,
.static-banners .features__plus-row {
  width: calc(100% + 100px) !important;
  transform: translateX(-50px);
}

.custom-banners-block {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
  margin-bottom: 15px;
}

.banners-column-right {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.banner-img-block {
  clip-path: polygon(0% 34px, 34px 0%, 100% 0%, 100% 100%, 0% 100%);
  position: relative;
  margin-bottom: 8px;
}

.banner-img-block img {
  position: relative;
  transition: transform 0.25s ease;
  z-index: 1;
}

.banner-img-block:hover img {
  transform: scale(1.03);
}

.banner-plus-item p {
  cursor: pointer !important;
  margin-bottom: 0;
}

.banner-plus-item .btn-plus {
  position: absolute;
  z-index: 2;
  right: 20px;
  top: 20px;
  background: var(--custom-white-color);
}

.banner-plus-item .btn-plus::before,
.banner-plus-item .btn-plus::after {
  background: var(--custom-accent-color-500);
}

.banner-plus-item#banner-1 .banner-img-block {
  background: var(--custom-gray-color-500);
}

.banner-plus-item#banner-2 .banner-img-block {
  background: var(--custom-gray-color-600);
}

.banner-plus-item#banner-3 .banner-img-block {
  background: var(--custom-gray-color-700);
}

.banner-plus-item#banner-4 .banner-img-block {
  background: var(--custom-black-color);
}

.banner-plus-item:hover .btn-plus {
  background: var(--custom-accent-color-500);
}

.banner-plus-item:hover .btn-plus::before,
.banner-plus-item:hover .btn-plus::after {
  background: var(--custom-white-color);
}

.static-banners {
  margin-top: 80px;
}

.static-banners h2 {
  width: min-content;
}

.static-banners
  .features__plus-row:not(.static-banners .features__plus-row:last-child) {
  margin-bottom: 20px;
  margin-top: -20px;
}

.banner-form {
  background: var(--custom-gray-color-400)
    url(https://stroybaza-samara.ru/media/uploads/svg/banner-pattern.svg)
    no-repeat;
  background-size: contain;
  background-position: right bottom;
  height: 330px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 20px;
}

.banner-form img {
  position: absolute;
  bottom: 0;
  left: -25px;
  height: 100%;
}

.banner-form form {
  padding-left: 185px;
}

.banner-form .form-control {
  background: var(--custom-white-color);
}

.banner-form .btn {
  width: 175px;
}

.form-control::placeholder {
  font-size: 13px;
}

/* внутренние страницы */

.catalog-menu.catalog-categories-block,
.clients-section {
  gap: 10px;
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px;
  margin-bottom: 20px;
}

.partner-item {
  border: 1px solid var(--custom-gray-color-300);
  border-radius: 0;
  overflow: hidden;
  background: var(--custom-white-color);
  margin: 0;
}

.points-grid .partner-item {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.partner-item p {
  margin: 0;
}

.partner-item a {
  color: var(--custom-black-color);
  line-height: 130% !important;
}

.buttons-columns {
  margin-bottom: 20px;
}

.buttons-columns .btn {
  width: auto;
}

.amk-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 80px;
}

.about-partner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 80px;
}

.button-theme_primary.grey {
  background: var(--custom-gray-color-100);
}

.button-theme_primary.grey:hover {
  background: var(--custom-accent-color-500) !important;
}

.about-partner .about-item {
  border: 1px solid var(--custom-gray-color-300);
  padding: 25px;
}

.partner-img-block {
  margin-bottom: 80px;
  background-color: var(--custom-gray-color-50);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  max-height: 220px;
  height: 220px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0px 20px;
}

.partner-img-block .partner-logo {
  z-index: 2;
  margin: 0;
  max-height: 60px;
  max-width: 400px;
  position: relative;
}

.partner-img-block span {
  text-align: center;
  font-size: 30px !important;
  margin: 0;
  max-width: 400px;
}

.static-project .gallery .item {
  border: 1px solid var(--custom-gray-color-300);
}

.static-project .gallery .item--big {
  border: none;
}

/* контакты */

.inner-page h1 {
  font-size: 22px !important;
}

.contact-line .icon {
  display: none;
}

.catalog-sorting ul li a,
.catalog-sorting__title,
.contacts-list span,
.contact-line a,
.contact-text-line p,
.btn-border,
.filter-show-all a,
.char-text,
.char-text:last-child,
.btn-radius,
.product-card__discription-title,
.product-item__status {
  font-size: 13px;
}

.contact-line a {
  color: var(--custom-black-color);
}

.contacts-block__title-red.address-data {
  margin-top: 0;
  font-size: 22px !important;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.contacts-block {
  border: none;
  gap: 10px;
}

.contacts-block__info {
  padding: 30px;
  background: var(--custom-gray-color-400)
    url(https://stroybaza-samara.ru/media/uploads/svg/banner-pattern.svg)
    no-repeat;
  background-size: contain;
  background-position: right bottom;
  width: 50%;
}

.contacts-block__map {
  width: 50%;
  border: 1px solid var(--custom-gray-color-300);
}

.ymaps-2-1-79-svg-icon {
  display: block;
  background: url(https://stroybaza-samara.ru/media/uploads/svg/icon-map.svg)
    no-repeat !important;
  background-size: cover !important;
  width: 37px !important;
  height: 24px !important;
}

.ymaps-2-1-79-ground-pane {
  filter: grayscale(1);
  opacity: 0.8;
}

.catalog-menu-item__name,
.client-item__text {
  max-width: 140px;
}

.catalog-menu-item__image img {
  bottom: -1px;
  top: auto;
  height: 101%;
  left: auto;
  width: auto;
  right: -1px;
}

.client-item {
  aspect-ratio: 2.8;
  border: 1px solid var(--custom-gray-color-100);
  border-radius: 0;
}

.client-item:nth-child(1) {
  background-color: var(--custom-white-color);
  border: 1px solid var(--custom-gray-color-300);
}

.client-item:nth-child(2),
.client-item:nth-child(4),
.client-item:nth-child(9),
.client-item:nth-child(11) {
  background-color: var(--custom-white-color);
  border: 1px solid var(--custom-gray-color-300);
}

.client-item:hover {
  background-color: var(--custom-black-color);
  border: 1px solid var(--custom-white-color);
}

.client-item__text {
  max-width: 70%;
  vertical-align: middle;
  transform: translateY(-50%);
  left: 20px;
  bottom: auto;
  padding: 0;
  top: 50%;
  font-weight: 400;
}

.menu-section .client-item__text {
  max-width: 108px;
}

.breadcrumbs {
  gap: 5px 0;
}

.breadcrumbs {
  font-size: 10px;
  color: var(--custom-gray-color-700);
  line-height: 100%;
}

.breadcrumbs__sep {
  width: 8px;
  height: 8px;
}

.breadcrumbs a {
  font-size: 10px !important;
  text-transform: none;
  margin-right: 6px !important;
  color: var(--custom-black-color);
}

.static-project .char {
  width: calc(50% - 10px);
}

.char-text:last-child {
  max-width: 120px !important;
}

.product-info {
  gap: 130px;
}

.category-root-page .catalog-menu,
.catalog-menu.catalog-categories-block {
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.catalog-menu-item {
  border-radius: 0;
  aspect-ratio: 3.6 / 1;
}

.catalog-menu-item__name {
  max-width: 120px;
  vertical-align: middle;
  transform: translateY(-50%);
  left: 20px;
  bottom: auto;
  padding: 0;
  top: 50%;
}

.static-project .product-info__chars {
  position: relative;
}

.product-card-container {
  position: relative;
}

.static-project .product-info__chars::after,
.product-card-container::before,
.product-content::after,
.container--small::before {
  content: "";
  height: 1px;
  width: 2550px;
  position: absolute;
  bottom: -40px;
  background: var(--custom-gray-color-300);
  z-index: 10;
  left: calc(50% - 1275px);
}

.product-card-container::before {
  bottom: auto;
  top: -40px;
}

.container--small::before {
  bottom: auto;
  top: 0px;
}

.project-chars {
  margin-bottom: 80px;
}

.product-card-v2__buttons .st-button_not-availbe {
  background-color: var(--custom-gray-color-100);
  border: none;
  border-radius: 0px;
  height: 32px !important;
  font-size: 13px;
  padding: 0;
}

.product-card-v2__buttons .st-button_not-availbe:hover {
  background-color: var(--custom-accent-color-500);
  border: none;
  color: var(--custom-black-color);
}

.catalog-box li {
  margin-bottom: 10px;
}

.catalog-box ul a {
  font-size: 13px;
  padding-right: 0;
}

.catalog-menu-item__name {
  color: var(--custom-white-color);
  font-weight: 400;
}

.catalog-menu-item {
  background: var(--custom-black-color);
  transition: color 0.25s ease;
}

.catalog-menu-item:hover {
  background: var(--custom-black-color);
}

.catalog-menu-item:hover .catalog-menu-item__name {
  color: var(--custom-accent-color-500);
}

.catalog-menu-item__image img {
  transition: transform 0.25s ease;
}

.catalog-menu-item:hover .catalog-menu-item__image img {
  transform: scale(1.03);
}

.welcome .catalog-menu-item {
  background: var(--custom-white-color);
  border: 1px solid var(--custom-accent-color-500);
}

.welcome .catalog-menu-item .catalog-menu-item__name {
  color: var(--custom-black-color);
}

.welcome .catalog-menu-item:hover {
  background: var(--custom-black-color);
  border: 1px solid var(--custom-black-color);
}

.welcome .catalog-menu-item:hover .catalog-menu-item__name {
  color: var(--custom-accent-color-500);
}

.custom-news-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.custom-news-section .news-item-img::before {
  background: var(--custom-white-color);
}

.custom-news-section .custom-news-item {
  padding-top: 0;
}

/* каталог */

.filter-item-title,
.catalog-filter-accordion .opener {
  font-size: 13px;
  color: var(--custom-black-color);
  text-transform: uppercase;
  font-weight: 600 !important;
}

.checkbox [type="checkbox"]:not(:checked) + label,
.checkbox [type="checkbox"]:checked + label {
  font-size: 11px;
}

.catalog-filter-accordion .opener::before {
  border: none;
}

.input-cont .range-input {
  border: 1px solid var(--custom-gray-color-300);
  opacity: 1;
  height: 34px;
  border-radius: 0;
}

.input-cont {
  height: 34px;
}

.noUi-horizontal {
  height: 1px;
  background: var(--custom-gray-color-300);
}

.noUi-connects,
.filter-range .noUi-connect,
.filter-range .noUi-connect::before {
  background-color: var(--custom-gray-color-300);
}

.noUi-horizontal .noUi-handle {
  width: 12px;
  height: 12px;
  border-radius: 0;
  top: -6px;
}

.filter-range__head span {
  color: var(--custom-black-color);
}

.filter-show-all {
  height: 34px;
  border-radius: 0px;
  box-shadow: none;
}

.filter-show-all a {
  color: var(--custom-black-color);
}

.filter-range__head {
  padding-right: 0;
  padding-left: 0;
}

.product-card .st-button_add-to-favorite,
.product-card__right .button-theme_primary {
  width: calc(50% - 5px) !important;
}

.buttons-grid .button-theme_primary {
  width: 100% !important;
}

.product-card__content .not-for-sale {
  margin-bottom: 0;
}

.product-card__right h3 {
  margin-bottom: 10px !important;
  font-display: 20px !important;
}

.product-card__right .form-cart p {
  margin-bottom: 25px !important;
}

.shopping-cart-product .btn-border.not-for-sale {
  color: var(--custom-black-color) !important;
  border: 1px solid var(--custom-accent-color-500) !important;
  background: var(--custom-white-color) !important;
  height: 34px !important;
  min-width: 0;
  border-radius: 0;
  width: 100% !important;
}

.shopping-cart-product .btn-border.not-for-sale:hover {
  border: none !important;
  background: var(--custom-accent-color-500) !important;
  color: var(--custom-black-color) !important;
}

.g-title,
.content-title {
  font-size: 20px !important;
  text-transform: uppercase;
}

.product-card__discription {
  display: none;
}

.payment-section,
.form-cart {
  padding-top: 0px;
}

.product-card__container {
  padding: 0px 0px 80px 0;
  gap: 10px;
}

.product-card__head {
  margin-bottom: 20px !important;
}

.container--small h3 {
  margin-top: 30px;
}

.search-modal-window__input {
  height: 45px;
  background-color: var(--custom-white-color);
  border: 1px solid var(--custom-accent-color-500);
  padding: 0 15px !important;
  color: var(--custom-black-color);
  border-radius: 0;
  font-size: 13px;
}

.search-modal-window__input::placeholder {
  font-size: 13px;
  color: var(--custom-gray-color-800);
}

.g-link {
  font-size: 13px;
  color: var(--custom-gray-color-700);
}

.mobile-search input {
  border: none;
  height: 34px;
}

.mobile-search {
  height: 34px;
  border-radius: 0;
  background: var(--custom-gray-color-100);
}

.header-search button,
.mobile-search button {
  height: 34px;
  background: url(https://stroybaza-samara.ru/media/uploads/svg/search.svg)
    no-repeat !important;
  border: none;
  background-size: 16px !important;
  background-position: center center !important;
  border-radius: 0;
}

.header-search button:hover,
.mobile-search button:hover {
  background: url(https://stroybaza-samara.ru/media/uploads/svg/search-hover.svg)
    no-repeat !important;
  background-size: 16px !important;
  background-position: center center !important;
  border: none;
}

.header-search button::placeholder,
.mobile-search button::placeholder {
  font-size: 13px;
}

.form-cart .button-theme_primary {
  border: 1px solid var(--custom-accent-color-500) !important;
  background: var(--custom-white-color) !important;
}

.form-cart .button-theme_primary:hover {
  border: 1px solid var(--custom-accent-color-500) !important;
  background: var(--custom-accent-color-500) !important;
}

.buttons-grid {
  display: grid;
  gap: 10px;
  margin-top: auto;
  grid-template-columns: 1fr 1fr;
}

.buttons-grid a {
  width: 100% !important;
  padding: 0;
}

.button-theme_primary.border {
  border: 1px solid var(--custom-accent-color-500) !important;
  background: var(--custom-white-color) !important;
}

.button-theme_primary.border:hover {
  border: 1px solid var(--custom-accent-color-500) !important;
  background: var(--custom-accent-color-500) !important;
}

.product-card__content {
  gap: 10px;
  height: 491px;
  width: 58%;
}

.product-card__slideshow {
  width: 42%;
  position: relative;
}

.product-card__right {
  width: 50%;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--custom-gray-color-300);
}

.product-card__left {
  height: 100%;
  padding: 20px;
  border: 1px solid var(--custom-gray-color-300);
}

#sync1 {
  margin-bottom: 0;
}

#sync2 {
  height: min-content;
  margin-top: -80px;
  margin-left: 20px;
  width: 411px;
}

#sync2 .owl-dots {
  display: none;
}

.product-card__main-cost {
  gap: 10px;
  font-size: 13px;
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 600;
}

.product-card__personal-cost strong {
  text-transform: none;
}

.product-sale-badge {
  border-radius: 0;
  height: 18px;
  align-items: center;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  justify-content: center;
}

.product-card__main-cost span {
  font-size: 22px !important;
  line-height: 100%;
  text-transform: uppercase;
  font-weight: 500 !important;
  color: var(--custom-gray-color-700);
}

.product-card__personal-cost span {
  text-transform: uppercase;
  font-weight: 600;
}

.product-sidebar__static-text-wrapper {
  margin-bottom: 0 !important;
}

.product-card__personal-cost strong {
  font-size: 22px;
  line-height: 100%;
}

.product-card__rating,
.share-btn,
.product-card .st-button_add-to-favorite {
  height: 34px;
  background: var(--custom-white-color);
  border: 1px solid var(--custom-accent-color-500);
  width: calc(50% - 5px);
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  gap: 10px;
  position: relative;
}

.share-btn,
.product-card__rating {
  margin-top: -5px;
}

.share-btn::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(https://stroybaza-samara.ru/media/uploads/svg/share-2.svg)
    no-repeat;
  background-size: cover;
  background-position: center center;
}

.product-card__review-link {
  margin-left: 0;
}

.btn-radius.share-btn .icon-svg {
  display: none;
}

.product-card__rating:hover,
.share-btn:hover,
.product-card .st-button_add-to-favorite:hover {
  background: var(--custom-gray-color-100);
  border: 1px solid var(--custom-gray-color-100);
  color: var(--custom-black-color);
}

.product-card__rating:hover a {
  color: var(--custom-black-color);
}

.product-card__review-link a {
  font-size: 13px;
  color: var(--custom-black-color);
}

.product-card__rating .star--full {
  background-image: url(https://stroybaza-samara.ru/media/uploads/svg/star-full.svg);
  background-size: 9px 9px;
  background-position: center center;
  background-repeat: no-repeat;
}

.product-card__rating .star--empty {
  background-image: url(https://stroybaza-samara.ru/media/uploads/svg/star-empty.svg);
  background-size: 9px 9px;
  background-position: center center;
  background-repeat: no-repeat;
}

.product-card__rating .star {
  width: 7px;
  height: 9px;
  margin-left: 0;
}

.product-card .st-button_add-to-favorite {
  display: flex;
  gap: 3px;
  width: 100%;
  max-width: none;
  padding: 0 5px;
  justify-content: center;
  align-items: center;
  position: static;
}

.st-button_add-to-favorite .icon-container {
  width: 20px;
  height: 20px;
}

.product-card .st-button_add-to-favorite::after {
  content: "В избранное";
  font-size: 13px;
  color: var(--custom-black-color);
}

.st-button_add-to-favorite:is(:hover, .active)
  .icon-container
  .st-button__icon_favorite:last-child {
  width: 100%;
}

.shopping-cart-btn--lg.custom-icon {
  gap: 10px;
  font-size: 13px;
  height: 34px;
  border-radius: 0;
}

.shopping-cart-btn--lg.custom-icon:hover {
  background: var(--custom-gray-color-100) !important;
  color: var(--custom-black-color) !important;
  border: none !important;
}

.shopping-cart-btn--lg.custom-icon:hover img.cart-icon {
  display: block;
  margin: 0;
  padding: 0;
}

.shopping-cart-btn--lg.custom-icon:hover .custom-icon.hover {
  display: none !important;
}

.shopping-cart-product {
  gap: 10px;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.product-card__title {
  margin-bottom: 0 !important;
}

#sync2 .item {
  border-radius: 0;
  height: 60px;
  width: 60px;
  background: var(--custom-gray-color-100);
}

.document-item__format {
  background: url(https://stroybaza-samara.ru/media/uploads/svg/format-file.svg);
  color: var(--custom-accent-color-500);
}

.document-item__size {
  font-size: 13px;
  color: var(--custom-black-color);
}

.document-item__btn-download {
  flex-shrink: 0;
  background: var(--custom-accent-color-500);
  height: 34px;
  color: var(--custom-black-color);
  border: none !important;
  border-radius: 0;
}

.document-item__btn-download:hover {
  background: var(--custom-gray-color-100);
  color: var(--custom-black-color);
  border: none;
}

.document-item__text-link {
  font-size: 13px;
  color: var(--custom-black-color);
}

.document-item__btn-download svg {
  display: none;
}

.product-content {
  flex-direction: column !important;
  margin-bottom: 80px !important;
  position: relative;
  gap: 40px !important;
}

.amk-projects__about .button-theme_primary {
  width: 175px;
}

.related-products-main {
  margin-bottom: 80px;
}

.product-card-content .gap-0 {
  order: 5;
}

.product-card-content .gap-15:nth-child(2) {
  order: 1;
}

.product-card-content .gap-15:nth-child(1) {
  order: 2;
}

.product-card-content .gap-15:nth-child(3) {
  order: 3;
}

.rating-stars ul {
  gap: 0px;
  margin-bottom: 0;
  flex-direction: row;
}

.rating-stars ul li::before {
  display: none;
}

.ya-share-block {
  justify-content: flex-end;
  margin-top: -44px;
}

.fa-star::before {
  content: "";
  background-image: url(https://stroybaza-samara.ru/media/uploads/svg/star-empty.svg);
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  position: absolute;
  height: 100%;
  width: 100%;
}

.star.selected .fa-star::before,
.star.hover .fa-star:before {
  content: "";
  background-image: url(https://stroybaza-samara.ru/media/uploads/svg/star-full.svg);
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  position: absolute;
  height: 100%;
  width: 100%;
}

.review-item .product-item__rating .star--full {
  background-size: 9px 9px;
  content: "";
  background-image: url(https://stroybaza-samara.ru/media/uploads/svg/star-full.svg);
  background-position: center center;
  background-repeat: no-repeat;
}

.review-item .product-item__rating .star--empty {
  background-size: 9px 9px;
  content: "";
  background-image: url(https://stroybaza-samara.ru/media/uploads/svg/star-empty.svg);
  background-position: center center;
  background-repeat: no-repeat;
}

.review-item .product-item__rating .star {
  width: 9px;
  height: 9px;
  margin-left: 0px;
}

.review-item p,
.review-item__footer a {
  color: var(--custom-black-color);
}

.review-item .product-item__rating {
  margin-top: 5px;
}

.review-item__footer a {
  font-size: 13px;
}

.review-item__date,
.review-item__links span:first-child {
  color: var(--custom-gray-color-700);
}

.rating-stars ul > li.star > i.fa {
  color: var(--custom-white-color);
  width: 9px;
  height: 9px;
  position: relative;
}

.star {
  height: 9px;
  width: 9px;
}

.rating-stars ul > li.star {
  display: flex;
}

.rate-product__title {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

.btn--fixed-small {
  height: 34px;
  border-radius: 0;
  color: var(--custom-black-color);
  font-size: 13px;
}

.btn--fixed-small:hover {
  background: var(--custom-gray-color-100);
  color: var(--custom-black-color);
}

.product-card-container .product-card-side {
  display: flex;
}

.product-card-container .product-card-content {
  width: 71%;
}

.product-card-container {
  gap: 55px;
}

.layout-grid iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1.78;
}

.layout-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 30px;
  margin-top: 30px;
}

.social-media {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.product-item--banner a,
.aside-banners-grid .content-standard-box__container,
.advertising_horizontal .advertising__block {
  clip-path: polygon(0% 34px, 34px 0%, 100% 0%, 100% 100%, 0% 100%);
}

.advertising__block img {
  height: auto;
}

.product-card-container .product-card-side {
  width: 280px;
}

.review-textarea {
  margin-bottom: 0;
}

.inner-page .slider-constructor .slick-prev,
.inner-page .slider-constructor .slick-next {
  top: -60px;
}

.inner-page .product-set-title {
  max-width: 290px;
}

.project-card-button {
  padding: 0 20px;
  width: min-content;
  height: 34px;
  font-size: 13px;
}

.projects-search__input {
  height: 34px;
  border: 1px solid var(--custom-gray-color-300);
  border-radius: 0;
  font-size: 13px;
  color: var(--custom-black-color);
}

.projects-search__input::placeholder {
  font-size: 13px;
  color: var(--custom-gray-color-700);
}

.projects-search__button .icon-svg {
  width: 14px;
  height: 14px;
}

.catalog-side__title,
.catalog-side__content ul li a:before {
  display: none;
}

.catalog-side__content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-side__content,
.catalog-side {
  border: none;
}

.catalog-side {
  background: transparent;
}

.container--small {
  position: relative;
  padding-top: 40px !important;
}

.menu-item__link,
.catalog-side__content ul li a,
.catalog-side__content .submenu a {
  height: 34px;
  font-size: 13px;
  padding: 0 25px;
  color: var(--custom-black-color);
  background: var(--custom-white-color) !important;
  border: 1px solid var(--custom-accent-color-500) !important;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  display: flex;
  text-align: left;
}

.menu-item__link.active,
.catalog-side__content ul li a.active,
.catalog-side__content ul li a:hover,
.menu-item__link:hover,
.menu-item.active a,
.catalog-side__content .submenu a:hover,
.catalog-side__content .submenu a {
  background: var(--custom-gray-color-100) !important;
  color: var(--custom-black-color) !important;
  border: 1px solid var(--custom-gray-color-100) !important;
}

.catalog-side__content .submenu a:hover {
  background: var(--custom-accent-color-500) !important;
  border: 1px solid var(--custom-accent-color-500) !important;
}

.catalog-side__content ul li:hover .submenu {
  display: flex;
  background: transparent;
  gap: 10px;
  box-shadow: none;
}

.catalog-side__content .submenu {
  left: 239px;
  width: 280px;
}

.advertising h2 {
  width: min-content;
}

/* корзина */

.delivery-total__lg,
.shopping-cart-item__total-cost {
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.simple-order-form__title {
  font-size: 13px;
  text-transform: uppercase;
}

.shopping-cart-item__name span {
  font-size: 11px !important;
}

.form-control:valid + .label-name .content-name {
  font-size: 9px !important;
  top: -10px !important;
  color: var(--custom-black-color) !important;
}

.new-radio__label:after,
.new-radio__label:before,
.shopping-cart-btn--lg.custom-icon {
  border-radius: 0;
}

.new-radio__label,
.simple-order-form__column .d-flex.flex-row label {
  font-size: 13px;
}

.form-group-number {
  border-radius: 0;
  width: 25px;
  height: 25px;
  font-size: 11px !important;
  bottom: 14px;
}

.form-delivery-distance span,
.form-delivery-distance,
.form-delivery-address div,
.point-on-map-label {
  font-size: 13px !important;
}

.form-delivery-cost,
.form-delivery-cost span {
  font-size: 13px !important;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-weight: 600;
}

.form-delivery-cost span {
  background: none;
  padding: 0;
  border-radius: 0;
}

.form-group label.label-lg {
  font-size: 13px;
  color: var(--custom-black-color);
}

.dropdown-select {
  border: 1px solid var(--custom-gray-color-300);
  border-radius: 0;
  height: 34px;
  padding: 0 20px;
  display: flex;
  font-size: 13px;
  align-items: center;
}

.active .dropdown-select,
.dropdown-select-ul {
  background: var(--custom-gray-color-100);
  border-radius: 0;
}

.dropdown-select-ul li {
  padding: 0 20px;
  height: 34px;
  display: flex;
  font-size: 13px;
  margin: 0 !important;
  align-items: center;
}

.dropdown-select-ul li.selected,
.dropdown-select-ul li:hover {
  color: var(--custom-black-color);
}

.calculate-delivery .form-group .btn {
  height: 34px;
  font-size: 13px;
  color: var(--custom-black-color);
  border-radius: 0;
}

.menu-list__item {
  border-bottom: 1px solid var(--custom-gray-color-300);
}

.mm-menu a {
  font-size: 13px;
  color: var(--custom-black-color) !important;
}

.mm-navbar__title > span {
  text-transform: uppercase;
}

.mm-menu a:hover,
.mm-btn--next:hover {
  color: var(--custom-accent-color-500) !important;
}

/* избранное */

.widget-content {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 0;
  padding-block: 0;
}

.widget {
  border: none;
}

.product-item__art {
  font-size: 11px !important;
  color: var(--custom-gray-color-700);
}

.favorite-aside-bottom {
  margin-top: 0;
}

.color-gray-550 {
  font-size: 13px;
  font-weight: 600;
  color: var(--custom-black-color);
}

.favorite-aside-bottom-buttons
  .checkbox
  [type="checkbox"]:not(:checked)
  + label,
.favorite-aside-bottom-checkbox [type="checkbox"]:checked + label {
  font-size: 13px;
  color: var(--custom-black-color);
}

.cart-item__checkbox [type="checkbox"]:checked + label:before,
.cart-item__checkbox [type="checkbox"]:checked + label:after {
  top: 50% !important;
}

.s-item-price {
  text-transform: uppercase;
}

.__header #search-result .s-item-link {
  align-items: flex-start;
}

.btn.btn-plaintext {
  font-size: 13px;
  color: var(--custom-black-color);
}

.product-item__name {
  font-size: 13px;
  line-height: 130% !important;
  color: var(--custom-black-color);
}

.cart-item--favorite .cart-item__image-wrapper {
  background: var(--custom-gray-color-100);
}

.cart-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--custom-gray-color-300);
}

.product-item__cost-product {
  font-size: 13px;
  color: var(--custom-black-color);
  font-weight: 600;
}

.favorite-aside-btn,
.btn-plaintext.selected-to-cart {
  color: var(--custom-white-color);
  background: var(--custom-accent-color-500);
  border: none;
  height: 34px;
  border-radius: 0;
  width: 175px;
  border: 1px solid var(--custom-accent-color-500);
}

h1 span,
.h1 span {
  font-size: inherit !important;
  font-weight: inherit;
}

.favorite-aside-btn::before,
.btn-plaintext.selected-to-cart::before {
  content: "";
  width: 22px;
  height: 15px;
  background: url(https://stroybaza-samara.ru/media/uploads/svg/cart-icon.svg)
    no-repeat;
  background-position: center center;
  background-size: cover;
}

.favorite-aside-btn .svg-icon,
.btn.btn-plaintext .svg-icon {
  display: none;
}

.favorite-aside-btn:hover,
.btn-plaintext.selected-to-cart:hover {
  color: var(--custom-black-color);
  background: var(--custom-white-color);
  border: 1px solid var(--custom-accent-color-500);
}

.favorite-aside-btn:hover::before,
.btn-plaintext.selected-to-cart:hover::before {
  background: url(https://stroybaza-samara.ru/media/uploads/svg/cart-icon-icon.svg)
    no-repeat;
  background-position: center center;
  background-size: cover;
}

.mt-auto {
  flex-shrink: 0;
}

.cart-item--favorite {
  flex-direction: row !important;
}

.cart-item--favorite .cart-item__image-wrapper {
  margin-bottom: 0;
}

.widget .st-button_add-to-cart::before {
  content: "";
  width: 22px;
  height: 15px;
  background: url(https://stroybaza-samara.ru/media/uploads/svg/cart-icon-icon.svg)
    no-repeat;
  background-position: center center;
  background-size: cover;
}

.st-button_add-to-cart {
  border-radius: 0 !important;
}

.widget .st-button_add-to-cart {
  background: var(--custom-gray-color-100);
  border: none !important;
  height: 34px;
  border-radius: 0 !important;
}

.widget .st-button_add-to-cart:hover {
  background: var(--custom-accent-color-500);
  border: none !important;
}

.widget .st-button_add-to-cart:hover::before {
  background: url(https://stroybaza-samara.ru/media/uploads/svg/cart-icon.svg)
    no-repeat;
  background-position: center center;
  background-size: cover;
}

.cart-item--favorite {
  padding: 10px 0 !important;
  border-bottom: 1px solid var(--custom-gray-color-400) !important;
}

.modal {
  padding: 30px;
  min-height: auto;
}

.modal .h2 {
  margin-bottom: 25px;
  font-size: 20px !important;
}

.modal#city-selection .h2 {
  font-size: 0 !important;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.modal#city-selection .h2::after {
  font-size: 20px;
  content: "Выберите базу стройматериалов";
  text-transform: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.city-list a:hover {
  color: var(--custom-black-color);
  text-decoration: underline;
  text-underline-offset: 8px;
}

.fixed-header-button {
  position: fixed;
  top: 27px;
  left: calc(50% + 100px);
  z-index: 1000;
  pointer-events: none;
}

.fixed-header-menu {
  left: calc(50% + 49px);
  z-index: 1000;
  pointer-events: auto;
  position: fixed;
  top: 33px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fixed-header-button .btn {
  pointer-events: auto;
  width: 150px;
  background: none;
  color: var(--custom-black-color) !important;
  padding: 0;
  height: 24px;
  padding-bottom: 4px !important;
  border-bottom: 1px solid var(--custom-accent-color-500);
  width: auto;
  font-size: 13px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.__header .row .col-lg-6 {
  margin-left: 0px;
}

.fixed-header-menu .btn {
  flex-direction: column;
  background: none;
  color: var(--custom-black-color);
  font-size: 0px;
  gap: 2px;
  padding: 0;
  height: auto;
  border-radius: 0;
}

.fixed-header-menu:hover .btn {
  color: var(--custom-accent-color-500);
}

.fixed-header-menu img {
  width: 32px;
  height: 18px;
  margin-left: 0px;
}

.fixed-header-button .btn:hover {
  color: var(--custom-accent-color-500);
}

.fixed-header-button .btn img {
  width: 12px;
  height: 7px;
}

/* pop-up */

.city-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.city-popup[hidden] {
  display: none;
}

.city-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--custom-gray-color-700);
}

.city-popup__close:hover {
  color: var(--custom-black-color);
}

.city-popup h2 {
  margin: 0 0 15px;
}

.city-popup p {
  margin: 0 0 25px;
  color: var(--custom-black-color);
}

.city-popup__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.city-popup__list li::before {
  display: none !important;
}

.city-popup__list li {
  margin-bottom: 0 !important;
  padding-left: 0 !important;
}

.city-popup__list a {
  display: inline-block;
  padding: 6px 0;
  color: var(--custom-black-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.city-popup__list a:hover {
  border-bottom-color: currentColor;
}

.city-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.city-popup.is-active {
  display: flex;
}

.city-popup__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
}

.city-popup__content {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding: 30px;
  background: var(--custom-white-color);
  box-sizing: border-box;
  z-index: 2;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

body.popup-open {
  overflow: hidden;
}

.section-favorite .icon-sort-price,
.affiliate-network__head {
  display: none;
}

.cost-building {
  margin-bottom: 60px;
}

.catalog__links-block a {
  border-radius: 0px;
  font-size: 13px;
  color: var(--custom-black-color);
  padding: 0px 20px;
  border: 1px solid var(--custom-accent-color-500);
  height: 34px;
}

.catalog__links-block {
  padding-bottom: 0;
}

.catalog__links-block a:is(:hover, :focus-visible, .active) {
  color: var(--custom-black-color);
}

.city-select-wrapper {
  width: 250px;
  height: 34px;
}

.city-select-box__trigger {
  padding: 10px 15px;
  background: var(--custom-gray-color-100);
  border: none;
  min-height: 34px;
  height: 34px;
  border-radius: 0;
  color: var(--custom-black-color);
  font-size: 13px;
}

.city-select-box__dropdown {
  background: var(--custom-gray-color-100);
  border: none;
  border-top: none;
  border-radius: 0;
  box-shadow: none;
}

.city-select-box__search {
  padding: 10px 15px;
  border-bottom: 1px solid var(--custom-gray-color-300);
  background: var(--custom-gray-color-100);
}

.city-select-box__search-input,
.projects-search__input {
  border: 1px solid var(--custom-gray-color-300);
  border-radius: 0px;
  color: var(--custom-black-color);
  font-size: 13px;
}

.city-select-box.open .city-select-box__trigger,
.projects-search__input {
  background: var(--custom-gray-color-100);
}

.projects-search__input {
  border: none;
}

.city-select-box__option {
  padding: 8px 15px;
  color: var(--custom-black-color);
  font-size: 13px;
  height: 34px;
}

.city-select-box__search-input:focus,
.projects-search__input:focus {
  border-color: var(--custom-accent-color-500);
  box-shadow: none;
}

.city-select-box__search-icon {
  right: 30px;
  width: 12px;
}

.city-select-box__option.selected,
.city-select-box__option:hover {
  background: var(--custom-accent-color-500);
  color: var(--custom-black-color);
  font-weight: 400;
}

.partner-item {
  padding: 20px;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  background: var(--custom-gray-color-100);
  border: none;
  position: relative;
  display: flex;
  flex-direction: column;
}

.points-grid,
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.partner-item__bg {
  position: relative;
  height: auto;
  background: transparent;
}

.partner-item__name {
  padding: 0;
  font-weight: 600;
  font-size: 13px;
  line-height: 100%;
  text-transform: uppercase;
  display: block;
  color: var(--custom-black-color);
}

.partner-item__content {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.partner-item__line {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.partner-item .icon {
  display: none;
}

.partner-item__link {
  margin-top: auto;
  display: flex;
  height: 34px;
  background-color: var(--custom-white-color);
  align-items: center;
  justify-content: center;
  padding: 0px 20px;
  width: max-content;
  border: 1px solid var(--custom-accent-color-500);
  color: var(--custom-black-color);
  transition: 0.2s;
  width: 175px;
}

.partner-item__link:hover {
  background-color: var(--custom-accent-color-500);
  border: 1px solid var(--custom-accent-color-500);
}

.partner-item__link::after {
  display: none;
}

.partner-item__link::before {
  content: "Подробнее";
  font-size: 13px;
  color: var(--custom-black-color);
}

.partner-item__link:hover::before {
  color: var(--custom-black-color);
}

.partner-item__line,
.partner-item__line p {
  font-size: 13px;
  color: var(--custom-black-color);
}

.ya-share2__badge {
  width: 30px !important;
  height: 30px !important;
  border-radius: 0 !important;
}

.ya-share2__item_service_vkontakte .ya-share2__badge,
.ya-share2__item_service_vkontakte .ya-share2__mobile-popup-badge {
  background-color: var(--custom-gray-color-600) !important;
}

.ya-share2__item_service_odnoklassniki .ya-share2__badge,
.ya-share2__item_service_odnoklassniki .ya-share2__mobile-popup-badge {
  background-color: var(--custom-gray-color-700) !important;
}

.ya-share2__item_service_telegram .ya-share2__badge,
.ya-share2__item_service_telegram .ya-share2__mobile-popup-badge {
  background-color: var(--custom-black-color) !important;
}

.article-inner__share-title {
  color: var(--custom-gray-color-700);
}

.news-item-info-text .button-theme_primary {
  width: max-content !important;
  flex-shrink: 0;
  padding: 0 10px !important;
}

.custom-news-item:hover .button-theme_primary {
  background: var(--custom-gray-color-100);
}

/* Тизер */

.article-hero {
  margin-bottom: 60px;
}

.article-hero__image {
  width: 100%;
  overflow: hidden;
}

.article-hero__image img {
  display: block;
  width: 100%;
  margin: 0;
}

.shopping-cart-product .shopping-cart-btn.custom-icon img {
  display: none !important;
}

/* Универсальная секция статьи */

.article-section {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 80px;
  margin-bottom: 80px;
}

.article-section--intro {
  margin-bottom: 80px;
}

.article-section__content ul,
.article-section__content ol {
  margin: 0 0 20px;
}

.article-section__title h2 {
  margin: 0;
  max-width: 200px;
}

.article-section__content h4 {
  margin-top: 25px;
}

.article-section__content {
  max-width: 920px;
}

.article-section__content > *:first-child {
  margin-top: 0;
}

.article-section__content > *:last-child {
  margin-bottom: 0;
}

.article-section__content p {
  margin: 0 0 20px;
}

.article-section__content li {
  margin-bottom: 10px;
}

/* Картинки внутри статьи */

.article-images {
  display: grid;
  gap: 10px;
  margin-top: 40px;
}

.article-images--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-images__item {
  min-height: auto;
  background: var(--custom-gray-color-100);
  overflow: hidden;
}

.article-images--two .article-images__item {
  aspect-ratio: 1;
}

.article-images__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Нижний блок статьи */

.article-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-top: 30px;
  border-top: 1px solid var(--custom-gray-color-300);
  margin-left: 440px;
}

.article-bottom__info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.article-bottom__logo {
  width: 50px;
  height: auto;
  flex-shrink: 0;
}

.article-bottom__text {
  max-width: 420px;
}

.article-bottom__text p {
  margin: 0 0 20px;
}

.article-bottom__text time {
  display: block;
}

.article-bottom__social {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.article-bottom__social-text {
  margin: 12px 0 0;
}

.offer-slider {
  padding-top: 20px;
  background: var(--custom-white-color);
}

.offer-slider-inner {
  background: var(--custom-black-color);
}

.offer-slider .about-block__content {
  padding-left: 0;
}

.under-slider-static-text {
  padding: 0;
  margin-top: -210px;
}

.under-slider-static-text .about-block__inner {
  grid-template-rows: 0 105px 105px 105px;
  background-color: transparent;
}

.under-slider-static-text .category-card:nth-child(5),
.under-slider-static-text .category-card:nth-child(2) {
  border-right: 5px solid var(--custom-white-color);
}

.offer-slider .about-block__hero {
  min-height: 425px;
  background: transparent;
}

.slider-constructor .slick-list {
  height: auto;
}

.custom-big-slide .slider-constructor .slick-prev,
.custom-big-slide .slider-constructor .slick-next {
  top: 65px;
  background: var(--custom-black-color);
  border: 1px solid var(--custom-white-color);
}

.custom-big-slide .slider-constructor .slick-arrow img,
.custom-big-slide .slider-constructor .slick-arrow svg {
  fill: var(--custom-white-color);
}

.custom-big-slide .slider-constructor .slick-arrow:hover {
  border: 1px solid var(--custom-accent-color-500);
}

.custom-big-slide .slider-constructor .slick-arrow:hover img,
.custom-big-slide .slider-constructor .slick-arrow:hover svg {
  fill: var(--custom-accent-color-500);
}

.custom-big-slide .slider-constructor .slick-prev {
  right: calc(50% - 551px);
}

.custom-big-slide .slider-constructor .slick-next {
  right: calc(50% - 590px);
}

.custom-big-slide .container:not(.offer-slider-inner .container) {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.custom-big-slide .about-block__hero::before {
  display: none;
}

.offer-slider-inner {
  position: relative;
}

.offer-slider-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 430px;
  background-image: url(https://stroybaza-samara.ru/media/uploads/svg/pattern-offer.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 100%;
  opacity: 1;
  pointer-events: none;
}

.custom-big-slide {
  z-index: 2;
}

.filter-item .form-group {
  margin-bottom: 8px;
}

.product-card-v2__labels {
  top: 52px;
  bottom: auto;
  right: -1px;
  left: auto;
  height: min-content;
  width: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  margin-left: 0px;
}

.product-card-v2__labels
  .card-label:not(.product-card-v2__labels .card-label:last-child) {
  margin-bottom: -9px;
}

.product-card-sell-badge {
  top: 37px;
}

.st-button_add-to-favorite .icon-container {
  width: 20px !important;
  height: 40px;
}

.st-button__icon_favorite:not(.product-card__left .st-button__icon_favorite) {
  min-width: auto;
  height: auto;
  background: var(--custom-white-color);
  z-index: 2;
  clip-path: polygon(0 8px, 100% 0, 100% calc(100% - 8px), 0 100%);
  width: 100%;
  height: 100%;
  padding: 1px;
}

.st-button_add-to-favorite {
  overflow: visible;
  max-width: 20px;
  min-width: 20px;
  right: 0;
  bottom: auto;
  top: 20px;
}

.product-card-sell-badge {
  right: -1px;
  top: 16px;
  width: min-content;
  min-width: 0;
  bottom: auto;
  left: auto;
  height: 30px;
}

.st-button_add-to-favorite .icon-container::before {
  content: "";
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  top: -1px;
  position: absolute;
  left: -1px;
  background: var(--custom-accent-color-500);
  clip-path: polygon(0 8px, 100% 0, 100% calc(100% - 8px), 0 100%);
  z-index: 1;
}

.product-card__left .st-button_add-to-favorite .icon-container::before {
  display: none;
}

.product-item__flag,
.card-label,
.product-card-sell-badge {
  font-weight: 400;
  padding: 0 !important;
  line-height: 100% !important;
  font-size: 0px !important;
  clip-path: polygon(0 9px, 100% 0, 100% calc(100% - 9px), 0 100%);
  height: 42px;
  display: flex;
  font-size: 0 !important;
  width: 22px !important;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.product-item__flag-content {
  flex-direction: row;
  margin-left: 0px;
}

.product-item__flag-content {
  display: none;
}

.product-card .product-item__flag--new,
.card-label_style-new {
  background: var(--custom-new-color)
    url(https://stroybaza-samara.ru/media/uploads/svg/new.svg) no-repeat;
  background-size: 16px;
  background-position: center;
}

.product-card .product-item__flag--hit,
.card-label_style-hit {
  background: var(--custom-hit-color)
    url(https://stroybaza-samara.ru/media/uploads/svg/hit.svg) no-repeat;
  background-size: 16px;
  background-position: center;
}

.product-card .product-item__flag--offer,
.card-label_style-offer {
  background: var(--custom-offer-color)
    url(https://stroybaza-samara.ru/media/uploads/svg/offer.svg) no-repeat;
  background-size: 18px;
  background-position: center;
}

.product-card .product-item__flag--discount {
  background: var(--custom-discount-color)
    url(https://stroybaza-samara.ru/media/uploads/svg/sale.svg) no-repeat;
  background-size: 18px;
  background-position: center;
}

.product-card .product-item__flag--sale,
.product-card-sell-badge {
  background: var(--custom-sale-color)
    url(https://stroybaza-samara.ru/media/uploads/svg/sale.svg) no-repeat;
  background-size: 16px;
  background-position: center;
}

.st-button_add-to-favorite {
  background: none !important;
  border-radius: 0;
}

.partner-wrapper__item__flag {
  display: none;
}

header ul.link--arrow-left span + a {
  padding-left: 48px;
}

.custom-catalog-button .btn {
  border: 1px solid var(--custom-accent-color-500) !important;
  background: var(--custom-white-color);
}

.custom-catalog-button .btn:hover {
  border: 1px solid var(--custom-accent-color-500) !important;
  background: var(--custom-accent-color-500) !important;
}

.search-modal-window__cancel {
  font-size: 0px;
  position: relative;
}

.search-modal-window__cancel::before {
  font-size: 13px;
  color: var(--custom-black-color);
  content: "Закрыть";
  top: 2px;
  position: relative;
}

.search-modal-window__search-results {
  max-height: 380px;
}

.search-modal-window {
  height: 438px;
  box-shadow: 0px 1px 15px 2px rgba(218, 218, 218, 0.5019607843);
  overflow: hidden;
}

.search-modal-window__cancel {
  min-width: 60px;
}

.search-modal-window__clear-input {
  right: 15px;
  height: 100%;
  background: transparent;
  width: 55px;
  border-radius: 0;
  position: absolute;
}

.search-modal-window__clear-input::after {
  font-size: 13px;
  color: var(--custom-gray-color-700);
  content: "Стереть";
}

.search-modal-window__clear-input svg {
  display: none;
}

.product-card-v2__image {
  position: relative;
}

.product-card-v2__badges-flex {
  position: absolute;
  top: 32px;
  bottom: auto;
  left: auto;
  right: -1px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
  flex-direction: column-reverse;
}

/* Принудительно сбрасываем старое позиционирование */
.product-card-v2__badges-flex .product-card-v2__labels,
.product-card-v2__badges-flex .product-card-sell-badge {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
}

.product-card-v2__badges-flex .product-card-v2__labels {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
}

.product-card-v2__badges-flex .product-card-v2__labels {
  margin-top: -10px !important;
}

.about-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 10px;
}

.about-section .about-img {
  background: var(--custom-black-color)
    url(https://stroybaza-samara.ru/media/uploads/svg/news-back.svg) no-repeat;
  background-size: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.about-info .btn {
  width: 144px;
}

.about-section .about-img img {
  margin-top: auto;
}

.about-section img {
  margin-bottom: 0px;
  object-fit: cover;
  max-width: none;
  width: 100%;
}

/* Адаптив */

@media (max-width: 1279px) {
  .article-section {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 80px;
  }

  .article-bottom {
    margin-left: 300px;
  }

  .custom-big-slide .slider-constructor .slick-next {
    right: calc(50% - 465px);
  }

  .custom-big-slide .slider-constructor .slick-prev {
    right: calc(50% - 426px);
  }

  .fixed-header-menu {
    top: 31px;
    left: calc(50% - 13px);
  }

  .fixed-header-button {
    top: 24px;
  }

  .under-slider-static-text .about-block__inner {
    grid-template-rows: 0 85px 85px 85px;
  }

  .under-slider-static-text {
    margin-top: -170px;
  }

  .product-card-v2 {
    aspect-ratio: 0.55;
  }
}

@media (max-width: 991px) {
  .under-slider-static-text {
    margin-top: 0;
    background: var(--custom-black-color);
  }
  .under-slider-static-text .container {
    padding: 0 !important;
  }

  .offer-slider .about-block__content {
    padding-left: 20px;
  }

  .offer-slider-inner .container {
    padding: 0;
  }

  .custom-big-slide .slider-constructor .slick-next {
    right: 20px;
  }

  .custom-big-slide .slider-constructor .slick-prev {
    right: 59px;
  }

  .under-slider-static-text .category-card:nth-child(5),
  .under-slider-static-text .category-card:nth-child(2) {
    border-right: none;
  }

  .article-hero {
    margin-bottom: 40px;
  }

  .article-hero__title {
    margin-bottom: 20px;
  }

  .article-section {
    display: block;
    margin-bottom: 40px;
  }

  .article-section__title {
    margin-bottom: 20px;
  }

  .article-section__title h2 {
    max-width: none;
  }

  .article-section__content {
    max-width: none;
  }

  .article-bottom {
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .custom-big-slide {
    margin-top: -15px;
  }
}

@media (max-width: 767px) {
  /*.article-images--two {
    grid-template-columns: 1fr;
  }*/

  .article-bottom__info {
    gap: 10px;
  }

  .article-bottom__social {
    gap: 10px;
  }

  .about-block__socials {
    flex-wrap: wrap;
  }

  .custom-big-slide .slider-constructor .slick-next {
    right: 10px;
  }

  .custom-big-slide .slider-constructor .slick-prev {
    right: 49px;
  }
}

@media (max-width: 480px) {
  .city-popup__list {
    grid-template-columns: 1fr;
  }

  .city-popup__content {
    padding: 30px 20px;
  }

  .city-popup {
    align-items: flex-start;
    justify-content: center;
    padding: 80px 16px 16px;
  }

  .city-popup__content {
    width: 100%;
    max-width: none;
    padding: 28px 20px 24px;
    border-radius: 14px;
  }
}

body.popup-open {
  overflow: hidden;
}

/* Адаптация */

@media (max-width: 1505px) {
  body::before {
    right: calc(50% - 610px);
  }

  body::after {
    left: calc(50% - 610px);
  }
}

@media (max-width: 1279px) {
  .custom-news-section {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card__slideshow {
    width: 30%;
  }

  .product-card-container .product-card-content {
    width: 65%;
  }

  .product-card-container {
    gap: 20px;
  }

  .product-card-container .product-card-side {
    width: 230px;
  }

  .product-card__content {
    width: 70%;
  }

  .product-card__left,
  .simple-order-form__submit .btn,
  .calculate-delivery .form-group .btn {
    width: 50%;
  }

  .category-card {
    min-height: 85px;
    aspect-ratio: auto;
  }

  .about-block__inner {
    grid-template-rows: 215px 85px 85px 85px;
  }

  .__header .logo {
    width: 170px;
  }

  .__header .row {
    gap: 5px !important;
  }

  .__header .options-box {
    gap: 20px;
  }

  .__header .row .col-lg-6 {
    margin-right: 0;
  }

  .about-block__bottom {
    grid-template-columns: 100%;
    align-items: start;
    gap: 50px;
    flex-direction: column-reverse;
    justify-content: flex-end;
    display: flex;
  }

  .about-block__socials {
    justify-content: flex-start;
  }

  .category-card__image {
    width: 100%;
    height: auto;
  }

  body::before,
  body::after {
    display: none;
  }

  .banner-form {
    height: 100%;
  }

  .banner-form img {
    display: none;
  }

  .banner-form form {
    padding-left: 0;
  }

  .fixed-header-button {
    left: calc(50% + 40px);
  }

  .news-item-info p {
    height: 53.8px;
  }
}

@media (min-width: 991px) {
  .__header .row .col-lg-6 {
    width: min-content;
    margin-right: auto;
  }

  .__header .row {
    align-items: flex-end;
    margin: 0;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: nowrap;
  }

  .section .text-page {
    margin-left: 238px;
  }

  .container--small h2 {
    max-width: 50%;
  }

  .favorite-aside {
    padding: 20px;
  }
}

@media (max-width: 991px) {
  .fixed-header-button {
    left: calc(50% + 90px);
  }

  .fixed-header-menu {
    display: none;
  }

  .widget {
    margin-inline: 0;
  }

  .buttons-grid {
    margin-top: 30px;
  }

  .product-card__left {
    margin-bottom: 0;
  }

  .share-btn {
    max-width: none;
  }

  .shopping-cart-product {
    margin-top: 0;
  }

  .product-card__content {
    height: auto;
    width: 65%;
  }

  .product-card__slideshow {
    width: 35%;
  }

  .product-card__left,
  .product-card__right,
  .product-card-container .product-card-content,
  .product-card-container .product-card-side {
    width: 100%;
  }

  .bottom-mobile-menu-button:nth-child(4) .bottom-mobile-menu-button__text,
  .bottom-mobile-menu-button:nth-child(2) .bottom-mobile-menu-button__text {
    margin-left: -6px;
  }

  .bottom-mobile-menu-button__counter {
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    color: var(--custom-black-color);
    font-size: 10px !important;
    right: 0px;
    top: 0px;
  }

  .about-block__inner {
    display: flex;
    flex-direction: column;
  }

  .about-block__categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    background: var(--custom-white-color);
    padding: 0 5px 5px 5px;
    margin: 0 10px 20px 10px;
    align-items: start;
    align-content: start;
  }

  .category-card {
    border: none;
  }

  .about-block__hero {
    min-height: 410px;
    overflow: hidden;
  }

  .about-block__hero::before {
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
  }

  .custom-news-section {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-block__photo {
    top: 70px;
  }

  .about-block__content {
    padding: 48px 20px 0;
  }

  .dummy {
    display: none;
  }

  .category-card {
    min-height: 92px;
  }

  .category-card--roof {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .category-card--facade {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .category-card--sheets {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .category-card--mixes {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .category-card--metal {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
  }

  .category-card--fasteners {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }

  .category-card--wood {
    grid-column: 1 / 2;
    grid-row: 5 / 6;
  }

  .category-card--insulation {
    grid-column: 2 / 3;
    grid-row: 5 / 6;
  }

  .about-block__bottom {
    padding: 30px 20px;
  }

  .features__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 10px;
    padding: 0 10px;
  }

  .features__plus-row--mobile {
    display: flex;
    position: absolute;
    top: 48%;
  }

  .features__btn:last-child,
  .features__plus-row--desktop .features__plus:nth-child(5),
  .features__plus-row--desktop .features__plus:nth-child(6),
  .features__plus-row--desktop .features__plus:nth-child(7),
  .features__plus-row--desktop .features__plus:nth-child(8),
  .cold-column-right .features__plus-row--mobile {
    display: none;
  }

  .features__plus-grid {
    gap: 10px;
    position: relative;
  }

  .features__btn {
    padding-bottom: 0;
  }

  .features {
    padding-top: 30px;
    background: var(--custom-white-color);
    margin-top: 0;
  }

  .mobile-header__hamburger-button::after,
  .mobile-header__hamburger-button::before,
  .mobile-header__hamburger-line {
    background-color: var(--custom-black-color) !important;
    width: 28px;
  }

  .mobile-header__hamburger-button::after,
  .mobile-header__hamburger-line {
    display: none;
  }

  .mobile-header__hamburger-button::before {
    content: "";
    background: url(https://stroybaza-samara.ru/media/uploads/svg/catalog-header-mob.svg)
      no-repeat;
    background-color: transparent !important;
    background-size: 100%;
    background-position: center;
    height: 100%;
    width: 100%;
    border-radius: 0;
    border: none;
  }

  .mobile-header__hamburger-button {
    gap: 5px;
    padding: 0;
    align-items: center;
    height: 100%;
    width: 30px;
  }

  .mobile-header__item {
    align-items: center;
  }

  .mobile-header__item {
    gap: 10px;
    flex-shrink: 0;
  }

  .logo-link__image {
    max-width: 100%;
  }

  .mobile-header__search-button {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 5px;
  }

  .mobile-header__search-button svg {
    width: 100%;
    height: 100%;
  }

  .bottom-mobile-menu-button:nth-child(3) {
    position: absolute;
    top: -1px;
    background: var(--custom-gray-color-300);
    height: 50px;
    width: 120px;
    left: calc(50% - 60px);
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, calc(100% - 29px) 100%, 29px 100%);
    z-index: 10;
  }

  .bottom-mobile-menu-button:nth-child(3)::before {
    content: "";
    position: absolute;
    top: 1px;
    background: var(--custom-white-color);
    height: calc(100% - 2px);
    width: calc(100% - 2px);
    left: 1px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 29px) 100%, 29px 100%);
    z-index: 9;
  }

  .bottom-mobile-menu-button:nth-child(3) .bottom-mobile-menu-button__inner {
    z-index: 10;
  }

  .bottom-mobile-menu-button {
    width: 50px;
  }

  .bottom-mobile-menu__row {
    padding: 0 15px;
    gap: 10px;
    z-index: 4;
  }

  .bottom-mobile-menu-button__icon {
    width: 100%;
  }

  .bottom-mobile-menu-list_plates {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-direction: column;
    align-items: center;
  }

  .bottom-mobile-menu,
  .bottom-mobile-menu__content {
    background: transparent;
  }

  .bottom-mobile-menu__content {
    position: relative;
    box-shadow: none;
  }

  .bottom-mobile-menu__content::before {
    content: "";
    width: 100%;
    height: 60px;
    bottom: 0;
    left: 0;
    clip-path: polygon(
      14px 0,
      calc(50% - 65px) 0,
      calc(50% - 34px) 54px,
      calc(50% + 34px) 54px,
      calc(50% + 65px) 0,
      calc(100% - 14px) 0,
      100% 14px,
      100% 100%,
      0 100%,
      0 14px
    );
    position: absolute;
    background: var(--custom-white-color);
    z-index: 3;
  }

  .bottom-mobile-menu__content::after {
    content: "";
    width: 100%;
    height: 61px;
    bottom: auto;
    top: -1px;
    left: 0;
    clip-path: polygon(
      14px 0,
      calc(50% - 65px) 0,
      calc(50% - 33px) 54px,
      calc(50% + 33px) 54px,
      calc(50% + 65px) 0,
      calc(100% - 14px) 0,
      100% 14px,
      100% 100%,
      0 100%,
      0 14px
    );
    position: absolute;
    background: var(--custom-gray-color-300);
    z-index: 2;
  }

  header {
    background: transparent;
    overflow: visible;
  }

  .bottom-mobile-menu-button_active .bottom-mobile-menu-button__icon {
    width: 100%;
  }

  .bottom-mobile-menu-button__icon-wrapper {
    height: 33px;
    width: 40px;
  }

  .mobile-header {
    position: relative;
    background: var(--custom-white-color);
    clip-path: polygon(
      0% 0%,
      100% 0%,
      100% calc(100% - 15px),
      calc(100% - 15px) 100%,
      15px 100%,
      0 calc(100% - 15px)
    );
    z-index: 10;
  }

  header::before {
    content: "";
    width: 100%;
    height: 60px;
    bottom: -1px;
    top: auto;
    left: 0;
    clip-path: polygon(
      0% 0%,
      100% 0%,
      100% calc(100% - 14px),
      calc(100% - 14px) 100%,
      14px 100%,
      0 calc(100% - 14px)
    );
    position: absolute;
    background: var(--custom-gray-color-300);
    z-index: 8;
  }

  .bottom-mobile-menu-list_plates {
    padding: 0px 10px;
    padding-bottom: 70px;
    background: transparent;
  }

  .bottom-mobile-menu-list_plates .bottom-mobile-menu-list__link {
    background: var(--custom-accent-color-500);
    color: var(--custom-black-color);
    border-radius: 0;
    height: 34px;
    font-size: 13px;
    padding: 0;
    display: flex;
    justify-content: center;
    border: none;
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 20px 100%);
  }

  .bottom-mobile-menu-list_plates .bottom-mobile-menu-list__link:hover {
    background: var(--custom-gray-color-100);
    color: var(--custom-black-color);
    border: none;
  }

  .bottom-mobile-menu-list_plates .bottom-mobile-menu-list__link:first-child {
    width: 227px;
  }

  .inner-page .product-set-title {
    max-width: 280px;
  }

  .bottom-mobile-menu-list_plates .bottom-mobile-menu-list__link:nth-child(2) {
    width: 175px;
  }

  .burger-box #my-button {
    background: url(https://stroybaza-samara.ru/media/uploads/svg/plus-mob.svg)
      no-repeat;
    width: 31px;
    height: 31px;
    background-size: 100%;
    background-position: center center;
  }

  .header--mob .container,
  .header--mob .row,
  .header--mob .col-1 {
    height: 100%;
  }

  .mobile-side-menu-content__header {
    border-bottom: 1px solid var(--custom-gray-color-400);
  }

  .search--box,
  .header--mob .col-8 {
    display: none;
  }

  .header--mob .col-3 {
    width: calc(100% - 102px);
  }

  .header--mob {
    border-bottom: 1px solid var(--custom-gray-color-300);
  }

  .burger-box svg {
    display: none;
  }

  .header--mob .col-1 {
    width: 102px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--custom-gray-color-300);
    padding-right: 15px;
  }

  .bottom-mobile-menu-button__text {
    font-size: 9px !important;
  }

  .bottom-mobile-menu-button__inner {
    gap: 0;
  }

  .bottom-mobile-menu-button:nth-child(3) .bottom-mobile-menu-button__text {
    display: none;
  }

  .bottom-mobile-menu-button:hover,
  .bottom-mobile-menu-button_active {
    opacity: 1;
  }

  .bottom-mobile-menu__content {
    height: 60px;
  }

  .bottom-mobile-menu-button_active .bottom-mobile-menu-button__text,
  .bottom-mobile-menu-button:hover .bottom-mobile-menu-button__text {
    color: var(--custom-accent-color-500);
  }

  .header--mob .row {
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .burger-box #my-button {
    margin-left: 0;
  }

  .burger-box {
    width: min-content;
    height: 31px;
    margin-left: 0;
  }

  .points-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .about-partner {
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 60px;
  }

  .about-partner .about-item {
    padding: 20px;
  }

  .partner-img-block {
    margin-bottom: 40px;
    height: 160px;
  }

  .char li {
    border-bottom: 1px dashed var(--custom-gray-color-300);
  }

  .char-text:last-child {
    max-width: 50% !important;
  }

  .question-form form {
    grid-template-columns: repeat(1, 1fr);
  }

  .section-dark.feedback-form {
    padding: 60px 0 30px 0;
  }

  .about-block__hero::before {
    left: -430px;
    width: 1390px;
    height: 100%;
    background-size: cover;
  }

  .product-card__content h4,
  .g-title,
  .content-title,
  section.feedback-form .h2,
  .question-form .h2 {
    font-size: 18px !important;
  }

  .about-block__categories {
    grid-template-columns: 1fr;
    padding: 5px;
    margin: 0 10px 20px 10px;
  }

  .about-block__photo {
    top: auto;
    width: auto;
    max-width: none !important;
    height: 260px;
    bottom: 0;
  }

  .product_set_slider {
    padding: 60px 0 0 0;
  }

  .category-card {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
    aspect-ratio: 2.8;
    position: relative;
    width: 100%;
  }

  .about-block__bottom {
    padding: 30px 10px;
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .modal .h2 {
    text-align: left;
  }

  .about-block__socials {
    gap: 0;
    width: 100%;
    justify-content: space-between;
  }

  .about-block__slogan {
    max-width: 100%;
  }

  .custom-news-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-block .container,
  .about-block {
    padding: 0;
  }

  .category-card__image {
    width: auto;
    height: 84%;
    right: 0;
  }

  .custom-news-button .features__plus-row,
  .plus-block .features__plus-row {
    width: calc(100% + 40px) !important;
    transform: translateX(-20px);
    position: relative;
  }

  .custom-news-button .features__plus-row--mobile {
    top: auto;
  }

  .custom-news-button .features__plus-row--desktop {
    display: none;
  }

  .points-grid,
  .partners {
    grid-template-columns: repeat(1, 1fr);
  }

  .partner-item__link {
    width: 50%;
  }

  h2,
  .h2,
  h1,
  .h1,
  .mb-25,
  section.feedback-form .h2,
  .question-form .h2 {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .buttons-columns {
    flex-direction: row;
  }

  .custom-catalog-button {
    margin-top: 0px !important;
    padding-top: 10px !important;
    padding-bottom: 0px;
  }

  .question-form form .btn {
    width: 175px;
  }

  .container {
    padding: 0 10px;
  }

  .footer-first-column,
  .footer-bottom,
  .footer-bottom__left {
    align-items: flex-start;
  }

  .static-project .char {
    width: 100%;
  }

  .buttons-columns .btn {
    width: 50%;
  }

  .points-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer-right {
    order: 3;
    margin-bottom: 0;
  }

  .footer-content__menu {
    padding-top: 30px;
  }

  .mb-25 {
    margin-bottom: 25px !important;
  }

  #sync1.owl-theme .owl-dots {
    display: none !important;
  }

  .mobile-side-menu-footer__link .icon-svg.hover {
    display: none;
  }

  #sync2 {
    display: flex;
    width: calc(100% - 40px);
  }

  .slider-constructor .slick-prev,
  .slider-constructor .slick-next {
    top: -60px;
  }

  .product-item_new .input-number,
  .product-item_wide .input-number,
  .product_max-height .input-number,
  .product_max-width .input-number,
  .product-card-v2 .input-number {
    display: flex;
  }

  .product-card__slideshow,
  .product-card__content {
    width: 100%;
  }

  .slider-constructor .slick-prev,
  .slider-constructor .slick-next {
    display: flex !important;
  }

  .slider-constructor .slick-dots,
  .category-slider-set .slider-constructor:not([data-no-arrows]) .slick-dots,
  .category-slider-set .slider-constructor .slick-dots,
  .product_set_slider .slider-constructor:not([data-no-arrows]) .slick-dots,
  .product_set_slider .slider-constructor .slick-dots,
  .slider-constructor:not([data-no-arrows]) .slick-dots,
  .slider-constructor .slick-dots {
    display: none !important;
  }

  .custom-catalog-button .btn,
  .question-form form .btn {
    width: calc(50% - 5px);
    margin-left: 0;
  }

  .custom-catalog-button .btn {
    margin-left: auto;
  }

  .footer-first-column .logo {
    width: 100%;
  }

  .footer-first-column .logo img {
    width: 100%;
    max-width: none;
  }

  .news-slider-set {
    margin-top: 60px;
    padding: 30px 0 0px 0;
  }

  .news-slider-set {
    margin-top: -105px;
    padding: 30px 0 0px 0;
  }

  .custom-news-item {
    padding-top: 15px;
  }

  .plus-block {
    margin-top: 140px;
  }

  .catalog-sorting ul li {
    margin-right: 0px;
  }

  .icon-sort-price {
    width: 15px;
    height: 15px;
  }

  .catalog-sorting ul {
    display: flex !important;
    gap: 10px;
  }

  .custom-banners-block {
    grid-template-columns: 1fr;
  }

  .about-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .about-info .btn {
    width: calc(50% - 5px);
  }

  .offer-main-img img {
    height: auto !important;
    width: 100% !important;
  }

  .banner-form {
    height: 470px;
    background: var(--custom-gray-color-400)
      url(https://stroybaza-samara.ru/media/uploads/svg/banner-pattern-mob.svg)
      no-repeat;
    background-size: contain;
    background-position: right bottom;
  }

  .layout-grid {
    margin-bottom: 10px;
    margin-top: 10px;
    grid-template-columns: 1fr 1fr;
  }

  .project-card-button,
  .review-textarea .btn,
  .modal-content .button-theme_primary {
    width: 50%;
  }

  .fancybox-slide--html .fancybox-close-small {
    padding: 0;
    background: none;
  }

  .menu-list__item_bottom {
    bottom: 119px;
  }

  .fixed-header-button,
  .fixed-header-menu {
    display: none;
  }

  .modal {
    padding: 10px;
  }

  .menu-list__item {
    padding: 6.5px 10px;
  }

  .mobile-side-menu-content__header {
    padding: 0 10px;
  }

  .mobile-side-menu-footer {
    padding: 20px 10px;
  }

  .document-item__btn-download {
    padding: 0 15px;
  }

  .related-products-main {
    margin-bottom: 40px;
  }

  .document-item .document-item__btn {
    margin-top: 0;
    display: block !important;
  }

  .document-item__size {
    display: none;
  }

  .social-media {
    flex-direction: column;
    gap: 20px;
  }

  .banner-form img {
    display: block;
    right: 0;
    left: auto;
    bottom: 0;
    height: 280px;
  }

  .banners-column-right {
    grid-template-columns: 1fr 1fr;
    gap: 15px 10px;
  }

  .banner-form .btn {
    width: 50%;
  }

  .static-banners {
    margin-top: 60px;
  }

  .bottom-mobile-menu-button:nth-child(2) {
    margin-right: auto;
  }

  .custom-cold-block {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
    gap: 30px;
  }

  .cold-column-right .features__plus-row--mobile,
  .cold-column-right .features__plus-row--desktop {
    display: flex;
    width: calc(100% + 40px) !important;
    transform: translateX(-20px);
  }

  .cold-column-right .features__plus-row--mobile {
    top: 66%;
  }

  .custom-seo-block {
    grid-template-columns: 1fr;
  }

  .amk-projects__about .button-theme_primary {
    width: 50%;
  }

  .partners-grid {
    gap: 40px 0;
    margin: 10px 0;
    grid-template-columns: 1fr 1fr;
  }

  .cold-column-right .features__plus-row--desktop .features__plus:last-child {
    display: none;
  }

  .static-cold-block {
    padding: 60px 0 0 0;
  }

  .cold-column-right .features__plus-row:nth-child(2) {
    top: 31%;
  }

  .cold-column-right {
    position: relative;
  }

  .custom-news-button {
    padding-bottom: 20px;
  }

  .news-item-info p {
    height: 33.8px;
  }

  .black-block {
    padding: 30px 20px;
  }

  .black-block .btn {
    margin-top: 30px;
    width: calc(50% - 8px);
  }

  .contacts-block__info,
  .contacts-block__map {
    width: 100%;
  }

  .inner-page h1 {
    font-size: 18px !important;
    margin-bottom: 20px;
  }

  .contacts-block__title-red.address-data {
    font-size: 18px !important;
  }

  .contacts-block__info {
    padding: 20px;
  }

  .frontpage main {
    padding-top: 42px !important;
  }

  .dropdown-select {
    border: 1px solid var(--custom-gray-color-300);
    border-radius: 0px;
    height: 34px;
    padding: 8px 40px 8px 10px;
    font-size: 13px;
    color: var(--custom-black-color);
  }

  .active .dropdown-select {
    background: var(--custom-white-color);
    border-radius: 0;
  }

  .dropdown-select-ul {
    background: var(--custom-white-color);
    border: 1px solid var(--custom-gray-color-400);
    border-radius: 0;
  }

  .dropdown-select-ul li {
    padding: 8px 10px 8px 10px;
    font-size: 13px;
    margin: 0 !important;
  }

  .dropdown-select-ul li.selected {
    color: var(--custom-black-color);
  }

  .mobile-menu-head__title {
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 18px !important;
    font-weight: 600;
  }

  .catalog-filter .catalog-filter-body {
    background: var(--custom-white-color);
    padding: 20px 0px;
  }

  .catalog-filter {
    background: var(--custom-white-color);
    padding: 55px 10px 15px 10px;
  }

  .filter-btn {
    right: 0px;
    width: 50px;
    height: 34px;
    background: var(--custom-accent-color-500)
      url(https://stroybaza-samara.ru/media/uploads/svg/filter-btn.svg) 50% 50%
      no-repeat;
    background-size: 16px 14px;
    border-radius: 0px;
    box-shadow: none;
  }

  .catalog-head {
    gap: 10px;
  }

  .catalog-sorting {
    display: none;
  }

  .sort-select,
  .filter-btn {
    min-width: auto;
    width: calc(50% - 4px);
  }

  .dropdown-select {
    position: relative;
    display: flex;
  }

  .dropdown-select::after {
    content: "Сортировка";
    position: relative;
    color: var(--custom-gray-color-700);
    font-size: 13px;
    font-family: "Montserrat";
  }

  .filter-btn {
    display: flex;
    align-items: center;
    background-position: 75% 50%;
  }

  .filter-btn::before {
    content: "Фильтры";
    position: relative;
    left: 25%;
    color: var(--custom-black-color);
    font-size: 13px;
  }

  .dropdown-select span {
    display: none;
  }

  .mobile-header__row .logo-link img {
    height: 23px !important;
  }
}

@media (max-width: 575px) {
  .catalog-menu.catalog-categories-block,
  .category-root-page .catalog-menu {
    grid-template-columns: repeat(1, 1fr);
  }

  .custom-news-section {
    grid-template-columns: repeat(1, 1fr);
  }
}
