@charset "UTF-8";
.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

/* Основной контент */
.product-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Хлебные крошки */
.breadcrumbs {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  grid-column: 1/-1;
}

.breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #333;
}

/* Заголовок товара */
.product-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.3;
}

/* Галерея товара */
.product-gallery {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.main-gallery {
  position: relative;
  border-radius: 8px;
  margin-bottom: 16px;
}

.gallery-slide {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-slide.active {
  display: flex;
}

.gallery-slide img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumb-slide {
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
}

.thumb-slide.active {
  border-color: #333;
}

.thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Боковая панель с информацией */
.product-sidebar {
  position: sticky;
  top: 40px;
}

.product-sidebar__inner {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #e9ecef;
}

/* Цена и наличие */
.price-block {
  margin-bottom: 24px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 26px;
  font-weight: 700;
  color: #333;
}

.price-unit {
  font-size: 16px;
  color: #666;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.status-badge.in-stock {
  background: #d5f4e1;
  color: #27ae60;
}

.status-badge svg {
  width: 14px;
  height: 14px;
}

/* Быстрые характеристики */
.quick-specs {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.spec-label {
  color: #666;
}

.spec-value {
  color: #333;
  font-weight: 500;
}

/* Форма заказа */
.order-form {
  margin-bottom: 20px;
}

.order-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.quantity-btn {
  width: 40px;
  height: 48px;
  border: none;
  background: #f8f9fa;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s;
}

.quantity-btn:hover {
  background: #e9ecef;
}

.quantity-input {
  width: 50px;
  height: 48px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  background: #fff;
}

.add-to-cart-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  height: 48px;
  background: #2d3e51;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
  background: #555;
}

.add-to-cart-btn svg {
  width: 18px;
  height: 16px;
}

/* Быстрый заказ */
.quick-order-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid #333;
  color: #333;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 24px;
}

.quick-order-btn:hover {
  background: #333;
  color: white;
}

/* Преимущества */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.feature-item svg {
  width: 16px;
  height: 16px;
  color: #27ae60;
  flex-shrink: 0;
}

/* Дополнительная информация */
.additional-info {
  border-top: 1px solid #e9ecef;
  padding-top: 20px;
}

.info-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.info-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.info-link:hover {
  color: #333;
}

.info-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.4;
}

/* Характеристики в сайдбаре */
.sidebar-specs {
  margin-bottom: 20px;
}

.sidebar-specs-title {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  font-weight: 600;
}

.sidebar-specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.sidebar-spec-name {
  color: #666;
}

.sidebar-spec-value {
  color: #333;
  font-weight: 500;
}

/* Примечание */
.price-note {
  font-size: 12px;
  color: #666;
  margin-top: 16px;
}

/* Блоки информации */
.info-section {
  margin-bottom: 40px;
}

.section-title {
  margin-bottom: 30px;
}

/* Описание товара */
.description-content {
  line-height: 1.6;
  color: #333;
  font-size: 14px;
}

.description-content p {
  margin-bottom: 16px;
}

/* Характеристики */
.specs-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.spec-name {
  color: #666;
  font-size: 12px;
}

.spec-value {
  color: #333;
  font-weight: 500;
  font-size: 12px;
}

/* Отзывы */
.reviews-content {
  text-align: center;
  padding: 40px 20px;
}

.no-reviews p {
  color: #666;
  margin-bottom: 20px;
  font-size: 16px;
}

.add-review-btn {
  padding: 12px 24px;
  background: #2d3e52;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-review-btn:hover {
  background: #555;
}

/* Доставка */
.delivery-content {
  line-height: 1.6;
  font-size: 14px;
}

.delivery-content ul {
  margin: 16px 0;
  padding-left: 20px;
}

.delivery-content li {
  margin-bottom: 8px;
  color: #333;
}

/* Похожие товары */
.related-products {
  margin-bottom: 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-new {
  background: #27ae60;
  color: white;
}

.badge-hit {
  background: #e74c3c;
  color: white;
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s;
}

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

.product-info {
  padding: 16px;
}

.product-title-main {
  margin: 0 0 0px 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

.product-title a {
  color: #333;
  text-decoration: none;
}

.product-title a:hover {
  color: #666;
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.wishlist-btn,
.cart-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
  text-decoration: none;
}

.wishlist-btn:hover,
.cart-btn:hover {
  border-color: #333;
  color: #333;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .product-page {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .product-page {
    padding: 15px;
  }

  .product-title {
    font-size: 20px;
  }

  .order-controls {
    flex-direction: column;
  }

  .quantity-control {
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-image {
    height: 150px;
  }

  .gallery-slide {
    padding: 15px;
  }

  .thumb-slide {
    width: 50px;
    height: 50px;
  }
}
.product-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.product-page-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.product-sidebar-sticky {
  position: sticky;
  top: 20px;
  align-self: start;
}

.product-page, .container, body, html {
  overflow: visible !important;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .product-page-container {
    grid-template-columns: 1fr 350px;
    gap: 30px;
  }
}
@media (max-width: 1024px) {
  .product-page-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-sidebar-sticky {
    position: static;
    order: -1;
    /* Перемещаем sidebar выше контента на мобилках */
    margin-bottom: 30px;
  }

  .product-sidebar__inner {
    position: static !important;
  }
}
@media (max-width: 768px) {
  .product-page-wrapper {
    padding: 15px;
  }

  .product-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .order-controls {
    flex-direction: column;
  }

  .quantity-control {
    justify-content: center;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .add-to-cart-btn {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }

  .gallery-slide {
    padding: 15px;
  }

  .thumb-slide {
    width: 50px;
    height: 50px;
  }

  .product-sidebar__inner {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .product-page-wrapper {
    padding: 10px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-image {
    height: 200px;
  }

  .product-title {
    font-size: 20px;
  }

  .price-current {
    font-size: 22px;
  }

  .gallery-thumbs {
    gap: 5px;
  }

  .thumb-slide {
    width: 40px;
    height: 40px;
  }

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .sidebar-spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .order-controls {
    gap: 10px;
  }

  .quantity-control {
    max-width: 150px;
  }

  .product-sidebar__inner {
    padding: 15px;
  }

  .features-list {
    gap: 8px;
  }

  .feature-item {
    font-size: 13px;
  }
}
/* Для очень маленьких экранов */
@media (max-width: 360px) {
  .product-title {
    font-size: 18px;
  }

  .price-current {
    font-size: 20px;
  }

  .product-sidebar__inner {
    padding: 12px;
  }

  .add-to-cart-btn,
.quick-order-btn {
    font-size: 14px;
    padding: 10px;
  }
}
/* Дополнительные улучшения для мобилок */
@media (max-width: 1024px) {
  /* Убираем sticky на планшетах и телефонах */
  .product-sidebar-sticky {
    position: relative;
    top: auto;
  }

  /* Делаем основной контент более компактным */
  .product-main {
    gap: 30px;
  }

  .info-section {
    margin-bottom: 30px;
  }
}
/* Улучшаем touch-интерфейс */
@media (max-width: 768px) {
  .quantity-btn,
.add-to-cart-btn,
.quick-order-btn,
.thumb-slide {
    min-height: 44px;
    /* Минимальный размер для touch */
  }

  .quantity-btn {
    width: 44px;
  }

  .thumb-slide {
    min-width: 44px;
    min-height: 44px;
  }
}
/* Оптимизация для landscape мобилок */
@media (max-width: 768px) and (orientation: landscape) {
  .product-gallery {
    max-height: 60vh;
  }

  .gallery-slide {
    max-height: 50vh;
  }
}
.purchase-block-mobile {
  display: none;
}

.product-sidebar {
  display: block;
}

@media (max-width: 1025px) {
  .purchase-block-mobile {
    display: block;
  }

  .product-sidebar {
    display: none;
  }
}
.product-gallery {
  position: relative;
}

/* Верхняя панель */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 10px;
  position: absolute;
  z-index: 1;
  margin-top: 5px;
  width: 100%;
}

.gallery-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #ddd;
  font-size: 16px;
}

.star.filled {
  color: #ffc107;
}

.rating-value {
  font-weight: 600;
  color: #333;
}

.reviews-count {
  color: #666;
  font-size: 13px;
}

.product-sku {
  font-size: 13px;
  color: #666;
}

.product-sku span {
  color: #333;
  font-weight: 500;
}

/* Кнопка избранного */
.favorite-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.favorite-btn:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

.favorite-btn.active {
  border-color: #e74c3c;
  color: #e74c3c;
}

.favorite-btn.active svg path {
  fill: #e74c3c;
}

/* Основной слайдер */
.main-gallery {
  position: relative;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.gallery-slide {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
}

.gallery-slide.active {
  display: flex;
}

.gallery-image {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  cursor: zoom-in;
}

/* Кнопка увеличения */
.zoom-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.zoom-btn:hover {
  background: white;
  transform: scale(1.1);
}

/* Миниатюры */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 10px;
}

.thumb-slide {
  width: 70px;
  height: 70px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.7;
}

.thumb-slide.active,
.thumb-slide:hover {
  border-color: #333;
  opacity: 1;
}

.thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Модальное окно увеличения */
.zoom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

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

.zoom-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.zoom-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.zoom-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-prev,
.zoom-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}

.zoom-prev:hover,
.zoom-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .favorite-btn {
    align-self: stretch;
    justify-content: center;
  }

  .gallery-slide {
    padding: 20px;
  }

  .thumb-slide {
    width: 60px;
    height: 60px;
  }

  .zoom-btn {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }

  .zoom-modal-content {
    max-width: 95%;
    gap: 10px;
  }

  .zoom-prev,
.zoom-next {
    width: 40px;
    height: 40px;
  }

  .gallery-header {
    position: relative;
  }
}
@media (max-width: 480px) {
  .product-rating {
    flex-wrap: wrap;
    gap: 5px;
  }

  .gallery-slide {
    padding: 15px;
  }

  .thumb-slide {
    width: 50px;
    height: 50px;
  }

  .zoom-btn {
    width: 36px;
    height: 36px;
    bottom: 10px;
    right: 10px;
  }

  .zoom-btn svg {
    width: 18px;
    height: 18px;
  }
}
.product-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative;
}

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

/* Бейджи */
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-new {
  background: #27ae60;
  color: white;
}

.badge-hit {
  background: #e74c3c;
  color: white;
}

/* Изображение товара */
.product-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  width: 100%;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

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

.image-thumbs {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.thumb {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.thumb.active {
  background: white;
}

/* Информация о товаре */
.product-info {
  padding: 16px;
}

.product-title {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.product-title a {
  color: #333;
  text-decoration: none;
}

.product-title a:hover {
  color: #666;
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.wishlist-btn,
.cart-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
  text-decoration: none;
}

.wishlist-btn:hover,
.cart-btn:hover {
  border-color: #333;
  color: #333;
}

/* Варианты товара */
.product-variants {
  padding: 0 16px 16px;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}

.color-variants,
.size-variants {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.variant-label {
  font-size: 12px;
  color: #666;
  min-width: 40px;
}

.color-options {
  display: flex;
  gap: 4px;
}

.color-option {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.color-option.active {
  border-color: #333;
}

.size-options {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.size-option {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.size-option:hover,
.size-option.active {
  border-color: #333;
  background: #333;
  color: white;
}

/* Быстрое добавление в корзину */
.quick-add {
  padding: 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 8px;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f8f9fa;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
}

.quantity-btn:hover {
  background: #e9ecef;
}

.quantity {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
}

.add-to-cart {
  flex: 1;
  padding: 0 16px;
  background: #2d3e51;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-to-cart:hover {
  background: #555;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
/* Модальное окно "Купить в 1 клик" - обновленные стили */
.quick-order-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.quick-order-modal.active {
  display: flex !important;
}

.quick-order-modal-content {
  background-color: white;
  margin: 20px;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.quick-order-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.quick-order-close:hover {
  background-color: #f5f5f5;
  color: #333;
}

.quick-order-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
}

/* Информация о товаре */
.quick-order-info {
  margin-bottom: 25px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.quick-order-product {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quick-order-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.quick-order-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
  line-height: 1.3;
}

.quick-order-price {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

/* Сетка формы */
.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  position: relative;
  flex: 1 1 calc(50% - 10px);
  margin-bottom: 0;
}

.form-group.full-width {
  flex: 1 1 100%;
}

/* Стили полей ввода как в основной форме */
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: "ProbaPro-Regular";
  transition: all 0.3s;
  box-sizing: border-box;
  background: #fff;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: "ProbaPro-Regular";
}

/* Плавающие лейблы */
.form-group {
  position: relative;
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 12px;
  font-size: 14px;
  color: #666;
  background: white;
  padding: 0 4px;
  transition: all 0.3s;
  pointer-events: none;
  font-family: "ProbaPro-Regular";
}

.form-group.focused label,
.form-input:focus + label,
.form-input:not(:placeholder-shown) + label,
.form-textarea:focus + label,
.form-textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  color: #333;
  font-weight: 500;
}

/* Подсказки */
.form-hint {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  line-height: 1.3;
}

/* Соглашение - стили как в основной форме */
.form-agreement {
  margin: 25px 0;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

.checkbox-wrapper input[type=checkbox] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s;
}

.checkbox-wrapper input[type=checkbox]:checked + .checkmark {
  background: #333;
  border-color: #333;
}

.checkbox-wrapper input[type=checkbox]:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.agreement-text {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.agreement-text a {
  color: #333;
  text-decoration: underline;
  transition: color 0.3s;
}

.agreement-text a:hover {
  color: #DCAB96;
}

/* Кнопка отправки */
.quick-order-submit {
  width: 100%;
  background: #333;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  font-family: "ProbaPro-Regular";
  margin-bottom: 15px;
}

.quick-order-submit:hover:not(:disabled) {
  background: #555;
  transform: translateY(-1px);
}

.quick-order-submit:disabled {
  background: #999;
  cursor: not-allowed;
  transform: none;
}

/* Примечание */
.quick-order-note {
  text-align: center;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* Состояние загрузки */
.quick-order-submit .loading-text {
  display: none;
}

.quick-order-submit.loading .submit-text {
  display: none;
}

.quick-order-submit.loading .loading-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Анимация загрузки */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Адаптивность */
@media (max-width: 768px) {
  .quick-order-modal-content {
    padding: 20px;
    margin: 20px;
    width: calc(100% - 40px);
  }

  .quick-order-title {
    font-size: 20px;
  }

  .form-group {
    flex: 1 1 100%;
  }

  .quick-order-product {
    flex-direction: column;
    text-align: center;
  }

  .quick-order-image {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 480px) {
  .quick-order-modal-content {
    padding: 15px;
    margin: 10px;
    width: calc(100% - 20px);
  }

  .quick-order-title {
    font-size: 18px;
  }

  .form-input,
.form-textarea {
    padding: 10px 12px;
  }
}
/* Стили для зума изображения */
.main-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-slide {
  display: none;
  position: relative;
  height: 500px;
}

.gallery-slide.active {
  display: block;
}

.zoom-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  background: white;
}

/* Линза для зума */
.zoom-lens {
  position: absolute;
  border: 2px solid #333;
  background: rgba(255, 255, 255, 0.3);
  cursor: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.zoom-container:hover .zoom-lens {
  opacity: 1;
}

/* Эффект зума при наведении */
@media (min-width: 769px) {
  .zoom-container:hover .gallery-image {
    transform: scale(1.5);
  }

  .zoom-container {
    cursor: crosshair;
  }
}
/* Убираем зум на мобильных устройствах */
@media (max-width: 768px) {
  .zoom-container:hover .gallery-image {
    transform: none;
  }

  .zoom-lens {
    display: none;
  }

  .zoom-container {
    cursor: default;
  }

  .gallery-slide {
    height: 400px;
  }
}
@media (max-width: 480px) {
  .gallery-slide {
    height: 300px;
  }
}
/* Кнопка полноэкранного зума */
.zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e9ecef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

.zoom-btn:hover {
  background: white;
  border-color: #333;
  transform: scale(1.05);
}

.zoom-btn svg {
  color: #333;
}

/* Миниатюры */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 0 4px;
}

.thumb-slide {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.thumb-slide.active,
.thumb-slide:hover {
  opacity: 1;
  border-color: #333;
}

.thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Модальное окно полноэкранного зума */
.zoom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.zoom-modal.active {
  display: flex;
  opacity: 1;
}

.zoom-modal-content {
  position: relative;
  width: 90%;
  height: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-image-full {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  color: #333;
  z-index: 1001;
}

.zoom-prev,
.zoom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
}

.zoom-prev {
  left: 20px;
}

.zoom-next {
  right: 20px;
}

.zoom-prev:hover,
.zoom-next:hover,
.zoom-close:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

.zoom-close:hover {
  transform: scale(1.05);
}

/* item.css - Стили в общей стилистике сайта */
:root {
  --hunter-red: #c22424;
  --hunter-red-dark: #a51d1d;
  --hunter-red-light: #d30309;
  --hunter-dark: #333;
  --hunter-gray: #2c2c2c;
  --hunter-light: #f8f8f8;
  --hunter-border: #e0e0e0;
  --text-dark: #2c2c2c;
  --text-light: #ffffff;
  --section-bg: #f7faff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Общие стили страницы товара */
.product-page-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  margin-top: 20px;
}

/* Хлебные крошки */
.breadcrumbs {
  padding: 15px 0;
}

.breadcrumbs a {
  color: var(--hunter-red);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--hunter-red-dark);
}

/* Основной заголовок */
.product-title-main {
  font-size: 22px;
  font-weight: 600;
  color: var(--hunter-dark);
  margin-bottom: 20px;
  line-height: 1.3;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--hunter-border);
}

/* Галерея товара */
.product-gallery {
  background: var(--text-light);
  border-radius: 8px;
  margin-bottom: 25px;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
}

.gallery-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-sku {
  font-size: 13px;
  color: #666;
}

.product-sku span {
  font-weight: 600;
  color: var(--hunter-dark);
}

.favorite-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--hunter-border);
  border-radius: 6px;
  background: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: #666;
}

.favorite-btn:hover,
.favorite-btn.active {
  border-color: var(--hunter-red);
  color: var(--hunter-red);
  background: rgba(0, 0, 0, 0.05);
}

/* Основной слайдер */
.main-gallery {
  position: relative;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--hunter-light);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hunter-border);
}

.gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-slide.active {
  display: flex;
}

.gallery-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* Миниатюры */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
}

.thumb-slide {
  width: 70px;
  height: 70px;
  border: 1px solid var(--hunter-border);
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--transition);
  background: var(--hunter-light);
}

.thumb-slide.active,
.thumb-slide:hover {
  border-color: var(--hunter-red);
}

.thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Боковая панель покупки */
.product-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.product-sidebar__inner {
  background: var(--text-light);
  border-radius: 8px;
  border: 1px solid var(--hunter-border);
  padding: 20px;
}

/* Блок цены */
.price-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hunter-border);
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}

.price-current {
  font-size: 24px;
  font-weight: 700;
  color: var(--hunter-red);
}

.price-unit {
  font-size: 16px;
  color: #666;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.status-badge.in-stock {
  background: #27ae60;
  color: white;
}

.status-badge.out-of-stock {
  background: #e74c3c;
  color: white;
}

.low-stock-warning {
  font-size: 12px;
  color: #e67e22;
  font-weight: 600;
}

/* Быстрые характеристики */
.quick-specs {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hunter-border);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--hunter-light);
  font-size: 13px;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: #666;
}

.spec-value {
  font-weight: 600;
  color: var(--hunter-dark);
}

/* Форма заказа */
.order-form {
  margin-bottom: 20px;
}

.order-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--hunter-border);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--text-light);
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--hunter-light);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--hunter-dark);
}

.quantity-btn:hover:not(:disabled) {
  background: var(--hunter-red);
  color: var(--text-light);
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-input {
  width: 50px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  background: var(--text-light);
  color: var(--hunter-dark);
}

.add-to-cart-btn {
  flex: 1;
  padding: 0 20px;
  height: 40px;
  background: var(--hunter-red);
  color: var(--text-light);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-to-cart-btn:hover:not(:disabled) {
  background: var(--hunter-red-dark);
}

.add-to-cart-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
}

/* Кнопка быстрого заказа */
.quick-order-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--hunter-red);
  border: 1px solid var(--hunter-red);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
}

.quick-order-btn:hover:not(:disabled) {
  background: var(--hunter-red);
  color: var(--text-light);
}

.quick-order-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Список преимуществ */
.features-list {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hunter-border);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--hunter-dark);
}

.feature-item svg {
  color: var(--hunter-red);
  flex-shrink: 0;
}

/* Контактная информация */
.contact-info {
  margin-bottom: 20px;
}

.contact-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--hunter-light);
  font-size: 13px;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  color: var(--hunter-dark);
  display: block;
  margin-bottom: 4px;
}

.contact-item p {
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Информационные секции */
.info-section {
  background: var(--text-light);
  border-radius: 8px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--hunter-dark);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hunter-border);
}

/* Описание товара */
.description-content {
  line-height: 1.6;
  color: #555;
  font-size: 14px;
}

.description-content p {
  margin-bottom: 15px;
}

/* Технические характеристики */
.specs-grid {
  display: grid;
  gap: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--hunter-light);
  font-size: 13px;
}

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

.spec-name {
  color: #666;
  flex: 1;
}

.spec-value {
  font-weight: 600;
  color: var(--hunter-dark);
  flex: 1;
  text-align: right;
}

/* Особенности */
.features-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-content li {
  padding: 8px 0;
  padding-left: 16px;
  position: relative;
  color: #555;
  font-size: 14px;
  border-bottom: 1px solid var(--hunter-light);
}

.features-content li:last-child {
  border-bottom: none;
}

.features-content li::before {
  content: "•";
  color: var(--hunter-red);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Доставка и оплата */
.delivery-content {
  line-height: 1.6;
  color: #555;
  font-size: 14px;
}

.delivery-options {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}

.delivery-option {
  padding: 15px;
  background: var(--hunter-light);
  border-radius: 6px;
  border-left: 3px solid var(--hunter-red);
}

.delivery-option h4 {
  margin: 0 0 6px 0;
  color: var(--hunter-dark);
  font-size: 14px;
}

.delivery-option p {
  margin: 3px 0;
  font-size: 13px;
}

/* Мобильная версия блока покупки */
.purchase-block-mobile {
  display: none;
  background: var(--text-light);
  border-radius: 8px;
  border: 1px solid var(--hunter-border);
  padding: 15px;
  margin-bottom: 15px;
  position: sticky;
  bottom: 0;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.order-controls-mobile {
  display: flex;
  gap: 10px;
}

.add-to-cart-btn-mobile {
  flex: 1;
  padding: 12px;
  background: var(--hunter-red);
  color: var(--text-light);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.add-to-cart-btn-mobile:hover {
  background: var(--hunter-red-dark);
}

/* Модальное окно быстрого заказа */

/*# sourceMappingURL=item.css.map */
