body {
  margin:0;
  font-family:'Segoe UI', sans-serif;
  background:#0e0f14;
  color:white;
}

.header {
  text-align:center;
  padding:50px 20px 30px;
}

.header h1 {
  font-weight:600;
  letter-spacing:1px;
}

.products {
  padding:20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
  max-width:1000px;
  margin:auto;
}

.product-card {
  background:#171923;
  border-radius:18px;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:0 12px 30px rgba(0,0,0,0.5);
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.product-card h3 {
  margin-bottom:10px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.size-btn {
  min-width: 38px;
  text-align: center;
  padding: 6px 0;
  background: #1f2330;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s ease;
}

.size-btn:hover {
  transform: translateY(-2px);
}

.size-btn.active {
  background: #16a34a;
  color: black;
}

.qty-wrapper {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:15px;
}

.qty-btn {
  background:#1f2330;
  border:none;
  color:white;
  font-size:18px;
  width:30px;
  height:30px;
  border-radius:6px;
  cursor:pointer;
}

.qty-input {
  width:45px;
  text-align:center;
  background:#1f2330;
  border:none;
  border-radius:6px;
  color:white;
  font-size:14px;
}

.btn-main {
  width:100%;
  padding:12px;
  background:#16a34a;
  border:none;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(22,163,74,0.3);
}

.cart-section {
  max-width:520px;
  margin:40px auto;
  padding:25px;
  background:#171923;
  border-radius:18px;
}

input,
select,
textarea {
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.06);
  background:#1f2330;
  color:white;
  margin-top:12px;
  box-sizing:border-box;
}

select option {
  background:#171923;
  color:white;
}

.input-label {
  margin-top:18px;
  font-size:13px;
  opacity:0.7;
}

.payment-box {
  display:none;
  margin-top:12px;
  padding:10px;
  background:#1f2330;
  border-radius:10px;
  text-align:center;
}

#qrImage {
  width:170px;
}

.download-btn {
  margin-top:8px;
  padding:8px 12px;
  background:#16a34a;
  border:none;
  border-radius:8px;
  cursor:pointer;
}

.promo-box {
  display:none;
}

.promo-toggle {
  margin-top:15px;
  cursor:pointer;
  font-size:13px;
  opacity:0.8;
}

.footer {
  text-align:center;
  padding:30px;
  opacity:0.5;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: #16a34a;
  color: black;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  opacity: 0;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(22,163,74,0.4);
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== PAGE FADE IN ===== */
.page {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== GLASS EFFECT ===== */
.cart-section {
  backdrop-filter: blur(15px);
  background: rgba(23,25,35,0.75);
  border: 1px solid rgba(255,255,255,0.05);
}

/* ===== FLOATING CART ===== */
.floating-cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(23,25,35,0.85);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  z-index: 999;
  transition: 0.3s ease;
}

.floating-cart button {
  background: #16a34a;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 600;
  cursor: pointer;
}

.floating-cart.hide {
  transform: translateY(100px);
  opacity: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  min-height: 48px;
}