/* General */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #000;
  color: #FFD700;
}

/* Header / Navbar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #111;
  border-bottom: 2px solid #FFD700;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo img {
  height: 45px;
  width: auto;
  display: block;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #FFD700;
  font-weight: bold;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: white;
}

/* Hero */
.hero {
  text-align: center;
  padding: 50px 20px 30px;
  background: linear-gradient(to right, #000, #111);
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.hero input {
  padding: 10px;
  width: 90%;
  max-width: 400px;
  border: 2px solid #FFD700;
  border-radius: 5px;
  background: #000;
  color: #FFD700;
}

/* Filters Section */
.filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #111;
  border-bottom: 1px solid #FFD700;
  flex-wrap: wrap;
}

.filters label {
  font-weight: bold;
  margin-right: 5px;
}

.filters select {
  padding: 6px 10px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background: #000;
  color: #FFD700;
  font-size: 14px;
}

/* Products Section */
.products {
  padding: 30px 20px;
  text-align: center;
}

.products h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Product Card */
.card {
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 10px;
  padding: 12px;
  width: 150px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.card h3 {
  margin-top: 8px;
  font-size: 14px;
  color: #FFD700;
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #111;
  border-top: 2px solid #FFD700;
  font-size: 14px;
}

/* Product Detail Page */
.product-detail {
  max-width: 800px;
  margin: 40px auto;
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.product-detail img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #FFD700;
  margin-bottom: 20px;
}

.product-detail h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #FFD700;
}

.product-detail p {
  margin: 6px 0;
  color: #FFD700;
}

.product-detail button {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
  background: #FFD700;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.product-detail button:hover {
  background: white;
  color: black;
}

/* Cart Page */
.cart-item {
  display: flex;
  align-items: center;
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 8px;
  margin: 10px auto;
  padding: 10px;
  max-width: 500px;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
}

.cart-item h4 {
  margin: 0;
  font-size: 16px;
  color: #FFD700;
}

.cart-item button {
  margin: 5px;
  padding: 5px 10px;
  background: #FFD700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cart-item button:hover {
  background: white;
}

/* Checkout Form */
main {
  max-width: 500px;
  margin: 30px auto;
  padding: 20px;
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 10px;
  text-align: center;
}

main h2 {
  margin-bottom: 20px;
}

form input,
form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #FFD700;
  border-radius: 6px;
  background: #000;
  color: #FFD700;
}

form button {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
  background: #FFD700;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover {
  background: white;
  color: black;
}

/* Checkout Layout */
.checkout-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
}

.checkout-summary,
.checkout-form {
  flex: 1;
  min-width: 300px;
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 10px;
  padding: 20px;
}

.checkout-summary h2,
.checkout-form h2 {
  margin-bottom: 15px;
  color: #FFD700;
  text-align: center;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid #FFD700;
  padding-bottom: 8px;
}

.summary-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

.order-total {
  margin-top: 15px;
  font-size: 16px;
}

.order-total p {
  margin: 5px 0;
}

.order-total .grand-total {
  font-size: 18px;
  font-weight: bold;
  color: #FFD700;
}

.checkout-form form input,
.checkout-form form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #FFD700;
  border-radius: 6px;
  background: #000;
  color: #FFD700;
}

.checkout-form button {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
  background: #FFD700;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.checkout-form button:hover {
  background: white;
  color: black;
}
/* Profile Page */
.profile-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 10px;
  text-align: left;
  color: #FFD700;
}

.profile-container h2, .profile-container h3 {
  text-align: center;
  margin-bottom: 20px;
}

.order-card {
  background: #222;
  border: 1px solid #FFD700;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
}
