img {
  max-width: 100%;
}

li {
  list-style: none;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

input:focus,
textarea:focus,
button:focus {
  outline: none;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('../fonts/suisseintl.eot');
  /* IE 9 Compatibility Mode */
  src: url('../fonts/suisseintl.eot?#iefix') format('embedded-opentype'), url('../fonts/suisseintl.woff2') format('woff2'), url('../fonts/suisseintl.woff') format('woff'), url('../fonts/suisseintl.ttf') format('truetype'), url('../fonts/suisseintl.svg#suisseintl') format('svg');
  /* Chrome < 4, Legacy iOS */
}

body {
  color: #333;
  font: normal 14px "SuisseIntl", Arial, serif;
}

.container {
  max-width: 1440px;
  width: 100%;
}

.header__inner {
  display: grid;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #E6E6EF;
}

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

.header__menu-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.header__catalog-button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #E6E6EF;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.header__search {
  width: 50%;
  position: relative;
  display: table;
  border-collapse: separate;
}

.header__search input {
  border-radius: 5px 0 0 5px;
}

.header__search button {
  border: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo a {
  font-style: italic;
  font-size: 24px;
  color: #1A1A1A;
  font-weight: 800;
  transition: 0.2s;
}

.logo a:hover {
  color: #113EE0;
}

.shop-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.shop-buttons__item {
  position: relative;
  width: -webkit-fill-available;
  box-shadow: none !important;
}

.shop-buttons__item>span {
  background: #fff;
  border-radius: 50px;
  padding: 5px;
  position: absolute;
  top: -20px;
  width: max-content;
  color: #1E88E5;
}

.shop-buttons__item img {
  width: 25px;
  cursor: pointer;
}

.banner-callback__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 350px;
}

.banner-callback__inner>div {
  height: 100%;
}

.banner-callback__slider {
  overflow: hidden;
  width: 70%;
  position: relative;
  border: 1px solid #E6E6EF;
  border-radius: 5px;
  padding: 40px 0;
}

.form-wrapper {
  display: grid;
  gap: 20px;
  line-height: normal;
  padding: 40px 40px;
  border: 1px solid #E6E6EF;
  background: #fff;
  border-radius: 5px;
  position: relative;
}

.form-wrapper form {
  display: grid;
  gap: 10px;
  font-size: 16px;
}

.form-wrapper form input:focus {
  border-color: #e7ebf0;
  background: #e7ebf0;
}

.form-wrapper form input {
  padding: 0 15px;
  width: 100%;
  height: 56px;
  position: relative;
  line-height: 1;
  border: 1px solid #F4F4F8;
  color: #1A1A1A;
  background: #F4F4F8;
}

.form-wrapper .form__exit {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 16px;
  transition: 0.5s;
  cursor: pointer;
}

.form-wrapper .form__exit:hover {
  transform: rotate(180deg);
}

.form-wrapper .form__title {
  display: block;
  text-align: center;
  font-size: 24px;
}

.btn {
  padding: 19px 15px;
  height: auto;
  min-width: 120px;
  display: inline-block;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
  line-height: 1;
  color: #fff;
  background: #2858FF;
  border: 2px solid #2858FF;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  text-decoration: none;
  color: #fff;
  background: #113EE0;
  border-color: #113EE0;
}

.btn--glare {
  overflow: hidden;
  position: relative;
}

.btn--glare:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, color-stop(10%, rgba(255, 255, 255, 0.1)), color-stop(20%, rgba(255, 255, 255, 0.2)), to(rgba(255, 255, 255, 0.6)));
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 10%, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.6));
  width: 20px;
  -webkit-transform: skewX(-45deg);
  transform: skewX(-45deg);
  left: -20%;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
  -webkit-animation-name: blick;
  animation-name: blick;
  -webkit-animation-duration: 6s;
  animation-duration: 6s;
  -webkit-animation-delay: 0.05s;
  animation-delay: 0.05s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes blick {
  0% {
    left: -30px;
    margin-left: 0px;
  }

  30% {
    left: 110%;
    margin-left: 80px;
  }

  100% {
    left: 110%;
    margin-left: 80px;
  }
}

.carousel .swiper-wrapper {
  align-items: center;
}

.carousel img {
  width: 80%;
  height: auto;
}

.categories * {
  transition: 0.2s;
}

.categories__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.categories__item {
  width: 23%;
  padding: 40px 40px;
  border: 1px solid #E6E6EF;
  padding: 20px;
  border-radius: 5px;
}

.categories__item a {
  display: flex;
  align-items: center;
  gap: 20px;
}

.categories__item:hover img {
  transform: scale(1.2);
}

.categories__item-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.categories__item-image img {
  height: auto;
  width: 60px;
}

.live-search {
  margin: 0 !important;
}

main {
  padding: 40px 0;
}

.page--home {
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.link--underline {
  position: relative;
  cursor: pointer;
  line-height: 1;
  /*задаём высоту строки*/
  text-decoration: none;
  /*убираем подчёркивание*/
}

.link--underline:after {
  display: block;
  position: absolute;
  left: 0;
  /*изменить на right:0;, чтобы изменить направление подчёркивания */
  width: 0;
  /*задаём длинну линии до наведения курсора*/
  height: 2px;
  /*задаём ширину линии*/
  background-color: #2858FF;
  content: "";
  /*задаём цвет линии*/
  transition: width 0.3s ease-out;
  /*задаём время анимации*/
}

.link--underline:hover:after,
.link--underline:focus:after {
  width: 50%;
  /*устанавливаем значение 100% чтобы ссылка подчёркивалась полностью*/
}

/* START: МЕНЮ КАТАЛОГ (Тип v1, как в DAICHI ) */
/* ---------- Базовые стили каталога ---------- */
.header__catalog {
  position: relative;
}

.header__catalog-button {
  cursor: pointer;
  display: flex;
  align-items: center;
  /* добавьте свои стили для кнопки */
}

.header__catalog-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: none;
  /* скрыто по умолчанию */
  min-width: 220px;
}

.header__catalog:hover .header__catalog-list {
  display: block;
}

/* ---------- Общие стили для уровней меню ---------- */
.menu__level {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu__level-1 {
  position: relative;
}

.menu__item {
  display: flex;
  align-items: center;
  position: relative;
  /* для позиционирования подменю */
}

.menu__link {
  flex: 1;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.menu__link:hover {
  background-color: #f5f5f5;
}

/* Стрелка (индикатор наличия подменю) на десктопе */
.menu__toggle-submenu {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  /* не кликабельна на десктопе */
  pointer-events: none;
  /* клики проходят сквозь */
}

/* ---------- Подменю (вложенные списки) на десктопе ---------- */
.menu__level ul {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.menu__level li:hover>ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---------- Мобильная версия (≤ 768px) ---------- */
@media (max-width: 768px) {
  .header__catalog-list {
    position: static;
    /* открепляем от кнопки */
    display: none;
    /* управляем через класс .open */
    box-shadow: none;
    width: 100%;
  }

  .header__catalog.open .header__catalog-list {
    display: block;
  }

  .menu__level {
    width: 100%;
  }

  .menu__level ul {
    position: static;
    /* убираем абсолютное позиционирование */
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transition: none;
    pointer-events: auto;
    display: none;
    /* скрыты до открытия */
    padding-left: 20px;
    /* визуальная вложенность */
  }

  .menu__item {
    flex-wrap: wrap;
    /* чтобы подменю переносилось на новую строку */
  }

  .menu__link {
    white-space: normal;
    /* перенос текста */
    /* flex: 1 1 auto; */
  }

  .menu__toggle-submenu {
    pointer-events: auto;
    /* на мобильных стрелка кликабельна */
    cursor: pointer;
    position: static;
    margin-left: auto;
    /* прижимаем вправо */
    transform: none;
    /* сбрасываем центрирование */
    transition: transform 0.2s;
  }

  /* Поворот стрелки при открытом подменю */
  .menu__item.open>.menu__toggle-submenu {
    transform: rotate(90deg);
  }

  .menu__item.open>ul {
    display: block;
    flex: 0 0 100%;
    /* подменю занимает всю ширину */
  }

  /* Отключаем hover-эффекты на мобильных */
  .menu__level li:hover>ul {
    opacity: 1;
    visibility: visible;
  }
}

/* END: МЕНЮ КАТАЛОГ */

.burger {
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
}

.burger::before,
.burger::after {
  content: '';
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #2858FF;
}

.burger::before {
  top: 0;
  box-shadow: 0 11px 0 #2858FF;
  transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
}

.burger::after {
  bottom: 0;
  transition: bottom 0.3s 0.15s, transform 0.3s;
}

.burger.active::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
}

.burger.active::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom 0.3s, transform 0.3s 0.15s;
}

.banner img {
  margin: 0 auto;
  transition: 0.2s;
  height: 480px;
}

.banner img:hover {
  transform: scale(1.2);
}

.btn--popup {
  cursor: pointer;
}

.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  top: -100%;
  z-index: 2;
  transition: 0.3s;
}

.popup.active {
  top: 0;
  opacity: 1;
  z-index: 4;
  background: rgba(0, 0, 0, 0.7);
}

footer {
  background: #fff;
  border-top: 1px solid #E6E6EF;
  margin: 0;
  padding: 30px 0;
}

footer a {
  color: #1A1A1A;
}

.footer {
  padding: 40px 0;
  margin: 0;
}

.footer__list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer__list a {
  color: #113EE0;
}

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

.footer__item--contacts .footer__subitem {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer__item--contacts span {
  color: #333;
  display: block;
}

.footer__item--contacts p {
  font-size: 16px;
  color: #113EE0;
  display: block;
}

.footer__title {
  font-size: 24px;
  line-height: 1;
  color: #1A1A1A;
}

.footer__sublist {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__subitem a {
  line-height: 1;
}

.how-order__list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.how-order__item {
  display: grid;
  gap: 10px;
  text-align: center;
}

.how-order__item--green .how-order__image {
  background: #E1FFDB;
}

.how-order__image {
  background: #EEF9FF;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 20px;
  border-radius: 100%;
  border: 1px solid #E6E6EF;
}

.how-order__image img {
  width: 60px;
}

.how-order__text {
  color: #969793;
  max-width: 210px;
}

.write {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
}

.write__inner {
  text-align: center;
  width: 250px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  font-size: 16px;
  color: #fff;
}

.write__inner img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  z-index: -1;
}

.write__inner a {
  color: #113EE0;
}

.block {
  display: grid;
  gap: 20px;
}

.block h2 {
  margin: 0;
}

.block__content {
  line-height: 2;
}

.bestseller__inner {
  /* display: grid; */
  gap: 20px;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
  border: 1px solid #E6E6EF;
}

.header__menu--mobile {
  display: none;
}

.swiper-button-prev:before {
  display: none;
}

@media (max-width: 768px) {
  .header__catalog-button__text {
    display: none;
  }

  .header__bottom {
    flex-wrap: wrap;
    gap: 20px 0;
  }

  .header__buttons-callback {
    display: none;
  }

  .header__search {
    order: 3;
    width: 100%;
  }



  .header__menu--desktop {
    display: none;
  }

  .header__menu--mobile {
    display: block;
    width: 100%;
    border-top: 1px solid #E6E6EF;
    padding-top: 20px;
  }

  .banner-callback__inner {
    display: grid;
    gap: 20px;
    height: auto;
  }

  .banner-callback__slider {
    width: 100%;
    padding: 20px 0;
  }

  .categories__item {
    width: 47%;
    padding: 10px;
  }

  .categories__item-image {
    width: 30px;
    height: 30px;
  }

  .categories__item-image img {
    width: 30px;
  }

  .container {
    padding: 0 20px;
  }

  .banner img {
    height: auto;
  }

  .how-order__list {
    justify-content: center;
    gap: 20px;
  }

  .write {
    padding: 20px 0;
  }
}





/* ========== ОСНОВНЫЕ СТИЛИ ========== */
.product-card .product-info {
  padding: 16px;
}

.product-card .product-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-card .product-name a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.product-card .product-name a:hover {
  color: #4caf50;
}

.product-card .product-price {
  font-size: 16px;
  color: #e53935;
  margin-bottom: 4px;
}

.product-card .price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-left: 8px;
}

.product-card .price-new {
  font-weight: bold;
  color: #e53935;
}

.product-card .install-price {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.product-card .attributes {
  font-size: 14px;
  margin-bottom: 12px;
  color: #666;
  line-height: 1.4;
}

.product-card .buttons {
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.product-card:hover .buttons {
  opacity: 1;
  transform: translateY(0);
}

.product-card .buy {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  background-color: #4caf50;
  color: white;
  transition: all 0.3s;
  font-weight: 500;
}

.product-card .buy:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.product-card .buy:active {
  transform: translateY(0);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  color: #666;
}

.icon-button:hover {
  background-color: #ddd;
  transform: translateY(-2px);
}

.icon-button:active {
  transform: translateY(0);
}

.icon-button.bookmark {
  color: #2196f3;
}

.icon-button.bookmark:hover {
  background-color: #e3f2fd;
  color: #1976d2;
}

.icon-button.compare {
  color: #ff9800;
}

.icon-button.compare:hover {
  background-color: #fff3e0;
  color: #f57c00;
}

/* ========== СТИЛИ ДЛЯ СЕТКИ (GRID) ========== */
.products.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 10px;
}

.products.product-grid .product-card {
  width: calc(33.3% - 10px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.products.product-grid .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.products.product-grid .product-card .product-image {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.products.product-grid .product-card .product-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.products.product-grid .product-card:hover .product-image img {
  transform: scale(1.05);
}

.products.product-grid .product-card .product-info {
  padding: 16px;
}

/* Слайдер изображений */
.image-slider {
  position: relative;
  overflow: hidden;
}

.image-slider img {
  width: 100%;
  height: auto;
  display: none;
}

.image-slider img.active {
  display: block;
}

/* .slider-bars {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 20px;
}

.slider-bars span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-bars span.active {
  background: #fff;
  transform: scale(1.2);
} */

.slider-bars {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  gap: 4px;
}

.slider-bars span {
  flex: 1;
  height: 3px;
  background: #23a0d168;
}

.slider-bars span.active {
  background: #113EE0;
}

/* ========== СТИЛИ ДЛЯ СПИСКА (LIST) ========== */
.products.product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.products.product-list .product-card {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 20px;
  transition: all 0.3s ease;
}

.products.product-list .product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateX(5px);
}

.products.product-list .product-card .product-image {
  /* width: 200px; */
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  background: #fff;
}

.products.product-list .product-card .product-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
  max-height: 300px;
}

.products.product-list .product-card:hover .product-image img {
  transform: scale(1.05);
}

.products.product-list .product-card .product-info {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.products.product-list .product-card .product-name {
  font-size: 20px;
  margin-bottom: 12px;
}

.products.product-list .product-card .product-price {
  font-size: 20px;
  margin-bottom: 8px;
}

.products.product-list .product-card .install-price {
  font-size: 15px;
  margin-bottom: 12px;
}

.products.product-list .product-card .attributes {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.products.product-list .product-card .buttons {
  opacity: 1;
  transform: translateY(0);
  margin-top: auto;
  max-width: 300px;
}

/* ========== АДАПТИВНОСТЬ ========== */
/* Планшеты и ноутбуки */
@media screen and (max-width: 992px) {
  .products.product-grid .product-card {
    width: calc(50% - 10px);
  }

  .products.product-list .product-card .buttons {
    max-width: 250px;
  }
}

/* Мобильные устройства */
@media screen and (max-width: 768px) {
  .product-card .buttons {
    opacity: 1;
    transform: translateY(0);
  }

  /* Сетка на мобильных */
  .products.product-grid {
    justify-content: center;
    gap: 20px 10px;
  }

  .products.product-grid .product-card {
    width: calc(50% - 10px);
  }

  /* Список на мобильных */
  .products.product-list .product-card {
    flex-direction: column;
    padding: 16px;
  }

  .products.product-list .product-card .product-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .products.product-list .product-card .product-image img {
    max-height: 250px;
    object-fit: cover;
  }

  .products.product-list .product-card .product-name {
    font-size: 18px;
  }

  .products.product-list .product-card .product-price {
    font-size: 18px;
  }

  .products.product-list .product-card .buttons {
    max-width: 100%;
  }

  .icon-button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Маленькие мобильные устройства */
@media screen and (max-width: 576px) {
  .products.product-grid .product-card {
    width: 100%;
  }

  .products.product-list .product-card {
    padding: 12px;
  }

  .product-card .product-info {
    padding: 12px;
  }

  .product-card .buttons {
    gap: 8px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .product-card .buy {
    padding: 8px;
    font-size: 13px;
  }
}

/* Кнопки переключения вида (если нужно добавить стили) */
.display-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.display-buttons button {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  color: #666;
  font-size: 18px;
}

.display-buttons button:hover {
  background: #f5f5f5;
  border-color: #4caf50;
  color: #4caf50;
}

.display-buttons button.active {
  background: #4caf50;
  border-color: #4caf50;
  color: #fff;
}

/* Дополнительные улучшения */
.product-card {
  position: relative;
}

/* Анимация для загрузки */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.5s ease forwards;
}



.category-chilren li img {
  /* width: 100px; */
}

.category-chilren li {
  /* display: flex;
  align-items: center;
  gap: 10px; */
}

.category-chilren {}

/* Стили для контейнера уведомлений */
#notifications {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
  pointer-events: none;
}

/* Стили для отдельных уведомлений */
.notification-item {
  pointer-events: auto;
  margin: 0;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  /* Начальное состояние для анимации появления */
  transform: translateX(100%);
  opacity: 0;

  /* Анимация появления */
  animation: slideIn 0.3s ease forwards;

  position: relative;
  overflow: hidden;
}

/* Анимация появления */
@keyframes slideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Класс для анимации исчезновения - с высоким приоритетом */
.notification-item.fade-out {
  animation: slideOut 0.3s ease forwards !important;
  pointer-events: none;
  /* Чтобы нельзя было кликнуть во время исчезновения */
}

/* Анимация исчезновения */
@keyframes slideOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Прогресс-бар для авто-скрытия */
.notification-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  animation: progress 5s linear forwards;
}

/* Останавливаем анимацию прогресс-бара при исчезновении */
.notification-item.fade-out::after {
  animation-play-state: paused;
}

@keyframes progress {
  0% {
    width: 100%;
  }

  100% {
    width: 0%;
  }
}

/* Типы уведомлений */
.notification-item.alert-success {
  background-color: #4caf50;
  color: white;
  border: none;
}

.notification-item.alert-danger {
  background-color: #f44336;
  color: white;
  border: none;
}

.notification-item.alert-info {
  background-color: #2196f3;
  color: white;
  border: none;
}

.notification-item.alert-warning {
  background-color: #ff9800;
  color: white;
  border: none;
}

/* Кнопка закрытия */
.notification-item .close {
  color: white;
  opacity: 0.8;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 20px;
  float: right;
  margin-left: 10px;
  line-height: 1;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.notification-item .close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
}

.notification-item a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.notification-item a {
  color: #fff;
  border-bottom: 1px solid;
  transition: .2s;
}