/* Smart Gallery Pro Styles */

#sgp-gallery-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

#sgp-filters {
  margin-bottom: 20px;
  text-align: center;
  flex-wrap: wrap;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.sgp-filter-btn {
  padding: 10px 20px;
  border: none;
  background-color: #333;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.sgp-filter-btn:hover,
.sgp-filter-btn.active {
  background-color: #EE2D27;
}

#sgp-search {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  margin: 0 auto 20px;
  display: block;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#sgp-gallery-grid {
  column-count: 1;
  column-gap: 15px;
}

@media(min-width: 600px) {
  #sgp-gallery-grid {
    column-count: 2;
  }
}

@media(min-width: 900px) {
  #sgp-gallery-grid {
    column-count: 3;
  }
}

.sgp-gallery-item {
  break-inside: avoid;
  margin-bottom: 15px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.sgp-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.sgp-gallery-item:hover img {
  transform: scale(1.02);
}

.sgp-gallery-item .sgp-actions {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

.sgp-gallery-item .sgp-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
}

.sgp-gallery-item .sgp-actions button:hover {
  color: #EE2D27;
}

.sgp-category-label {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 5px;
}
