/* ===== LIGHTBOX GALLERY STYLES ===== */
/* Gallery Grid - Fully Responsive */
.gallery-container {
  margin: 0 auto;
  padding: 20px;
  max-width: 1400px;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.gallery-categories {
  margin-bottom: 20px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
}

.category-filter {
  padding: 8px 16px;
  background: #40403E;
  color: #E6E8DC;
  text-decoration: none;
  border-radius: 4px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 12px;
  white-space: nowrap;
  min-width: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.category-filter:hover,
.category-filter.active {
  background: #929280;
  color: #E6E8DC;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  position: relative !important;
  cursor: pointer;
  background: #40403E;
  border-radius: 4px;
  overflow: hidden !important;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  aspect-ratio: 1 !important;
  width: 100% !important;
  height: auto !important;
}

.gallery-item:hover {
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
  -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
  -o-object-position: center !important;
     object-position: center !important;
  display: block !important;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  max-width: none !important;
  max-height: none !important;
  min-height: 100% !important;
}

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

.gallery-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.8)));
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #E6E8DC;
  padding: 10px;
  font-size: 11px;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-info {
  opacity: 1;
}

.gallery-item-category {
  font-size: 10px;
  color: #929280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-item-price {
  font-weight: bold;
  margin-top: 2px;
}

.gallery-item-price.sold {
  color: #ff6b6b;
}

.gallery-item-price.buy {
  color: #51cf66;
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.lightbox-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
          box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

/* Lightbox Controls */
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #E6E8DC;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  color: #929280;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: rgba(64, 64, 62, 0.8);
  border: none;
  color: #E6E8DC;
  font-size: 24px;
  padding: 20px;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

.lightbox-nav:hover {
  background: rgba(146, 146, 128, 0.8);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

.lightbox-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Lightbox Info */
.lightbox-info {
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  background: rgba(64, 64, 62, 0.9);
  color: #E6E8DC;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
}

.lightbox-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.lightbox-description {
  font-size: 12px;
  margin-bottom: 5px;
  color: #929280;
}

.lightbox-details {
  font-size: 11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.lightbox-category {
  color: #929280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lightbox-price {
  font-weight: bold;
}

.lightbox-price.sold {
  color: #ff6b6b;
}

.lightbox-price.buy {
  color: #51cf66;
}

/* Loading Animation */
.lightbox-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: #E6E8DC;
  font-size: 18px;
}

.lightbox-loading::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #E6E8DC;
  border-radius: 50%;
  border-top-color: transparent;
  -webkit-animation: spin 1s linear infinite;
          animation: spin 1s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
/* Responsive Design - Enhanced */
/* Large Desktop */
@media (min-width: 1200px) {
  .gallery-container {
    padding: 30px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}
/* Desktop and Large Tablets */
@media (min-width: 992px) and (max-width: 1199px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}
/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .gallery-container {
    padding: 20px 15px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .category-filter {
    padding: 10px 14px;
    font-size: 13px;
  }
  .lightbox-container {
    max-width: 92%;
    max-height: 92%;
  }
}
/* Small Tablets and Large Phones - Switch to 2 columns */
@media (min-width: 576px) and (max-width: 767px) {
  .gallery-container {
    padding: 15px 10px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .gallery-categories {
    margin-bottom: 15px;
    gap: 6px;
  }
  .category-filter {
    padding: 8px 12px;
    font-size: 11px;
  }
}
/* Mobile Phones - Single column */
@media (max-width: 575px) {
  .gallery-container {
    padding: 10px 8px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .gallery-categories {
    margin-bottom: 12px;
    gap: 4px;
  }
  .category-filter {
    padding: 6px 10px;
    font-size: 10px;
  }
  .gallery-item-info {
    padding: 8px;
    font-size: 10px;
  }
  .gallery-item-title {
    font-size: 11px;
  }
  .lightbox-container {
    max-width: 95%;
    max-height: 95%;
  }
  .lightbox-nav {
    position: fixed;
    top: auto;
    bottom: 80px;
    -webkit-transform: none;
            transform: none;
    font-size: 16px;
    padding: 10px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .lightbox-prev {
    left: 15px;
  }
  .lightbox-next {
    right: 15px;
  }
  .lightbox-close {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 20px;
    background: rgba(64, 64, 62, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .lightbox-info {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    padding: 12px;
    max-height: 30vh;
    overflow-y: auto;
  }
  .lightbox-title {
    font-size: 14px;
  }
  .lightbox-description {
    font-size: 11px;
  }
  .lightbox-details {
    font-size: 10px;
    gap: 8px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
/* Very Small Mobile Devices - Single column with smaller images */
@media (max-width: 374px) {
  .gallery-container {
    padding: 8px 5px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .category-filter {
    padding: 5px 8px;
    font-size: 9px;
  }
  .gallery-item-info {
    padding: 6px;
    font-size: 9px;
  }
}
/* Hide elements when JavaScript is disabled */
.no-js .lightbox-overlay,
.no-js .category-filter {
  display: none !important;
}

.no-js .gallery-item {
  cursor: default;
}

.no-js .gallery-item:hover {
  -webkit-transform: none;
          transform: none;
}/*# sourceMappingURL=lightbox.css.map */