/* ОБЩИЕ СТИЛИ */
body {
  font-family: "GothamPro", sans-serif;
  font-weight: normal;
  font-size: 14px;
  overflow: unset !important;
}

p {
  margin: 0;
}

/* БЕЛЫЕ КНОПКИ, ОРАНЖЕВЫЙ ХОВЕР */
.contact-production button,
.contact-production a,
.info__news-btn a,
a.info__btn.btn,
.dealers button {
  transition: var(--transition-02s);
}

@media (hover: hover) {
  .contact-production button:hover,
  .contact-production a:hover,
  .info__news-btn a:hover,
  a.info__btn.btn:hover,
  .dealers button:hover {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-primary-light);
  }
}

/* контакты: стр. главная + стр. site/contact */
.divisionItem {
  transition: all 0.3s ease-in-out;
}

.divisionItem:hover {
  background-color: #f5f5f5;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* UPPER-HEADER */
.header-upper {
  background-color: #f3f3f3;
}

/* upper-header SVG */
.socials-svg,
.header-upper .favourites-svg,
.header-upper .comparison-svg {
  transition: var(--transition-02s);
}

.socials-svg svg path {
  stroke: #ffffff;
  fill: #ffffff;
}

.socials-svg {
  padding: 2px;
}

.inst-svg {
  padding: 2px 3px;
}

@media (hover: hover) {
  .socials-svg:hover {
    background-color: var(--bs-link-hover-color) !important;
  }
}

.socials-svg:active {
  background-color: var(--bs-secondary) !important;
}

/* @media: upper-header */
@media screen and (max-width: 420px) {
  .header-upper div {
    flex-wrap: wrap;
    justify-content: center !important;
  }
}

/* HEADER / FOOTER */
.footer__socials li,
.header__socials li {
  padding: 8px;
  border-radius: 15px;
  transition: var(--transition-02s);
}

.footer__socials li {
  width: 54px;
  height: 54px;
}

.header__socials li {
  width: 40px;
  height: 40px;
}

.header__socials li {
  background-color: var(--bs-primary);
}

.footer__socials li a svg path,
.footer__socials li a svg circle,
.footer__socials li a svg line {
  fill: #152132;
  stroke: #152132;
}

.header__socials li a svg path,
.header__socials li a svg circle,
.header__socials li a svg line {
  stroke: var(--bs-primary-light);
}

.footer__socials li {
  background-color: white;
}

.footer__socials li:first-child,
.header__socials li:first-child {
  padding: 5px;
}

@media (hover: hover) {
  .footer__socials li:hover {
    background-color: var(--bs-link-hover-color);
  }

  .header__socials li:hover {
    background-color: var(--bs-primary-light);
    border: 1px solid #007ce4;
  }

  .footer__socials li:hover a svg path,
  .footer__socials li:hover a svg circle {
    stroke: var(--bs-primary-light);
  }

  .footer__socials li:hover a svg path,
  .footer__socials li:hover a svg circle,
  .footer__socials li:hover a svg line {
    fill: var(--bs-primary-light);
  }

  .header__socials li:hover a svg path,
  .header__socials li:hover a svg circle {
    stroke: #007ce4;
  }
}

/* бургер-меню */
.header__burger-menu-modal .modal-dialog .modal-content {
  width: 315px;
  max-width: 100vw;
}

.header__burger-menu-modal .modal-dialog {
  margin: 6% 4% 0 auto;
}

.header__burger-menu-modal_close span svg path {
  fill: var(--bs-primary);
  stroke: var(--bs-primary);
  transition: var(--transition-02s);
}

.header__burger-menu-modal_close:hover span svg path {
  fill: var(--bs-link-hover-color);
  stroke: var(--bs-link-hover-color);
}

/* сабменю в бургер-меню для секций с вложенными секциями */
.has-children {
  width: 110px;
}

.has-children > .submenu-toggle::after {
  content: "▼";
  margin-top: 1px;
  color: var(--bs-primary);
  float: right;
  font-size: 0.8em;
  transition: transform 0.5s ease;
}

.has-children.has-children_white > .submenu-toggle::after {
  color: var(--bs-primary-light);
}

.has-children.open > .submenu-toggle::after {
  transform: rotate(180deg);
}

.menu-item .menu-link .menu-title {
  align-items: center;
  flex-grow: unset !important;
}

.submenu {
  height: 0;
  overflow: hidden;
  transition: var(--transition-02s);
}

.submenu.open {
  height: auto;
}

/* @media: header/footer */
@media screen and (max-width: 580px) {
  .header__burger-menu-modal .modal-dialog .modal-content {
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
  }

  .header__burger-menu-modal .modal-dialog {
    margin: 0 auto 0 auto;
  }
}

/* МЕНЮ */
.main-menu__list-item {
  padding: 10px;
  transition: var(--transition-02s);
}

/*.main-menu__list-item:first-child {*/
/*    padding-left: 0;*/
/*}*/

.main-menu__list-item .item-white a,
.main-menu__list-item .item-white,
.search-container .item-white p {
  color: white !important;
}

.header a img {
  padding-left: 10px;
}

.search-container__search-btn {
  padding-top: 3px !important;
  padding-bottom: 2px !important;
}

#searchTrigger span {
  transition: var(--transition-02s);
}

#searchTrigger:hover span {
  transform: scale(1.2);
}

@media (hover: hover) {
  .main-menu__list-item:hover {
    background-color: var(--bs-link-hover-color) !important;
  }
}

.products__main-menu {
  top: 90%;
  left: 10%;
  z-index: 1050;
  width: 75%;
}

.menuCategoryTrigger.active {
  color: var(--bs-primary);
  font-weight: bold;
}

#searchContainer {
  z-index: 1050;
  right: -11%;
  top: 2%;
}

/* @media: меню */
@media screen and (min-width: 990px) and (max-width: 1193px) {
  .main-menu__list {
    gap: 0.25rem !important;
  }
}

@media screen and (max-width: 989px) {
  .main-menu__list {
    gap: 1.25rem !important;
  }
}

@media screen and (min-width: 990px) and (max-width: 1193px) {
  .main-menu__list .text_15px {
    font-size: unset;
  }

  #searchContainer {
    right: -13%;
  }
}

@media screen and (max-width: 991px) {
  .main-menu__list-item:not(:first-child) {
    display: none;
  }

  #searchContainer {
    right: -16%;
  }
}

@media screen and (max-width: 915px) {
  #searchContainer {
    right: -15%;
  }
}

@media screen and (max-width: 770px) {
  #searchContainer {
    right: -17%;
  }

  .search-container__search-btn {
    padding-top: 2px !important;
    padding-bottom: 1px !important;
  }
}

@media screen and (max-width: 786px) {
  .products__main-menu {
    width: 100%;
    left: 0;
    max-height: unset;
  }
}

@media screen and (max-width: 600px) {
  #searchContainer {
    right: -26%;
  }
}

@media screen and (max-width: 500px) {
  #searchContainer {
    right: -32%;
  }
}

@media screen and (max-width: 435px) {
  #searchContainer {
    max-width: 275px !important;
    right: -29%;
  }
}

@media screen and (max-width: 370px) {
  .header .static-svg-logo {
    height: 40px !important;
  }

  .header__right {
    gap: 15px !important;
  }

  .header__right-btn {
    padding: 5px 10px !important;
  }
}

@media screen and (max-width: 410px) {
  .products__main-menu div {
    flex-direction: column !important;
  }

  .products__main-menu div > * {
    width: 100% !important;
  }

  .products__main-menu ul {
    border: 0 !important;
  }

  #searchContainer {
    right: -40%;
  }
}

@media screen and (max-width: 305px) {
  .header__custom-media {
    justify-content: center !important;
  }
}

@supports (font: -apple-system-body) {
  @media (max-width: 768px) {
    .header__custom-media .header__logo-mobile {
      max-width: 165px !important;
    }
  }

  @media (max-width: 380px) {
    .header__custom-media .header__logo-mobile {
      max-width: 128px !important;
      margin-right: 10px;
    }
  }

  @media (max-width: 320px) {
    .header__custom-media {
      justify-content: center !important;
    }
  }
}

@media screen and (max-width: 300px) {
  #searchContainer {
    max-width: 250px !important;
    right: -42%;
  }
}

@media screen and (max-width: 269px) {
  #searchContainer {
    max-width: 225px !important;
    right: -38%;
  }
}

/* ГЛАВНАЯ КАРУСЕЛЬ */
.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 3rem;
  height: 3rem;
}

.carousel-control-prev-icon {
  background-image: url("/static/icons/site-items/pagination-l.svg");
}

.carousel-control-next-icon {
  background-image: url("/static/icons/site-items/pagination-r.svg");
}

.main__carousel {
  max-height: 400px;
}

/* ПРОДУКЦИЯ */
.products__item {
  transition: var(--transition-02s);
}

.products__item svg path,
.products__item svg circle,
.products__item svg line,
.products__item svg .st1 {
  stroke: var(--bs-secondary);
}

.walls svg .st1 {
  fill: none;
}

.walls svg .st2 {
  fill: none;
  stroke: var(--bs-secondary);
}

.walls .products__item:hover svg .st2 {
  stroke: var(--bs-primary-light);
}

@media (hover: hover) {
  .products__item:hover {
    background-color: var(--bs-link-hover-color);
  }

  .products__item:hover h4,
  .products__item:hover p {
    color: var(--bs-primary-light) !important;
  }

  .products__item:hover svg path,
  .products__item:hover svg circle,
  .products__item:hover svg line,
  .products__item:hover svg .st1 {
    stroke: var(--bs-primary-light);
  }
}

@media (max-width: 465px) {
  .products__col {
    width: 100% !important;
  }
}

/* КОНТРАКТНОЕ ПРОИЗВОДСТВО */
.main__h2-title {
  font-size: 48px;
  color: #212121;
}

.contact-production {
  padding-top: 13rem;
}

.contact-production__img {
  top: 55%;
  left: 47%;
}

/* @media: контрактное производство */
@media screen and (min-width: 2500px) {
  .contact-production__img {
    display: none !important;
  }
}

@media screen and (min-width: 1600px) {
  .contact-production_info {
    justify-content: end !important;
  }

  .contact-production_info div {
    width: 605px !important;
  }
}

@media screen and (max-width: 1178px) and (min-width: 768px) {
  .contact-production__img {
    top: 56%;
    left: 46%;
  }
}

@media screen and (max-width: 1070px) {
  .main__h2-title {
    font-size: 24px;
  }
}

@media screen and (max-width: 767px) and (min-width: 629px) {
  .contact-production__img {
    top: 56%;
    left: 63%;
  }
}

@media screen and (max-width: 630px) and (min-width: 423px) {
  .contact-production__img {
    top: 56%;
    left: 61%;
  }
}

@media screen and (max-width: 423px) {
  .contact-production__img {
    display: none;
  }

  .contact-production {
    padding-top: 6rem;
  }
}

@media screen and (max-width: 400px) {
  .main__h2-title {
    font-size: 16px;
  }

  .contact-production p {
    font-size: 12px;
  }
}

/* О КОМПАНИИ + НОВОСТИ */
.info {
  background-color: #f3f3f3;
}

.info h2 span {
  color: var(--bs-text-primary);
  font-size: 38px;
}

.info__news {
  height: 390px;
  top: -81px;
  right: 10px;
}

/* @media: новости */
@media screen and (max-width: 992px) {
  .info__news {
    height: 375px;
  }
}

/* РАССЫЛКА */
.mailing {
  background-color: var(--bs-primary);
}

.grid-checkbox-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 1rem;
  color: var(--bs-primary-light);
}

.mailing__form-check-input[type="checkbox"],
.agreement-checkbox {
  border-radius: 0.25em;
}

.mailing__form-check-input,
.agreement-checkbox {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: unset;
}

.mailing__form-check-input:checked {
  background-color: transparent;
  border-color: var(--bs-primary-light);
}

.agreement-checkbox:checked {
  background-color: transparent;
  border-color: #c4c4c4;
}

.agreement-checkbox-label {
  color: #c4c4c4;
}

/*.mailing__form-check-input:checked[type=checkbox] {*/
/*    --bs-form-check-bg-image: url("/static/check.svg");*/
/*}*/

/* @media: рассылка */
@media screen and (min-width: 1045px) {
  /*.mailing .container-xxl {*/
  /*    background-image: url("/static/part-logo.png"), url('/static/letter.png');*/
  /*    background-repeat: no-repeat;*/
  /*    background-position: top left, bottom right;*/
  /*    background-size: contain;*/
  /*}*/
}

@media screen and (max-width: 470px) {
  .grid-checkbox-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .mailing__send-email {
    border-radius: 0.475rem !important;
  }

  .mailing .input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mailing .input-group button {
    border-radius: 0.475rem !important;
  }
}

/* НАПИШИТЕ НАМ */
.cta {
  background-color: #f5f9ff;
}

/* FOOTER */
.footer {
  color: #fff;
  background-color: #152132;
}

.footer a {
  color: #fff;
}

.footer a:active {
  color: var(--bs-link-hover-color);
}

@media (hover: hover) {
  .footer a:hover {
    color: var(--bs-link-hover-color);
  }
}

.footer__final {
  background-color: #454b51;
}

.footer__final a {
  color: #bdbdbd;
}

@media (hover: hover) {
  .footer__final a:hover {
    color: var(--bs-secondary);
  }
}

/* @media: footer */
@media (max-width: 325px) {
  .footer__info div {
    width: 100% !important;
    align-items: start !important;
    text-align: start !important;
  }

  .footer__info div ul li {
    text-align: start !important;
  }
}

/* ТАБЫ */
.useful-content .nav button,
.product-info .nav button,
.products-presentation .nav button,
.maps .nav button {
  border-bottom: 5px solid transparent !important;
}

.useful-content .nav button.active,
.product-info .nav button.active,
.products-presentation .nav button.active,
.maps .nav button.active {
  border-bottom: 5px solid var(--bs-secondary) !important;
}

/* WIDGETS */
/* модальное окно */
.modal-fullscreen .modal-content {
  background-image: url("/static/bg-modal.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.modal__close-btn {
  background-color: var(--bs-secondary);
  border: 2px solid var(--bs-secondary) !important;
  transition: var(--transition-02s);
}

.modal__close-btn span svg path {
  fill: var(--bs-primary);
  stroke: var(--bs-primary);
}

@media (hover: hover) {
  .modal__close-btn:hover {
    background-color: transparent;
  }

  .modal__close-btn:hover span svg path {
    fill: var(--bs-primary-light);
    stroke: var(--bs-primary-light);
  }
}

.modal__switch-btn {
  font-size: 18px;
  color: #494949;
  font-weight: normal;
  background-color: #c4c4c4;
}

.form-floating label {
  margin-left: 25px;
}

.form-floating > .form-control:focus,
.form-floating > .form-control {
  padding-left: 37px;
}

.form-floating label,
.modal__custom-file {
  color: #494949;
  font-size: 18px;
  font-weight: normal;
}

/* КАРТОЧКИ ТОВАРОВ */
.product-card {
  border: 1px solid transparent !important;
  transition: all 0.3s ease-in-out;
}

@media (hover: hover) {
  .product-card:hover {
    border: 1px solid var(--bs-link-hover-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

.product-card__new-badge {
  left: 50px;
  transform: rotate(-25deg);
}

.product-card__actions {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #ffffffd6;
  border-radius: 5px;
  opacity: 1;
  transition: all 0.5s ease-in-out;
  z-index: 2;
}

/* если потребуется по наведению */
/*.product-card:hover .product-card__actions {*/
/*    opacity: 1;*/
/*}*/

.product-card__actions button {
  background: transparent;
  border: none;
  padding: 0.25rem;
  border-radius: 50%;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__actions button {
  transition: var(--transition-02s);
}

.comparison-svg svg rect {
  stroke: var(--bs-primary);
  fill: var(--bs-primary);
  transition: var(--transition-02s);
}

/* SVG comparison-svg и favourites-svg */
.comparison-svg svg:hover rect,
.favourites-svg svg:hover path {
  stroke: var(--bs-link-hover-color);
  fill: var(--bs-link-hover-color);
}

.comparison-svg svg:active rect,
.favourites-svg svg:active path {
  stroke: var(--bs-secondary);
  fill: var(--bs-secondary);
}

.comparison-svg.active svg rect,
.favourites-svg.active svg path {
  stroke: var(--bs-secondary);
  fill: var(--bs-secondary);
}

/* КАСТОМНЫЙ СКРОЛЛ */
*::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}

*::-webkit-scrollbar-track {
  border-radius: 8px !important;
  background-color: var(--bs-primary-light) !important;
}

*::-webkit-scrollbar-thumb {
  background-color: #bcbcbc !important;
  border-radius: 4px !important;
  transition: var(--transition-02s);
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #c7cacf !important;
}

div,
main,
ol,
pre,
span,
ul {
  scrollbar-width: unset !important;
  scrollbar-color: unset !important;
}

div:hover,
main:hover,
ol:hover,
pre:hover,
span:hover,
ul:hover {
  scrollbar-color: unset !important;
}

/* скролл для новостей на index.php */
.info__news *::-webkit-scrollbar,
.search-product__results::-webkit-scrollbar {
  width: 4px !important;
  height: 4px !important;
}

/* параллакс */
.parallax-background {
  position: absolute;
  top: 25%;
  right: 5%;
  pointer-events: none;
}

/* честный знак */
.chestny-znak {
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
}

.bg-chestny-znak {
  background-color: #f6f42e;
}

.bg-chestny-znak-inv {
  background-color: #63666a;
}

.text-chestny-znak {
  color: #63666a;
}

.text-chestny-znak-inv {
  color: #f6f42e;
}

.btn-chestny-znak-inv {
  border: 1px solid #63666a !important;
  transition: var(--transition-02s);
}

.btn-chestny-znak-inv:hover {
  background-color: #f6f42e;
  color: #63666a;
}