.product-bage-block .bage, .product-bage-block .bage yandex-pay-badge img {
  cursor: pointer;
}

.popup-info-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: flex-start;
  z-index: 10000;
  padding: 20px;
  backdrop-filter: blur(5px);
  /*overflow-y: auto;*/
  overflow: hidden;
}

.popup-info-popup-overlay.show {
  display: flex;
}

.popup-info-popup-container {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: popup-info-popupShow 0.5s ease-out;
  position: relative;
  margin: auto;
  max-height: 90vh;
  /*overflow-y: auto;*/
  overflow: hidden;
}

.popup-info-popup-header {
  background: #f3f3f7;
  padding: 10px;
  text-align: center;
  color: #000000;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
  min-height: 35px;
}

.popup-info-popup-header h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.popup-info-popup-header p {
  opacity: 0.9;
  font-size: 0.9rem;
  margin: 0;
}

.popup-info-close-btn {
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 15px;
  background: none;
  border: none;
  color: #000000;
  font-size: 1.5rem;
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 1;
}

.popup-info-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.popup-info-popup-content {
  padding: 15px;
  max-height: calc(90vh - 100px); /* Ограничиваем высоту контента */
  overflow-y: auto; /* Прокрутка только для контента */
}
/* Стили для скроллбара в контенте */
.popup-info-popup-content::-webkit-scrollbar {
  width: 6px;
}

.popup-info-popup-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.popup-info-popup-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.popup-info-popup-content::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.popup-info-popup-content .loading {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.popup-info-popup-content .loading i {
  font-size: 3rem;
  color: #c7c7c7;
}

.popup-info-popup-promo {
  background: #f3f3f7;
  border-radius: 15px;
  padding: 10px;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 10px;
  border: 1px solid #fce908;
}

.popup-info-popup-code {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 4px;
  margin: 8px 0;
  color: #2c3e50;
  word-break: break-all;
}

.popup-info-popup-discount {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #28a745;
}

.popup-info-popup-date {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 10px;
  color: #6c757d;
}

.popup-info-copy-btn {
  background: #fce908;
  border: 2px solid #fce908;
  color: #000000;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.popup-info-copy-btn:hover {
  background: #000000;
  color: #fce908;
  border-color: #000000;
}

.popup-info-popup-info {
  margin-bottom: 20px;
}

.popup-info-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
}

.popup-info-info-icon {
  width: 35px;
  height: 35px;
  background: #fce908;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #000000;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.popup-info-info-text {
  flex: 1;
}

.popup-info-info-text h3 {
  margin-bottom: 4px;
  color: #2c3e50;
  font-size: 1rem;
}

.popup-info-info-text p {
  color: #7f8c8d;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 2px 0;
}

.popup-info-understand-btn {
  background: #fce908;
  color: #000000;
  border: none;
  padding: 14px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 1rem;
}

.popup-info-understand-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 233, 8, 0.4);
}

@keyframes popup-info-popupShow {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Общие стили для всех контейнеров в попапе */
.popup-reward-container,
.split-container,
.yapay-container {
  padding: 15px;
}

/* Анимированный градиентный фон */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* секция для Pop-Баллов */
.popup-reward-container .pop-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: white;
  text-align: center;
  margin: -15px -15px 10px -15px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.popup-reward-container .pop-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.popup-reward-container .pop-hero h1 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
  position: relative;
  animation: fadeInUp 0.8s ease;
}

.popup-reward-container .pop-hero p {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Общие стили для заголовков секций */
.popup-reward-container .pop-section-title,
.split-title,
.yapay-title {
  text-align: center;
  margin-bottom: 5px;
  position: relative;
}

.popup-reward-container .pop-section-title h2,
.split-title,
.yapay-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  padding-bottom: 10px;
  position: relative;
}

.popup-reward-container .pop-section-title h2::after,
.split-title::after,
.yapay-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Общие стили для карточек и сеток */
.popup-reward-container .pop-cards-container,
.split-images-grid,
.yapay-images-grid-top,
.yapay-images-grid-bottom {
  display: grid;
  gap: 15px;
  margin-bottom: 30px;
}

/* Специфичные настройки сеток */
.popup-reward-container .pop-cards-container {
  grid-template-columns: repeat(3, 1fr);
}

.split-images-grid {
  grid-template-columns: repeat(4, 1fr);
}

.yapay-images-grid-top,
.yapay-images-grid-bottom {
  grid-template-columns: repeat(3, 1fr);
}

/* Общие стили для карточек */
.popup-reward-container .pop-card {
  background: white;
  border-radius: 12px;
  padding: 20px 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.popup-reward-container .pop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.popup-reward-container .pop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.popup-reward-container .pop-card:hover::before {
  transform: scaleX(1);
}

/* Иконки карточек */
.popup-reward-container .pop-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.popup-reward-container .pop-card:hover .pop-card-icon {
  transform: scale(1.1);
}

.popup-reward-container .pop-card-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Текст в карточках */
.popup-reward-container .pop-card h3 {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.popup-reward-container .pop-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.popup-reward-container .pop-card ul {
  text-align: left;
  margin-top: 10px;
  padding-left: 20px;
}

.popup-reward-container .pop-card li {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
  position: relative;
  padding-left: 20px;
}

.popup-reward-container .pop-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

/* Бонус информация */
.popup-reward-container .pop-bonus-info {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.popup-reward-container .pop-bonus-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.popup-reward-container .pop-bonus-info p {
  font-size: 14px;
  margin-bottom: 10px;
  position: relative;
}

.popup-reward-container .pop-bonus-value {
  font-size: 24px;
  font-weight: bold;
  margin: 15px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

/* Общие стили для баннеров */
.split-banner,
.yapay-banner {
  width: 100%;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 8px;
}

.split-banner-img,
.yapay-banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.split-banner-img {
  max-height: 400px;
}

.yapay-banner-img {
  max-height: 200px;
}

/* Общие стили для элементов изображений */
.split-image-item,
.yapay-image-item {
  text-align: center;
}

.split-img,
.yapay-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.split-img:hover,
.yapay-img:hover {
  transform: scale(1.05);
}

.split-img {
  max-width: 348px;
  max-height: 371px;
}

.yapay-img {
  max-width: 471px;
  max-height: 334px;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
  .popup-reward-container .pop-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .split-images-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .yapay-images-grid-top,
  .yapay-images-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .popup-reward-container .pop-hero h1 {
    font-size: 22px;
  }
  
  .popup-reward-container .pop-section-title h2,
  .split-title,
  .yapay-title {
    font-size: 18px;
  }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .popup-info-popup-overlay {
    padding: 10px;
    align-items: flex-start;
  }
  
  .popup-info-popup-container {
    max-height: 95vh;
    margin: 10px auto;
  }
  
  .popup-info-popup-header {
    padding: 15px;
  }
  
  .popup-info-popup-header h2 {
    font-size: 1.3rem;
    padding-right: 30px;
  }
  
  .popup-info-popup-content {
    padding: 10px;
  }
  
  .popup-info-popup-promo {
    padding: 15px;
  }
  
  .popup-info-popup-code {
    font-size: 1.6rem;
    letter-spacing: 3px;
  }
  
  .popup-info-close-btn {
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 1.3rem;
  }
  
  .popup-reward-container,
  .split-container,
  .yapay-container {
    padding: 5px;
  }
  
  .popup-reward-container .pop-hero {
    margin: -10px -10px 20px -10px;
    padding: 25px 15px;
  }
  
  .popup-reward-container .pop-cards-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .popup-reward-container .pop-card {
    padding: 18px 12px;
  }
  
  .popup-reward-container .pop-card-icon {
    width: 50px;
    height: 50px;
  }
  
  .popup-reward-container .pop-card-icon img {
    width: 25px;
    height: 25px;
  }
  
  .popup-reward-container .pop-bonus-info {
    padding: 20px 15px;
  }
  
  .popup-reward-container .pop-bonus-value {
    font-size: 20px;
  }
  
  .split-banner,
  .yapay-banner {
    margin-bottom: 20px;
  }
  
  /* Мобильные изображения Яндекс Пэй */
  .yapay-images-grid-top .yapay-img {
    max-height: 320px;
    object-fit: contain;
  }
  
  .yapay-images-grid-bottom .yapay-img {
    max-height: 340px;
    object-fit: contain;
  }
  
  .yapay-banner-img {
    max-height: 120px;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .popup-info-popup-header h2 {
    font-size: 1.1rem;
  }
  
  .popup-info-popup-code {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  
  .popup-info-popup-discount {
    font-size: 1.1rem;
  }
  
  .popup-info-info-item {
    padding: 10px;
  }
  
  .popup-info-info-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  
  .popup-info-understand-btn {
    padding: 12px;
    font-size: 0.9rem;
  }
  
  .popup-reward-container .pop-hero h1 {
    font-size: 20px;
  }
  
  .popup-reward-container .pop-hero p {
    font-size: 13px;
  }
  
  .popup-reward-container .pop-section-title h2,
  .split-title,
  .yapay-title {
    font-size: 16px;
  }
  
  .popup-reward-container .pop-card h3 {
    font-size: 15px;
  }
  
  .popup-reward-container .pop-card p,
  .popup-reward-container .pop-card li {
    font-size: 12px;
  }
  
  /* Уменьшаем мобильные изображения на очень маленьких экранах */
  .yapay-images-grid-top .yapay-img {
    max-height: 280px;
  }
  
  .yapay-images-grid-bottom .yapay-img {
    max-height: 300px;
  }
  
  .yapay-banner-img {
    max-height: 100px;
  }
}

/* Убраны дублирующиеся медиа-запросы и исправлены ошибки */