@font-face {
  font-family: "VK Sans Display";
  font-weight: 400;
  src: url("../fonts/VKSansDisplay-Regular.ttf");
}
@font-face {
  font-family: "VK Sans Display";
  font-weight: 500;
  src: url("../fonts/VKSansDisplay-Medium.ttf");
}
@font-face {
  font-family: "VK Sans Display";
  font-weight: 600;
  src: url("../fonts/VKSansDisplay-DemiBold.ttf");
}
@font-face {
  font-family: "MTS Wide";
  font-weight: 500;
  src: url("../fonts/mts-wide-medium.ttf");
}
@font-face {
  font-family: "MTS Wide";
  font-weight: 700;
  src: url("../fonts/mts-wide-bold.ttf");
}
.wrapper {
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.main {
  flex: 1 1 auto;
}

._container {
  max-width: 1280px;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: content-box;
}

* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

*, *:before, *:after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  min-width: 320px;
}

body {
  color: #171719;
  background-color: #f2f4f7;
  font-weight: 400;
  line-height: 1;
  font-family: "VK Sans Display", sans-serif;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input, button, textarea {
  font-family: "VK Sans Display", sans-serif;
  font-size: inherit;
}

button {
  cursor: pointer;
  color: inherit;
  background-color: inherit;
}

a {
  color: #000000;
}

a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}

input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type=number], input[type=number]:hover, input[type=number]:focus {
  appearance: none;
  -moz-appearance: textfield;
}
.logo .desktop {
  display: block;
}
.logo .mobile {
  display: none;
}
@media (max-width: 993px) {
  .mobila {
    display: block;
  }
  .desctop {
    display: none;
  }
}

.header {
  background-color: #fff;
}

.header__divider {
  width: 100%;
  background-color: #d5ddec;
  height: 1px;
}

.header-top {
  padding: 17px 0 13px 0;
  position: relative;
  min-height: 55px;
  background: #2b2e3a;
  color: #fff;
}
.header-top a {
  color: #fff;
}
.header-top a:hover, .header-top a:active {
  color: #ffdd2d;
}

.header-top__container {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.header-top__logo {
  display: none;
}

.header-top__nav {
  flex: 1 1 auto;
}

.header-menu {
  display: flex;
  column-gap: 50px;
  flex-wrap: wrap;
}

.header-menu__link {
  font-size: 15px;
  line-height: 130%;
  color: #fff;
}

.header-menu__link:hover {
  color: #171719;
}

.socials {
  display: flex;
  column-gap: 25px;
  flex-wrap: wrap;
}

.socials__item {
  display: flex;
  flex-shrink: 0;
  column-gap: 10px;
  align-items: center;
}

.socials__icon {
  width: 28px;
  height: 28px;
}

.socials__info {
  flex-shrink: 0;
}

.socials__info:hover {
  text-decoration: underline;
}

.hamburger {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.hamburger__wrapper {
  display: flex;
  width: 35px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger__wrapper span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease 0s;
}

.hamburger_active .hamburger__wrapper span:nth-child(2) {
  display: none;
}

.hamburger_active .hamburger__wrapper span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger_active .hamburger__wrapper span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger_active .hamburger__wrapper span:nth-child(3) {
  transform: rotate(-45deg);
}

@media (max-width: 1150px) {
  .header-top__container {
    column-gap: 15px;
  }
  .header-menu {
    column-gap: 22px;
  }
}
@media (max-width: 992px) {
  .header-top__container {
    justify-content: flex-start;
    column-gap: 0;
  }
  .header-top__nav {
    overflow: scroll;
    padding: 30px 20px 90px 20px;
    position: absolute;
    top: 101%;
    left: -100%;
    width: 100%;
    height: 100vh;
    z-index: 99;
    background-color: #fff;
    transition: all 0.5s ease 0s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .header-top__nav_active {
    left: 0;
  }
  .header-top__logo {
    display: block;
    margin-right: 35px;
  }
  .header-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .header-menu__item {
    padding: 0;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
  }
  .header-menu__item:first-child {
    border-top: 1px solid #e5e5e5;
  }
  .header-menu__link {
    display: block;
    font-size: 18px;
    line-height: 130%;
    color: #171719 !important;
    padding: 18px 15px;
    text-decoration: none;
    transition: all 0.3s ease 0s;
    font-weight: 500;
  }
  .header-menu__link:hover,
  .header-menu__link:active {
    color: #2b2e3a !important;
    background-color: #f8f9fa;
    padding-left: 25px;
  }
  .header-top__nav .socials {
    flex-direction: row;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
  }
  .header-top__nav .socials__item {
    text-align: right;
    color: #171719 !important;
  }
  .header-top__nav .socials__info {
    color: #171719 !important;
  }
  .hamburger {
    display: flex;
  }
}
@media (max-width: 768px) {
  .socials__item:not(:first-child) {
    display: none;
  }
}
@media (max-width: 500px) {
  .socials__icon {
    width: 20px;
    height: 20px;
  }
  .hamburger {
    justify-content: flex-end;
  }
  .hamburger__wrapper {
    width: 20px;
    height: 18px;
    align-items: center;
  }
  .hamburger__wrapper span {
    width: 4px;
    height: 4px;
    border-radius: 100%;
  }
  .hamburger_active .hamburger__wrapper span:nth-child(1) {
    width: 18px;
    border-radius: 2px;
    height: 2px;
  }
  .hamburger_active .hamburger__wrapper span:nth-child(3) {
    width: 18px;
    border-radius: 2px;
    height: 2px;
  }
}
@media (max-width: 380px) {
  .header-top__logo {
    display: none;
  }
}
.header-bottom {
  padding: 20px 0;
}

.header-bottom__container {
  display: flex;
  align-items: center;
}

.header-bottom__logo {
  flex: 0 0 150px;
  margin-right: 30px;
}

.header-bottom__catalog {
  position: relative;
  flex: 0 0 148px;
  margin-right: 20px;
  cursor: pointer;
}

.header-bottom__catalog img {
  width: 20px;
  height: 20px;
}

.header-bottom__catalog:hover .header-bottom__catalog-btn-wrapper {
  background: #ffe664;
}

.header-bottom__catalog:hover .header-bottom__catalog-btn-wrapper .catalog-open {
  display: none;
}

.header-bottom__catalog:hover .header-bottom__catalog-btn-wrapper .catalog-close {
  display: block;
}

.header-bottom__catalog:hover .catalog-select {
  display: block;
}

.header-bottom__catalog::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.header-bottom__catalog-btn-wrapper {
  display: flex;
  column-gap: 8px;
  align-items: center;
  padding: 15px 25px;
  background-color: #ffdd2d;
  border-radius: 10px;
}

.header-bottom__catalog-btn-wrapper .catalog-close {
  display: none;
}

.header-bottom__catalog-caption {
  font-weight: 500;
  font-size: 18px;
}

.header-bottom__search {
  flex: 1 1 680px;
  margin-right: 33px;
}

.header-bottom__search-mob {
  display: none;
}

.logo img {
  width: 150px;
  height: 28px;
}

@media (max-width: 600px) {
  .logo img {
    width: 135px;
    height: 24px;
  }
}
.header-form {
  width: 100%;
  position: relative;
}

.header-form__input {
  width: 100%;
  height: 50px;
  background-color: #f2f4f7;
  line-height: 130%;
  color: #787b8b;
  border-radius: 10px;
  padding: 15px 50px 15px 20px;
}

.header-form__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 23px;
}

.header-form__btn img {
  width: 20px;
  height: 20px;
}

.header-form__closer {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 24px;
  height: 24px;
}

.header-form__closer span {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  background-color: #787b8b;
  height: 2px;
  width: 100%;
  border-radius: 2px;
}

.header-form__closer span:nth-child(1) {
  transform: rotate(45deg);
}

.header-form__closer span:nth-child(2) {
  transform: rotate(-45deg);
}

.actions {
  display: flex;
  column-gap: 30px;
}

.actions-item {
  position: relative;
  display: flex;
  column-gap: 4px;
  align-items: center;
}

.actions-item__icon {
  width: 24px;
  height: 24px;
}

.actions-item__icon600 {
  display: none;
}

.actions-item__name {
  line-height: 130%;
  color: #171719;
}

.actions-item__name:hover {
  color: #4e7ffd;
}

.actions-item__circle {
  position: absolute;
  background-color: #b7ffdd;
  border-radius: 8px;
  padding: 2px 6px;
  font-weight: 500;
  font-size: 13px;
  color: #171719;
  top: -9px;
  left: 13px;
}

@media (max-width: 992px) {
  .header-bottom {
    position: relative;
  }
  .header-bottom__container {
    column-gap: 10px;
  }
  .header-bottom__logo {
    display: none;
  }
  .header-bottom__catalog {
    margin-right: 0;
    position: unset;
  }
  .header-bottom__catalog::before {
    display: none;
  }
  .header-bottom__catalog:hover .header-bottom__catalog-btn-wrapper {
    background: #ffdd2d;
  }
  .header-bottom__catalog:hover .header-bottom__catalog-btn-wrapper .catalog-open {
    display: block;
  }
  .header-bottom__catalog:hover .header-bottom__catalog-btn-wrapper .catalog-close {
    display: none;
  }
  .header-bottom__catalog:hover .header-bottom__catalog-btn-wrapper_active .catalog-open {
    display: none;
  }
  .header-bottom__catalog:hover .header-bottom__catalog-btn-wrapper_active .catalog-close {
    display: block;
  }
  .header-bottom__search {
    margin-right: 0;
  }
  .actions {
    column-gap: 15px;
  }
}
@media (max-width: 768px) {
  .actions-item__icon {
    width: 30px;
    height: 30px;
  }
  .actions-item__name {
    display: none;
  }
  .actions-item__circle {
    left: 5px;
  }
}
@media (max-width: 600px) {
  .header-bottom__container {
    justify-content: space-between;
  }
  .header-bottom__search {
    display: none;
    transition: all 0.5s;
  }
  .header-bottom__search_active {
    display: block;
    position: absolute;
    left: 15px;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }
  .header-bottom__search-mob {
    display: flex;
    background-color: #f2f4f7;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
  }
  .header-form__btn {
    right: 53px;
  }
  .header-form__closer {
    display: block;
  }
  .header-form__input {
    padding-right: 85px;
  }
  .actions-item {
    display: flex;
    background-color: #f2f4f7;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
  }
  .actions-item__icon {
    display: none;
  }
  .actions-item__icon600 {
    display: block;
    width: 24px;
    height: 24px;
  }
  .actions-item__circle {
    background-color: #b7ffdd;
    top: -10px;
    right: -5px;
    left: auto;
  }
}
@media (max-width: 500px) {
  .header-bottom {
    padding: 15px 0;
  }
  .header-bottom__catalog {
    flex: 0 0 138px;
  }
  .header-bottom__catalog-btn-wrapper {
    padding: 11px 25px;
    font-size: 16px;
  }
  .header-bottom__catalog-btn-wrapper img {
    width: 18px;
    height: 18px;
  }
  .header-bottom__search-mob {
    width: 40px;
    height: 40px;
  }
  .actions {
    column-gap: 8px;
  }
  .actions-item {
    width: 40px;
    height: 40px;
  }
}
.footer {
  background-color: #2b2e3a;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background-color: #3d4150;
}

.footer-top {
  padding: 60px 0;
}

.footer-top__container {
  position: relative;
  display: flex;
}

.footer-top__logo {
  margin-right: 272px;
  flex-shrink: 0;
  position: relative;
}

.footer-top__logo img {
  width: 210px;
  height: 39px;
}

.footer-top__logo .mobile-ring {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 169px;
  height: 155px;
}

.footer-top__caption {
  font-size: 14px;
  color: #f6f8fc;
  margin-top: 8px;
}

.footer-top__nav {
  display: flex;
  flex: 1 1 auto;
  column-gap: 115px;
  margin-right: 217px;
}

.footer-top__img {
  position: absolute;
  top: -32px;
  left: 261px;
}

.footer-top__img img {
  width: 169px;
  height: 155px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  flex: 0 0 150px;
}

.footer-menu__link {
  line-height: 130%;
  color: #f6f8fc;
}

.footer-menu__link:hover {
  color: #ffdd2d;
}

.footer-contacts {
  flex-shrink: 0;
}

.footer-contacts__bottom {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.footer-contacts__phone {
  font-weight: 500;
  font-size: 22px;
  line-height: 130%;
  color: #f6f8fc;
}

.footer-contacts__phone:hover {
  color: #ffdd2d;
}

.footer-contacts__whatsapp {
  display: flex;
  column-gap: 10px;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #f6f8fc;
}

.footer-contacts__whatsapp img {
  width: 28px;
  height: 28px;
}

.footer-contacts__email {
  line-height: 130%;
  color: #f6f8fc;
}

.footer-contacts__email:hover {
  color: #ffdd2d;
}

@media (max-width: 1190px) {
  .footer-top__container {
    flex-direction: column;
    row-gap: 50px;
  }
  .footer-top__logo {
    margin-right: 0;
  }
  .footer-top__nav {
    column-gap: 30px;
    margin-right: 0;
  }
  .footer-top__img {
    padding-right: 15px;
    text-align: right;
    right: 0;
    top: 0;
  }
}
@media (max-width: 600px) {
  .footer-top {
    padding-top: 40px;
    padding-bottom: 30px;
  }
  .footer-top__container {
    row-gap: 0;
  }
  .footer-top__logo {
    width: 218px;
    align-self: center;
  }
  .footer-top__logo .mobile-ring {
    display: block;
  }
  .footer-top__nav {
    margin: 50px auto 0 auto;
    margin-top: 50px;
    column-gap: 72px;
    justify-content: center;
  }
  .footer-top__img {
    display: none;
  }
  .footer-top__contacts {
    margin-top: 40px;
  }
  .footer-menu {
    flex: 0 1 110px;
  }
  .footer-contacts__top {
    text-align: center;
  }
  .footer-contacts__bottom {
    margin-top: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 60px;
  }
  .footer-contacts__phone {
    font-weight: 400;
    font-size: 38px;
    line-height: 130%;
  }
  .footer-contacts__email {
    line-height: 130%;
    color: #f6f8fc;
  }
}
@media (max-width: 320px) {
  .footer-top__container {
    row-gap: 0;
  }
  .footer-top__logo {
    width: 218px;
    align-self: center;
  }
  .footer-top__logo .mobile-ring {
    display: block;
  }
  .footer-top__nav {
    margin: 50px auto 0 auto;
    margin-top: 50px;
    column-gap: 72px;
    justify-content: center;
  }
  .footer-top__img {
    display: none;
  }
  .footer-top__contacts {
    margin-top: 40px;
  }
  .footer-menu {
    flex: 0 1 110px;
  }
  .footer-contacts__top {
    text-align: center;
  }
  .footer-contacts__bottom {
    margin-top: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
  }
  .footer-contacts__phone {
    font-weight: 400;
    font-size: 38px;
    line-height: 130%;
  }
  .footer-contacts__email {
    line-height: 130%;
    color: #f6f8fc;
  }
}
.footer-bottom {
  padding: 12px 0;
}

.footer-bottom__container {
  display: flex;
  justify-content: space-between;
}

.footer-bottom__rights, .footer-bottom__offer, .footer-bottom__confidential {
  line-height: 130%;
  color: #787b8b;
  flex-shrink: 0;
}

.footer-bottom__offer {
  margin-right: 40px;
}

.footer-bottom__offer:hover {
  color: #ffdd2d;
}

.footer-bottom__confidential:hover {
  color: #ffdd2d;
}

@media (max-width: 1190px) {
  .footer-bottom__offer {
    margin-right: 10px;
  }
}
@media (max-width: 500px) {
  .footer-bottom {
    padding: 20px 0;
    text-align: center;
  }
  .footer-bottom__container {
    flex-direction: column;
    row-gap: 20px;
  }
  .footer-bottom__rights {
    order: 2;
  }
  .footer-bottom__info {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    order: 1;
  }
  .footer-bottom__offer {
    margin: 0;
  }
}
.promo {
  padding: 30px 15px 0 15px;
}

.promo__container {
  padding-top: 50px;
  padding-left: 70px;
  box-sizing: border-box;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
}

.promo__title {
  font-family: "MTS Wide", sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #fff;
  max-width: 408px;
  line-height: 152%;
  position: relative;
  z-index: 1;
}

.promo__btn {
  margin-top: 46px;
  position: relative;
  z-index: 1;
}

.promo__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.promo__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.promo__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .promo {
    padding-top: 15px;
  }
  .promo__container {
    padding-left: 15px;
    min-height: 380px;
  }
  .promo__title {
    max-width: 367px;
    font-size: 28px;
    line-height: 121%;
  }

}

@media (max-width: 480px) {
  .promo__container {
    padding: 40px 30px;
    min-height: 450px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .promo__title {
    text-align: center;
    max-width: 302px;
    font-size: 28px;
    line-height: 121%;
  }
  .promo__btn {
    margin-top: 56px;
    text-align: center;
  }
  .promo__bg img {
    object-position: center center;
  }
}
.catalog-cards {
  padding-top: 40px;
}

.catalog-cards__wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12.5px;
  row-gap: 25px;
}

.catalog-cards__column {
  display: flex;
  flex: 0 0 33.333%;
  padding: 0 12.5px;
}

.catalog-item {
  flex: 1 1 auto;
  background-color: #fff;
  padding: 30px 40px 40px 30px;
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 4px 0px #777c93;
}

.catalog-item__title {
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
}

.catalog-item__menu {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.catalog-item__menu-link {
  padding-left: 15px;
  line-height: 130%;
  position: relative;
}

.catalog-item__menu-link::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  border-radius: 8px;
  width: 5px;
  height: 5px;
  background: #2b2e3a;
}

.catalog-item__menu-link:hover {
  color: #000;
}

.catalog-item__menu-link:hover::before {
  background: #000;
}

.catalog-item__color {
  position: absolute;
  left: 0;
  top: 33.5px;
  border-radius: 8px;
  width: 3px;
  height: 20px;
}

.catalog-item__color_ylw {
  background: #ffdd2d;
}

.catalog-item__color_orng {
  background: #ff8159;
}

.catalog-item__color_grn {
  background: #76d866;
}

.catalog-item__color_blue {
  background: #59d7ff;
}

.catalog-item__color_prpl {
  background: #b659ff;
}

.catalog-item__color_pink {
  background: #ff5995;
}

.catalog-item__img {
  width: 140px;
  height: 140px;
  position: absolute;
  bottom: 0;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.catalog-item__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1260px) {
  .catalog-item__img {
    width: 100px;
    height: 100px;
    right: 15px;
  }
}
@media (max-width: 992px) {
  .catalog-cards__column {
    flex: 0 0 50%;
  }
  .catalog-item__menu-item {
    padding-left: 0;
  }
  .catalog-item__menu-item::before {
    content: "";
    display: none;
  }
}
@media (max-width: 768px) {
  .catalog-cards {
    padding-top: 30px;
  }
  .catalog-cards__wrapper {
    row-gap: 10px;
  }
  .catalog-cards__column {
    flex: 0 0 100%;
  }
  .catalog-item {
    padding: 20px;
    border-radius: 16px;
  }
  .catalog-item__title {
    font-size: 17px;
  }
  .catalog-item__color {
    top: 23px;
  }
  .catalog-item__menu {
    margin-top: 20px;
  }
  .catalog-item__img {
    width: 80px;
    height: 80px;
    right: 10px;
    bottom: 10px;
  }
}
.answers {
  padding: 50px 0 180px 0;
}

.answers-block {
  padding: 60px 100px;
  background-color: #fff;
  border-radius: 16px;
  box-sizing: border-box;
}

.answers-block__wrapper {
  margin-top: 40px;
}

.answers-block__question:not(:last-child) {
  margin-bottom: 20px;
}

.question {
  min-height: 46px;
}

.question__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 7px;
  cursor: pointer;
}

.question__title {
  max-width: 1015px;
  font-size: 18px;
  line-height: 140%;
}

.question__arrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: transform 0.5s;
}

.question__body {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s;
}

.question__divider {
  width: 100%;
  background: #d5ddec;
  height: 1px;
  margin-top: 20px;
}

.question_active .question__body {
  margin-top: 20px;
}

.question_active .question__arrow {
  transform: rotate(-180deg) translateY(-50%);
}

@media (max-width: 1100px) {
  .answers-block {
    padding: 60px 30px;
  }
}
@media (max-width: 768px) {
  .answers {
    padding: 30px 0 100px 0;
  }
  .answers-block {
    padding: 15px;
  }
  .answers-block__wrapper {
    margin-top: 20px;
  }
  .answers-block__question:not(:last-child) {
    margin-bottom: 10px;
  }
  .answers-block__question:last-child .question__divider {
    width: 0;
  }
  .question__head {
    align-items: flex-start;
  }
  .question__title {
    font-size: 15px;
  }
  .question__arrow {
    padding-top: 7px;
  }
  .question__body {
    font-size: 14px;
    line-height: 150%;
  }
}
.title {
  font-family: "MTS Wide", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 138%;
}

@media (max-width: 768px) {
  .title {
    font-size: 22px;
  }
}
.btn_ylw {
  padding: 20px 40px;
  font-weight: 500;
  font-size: 18px;
  background-color: #ffdd2d;
  border-radius: 10px;
  text-align: center;
}

.btn_ylw:hover {
  background-color: #ffe664;
}

.good {
  padding-top: 40px;
}

.good__photo-block {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  column-gap: 15px;
}

.good__descr-block {
  padding-top: 30px;
  margin-bottom: 40px;
}

.product-slider {
  /*flex: 0 1 800px;*/
  height: 500px;
  background-color: #fff;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.product-slider__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.product-slider__img_active {
  opacity: 1;
}

.product-slider__arr {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  cursor: pointer;
}

.product-slider__mini-img-block {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  column-gap: 10px;
}

.product-slider__mini-img {
  border-radius: 16px;
  width: 80px;
  height: 80px;
  cursor: pointer;
}

.product-slider__mini-img img {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-slider__mini-img_active {
  border: 2px solid #ffdd2d;
}

.prev {
  left: 45px;
  display: block;
}

.next {
  right: 45px;
  display: block;
}

.prev-mob {
  left: 20px;
  display: none;
}

.next-mob {
  right: 20px;
  display: none;
}

.buy-block {
  border-radius: 24px;
  flex: 0 0 440px;
  min-height: 500px;
  background-color: #fff;
  padding: 30px 40px 40px 30px;
}

.buy-block__article {
  color: #787b8b;
  line-height: 130%;
}

.buy-block__article span {
  line-height: 130%;
  color: #171719;
}

.buy-block__price {
  font-family: "MTS Wide", sans-serif;
  font-weight: 700;
  font-size: 36px;
  margin-top: 20px;
}

.buy-block__info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.buy-block__item {
  display: flex;
  justify-content: space-between;
  column-gap: 10px;
}

.buy-block__name {
  line-height: 130%;
}

.buy-block__value {
  line-height: 130%;
}

.buy-block__all-info {
  line-height: 130%;
  color: #4e7ffd;
}

.buy-block__all-info:hover {
  color: #ff4d47;
}

.buy-block__actions {
  margin-top: 34px;
}

.buy-block__buy-btn, .buy-block__add-btn {
  display: block;
  max-width: 360px;
  padding: 17px 40px;
  font-weight: 500;
  margin: 0 auto;
  text-align: center;
}

.buy-block__add-btn {
  background: #f2f4f7;
  margin-top: 10px;
}

.buy-block__add-btn:hover {
  background: #e2e7ee;
}

.product-descr {
  padding: 40px;
  background-color: #fff;
  border-radius: 24px;
}

.product-descr__menu {
  display: flex;
  column-gap: 45px;
}

.product-descr__name {
  font-family: "MTS Wide", sans-serif;
  font-weight: 700;
  font-size: 36px;
  position: relative;
  color: #787b8b;
  cursor: pointer;
}

.product-descr__name_active {
  color: #171719;
}

.product-descr__name_active::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffdd2d;
  transition: all 0.5s 0 ease;
}

.product-descr__body {
  margin-top: 38px;
}

.product-descr__text {
  display: none;
}

.product-descr__text_active {
  display: block;
}

.product-descr__list {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.product-descr__param {
  line-height: 150%;
}

.menu-charact__item {
  display: flex;
  justify-content: flex-start;
  line-height: 150%;
  padding: 12px 15px;
  position: relative;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.menu-charact__item:not(:last-child)::before {
  content: "";
  width: 100%;
  height: 1px;
  background: #e9ecef;
  position: absolute;
  left: 0;
  bottom: 0;
}

.menu-charact__item:hover {
  background: #f2f4f7;
  transform: translateX(4px);
}

.menu-charact__name {
  flex: 1 1 50%;
  color: #787b8b;
  font-size: 14px;
  font-weight: 500;
}

.menu-charact__value {
  flex: 1 1 50%;
  color: #171719;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

/* Выделение основных характеристик (Модель авто, Размер, Производитель агрегата, Год) */
.menu-charact__item--highlight {
  background: rgba(255, 221, 45, 0.08);
  border-left: 3px solid #ffdd2d;
  padding-left: 12px;
}

.menu-charact__item--highlight:hover {
  background: rgba(255, 221, 45, 0.15);
}

.menu-charact__item--highlight .menu-charact__value {
  color: #171719;
  font-weight: 700;
  font-size: 15px;
}

@media (max-width: 1200px) {
  .good__photo-block {
    flex-direction: column;
    row-gap: 30px;
  }
  .product-slider {
    flex: 1 1 auto;
  }
  .buy-block {
    flex: 0 0 auto;
  }
  .buy-block__buy-btn, .buy-block__add-btn {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .good {
    padding-top: 20px;
  }
  .good__photo-block {
    padding-top: 20px;
    row-gap: 10px;
  }
  .good__descr-block {
    padding-top: 20px;
    margin-bottom: 30px;
  }
  .buy-block {
    min-height: 417px;
    border-radius: 12px;
    padding: 20px 15px;
    font-size: 14px;
  }
  .buy-block__price {
    font-size: 30px;
  }
  .buy-block__info {
    row-gap: 10px;
  }
  .buy-block__all-info {
    margin-top: 20px;
    font-size: 16px;
    line-height: 130%;
  }
  .buy-block__actions {
    margin-top: 20px;
  }
  .buy-block__buy-btn, .buy-block__add-btn {
    font-size: 16px;
  }
  .product-descr {
    border-radius: 12px;
    padding: 20px 15px 25px 15px;
  }
  .product-descr__menu {
    column-gap: 25px;
    flex-wrap: wrap;
    row-gap: 25px;
  }
  .product-descr__name {
    font-size: 18px;
  }
  .product-descr__body {
    margin-top: 30px;
  }
  .product-descr__param {
    font-size: 14px;
  }
  .menu-charact__value {
    text-align: right;
  }
}
@media (max-width: 600px) {
  .product-slider {
    height: 300px;
    border-radius: 12px;
  }
  .product-slider__mini-img-block {
    bottom: 10px;
  }
  .product-slider__mini-img {
    border-radius: 8px;
    width: 44px;
    height: 44px;
  }
  .product-slider__mini-img img {
    border-radius: 8px;
  }
  .product-slider__mini-img_active {
    border: 1px solid #ffdd2d;
  }
  .prev {
    display: none;
  }
  .next {
    display: none;
  }
  .prev-mob {
    display: block;
  }
  .next-mob {
    display: block;
  }
}
@media (max-width: 600px) {
  .product-slider {
    height: 225px;
  }
}
.similar {
  padding-top: 50px;
  padding-bottom: 175px;
}

/* Секция сопутствующих товаров использует те же стили, что и категория */
.similar .products-table {
  margin-top: 40px;
}
.make-order {
  padding-top: 40px;
  padding-bottom: 150px;
}

.make-order__form {
  margin-top: 30px;
}

.order-form {
  display: flex;
  column-gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  row-gap: 20px;
}

.order-form__wrapper {
  flex: 1 1 840px;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.order-form__input-wrapper {
  margin-top: 15px;
}

.order-form__block {
  border-radius: 16px;
  background-color: #fff;
  padding: 25px;
}

.order-form__title {
  font-family: "MTS Wide", sans-serif;
  font-weight: 500;
  font-size: 20px;
}

.order-form__radio-label {
  cursor: pointer;
}

.order-form__radio-label .order-form__option {
  position: relative;
  padding-left: 36px;
}

.order-form__radio-label .order-form__option::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  display: inline-block;
  border: 1px solid #d5ddec;
  border-radius: 50%;
  width: 25px;
  height: 25px;
}

.order-form__radio-label .order-form__option::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  background-color: #fff;
  top: 7.5px;
  left: 8.5px;
  opacity: 0;
  transition: opacity 0.2s;
}

.order-form .order-form__radio-input:checked + .order-form__option::before {
  background-color: #ffdd2d;
  border: 1px solid #fff;
}

.order-form .order-form__radio-input:checked + .order-form__option::after {
  opacity: 1;
}

.order-form__radio-input {
  display: none;
}

.order-form__input-box {
  flex: 1 1 380px;
}

.order-form__bordered-radio {
  border: 1px solid #d5ddec;
  border-radius: 8px;
  padding: 17px 20px;
  width: 100%;
}

.order-form__total {
  flex: 1 0 410px;
}

.customer__wrapper {
  display: flex;
  column-gap: 30px;
  row-gap: 20px;
  flex-wrap: wrap;
}

.personal-data__wrapper {
  display: flex;
  column-gap: 30px;
  row-gap: 20px;
  flex-wrap: wrap;
}

.delivery__wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
}

.delivery__radio-btns {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}

.delivery__inputs {
  margin-top: 15px;
  display: flex;
  column-gap: 30px;
  row-gap: 20px;
  flex-wrap: wrap;
}

.comment__text {
  border: 1px solid #d5ddec;
  border-radius: 8px;
  width: 100%;
  min-height: 100px;
  padding: 15px;
  color: #787b8b;
  resize: none;
}

.total {
  border-radius: 16px 16px 0 0;
  background-color: #fff;
  padding: 30px 25px 37px 25px;
  position: relative;
}

.total__info {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.total__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 130%;
}

.total__divider {
  background: #d5ddec;
  height: 1px;
  width: 100%;
  margin: 5px 0;
}

.total__item-result {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
}

.total__item-result-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.total__item-result-savings {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #6c757d;
  margin-top: 2px;
}

.total__item-result-savings-label {
  opacity: 0.8;
}

.total__item-result-savings-value {
  font-weight: 500;
  font-size: 13px;
}

.total__btn {
  margin-top: 30px;
  font-size: 16px;
  line-height: 130%;
  width: 100%;
  padding: 17px 20px;
}

.total__checkbox-block {
  margin-top: 20px;
}

.total__checkbox-label {
  display: block;
  padding-left: 32px;
  cursor: pointer;
  position: relative;
}

.total__checkbox-label .total__checkbox-change {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1px solid #d5ddec;
  border-radius: 5px;
}

.total__checkbox-label .total__checkbox-change::before {
  content: "";
  position: absolute;
  background: url("../icons/order/make-order/arr.svg");
  width: 12px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.2s 0 ease;
}

.total__checkbox {
  display: none;
}

.total .total__checkbox:checked + .total__checkbox-change {
  border: 1px solid #ffdd2d;
  background-color: #ffdd2d;
}

.total .total__checkbox:checked + .total__checkbox-change::before {
  opacity: 1;
}

.total__text {
  font-size: 14px;
  line-height: 130%;
}

.total__text a {
  color: #4e7ffd;
}

.total__text a:hover {
  color: #ff4d47;
}

.total__discount {
  display: block;
  text-align: left;
  cursor: pointer;
  margin: 20px auto 0 auto;
  line-height: 130%;
  color: #787b8b;
}

.total__discount span {
  position: relative;
}

.total__discount span::after {
  content: "";
  position: absolute;
  top: 6px;
  right: -15px;
  height: 0;
  width: 0;
  border: 5px solid rgba(0, 0, 0, 0);
  border-top-color: #787b8b;
}

.total__triangles {
  position: absolute;
  display: flex;
  left: 0;
  bottom: 0;
  transform: translateY(50%);
  width: 100%;
  height: 26px;
}

.total__elem {
  flex: 1 1 18px;
  height: 100%;
  background-color: #f2f4f7;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

@media (max-width: 768px) {
  .make-order {
    padding-top: 20px;
    padding-bottom: 100px;
  }
  .make-order__form {
    margin-top: 15px;
  }
  .order-form__wrapper {
    row-gap: 10px;
  }
  .order-form__block {
    border-radius: 8px;
    padding: 15px 15px 20px 15px;
  }
  .order-form__title {
    font-size: 16px;
  }
  .order-form__input-wrapper {
    margin-top: 20px;
  }
  .order-form__bordered-radio_active {
    padding: 32px 20px;
  }
  .order-form__total {
    flex: 1 1 auto;
  }
  .order-form__radio-label .order-form__option::before {
    top: -4px;
  }
  .order-form__radio-label .order-form__option::after {
    top: 5px;
  }
  .customer {
    font-size: 14px;
  }
  .personal-data__wrapper {
    row-gap: 10px;
  }
  .delivery__radio-btns {
    font-size: 15px;
  }
  .payment {
    font-size: 15px;
  }
  .total {
    padding: 20px 15px 40px 15px;
  }
  .total__discount {
    text-align: center;
    font-size: 13px;
  }
}
@media (max-width: 670px) {
  .customer__wrapper {
    flex-direction: column;
    row-gap: 23px;
  }
  .delivery__wrapper {
    row-gap: 20px;
  }
  .delivery__inputs {
    row-gap: 10px;
  }
}
@media (max-width: 390px) {
  .total__discount {
    text-align: left;
  }
  .total__discount span {
    display: block;
  }
  .total__discount span::after {
    right: 0;
  }
}
@media (max-width: 385px) {
  .payment {
    font-size: 13px;
  }
}
.catalog {
  padding-top: 40px;
}

.catalog__wrapper {
  margin-top: 20px;
}

.catalog__form-block {
  border-radius: 8px;
  width: 100%;
  background-color: #fff;
  padding: 20px;
}

.catalog__hide {
  margin-top: 20px;
  text-align: center;
  display: none;
}

.catalog__hide span {
  cursor: pointer;
  line-height: 130%;
  position: relative;
}

.catalog__hide span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -27px;
  width: 14px;
  height: 8px;
  background: url("../icons/dropdown_arr_black.svg");
  background-repeat: no-repeat;
  transition: all 0.27s ease-in-out;
  transform: rotate(180deg) translateY(30%);
}

.catalog__hide_active span {
  color: #4e7ffd;
}

.catalog__hide_active span::before {
  background: url("../icons/dropdown_arr_blue.svg") no-repeat;
  transform: rotate(0deg) translateY(-50%);
}

.catalog__catalog-block {
  margin-top: 10px;
}

.catalog-form {
  display: flex;
  column-gap: 20px;
  align-items: flex-start;
}

.catalog-form__dimensions {
  display: flex;
  column-gap: 10px;
  flex: 1 0 320px;
}

.catalog-form__type {
  flex: 1 1 400px;
}

.catalog-form__admission {
  flex: 1 1 150px;
}

.catalog-form__admission #admission {
  color: #171719;
}

.catalog-form__actions {
  padding-top: 25px;
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.catalog-form__apply {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  padding: 10px 36px;
}

.catalog-form__reset {
  border: 1px solid #d5ddec;
  border-radius: 10px;
  padding: 9px 31px;
  width: 136px;
  line-height: 130%;
}

.catalog-form__reset:hover {
  background-color: #f2f4f7;
}

.catalog-list {
  padding: 0 10px 8px 10px;
}

.catalog-list__item {
  min-height: 59px;
  border-radius: 6px;
  display: flex;
  position: relative;
  font-size: 15px;
  line-height: 130%;
  justify-content: space-between;
}

.catalog-list__item div {
  padding: 20px 10px;
  position: relative;
  min-height: 100%;
  min-width: 0;
  word-wrap: break-word;
}

.catalog-list__item div:not(:last-child)::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  background: #d5ddec;
  top: 0;
  right: 0;
}

.catalog-list__item div a {
  white-space: wrap;
}

.catalog-list__item div:last-child {
  padding: 12px 5px 12px 10px;
}

.catalog-list__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #d5ddec;
}

.catalog-list__item:nth-child(2n) {
  background-color: #f6f8fc;
}

.catalog-list__item a:hover {
  color: #4e7ffd;
}

.catalog-list__item_not-available {
  color: #787b8b;
}

.catalog-list__item_not-available .red {
  color: #787b8b;
}

.catalog-list__item_not-available a:hover {
  color: #787b8b;
}

.catalog-list__name {
  flex: 0 1 225px;
}

.catalog-list__code {
  flex: 0 1 111px;
}

.catalog-list__analogue {
  flex: 0 1 166px;
}

.catalog-list__size {
  flex: 0 1 123px;
}

.catalog-list__type {
  flex: 0 1 90px;
}

.catalog-list__brand {
  flex: 0 1 106px;
}

.catalog-list__photo {
  flex: 0 1 63px;
  cursor: pointer;
  text-align: center;
}

.catalog-list__photo:hover .catalog-list__hover-img {
  display: block;
}

.catalog-list__hover-img {
  display: none;
  position: absolute;
  width: 150px;
  height: 150px;
  top: 50%;
  left: 50%;
  z-index: 2;
  box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: #fff;
}

.catalog-list__hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-list__avalaible {
  flex: 0 1 118px;
}

.catalog-list__wholesale {
  flex: 0 1 104px;
}

.catalog-list__retail {
  flex: 0 1 110px;
}

.catalog-list__cart {
  flex: 0 1 106px;
}

.catalog-table__top {
  border-radius: 8px;
  background-color: #fff;
}

.catalog-table__titles-list {
  padding: 20px 20px 15px 20px;
  display: flex;
}

.catalog-table__titles-item {
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  line-height: 130%;
  white-space: nowrap;
}

.sortable-header {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.sortable-header:hover {
  color: #007bff;
}

.sort-arrows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 5px;
}

.sort-arrow {
  font-size: 12px;
  color: #ccc;
  transition: color 0.2s ease;
  line-height: 1;
}

.sort-arrow.active {
  color: #007bff;
  font-weight: bold;
}

.sortable-header:hover .sort-arrow {
  color: #007bff;
}

/* Стили для кнопок корзины */
.cart-btn.loading {
  opacity: 0.6;
  pointer-events: none;
}

.cart-btn.loading .cart-btn__input {
  background-color: #f5f5f5;
}

.cart-btn__input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

/* Стили для оптовых цен в категориях */
.catalog-list__retail.wholesale-applied {
  text-decoration: line-through;
  color: #999 !important;
}

.catalog-list__wholesale.wholesale-active {
  color: #28a745 !important;
  font-weight: bold;
}

/* Стили для оптовых цен в карточке товара */
.price-retail.wholesale-applied {
  text-decoration: line-through;
  color: #999 !important;
}

.price-wholesale.active {
  color: #28a745 !important;
  font-weight: bold;
}


/* Стили для сообщений об ошибках поиска */
.search-error {
  padding: 20px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin: 20px 0;
}

.search-error p {
  margin-bottom: 10px;
  color: #6c757d;
}

.search-error ul {
  margin: 10px 0;
  padding-left: 20px;
}

.search-error li {
  margin-bottom: 5px;
  color: #495057;
}

.catalog-table__titles-item:not(:first-child) {
  padding-left: 10px;
}

/* Стили для хлебных крошек */
.breadcrumb-nav {
  background: #f2f4f7;
  border-radius: 8px;
  padding: 15px 0;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb-nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumb-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb-nav__item {
  display: flex;
  align-items: center;
  margin: 0;
}

.breadcrumb-nav__link {
  display: flex;
  align-items: center;
  color: #6c757d;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
  background: transparent;
  border: 1px solid transparent;
}

.breadcrumb-nav__link:hover {
  color: #2c3e50;
  background: rgba(255, 221, 45, 0.1);
  text-decoration: none;
  transform: translateY(-1px);
  border: 1px solid rgba(255, 221, 45, 0.3);
}

.breadcrumb-nav__link i {
  margin-right: 6px;
  font-size: 14px;
}

.breadcrumb-nav__current {
  color: #2c3e50;
  font-weight: 600;
  padding: 8px 12px;
  background: #ffdd2d;
  color: #2c3e50;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(255, 221, 45, 0.3);
  border: 1px solid #ffdd2d;
}

.breadcrumb-nav__separator {
  color: #adb5bd;
  margin: 0 8px;
  font-size: 12px;
  transition: color 0.3s ease;
}

.breadcrumb-nav__item:hover .breadcrumb-nav__separator {
  color: #ffdd2d;
}

/* Адаптивность для хлебных крошек */
@media (max-width: 768px) {
  .breadcrumb-nav {
    padding: 10px 0;
    margin-bottom: 20px;
  }
  
  .breadcrumb-nav__container {
    padding: 0 15px;
  }
  
  .breadcrumb-nav__list {
    flex-wrap: wrap;
  }
  
  .breadcrumb-nav__link,
  .breadcrumb-nav__current {
    padding: 6px 8px;
    font-size: 14px;
  }
  
  .breadcrumb-nav__separator {
    margin: 0 4px;
  }
}

/* Стильный блок сортировки в виде карточки */
.catalog-sort-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
  width: 100%;
}

.catalog-sort-card--bottom {
  margin-top: 25px;
  margin-bottom: 0;
}

.catalog-sort-card__content {
  display: flex;
  gap: 25px;
  align-items: end;
}

.catalog-sort-card__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-sort-card__label {
  color: #2c3e50;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.catalog-sort-card__label i {
  color: #ffdd2d;
  font-size: 16px;
}

.catalog-sort-card__select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  background: white;
  color: #2c3e50;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.catalog-sort-card__select:focus {
  outline: none;
  border-color: #ffdd2d;
  box-shadow: 0 0 0 3px rgba(255, 221, 45, 0.1);
  transform: translateY(-1px);
}

.catalog-sort-card__select:hover {
  border-color: #ffdd2d;
  box-shadow: 0 2px 8px rgba(255, 221, 45, 0.2);
}

/* Адаптивность для карточки сортировки */
@media (max-width: 768px) {
  .catalog-sort-card {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .catalog-sort-card__content {
    flex-direction: column;
    gap: 15px;
  }
  
  .catalog-sort-card__item {
    width: 100%;
  }
  
  .catalog-sort-card__select {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Сбалансированные хлебные крошки */
.breadcrumb-modern {
  background: #fff;
  padding: 12px 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  border-radius: 8px;
}

.breadcrumb-modern__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.breadcrumb-modern__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb-modern__item {
  display: flex;
  align-items: center;
  margin: 0;
}

.breadcrumb-modern__link {
  display: flex;
  align-items: center;
  color: #666;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 400;
  font-size: 14px;
}

.breadcrumb-modern__link:hover {
  color: #333;
  background: #fff;
  text-decoration: none;
}

.breadcrumb-modern__link i {
  margin-right: 5px;
  font-size: 13px;
}

.breadcrumb-modern__current {
  color: #333;
  font-weight: 500;
  padding: 6px 12px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
}

.breadcrumb-modern__current i {
  font-size: 13px;
  color: #f39c12;
}

.breadcrumb-modern__separator {
  color: #ccc;
  margin: 0 8px;
  font-size: 12px;
  transition: color 0.2s ease;
}

.breadcrumb-modern__item:hover .breadcrumb-modern__separator {
  color: #999;
}

/* Адаптивность для сбалансированных хлебных крошек */
@media (max-width: 768px) {
  .breadcrumb-modern {
    padding: 10px 15px;
    margin-bottom: 15px;
  }
  
  .breadcrumb-modern__container {
    padding: 0;
  }
  
  .breadcrumb-modern__list {
    flex-wrap: wrap;
  }
  
  .breadcrumb-modern__link,
  .breadcrumb-modern__current {
    font-size: 13px;
  }
  
  .breadcrumb-modern__separator {
    margin: 0 8px;
    font-size: 11px;
  }
}

/* НОВАЯ ПРАВИЛЬНАЯ ВЕРСТКА ТАБЛИЦЫ И КАРТОЧЕК */

/* Основной контейнер */
.products-wrapper {
  margin: 20px 0;
}

/* Заголовок для мобильных */
.mobile-header {
  display: none;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
}

.mobile-title {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-title i {
  color: #ffdd2d;
  font-size: 1.2rem;
}

/* ДЕСКТОПНАЯ ТАБЛИЦА */
.products-table {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.table-container {
  overflow-x: auto;
}

.products-table-inner {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* Заголовки таблицы */
.table-header th {
  background: #f8f9fa;
  padding: 15px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #dee2e6;
  border-right: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 10;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-header th:last-child {
  border-right: none;
}

/* Колонки таблицы */
.col-name { width: 22%; text-align: left; }
.col-code { width: 12%; }
.col-car { width: 8%; }
.col-size { width: 11%; }
.col-type { width: 6%; }
.col-brand { width: 8%; }
.col-photo { width: 7%; }
.col-availability { width: 14%; }
.col-wholesale { width: 8%; }
.col-retail { width: 8%; }
.col-cart { width: 6%; }

/* Строки данных */
.table-row {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f1f3f4;
}

/* Зебра для строк таблицы (более заметная) */
.table-row:nth-child(even) {
  background-color: rgba(240, 242, 245, 0.8);
}

.table-row:nth-child(odd) {
  background-color: #ffffff;
}

.table-row:hover {
  background: rgba(255, 221, 45, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 221, 45, 0.1);
}

.table-row:last-child {
  border-bottom: none;
}

.table-row td {
  padding: 15px 12px;
  text-align: center;
  border-right: 1px solid #f1f3f4;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-row td:last-child {
  border-right: none;
}

.col-name {
  text-align: left !important;
}

/* Сортировка */
.sortable {
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sortable:hover {
  color: #ffdd2d;
}

.sort-icons {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sort-icons i {
  font-size: 10px;
  color: #adb5bd;
  transition: color 0.3s ease;
}

.sort-icons i.active {
  color: #ffdd2d;
  font-weight: bold;
}

/* Элементы таблицы */
.product-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.product-link:hover {
  color: #ffdd2d;
  text-decoration: none;
}

.product-code {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: #6c757d;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  display: inline-block;
}

.product-img {
  max-width: 50px;
  max-height: 50px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}

.availability.in-stock {
  color: #28a745;
}

.availability.out-of-stock {
  color: #dc3545;
}

.price {
  font-weight: 700;
  font-size: 14px;
}

.wholesale-price {
  color: #28a745;
}

.retail-price {
  color: #dc3545;
}

/* Простые и красивые кнопки корзины для десктопа */
.cart-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.cart-controls:hover {
  border-color: #ffdd2d;
}

.btn-cart {
  width: 28px;
  height: 28px;
  border: none;
  background: #f8f9fa;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
  color: #6c757d;
  border: 1px solid #e9ecef;
}

.btn-cart:hover {
  background: #ffdd2d;
  color: #2c3e50;
  border-color: #ffdd2d;
}

.btn-cart:active {
  background: #e6c700;
}

.cart-quantity {
  width: 40px;
  height: 28px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  color: #2c3e50;
  transition: all 0.2s ease;
}

.cart-quantity:focus {
  outline: none;
  border-color: #ffdd2d;
  background: #ffffff;
}

.cart-quantity[value="0"] {
  background: #f8f9fa;
  color: #6c757d;
}

.cart-quantity[value]:not([value="0"]) {
  background: #e8f5e8;
  border-color: #28a745;
  color: #155724;
}

/* Пустое состояние */
.empty-message {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
  font-size: 18px;
}

.empty-message i {
  font-size: 48px;
  margin-bottom: 20px;
  color: #adb5bd;
}

/* КОМПАКТНЫЕ МОБИЛЬНЫЕ КАРТОЧКИ */
.mobile-cards {
  display: none;
}

.mobile-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.mobile-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  align-items: flex-start;
}

.card-image {
  flex-shrink: 0;
}

.product-photo {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-title {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #2c3e50;
}

.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-title a:hover {
  color: #ffdd2d;
  text-decoration: none;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
}

.meta-item i {
  color: #ffdd2d;
  font-size: 12px;
  width: 14px;
  text-align: center;
}

.card-content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.specs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #6c757d;
  padding: 4px 8px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #e9ecef;
}

.spec-item i {
  color: #ffdd2d;
  width: 12px;
  text-align: center;
  font-size: 10px;
}

.card-availability {
  margin-bottom: 8px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.stock-badge.in-stock {
  background: #e8f5e8;
  color: #28a745;
  border: 1px solid #28a745;
}

.stock-badge.out-of-stock {
  background: #f8e8e8;
  color: #dc3545;
  border: 1px solid #dc3545;
}

.card-prices {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

.price-label {
  font-size: 10px;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 600;
}

.price-value {
  font-size: 13px;
  font-weight: 700;
}

.price-value.wholesale {
  color: #28a745;
}

.price-value.retail {
  color: #dc3545;
}

/* Выделение активной оптовой цены в мобильной версии */
.price-item.wholesale-price-active {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.price-item.wholesale-price-active .price-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.price-item.wholesale-price-active .price-value {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.price-item.wholesale-inactive {
  opacity: 0.5;
  filter: grayscale(50%);
}

.card-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid #f1f3f4;
}

.mobile-cart-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #e9ecef;
}

.mobile-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #f8f9fa;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
  color: #6c757d;
  border: 1px solid #e9ecef;
}

.mobile-btn:hover {
  background: #ffdd2d;
  color: #2c3e50;
  border-color: #ffdd2d;
}

.mobile-btn:active {
  background: #e6c700;
}

.mobile-quantity {
  width: 40px;
  height: 28px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  color: #2c3e50;
  transition: all 0.2s ease;
}

.mobile-quantity:focus {
  outline: none;
  border-color: #ffdd2d;
  background: #ffffff;
}

.mobile-quantity[value="0"] {
  background: #f8f9fa;
  color: #6c757d;
}

.mobile-quantity[value]:not([value="0"]) {
  background: #e8f5e8;
  border-color: #28a745;
  color: #155724;
}

.mobile-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.mobile-empty i {
  font-size: 48px;
  margin-bottom: 20px;
  color: #adb5bd;
}

.mobile-empty p {
  font-size: 18px;
  margin: 0;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
  .col-name { width: 25%; }
  .col-code { width: 14%; }
  .col-car { width: 6%; }
  .col-size { width: 18%; }
  .col-type { width: 5%; }
  .col-brand { width: 6%; }
  .col-photo { width: 6%; }
  .col-availability { width: 8%; }
  .col-wholesale { width: 6%; }
  .col-retail { width: 6%; }
  .col-cart { width: 6%; }
}

@media (max-width: 768px) {
  .products-table {
    display: none;
  }
  
  .mobile-cards {
    display: block;
  }
  
  .mobile-header {
    display: block;
  }
}

@media (max-width: 480px) {
  .mobile-card {
    padding: 10px;
    margin-bottom: 6px;
  }
  
  .card-header {
    gap: 10px;
    margin-bottom: 6px;
  }
  
  .product-photo {
    width: 45px;
    height: 45px;
  }
  
  .card-title {
    font-size: 13px;
  }
  
  .card-meta {
    gap: 6px;
  }
  
  .meta-item {
    font-size: 11px;
    padding: 2px 6px;
  }
  
  .card-content {
    gap: 6px;
    margin-bottom: 6px;
  }
  
  .stock-badge {
    padding: 3px 6px;
    font-size: 10px;
  }
  
  .card-prices {
    gap: 10px;
  }
  
  .price-label {
    font-size: 9px;
  }
  
  .price-value {
    font-size: 12px;
  }
  
  .card-actions {
    padding-top: 6px;
  }
  
  .mobile-btn {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
  
  .mobile-quantity {
    width: 36px;
    height: 26px;
    font-size: 11px;
  }
}

/* Стили для информационных страниц */
.information {
  padding: 40px 0;
  background-color: #f8f9fa;
  min-height: 70vh;
}

.information__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.information__header {
  text-align: center;
  margin-bottom: 40px;
}

.information__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.information__content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 40px;
}

.information__text {
  line-height: 1.8;
  color: #555;
  font-size: 16px;
}

.information__text h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin: 30px 0 20px 0;
  font-weight: 600;
  border-bottom: 2px solid #ffdd2d;
  padding-bottom: 10px;
}

.information__text h3 {
  color: #34495e;
  font-size: 1.4rem;
  margin: 25px 0 15px 0;
  font-weight: 600;
}

.information__text h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin: 20px 0 10px 0;
  font-weight: 600;
}

.information__text ul {
  margin: 15px 0;
  padding-left: 20px;
}

.information__text li {
  margin: 8px 0;
  color: #555;
}

.information__text ol {
  margin: 15px 0;
  padding-left: 20px;
}

.information__text p {
  margin: 15px 0;
  color: #555;
}

.information__text strong {
  color: #2c3e50;
  font-weight: 600;
}

.information__text .faq-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  border-left: 4px solid #ffdd2d;
}

.information__blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.information__block {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.information__block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.information__block-icon {
  width: 60px;
  height: 60px;
  background: #ffdd2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #2c3e50;
  font-size: 24px;
}

.information__block-content h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin: 0 0 15px 0;
  font-weight: 600;
}

.information__block-content p {
  color: #7f8c8d;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.information__block-link {
  display: inline-block;
  background: #ffdd2d;
  color: #2c3e50;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.information__block-link:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 221, 45, 0.3);
  color: #2c3e50;
  text-decoration: none;
}

/* Стили для страницы контактов */
.contact-image-wrapper {
  margin-bottom: 30px;
  text-align: center;
}

.contact-image {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
  border: 2px solid #ffdd2d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #ffdd2d;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  border-color: #ffdd2d;
  box-shadow: 0 8px 25px rgba(255, 221, 45, 0.2);
  transform: translateY(-5px);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card__icon {
  width: 60px;
  height: 60px;
  background: #ffdd2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c3e50;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 221, 45, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-card__icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 221, 45, 0.4);
}

.contact-card__icon--phone {
  background: #27ae60;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
  color: #fff;
}

.contact-card:hover .contact-card__icon--phone {
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.contact-card__icon--email {
  background: #e74c3c;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
  color: #fff;
}

.contact-card:hover .contact-card__icon--email {
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.contact-card__icon--time {
  background: #f39c12;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
  color: #fff;
}

.contact-card:hover .contact-card__icon--time {
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.contact-card__content {
  flex: 1;
}

.contact-card__content h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.contact-card__content p {
  color: #555;
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.contact-card__phone {
  color: #27ae60;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card__phone:hover {
  color: #229954;
  text-decoration: underline;
}

.contact-card__email {
  color: #e74c3c;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card__email:hover {
  color: #c0392b;
  text-decoration: underline;
}

.contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffdd2d;
  text-decoration: none;
  font-weight: 500;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.contact-card__link:hover {
  color: #ffc107;
  text-decoration: underline;
}

.contact-card__link--whatsapp {
  color: #25D366;
}

.contact-card__link--whatsapp:hover {
  color: #1da851;
}

.contact-card__fax {
  margin-top: 10px;
  font-size: 14px;
  color: #7f8c8d;
}

.contact-comment {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #ffdd2d;
}

.contact-comment h3 {
  margin-top: 0;
  color: #2c3e50;
}

.contact-form-wrapper {
  margin-top: 30px;
}

.contact-form__description {
  color: #7f8c8d;
  font-size: 16px;
  margin-bottom: 30px;
  font-style: italic;
}

.contact-form {
  margin-top: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form__field {
  margin-bottom: 20px;
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 15px;
}

.contact-form__label i {
  color: #ffdd2d;
}

.contact-form__label .required {
  color: #e74c3c;
  margin-left: 3px;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #ffdd2d;
  box-shadow: 0 0 0 3px rgba(255, 221, 45, 0.1);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 150px;
  border: 2px solid #e9ecef;
  background-color: #f8f9fa;
  position: relative;
  transition: all 0.3s ease;
}

.contact-form__textarea::placeholder {
  color: #adb5bd;
  opacity: 1;
  font-style: italic;
}

.contact-form__textarea:not(:focus):empty {
  border-color: #dee2e6;
  background-color: #f8f9fa;
  border-style: dashed;
}

.contact-form__textarea:focus {
  background-color: #fff;
  border-style: solid;
  border-color: #ffdd2d;
}

.contact-form__error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #e74c3c;
  font-size: 14px;
}

.contact-form__submit {
  margin-top: 25px;
  text-align: right;
}

.contact-form__button {
  padding: 12px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  background: #ffdd2d;
  border: none;
  color: #2c3e50;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-form__button:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 221, 45, 0.3);
}

/* Адаптивность для информационных страниц */
@media (max-width: 768px) {
  .information {
    padding: 20px 0;
  }
  
  .information__container {
    padding: 0 15px;
  }
  
  .information__title {
    font-size: 2rem;
  }
  
  .information__content {
    padding: 20px;
  }
  
  .information__blocks {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .information__block {
    padding: 20px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-card__icon {
    margin: 0 auto;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form__submit {
    text-align: center;
  }

  .contact-form__button {
    width: 100%;
    justify-content: center;
  }
}

/* Стили для страницы 404 */
.error-404 {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.error-404__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.error-404__content {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.error-404__icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: white;
  font-size: 48px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.error-404__title {
  font-size: 8rem;
  font-weight: 900;
  color: #ff6b6b;
  margin: 0 0 20px 0;
  text-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
  line-height: 1;
}

.error-404__subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 20px 0;
}

.error-404__text {
  font-size: 1.2rem;
  color: #6c757d;
  margin: 0 0 40px 0;
  line-height: 1.6;
}

.error-404__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-404__btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.error-404__btn i {
  margin-right: 10px;
  font-size: 18px;
}

.error-404__btn--primary {
  background: linear-gradient(135deg, #ffdd2d, #ffe664);
  color: #2c3e50;
  border: 2px solid #ffdd2d;
}

.error-404__btn--primary:hover {
  background: linear-gradient(135deg, #ffe664, #ffdd2d);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 221, 45, 0.4);
  color: #2c3e50;
  text-decoration: none;
}

.error-404__btn--secondary {
  background: transparent;
  color: #6c757d;
  border: 2px solid #6c757d;
}

.error-404__btn--secondary:hover {
  background: #6c757d;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
  text-decoration: none;
}

.error-404__blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.error-404__block {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.error-404__block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.error-404__block-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ffdd2d, #ffe664);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #2c3e50;
  font-size: 28px;
}

.error-404__block-content h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin: 0 0 15px 0;
  font-weight: 600;
}

.error-404__block-content p {
  color: #6c757d;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.error-404__block-link {
  display: inline-block;
  background: linear-gradient(135deg, #ffdd2d, #ffe664);
  color: #2c3e50;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.error-404__block-link:hover {
  background: linear-gradient(135deg, #ffe664, #ffdd2d);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 221, 45, 0.3);
  color: #2c3e50;
  text-decoration: none;
}

/* Адаптивность для страницы 404 */
@media (max-width: 768px) {
  .error-404 {
    padding: 40px 0;
  }
  
  .error-404__container {
    padding: 0 15px;
  }
  
  .error-404__content {
    padding: 40px 20px;
  }
  
  .error-404__title {
    font-size: 6rem;
  }
  
  .error-404__subtitle {
    font-size: 2rem;
  }
  
  .error-404__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-404__btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .error-404__blocks {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .error-404__block {
    padding: 20px;
  }
}

.catalog-table__title-divider {
  background: #d5ddec;
  width: 100%;
  height: 2px;
}

.catalog-table__form {
  display: flex;
  column-gap: 5px;
}

.catalog-table__form input {
  border: 1px solid #d5ddec;
  border-radius: 5px;
  padding: 8px 5px;
  text-align: center;
  width: 46px;
  height: 35px;

}

.catalog-table__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ffdd2d;
  border-radius: 5px;
  width: 35px;
  height: 35px;
  background: #fff8d5;
}

.catalog-table__btn .gray-cart {
  display: none;
}

.catalog-table__btn .black-cart {
  display: block;
}

.catalog-table__btn img {
  width: 18px;
  height: 18px;
}

.catalog-table__btn:hover {
  background-color: #ffdd2d;
}

.catalog-table__pagination {
  margin-top: 30px;
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
}

.catalog-list-mob {
  display: none;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 10px;
  justify-content: center;
}

.catalog-list-mob__photo {
    height: 40px;
    width: 40px;
  }
  
.catalog-list-mob__photo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.catalog-list-mob__photo_big {
height: 100px;
width: 100px;
}

.catalog-list-mob__item {
  border-radius: 8px;
  background-color: #fff;
  padding: 20px 15px;
  min-height: 456px;
  flex: 1 1 360px;
}

.catalog-list-mob__head {
  display: flex;
  flex-direction: column;
  row-gap: 6px;
}

.catalog-list-mob__name {
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
}

.catalog-list-mob__value {
  font-size: 14px;
  line-height: 130%;
}

.catalog-list-mob__info {
  margin-top: 15px;
}

.catalog-list-mob__info ul {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.catalog-list-mob__info ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 8px;
}

.catalog-list-mob__divider {
  width: 100%;
  margin-top: 15px;
  background: #d5ddec;
  height: 1px;
}

.catalog-list-mob__cart-block {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.red {
  color: #ff4d47;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #2c3e50;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.pagination__item:hover {
  background-color: #ffffff;
  border-color: #ffdd2d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 221, 45, 0.2);
  color: #2c3e50;
}

.pagination__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
}

.pagination__item img {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.pagination__item_active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  background: linear-gradient(135deg, #ffdd2d 0%, #ffc107 100%);
  color: #2c3e50;
  font-weight: 600;
  border: 1px solid #ffdd2d;
  cursor: default;
  box-shadow: 0 2px 8px rgba(255, 221, 45, 0.3);
}

.pagination__item_active:hover {
  background: linear-gradient(135deg, #ffdd2d 0%, #ffc107 100%);
  transform: none;
  box-shadow: 0 2px 8px rgba(255, 221, 45, 0.3);
}

/* Стили для многоточия */
.pagination__item:not(.pagination__prev):not(.pagination__next):not(.pagination__item_active):not(a) {
  background-color: transparent;
  border: none;
  cursor: default;
  padding: 10px 8px;
  min-width: auto;
  color: #6c757d;
  font-weight: 600;
  font-size: 18px;
}

.pagination__item:not(.pagination__prev):not(.pagination__next):not(.pagination__item_active):not(a):hover {
  background-color: transparent;
  transform: none;
  box-shadow: none;
  border: none;
}

@media (max-width: 1135px) {
  .catalog-form {
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 10px;
  }
  .catalog-form-wrapper {
    padding: -5px;
  }
  .catalog-form__type {
    flex: 1 1 200px;
  }
  .catalog-form__admission {
    flex: 1 1 100px;
  }
  .catalog-form__actions {
    padding-top: 0;
    flex: 1 1 100%;
    flex-direction: column;
    row-gap: 10px;
  }
  .catalog-form__apply {
    width: 100%;
  }
  .catalog-form__reset {
    width: 100%;
  }
}
@media (max-width: 1090px) {
  .catalog-table__titles-item {
    font-size: 14px;
  }
  .catalog-list__item {
    font-size: 13px;
  }
}
@media (max-width: 992px) {
  .catalog__form-block {
    /*padding: 0;*/
  }
  .catalog__form-block .catalog__form-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
  }
  .catalog__hide {
    margin: 0;
    display: none;
  }
  .catalog__hide_active {
    margin-top: 20px;
  }
  .catalog-table__top {
    background: inherit;
  }
  .catalog-table__titles {
    display: none;
  }
  .catalog-table__form input {
    border: none;
	height: 10px;
  }
  .catalog-table__btn {
    border-radius: 5px;
    width: 100px;
    height: 40px;
    background-color: #ffdd2d;
  }
  .catalog-table__btn img {
    width: 20px;
    height: 20px;
  }
  .catalog-list {
    display: none;
  }
  .catalog-list-mob {
    display: flex;
  }
  .catalog-list-mob__item {
    display: flex;
    flex-direction: column;
  }
  .catalog-list-mob__info {
    flex: 1 1 auto;
  }
  .catalog-list-mob__info ul {
    height: 100%;
    justify-content: space-between;
  }

  .catalog-table__btn {
    width: 65px;
  }
  .catalog-list__cart{
	flex: 0;
	margin-top: 10px;
  }
}
@media (max-width: 768px) {
  .catalog {
    padding-top: 20px;
  }
  
  .catalog-table__pagination {
    padding: 15px 10px;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  
  .pagination {
    margin: 0;
    padding: 0;
  }
  
  .pagination__list {
    gap: 6px;
  }
  
  .pagination__item {
    min-width: 40px;
    min-height: 40px;
    font-size: 14px;
    padding: 8px 10px;
  }
  
  .pagination__item a {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 10px;
  }
  
  .pagination__item_active {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 10px;
  }
  
  .pagination__item img {
    width: 10px;
    height: 10px;
  }
  
  /* Логика скрытия элементов теперь в PHP, не скрываем через CSS */
}
@media (max-width: 500px) {
  .catalog-form__type {
    flex: 1 1 100%;
  }
  .catalog-form__admission {
    flex: 1 1 100%;
  }
}
@media (max-width: 480px) {
  .catalog-table__pagination {
    padding: 12px 8px;
    margin-top: 15px;
    margin-bottom: 12px;
  }
  
  .pagination {
    margin: 0;
    padding: 0;
  }
  
  .pagination__list {
    gap: 4px;
  }
  
  .pagination__item {
    min-width: 36px;
    min-height: 36px;
    font-size: 13px;
    padding: 6px 8px;
  }
  
  .pagination__item a {
    min-width: 36px;
    min-height: 36px;
    padding: 6px 8px;
  }
  
  .pagination__item_active {
    min-width: 36px;
    min-height: 36px;
    padding: 6px 8px;
  }
  
  .pagination__item img {
    width: 9px;
    height: 9px;
  }
  
  /* Логика скрытия элементов теперь в PHP, не скрываем через CSS */
}

@media (max-width: 380px) {
  .catalog-form__dimensions {
    flex: 1 1 320px;
  }
  
  .pagination__list {
    gap: 3px;
  }
  
  .pagination__item {
    min-width: 32px;
    min-height: 32px;
    font-size: 12px;
    padding: 5px 6px;
  }
  
  .pagination__item a {
    min-width: 32px;
    min-height: 32px;
    padding: 5px 6px;
  }
  
  .pagination__item_active {
    min-width: 32px;
    min-height: 32px;
    padding: 5px 6px;
  }
  
  /* Логика скрытия элементов теперь в PHP, не скрываем через CSS */
}
.input-box {
  width: 100%;
}

.input-box__name {
  font-size: 12px;
  line-height: 150%;
  color: #787b8b;
}

.input-box__input, .input-box__select {
  width: 100%;
  border-radius: 10px;
  height: 40px;
  color: #787b8b;
}

.input-box__input {
  padding: 10px 15px;
  background-color: #f2f4f7;
  margin-top: 8px;
}

.input-box__select-wrapper {
  margin-top: 8px;
}

.other-categories {
  padding-top: 70px;
}

.other-categories__wrapper {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .other-categories {
    padding-top: 50px;
  }
  .other-categories__wrapper {
    margin-top: 20px;
  }
}
.catalog-answers {
  padding: 60px 0 150px 0;
}

@media (max-width: 768px) {
  .catalog-answers {
    padding: 20px 0 100px 0;
  }
}
.order-success {
  padding: 60px 0 147px 0;
}

.order-msg {
  padding: 50px 100px;
  text-align: center;
  border-radius: 16px;
  background-color: #fff;
  max-width: 840px;
  min-height: 420px;
  margin: 0 auto;
}

.order-msg__img {
  width: 82px;
  height: 79px;
  margin: 0 auto;
}

.order-msg__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-msg__title {
  font-family: "MTS Wide", sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-top: 25px;
}

.order-msg__subtitle {
  margin-top: 10px;
  line-height: 130%;
  color: #000;
}

.order-msg__descr {
  margin-top: 20px;
  font-size: 14px;
  line-height: 150%;
  color: #000;
}

.order-msg__content {
  margin-top: 20px;
  font-size: 16px;
  line-height: 150%;
  color: #000;
}

.order-msg__content a {
  color: #0066cc;
  text-decoration: underline;
  text-decoration-color: rgba(0, 102, 204, 0.4);
  text-underline-offset: 3px;
  transition: all 0.3s ease;
}

.order-msg__content a:hover {
  color: #0052a3;
  text-decoration-color: #0052a3;
}

.order-msg__btn {
  margin-top: 20px;
  display: inline-block;
  font-size: 16px;
  line-height: 130%;
  padding: 16px 36px;
  min-height: 54px;
}

@media (max-width: 768px) {
  .order-success {
    padding: 30px 0 100px 0;
  }
  .order-msg {
    padding: 40px 30px;
    border-radius: 8px;
  }
  .order-msg__title {
    font-size: 18px;
    margin-top: 30px;
  }
  .order-msg__btn {
    font-weight: 500;
  }
}
.catalog-select, .catalog-select__inner {
  border-radius: 10px;
  box-shadow: 0 4px 60px 0 rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 20px 0 20px 0;
}

.catalog-select .catalog-select__item, .catalog-select .catalog-select__inner-item, .catalog-select__inner .catalog-select__item, .catalog-select__inner .catalog-select__inner-item {
  line-height: 130%;
  padding: 10px 40px;
}

.catalog-select {
  display: none;
  position: absolute;
  top: 115%;
  left: 0;
  width: 420px;
  z-index: 3;
}

.catalog-select__menu {
  width: 100%;
}

.catalog-select__item {
  font-size: 18px;
  cursor: pointer;
  position: relative;
}

.catalog-select__item a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.catalog-select__item::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 24px;
  width: 6px;
  height: 9px;
  background: url("../icons/catalog-header_arr.svg");
}

.catalog-select__item:first-child::after {
  content: "";
  width: 15px;
  height: 15px;
  background: url("../icons/discount.svg");
}

.catalog-select__item:first-child img {
  width: 15px;
  height: 15px;
}

.catalog-select__item:hover {
  background-color: #f2f4f7;
}

.catalog-select__item:hover .catalog-select__inner {
  display: block;
}

.catalog-select__item img {
  width: 6px;
  height: 9px;
}

.catalog-select__inner {
  display: none;
  position: absolute;
  top: 0;
  left: 101%;
  width: 320px;
}

.catalog-select__inner::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  height: 100%;
  width: 12px;
}

.catalog-select__back {
  display: none;
  position: relative;
  padding-left: 32px;
  line-height: 130%;
}

.catalog-select__back::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  width: 8px;
  height: 14px;
  background: url("../icons/back_arr.svg");
}

.catalog-select__inner-item {
  font-size: 16px;
}

.catalog-select__inner-item a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.catalog-select__inner-item:hover {
  background-color: #f2f4f7;
}

@media (max-width: 992px) {
  .catalog-select, .catalog-select__inner {
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    padding: 0;
  }
  .catalog-select .catalog-select__item, .catalog-select__inner .catalog-select__item {
    padding: 12.5px 20px;
  }
  .catalog-select .catalog-select__inner-item, .catalog-select__inner .catalog-select__inner-item {
    padding: 10px 15px;
  }
  .catalog-select {
    overflow: scroll;
    display: block;
    width: 100%;
    height: 100vh;
    left: -100%;
    top: 101%;
    padding: 12.5px 0;
    border-top: 1px solid #f2f4f7;
    z-index: 3;
    transition: all 0.5s;
  }
  .catalog-select_active {
    left: 0;
  }
  .catalog-select__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: unset;
  }
  .catalog-select__item::after {
    content: "";
    display: block;
    position: unset;
    transform: translateY(0);
  }
  .catalog-select__back {
    display: inline-block;
  }
  .catalog-select__inner {
    overflow: scroll;
    display: block;
    width: 100%;
    height: 100vh;
    left: -100%;
    top: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 22px 15px 50px 15px;
    z-index: 4;
    transition: all 0.5s;
  }
  .catalog-select__inner_active {
    left: 0;
  }
  .catalog-select__inner-menu {
    margin-top: 25px;
  }
  .catalog-select__inner-item {
    max-width: 240px;
  }
  .catalog-select__inner-item:hover {
    background-color: #f2f4f7;
    border-radius: 8px;
  }
}
.select {
  display: block;
  width: 100%;
  position: relative;
}

.new-select {
  border-radius: 10px;
  position: relative;
  padding: 10px 27px 10px 15px;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  font-size: 15px;
  line-height: 130%;
  color: #787b8b;
  background-color: #f2f4f7;
}

.new-select_open {
  outline: 1px solid #ffdd2d;
  background-color: #fff;
}

.selected {
  font-size: 14px;
  color: #171719;
  background-color: #fff;
  outline: 1px solid #ffdd2d;
}

.new-select__list {
  position: absolute;
  top: 103%;
  left: 0;
  cursor: pointer;
  width: 100%;
  z-index: 2;
  background: #fff;
  -webkit-user-select: none;
          user-select: none;
  box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.new-select__list.on {
  display: block;
}

.new-select__item span {
  display: block;
  font-size: 14px;
  color: #171719;
  padding: 9px 15px;
}

.new-select__item span:hover {
  background: #f2f4f7;
}

.new-select:after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  position: absolute;
  right: 18px;
  top: 18px;
  background: url("../icons/dropdown_arr.svg") no-repeat right center/cover;
  opacity: 0.6;
  transition: all 0.27s ease-in-out;
  transform: rotate(0deg);
}

.new-select.on:after {
  transform: rotate(180deg);
}

.cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 1px solid #d5ddec;
  border-radius: 5px;
  max-width: 86px;
  height: 35px;
  background: #fff;
  padding: 11px 25px;
  position: relative;
}

.cart-btn__btn {
  display: block;
  position: absolute;
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.cart-btn__btn:first-child::before, .cart-btn__btn:last-child::before, .cart-btn__btn:last-child::after {
  content: "";
  display: block;
  position: absolute;
  background-color: #171719;
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.cart-btn__btn:last-child::after {
  transform: translateY(-50%) rotate(90deg);
}

.cart-btn__btn:first-child {
  left: 10px;
}

.cart-btn__btn:last-child {
  right: 10px;
}

.cart-btn__input {
  width: 100%;
  outline: none;
  font-size: 15px;
  line-height: 130%;
  text-align: center;
}

.cart-btn__input:hover {
  background-color: inherit;
  outline: none;
}

.cart-btn__input:focus, .cart-btn__input:active {
  outline: none;
  background-color: inherit;
}

.cart-btn_active {
  background: #b7ffdd;
  outline: none;
}

.cart-btn_active input {
  background: #b7ffdd;
}

.cart-btn_disable {
  background: #f6f8fc;
}

.cart-btn_disable input {
  background: #f6f8fc;
  color: #787b8b;
}

.cart-btn_disable .cart-btn__btn:first-child::before, .cart-btn_disable .cart-btn__btn:last-child::before, .cart-btn_disable .cart-btn__btn:last-child::after {
  background-color: #787b8b;
}

.input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 1px solid #d5ddec;
  border-radius: 5px;
  max-width: 86px;
  height: 35px;
  background: #fff;
  padding: 11px 25px;
  position: relative;
}

.catalog__form-block .input-group {
  max-width: 100%;
  padding-left: 0;
}
.catalog__form-block .input-group-addon {
	margin: 0;
	width: 100%;
	background-color: #fff;
	border: 0;
}
.form-group {
    margin-bottom: 0px;
}
.input-group_active {
  background: #b7ffdd;
  outline: none;
}

.input-group_active input {
  background: #b7ffdd;
}

.input-group_disable {
  background: #f6f8fc;
}

.input-group_disable input {
  background: #f6f8fc;
  color: #787b8b;
}

.input-group_disable .input-group-btn:first-child::before, .input-group_disable .input-group-btn:last-child::before, .input-group_disable .input-group-btn:last-child::after {
  background-color: #787b8b;
}

.input-group-btn {
  display: block;
  position: absolute;
  width: 12px;
  height: 12px;
  cursor: pointer;
}


.input-group-btn:last-child::after {
  transform: translateY(-50%) rotate(90deg);
}

.input-group-btn:first-child {
  left: 0px;
}

.input-group-btn:last-child {
  right: 10px;
}

.form-control {
  width: 100%;
  outline: none;
  font-size: 15px;
  line-height: 130%;
  text-align: center;
}

.form-control:hover {
  background-color: inherit;
  outline: none;
}

.form-control:focus, .form-control:active {
  outline: none;
  background-color: inherit;
}

.make-order__shopping-cart {
  margin-top: 30px;
}

.table {
  font-size: 15px;
  line-height: 130%;
  border-radius: 8px;
  background-color: #fff;
  padding: 7px 12px;
  border-collapse: collapse;
  width: 100%;
}

.table thead {
  border-bottom: 1px solid #d5ddec;
}

.table thead tr td {
  padding: 8px;
}

.table tbody tr td {
  padding: 8px;
}

.table tbody tr:not(:last-child) {
  border-bottom: 1px solid #d5ddec;
}

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

.text-left {
  text-align: left;
}

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

.account-login {
  padding: 25px 0 183px 0;
}

.breadcrumb {
  list-style: none;
  text-decoration: none;
  margin-bottom: 30px;
}

.breadcrumb li {
  display: inline-block;
  position: relative;
  font-size: 14px;
  line-height: 130%;
}

.breadcrumb li:not(:first-child) {
  margin-left: 24px;
}

.breadcrumb li:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -15px;
  display: block;
  list-style: none;
  width: 5px;
  height: 8px;
  background-image: url("../icons/account-login/arrow.svg");
}

.breadcrumb li:last-child {
  color: #787b8b;
}

.breadcrumb li a:hover {
  color: #4e7ffd;
}

.row {
  display: flex;
}

#column-right {
  flex-grow: 1;
  order: 1;
}

#content {
  order: 2;
}


.well {
  max-width: 450px;
  border-radius: 8px;
  background-color: #fff;
  padding: 30px;
  border: 0;
}

.well h2 {
  font-family: "MTS Wide", sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 10px;
}

.well p {
  font-size: 14px;
  line-height: 150%;
  margin-bottom: 5px;
}

.well p strong {
  font-family: "MTS Wide", sans-serif;
  font-weight: 500;
  font-size: 18px;
}

.well form .btn-yellow {
  width: 100%;
  outline: none;
}

.btn-yellow {
  border-radius: 10px;
  padding: 9px 35px 12px 35px;
  min-height: 40px;
  background-color: #ffdd2d;
  display: inline-block;
  font-weight: 500;
  line-height: 130%;
  margin-top: 15px;
}

.btn-yellow:hover {
  background-color: #ffe664;
}

.form-group {
  width: 100%;
}

.form-group input {
  width: 100%;
  border-radius: 10px;
  height: 40px;
  color: #787b8b;
  padding: 10px 15px;
  background-color: #f2f4f7;
  text-align: left;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
}

.form-group input:hover {
  background-color: #fff;
  outline: 1px solid #d5ddec;
}

.form-group input:focus, .form-group input:active {
  outline: 1px solid #ffdd2d;
  background-color: #fff;
}

.form-group a {
  display: inline-block;
  color: #4e7ffd;
  margin-top: 10px;
}

.form-group a:hover {
  color: #ff4d47;
}

.form-group:not(:last-child) {
  margin-bottom: 15px;
}

.control-label {
  font-size: 12px;
  line-height: 150%;
  color: #787b8b;
}

.list-group {
  border-radius: 8px;
  padding: 25px 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  max-width: 310px;
}

.list-group-item {
  line-height: 130%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
}

.list-group-item:hover {
  color: #4e7ffd;
}

@media (max-width: 1130px) {
  #column-right {
    display: none;
  }

  #content {
    width: 100%;
  }
}
@media (max-width: 1080px) {
  #column-right {
    margin-right: 10px;
  }
  .col-sm-6:not(:last-child) {
    margin-right: 10px;
  }
}
@media (max-width: 992px) {
  .col-sm-6:not(:last-child) {
    margin: 0;
  }
}
@media (max-width: 768px) {
  .account-login {
    padding: 15px 0 100px 0;
  }
  .breadcrumb {
    margin-bottom: 15px;
  }
  .row {
    flex-wrap: wrap;
    row-gap: 20px;
  }
  .well {
    max-width: 100%;
  }
  .col-sm-6 {
    flex: 1 1 100%;
  }
  .btn-yellow {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 500px) {
  .well {
    padding: 20px;
  }
}
.account-reg {
  padding: 25px 0 150px 0;
}

.account-reg__block {
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  flex: 0 1 925px;
}

.account-reg__block h1 {
  font-family: "MTS Wide", sans-serif;
  font-weight: 500;
  font-size: 22px;
}

.account-reg__block p {
  font-size: 14px;
  line-height: 150%;
  margin-top: 10px;
}

.account-reg__block p a {
  color: #4e7ffd;
}

.account-reg__block p a:hover {
  color: #ff4d47;
}

.form-horizontal fieldset {
  margin-top: 20px;
}

.form-horizontal legend {
  font-family: "MTS Wide", sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 15px;
}

.control-label {
  display: inline-block;
  margin-bottom: 8px;
}

.radio-inline {
  cursor: pointer;
}

.radio-inline input {
  display: none;
}

.radio-inline:not(:last-child) {
  margin-right: 25px;
}

.radio-inline span {
  position: relative;
  padding-left: 36px;
}

.radio-inline span::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  display: inline-block;
  border: 1px solid #d5ddec;
  border-radius: 50%;
  width: 25px;
  height: 25px;
}

.radio-inline span::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  background-color: #fff;
  top: 7.5px;
  left: 8.5px;
  opacity: 0;
  transition: opacity 0.2s;
}

.radio-inline input[type=radio]:checked + span::before {
  background-color: #ffdd2d;
  border: 1px solid #fff;
}

.radio-inline input[type=radio]:checked + span::after {
  opacity: 1;
}

.buttons {
  margin-top: 30px;
}

.pull-right {
  float: right;
}

.pull-right .btn {
  outline: none;
  border-radius: 10px;
  padding: 9px 35px 12px 35px;
  height: 40px;
}

.pull-right__label {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 14px;
  line-height: 130%;
  color: #000;
  margin-right: 20px;
}

.pull-right__label b {
  font-weight: 400;
}

.pull-right__label input {
  display: none;
}

.pull-right__label span {
  position: absolute;
  top: -2px;
  left: 0;
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1px solid #d5ddec;
  border-radius: 5px;
}

.pull-right__label span::before {
  content: "";
  position: absolute;
  background: url("../icons/order/make-order/arr.svg");
  width: 12px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.pull-right__label input[type=checkbox]:checked + span {
  border: 1px solid #ffdd2d;
  background-color: #ffdd2d;
}

.pull-right__label input[type=checkbox]:checked + span::before {
  opacity: 1;
}

@media (max-width: 1130px) {
  .account-reg__block {
    flex: 1 1 100%;
  }
}
@media (max-width: 780px) {
  .account-reg {
    padding: 15px 0 100px 0;
  }
  .pull-right {
    float: unset;
  }
  .pull-right .btn {
    display: block;
    width: 100%;
  }
  .pull-right__label {
    margin-right: 0;
  }
}
@media (max-width: 500px) {
  .account-reg__block {
    padding: 20px;
  }
}
input:hover, textarea:hover {
  background-color: #fff;
  outline: 1px solid #d5ddec;
}

input:focus, input:active, textarea:focus, textarea:active {
  outline: 1px solid #ffdd2d;
  background-color: #fff;
}

.has-text {
  outline: 1px solid #ffdd2d;
  font-size: 14px !important;
  color: #171719 !important;
  background-color: #fff !important;
}

.has-text:hover {
  outline: 1px solid #ffdd2d;
}


.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th{
	border: 0px;
	vertical-align: middle;
}
.img-thumbnail{
	border: 0;
}

.input-group-btn {
    height: 32px;
	width: 26px;
}

.form-control{
	border: 0;
	height: 30px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
}
.form-control:active,.form-control:hover{outline:0}
.input-group{
	padding: 11px 40px;
	height: 32px; 
}
.btn-default{
	border: 0;
	height: 32px;
}
.input-group-btn:last-child {
    right: 8px;
}
.input-group-btn:first-child {
  left: 0px;
}
.table-bordered {
    border: 0px solid #ddd;
}
label{
	font-weight: 300;
}
.order-form__radio-label .order-form__option {
    padding-top: 4px;
}
legend{
	border:0;
}


.make-order__block {
    margin-top: 30px;
  }
  
  .panel {
    border-radius: 16px;
    background-color: #fff;
    padding: 25px;
  }
  
  .panel-heading {
    font-family: "MTS Wide", sans-serif;
    font-weight: 500;
    font-size: 20px;
  }
  
  .panel-body {
    margin-top: 15px;
  }
  
  .make-order__order {
    flex: 1 1 840px;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
  }
  
  #custom-login .panel-body {
    display: flex;
    column-gap: 30px;
    row-gap: 20px;
    flex-wrap: wrap;
  }
  
  #custom-customer .panel-body {
    display: flex;
    column-gap: 30px;
    row-gap: 20px;
    flex-wrap: wrap;
  }
  
  #custom-customer .panel-body .form-group {
    /*flex: 1 1 380px;*/
    margin: 0;
  }
  
  #custom-customer .panel-body .form-control {
    border: none;
  }
  
  #custom-customer .panel-body .form-control:focus {
    box-shadow: none;
  }
  
  #custom-payment .panel-body {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
  }
  
  .radio input {
    display: none;
  }
  
  .radio span {
    position: relative;
    padding-left: 36px;
    cursor: pointer;
  }
  
  .radio span::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    display: inline-block;
    border: 1px solid #d5ddec;
    border-radius: 50%;
    width: 25px;
    height: 25px;
  }
  
  .radio span::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background-color: #fff;
    top: 7.5px;
    left: 8.5px;
    opacity: 0;
    transition: opacity 0.2s;
  }
  
  .radio input[type=radio]:checked + span::before {
    background-color: #ffdd2d;
    border: 1px solid #fff;
  }
  
  .radio input[type=radio]:checked + span::after {
    opacity: 1;
  }
  
  .radio-border {
    border: 1px solid #d5ddec;
    border-radius: 8px;
    padding: 17px 20px;
    width: 100%;
  }
  
  .make-order__total {
    flex: 1 0 410px;
  }
  
  .make-order__total .pull-right .btn-yellow {
    cursor: pointer;
    margin-top: 30px;
    font-size: 16px;
    line-height: 130%;
    width: 100%;
    padding: 17px 20px;
    font-weight: 500;
    background-color: #ffdd2d;
    border-radius: 10px;
    text-align: center;
    height: auto;
  }
  
  .make-order__total .pull-right .btn-yellow:hover {
    background-color: #ffe664;
  }
  
  .make-order__total .buttons {
    margin: 0;
  }
  
  .make-order__total #custom-control .control-label {
    margin-top: 20px;
    margin-bottom: 0;
    display: block;
    padding-left: 32px;
    cursor: pointer;
    position: relative;
    font-size: 14px;
    color: #171719;
    line-height: 130%;
  }
  
  .make-order__total #custom-control .control-label a {
    color: #4e7ffd;
  }
  
  .make-order__total #custom-control .control-label a b {
    font-weight: 400;
  }
  
  .make-order__total #custom-control .control-label input {
    display: none;
  }
  
  .make-order__total #custom-control .control-label span {
    position: absolute;
    top: -2px;
    left: 0;
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 1px solid #d5ddec;
    border-radius: 5px;
  }
  
  .make-order__total #custom-control .control-label span::before {
    content: "";
    position: absolute;
    background: url("../icons/order/make-order/arr.svg");
    width: 12px;
    height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
  }
  
  .make-order__total #custom-control .control-label input[type=checkbox]:checked + span {
    border: 1px solid #ffdd2d;
    background-color: #ffdd2d;
  }
  
  .make-order__total #custom-control .control-label input[type=checkbox]:checked + span::before {
    opacity: 1;
  }
  
  @media (max-width: 768px) {
    .make-order__order {
      row-gap: 10px;
    }
    .panel-body {
      margin-top: 20px;
    }
    .panel {
      border-radius: 8px;
      padding: 15px 15px 20px 15px;
    }
    .panel-heading {
      font-size: 16px;
    }
    #custom-login .panel-body {
      font-size: 14px;
    }
    #custom-customer .panel-body {
      row-gap: 10px;
    }
    #custom-payment {
      font-size: 15px;
    }
    .radio span::before {
      top: -4px;
    }
    .radio span::after {
      top: 5px;
    }
    .radio-border_active {
      padding: 32px 20px;
    }
    .make-order__total {
      flex: 1 1 auto;
    }
  }
  @media (max-width: 670px) {
    #custom-login .panel-body {
      flex-direction: column;
      row-gap: 23px;
    }
  }
  @media (max-width: 385px) {
    #custom-payment {
      font-size: 13px;
    }
  }
  
  
.checkbox+.checkbox, .radio+.radio{
	margin-top: auto;
}

/* ========================================
   УЛУЧШЕНИЯ СТРАНИЦЫ КАТЕГОРИИ
   ======================================== */

/* 1. Минималистичные кнопки корзины */
.cart-controls-improved {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.btn-cart-improved {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px;
}

.btn-cart-improved:hover {
    background: #f5f5f5;
}

.btn-cart-improved:active {
    background: #e0e0e0;
}

.btn-cart-improved i {
    font-size: 12px;
    pointer-events: none;
    color: #666;
}

.btn-cart-improved:hover i {
    color: #333;
}

.cart-quantity-improved {
    width: 40px;
    height: 28px;
    text-align: center;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    font-weight: 400;
    flex-shrink: 0;
    background: transparent;
    color: #333;
    transition: border-color 0.2s ease;
}

.cart-quantity-improved:focus {
    outline: none;
    border-bottom-color: #333;
}

/* Анимация при изменении значения */
.cart-quantity-improved.changed {
    animation: quantityChangeMinimal 0.2s ease;
}

@keyframes quantityChangeMinimal {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 2. Улучшенные бейджи наличия */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.availability-badge.in-stock {
    background: #e8f5e9;
    color: #27ae60;
    border: 1px solid #c8e6c9;
}

.availability-badge.out-of-stock {
    background: #fff3e0;
    color: #f39c12;
    border: 1px solid #ffe0b2;
}

.availability-badge i {
    font-size: 14px;
}

.availability-qty {
    font-weight: 600;
}

.availability-text {
    font-weight: 500;
}

/* 3. Увеличение фото при наведении */
.image-zoom-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
}

.image-zoomable {
    transition: transform 0.3s ease;
    display: block;
    width: 100%;
    height: auto;
}

.image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.image-zoom-overlay i {
    color: #fff;
    font-size: 24px;
}

.image-zoom-container:hover .image-zoomable {
    transform: scale(1.1);
}

.image-zoom-container:hover .image-zoom-overlay {
    opacity: 1;
}

/* Модальное окно для увеличенного изображения */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-zoom-modal.active {
    display: flex;
}

.image-zoom-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-zoom-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.image-zoom-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.image-zoom-modal-close:hover {
    background: #f39c12;
    color: #fff;
    transform: rotate(90deg);
}

/* Минималистичная таблица товаров */
.products-table {
    overflow-x: auto;
    background: #fff;
    position: relative;
}

.products-table-inner {
    min-width: 1200px;
    border-collapse: collapse;
    background: #fff;

	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;

}

/* Tooltip для обрезанных ячеек */
.cell-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 300px;
    word-wrap: break-word;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cell-tooltip.show {
    opacity: 1;
}

.cell-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.9);
}

/* Оптимизированные ширины колонок */
.products-table-inner th,
.products-table-inner td {
    padding: 12px 8px;
    text-align: center;
    border-right: 1px solid #f0f0f0;
    vertical-align: middle;
}

.col-name {
    width: 25% !important;
    text-align: left !important;
    min-width: 200px;
    max-width: 250px;
}

.col-name .product-link {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.col-code {
    width: 12% !important;
    min-width: 100px;
    max-width: 120px;
    font-weight: 500;
}

.col-code .product-code {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.col-car {
    width: 10% !important;
    min-width: 80px;
    max-width: 100px;
}

.col-car .car-model {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.col-size {
    width: 12% !important;
    min-width: 100px;
    max-width: 120px;
}

.col-size .size-info {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.col-type {
    width: 8% !important;
    min-width: 60px;
    max-width: 80px;
}

.col-type .type-info {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.col-brand {
    width: 10% !important;
    min-width: 80px;
    max-width: 100px;
}

.col-brand .brand-info {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.col-photo {
    width: 8% !important;
    min-width: 80px;
}

.col-availability {
    width: 12% !important;
    min-width: 100px;
}

/* Убираем ellipsis для столбца наличия */
.col-availability,
.col-availability * {
    overflow: visible !important;
    text-overflow: clip !important;
}

.col-wholesale {
    width: 10% !important;
    min-width: 90px;
}

.col-retail {
    width: 10% !important;
    min-width: 90px;
}

.col-cart {
    width: 12% !important;
    min-width: 120px;
}

/* Минималистичные заголовки */
.products-table-inner th {
    background: #fff;
    font-weight: 400;
    color: #666;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Минималистичные строки */
.products-table-inner tbody tr {
    transition: background-color 0.1s ease;
    border-bottom: 1px solid #f8f9fa;
}

.products-table-inner tbody tr:hover {
    background-color: #fafafa;
}

/* Минималистичное отображение текста */
.product-link {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.product-link:hover {
    color: #000;
    text-decoration: none;
}

.product-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #495057;
}

.car-model, .size-info, .type-info, .brand-info {
    font-size: 13px;
    color: #6c757d;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .cart-controls-improved {
        gap: 3px;
    }
    
    .btn-cart-improved {
        width: 24px;
        height: 24px;
    }
    
    .btn-cart-improved i {
        font-size: 10px;
    }
    
    .cart-quantity-improved {
        width: 35px;
        height: 24px;
        font-size: 12px;
    }
    
    .availability-badge {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .image-zoom-overlay i {
        font-size: 20px;
    }
    
    /* На мобильных скрываем некоторые колонки */
    .col-car, .col-type, .col-brand {
        display: none;
    }
    
    .products-table-inner {
        min-width: 800px;
    }
}

/* Стили для страниц аккаунта */
.account-page {
  padding: 30px 0;
}

.account-page__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.account-page__content {
  max-width: 600px;
  margin: 0 auto;
}

/* Современные уведомления */
.alert-modern {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.alert-modern i {
  font-size: 18px;
}

.alert-modern--error {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #feb2b2;
}

.alert-modern--success {
  background: #f0fff4;
  color: #2f855a;
  border: 1px solid #9ae6b4;
}

.alert-modern--info {
  background: #ebf8ff;
  color: #2c5282;
  border: 1px solid #90cdf4;
}

/* Карточка формы */
.form-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.form-card__header {
  padding: 30px;
  border-bottom: 1px solid #f0f0f0;
}

.form-card__title {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-card__title i {
  color: #f39c12;
  font-size: 22px;
}

.form-card__description {
  color: #666;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.form-card__body {
  padding: 30px;
}

/* Современные поля формы */
.form-group-modern {
  margin-bottom: 20px;
}

.form-label-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-label-modern i {
  color: #999;
  font-size: 13px;
}

.form-input-modern {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #fff;
}

.form-input-modern:focus {
  outline: none;
  border-color: #f39c12;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.form-input-modern::placeholder {
  color: #999;
}

/* Современные кнопки */
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-modern {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-modern--primary {
  background: #f39c12;
  color: #fff;
}

.btn-modern--primary:hover {
  background: #e67e22;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.btn-modern--secondary {
  background: #f5f5f5;
  color: #666;
}

.btn-modern--secondary:hover {
  background: #e0e0e0;
  color: #333;
}

.btn-modern i {
  font-size: 13px;
}

.btn-modern--full {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* Выделенная строка с основными параметрами товара (Модель авто и Размер) */
.card-meta-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e9ecef;
}

.meta-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f2f4f7;
  color: #171719;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #d5ddec;
  transition: all 0.2s ease;
}

.meta-highlight-item:hover {
  background: #ffdd2d;
  border-color: #ffdd2d;
}

.meta-highlight-item i {
  font-size: 14px;
  color: #787b8b;
  transition: color 0.2s ease;
}

.meta-highlight-item:hover i {
  color: #171719;
}

.meta-highlight-item strong {
  font-weight: 600;
  color: #171719;
}

/* TEST_FINAL СТИЛИ - НАЧАЛО */
/* Блок модели авто + размер */
.card-auto-new {
  background: #f2f4f7;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #171719;
  border-left: 2px solid #ffdd2d;
  margin-bottom: 6px;
  margin-top: 6px;
}

/* Краткие характеристики */
.card-details-new {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.detail-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #f2f4f7;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #171719;
}

.detail-item i {
  color: #ffdd2d;
  font-size: 13px;
}

/* Медиа-блок: Фото + Цена + Наличие + Кнопки */
.card-footer-new {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9ecef;
}

.card-photo-new {
  flex: 0 0 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

.card-photo-new .photo-new {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-middle-new {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-actions-new {
  flex: 0 0 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.card-price-new {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid #edf0f5;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label-new {
  font-size: 11px;
  text-transform: uppercase;
  color: #787b8b;
  font-weight: 600;
}

.price-value-new {
  font-size: 14px;
  font-weight: 700;
  color: #171719;
}

.price-line--wholesale .price-value-new {
  color: #171719;
}

.price-line--retail .price-value-new {
  color: #171719;
}

/* Зачеркивание цен при активном модуле оптовых цен */
.price-line--wholesale.price-strikethrough .price-value-new,
.price-line--retail.price-strikethrough .price-value-new {
  text-decoration: line-through;
  opacity: 0.6;
}

/* Начальное состояние - оптовая цена зачеркнута (до достижения порога) */
.mobile-card--new .price-line--wholesale {
  opacity: 0.6;
}

.mobile-card--new .price-line--wholesale .price-value-new {
  text-decoration: line-through;
}

/* Выделение оптовой цены при достижении порога */
.mobile-card--new .price-line--wholesale.price-active {
  opacity: 1;
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-radius: 6px;
  padding: 4px 8px;
  margin: -4px -8px;
}

.mobile-card--new .price-line--wholesale.price-active .price-value-new {
  color: #155724;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.mobile-card--new .price-line--wholesale.price-active .price-label-new {
  color: #155724;
  font-weight: 600;
}

.stock-new {
  width: 100%;
  display: flex;
  justify-content: center;
}

.stock-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.in-stock-new {
  background: #d4edda;
  color: #155724;
}

.out-stock-new {
  background: #f8d7da;
  color: #721c24;
}

.buttons-new {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Кнопки ГОРИЗОНТАЛЬНО */
.cart-new {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
}

.btn-new {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d5ddec;
  font-size: 14px;
  font-weight: 700;
  color: #171719;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-plus-new:hover {
  background: #ffdd2d;
  border-color: #ffdd2d;
}

.btn-minus-new:hover {
  background: #f2f4f7;
}

.btn-new:active {
  transform: scale(0.95);
}

.qty-new {
  width: 36px;
  height: 32px;
  text-align: center;
  border: 1px solid #d5ddec;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: #171719;
}

.qty-new:focus {
  outline: none;
  border-color: #ffdd2d;
}

.cart-new.cart-btn_active .btn-new {
  background: #ffdd2d;
  border-color: #ffdd2d;
}

/* WhatsApp */
.btn-wa-new {
  width: 100%;
  height: 32px;
  background: #25D366;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-wa-new:hover {
  background: #20BA5A;
}
/* TEST_FINAL СТИЛИ - КОНЕЦ */

@media (max-width: 768px) {
  .card-footer-new {
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    grid-template-areas:
      "price photo actions";
    align-items: stretch;
    gap: 12px;
  }

  .card-photo-new {
    grid-area: photo;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .card-middle-new {
    grid-area: price;
  }

  .card-actions-new {
    grid-area: actions;
  }
}

@media (max-width: 480px) {
  .card-footer-new {
    display: grid;
    grid-template-columns: 1fr 78px 1fr;
    grid-template-areas:
      "price photo actions";
    align-items: stretch;
    gap: 8px;
  }

  .card-photo-new {
    grid-area: photo;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .card-middle-new {
    grid-area: price;
  }

  .card-actions-new {
    grid-area: actions;
    flex: 0 0 96px;
  }
}

@media (max-width: 380px) {
  .card-footer-new {
    display: grid;
    grid-template-columns: 1fr 82px 1fr;
    grid-template-areas:
      "price photo actions";
    align-items: stretch;
    gap: 10px;
  }

  .card-photo-new {
    grid-area: photo;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .card-middle-new {
    grid-area: price;
  }

  .card-actions-new {
    grid-area: actions;
    align-items: flex-start;
    gap: 12px;
  }

  .stock-new {
    justify-content: flex-start;
  }

  .buttons-new {
    justify-content: flex-start;
    width: 100%;
  }

  .cart-new {
    justify-content: flex-start;
  }

  .btn-wa-new {
    width: 100%;
  }
}

@media (max-width: 340px) {
  .card-footer-new {
    grid-template-columns: 72px 1fr;
  }

  .card-price-new {
    padding: 8px 10px;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .account-page {
    padding: 20px 0;
  }
  
  .account-page__container {
    padding: 0 15px;
  }
  
  .form-card__header,
  .form-card__body {
    padding: 20px;
  }
  
  .form-card__title {
    font-size: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn-modern {
    width: 100%;
    justify-content: center;
  }
}

/* Стили цен в карточке товара - ВЕРСИЯ 1 (сохранена) */
.buy-block__price {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.price-wholesale-product,
.price-retail-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.price-wholesale-product .price-label,
.price-retail-product .price-label {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.price-wholesale-product .price-value {
    font-size: 20px;
    font-weight: 600;
    color: #27ae60;
}

.price-retail-product .price-value {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* Адаптивность для цен */
@media (max-width: 768px) {
    .buy-block__price {
        gap: 10px;
    }
    
    .price-wholesale-product,
    .price-retail-product {
        padding: 10px 12px;
    }
    
    .price-wholesale-product .price-value,
    .price-retail-product .price-value {
        font-size: 18px;
    }
}

/* ============================================ */
/* Стили цен в карточке товара - ВЕРСИЯ 2 (новая) */
/* ============================================ */

.price-container-v2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    margin: 20px 0;
}

.price-main-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.price-retail-v2,
.price-wholesale-v2 {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}

.price-retail-v2:hover,
.price-wholesale-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price-label-v2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    font-weight: 600;
}

.price-retail-v2 .price-value-v2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.price-wholesale-v2 {
    position: relative;
    overflow: hidden;
}

.price-wholesale-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #27ae60 0%, #2ecc71 100%);
}

.price-wholesale-v2 .price-value-v2 {
    font-size: 26px;
    font-weight: 700;
    color: #27ae60;
    line-height: 1;
}

.price-savings-v2 {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px dashed rgba(39, 174, 96, 0.3);
}

.price-savings-v2 i {
    font-size: 18px;
    color: #27ae60;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.price-savings-v2 .savings-text {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.price-savings-v2 .savings-value {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
    margin-left: auto;
}

/* Адаптивность для версии 2 */
@media (max-width: 768px) {
    .price-container-v2 {
        padding: 15px;
    }
    
    .price-main-v2 {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .price-retail-v2,
    .price-wholesale-v2 {
        padding: 12px;
    }
    
    .price-retail-v2 .price-value-v2 {
        font-size: 20px;
    }
    
    .price-wholesale-v2 .price-value-v2 {
        font-size: 22px;
    }
    
    .price-savings-v2 {
        padding: 10px 12px;
        flex-wrap: wrap;
    }
    
    .price-savings-v2 .savings-value {
        font-size: 16px;
    }
}

/* Улучшенный блок поиска */
.search-form-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-form-card__content {
    width: 100%;
}

.search-form-card__row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-form-card__item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-form-card__item--large {
    flex: 2;
}

.search-form-card__item--checkbox {
    flex: 0 0 auto;
    min-width: auto;
    justify-content: flex-end;
}

.search-form-card__label {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-form-card__label i {
    font-size: 12px;
    color: #999;
}

.search-form-card__input,
.search-form-card__select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
}

.search-form-card__input:focus,
.search-form-card__select:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.search-form-card__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    padding: 10px 0;
}

.search-form-card__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.search-form-card__checkbox span {
    user-select: none;
}

@media (max-width: 768px) {
    .search-form-card {
        padding: 15px;
    }
    
    .search-form-card__row {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-form-card__item {
        min-width: 100%;
    }
    
    .search-form-card__item--checkbox {
        min-width: 100%;
    }
}

/* Уведомления корзины */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 300px;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.cart-notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cart-notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Улучшенные кнопки корзины - дополнительная стилизация */
.btn-cart-improved:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cart-quantity-improved:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================ */
/* УЛУЧШЕННАЯ ТАБЛИЦА КОРЗИНЫ */
/* ============================================ */

.cart-table-container {
    overflow-x: auto;
    background: #fff;
    margin: 20px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
    min-width: 800px;
}

.cart-table thead {
    background: #fff;
}

.cart-th {
    padding: 12px 8px;
    text-align: center;
    font-weight: 400;
    color: #666;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
    background: #fff;
}

.cart-td {
    padding: 12px 8px;
    vertical-align: middle;
    border-bottom: 1px solid #f8f9fa;
    border-right: 1px solid #f0f0f0;
    transition: background-color 0.1s ease;
}

.cart-table tbody tr {
    transition: background-color 0.1s ease;
}

.cart-table tbody tr:hover .cart-td {
    background-color: #fafafa;
}

/* Колонки таблицы */
.cart-th-image,
.cart-td-image {
    width: 80px;
    text-align: center;
}

.cart-th-name,
.cart-td-name {
    width: 25%;
    text-align: left;
}

.cart-th-model,
.cart-td-model {
    width: 12%;
    text-align: left;
}

.cart-th-sku,
.cart-td-sku {
    width: 12%;
    text-align: left;
}

.cart-th-quantity,
.cart-td-quantity {
    width: 15%;
    text-align: center;
}

.cart-th-price,
.cart-td-price {
    width: 15%;
    text-align: right;
}

.cart-th-total,
.cart-td-total {
    width: 15%;
    text-align: right;
}

.cart-th-remove,
.cart-td-remove {
    width: 6%;
    text-align: center;
}

/* Изображения товаров */
.cart-product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.cart-no-image {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 16px;
}

/* Название товара */
.cart-product-name {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
}

.cart-product-name:hover {
    color: #000;
    text-decoration: none;
}

.cart-stock-warning {
    color: #dc3545;
    font-weight: 600;
    margin-left: 5px;
}

.cart-options {
    margin-top: 4px;
}

.cart-option {
    display: block;
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 2px;
}

.cart-reward,
.cart-recurring {
    margin-top: 4px;
}

.cart-recurring-label {
    background: #17a2b8;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
}

/* Контролы количества */
.cart-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.cart-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
}

.cart-btn:hover:not(:disabled):not(.cart-btn-remove) {
    background: #f8f9fa;
    border-color: #999;
}

.cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-btn-minus,
.cart-btn-plus {
    font-size: 11px;
}

.cart-btn-remove {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
    width: 28px;
    height: 28px;
    opacity: 1 !important;
}

.cart-btn-remove:hover {
    background: #c82333 !important;
    border-color: #bd2130 !important;
    opacity: 1 !important;
    color: #fff !important;
}

.cart-quantity-input {
    width: 45px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    color: #333;
}

.cart-quantity-input:focus {
    outline: none;
    border-color: #007bff;
}

/* Цены */
.cart-price-normal,
.cart-total-normal {
    font-weight: 400;
    color: #333;
    font-size: 14px;
}

.cart-wholesale-hint {
    color: #6c757d;
    font-size: 11px;
    font-style: italic;
}

.cart-savings-item {
    color: #6c757d;
    font-size: 10px;
    font-weight: 400;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    opacity: 0.8;
}

.cart-savings-item i {
    font-size: 9px;
    opacity: 0.7;
}

/* ============================================ */
/* ОПТОВЫЕ ЦЕНЫ В КОРЗИНЕ - УЛУЧШЕННЫЙ ДИЗАЙН */
/* ============================================ */

.cart-price-wholesale,
.cart-total-wholesale {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    padding: 8px 0;
    min-width: 120px;
}

.price-retail-strike {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    position: relative;
    padding: 3px 6px;
    background: #f8f9fa;
    border-radius: 3px;
    display: inline-block;
    white-space: nowrap;
    border: 1px solid #e9ecef;
}

.price-retail-strike::before {
    content: "Розн: ";
    font-size: 11px;
    color: #aaa;
    font-weight: 500;
    margin-right: 3px;
}

.price-wholesale-active {
    color: #27ae60;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #d4edda;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(39, 174, 96, 0.1);
}

.price-wholesale-active::before {
    content: "Опт: ";
    font-size: 12px;
    color: #155724;
    font-weight: 600;
}

.cart-total-wholesale .text-success {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #155724 !important;
    margin-top: 4px;
    border: 1px solid #c3e6cb;
    box-shadow: 0 1px 2px rgba(39, 174, 96, 0.1);
    white-space: nowrap;
}

.cart-wholesale-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    color: #2d9f5d;
    background: #e8fbef;
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid rgba(39, 174, 96, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.cart-wholesale-flag i {
    font-size: 12px;
}

.cart-wholesale-flag--compact {
    font-size: 10px;
    padding: 3px 8px;
}

.cart-summary-row td {
    background: #f8fafc;
    border-top: 1px solid #e0e6ed;
    padding: 16px;
}

/* Стили для суммы итога */
.cart-summary-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1f2a37;
    letter-spacing: 0.4px;
}

/* Десктопная версия - скрыть "Итого" в первом столбце, показать в колонке "Всего" */
@media (min-width: 768px) {
    /* Скрываем только текст в ячейке, саму ячейку оставляем на месте для сохранения структуры таблицы */
    .cart-td-summary-label {
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }
    
    .cart-td-summary-value {
        text-align: right;
    }
    
    /* Скрываем существующий label, если он есть */
    .cart-td-summary-value .cart-summary-label {
        display: none;
    }
    
    /* Добавляем "Итого:" перед суммой */
    .cart-td-summary-value::before {
        content: 'Итого:';
        font-weight: 700;
        font-size: 16px;
        color: #1f2a37;
        margin-right: 8px;
    }
    
    /* Минимизируем пустые ячейки справа */
    .cart-td-summary-spacer {
        padding: 0 !important;
        border: none !important;
    }
}

.cart-summary-label {
    font-weight: 700;
    font-size: 13px;
    color: #5a6c7d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-summary-value,
.cart-summary-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.cart-summary-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cart-summary-current {
    font-size: 20px;
    font-weight: 700;
    color: #1f2a37;
    letter-spacing: 0.4px;
}

.cart-summary-retail {
    align-self: flex-end;
}

.cart-summary-savings {
    margin-top: 6px;
    color: #1f7a45;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(39, 174, 96, 0.08);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(39, 174, 96, 0.15);
}

.cart-summary-savings i {
    font-size: 12px;
}

.cart-summary-savings--full {
    display: inline-flex;
    margin-top: 12px;
}

@media (max-width: 767px) {
    .cart-summary-row td {
        padding: 14px;
    }
    
    /* В мобильной версии скрываем псевдоэлемент ::before */
    .cart-td-summary-value::before {
        display: none !important;
    }
    
    /* Показываем оригинальную структуру */
    .cart-td-summary-label {
        display: table-cell !important;
    }

    .cart-summary-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cart-summary-prices {
        align-items: flex-start;
    }

    .cart-summary-current {
        font-size: 18px;
    }

    .cart-summary-savings {
        align-self: flex-start;
    }
    
    .cart-summary-amount {
        font-size: 18px;
    }
}

.cart-total-wholesale .text-success i {
    font-size: 12px;
    animation: bounce 2s infinite;
}

.cart-savings-alert {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 18px 25px;
    margin-bottom: 20px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
    animation: slideInDown 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-savings-alert i.fa-check-circle {
    margin-right: 10px;
    font-size: 20px;
    color: #28a745;
}

.cart-savings-alert strong {
    color: #155724;
}

.cart-savings-alert .pull-right {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-savings-alert .pull-right i {
    font-size: 20px;
    color: #28a745;
    animation: bounce 2s infinite;
}

.cart-savings-alert .pull-right strong {
    color: #28a745;
    font-size: 22px;
    font-weight: 700;
}

/* Блок потенциальной экономии */
.total__potential-info {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #f39c12;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.potential-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #856404;
    margin-bottom: 12px;
}

.potential-header i {
    font-size: 18px;
    color: #f39c12;
}

.potential-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.potential-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    font-size: 14px;
}

.potential-item span {
    color: #666;
}

.potential-item strong {
    font-size: 16px;
    font-weight: 700;
}

.potential-item strong.text-success {
    color: #28a745 !important;
}

.potential-item strong.text-warning {
    color: #f39c12 !important;
}

.potential-remaining {
    border: 2px dashed #f39c12;
    background: rgba(255, 255, 255, 0.95);
}

/* Блок розничной цены в итогах */
.total__item-retail {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 6px;
    padding: 8px 12px !important;
    margin: 5px 0 !important;
    opacity: 0.8;
}

.price-retail-total {
    text-decoration: line-through;
    color: #6c757d !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

/* Блок экономии в итогах */
.total__item-savings {
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 4px 0 !important;
    margin: 5px 0 !important;
}

.total__item-savings div:first-child {
    color: #6c757d;
    font-weight: 400;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.total__item-savings div:first-child i {
    color: #6c757d;
    font-size: 11px;
    opacity: 0.7;
}

.total-savings-value {
    color: #6c757d !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.total__wholesale-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.total__wholesale-badge i {
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cart-savings-alert {
        text-align: center;
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .cart-savings-alert .pull-right {
        float: none !important;
        display: flex;
        margin-top: 0;
        justify-content: center;
    }
    
    .cart-price-wholesale,
    .cart-total-wholesale {
        align-items: center;
    }
    
    .price-retail-strike,
    .price-wholesale-active {
        font-size: 11px;
        padding: 2px 4px;
    }
    
    .cart-price-wholesale,
    .cart-total-wholesale {
        min-width: 100px;
    }
    
    .potential-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .total__item-retail {
        padding: 6px 10px !important;
    }
    
    .total__item-savings {
        padding: 10px 12px !important;
    }
    
    .total-savings-value {
        font-size: 16px !important;
    }
    
    .total__wholesale-badge {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    /* Адаптивность таблицы корзины */
    .cart-table {
        font-size: 12px;
        min-width: 600px;
    }
    
    .cart-th,
    .cart-td {
        padding: 8px 4px;
    }
    
    .cart-th {
        font-size: 11px;
    }
    
    .cart-product-image {
        width: 40px;
        height: 40px;
    }
    
    .cart-no-image {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .cart-product-name {
        font-size: 12px;
    }
    
    .cart-btn {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }
    
    .cart-btn-remove {
        width: 24px;
        height: 24px;
    }
    
    .cart-quantity-input {
        width: 35px;
        height: 24px;
        font-size: 11px;
    }
    
    .cart-price-normal,
    .cart-total-normal {
        font-size: 12px;
    }
    
    .price-retail-strike,
    .price-wholesale-active {
        font-size: 10px;
        padding: 2px 4px;
    }
    
    .cart-savings-item {
        font-size: 9px;
    }
    
    /* Скрыть только модель на очень маленьких экранах, артикул оставляем видимым */
    .cart-th-model,
    .cart-td-model {
        display: none;
    }
    
    /* Артикул показываем в мобильной версии */
    .cart-th-sku,
    .cart-td-sku {
        display: table-cell !important;
    }
    
    .cart-th-name,
    .cart-td-name {
        width: 40%;
    }
    
    .cart-th-quantity,
    .cart-td-quantity {
        width: 20%;
    }
    
    .cart-th-price,
    .cart-td-price {
        width: 20%;
    }
    
    .cart-th-total,
    .cart-td-total {
        width: 15%;
    }
    
    .cart-th-remove,
    .cart-td-remove {
        width: 5%;
    }
}

/* Стили для новых полей автозапчастей */
.car-model, .size-info, .type-info {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.car-model .more-count {
    background: #007bff;
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 3px;
    margin-left: 4px;
    font-weight: bold;
}

/* Убираем все hover эффекты для полей автозапчастей */

/* Стили для столбца названия */
.col-name {
    width: 20% !important;
    max-width: 180px;
}

/* Стили для столбца марка авто */
.col-car {
    width: 20% !important;
    max-width: 150px;
}

.product-link {
    display: block;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    line-height: 1.2;
    padding: 2px 0;
    text-decoration: none;
    color: #000000;
    font-size: 13px;
    max-height: 3.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-link:hover {
    color: #000000;
    text-decoration: none;
}

/* Модальное окно для просмотра изображений (только мобильная версия) */
.mobile-image-modal {
    display: none;
    position: fixed;
    z-index: 2147483647 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    animation: fadeIn 0.3s ease;
    isolation: isolate;
}

.mobile-image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-image-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
    z-index: 2147483647;
}

.mobile-image-modal-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.mobile-image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #333;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-image-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

/* Кнопка фильтра должна быть под модальным окном изображения */
/* Понижаем z-index всего контейнера фильтра, когда модальное окно открыто */
body.modal-image-open .ocf-container {
    z-index: 1 !important;
}

body.modal-image-open .ocf-btn-mobile-fixed,
body.modal-image-open .ocf-btn-mobile-static,
body.modal-image-open .ocf-container .ocf-btn-mobile-fixed,
body.modal-image-open .ocf-container .ocf-btn-mobile-static {
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Визуально делаем кнопку менее заметной */
body.modal-image-open .ocf-btn-mobile-fixed {
    opacity: 0.2 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========== ОСНОВНЫЕ СТИЛИ КАРТОЧКИ ТОВАРА ========== */

/* Заголовок товара */
.good__title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
}

.good__title .product-meta {
    font-size: 18px;
    font-weight: 400;
    color: #787b8b;
    margin-left: 8px;
}

/* Layout страницы товара */
.good__photo-block {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 40px;
}

/* ========== ГАЛЕРЕЯ ТОВАРА ========== */
.product-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slider__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-slider__img_active {
    opacity: 1;
    padding: 35px;
}

.product-slider__arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.product-slider__arr.prev {
    left: 24px;
}

.product-slider__arr.next {
    right: 24px;
}

.product-slider__arr:hover {
    opacity: 0.8;
}

/* Миниатюры под фото */
.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    background: #f8f9fa;
    padding: 18px 28px;
    border-radius: 20px;
}

.product-thumbnail-item {
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumbnail-item:hover {
    border-color: #4e7ffd;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(78, 127, 253, 0.2);
}

.product-thumbnail-item.active {
    border-color: #ffdd2d;
    box-shadow: 0 4px 12px rgba(255, 221, 45, 0.3);
}

.product-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== БЛОК ПОКУПКИ ========== */
.buy-block {
    background: #fff;
    padding: 30px 40px 40px 30px;
    border-radius: 24px;
    border: 2px solid #f2f4f7;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.buy-block__article {
    color: #787b8b;
    line-height: 130%;
    margin-bottom: 20px;
}

.buy-block__article span {
    color: #171719;
    font-weight: 500;
}

.buy-block__price {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.price-wholesale-product,
.price-retail-product {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-label {
    color: #787b8b;
    font-size: 16px;
}

.price-value {
    font-family: "MTS Wide", sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #171719;
}

.price-wholesale-product .price-value {
    color: #27ae60;
}

.buy-block__info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.buy-block__item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f4f7;
}

.buy-block__item:last-of-type {
    border-bottom: none;
}

.buy-block__name {
    color: #787b8b;
    line-height: 130%;
}

.buy-block__value {
    font-weight: 500;
    line-height: 130%;
    color: #171719;
}

.buy-block__all-info {
    color: #4e7ffd;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.buy-block__all-info:hover {
    color: #ff4d47;
}

/* ========== БЕЙДЖ НАЛИЧИЯ ========== */
.availability-badge-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.availability-badge-product.in-stock {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.availability-badge-product.out-of-stock {
    background: rgba(255, 77, 71, 0.1);
    color: #ff4d47;
    border: 1px solid rgba(255, 77, 71, 0.3);
}

.availability-badge-product i {
    font-size: 16px;
}

.buy-block__item-availability .buy-block__value {
    display: flex;
    justify-content: flex-end;
}

.buy-block__actions {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ========== КОНТРОЛЫ КОРЗИНЫ ========== */
.product-cart-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #fff;
    border: 2px solid #e2e7ee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-cart-controls.cart-active {
    border-color: #ffdd2d;
    box-shadow: 0 4px 15px rgba(255, 221, 45, 0.3);
}

.product-cart-controls.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn-cart-control {
    flex: 0 0 60px;
    height: 60px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #171719;
    font-size: 18px;
}

.btn-cart-control:hover {
    background: #ffdd2d;
    color: #171719;
}

.btn-cart-control:active {
    transform: scale(0.95);
}

.btn-cart-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-quantity-product {
    flex: 1;
    height: 60px;
    border: none;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #171719;
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
}

.cart-quantity-product::-webkit-outer-spin-button,
.cart-quantity-product::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-quantity-product:disabled {
    background: #f8f9fa;
}

.buy-block__buy-btn {
    width: 100%;
    padding: 17px 40px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.buy-block__buy-btn i {
    font-size: 18px;
}

/* ========== ЗАЧЁРКНУТЫЕ ЦЕНЫ ПРИ ОПТОВЫХ ЦЕНАХ ========== */
.retail-price-value.price-strikethrough {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 28px !important;
}

.wholesale-price-value.price-active {
    color: #27ae60;
    animation: priceHighlight 0.5s ease;
}

@keyframes priceHighlight {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========== СТИЛИ ДЛЯ Б/У ТОВАРОВ ========== */
.badge-used-product {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    margin-right: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    vertical-align: middle;
}

.used-product-price-page {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(39, 174, 96, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid #27ae60;
}

.price-on-request-page {
    color: #27ae60;
    font-weight: 700;
    font-size: 28px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-whatsapp-product-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.btn-whatsapp-product-page:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-product-page:active {
    transform: translateY(0);
}

.btn-whatsapp-product-page i {
    font-size: 22px;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1200px) {
    .good__photo-block {
        grid-template-columns: 1fr;
    }
    
    .buy-block {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .good__title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .good__title .product-meta {
        font-size: 14px;
    }
    
    .product-gallery-wrapper {
        gap: 14px;
    }
    
    .product-slider {
        min-height: 0;
        aspect-ratio: 1 / 1;
        border-radius: 16px;
    }
    
    .product-slider__img {
        width: 100%;
        height: 100%;
    }
    
    .product-slider__arr.prev {
        left: 12px;
    }
    
    .product-slider__arr.next {
        right: 12px;
    }
    
    .product-thumbnails {
        display: flex;
        gap: 10px;
        padding: 12px;
        border-radius: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .product-thumbnail-item {
        flex: 0 0 82px;
        height: 82px;
        border-radius: 10px;
        scroll-snap-align: center;
    }
    
    .buy-block {
        padding: 20px 15px;
        min-height: auto;
        border-radius: 12px;
    }
    
    .price-value {
        font-size: 30px;
    }
    
    .buy-block__info {
        gap: 10px;
    }
    
    .buy-block__all-info {
        margin-top: 20px;
        font-size: 16px;
    }
    
    .buy-block__actions {
        margin-top: 20px;
        gap: 12px;
    }
    
    .product-cart-controls {
        border-radius: 10px;
    }
    
    .btn-cart-control {
        flex: 0 0 55px;
        height: 55px;
        font-size: 16px;
    }
    
    .cart-quantity-product {
        height: 55px;
        font-size: 18px;
    }
    
    .buy-block__buy-btn {
        padding: 15px;
        font-size: 15px;
    }
    
    .availability-badge-product {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .badge-used-product {
        font-size: 12px;
        padding: 3px 10px;
        margin-right: 8px;
    }
    
    .price-on-request-page {
        font-size: 22px;
    }
    
    .btn-whatsapp-product-page {
        padding: 14px 24px;
        font-size: 14px;
        max-width: 100%;
    }
    
    .btn-whatsapp-product-page i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .good__title {
        font-size: 20px;
    }
    
    .product-gallery-wrapper {
        gap: 12px;
    }
    
    .product-slider {
        border-radius: 14px;
        aspect-ratio: 1 / 1.05;
    }
    
    .product-slider__img {
        width: 100%;
        height: 100%;
    }
    
    .product-slider__arr.prev {
        left: 5px;
    }
    
    .product-slider__arr.next {
        right: 5px;
    }
    
    .product-thumbnails {
        gap: 8px;
        padding: 10px 12px;
    }
    
    .product-thumbnail-item {
        flex: 0 0 70px;
        height: 70px;
        border-radius: 8px;
    }
    
    .badge-used-product {
        font-size: 11px;
        padding: 2px 8px;
    }
    
    .price-on-request-page {
        font-size: 18px;
    }
    
    .btn-whatsapp-product-page {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .price-value {
        font-size: 24px;
    }
    
    .buy-block__item {
        font-size: 14px;
    }
}

/* ========== МОБИЛЬНЫЕ КАРТОЧКИ СОПУТСТВУЮЩИХ ТОВАРОВ ========== */

/* Показываем мобильные карточки и скрываем таблицу на мобильных */
@media (max-width: 768px) {
    .products-table .table-container {
        display: none;
    }
    
    .mobile-cards {
        display: block;
    }
}

/* ============================================ */
/* Стили для бейджика Б/У и связанных элементов */
/* ============================================ */

/* Стили для бейджика Б/У */
.badge-used {
    display: inline-block;
    background: linear-gradient(135deg, #ffdd2d 0%, #ffe664 100%);
    color: #171719;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(255, 221, 45, 0.3);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Убираем перенос строки между бейджиком и названием */
.col-name {
    white-space: nowrap;
    line-height: 1.2;
}

.col-name .product-link {
    display: inline;
    vertical-align: middle;
}

.col-name .badge-used {
    vertical-align: middle;
    margin-right: 6px;
}

/* Стили для "Цена по запросу" */
.price-on-request {
    color: #27ae60;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* Контейнер для цены б/у товара */
.used-product-price {
    text-align: center;
    padding: 10px;
}

/* Контейнер для кнопки WhatsApp */
.whatsapp-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2px;
}

/* Стили для кнопки WhatsApp в таблице */
.btn-whatsapp-product {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #25D366;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
    white-space: nowrap;
}

.btn-whatsapp-product:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-product:active {
    transform: translateY(0);
}

.btn-whatsapp-product i {
    font-size: 18px;
}

/* Стили для мобильных карточек - кнопка WhatsApp */
.mobile-card .btn-whatsapp-product {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 15px;
}

.mobile-card .badge-used {
    font-size: 11px;
    padding: 3px 8px;
}

/* Адаптивность для бейджика и кнопки WhatsApp */
@media (max-width: 768px) {
    .btn-whatsapp-product span {
        font-size: 10px;
    }
    
    .btn-whatsapp-product {
        padding: 6px 8px;
        font-size: 10px;
    }
    
    .badge-used {
        font-size: 11px;
        padding: 3px 8px;
        margin-right: 6px;
    }
    
    .whatsapp-button-container {
        justify-content: center;
        padding: 2px;
    }
    
    .used-product-price {
        padding: 5px;
    }
    
    tr[data-is-used="true"] .btn-whatsapp-product {
        padding: 5px 8px;
        font-size: 10px;
    }
}

/* Специальные стили для объединенных ячеек б/у товаров */
tr[data-is-used="true"] .col-wholesale {
    width: 25%;
}

tr[data-is-used="true"] .col-cart {
    width: 20%;
    text-align: center;
    padding: 2px;
}

/* Компактная кнопка WhatsApp для таблицы */
tr[data-is-used="true"] .btn-whatsapp-product {
    padding: 6px 10px;
    font-size: 11px;
    gap: 3px;
}

tr[data-is-used="true"] .btn-whatsapp-product i {
    font-size: 14px;
}

/* ============================================ */
/* Стили для подкатегорий */
/* ============================================ */

.subcategories-block {
    width: 100%;
    padding: 30px 0;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.subcategory-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
}

.subcategory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #ffdd2d;
}

.subcategory-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.subcategory-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.subcategory-card:hover .subcategory-image img {
    transform: scale(1.1);
}

.subcategory-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 23, 25, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subcategory-card:hover .subcategory-overlay {
    opacity: 1;
}

.subcategory-overlay i {
    font-size: 48px;
    color: #ffdd2d;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.subcategory-content {
    padding: 20px;
    text-align: center;
    background: #ffffff;
}

.subcategory-name {
    font-size: 18px;
    font-weight: 600;
    color: #171719;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.subcategory-card:hover .subcategory-name {
    color: #ffdd2d;
}

/* Адаптивность для подкатегорий */
@media (max-width: 768px) {
    .subcategories-block {
        padding: 20px 0;
    }
    
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        padding: 15px;
    }

    
    .subcategory-content {
        padding: 15px 10px;
    }
    
    .subcategory-name {
        font-size: 14px;
    }
    
    .subcategory-overlay i {
        font-size: 36px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

}

@media (min-width: 1025px) {
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* ============================================ */
/* Стили для tooltip изображений */
/* ============================================ */

.image-tooltip,
.image-tooltip-search {
    position: fixed;
    width: 150px;
    height: 150px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.image-tooltip-search {
    width: 250px;
    height: 250px;
}

.image-tooltip img,
.image-tooltip-search img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================ */
/* Стили для блока подтверждения заказа */
/* ============================================ */

#custom-confirm {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#custom-confirm * {
    pointer-events: auto !important;
}

#custom-confirm button,
#custom-confirm .btn,
#custom-confirm input[type=submit] {
    pointer-events: auto !important;
}


