/* store.css */
.store-section {
  padding: 40px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Category filter */
.store-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(20, 22, 32, 0.8);
  border: 1px solid rgba(78, 140, 255, 0.1);
  color: #8888a0;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s;
}

.filter-btn:hover {
  color: #e0e0e8;
  border-color: rgba(91, 155, 255, 0.25);
}

.filter-btn.active {
  background: rgba(91, 155, 255, 0.12);
  color: #5b9bff;
  border-color: rgba(91, 155, 255, 0.3);
}

/* Product grid */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Product card */
.product-card {
  background: rgba(20, 22, 32, 0.8);
  border: 1px solid rgba(78, 140, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(91, 155, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(91, 155, 255, 0.12);
}

.product-thumb {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: rgba(10, 10, 20, 0.6);
  border-bottom: 1px solid rgba(78, 140, 255, 0.06);
}

.product-info {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  display: inline-block;
  background: rgba(91, 155, 255, 0.1);
  color: #7cb3ff;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  align-self: flex-start;
}

.product-category.cat-script { background: rgba(91, 155, 255, 0.1); color: #7cb3ff; }
.product-category.cat-vehicle { background: rgba(255, 171, 64, 0.1); color: #ffab40; }
.product-category.cat-mlo { background: rgba(105, 240, 174, 0.1); color: #69f0ae; }
.product-category.cat-ui { background: rgba(234, 128, 252, 0.1); color: #ea80fc; }

.product-info h3 {
  color: #e0e0e8;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-info .product-desc {
  color: #8888a0;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.product-info .product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.product-info .product-tags span {
  background: rgba(124, 77, 255, 0.08);
  color: #a78bfa;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-top: 1px solid rgba(78, 140, 255, 0.06);
  background: rgba(10, 10, 20, 0.3);
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #5b9bff;
}

.product-price .was-price {
  text-decoration: line-through;
  color: #555;
  font-size: 0.85rem;
  font-weight: 400;
  margin-right: 6px;
}

.btn-purchase {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #5b9bff, #7c4dff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.btn-purchase:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(91, 155, 255, 0.35);
}

.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(91, 155, 255, 0.1);
  color: #5b9bff;
  border: 1px solid rgba(91, 155, 255, 0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.btn-details:hover {
  background: rgba(91, 155, 255, 0.18);
  border-color: rgba(91, 155, 255, 0.4);
}

/* Empty state when filter returns nothing */
.store-empty {
  text-align: center;
  padding: 60px 20px;
  color: #555;
  font-size: 1rem;
  display: none;
}

@media (max-width: 768px) {
  .store-section {
    padding: 30px 16px 60px;
  }
  .store-grid {
    grid-template-columns: 1fr;
  }
  .store-filters {
    gap: 6px;
  }
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}
