/* RST Product Enrichment - Galería de Screenshots */

.rst-pe-screenshots-section {
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
}

.rst-pe-screenshots-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rst-pe-screenshots-title i {
  font-size: 20px;
  color: #007bff;
}

.rst-pe-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.rst-pe-screenshot-item {
  position: relative;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.rst-pe-screenshot-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.rst-pe-screenshot-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

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

.rst-pe-screenshot-overlay i {
  font-size: 32px;
  color: white;
}

.rst-pe-screenshot-item:hover .rst-pe-screenshot-thumb {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.rst-pe-screenshot-item:hover .rst-pe-screenshot-overlay {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .rst-pe-screenshots-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .rst-pe-screenshots-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .rst-pe-screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rst-pe-screenshot-item {
    aspect-ratio: 16 / 9;
  }

  .rst-pe-screenshots-section {
    margin: 15px 0;
    padding: 15px 0;
  }
}
