@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
 /* vansh  */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "Poppins", serif
 }

body {
  font-family: "Helvetica";
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------------------------------------
     Header
  --------------------------------------- */
header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.logo h2 {
  font-size: 20px;
  color: #333;
}

header .h2 {
  color: black;
}
.nav-links{
  display: flex;
  gap: 10px;
  font-size: 20px;
}
.nav-links a {
  color: black;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* ---------------------------------------
     Main User Container
  --------------------------------------- */
.user-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ---------------------------------------
     Profile Section
  --------------------------------------- */
.profile-section {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.profile-pic img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 50%;
}

.profile-details {
  flex: 1;
  min-width: 250px;
}

.profile-details h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.profile-details p {
  margin-bottom: 8px;
  color: #666;
}

.profile-details button {
  background-color: #111;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.profile-details button:hover {
  background-color: #333;
}

/* ---------------------------------------
     Order History Section
  --------------------------------------- */
.order-history {
  margin-top: 40px;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.order-history h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.order-history table {
  width: 100%;
  border-collapse: collapse;
}

.order-history th,
.order-history td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.order-history th {
  background-color: #f2f2f2;
}

.order-history tr:hover {
  background-color: #f1f1f1;
}

/* ---------------------------------------
   Wishlist Section
--------------------------------------- */
.wishlist-section {
  margin-top: 40px;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.wishlist-section h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.wishlist-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.wishlist-item {
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: calc(50% - 10px); /* Two items per row with 20px gap */
  display: flex;
  padding: 10px;
}

.wishlist-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}

.item-details {
  flex: 1;
}

.item-details h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.item-details p {
  font-size: 14px;
  color: #b12704;
  margin-bottom: 10px;
}

.item-details button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.item-details button:hover {
  background-color: #333;
}

/* ---------------------------------------
     Save for Later Section
  --------------------------------------- */
.save-for-later-section {
  margin-top: 40px;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.save-for-later-section h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.save-for-later-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.save-for-later-item {
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: calc(50% - 10px); /* Two items per row with 20px gap */
  display: flex;
  padding: 10px;
}

.save-for-later-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}

.save-for-later-item .item-details {
  flex: 1;
}

.save-for-later-item .item-details h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.save-for-later-item .item-details p {
  font-size: 14px;
  color: #b12704;
  margin-bottom: 10px;
}

.save-for-later-item .item-details button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.save-for-later-item .item-details button:hover {
  background-color: #333;
}

/* Footer */
footer {
  background-color: #fff;
  padding: 20px;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  text-align: center;
}

.footer-links a {
  margin: 0 10px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

footer p {
  margin-top: 15px;
  font-size: 12px;
  color: #777;
}

/* ---------------------------------------
     Media Queries for Responsiveness
  --------------------------------------- */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    align-items: center;
  }
   .order-history{
     display: none;
   }
   .wishlist-section{
    display: none;
   }
   .save-for-later-section{
    display: none;
   }
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}
