.static-page-content {
  margin: 4rem 0
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 10;

}

header.fixed {
  box-shadow: 0 10px 60px 0 rgba(0, 0, 0, 0.06);
}

.header__wrapper.fixed {
  padding-top: 0;
  padding-bottom: 1.1rem;

}

main {
  padding-top: 12rem;
}

.header__wrapper {
  position: relative;
  width: 100%;
  max-width: 1588px;
  margin: 0 auto;
  padding: 2rem 0;


}

/* Стили для верхней линии */
.top-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 1.6rem;
}

.contact-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.phone-link {
  color: #2C2C2C;
  text-decoration: none;
  margin-right: 20px;
}

.map-link {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.map-link svg {
  margin-right: 5px;
}

.top-menu {
  display: flex;
  gap: 3rem;
}

.top-menu a {
  color: #2C2C2C;
  text-decoration: none;
}

/* Стили для второй линии */
.second-line {
  height: 5.3rem;
  display: flex;
  gap: 11rem;
  align-items: center;
  padding: 1rem 0;
  margin-top: 1rem;
}

//.mobile-line {
//  display: none;
//}


.header-logo {
  width: fit-content;

}

.logo-img {
  width: 19.5rem;
  height: 4.7rem;

}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__search {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  align-items: center;
  flex-grow: 1;
}


.catalog-btn {
  font-size: 1.8rem;
  color: #2C2C2C;
  border: 2px solid #2C2C2C;
  padding: 1.2rem 1.6rem 1.2rem 1.6rem;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;

}

//.catalog-btn:hover {
//  background: #2C2C2C;
//  color: #FFFFFF;
//}

.catalog-lines {
  display: flex;
  flex-direction: column;
  margin-right: 5px;
}

.catalog-lines span {
  display: block;
  background-color: black;
  height: 2px;
  margin-bottom: 5px;
}

.catalog-btn:hover {
  background-color: #6B778A12;
}


.catalog-lines span:first-child {
  width: 1.9rem;
}

.catalog-lines span:last-child {
  width: 1.1rem;
  margin-bottom: 0;
}

.search, .search-mobile {
  position: relative;
  height: 5.3rem;
  border-radius: 1rem;
  flex-grow: 2;

}

.search input[type="text"], .search-mobile input[type="text"] {
  font-size: 1.8rem;
  height: 100%;
  background-color: #6B778A12;
  padding: 0 2rem;
  border-color: transparent;
  width: 100%;
  border-radius: 1rem;


}

.search .form-control:focus {
  border-color: rgba(255, 38, 77, 0.6) !important;
  box-shadow: 0 0 0 .5rem rgb(255 38 77 / 15%);
  background-color: white !important;
}

//.form-floating .header__search-input:focus{
//  border-color: #2c2c2c !important;
//  background-color:white !important;
//  box-shadow: 0 0 0 .5rem rgba(44, 44, 44, 0.25);
//}
//.form-floating .header__search-input:focus~label{
//  color:#2c2c2c!important;
//}
.catalog-btn {
  transition: all ease .2s;
}

.catalog-btn:active {
  transform: scale(.9);
}

.catalog-btn.active {
  border-width: 2px;
  background: #2c2c2c;
  color: white;
  box-shadow: 0 0 0 .5rem rgba(44, 44, 44, 0.25);
}

.catalog-btn.active .catalog-lines span {
  background-color: white;
}

.catalog-btn.active:hover .catalog-lines span {
  background-color: white;
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-55%);
  width: 2.5rem;
  height: 2.5rem;
  fill: #999;
  pointer-events: none;
  z-index: 2;
}

.search .form-control:focus
.user-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 1rem;

}

.header-right {
  gap: 2rem;
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 10px;
}

.icon-link {
  position: relative;
  display: inline-block;
}

.cart-count {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  right: -8px;
  background: #FF264D;
  color: white;
  border-radius: 50%;
  padding: 2px 4px;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper-cart-count2 {
  color: #6B778A;
  font-weight: 500;
}


/* Адаптивные стили (для мобильных устройств) */
@media (max-width: 768px) {
  .product-image-wrapper {
    height: 62vw !important;
  }

  .product_list_wrapper {
    gap: 15px 6px !important;
  }

  .section-category-page {
    padding-top: 56px;
  }

  .cart-count {
    top: 10px;
    font-size: 1.5rem;
  }

  .catalog-btn {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
  }

  .second-line {
    position: relative;
    height: auto;
  }

  .top-menu {
    display: none; /* Скрываем верхнее меню на мобильных */
  }

  .search {
    display: none;
  }

  .mobile-line {
    display: flex;
  }

  .search input[type="text"] {

  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-btn {
    margin-right: 0;
  }

  .header-right {
    display: none;
  }


}


//@media (min-width: 769px) {
//  .burger-menu.mobile-only {
//    display: none; /* Гарантируем, что бургер скрыт на десктопе */
//  }
//  .side-menu {
//    display: none; /* Скрываем боковое меню на десктопе */
//  }
//}


.hover-underline {
  font-size: 1.6rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.hover-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #e31e24, #6B778A12);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-out;
}


.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}


.burger-menu {
  top: 2rem;
  left: 3rem;
  width: 40px;
  height: 50px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 100;
  padding: 1rem;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: #222;
  transition: all 0.4s ease;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: white;
  transform: translateX(-100%);
  transition: all 0.8s cubic-bezier(.785, .135, .15, .86);
  z-index: 90;
  padding: 80px 40px;

}

.menu-content ul {
  list-style: none;
}

.menu-content li a {
  width: fit-content;
  color: black;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem 0;
  position: relative;
}

.menu-content li a {
  color: black;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem 0;
  position: relative;
  display: block;
  opacity: 0;
  transform: translateY(-20px);
  transition: transform 0.6s cubic-bezier(.785, .135, .15, .86), opacity 0.6s cubic-bezier(.785, .135, .15, .86);
}

.cart-empty {
  font-size: 4.8rem;
  font-weight: 600;
  color: #d3d3d3;
}

/* Добавляем класс для отображения пунктов меню */
body.menu-open .menu-content li a {
  opacity: 1;
  transform: translateY(0);
}

.menu-content li:nth-child(1) a {
  transition-delay: 0.1s;
}

.menu-content li:nth-child(2) a {
  transition-delay: 0.2s;
}

.menu-content li:nth-child(3) a {
  transition-delay: 0.3s;
}

.menu-content li:nth-child(4) a {
  transition-delay: 0.4s;
}

.menu-content li:nth-child(5) a {
  transition-delay: 0.5s;
}

.menu-content li:nth-child(6) a {
  transition-delay: 0.6s;
}

.menu-content li:nth-child(7) a {
  transition-delay: 0.7s;
}

.menu-content li:nth-child(8) a {
  transition-delay: 0.9s;
}

.success, .error, .info {
  font-size: 16px !important;
}

.info {
  background: #737373 !important;
}


/* Active states */
.menu-open .burger-line:nth-child(1) {
  transform: translateY(2px) rotate(45deg);
}

.menu-open .burger-line:nth-child(2) {
  opacity: 0;
}

.menu-open .burger-line:nth-child(3) {
  transform: translateY(-14px) rotate(-45deg);
}

.menu-open .side-menu {
  transform: translateX(0);
}

.menu-open .menu-content li p {
  transform: translateY(0);
}


.burger-menu.right {
  left: auto;
  right: 20px;
}

.side-menu.right {
  left: auto;
  right: 0;
  transform: translateX(100%);
  border-right: none;

}

.menu-open .side-menu.right {
  transform: translateX(0);
}


/*footer*/
footer {
  background: #6B778A0D;
}

.footer__wrapper {
  width: 100%;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8rem;
  padding: 7rem 0 5rem 0;

  margin: 0 auto;
  // padding: 6rem 1.5rem 2rem 1.5rem;
}

.footer-menu {
  display: flex;

}

.footer-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-column li {
  margin-right: 8rem;

}

.footer-column a {
  text-decoration: none;
  color: #2C2C2C;
  font-size: 2rem;

}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2.5rem;
  text-decoration: none;
}

.footer-contacts a {
  text-decoration: none;
}

.footer-phone {
  font-size: 3.2rem;
  font-weight: 500;
  color: #2C2C2C;

}

.social-links {
  display: flex;
  gap: 10px;
}


.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1588px;
  margin: 0 auto;

}

.copyright {
  display: flex;
  gap: 3rem;
  align-items: center;


}

.copyright a {
  text-decoration: none;
  color: #2C2C2C;

}

.copyright p {
  font-size: 16px;
}

.developer {
  font-size: 16px;
}


/* Адаптивность */
@media (max-width: 1200px) {


  .footer-menu {
    gap: 40px;
  }
}

@media (max-width: 992px) {


  .footer-content {
    flex-direction: column;
  }

  .footer-menu {
    flex-wrap: wrap;
  }

  .footer-contacts {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {


  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .copyright {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .section-about {
    padding-top: 5rem;
  }

  .wrapper-static-page {
    padding-top: 5rem;
  }

  .footer-menu {
    flex-direction: column;
    gap: 2rem;
  }
}


/*catalog*/


.category__wrapper-title {
  display: flex;
  width: fit-content;
  gap: 2rem;
  align-items: top;
  line-height: 3;
  height: fit-content;
}

.item-count {
  color: #6B778A; line-height:2rem;
  display: flex;
  align-items: center;
}

.category__filter-button {
  border: 2px solid #2C2C2C;
  border-radius: 10px;
  padding: 1.3rem 2.6rem 1.5rem 2.6rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}


.category__filter-button:hover {
  background-color: #2C2C2C;
  color: #fff;
}

.category__filter-button:hover svg path {
  fill: #fff;
}

.category__filter-button:hover {
  border-color: #2C2C2C;
}

.section-category-page__wrapper {
  margin: 0 auto;
}

.header-filter-appearence {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.pagination-show-more.active {
  background: #a1a4a9;
  border: 2px solid #a1a4a9;
  color: white;
}

.show-how-match-and-view {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  align-items: center;
  font-family: Pretendard;
  font-size: 1.8rem;
}

.category__quantity-button, .view-button {
  border: none;
  background: none;
  font-family: Pretendard;
  font-size: 1.8rem;
}

.pagination-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  gap: 2rem;
  max-width: 35.8rem;
  margin: 0 auto;
}

.show-more {
  font-size: 1.8rem;
  color: #2C2C2C;
  cursor: pointer;
  border: 2px solid #2C2C2C;
  border-radius: 10px;
  transition: all 0.2s;
  padding: 1.3rem 2.6rem 1.5rem 2.6rem;
  background: none;
}

.show-more:hover {
  background-color: #2C2C2C;
  color: #fff;
  border-color: #2C2C2C;
}

.pagination-show-more:hover {
  background: #D3D7DC;

}

.page-numbers {
  display: flex;
  gap: 1rem;
  font-size: 1.8rem;
  color: #2C2C2C;
  background: none;
}

.pagination-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 1.8rem;
  color: #2C2C2C;
  cursor: pointer;
  border: 2px solid #D3D7DC;
  border-radius: 15px;
  transition: all 0.2s;
  padding: 0.8rem 1rem 0.9rem 1rem;
  background: none;
}


.product-category img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-listing {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-bottom: 12rem;
}

.category_name {
  color: #2C2C2C;
  font-size: 2rem;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.product_list_wrapper {
  margin: 4rem auto;
  display: grid;
  gap: 20px;
}

/* Очень большие экраны (больше 1400px) */
@media (min-width: 1400px) {
  .product_list_wrapper {
    grid-template-columns: repeat(4, 1fr); /* 5 колонок */
  }
}

/* Большие экраны (от 1200px до 1400px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .product_list_wrapper {
    grid-template-columns: repeat(3, 1fr); /* 4 колонки */
  }
}

/* Средние экраны (от 992px до 1200px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .product_list_wrapper {
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  }
}

/* Маленькие экраны (от 768px до 992px) */
@media (min-width: 768px) and (max-width: 991px) {
  .product_list_wrapper {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
  }
}

/* Очень маленькие экраны (меньше 768px) */
@media (max-width: 767px) {
  .product_list_wrapper {
    grid-template-columns:1fr 1fr; /* 1 колонка */
  }
}


@media (max-width: 992px) {
  .product-listing {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-listing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {

  .product-listing {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
  }
}

.view-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin: 0 5px;
}

/* Стили для вида списком */
.product_list_wrapper.list-view {
  display: flex;
  flex-direction: column;
  gap: 2rem;

}

.product_list_wrapper.list-view .product-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  padding: 1rem;
  border: 1px solid #D3D7DC;
  border-radius: 10px;
  background: #fff;

}

.product_list_wrapper.list-view .product-image-wrapper {
  width: 17rem;
  height: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product_list_wrapper .list-view .product-card__image img {

}

.product_list_wrapper .list-view .product-card__info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product_list_wrapper .list-view .product-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #2C2C2C;
  margin: 0;
}

.product_list_wrapper .list-view .product-card__code {
  font-size: 14px;
  color: #6B778A;
  margin: 0;
}

.product_list_wrapper .list-view .product-card__size {
  font-size: 14px;
  color: #2C2C2C;
  margin: 0;
}

.product_list_wrapper .list-view .product-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.product_list_wrapper .list-view .product-card__price {
  font-size: 18px;
  font-weight: 600;
  color: #2C2C2C;
}

.product_list_wrapper .list-view .product-card__remove {
  color: #6B778A;
  font-size: 14px;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.product_list_wrapper .list-view .product-card__remove:hover {
  color: #2C2C2C;
}

/*новинки*/


//.new-arrivals-section {
//  margin-left: 166px;
//}

@media (max-width: 1450px) {
  .new-arrivals-section {
    margin-left: 0;
  }
}


.new-arrivals-slider {
  position: relative;

}

//@media (max-width: 1450px) {
//  .new-arrivals-slider {
//    margin-left: 2rem;
//
//  }
//}

.product-card {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  /*box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);*/
  transition: transform 0.3s ease;
  cursor: pointer;

}

//.product-card:hover {
//  transform: translateY(-5px);
//}

.product-image-wrapper {
  display: block;
  border-radius: 10px 10px 10px 10px;
  /*width: 23.875rem; !* 382px / 16px *!*/
  height: 51.6rem;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 10px 10px;
  transition: all ease .2s;

}

.product__wrapper-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.product-badge {
  width: 52px;
  height: 52px;

}


.product-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  //max-height: 12rem;
}

.product-price {
  align-items: center;
  margin-bottom: 0.9375rem;
  font-size: 1.5rem;
}

.current-price {
  font-weight: 600;
  font-size: 1.5rem;
}


.product-name {
  color: #2C2C2C;
  font-size: 2rem;
  margin-bottom: 15px;
  line-height: 1.35;
  font-weight: 400;
  height: fit-content;
}

.product-info-name-option {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100%; /*  Занимает всю доступную высоту */
}

.color-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  width: 100%;
  height: fit-content;
}

.color-option {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;

  border-radius: 50%;
  position: relative;

}

.color-option.active {
  border: 1px solid #2C2C2C;
  width: 1.6rem;
  height: 1.6rem;
}

.product-color {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;

}


/* Стили Swiper Navigation */

.new-arrivals-header {
  max-width: 1588px;
  display: flex;
  justify-content: space-between;
}

.swiper-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title {
  font-size: 2rem; /*  32px / 16px */
  font-weight: 600;
  margin-bottom: 0; /*  Убираем отступ у заголовка */
}

.swiper-but-prev,
.swiper-but-next {
  width: 5rem;
  height: 1.25rem;
  background: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  //z-index: 10;
  transition: color 0.3s ease;
  position: relative;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  content: none;
}

.swiper-button-disabled {
  opacity: 0.5;
  cursor: pointer;
  pointer-events: none;
  color: #888;
}

.swiper-button-active {
  color: #000;
}

/* Стили для SVG, чтобы цвет наследовался */
.swiper-button-prev svg,
.swiper-button-next svg {
  fill: currentColor;
}


/*sale*/


.product-card {
  position: relative;
}

.about-sale {
  max-width: 1588px;
  margin: 3rem auto;
}

.product-image-wrapper {
  position: relative;

}

.products-grid-sale {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}


.current-price {
  font-size: 24px;
  font-weight: 600;
}

.old-price {
  font-size: 16px;
  color: #98A0AE;
  text-decoration: line-through;
}

.discount-badge {
  padding: 4px 8px;
  border: 1px solid #FF264D;
  border-radius: 10px;
  color: #FF264D;
  font-weight: 700;
  font-size: 14px;
}


.show-more-button {
  color: #2C2C2C;
  text-decoration: none;
  font-size: 1.8rem;
  width: fit-content;
  height: auto;
  background: white;
  border: 1px solid black;
  padding: 1.3rem 2.6rem 1.5rem 2.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.show-more-button:hover {
  background-color: #2C2C2C;
  color: #fff;
  border-color: #2C2C2C;
}

.show-more-button:hover svg {
  stroke: #fff;
}

.show-more-button svg {
  margin-left: 1rem;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}


/* Адаптивность  */
@media (max-width: 900px) {
  .products-grid-sale {
    grid-template-columns: repeat(2, 1fr);
  }
}


/*product*/


.section-product-page__wrapper-product-photos {
  height: 638px;
  display: flex;
}

.section-product-page__product-photos {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row; /* Главное направление - горизонтальное */
  gap: 2rem;
}

/* Стили для слайдера миниатюр  */
.product {
  width: 100px !important;
  height: 100%;

}

.product .swiper-wrapper {
  flex-direction: column; /* Вертикальное расположение миниатюр */
  padding: 0px;
  user-select: none;
}

.product .swiper-slide {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  opacity: 0.4;
  cursor: pointer;
  padding-top: 0;
  user-select: none;
}


.product .swiper-slide-thumb-active {
  opacity: 1;

}

.product .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

/* Стили для главного слайдера  */
.product2 {
  width: 56rem;
  height: 100%;
}

.product2 .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
}

/* Навигационные кнопки */
.swiper-button-next,
.swiper-button-prev {
  width: 6rem;
  height: 3.6rem;
  color: #000;
  background: #FFFFFF;
  border-radius: 15px 15px 0 0;

}

.swiper-button-next:after,
.swiper-button-prev:after {

}

.swiper-button-next, .swiper-button-prev {
  position: absolute;
  bottom: 0px;
  right: 20%;
}


.section-product-page__wrapper {
  display: flex;
  gap: 1.5rem;

}

.section-product-page__wrapper-product-photos {
  width: 64rem;
  height: 63.8rem;

}

.section-product-page__left {
  width: 51.6rem;
  height: auto;
}

.section-product-page__right {
  width: 38.2rem;
  height: auto;

}

.section-product-page__wrapper-right {
  width: 100%;
}


/* Основные стили блока */
.section-product-page__wrapper-left {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 40rem;

}

/* Заголовок товара */
.section-product-page__wrapper-left h1 {
  font-size: 3.2rem;
  margin: 1rem 0;

}

/* Блок с информацией о модели */
.info-model {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.info-model span:first-child {
  color: #6B778A;
  padding-right: 1rem;
  font-size: 1.8rem;
}


/* Блок с выбором цвета */
.color-product {
  margin-top: 3rem;
}


.current-color, .current-size {
  display: flex;
  gap: 1rem;
  font-size: 1.8rem;
  margin: 1rem 0;
}

.current-color > span:first-child, .current-size > span:first-child {
  color: #6B778A;
}

.choose-color-product {
  display: flex;
  gap: 10px;
}

.color-color {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.color-color.active {
  border: 2px solid #000; /* Черная рамка для активного элемента */
}


.color-color-inside {
  border: 0.5px solid #d6d3d373;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background-color: var(--color-value); /* Цвет будет задаваться через style */
}

/* Конкретные цвета для вариантов */
.color-color:nth-child(1) .color-color-inside {
  background-color: #454c5c;
}

.color-color:nth-child(2) .color-color-inside {
  background-color: #D9C0A3; /* Бежевый */
}


/*таблица размеров*/
.size-table-modal {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

.size-table-link {
  color: #2C2C2C;
  cursor: pointer;
  font-size: 1.4rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}


/* Блок с размерами */
.size-product {
  margin: 1rem 0 3rem 0;
}

.size-product ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0;
  list-style: none;
}

.size-product li {
  font-size: 2rem;
  padding: 1.2rem 1.6rem 1.4rem 1.6rem;
  border-radius: 20px;
  border: 2px solid #CCD0D5;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.size-product .different-size li:hover {
  /* Стили при наведении курсора */
  background-color: #f0f0f0;
}

.size-product .different-size li.active {
  /* Стили для активного размера */
  border: 2px solid #2C2C2C;
  color: #2C2C2C;
  font-weight: bold;
}


.size-product a:hover {
  text-decoration: underline;
}


.size-product .different-size li.outstock {
  /* Стили для размера "нет в наличии" */
  background: #E0E2E5;
  color: #9AA1AF;
  cursor: not-allowed;
  border-color: #E0E2E5;
}

.size-product .different-size li.outstock:hover {
  /* Отключаем hover эффект для "нет в наличии" */
  background-color: #E0E2E5;
}

/* Блок с ценой и кнопкой */

.price-button {
  height: 5.8rem;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.price-button.normal {
  background-color: #2c2c2c;
  border: 2px solid #2c2c2c;
}

.price-button.hover {
  background-color: #363636;
  border: 2px solid #363636;
}

.price-button.active {
  background-color: #2c2c2c;
  border: 2px solid #2c2c2c;
}

.price-container-product {
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.price-container-product .old-price {
  font-size: 1.6rem;
  font-weight: 500;
  color: #989fae;
  text-decoration: line-through;
}

.price-container-product .current-price {
  font-size: 2.4rem;
  font-weight: 600;
  color: white;
}

.price-add-card {
  display: flex;
  gap: 15px;
}

.price-add-card .discount-badge {
  color: white;
  font-size: 1.6rem;
  background-color: #ff264d;
  border-radius: 1rem;
  padding: 0.4rem 0.3rem;
  //display: flex;
  align-items: center;
  border: none;
}

.price-add-card .discount-badge .discount-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
}

.price-add-card .discount-badge .discount-percent {
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
}

.button-text {
  font-size: 2.4rem;
  font-weight: 600;
  color: white;
}

.simple-button.normal .simple-button-text {
  color: #2c2c2c;
}

.simple-button.hover .simple-button-text {
  color: white;
}


/* Список преимуществ */
.advantages-condition {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
  font-size: 1.4rem;
  color: #2C2C2C;
}
.advantages-condition li{
  white-space: nowrap;
}

.add-card ul li:before {
  content: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.53098 7C3.33566 7.00008 3.14224 6.96212 2.9618 6.88829C2.78136 6.81447 2.61745 6.70622 2.47944 6.56976L0 4.1421L1.23965 2.91887L3.53098 5.16255L8.76035 0L10 1.22323L4.58252 6.56976C4.44452 6.70622 4.28061 6.81447 4.10017 6.88829C3.91973 6.96212 3.72631 7.00008 3.53098 7Z' fill='%232C2C2C'/%3E%3C/svg%3E");
  padding-right: 1rem;
}

.availability-block {
  background: #F7F8F9;
  padding: 1rem;
  border-radius: 1rem;
}

.availability-title {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.availability-list {
  list-style: none;
}

.availability-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;

}

.instock_quantity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.availability-icon {
  display: inline-block;
  width: 1.9rem;
  height: 1.1rem;
}

.availability-icon.many {
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='11' viewBox='0 0 19 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='4.54678' height='9.12704' rx='2.27339' transform='matrix(0.96565 0.259846 -0.257796 0.966199 14.6094 0.5)' fill='%2341CAAF'/%3E%3Crect width='4.54678' height='7.30163' rx='2.27339' transform='matrix(0.96565 0.259846 -0.257796 0.966199 8.01025 1.38187)' fill='%2341CAAF'/%3E%3Crect width='4.54678' height='5.47622' rx='2.27339' transform='matrix(0.96565 0.259846 -0.257796 0.966199 1.41113 2.2637)' fill='%2341CAAF'/%3E%3C/svg%3E");
}

.availability-icon.few {
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='11' viewBox='0 0 19 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='4.54678' height='9.12704' rx='2.27339' transform='matrix(0.96565 0.259846 -0.257796 0.966199 14.6094 0.5)' fill='%23C4C9D0'/%3E%3Crect width='4.54678' height='7.30163' rx='2.27339' transform='matrix(0.96565 0.259846 -0.257796 0.966199 8.01025 1.3819)' fill='%23FFC526'/%3E%3Crect width='4.54678' height='5.47622' rx='2.27339' transform='matrix(0.96565 0.259846 -0.257796 0.966199 1.41113 2.26373)' fill='%23FFC526'/%3E%3C/svg%3E");
}

.availability-icon.none {
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='11' viewBox='0 0 19 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='4.54678' height='9.12704' rx='2.27339' transform='matrix(0.96565 0.259846 -0.257796 0.966199 14.6094 0.5)' fill='%23C4C9D0'/%3E%3Crect width='4.54678' height='7.30163' rx='2.27339' transform='matrix(0.96565 0.259846 -0.257796 0.966199 8.01025 1.3819)' fill='%23C4C9D0'/%3E%3Crect width='4.54678' height='5.47622' rx='2.27339' transform='matrix(0.96565 0.259846 -0.257796 0.966199 1.41113 2.26373)' fill='%23C4C9D0'/%3E%3C/svg%3E");
}

.instock_quantity {
  background-color: white;
  padding: 0.4rem 1rem 0.5rem 1rem;
  border-radius: 7px;
}

.availability-icon.many ~ span {
  color: #41CAAF;
}

.availability-icon.few ~ span {
  color: #FFC526;
}

.availability-icon.none ~ span {
  color: #C4C9D0;
}


.consultation-block {
  border-radius: 1rem;
  display: grid;
  grid-template-columns: 20% 1fr 10%;
  align-items: center;
  padding-top: 15px;
  background: #F7F8F9;
  margin-top: 1rem;
  padding: 1rem 2rem;

}

.consultation-block strong {
  font-weight: 600;
  color: #333;
}

.consultation-block p {
  margin-top: 5px;
  color: #666;
  font-size: 14px;
}


.section-product-page__wrapper-properties {
  width: 58.2rem;
  color: #333;
  padding: 2rem 0;
}

.section-product-page__properties-list {
  list-style: none;

}

.property-item, .property-item-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  line-height: 1.4;
}

.property-item-main {
  font-size: 2.4rem;
}


.property-name {
  color: #6B778A;
  width: fit-content;
  font-size: 1.8rem;

}

.property-dots {
  flex: 1;
  border-bottom: 1px dotted #6B778A;
  height: 1rem;
  margin: 0 5px;
  position: relative;
  top: 0.2rem;
}

.property-value {
  color: #2C2C2C;
  padding-left: 1rem;
  width: fit-content;
  font-size: 1.8rem;
}


/* Мобильные устройства (до 575px) */
@media (max-width: 575px) {
  .section-product-page__wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .section-product-page__wrapper-product-photos,
  .section-product-page__left,
  .section-product-page__right {
    width: 100%;
  }

  //.section-product-page__product-photos {
  //  flex-direction: column;
  //}
  //
  //.product {
  //  width: 100% !important;
  //  height: 80px;
  //}
  //.product .swiper-wrapper {
  //  flex-direction: row;
  //}
  .section-product-page__wrapper-product-photos {
    height: 101vw;
  }

  .product2 {
    width: 100%;
    height: 101vw;
  }

  .section-product-page {
    padding-top: 30px;
  }

  .section-product-page__wrapper-left h1 {
    font-size: 2.4rem;
  }

  .info-model {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .current-color, .current-size {
    flex-direction: column;
    gap: 0.5rem;
  }

  .price-button {
    height: 12vw;
    padding: 0 1.5rem;
  }

  .button-text {
    font-size: 2rem;
  }

  .current-price {
    font-size: 2rem;
  }

  .old-price {
    font-size: 1.6rem;
  }

  .availability-title {
    font-size: 2rem;
  }

  .consultation-block {
    grid-template-columns: 15% 1fr 10%;
    padding: 1rem;
  }

  .section-product-page__wrapper-properties {
    width: 100%;
  }

  .property-item-main {
    font-size: 2rem;
  }

  .breadcrumbs__list {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .section-product-page__product-photos {
    gap: 1rem;
  }

  //.breadcrumbs__arrow {
  //  display: none;
  //}
}

/* Планшеты (576px - 991px) */
@media (min-width: 576px) and (max-width: 991px) {
  .section-product-page__wrapper {
    flex-direction: column;
  }

  .section-product-page__wrapper-product-photos,
  .section-product-page__left,
  .section-product-page__right {
    width: 100%;
  }

  .section-product-page__product-photos {
    flex-direction: row;
  }

  .product {
    width: 100px !important;
    height: 400px;
  }

  .product .swiper-wrapper {
    flex-direction: column;
  }

  .product2 {
    width: calc(100% - 120px);
    height: 81vw;
  }
  .section-product-page__wrapper-product-photos{
    height: 81vw;
  }
  .section-product-page__wrapper-left h1 {
    font-size: 2.8rem;
  }

  .price-button {
    height: 5.5rem;
  }

  .section-product-page__wrapper-properties {
    width: 100%;
  }
}

/* Маленькие десктопы (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1400px) {
  .section-product-page__wrapper {
    flex-wrap: wrap;
  }

  .section-product-page__wrapper-product-photos {
    width: 60%;
  }

  .section-product-page__left {
    width: 40%;
  }

  .section-product-page__right {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
  }

  .availability-block,
  .consultation-block {

  }

  .product2 {
    width: calc(100% - 120px);
  }
}

/* Большие десктопы (1200px и выше) */
@media (min-width: 1200px) {
  .section-product-page__wrapper {
    flex-direction: row;
  }

  .section-product-page__wrapper-product-photos {
    width: 64rem;
  }

  .section-product-page__left {
    width: 51.6rem;
  }

  .section-product-page__right {
    width: 38.2rem;
  }

  .product2 {
    width: 56rem;
  }
}

/* Особые стили для очень широких экранов */
@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
    margin: 0 auto;
  }
}


/*корзина*/

.container-wrapper-card {
  display: flex;
  margin: 0 auto 5rem auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.cart-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E8E8E8;
}

.select-all-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  cursor: pointer;
}

.select-all-wrapper input[type="checkbox"] {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  accent-color: #FF264D;
}

.select-all-wrapper label {
  cursor: pointer;
  user-select: none;
}

.wrapper-summary {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.cart-container {
  height: fit-content;
  flex: 2;
  background-color: white;
  border-radius: 8px;
  padding: 20px 20px 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-summary {
  height: fit-content;
  position: sticky;
  top: 20px;
  flex: 1;
  background-color: #F7F8F9;
  border-radius: 1rem;
  padding: 2.5rem;
  width: 38.2rem;

}

.cart-header {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  padding-bottom: 1.5rem;

}

.cart-title {
  font-size: 3.2rem;
  font-weigh: 600;
}

.card-count {
  display: flex;
  align-items: center;
  color: #6B778A;

}

.clear-cart {
  color: #6B778A;
  cursor: pointer;
  font-size: 1.6rem;

}

.cart-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
  transition: all ease .42s;
  opacity: 1;
  pointer-events: all;
}

.item-checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-select-checkbox {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #FF264D;
}

.cart-item.removed {
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
}


.item-image {
  width: 11.4rem;
  height: 14rem;
  border-radius: 0.5rem;
}

.item-image img {
  width: 100%;
  height: 100%;
}


.item-details {
  flex: 1;
}

.item-name {
  font-size: 2rem;
  font-weight: 400;
}

.item-code {
  font-size: 2rem;
}

.item-attributes {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  align-items: center;
}

.current-color-color {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.current-color-color-inside {
  width: 1.2rem;
  height: 1.2rem;
  background: #815C3D;
  border-radius: 50%;
}

.item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  width: 15rem;
}

.current-price-card {
  user-select: none;
  font-weight: 600;
  font-size: 2.4rem;
}

.old-price-card {
  user-select: none;
  text-decoration: line-through;
  color: #98A0AE;
}

.discount {
  display: flex;
  gap: 1rem;
  align-items: center;

}

.discount-card {
  color: #FF264D;
  user-select: none;
  border-radius: 1rem;
  border: 1px solid #FF264D;
  padding: 0.4rem 0.3rem 0.4rem 0.3rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-btn {
  width: 4.6rem;
  height: 4.6rem;
  border: 2px solid #D3D7DC;
  background-color: white;
  border-radius: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity {
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-size: 2rem;
  font-weight: 400;
}

.remove-btn-list {
  display: flex;
  justify-self: flex-end;
  gap: 1rem;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all ease .1s;
}

.remove-btn-list:hover .clear-cart {
  color: red;
}

.remove-btn-list:hover path {
  fill: red;
}

.cart-remove-btn {
  cursor: pointer;
  transition: all ease .1s;
}

.cart-remove-btn:hover path {
  fill: red;
}

.order-title {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.order-details {
  margin-bottom: 2rem;
}

.order-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.8rem;

}

.order-row .order-label {
  font-size: 1.8rem;
  font-weight: 400;
  color: #2C2C2C;
}


.order-row .order-value {
  font-weight: 500;
  font-size: 1.8rem;
}

.total-row .order-label {
  font-weight: 400;
  margin-top: 1.5rem;
  font-size: 2.4rem;
}

.total-row .order-value {
  color: #2C2C2C;
  font-weight: 600;
  margin-top: 1.5rem;
  font-size: 2.4rem;
}

.discount-row .order-label {
  font-weight: 400;
  font-size: 1.8rem;

}

.discount-row .order-value {
  color: #FF264D;
  font-weight: 400;
  font-size: 1.8rem;

}

.card-input {
  padding: 1.8rem 2.6rem 2rem 1.5rem;
  border: 1px solid #2C2C2C;
  border-radius: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.checkout-btn {
  padding: 1.8rem 2.6rem 2rem 2.6rem;
  background-color: #2C2C2C;
  color: white;
  border: none;
  border-radius: 1rem;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.order-btn {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/*карточка товара*/
.product-image-wrapper img {
  border-radius: 1.5rem;
}

.product-action {
  padding: 0 1rem;
  width: 100%;
  position: absolute;
  bottom: 1rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(100%);

}

.product-image-wrapper:hover .product-action {
  opacity: 1;
  transform: translateY(0);
}

.product-card-btn, .go-to-cart-btn {
  padding: 1.3rem 2.6rem 1.5rem 2.6rem;
  background-color: white;
  color: black;
  text-align: center;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 1.5rem;
}

.product-card-btn:hover, .go-to-cart-btn:hover {
  background-color: black;
  color: white;
}

.dont-have {
  padding: 1.3rem 2.6rem 1.5rem 2.6rem;
  background-color: white;
  color: black;
  text-align: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background-color 0.2s;
  border-radius: 1.5rem;
  user-select: none;
}

.size-selector {
  background-color: white;
  padding: 1.4rem;
  box-sizing: border-box;
  border-radius: 1.5rem;
}

.size-title {
  font-size: 1.4rem;
  color: #2C2C2C;
  margin-bottom: 0.8rem;
  text-align: left;
}

.size-card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-option {
  padding: 0.8rem 1rem 0.9rem 1rem;
  text-align: center;
  background-color: white;
  border: 1px solid #CCD0D5;
  border-radius: 1.5rem;
  cursor: pointer;
  font-size: 1.6rem;
  transition: all 0.2s;
}

.size-option:hover {
  background-color: #e0e0e0;
}


/*кнопка фильтра*/

.filter-dropdown {
  display: none;
  position: absolute;
  top: 4.2rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  width: 250px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  margin-top: 10px;
}

.filter-section-title {
  padding-bottom: 1rem;
}

.filter-dropdown.show {
  display: block;
}

.filter-section {
  margin-bottom: 15px;
}

.filter-section h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #2C2C2C;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.filter-actions button {
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.filter-actions .apply-filters {
  background: #2C2C2C;
  color: white;
}

/*Описание и характеристики продукта*/
.product-tabs {
  margin-top: 30px;
  overflow: hidden;
}

.tabs-header {
  display: flex;

}

.tab-button {
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2.4rem;
  color: #6B778A;
  position: relative;
}

.tab-button.active {
  color: #2C2C2C;
}

.tab-button.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2C2C2C;
}

.tab-pane {
  display: none;
  padding: 20px;
}

.tab-pane.active {
  display: block;
}


.product-description p {
  margin-bottom: 15px;
}

/*магазины адреса на карте*/
.stores-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 4rem 0;
}

container shop-map {
  max-width: 1588px;
  overflow: hidden;
}

.stores-list {
  flex: 1;
  max-width: 364px;
  max-height: 620px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Стиль для полосы прокрутки  */
.stores-list::-webkit-scrollbar {
  width: 10px;

}

.stores-list::-webkit-scrollbar-track {
  background: white;
}

.stores-list::-webkit-scrollbar-thumb {
  background: #2C2C2C12;
  border-radius: 4px;
}

.stores-list::-webkit-scrollbar-thumb:hover {
  background: grey;
}

.store-item {
  margin-bottom: 30px;
}

.store-name {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.store-address {
  font-size: 2.1rem;
  margin-bottom: 7px;
  line-height: 1.35;
}

.store-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px 14px 15px;
  background: #2C2C2C12;
  border-radius: 10px;
  font-size: 2rem;
  font-weight: 500;
  text-decoration: none;
  color: #2C2C2C;
}

.store-map {
  flex: 2;
  min-width: 300px;
  position: relative;
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .restore-password-form{
    padding-top: 60px;
  }
  .products-grid-sale {
    gap: 10px;
  }

  .stores-section {
    flex-direction: column; /* На мобильных устройствах располагаем элементы вертикально */
  }

  .stores-list,
  .store-map {
    width: 100%; /* Занимают всю ширину */
    min-width: auto; /* Автоматическая ширина */
  }

  .store-map iframe {
    width: 100%; /* Карта занимает всю ширину */
    height: 400px; /* Уменьшаем высоту карты на мобильных устройствах */
  }
}


/*Выпадающее Меню на хедере*/
.catalog-menu__content {
  display: flex;
  gap: 4rem;
  flex-direction: column;

}

.catalog-caregory-name {
  margin-top: 20px;
  font-size: 2rem;
  margin-bottom: 1rem;

}

.catalog-list-children {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.catalog-list-children-li {
  width: 12rem;
}

.catalog-list-children-li .menu-image-link {
  display: block;
  height: 12rem;
  width: 12rem;
}

.catalog-menu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}

.catalog-menu img:hover {
  opacity: 0.7;
}

.catalog-item-name {
  margin-top: 5px;
  font-size: 1.4rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.catalog-item-name:hover, .catalog-caregory-name:hover {
  font-weight: 500;
}

.catalog-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 100vw;
  background-color: white;
  color: var(--primary-color);
  z-index: 11;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  transition: all ease .24s;
  transform: translateY(-10px);
  width: 100%;
}

.catalog-menu__close-btn {
  position: absolute;
  top: 1rem;
  right: 10%;
  cursor: pointer;
  z-index: 10;
}

.catalog-menu__close-btn img {
  width: 2rem;
  height: 2rem;
}

.catalog-menu__content {
  display: flex;
  gap: 4rem;
  flex-direction: column;
  padding: 2rem 0;
  min-height: min-content;
}

.catalog-menu ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.category__quantity-button.active {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  color: black;
  flex-shrink: 0;
  padding: 5px 7px;
  border-radius: 10px;
  border: 2px solid #c3c3c3;
}

.catalog-menu a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.2rem;
}

/*Класс для отображения меню (добавляется JavaScript) */
.catalog-menu--open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);

}

/*модальное окно обратной связи*/
/* Стили для блока консультации */
.consultation-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #f5f7fa;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-title-callback {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.consultation-block:hover {
  background: #e8ecf3;
}

.consultation-block-text {
  flex-grow: 1;
}

.consultation-block-text strong {
  display: block;
  margin-bottom: 5px;
}

/* Стили для модального окна */
.modal-callback {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-callback {
  background-color: #fff;
  margin: 10% auto;
  padding: 2.5rem;
  border-radius: 10px;
  width: 90%;
  max-width: 50rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #333;
}

/* Стили формы */
.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.account-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.exit-button {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: .5rem;
  border: 1px solid #2c2c2c;
  color: #2c2c2c;
  font-size: 20px;
}

.exit-button:hover {
  border: 1px solid #FF264D;
  color: #FF264D;
}

.error {
  background: red !important;
}

.success {
  background: #FF264D !important;
}

.button-form-send {
  background: #FF264D;
  width: 100%;
  color: white;
  height: 4.2rem;
  border: none;
  border-radius: .5rem;
  transition: all ease .1s;
  opacity: .9;
}

.button-form-send:hover {
  opacity: 1;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-edit {
  border: none;
  background: none;
  margin-top: -3px;
}

.btn-edit:hover svg {
  fill: #FF264D;
}

.lk-title {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.order-summary-account {
  width: 100%;
}

.submit-btn {
  background-color: #2C2C2C;
  color: white;
  border: none;
  padding: 1.6rem 2.6rem 1.8rem 2.6rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 2rem;
  width: 100%;
  transition: background 0.3s;
}

.auth-icon {
  position: relative;
}

.bi-check-circle-fill {
  position: absolute;
  top: 1rem;
  right: -8px;
}

.submit-btn:hover {
  background-color: white;
  color: black;
  border: 2px solid black;
}


/* Основной контейнер */
.cart-void {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 1rem;
  background-color: #F7F8F9;
  margin: 2rem 0;
}

/* Иконка */
.cart-void__icon {
  margin-bottom: 2rem;
  opacity: 0.5;
}

/* Заголовок */
.cart-void__heading {
  font-size: 2.4rem;
  font-weight: 600;
  color: #2C2C2C;
  margin-bottom: 1rem;
}

/* Подзаголовок */
.cart-void__subline {
  font-size: 1.6rem;
  color: #6B778A;
  margin-bottom: 3rem;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

/* Кнопка действия */
.cart-void__action {
  display: inline-block;
  padding: 1.3rem 2.6rem 1.5rem 2.6rem;
  background-color: #2C2C2C;
  color: white;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cart-void__action:hover {
  background-color: #363636;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 44, 44, 0.15);
}

.qplusprice {
  display: flex;
  gap: 13rem;
}

/* Стили для индикатора загрузки */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Стили для сообщений */
.flash-message {
    //position: fixed;
    //top: 20px;
    //right: 20px;
    //padding: 15px 20px;
    //border-radius: 8px;
    //color: white;
    //z-index: 9999;
    //animation: slideIn 0.3s ease;
}

.flash-message.success {
    background: #4CAF50;
}

.flash-message.error {
    background: #F44336;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Улучшенные стили для форм */
.form-floating {
    position: relative;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label {
    transform: translateY(-150%) scale(0.9);
    color: #2C2C2C;
}

/* Стили для select2 если используется */
.select2-container .select2-selection--single {
    height: 5rem;
    padding: 1rem;
    border: 1px solid #D3D7DC;
    border-radius: 1rem;
    font-size: 1.6rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 5rem;
    right: 1rem;
}

.orderLink {color:#ff264d; text-decoration:underline}
