/* ===== RESET STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== GLOBAL STYLES ===== */
body {
  margin: 0;
  padding: 0;
  background: #000 url('/img/bg-stars-cover.png') repeat center center / cover;
  font-family: 'Arial', sans-serif;
  color: #FFD60A;
  text-align: center;
  min-height: 100vh;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #FFC300;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.nav-links a:hover {
  color: #FFD60A;
}

/* ✅ Mobile Navbar */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #FFD60A;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #111;
    padding: 20px;
    text-align: center;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== CART ICON & DROPDOWN ===== */
.cart-container {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-icon {
  font-size: 18px;
  color: #FFD60A;
  text-decoration: none;
  font-weight: bold;
  margin-left: 20px;
}

.cart-dropdown {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background: #111;
  border: 1px solid #FFD60A;
  border-radius: 6px;
  width: 300px;
  padding: 10px;
  box-shadow: 0 0 10px rgba(255, 214, 10, 0.3);
  z-index: 9999;
}

.cart-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}

.cart-dropdown li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: #FFD60A;
}

.cart-dropdown li img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 10px;
}

.cart-buttons a {
  flex: 1;
  background-color: #FFC300;
  color: #000;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
}

/* ===== SHOP PAGE ===== */
.shop-section {
  max-width: 1200px;
  margin: 120px auto 50px auto;
  padding: 0 20px;
}

.shop-section h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #FFD60A;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* ===== PRODUCT CARD (Shop) ===== */
.product {
  background: #111;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 214, 10, 0.2);
  width: 240px;
  transition: transform 0.3s ease;
}

.product:hover {
  transform: scale(1.05);
}

.product img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.product h3 {
  color: #FFD60A;
  font-size: 1rem;
  margin-bottom: 4px;
}

.product p {
  color: #FFF;
  font-size: 0.9rem;
}

/* Removed Add to Cart button from shop page */

/* ===== PRODUCT DETAIL PAGE ===== */
.product-container {
  max-width: 1200px;
  margin: 140px auto 50px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  padding: 20px;
  background: rgba(17, 17, 17, 0.9);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 214, 10, 0.3);
}

.product-image {
  flex: 1;
  max-width: 500px;
}

.product-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 214, 10, 0.2);
  object-fit: cover;
}

.product-details {
  flex: 1;
  min-width: 300px;
}

.product-details h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #FFD60A;
}

.price-options {
  margin: 20px 0;
}

.price-options label {
  font-size: 1.1rem;
}

select {
  padding: 12px;
  border: 1px solid #FFD60A;
  border-radius: 6px;
  background: #000;
  color: #FFD60A;
  font-size: 1rem;
  width: 100%;
}

.description {
  margin: 20px 0;
  color: #FFF;
  line-height: 1.6;
}

.add-to-cart-btn {
  background: #FFC300;
  color: #000;
  font-weight: bold;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.add-to-cart-btn:hover {
  background: #FFD60A;
}

/* Responsive */
@media (max-width: 768px) {
  .product-container {
    flex-direction: column;
    text-align: center;
  }

  .product-image {
    max-width: 100%;
  }

  .add-to-cart-btn {
    width: 100%;
  }
}
