* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #111827;
  color: white;
  padding-bottom: 100px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1f2937;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar h1 {
  font-size: 24px;
  color: #10b981;
}

.banner-slider {
  padding: 15px;
}

.slides {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 260px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1f2937;
  opacity: 0;
  transition: opacity 0.10s ease;
}

.slide.active {
  opacity: 1;
}

.search-section {
  padding: 0 15px 15px;
}

.search-section input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #1f2937;
  color: white;
  font-size: 15px;
}

.categories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 15px 15px;
}

.categories::-webkit-scrollbar {
  display: none;
}

.category-btn {
  border: none;
  background: #1f2937;
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
}

.category-btn.active {
  background: #10b981;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
}

.product-card {
  background: #1f2937;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.product-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  background: #374151;
}

.product-info {
  padding: 12px;
}

.product-category {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 5px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  min-height: 45px;
}

.product-price {
  color: #10b981;
  font-weight: bold;
  margin: 10px 0;
}

.add-cart-btn {
  width: 100%;
  border: none;
  padding: 12px;
  border-radius: 12px;
  background: #10b981;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.floating-cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #f59e0b;
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}
.cart-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: flex-end;
  z-index: 999;
}

.cart-content {
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #111827;
  border-radius: 25px 25px 0 0;
  padding: 20px;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.cart-header button {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1f2937;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-controls button {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #10b981;
  color: white;
}

.cart-total {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 0;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-form input,
.checkout-form select {
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #1f2937;
  color: white;
}

#checkoutBtn {
  border: none;
  padding: 15px;
  border-radius: 14px;
  background: #10b981;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.info-text {
  font-size: 13px;
  color: #d1d5db;
}