/* ===== ОБНОВЛЕННЫЕ АНИМАЦИИ ===== */
@keyframes float {
  0%, 100% { 
    transform: translateY(0) rotate(0deg); 
  }
  50% { 
    transform: translateY(-10px) rotate(5deg); 
  }
}

@keyframes bounce {
  0%, 100% { 
    transform: translateY(0) scale(1); 
  }
  50% { 
    transform: translateY(-15px) scale(1.05); 
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px) scale(0.9); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

@keyframes glow {
  0%, 100% { 
    opacity: 0.6; 
    transform: scale(1); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1.1); 
  }
}

@keyframes slideIn {
  from { 
    opacity: 0; 
    transform: translateX(-30px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

@keyframes rotate {
  from { 
    transform: rotate(0deg); 
  }
  to { 
    transform: rotate(360deg); 
  }
}

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

@keyframes switchView {
  0% { opacity: 0.7; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

.animate-float { 
  animation: float 4s ease-in-out infinite; 
}
.animate-bounce { 
  animation: bounce 3s ease-in-out infinite; 
}
.animate-fade-in { 
  animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; 
}
.animate-pulse { 
  animation: pulse 2s ease-in-out infinite; 
}
.animate-glow { 
  animation: glow 2s ease-in-out infinite; 
}

/* ===== ОПТИМИЗИРОВАННЫЕ ХЛЕБНЫЕ КРОШКИ ===== */
.zm-info-unique-breadcrumb-wrapper {
  margin-bottom: 30px;
}

.zm-info-unique-breadcrumb {
    background: linear-gradient(135deg, #4b2624 0%, #da4f49 50%, #4b2624 100%);
    border-radius: 20px;
    padding: 15px 20px;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 60px;
    box-shadow: 
        0 6px 20px rgba(218, 79, 73, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.zm-info-unique-breadcrumb::-webkit-scrollbar {
    display: none;
}

.zm-info-unique-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
    transition: left 0.6s ease;
}

.zm-info-unique-breadcrumb:hover::before {
    left: 100%;
}

.zm-info-unique-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.zm-info-unique-breadcrumb-link {
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 15px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zm-info-unique-breadcrumb-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.zm-info-unique-home-icon {
    font-size: 1.1rem;
    color: #FFD166;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    flex-shrink: 0;
}

.zm-info-unique-breadcrumb-link:hover .zm-info-unique-home-icon {
    transform: scale(1.2) rotate(10deg);
    color: #fff;
}

.zm-info-unique-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    display: inline-block;
}

.zm-info-unique-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 6px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    animation: separatorGlow 3s ease-in-out infinite;
    flex-shrink: 0;
}

/* ===== УЛУЧШЕННЫЙ АНИМИРОВАННЫЙ ФОН ===== */
.zoomag-animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.zoomag-animal {
  position: absolute;
  font-size: 2rem;
  opacity: 0.08;
  animation: animalFloat 8s ease-in-out infinite;
  filter: blur(0.5px);
  z-index: 1;
}

.zoomag-animal-1 { top: 10%; left: 5%; animation-delay: 0s; }
.zoomag-animal-2 { top: 20%; right: 8%; animation-delay: 1.5s; }
.zoomag-animal-3 { bottom: 25%; left: 12%; animation-delay: 3s; }
.zoomag-animal-4 { bottom: 15%; right: 18%; animation-delay: 4.5s; }
.zoomag-animal-5 { top: 45%; left: 85%; animation-delay: 6s; }
.zoomag-animal-6 { top: 65%; left: 75%; animation-delay: 7.5s; }

/* ===== УМЕНЬШЕННЫЙ ЗАГОЛОВОК КАТЕГОРИИ ===== */
.zoomag-category-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  border-radius: 20px;
  padding: 30px 25px;
  margin-bottom: 25px;
  color: white;
  text-align: center;
  overflow: hidden;
  box-shadow: 
      0 12px 25px rgba(102, 126, 234, 0.3),
      inset 0 1px 0 rgba(255,255,255,0.2);
}

.zoomag-title-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.zoomag-paw-left,
.zoomag-paw-right {
  position: absolute;
  font-size: 3rem;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

.zoomag-paw-left { top: 10px; left: 20px; animation-delay: 0s; }
.zoomag-paw-right { bottom: 10px; right: 20px; animation-delay: 3s; }

.zoomag-hexagon {
  position: absolute;
  width: 40px;
  height: 23px;
  background: rgba(255,255,255,0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotate 20s linear infinite;
}

.zoomag-hexagon-1 { top: 20%; left: 10%; animation-delay: 0s; }
.zoomag-hexagon-2 { top: 60%; right: 15%; animation-delay: 7s; }
.zoomag-hexagon-3 { bottom: 20%; left: 20%; animation-delay: 14s; }

.zoomag-category-title-wrapper {
  position: relative;
  z-index: 2;
}

.zoomag-category-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 
      1px 1px 3px rgba(0,0,0,0.3),
      0 0 20px rgba(255,255,255,0.4);
  background: linear-gradient(135deg, #fff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.zoomag-category-icon {
  position: relative;
  display: inline-block;
  margin-top: 15px;
}

.zoomag-category-thumb {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.4);
  box-shadow: 
      0 8px 20px rgba(0,0,0,0.3),
      inset 0 1px 3px rgba(255,255,255,0.3);
  position: relative;
  z-index: 2;
}

.zoomag-category-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85px;
  height: 85px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 3s ease-in-out infinite;
}

.zoomag-category-stats {
  background: rgba(255,255,255,0.15);
  padding: 15px 20px;
  border-radius: 18px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.zoomag-stats-content {
  text-align: center;
}

.zoomag-stats-icon {
  font-size: 1.5rem;
  color: #FFD166;
  margin-bottom: 6px;
  display: block;
  animation: bounce 3s ease-in-out infinite;
}

.zoomag-products-count {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.zoomag-stats-subtitle {
  font-size: 0.8rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ===== УЛУЧШЕННЫЙ АККОРДЕОН ===== */
.zoomag-category-accordion {
  margin-bottom: 30px;
}

.zoomag-accordion-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 253, 248, 0.95));
  border-radius: 18px;
  border: 2px solid rgba(110, 211, 207, 0.3);
  overflow: hidden;
  box-shadow: 
      0 6px 25px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.zoomag-accordion-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(110, 211, 207, 0.1), transparent);
  transition: left 0.6s ease;
}

.zoomag-accordion-item:hover::before {
  left: 100%;
}

.zoomag-accordion-item:hover {
  border-color: rgba(110, 211, 207, 0.6);
  box-shadow: 
      0 10px 30px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.zoomag-accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #2E282A;
  position: relative;
  z-index: 2;
}

.zoomag-accordion-header:hover {
  background: rgba(110, 211, 207, 0.08);
}

.zoomag-accordion-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zoomag-accordion-icon-wrapper {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #6ED3CF, #4ECDC4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(110, 211, 207, 0.3);
}

.zoomag-accordion-main-icon {
  font-size: 1.2rem;
  color: white;
}

.zoomag-accordion-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2E282A;
}

.zoomag-accordion-arrow {
  font-size: 1rem;
  color: #4ECDC4;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.zoomag-accordion-item.active .zoomag-accordion-arrow {
  transform: rotate(180deg);
  color: #FF6B6B;
}

.zoomag-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoomag-accordion-item.active .zoomag-accordion-content {
  max-height: 5000px;
}

.zoomag-description-content {
  padding: 25px;
  line-height: 1.7;
  color: #2E282A;
  font-size: 1rem;
}

.zoomag-accordion-collapse-btn-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px 25px;
  margin-top: 15px;
  border-top: 2px solid rgba(110, 211, 207, 0.2);
  background: rgba(248, 253, 248, 0.8);
}

.zoomag-accordion-collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6ED3CF, #4ECDC4);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(110, 211, 207, 0.4);
  position: relative;
  overflow: hidden;
}

.zoomag-accordion-collapse-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.zoomag-accordion-collapse-btn:hover::before {
  left: 100%;
}

.zoomag-accordion-collapse-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(110, 211, 207, 0.6);
  background: linear-gradient(135deg, #5EC3BF, #3EBDB4);
}

/* ===== УЛУЧШЕННЫЕ РЕЗУЛЬТАТЫ ===== */
.zoomag-results {
  padding: 15px 0;
}

.zoomag-results-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 12px 20px;
  border-radius: 18px;
  font-weight: 700;
  color: #2E282A;
  border: 2px solid rgba(78, 205, 196, 0.3);
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}

.zoomag-results-icon {
  font-size: 1.2rem;
  color: #4ECDC4;
  animation: pulse 2s ease-in-out infinite;
}

.zoomag-results-text {
  font-size: 1rem;
}

/* ===== УМЕНЬШЕННЫЕ ПОДКАТЕГОРИИ ===== */
.zoomag-subcategories-section {
  margin: 35px 0;
}

.zoomag-section-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.zoomag-subcategories-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2E282A;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #2E282A, #4ECDC4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.zoomag-section-icon {
  font-size: 1.5rem;
  color: #4ECDC4;
  animation: bounce 3s ease-in-out infinite;
}

.zoomag-section-decoration {
  position: relative;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4ECDC4, transparent);
  margin: 0 auto;
  width: 160px;
  border-radius: 2px;
}

.zoomag-section-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #FF6B6B, transparent);
  animation: slideIn 3s ease-in-out infinite;
}

.zoomag-subcategories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.zoomag-subcategory-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  color: #2E282A;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  box-shadow: 
      0 6px 20px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}

.zoomag-subcategory-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transition: left 0.7s ease;
}

.zoomag-subcategory-card:hover::before {
  left: 100%;
}

.zoomag-subcategory-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 
      0 18px 35px rgba(0,0,0,0.15),
      inset 0 1px 0 rgba(255,255,255,0.8);
  border-color: #4ECDC4;
}

.zoomag-subcategory-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.zoomag-subcategory-decoration {
  position: absolute;
  top: 12px;
  right: 12px;
}

.zoomag-subcategory-dots {
  width: 6px;
  height: 6px;
  background: #4ECDC4;
  border-radius: 50%;
  position: relative;
}

.zoomag-subcategory-dots::before,
.zoomag-subcategory-dots::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: #FF6B6B;
  border-radius: 50%;
}

.zoomag-subcategory-dots::before {
  top: -10px;
  left: 0;
}

.zoomag-subcategory-dots::after {
  top: 10px;
  left: 0;
}

.zoomag-subcategory-image {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 
      0 8px 18px rgba(0,0,0,0.2),
      inset 0 1px 3px rgba(255,255,255,0.3);
}

.zoomag-subcategory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.zoomag-subcategory-card:hover .zoomag-subcategory-img {
  transform: scale(1.15) rotate(5deg);
}

.zoomag-subcategory-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.9), rgba(255, 107, 107, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
  border-radius: 50%;
}

.zoomag-subcategory-card:hover .zoomag-subcategory-overlay {
  opacity: 1;
}

.zoomag-subcategory-overlay-icon {
  color: white;
  font-size: 1.8rem;
  transform: scale(0);
  transition: all 0.5s ease;
}

.zoomag-subcategory-card:hover .zoomag-subcategory-overlay-icon {
  transform: scale(1) rotate(360deg);
}

.zoomag-subcategory-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.5s ease;
}

.zoomag-subcategory-card:hover .zoomag-subcategory-glow {
  opacity: 1;
  animation: glow 2s ease-in-out infinite;
}

.zoomag-subcategory-icon {
  font-size: 3.5rem;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFE66D, #FF9E6D);
  border-radius: 50%;
  box-shadow: 
      0 8px 18px rgba(255, 158, 109, 0.4),
      inset 0 1px 3px rgba(255,255,255,0.3);
  animation: bounce 4s ease-in-out infinite;
}

.zoomag-subcategory-info {
  text-align: center;
}

.zoomag-subcategory-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #2E282A;
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #2E282A, #4ECDC4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.zoomag-subcategory-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.zoomag-subcategory-arrow {
  color: #4ECDC4;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.zoomag-subcategory-card:hover .zoomag-subcategory-arrow {
  transform: translateX(6px);
  color: #FF6B6B;
}

/* ===== УЛУЧШЕННАЯ ПАНЕЛЬ УПРАВЛЕНИЯ ===== */
.zoomag-controls-panel {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
  border: 2px solid rgba(78, 205, 196, 0.3);
  box-shadow: 
      0 10px 25px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}

.zoomag-controls-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(78, 205, 196, 0.05) 50%, transparent 70%);
  animation: slideIn 6s ease-in-out infinite;
}

.zoomag-compare-btn {
  background: linear-gradient(135deg, #FF6B6B, #FF9E6D);
  color: white;
  padding: 12px 20px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
  position: relative;
  overflow: hidden;
}

.zoomag-compare-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.zoomag-compare-btn:hover::before {
  left: 100%;
}

.zoomag-compare-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.6);
  color: white;
}

.zoomag-compare-icon-wrapper {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.zoomag-compare-icon {
  font-size: 1.1rem;
}

/* ===== СТИЛИ ДЛЯ ПЕРЕКЛЮЧЕНИЯ ВИДОВ ===== */
.zoomag-view-toggle {
  display: flex;
  gap: 8px;
  background: white;
  padding: 8px;
  border-radius: 15px;
  box-shadow: 
      0 5px 15px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.8);
  border: 2px solid rgba(78, 205, 196, 0.2);
}

.zoomag-view-btn {
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: 10px;
  color: #6c757d;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent !important;
}

.zoomag-view-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.zoomag-view-btn:hover::before {
  left: 100%;
}

.zoomag-view-btn.zoomag-view-active {
  background: linear-gradient(135deg, #4ECDC4, #6ED3CF) !important;
  color: white !important;
  box-shadow: 0 3px 12px rgba(78, 205, 196, 0.4) !important;
  border-color: #4ECDC4 !important;
  transform: scale(1.05);
}

.zoomag-view-btn:not(.zoomag-view-active):hover {
  border-color: rgba(78, 205, 196, 0.3) !important;
  background: rgba(78, 205, 196, 0.08) !important;
  color: #4ECDC4 !important;
  transform: translateY(-2px);
}

.zoomag-view-icon {
  font-size: 1rem;
}

.zoomag-select-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zoomag-select-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #2E282A;
  white-space: nowrap;
}

.zoomag-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.zoomag-select {
  padding: 10px 40px 10px 16px;
  border: 2px solid #4ECDC4;
  border-radius: 12px;
  background: white;
  color: #2E282A;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  min-width: 180px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.zoomag-select:focus {
  outline: none;
  border-color: #FF6B6B;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.zoomag-select-arrow {
  position: absolute;
  right: 16px;
  color: #4ECDC4;
  pointer-events: none;
  transition: all 0.3s ease;
}

.zoomag-select:focus + .zoomag-select-arrow {
  color: #FF6B6B;
  transform: rotate(180deg);
}

/* ===== УЛУЧШЕННЫЙ ДЕЛИТЕР ===== */
.zoomag-divider {
  margin: 35px 0;
  text-align: center;
}

.zoomag-paw-divider {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 1.5rem;
  opacity: 0.8;
}

.zoomag-paw-divider span {
  animation: bounce 2.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.zoomag-paw-divider span:nth-child(2) { animation-delay: 0.3s; }
.zoomag-paw-divider span:nth-child(3) { animation-delay: 0.6s; }
.zoomag-paw-divider span:nth-child(4) { animation-delay: 0.9s; }
.zoomag-paw-divider span:nth-child(5) { animation-delay: 1.2s; }

/* ===== ЕДИНЫЙ РАЗМЕР ДЛЯ ТОВАРОВ ZOOMAG ===== */
.zoomag-products-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  margin: 25px 0 !important;
  animation: switchView 0.3s ease;
}

.zoomag-product-item {
  width: 100% !important;
  min-height: 420px !important;
  flex: 0 0 auto !important;
  margin-bottom: 0 !important;
  position: relative !important;
}

.product-thumb {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border: 2px solid rgba(120, 0, 0, 0.1) !important;
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative !important;
}

.product-thumb:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(139, 0, 0, 0.2) !important;
  border-color: rgba(139, 0, 0, 0.3) !important;
}

.image {
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  position: relative !important;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
}

.image a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.product-thumb:hover .image img {
  transform: scale(1.1) !important;
}

.caption {
  padding: 18px !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background: white !important;
}

.caption h4 {
  font-size: 15px !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
  min-height: 42px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  font-weight: 600 !important;
}

.caption h4 a {
  color: #2a0b0b !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.caption h4 a:hover {
  color: #8B0000 !important;
}

.price {
  font-size: 18px !important;
  font-weight: bold !important;
  color: #8B0000 !important;
  margin-bottom: 12px !important;
  font-family: 'Segoe UI', system-ui, sans-serif !important;
}

.price-new {
  color: #8B0000 !important;
}

.price-old {
  color: #999 !important;
  text-decoration: line-through !important;
  font-size: 15px !important;
  margin-left: 6px !important;
}

.button-group {
  display: flex !important;
  gap: 6px !important;
  margin-top: auto !important;
}

.btn-cart, .btn-wishlist, .btn-compare {
  flex: 1 !important;
  padding: 10px 12px !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

.btn-cart {
  background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%) !important;
  color: white !important;
}

.btn-cart:hover {
  background: linear-gradient(135deg, #A52A2A 0%, #8B0000 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 3px 10px rgba(139, 0, 0, 0.3) !important;
}

.btn-wishlist, .btn-compare {
  background: linear-gradient(135deg, #4a1a1a 0%, #2a0b0b 100%) !important;
  color: white !important;
  flex: 0 0 40px !important;
  width: 40px !important;
}

.btn-wishlist:hover, .btn-compare:hover {
  background: linear-gradient(135deg, #2a0b0b 0%, #4a1a1a 100%) !important;
  transform: translateY(-2px) !important;
}

.rating {
  margin-bottom: 8px !important;
}

.zoomag-product-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 18px;
}

.zoomag-product-item:hover .zoomag-product-glow {
  opacity: 1;
}

/* ===== УЛУЧШЕННОЕ ПУСТОЕ СОСТОЯНИЕ ===== */
.zoomag-empty-state {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 25px;
  margin: 35px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 
      0 15px 30px rgba(0,0,0,0.1),
      inset 0 1px 0 rgba(255,255,255,0.8);
}

.zoomag-empty-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 40%, rgba(78, 205, 196, 0.05) 50%, transparent 60%);
  animation: slideIn 8s ease-in-out infinite;
}

.zoomag-empty-icon {
  font-size: 4.5rem;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

.zoomag-empty-title {
  font-size: 2rem;
  font-weight: 800;
  color: #2E282A;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #2E282A, #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.zoomag-empty-text {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.zoomag-empty-animals {
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.zoomag-empty-animal {
  font-size: 2.8rem;
  margin: 0 15px;
  animation: float 4s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

.zoomag-empty-animal:nth-child(2) { animation-delay: 1s; }
.zoomag-empty-animal:nth-child(3) { animation-delay: 2s; }
.zoomag-empty-animal:nth-child(4) { animation-delay: 3s; }

.zoomag-empty-btn {
  background: linear-gradient(135deg, #4ECDC4, #6ED3CF);
  color: white;
  padding: 15px 28px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.zoomag-empty-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.zoomag-empty-btn:hover::before {
  left: 100%;
}

.zoomag-empty-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(78, 205, 196, 0.6);
  color: white;
}

.zoomag-empty-btn-icon {
  font-size: 1.1rem;
}

/* ===== МОБИЛЬНАЯ ОПТИМИЗАЦИЯ ===== */
@media (max-width: 768px) {
  /* Контейнеры и отступы */
  #product-category.zoomag-category-page {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .zoomag-category-header {
    padding: 20px 15px !important;
    border-radius: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .zoomag-category-title {
    font-size: 1.4rem !important;
    margin-bottom: 12px !important;
  }
  
  /* Хлебные крошки */
  .zm-info-unique-breadcrumb {
    padding: 10px 12px !important;
    height: 60px !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    overflow-x: auto !important;
  }
  
  .zm-info-unique-breadcrumb-link {
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
    max-width: 160px !important;
  }
  
  .zm-info-unique-text {
    max-width: 120px !important;
  }
  
  /* Панель управления */
  .zoomag-controls-panel {
    padding: 15px 12px !important;
    margin: 20px 0 !important;
    border-radius: 15px !important;
  }
  
  .zoomag-compare-btn {
    padding: 10px 15px !important;
    font-size: 0.8rem !important;
    justify-content: center;
    margin-bottom: 15px;
  }
  
  .zoomag-controls-panel .row {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Переключение вида */
  .zoomag-view-toggle {
    flex-direction: row !important;
    justify-content: center;
    gap: 6px !important;
    padding: 6px !important;
  }
  
  .zoomag-view-btn {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    flex: 1;
    justify-content: center;
  }
  
  /* Сортировка и лимит */
  .zoomag-select-group {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    width: 100% !important;
  }
  
  .zoomag-select {
    min-width: 100% !important;
    padding: 8px 35px 8px 12px !important;
    font-size: 0.85rem !important;
  }
  
  /* Товары */
  .zoomag-products-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 15px 0 !important;
  }
  
  .zoomag-product-item {
    min-height: 360px !important;
  }
  
  .product-thumb {
    border-radius: 12px !important;
  }
  
  .image {
    height: 160px !important;
  }
  
  .caption {
    padding: 12px !important;
  }
  
  .caption h4 {
    font-size: 13px !important;
    min-height: 38px !important;
    margin-bottom: 6px !important;
  }
  
  .price {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }
  
  .button-group {
    gap: 4px !important;
  }
  
  .btn-cart, .btn-wishlist, .btn-compare {
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
    min-height: 36px !important;
  }
  
  .btn-wishlist, .btn-compare {
    flex: 0 0 36px !important;
    width: 36px !important;
  }
  
  /* Подкатегории */
  .zoomag-subcategories-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .zoomag-subcategory-card {
    padding: 15px !important;
    border-radius: 15px !important;
  }
  
  .zoomag-subcategory-image {
    width: 70px !important;
    height: 70px !important;
  }
  
  .zoomag-subcategory-icon {
    width: 70px !important;
    height: 70px !important;
    font-size: 2.5rem !important;
  }
  
  .zoomag-subcategory-name {
    font-size: 1rem !important;
  }
  
  /* Аккордеон */
  .zoomag-accordion-header {
    padding: 15px 18px !important;
  }
  
  .zoomag-accordion-title {
    font-size: 1rem !important;
  }
  
  .zoomag-description-content {
    padding: 15px !important;
    font-size: 0.9rem !important;
  }
  
  /* Пустое состояние */
  .zoomag-empty-state {
    padding: 40px 15px !important;
    border-radius: 20px !important;
  }
  
  .zoomag-empty-title {
    font-size: 1.5rem !important;
  }
  
  .zoomag-empty-text {
    font-size: 0.95rem !important;
    margin-bottom: 25px !important;
  }
  
  .zoomag-empty-animal {
    font-size: 2rem !important;
    margin: 0 8px !important;
  }
  
  .zoomag-empty-btn {
    padding: 12px 20px !important;
    font-size: 0.85rem !important;
  }
  
  /* Разделитель */
  .zoomag-paw-divider {
    gap: 8px !important;
    font-size: 1.2rem !important;
  }
  
  /* Результаты и пагинация */
  .zoomag-results-content {
    padding: 10px 15px !important;
    font-size: 0.85rem !important;
  }
  
  .zoomag-pagination-wrapper {
    margin-top: 12px !important;
  }
  
  .zoomag-products-footer .row {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Дополнительные адаптивные стили для очень маленьких экранов */
@media (max-width: 380px) {
  .zoomag-category-title {
    font-size: 1.2rem !important;
  }
  
  .zoomag-products-grid {
    gap: 10px !important;
  }
  
  .zoomag-product-item {
    min-height: 340px !important;
  }
  
  .image {
    height: 140px !important;
  }
  
  .caption {
    padding: 10px !important;
  }
  
  .button-group {
    flex-direction: column !important;
  }
  
  .btn-wishlist, .btn-compare {
    width: 100% !important;
    flex: 1 !important;
  }
  
  .zm-info-unique-breadcrumb-link {
    max-width: 140px !important;
  }
  
  .zm-info-unique-text {
    max-width: 100px !important;
  }
}

/* Оптимизация для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
  .zoomag-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  .zoomag-product-item {
    min-height: 380px !important;
  }
  
  .image {
    height: 180px !important;
  }
  
  .zoomag-subcategories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Улучшенная адаптивность для средних экранов */
@media (max-width: 992px) and (min-width: 769px) {
  .zoomag-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .zoomag-subcategories-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Улучшенная читаемость на мобильных */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  h1, h2, h3 {
    line-height: 1.3;
  }
  
  .zoomag-category-title {
    line-height: 1.2;
  }
  
  /* Улучшение касаний */
  .zoomag-view-btn,
  .zoomag-compare-btn,
  .zoomag-empty-btn,
  .btn-cart,
  .btn-wishlist,
  .btn-compare {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Увеличение области клика для ссылок */
  .zoomag-subcategory-card,
  .zm-info-unique-breadcrumb-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Дополнительные анимации для животных фона */
@keyframes animalFloat {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg); 
  }
  25% { 
    transform: translate(20px, -15px) rotate(5deg);
  }
  50% { 
    transform: translate(-15px, 20px) rotate(-5deg);
  }
  75% { 
    transform: translate(15px, -20px) rotate(3deg);
  }
}

@keyframes separatorGlow {
  0%, 100% { 
    opacity: 0.7; 
  }
  50% { 
    opacity: 1; 
  }
}

/* === ZOOMAG 2026 HOTFIX: catalog card proportions + breadcrumb plate === */
.zoomag-products-grid{grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; gap: 18px !important;}
.product-thumb .image{
  height: 168px !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eef7f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.product-thumb .image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  max-height: 100% !important;
  border-radius: 8px !important;
  display:block !important;
}

/* единая плашка хлебных крошек в стиле страницы товара */
.zm-ui-breadcrumbs-wrap,
.zm-info-unique-breadcrumb-wrapper,
.zm-cat-breadcrumb-wrap{
  background: #fff !important;
  border: 1px solid rgba(99,102,241,.14) !important;
  border-radius: 16px !important;
  padding: 10px 14px !important;
  box-shadow: 0 8px 20px rgba(17,24,39,.05) !important;
}
.zm-ui-breadcrumbs,
.zm-info-unique-breadcrumb,
.zm-cat-breadcrumb{
  display:flex !important;
  flex-wrap: wrap !important;
  align-items:center !important;
  gap: 8px !important;
  list-style:none !important;
  margin:0 !important;
  padding:6px 8px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #6a1f1f 0%, #4a1515 45%, #2b1224 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 18px rgba(42,16,24,.18) !important;
}
.zm-ui-breadcrumbs > li,
.zm-info-unique-breadcrumb > li,
.zm-cat-breadcrumb > li{display:inline-flex !important; align-items:center !important; gap:8px !important; margin:0 !important;}
.zm-ui-breadcrumbs a,
.zm-info-unique-breadcrumb-link,
.zm-cat-breadcrumb a{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  height: 30px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  color: #f7f3ef !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  text-decoration:none !important;
  font-weight:600 !important;
  font-size: 13px !important;
}
.zm-ui-breadcrumbs li.active, .zm-ui-breadcrumbs li.active > span,
.zm-info-unique-breadcrumb-item.is-active,
.zm-cat-breadcrumb li.active{
  color: #ffd7c8 !important;
  font-weight:700 !important;
}
.zm-ui-breadcrumbs li.active > span,
.zm-info-unique-breadcrumb-item.is-active .zm-info-unique-home-text,
.zm-cat-breadcrumb li.active > span{
  display:inline-flex !important;
  align-items:center !important;
  height: 30px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
}
.zm-ui-breadcrumbs li + li::before,
.zm-cat-breadcrumb li + li::before{
  content:'›';
  color: rgba(255,255,255,.6);
  font-weight:700;
  margin-right:2px;
}
