.store-section {
  padding: 8rem 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
}

.store-header {
  text-align: center;
  margin-bottom: 4rem;
}

.search-container {
  max-width: 600px;
  margin: 2rem auto 0;
  position: relative;
  display: flex;
  align-items: center;
}

#product-search {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

#product-search:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  font-size: 1.2rem;
  opacity: 0.7;
  pointer-events: none;
}

.store-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.store-subtitle {
  font-size: 1.2rem;
  color: #b0b0b0;
  max-width: 700px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.product-card {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15);
}

.product-image-container {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-platform {
  font-size: 0.8rem;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.product-price-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-final-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
}

.product-original-price {
  font-size: 1.1rem;
  color: #666;
  text-decoration: line-through;
}

.product-discount {
  background: rgba(255, 0, 255, 0.15);
  color: #ff00ff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

.order-button {
  background: linear-gradient(135deg, #0099ff 0%, #a033ff 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 153, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Messenger logo icon */
.order-button::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0C5.373 0 0 4.975 0 11.111c0 3.497 1.745 6.616 4.472 8.652V24l4.086-2.242c1.09.301 2.246.464 3.442.464 6.627 0 12-4.974 12-11.11C24 4.975 18.627 0 12 0zm1.193 14.963l-3.056-3.259-5.963 3.259L10.986 8.4l3.13 3.259 5.89-3.259-6.813 6.563z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Shimmer sweep on hover */
.order-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.order-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 153, 255, 0.55), 0 0 0 1px rgba(160, 51, 255, 0.5);
  background: linear-gradient(135deg, #00aaff 0%, #bb44ff 100%);
  color: #ffffff;
}

.order-button:hover::after {
  left: 150%;
}

.order-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 153, 255, 0.4);
}

/* Loading Spinner */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 255, 255, 0.1);
  border-top: 5px solid #00ffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-message {
  text-align: center;
  color: #ff4444;
  padding: 2rem;
  background: rgba(255, 68, 68, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 68, 68, 0.3);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 30px;
  border: 1px dashed rgba(0, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
  animation: float 3s ease-in-out infinite;
}

.empty-title {
  font-family: 'Orbitron', sans-serif;
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.empty-text {
  color: #b0b0b0;
  max-width: 400px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .store-title {
    font-size: 2.2rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}
