@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&display=swap');

body {
  font-family: 'Playfair Display', serif;
  margin: 0;
  padding: 0;
  background-color: #f8f4f0;
  color: #2e2e2e;
  line-height: 1.8;
  font-size: 17px;
}

/* Hero Header */
.hero {
  background: #1e1e1e;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  margin: 0 0 1rem;
  letter-spacing: 1px;
}

.cta-btn {
  display: inline-block;
  background: #c4a35a;
  color: #fff;
  padding: 0.7rem 1.5rem;
  margin-top: 1rem;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #a98840;
}

/* Login Bar */
.login-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #eee;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
}

.login-bar .btn {
  background: #444;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-bar .btn:hover {
  background: #222;
}

/* Products and Filters Wrapper */
.products-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  gap: 2rem;
}

/* Filter Sidebar */
.filters {
  width: 250px;
  background: #fff8ed;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.filters h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #1e1e1e;
  margin-bottom: 1rem;
}

.filters label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
}

.filters input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* Placeholder Sidebar Content */
.right-sidebar {
  width: 250px;
  background: #fff8ed;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.right-sidebar h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #1e1e1e;
}

.right-sidebar p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Products Section */
.products {
  flex: 1;
  text-align: center;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.product {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  width: 240px;
  transition: transform 0.3s ease;
}

.product:hover {
  transform: translateY(-6px);
}

.product img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.product h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.product p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #c4a35a;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 0.95rem;
}

.btn:hover {
  background: #a9873e;
}

.btn.remove {
  background: #777;
}

.btn.remove:hover {
  background: #444;
}

/* Cart, Wishlist, Profile, Order Sections */
.cart-section,
.wishlist-section,
.order-section,
.profile-section {
  padding: 2.5rem 1rem;
  background: #f3eee9;
  text-align: center;
}

.cart-section ul,
.wishlist-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-section li,
.wishlist-section li {
  background: #fff;
  margin: 0.5rem auto;
  padding: 1rem;
  width: 80%;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* Order Status */
.status {
  background-color: #eafbea;
  border: 1px solid #c4e9c4;
  border-radius: 8px;
  margin: 2rem auto;
  width: 85%;
  padding: 2rem;
  text-align: center;
  color: #2a572a;
  font-size: 1.1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #2c2c2c;
  color: #fff;
}

/* Registration Form */
.registration-form {
  max-width: 500px;
  margin: 3rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.registration-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1e1e1e;
}

.registration-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.registration-form input,
.registration-form select {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.registration-form button {
  width: 100%;
  background: #c4a35a;
  color: white;
  padding: 0.7rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.registration-form button:hover {
  background: #a98840;
}

/* Responsive */
@media (max-width: 1024px) {
  .product {
    width: 42%;
  }
  .products-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .filters,
  .right-sidebar {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .product-list {
    flex-direction: column;
    align-items: center;
  }

  .product {
    width: 90%;
  }

  .cart-section li,
  .wishlist-section li,
  .status {
    width: 90%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .btn {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .cta-btn,
  .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

/* Auth Modal */
.auth-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.auth-modal.active {
  display: flex;
}

.auth-box {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 450px;
  position: relative;
}

.auth-box h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.auth-box form {
  display: flex;
  flex-direction: column;
}

.auth-box label {
  font-weight: 600;
  margin-top: 1rem;
}

.auth-box input {
  padding: 0.6rem;
  margin-top: 0.3rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.auth-box .switch-link {
  margin-top: 1rem;
  text-align: center;
  cursor: pointer;
  color: #c4a35a;
  font-weight: bold;
}

.auth-box button {
  margin-top: 1.5rem;
}

.close-modal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
}
