body {
  font-family: Arial, sans-serif;
  padding: 20px;
  background: #f9f9f9;
  color: #333;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

#product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.product {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  width: 200px;
  text-align: center;
}

.product img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

button {
  margin-top: 10px;
  padding: 8px 12px;
  background: #0066ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #004cc0;
}

/* âœ… Centered Logo */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

/* âœ… Navbar adjustment for spacing */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* âœ… Footer centered */
.site-footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer a {
  color: #4dd0e1;
  text-decoration: none;
}

#backToTopBtn {
  display: none !important; /* Keep hidden by default */
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  font-size: 18px !important;
  padding: 10px 15px !important;
  border: none !important;
  background-color: #4dd0e1 !important;
  color: white !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
}

#backToTopBtn:hover {
  background-color: #00acc1;
}

.featured-product {
  background-color: #f9f9f9;
  padding: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.featured-product h2 {
  margin-bottom: 15px;
}

.featured-product .product {
  display: inline-block;
  max-width: 300px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.carousel {
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.carousel-inner {
  display: flex;
  width: 300%;
  animation: slide 12s infinite;
}

.carousel-item {
  width: 100%;
  flex-shrink: 0;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes slide {
  0%   { transform: translateX(0%); }
  33%  { transform: translateX(-100%); }
  66%  { transform: translateX(-200%); }
  100% { transform: translateX(0%); }
}

/* ðŸ›’ Cart Styles */
#cart-items {
  margin: 20px auto;
  max-width: 700px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.cart-item img {
  width: 60px;
  height: auto;
  border-radius: 4px;
  margin-right: 15px;
}

.cart-item-name {
  flex-grow: 1;
}

.cart-item-price {
  font-weight: bold;
}

.cart-actions {
  text-align: center;
  margin-top: 20px;
}

.cart-actions button {
  margin: 5px;
  padding: 10px 20px;
  font-size: 16px;
  background: #0066ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cart-actions button:hover {
  background: #004cc0;
}
