/* WoodMart Kids Homepage Styles */

/* Hero Section - New Layout */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  min-height: 600px;
  align-items: center;
}

/* Левая колонка с изображениями */
.hero-left {
  position: relative;
  height: 500px;
}

.hero-left .hero-image {
  position: absolute;
  max-width: 280px;
  border: 2px solid #304CD0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-left .hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-left .image-1 {
  top: 0;
  left: 0;
  transform: rotate(13deg);
  z-index: 5;
}

.hero-left .image-2 {
  top: 200px;
  left: 80px;
  transform: rotate(-15deg);
  z-index: 4;
}

/* Центральная колонка */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-logo {
  max-width: 300px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-catalog a {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 45px;
  font-weight: 700;
  color: #304CD0;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.hero-catalog a:hover {
  color: #E97491;
}

/* Правая колонка */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
}

.hero-plates {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.hero-plates .text-plate {
  position: static;
  color: white;
  background-color: #FFAFBF;
  padding: 8px 20px;
  font-family: 'Alumni Sans', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
  border-radius: 0;
  z-index: 10;
}

.hero-lama {
  max-width: 200px;
}

.hero-lama img {
  width: 100%;
  height: auto;
  display: block;
}

/* Categories Grid Section */
.categories-grid-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.category-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.category-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.category-item .category-image {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.category-item .category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-item:hover .category-image img {
  transform: scale(1.05);
}

.category-item .category-content {
  padding: 25px;
  text-align: center;
}

.category-item .category-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}

.category-item .category-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Feature Collection Section - теперь использует стили hits-* */

/* Старые стили product-card удалены - теперь используются hits-* классы */

/* Старые стили product-overlay удалены - теперь используются hits-* классы */

/* Старые стили product-info, product-title, product-price, product-actions, btn, add-to-cart удалены - теперь используются hits-* классы */

/* Старые стили btn-outline, btn-lg удалены - теперь используются hits-* классы */

/* Bundle Section - Completely rewritten from scratch */
.bundle-section {
  padding: 80px 0;
  background: #f8f9fa;
}

  .bundle-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

.bundle-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Левая колонка с изображением */
.bundle-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bundle-main-image {
  width: 100%;
  max-width: 500px;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.bundle-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Правая колонка с товарами */
.bundle-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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



.bundle-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}

.bundle-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #666;
  margin-bottom: 0;
  line-height: 1.4;
}

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

.bundle-product-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  gap: 20px;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.bundle-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.bundle-product-image {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
}

.bundle-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.bundle-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
}

.bundle-badge.bundle-hot {
  background: #dc3545;
}

.bundle-product-info {
  flex: 1;
}

.bundle-product-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.bundle-product-rating {
  margin-bottom: 8px;
}

.bundle-product-rating .stars {
  color: #ffc107;
  font-size: 14px;
  letter-spacing: 2px;
}

.bundle-product-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #333;
  margin: 0;
}

.bundle-cta {
  text-align: center;
  margin-top: 20px;
}

.bundle-buy-button {
  background: linear-gradient(135deg, #E97491 0%, #d65a7a 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(233, 116, 145, 0.3);
}

.bundle-buy-button:hover {
  background: linear-gradient(135deg, #d65a7a 0%, #c44a6a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 116, 145, 0.4);
}

.bundle-buy-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(233, 116, 145, 0.3);
}



.bundle-disclaimer {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Hits and Bestsellers Section - Based on Catalog Styles */
.hits-bestsellers-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

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

.hits-header {
  text-align: center;
  margin-bottom: 60px;
}

.hits-header h2 {
  font-family: 'Alumni Sans', sans-serif;
  font-weight: 700;
  font-size: 45px;
  color: #304CD0;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hits-header h3 {
  font-family: 'Alumni Sans', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #E97491;
  margin: 0;
  letter-spacing: 0.3px;
}

.hits-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Hits Product Card - Based on Catalog Product Item */
.hits-product-card {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  flex: 1 1 0;
  transition: all 0.3s ease;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

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

.hits-product-card {
  cursor: pointer;
}

/* Hits Product Image - Based on Catalog Product Image */
.hits-product-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.hits-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease;
  background: #f8f8f8 !important;
  max-width: none !important;
  max-height: none !important;
}

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

/* Hits Product Badges - Based on Catalog Badges */
.hits-product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.hits-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.hits-new {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.hits-hot {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

/* Hits Product Info - Based on Catalog Product Info */
.hits-product-info {
  flex: 1 1 auto;
  min-height: 160px;
  padding: 12px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  text-align: center;
}

/* Hits Product Title - Based on Catalog Product Title */
.hits-product-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0 0;
  color: #232347;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

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

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

/* Hits Product Price - Based on Catalog Product Price */
.hits-product-price {
  font-size: 16px !important;
  font-weight: 700;
  color: #E97491;
  margin: 4px 0;
  text-align: center;
}

/* Hits Product Actions - Based on Catalog Product Actions */
.hits-product-actions {
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Hits Add to Cart Button - Based on Catalog Add to Cart Button */
.hits-add-to-cart {
  width: 100%;
  max-width: 200px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #E97491 0%, #d65a7a 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
  position: relative;
  z-index: 10;
}

.hits-add-to-cart:hover {
  background: linear-gradient(135deg, #d65a7a 0%, #c44569 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 116, 145, 0.4);
}

.hits-add-to-cart:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(233, 116, 145, 0.3);
}

.hits-add-to-cart:focus {
  outline: none;
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.blog-card.featured {
  border: 2px solid #E97491;
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #E97491;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

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





.blog-card .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.blog-date {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.blog-category {
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.blog-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-author {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
}

.blog-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.blog-link {
  color: #304CD0;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
  margin-top: auto;
}

.blog-link:hover {
  color: #2a2c5d;
}

/* Instagram Section */
.instagram-section {
  padding: 80px 0;
  background: white;
}

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

.instagram-item {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-item:hover img {
  transform: scale(1.05);
}

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

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-stats {
  display: flex;
  gap: 20px;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.instagram-stats span:first-child::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 20px;
  background: white;
  margin-left: 10px;
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #304CD0 0%, #2a2c5d 100%);
  color: white;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 30px;
  line-height: 1.4;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form .form-group {
  display: flex;
  flex: 1;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
}

.newsletter-form button {
  padding: 15px 30px;
  background: #E97491;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #d86582;
}



/* Responsive Design */

/* Планшеты */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Large screens (2K, 4K) - remove side padding */
@media (min-width: 1920px) {
  .categories-grid-section .container,
  .bundle-section .container,
  .blog-section .container,
  .instagram-section .container,
  .newsletter-section .container {
    padding: 0 10px;
  }
}

@media (min-width: 2560px) {
  .categories-grid-section .container,
  .bundle-section .container,
  .blog-section .container,
  .instagram-section .container,
  .newsletter-section .container {
    padding: 0 5px;
  }
}

@media (max-width: 768px) {
  /* Уменьшаем отступы секций для планшетов */
  .categories-grid-section {
    padding: 24px 0;
  }
  
  .bundle-section {
    padding: 24px 0;
  }
  
  .hits-bestsellers-section {
    padding: 24px 0;
  }
  
  .blog-section {
    padding: 24px 0;
  }
  
  .instagram-section {
    padding: 24px 0;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-header {
    margin-bottom: 12px;
  }
  
  .section-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .hits-header {
    margin-bottom: 24px;
  }
  
  .hits-header h2 {
    font-size: 32px;
    margin-bottom: 6px;
  }
  
  .hits-header h3 {
    font-size: 18px;
  }
  
  .category-item .category-image {
    height: 250px;
  }
  
  .category-item .category-content {
    padding: 20px;
  }
  
  .category-item .category-content h3 {
    font-size: 18px;
  }
  
  /* .products-grid удален - теперь используется hits-products-grid */
  
  .hits-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 600px;
    margin-top: 16px;
  }
  
  .bundle-container {
    padding: 0 16px;
  }
  
  .hits-container {
    padding: 0 16px;
  }
  
  .bundle-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .bundle-main-image {
    max-width: 400px;
    height: 500px;
  }
  
  .bundle-products {
    gap: 15px;
  }
  
  .bundle-product-card {
    padding: 15px;
    gap: 15px;
  }
  
  .bundle-product-image {
    width: 100px;
    height: 100px;
  }
  
  .bundle-buy-button {
    padding: 12px 25px;
    font-size: 14px;
  }
  
  .bundle-title {
    font-size: 28px;
  }
  
  .bundle-subtitle {
    font-size: 16px;
  }
  
  .blog-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
  }
  
  .blog-card {
    flex: 0 0 280px;
    min-width: 280px;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  /* Улучшенные стили для newsletter на планшетах */
  .newsletter-section {
    padding: 32px 0;
  }
  
  .newsletter-text h2 {
    font-size: 24px;
    margin-bottom: 25px;
    line-height: 1.3;
  }
  
  .newsletter-form {
    flex-direction: column;
    max-width: 350px;
  }
  
  .newsletter-form .form-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .newsletter-form input {
    padding: 12px 18px;
    font-size: 15px;
  }
  
  .newsletter-form button {
    padding: 12px 25px;
    font-size: 15px;
    width: 100%;
  }
  
  /* .footer-links удален - не используется */
  
  /* .section-header удален - теперь используется hits-header */
  
  .bundle-text h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  /* Уменьшаем отступы секций для мобильных */
  .categories-grid-section {
    padding: 12px 0;
  }
  
  .bundle-section {
    padding: 12px 0;
  }
  
  .hits-bestsellers-section {
    padding: 12px 0;
  }
  
  .blog-section {
    padding: 12px 0;
  }
  
  .instagram-section {
    padding: 12px 0;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-header {
    margin-bottom: 8px;
  }
  
  .section-header h2 {
    font-size: 20px;
    margin-bottom: 4px;
  }
  
  .hits-header {
    margin-bottom: 16px;
  }
  
  .hits-header h2 {
    font-size: 24px;
    margin-bottom: 4px;
  }
  
  .hits-header h3 {
    font-size: 16px;
  }
  
  .category-item .category-image {
    height: 180px;
  }
  
  .category-item .category-content {
    padding: 12px;
  }
  
  .category-item .category-content h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  /* .products-grid удален - теперь используется hits-products-grid */
  
  .hits-products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 300px;
    margin-top: 12px;
  }
  
  .instagram-grid {
    grid-template-columns: 1fr;
  }
  
  /* .section-header удален - теперь используется hits-header */
  
  .bundle-text h2 {
    font-size: 20px;
  }
  
  /* Улучшенные стили для newsletter на мобильных */
  .newsletter-section {
    padding: 20px 0;
  }
  
  .bundle-container {
    padding: 0 12px;
  }
  
  .hits-container {
    padding: 0 12px;
  }
  
  .newsletter-content {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .newsletter-text h2 {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .newsletter-form {
    max-width: 100%;
  }
  
  .newsletter-form .form-group {
    gap: 12px;
  }
  
  .newsletter-form input {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 20px;
  }
  
  .newsletter-form button {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 20px;
  }
}

@media (max-width: 360px) {
  /* Минимальные отступы для очень маленьких экранов */
  .categories-grid-section {
    padding: 8px 0;
  }
  
  .bundle-section {
    padding: 8px 0;
  }
  
  .hits-bestsellers-section {
    padding: 8px 0;
  }
  
  .blog-section {
    padding: 8px 0;
  }
  
  .instagram-section {
    padding: 8px 0;
  }
  
  .categories-grid {
    gap: 8px;
    margin-top: 6px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-header {
    margin-bottom: 6px;
  }
  
  .section-header h2 {
    font-size: 18px;
    margin-bottom: 2px;
  }
  
  .hits-header {
    margin-bottom: 12px;
  }
  
  .hits-header h2 {
    font-size: 20px;
    margin-bottom: 2px;
  }
  
  .hits-header h3 {
    font-size: 14px;
  }
  
  .category-item .category-image {
    height: 140px;
  }
  
  .category-item .category-content {
    padding: 8px;
  }
  
  .category-item .category-content h3 {
    font-size: 14px;
    margin-bottom: 2px;
  }
  
  .hits-products-grid {
    gap: 8px;
    max-width: 280px;
    margin-top: 8px;
  }
  
  .bundle-content {
    gap: 16px;
  }
  
  .bundle-main-image {
    height: 300px;
  }
  
  .bundle-product-card {
    padding: 12px;
    gap: 12px;
  }
  
  .bundle-product-image {
    width: 80px;
    height: 80px;
  }
  
  .bundle-title {
    font-size: 20px;
  }
  
  .bundle-subtitle {
    font-size: 14px;
  }
  
  .bundle-buy-button {
    padding: 10px 20px;
    font-size: 12px;
  }
  
  .newsletter-section {
    padding: 12px 0;
  }
  
  .newsletter-text h2 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  
  .newsletter-form input {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .bundle-container {
    padding: 0 8px;
  }
  
  .hits-container {
    padding: 0 8px;
  }
  
  .newsletter-form button {
    padding: 8px 16px;
    font-size: 13px;
  }
} 

 

/* Стили для кастомной карусели */
/* Старые стили карусели удалены - теперь используется grid layout */

/* Стили для карусели в блоке "Наши новинки и хиты" */
.hits-bestsellers-section .carousel-container {
  position: relative;
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  padding-bottom: 20px;
  scroll-behavior: smooth;
}

.hits-bestsellers-section .carousel-track {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  width: max-content;
}

.hits-bestsellers-section .carousel-slide {
  flex: 0 0 280px;
  box-sizing: border-box;
}

.hits-bestsellers-section .carousel-slide .hits-product-card {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
}

.hits-bestsellers-section .carousel-slide .hits-product-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* Убираем дублирование - стили для .hits-product-info уже определены ниже */

.hits-bestsellers-section .carousel-slide .hits-product-card .hits-product-actions {
  margin-top: auto;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  margin-bottom: 0;
}

.hits-bestsellers-section .carousel-slide .hits-product-card .hits-add-to-cart {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border-radius: 8px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E97491 0%, #d65a7a 100%);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
}

.hits-bestsellers-section .carousel-slide .hits-product-card .hits-add-to-cart:hover {
  background: linear-gradient(135deg, #d65a7a 0%, #c44569 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 116, 145, 0.4);
}

.hits-bestsellers-section .carousel-slide .hits-product-card .hits-add-to-cart:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(233, 116, 145, 0.3);
}

.hits-bestsellers-section .carousel-slide .hits-product-card .hits-add-to-cart:focus {
  outline: none;
}

/* Стили для изображений в карусели */
.hits-bestsellers-section .carousel-slide .hits-product-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border-radius: 12px 12px 0 0;
}

.hits-bestsellers-section .carousel-slide .hits-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease;
  background: #f8f8f8 !important;
  max-width: none !important;
  max-height: none !important;
}

.hits-bestsellers-section .carousel-slide .hits-product-card:hover .hits-product-image img {
  transform: scale(1.05);
}

.hits-bestsellers-section .carousel-slide .hits-product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hits-bestsellers-section .carousel-slide .hits-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.hits-bestsellers-section .carousel-slide .hits-badge.hits-new {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.hits-bestsellers-section .carousel-slide .hits-badge.hits-hot {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.hits-bestsellers-section .carousel-slide .hits-product-info {
  padding: 15px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hits-bestsellers-section .carousel-slide .hits-product-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px 0;
  color: #232347;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hits-bestsellers-section .carousel-slide .hits-product-price {
  font-size: 18px;
  font-weight: 700;
  color: #E97491;
  margin: 8px 0 15px 0;
}

/* Кастомная полоса прокрутки для карусели */
.hits-bestsellers-section .carousel-container::-webkit-scrollbar {
  height: 8px;
}

.hits-bestsellers-section .carousel-container::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.hits-bestsellers-section .carousel-container::-webkit-scrollbar-thumb {
  background: #E97491;
  border-radius: 4px;
}

.hits-bestsellers-section .carousel-container::-webkit-scrollbar-thumb:hover {
  background: #d86582;
}

/* Адаптивность для карусели */
@media (max-width: 768px) {
  .hits-bestsellers-section .carousel-slide {
    flex: 0 0 240px;
  }
  
  .hits-bestsellers-section .carousel-track {
    gap: 15px;
    padding: 0 15px;
  }
  
  .hits-bestsellers-section .carousel-container::-webkit-scrollbar {
    height: 6px;
  }
}

/* Новый hero-блок под референс */
.hero-ref {
  background: #fff;
  padding: 40px 0;
  position: relative;
}
.hero-ref__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  gap: 40px;
}
.hero-ref__photos {
  position: relative;
  height: 400px;
  min-width: 350px;
}
.hero-ref__photo {
  position: absolute;
  background: #fff;
  border: 4px solid #e3e6f0;
  box-shadow: 0 6px 32px rgba(0,0,0,0.1);
  border-radius: 12px;
  width: 280px;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ref__photo--1 {
  top: 60px;
  left: 60px;
  transform: rotate(-8deg);
  z-index: 2;
}
.hero-ref__photo--2 {
  top: 160px;
  left: 140px;
  transform: rotate(10deg);
  z-index: 1;
}
.hero-ref__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-ref__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
}
/* Логотип удален из hero секции */
.hero-ref__catalog-btn {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #304CD0;
  background: none;
  border: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  padding: 0;
  transition: color 0.3s ease;
  outline: none;
  box-shadow: none;
  display: inline-block;
}
.hero-ref__catalog-btn:hover {
  color: #E97491;
}
.hero-ref__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 280px;
}
.hero-ref__stripe {
  background: #FFAFBF;
  color: #fff;
  font-family: 'Alumni Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 24px 8px 20px;
  margin-right: 0;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(255,175,191,0.15);
}
.hero-ref__stripe--1 {
  width: 360px;
  text-align: right;
}
.hero-ref__stripe--2 {
  width: 300px;
  text-align: right;
  margin-top: -10px;
}
.hero-ref__lama {
  position: absolute;
  right: 0;
  bottom: -120px;
  width: 220px;
  z-index: 10;
}

@media (max-width: 1100px) {
  .hero-ref {
    padding: 12px 0;
  }
  .hero-ref__container {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 98vw;
    gap: 20px;
    min-height: 350px;
  }
  .hero-ref__photos {
    min-width: 200px;
    height: 260px;
  }
  .hero-ref__photo {
    width: 150px;
    height: 150px;
  }
  .hero-ref__photo--2 {
    top: 70px;
    left: 60px;
  }
  .hero-ref__catalog-btn {
    font-size: 32px;
    padding: 0 16px;
  }
  .hero-ref__stripe {
    font-size: 22px;
    padding: 6px 18px 6px 12px;
  }
  .hero-ref__stripe--1 { width: 180px; }
  .hero-ref__stripe--2 { width: 140px; }
  .hero-ref__lama { width: 120px; }
}
@media (max-width: 768px) {
  .hero-ref {
    padding: 8px 0;
  }
  .hero-ref__container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    min-height: 0;
    gap: 24px;
    padding: 0 16px;
  }
  .hero-ref__photos {
    position: relative;
    min-width: 0;
    height: 200px;
    width: 100%;
    margin-bottom: 0;
  }
  .hero-ref__photo {
    position: absolute;
    width: 160px;
    height: 160px;
    border-width: 3px;
  }
  .hero-ref__photo--1 { 
    top: 20px; 
    left: 20%; 
    transform: rotate(8deg);
  }
  .hero-ref__photo--2 { 
    top: 70px; 
    left: 40%; 
    transform: rotate(-6deg);
  }
  .hero-ref__center { 
    gap: 20px; 
    text-align: center;
    padding-top: 15px;
  }
  .hero-ref__catalog-btn { 
    font-size: 28px; 
    padding: 8px 20px; 
    border-radius: 6px;
  }
  .hero-ref__right { 
    align-items: center; 
    min-width: 0; 
    position: relative;
    height: 160px;
  }
  .hero-ref__stripe { 
    font-size: 18px; 
    padding: 6px 16px 6px 12px; 
    border-radius: 3px;
  }
  .hero-ref__stripe--1 { 
    width: 280px; 
    max-width: 90vw; 
    text-align: center;
  }
  .hero-ref__stripe--2 { 
    width: 220px; 
    max-width: 70vw; 
    margin-top: -6px; 
    text-align: center;
  }
  .hero-ref__lama { 
    width: 120px; 
    right: 0; 
    bottom: -25px; 
    position: absolute;
  }
}

@media (max-width: 480px) {
  .hero-ref {
    padding: 6px 0;
  }
  .hero-ref__container {
    gap: 16px;
    padding: 0 12px;
  }
  .hero-ref__photos {
    height: 160px;
  }
  .hero-ref__photo {
    width: 120px;
    height: 120px;
    border-width: 2px;
  }
  .hero-ref__photo--1 { 
    top: 20px; 
    left: 15%; 
    transform: rotate(6deg);
  }
  .hero-ref__photo--2 { 
    top: 60px; 
    left: 45%; 
    transform: rotate(-4deg);
  }
  .hero-ref__center { 
    gap: 16px; 
    padding-top: 10px;
  }
  .hero-ref__catalog-btn { 
    font-size: 24px; 
    padding: 6px 16px; 
    border-radius: 4px;
  }
  .hero-ref__right { 
    height: 120px;
  }
  .hero-ref__stripe { 
    font-size: 16px; 
    padding: 4px 12px 4px 8px; 
    border-radius: 2px;
  }
  .hero-ref__stripe--1 { 
    width: 240px; 
    max-width: 85vw; 
  }
  .hero-ref__stripe--2 { 
    width: 180px; 
    max-width: 65vw; 
    margin-top: -4px; 
  }
  .hero-ref__lama { 
    width: 90px; 
    bottom: -20px; 
  }
}

@media (max-width: 360px) {
  .hero-ref {
    padding: 4px 0;
  }
  .hero-ref__container {
    gap: 12px;
    padding: 0 8px;
  }
  .hero-ref__photos {
    height: 140px;
  }
  .hero-ref__photo {
    width: 100px;
    height: 100px;
    border-width: 2px;
  }
  .hero-ref__photo--1 { 
    top: 15px;
    left: 12%; 
    transform: rotate(4deg);
  }
  .hero-ref__photo--2 { 
    top: 50px; 
    left: 42%; 
    transform: rotate(-3deg);
  }
  .hero-ref__center { 
    padding-top: 8px;
  }
  .hero-ref__catalog-btn { 
    font-size: 20px; 
    padding: 4px 12px; 
  }
  .hero-ref__right { 
    height: 100px;
  }
  .hero-ref__stripe { 
    font-size: 14px; 
    padding: 3px 8px 3px 6px; 
  }
  .hero-ref__stripe--1 { 
    width: 200px; 
    max-width: 80vw; 
  }
  .hero-ref__stripe--2 { 
    width: 150px; 
    max-width: 60vw; 
  }
  .hero-ref__lama { 
    width: 80px; 
    bottom: -15px; 
  }
}