/* Reset stylów i fonty */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #111;
  color: #eee;
  line-height: 1.6;
  padding: 20px;
}

/* Nagłówek z nowym gradientem */
header {
  background: linear-gradient(to right, #00cc66, #0075ff);
  padding: 20px;
  text-align: center;
  color: #000;
  font-size: 2.2rem;
  font-weight: bold;
  box-shadow: 0 0 10px #00cc66;
  border-radius: 16px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

header img {
  height: 40px;
  width: 40px;
}

/* Sekcja sklepu */
.shop-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Karta produktu */
.product-card {
  background-color: #1a1a1a;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 195, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.5s ease forwards;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(0, 255, 195, 0.4);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.product-card p {
  font-size: 0.95rem;
  color: #ccc;
}

/* Styl przycisków z animacją wejścia */
.btn-cart,
button, .button, .btn {
  background: linear-gradient(to right, #0075ff, #00cc66);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
  animation: btnFadeIn 0.6s ease-out forwards;
  animation-delay: 0.2s;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cart:hover,
button:hover, .button:hover, .btn:hover {
  background: linear-gradient(to right, #00cc66, #0075ff);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 195, 0.6);
}

.btn-cart:active,
button:active, .button:active, .btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 0 8px rgba(0, 255, 195, 0.4);
}

/* Styl selecta orderby z gradientem i czarnym tłem */
select.orderby {
  appearance: none;
  background: linear-gradient(to right, #0075ff, #00cc66);
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  border: 2px solid #00cc66;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 204, 102, 0.3);
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg%20fill%3D'white'%20viewBox%3D'0%200%2024%2024'%20xmlns%3D'http://www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M7%2010l5%205%205-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 40px;
}

select.orderby:focus {
  outline: none;
  border-color: #00ff99;
  box-shadow: 0 0 15px rgba(0, 255, 195, 0.6);
  background-color: #111;
}

/* Stopka */
footer {
  margin-top: 40px;
  padding: 20px;
  background-color: #1c1c1c;
  text-align: center;
  color: #888;
  border-top: 2px solid #00cc66;
  border-radius: 16px;
}

/* Animacje */
@keyframes btnFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}