:root {
  --bg: #101014;
  --card: #18181b;
  --accent: #e8c34a;
  --neon: #00ffd1;
  --muted: #b8c2bc;
  --radius: 18px;
  --shadow: 0 4px 24px #0008;
}
body {
  background: var(--bg);
  color: #f5f5f5;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  background: linear-gradient(90deg, #18181b 60%, #232323 100%);
  box-shadow: 0 2px 18px #000a;
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}
.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
  text-shadow: 0 0 12px var(--accent), 0 0 2px #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  margin: 0 18px;
  font-size: 1.08rem;
  transition: color 0.2s;
  position: relative;
}
nav a.active, nav a:hover {
  color: var(--neon);
  text-shadow: 0 0 8px var(--neon);
}
.cart-btn {
  background: var(--neon);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 12px #00ffd188;
  transition: background 0.2s, transform 0.2s;
  margin-left: 18px;
}
.cart-btn:hover {
  background: #00e6b0;
  transform: scale(1.07);
}
main {
  flex: 1;
  max-width: 1200px;
  margin: 32px auto 0 auto;
  padding: 0 16px 32px 16px;
  width: 100%;
}
.products {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 48px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 18px 18px;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeIn 1s;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px #e8c34a55, 0 2px 24px #00ffd1;
  z-index: 2;
}
.product-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0008;
  margin-bottom: 18px;
  background: #222;
  transition: transform 0.3s cubic-bezier(.4,2,.3,1);
}
.product-card:hover .product-img {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 32px #e8c34a55, 0 2px 24px #00ffd1;
}
.product-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.18rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-align: center;
}
.product-price {
  color: var(--neon);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 0 8px #00ffd1aa;
}
.add-to-cart {
  background: var(--neon);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 12px #00ffd188;
  transition: background 0.2s, transform 0.2s;
}
.add-to-cart:hover {
  background: #00e6b0;
  transform: scale(1.07);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px);}
  to { opacity: 1; transform: none;}
}
/* Koszyk (sidebar) */
.cart-sidebar {
  position: fixed;
  top: 0; right: -400px;
  width: 340px;
  height: 100vh;
  background: #16181b;
  box-shadow: -4px 0 24px #000a;
  z-index: 9999;
  transition: right 0.35s cubic-bezier(.4,1.6,.6,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.cart-sidebar.open {
  right: 0;
}
.cart-header {
  padding: 22px 18px 12px 18px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 900;
  border-bottom: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-close {
  background: none;
  border: none;
  color: var(--neon);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-close:hover {
  color: var(--accent);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
}
.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}
.cart-item-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #222;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
}
.cart-item-qty {
  color: var(--muted);
  font-size: 0.98rem;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #ff4a4a;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 6px;
}
.cart-footer {
  padding: 18px;
  border-top: 1px solid #222;
  background: #19191c;
}
.cart-total {
  font-size: 1.12rem;
  color: var(--neon);
  font-weight: 700;
  margin-bottom: 12px;
}
.cart-checkout {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  width: 100%;
  font-weight: 800;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 12px #e8c34a88;
  transition: background 0.2s, transform 0.2s;
}
.cart-checkout:hover {
  background: #ffe08a;
  transform: scale(1.03);
}
/* Sponsorzy */
.sponsors-section {
  margin: 48px 0 0 0;
  padding: 32px 0 0 0;
  border-top: 1px solid #232323;
  text-align: center;
}
.sponsors-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.18rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.sponsors-logos {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}
.sponsor-logo {
  width: 90px;
  height: 48px;
  background: #222;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0008;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--neon);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  opacity: 0.85;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sponsor-logo:hover {
  box-shadow: 0 4px 24px #00ffd1aa;
  transform: scale(1.08);
  opacity: 1;
}
/* Footer */
footer {
  text-align: center;
  color: #b8c2bc;
  padding: 24px 8px 12px 8px;
  font-size: 0.98rem;
  opacity: .9;
  margin-top: 32px;
  background: #18181b;
  border-top: 1px solid #232323;
}
footer a {
  color: var(--accent);
  text-decoration: underline;
  margin: 0 8px;
}
#orderFormModal .modal-content {
  background: #18171c;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(255,152,0,0.13);
  padding: 32px 28px 24px 28px;
  max-width: 520px;
  width: 98vw;
  box-sizing: border-box;
  overflow-y: auto;
  max-height: 92vh;
  position: relative;
  display: block;
  word-break: break-word;
  font-family: 'Inter', Arial, sans-serif;
  border: 1px solid #ff9800;
}
#orderForm {
  margin-top: 8px;
}
#orderForm label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1em;
  color: #ffd180;
}
#orderForm input,
#orderForm select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #444;
  font-size: 1em;
  background: #23222a;
  color: #fff;
  margin-bottom: 12px;
  transition: border 0.2s;
}
#orderForm input:focus,
#orderForm select:focus {
  border-color: #ff9800;
  outline: none;
}
#orderForm label[for="paymentMethod"]::before {
  content: "💳";
  margin-right: 6px;
}
#orderForm label[for="currencySelect"]::before {
  content: "💱";
  margin-right: 6px;
}
#orderForm label[for="name"]::before { content: "👤"; margin-right: 6px;}
#orderForm label[for="email"]::before { content: "✉️"; margin-right: 6px;}
#orderForm label[for="address"]::before { content: "🏠"; margin-right: 6px;}
#orderForm label[for="phone"]::before { content: "📞"; margin-right: 6px;}
#orderForm .form-row {
  display: flex;
  gap: 12px;
}
#orderForm .form-row > div {
  flex: 1;
}
#orderForm input[type="checkbox"] {
  width: auto;
  accent-color: #ff9800;
  margin-right: 8px;
}
#orderForm button[type="submit"] {
  background: linear-gradient(90deg,#ff9800 60%,#ffd180 100%);
  color: #222;
  padding: 14px 0;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.08em;
  width: 100%;
  margin-top: 18px;
  box-shadow: 0 2px 8px rgba(255,152,0,0.07);
  cursor: pointer;
  transition: background 0.2s;
}
#orderForm button[type="submit"]:hover {
  background: linear-gradient(90deg,#e67c00 60%,#ffd180 100%);
}
#orderFormModal h2 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.35em;
  color: #ff9800;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-align: left;
}
.checkout-section-title {
  font-size: 1.08em;
  font-weight: 700;
  color: #ffd180;
  margin: 24px 0 10px 0;
  letter-spacing: 1px;
  border-bottom: 1px solid #333;
  padding-bottom: 2px;
}
#orderInfo {
  word-break: break-word;
  white-space: normal;
  font-size: 1em;
  color: #ffd180;
  margin-top: 18px;
}
@media (max-width: 700px) {
  #orderFormModal .modal-content {
    max-width: 99vw;
    padding: 16px 4px;
    font-size: 1em;
  }
}
@media (max-width: 500px) {
  #orderFormModal .modal-content {
    max-width: 100vw;
    padding: 8px 2px;
    font-size: 0.98em;
  }
  #orderForm .form-row {
    flex-direction: column !important;
    gap: 0 !important;
  }
  #orderForm input, #orderForm select {
    font-size: 1em;
    margin-bottom: 10px;
  }
}