/* Showcase Styles */
.showcase-page {
  padding: 120px 30px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.showcase-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.showcase-header h1 {
  font-size: 48px;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #e94560, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}

.showcase-filters {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
}

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

.filter-group label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.filter-group select,
.filter-group input {
  padding: 10px 15px;
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: 10px;
  background: rgba(26, 26, 46, 0.8);
  color: white;
  font-size: 14px;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #e94560;
}

.price-filter input {
  width: 100px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(233, 69, 96, 0.2);
}

.product-image {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.product-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: #e94560;
}

.product-likes {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.7);
}

.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  transition: transform 0.3s;
  padding: 5px;
}

.like-btn:hover {
  transform: scale(1.2);
}

.like-btn.liked {
  animation: likeAnimation 0.5s;
}

@keyframes likeAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.product-actions {
  padding: 15px 20px 20px;
  display: flex;
  gap: 10px;
}

.product-actions .btn {
  flex: 1;
}

.loading,
.no-products {
  text-align: center;
  padding: 60px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  grid-column: 1 / -1;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #1a1a2e;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.product-modal-content {
  padding: 0;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-detail-gallery {
  position: relative;
}

.gallery-main {
  height: 400px;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 0;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-nav:hover {
  background: rgba(233, 69, 96, 0.8);
}

.gallery-prev {
  left: 15px;
}

.gallery-next {
  right: 15px;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  padding: 15px;
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.3);
}

.thumbnail {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
  flex-shrink: 0;
}

.thumbnail:hover {
  border-color: rgba(233, 69, 96, 0.5);
}

.thumbnail.active {
  border-color: #e94560;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-image {
  height: 500px;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
}

.product-detail-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.product-detail-info h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.product-detail-price {
  font-size: 36px;
  font-weight: 700;
  color: #e94560;
  margin-bottom: 10px;
}

.product-detail-likes {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.product-detail-info p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 30px;
  flex: 1;
}

.order-product-info {
  background: rgba(233, 69, 96, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.order-product-info h3 {
  margin-bottom: 5px;
}

.order-product-info .price {
  color: #e94560;
  font-size: 20px;
  font-weight: 600;
}

#order-form-showcase .form-group {
  margin-bottom: 20px;
}

#order-form-showcase label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

#order-form-showcase input,
#order-form-showcase textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: 10px;
  background: rgba(26, 26, 46, 0.8);
  color: white;
}

#order-form-showcase input:focus,
#order-form-showcase textarea:focus {
  outline: none;
  border-color: #e94560;
}

/* Responsive */
@media (max-width: 768px) {
  .showcase-header h1 {
    font-size: 32px;
  }

  .showcase-filters {
    flex-direction: column;
    gap: 15px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    height: 300px;
  }

  .product-detail-image img {
    border-radius: 20px 20px 0 0;
  }
}
