.wishlist_main_container {
  display: flex;
  flex-direction: column;
  padding: 3rem;
}
.wishlist_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  div {
    display: flex;
    flex-direction: column;
    gap: 5px;

    h1 {
      font-size: 3rem;
      font-family: var(--font-heading);
      font-weight: 600;
    }

    p {
      font-size: 1.7rem;
      color: var(--color-surface-dark);
      font-family: var(--font-body);
    }
  }
  a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    font-size: 1.5rem;
    font-family: var(--font-body);
    color: black;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, 0.5);
  }
}
/* .emptyCart {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 25px;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
} */
.wishlist_container{
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 25px;
  margin-top: 25px;
  padding: 20px;
}
.wishlist_card{
  width: 100%;
  background-color: #ffffff;
  border: 2px solid #aca8a8;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  padding: 10px;
}
.wishlist_card:hover{
  transform: translateY(-1.8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.product_top{
  display: flex;
}
.product_image_container{
  position: relative;
  width: 100%;
  height: 320px;
  background-color: #f5f5f5;
  overflow: hidden;
}
.product_image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.wishlist_card:hover .product_image{
  transform: scale(1.03);
}
.remove_wishlist{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  transition: 0.2s ease;
}
.remove_wishlist i{
  font-size: 21px;
  color: #ef4444;
}
.remove_wishlist:hover{
  transform: scale(1.1);
}
.product_details{
  padding: 18px;
}
.product_name{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #172033;
  line-height: 1.3;
}
.product_description{
  margin: 0 0 13px;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.product_rating{
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}
.stars{
  color: #f4b400;
  font-size: 14px;
  letter-spacing: 1px;
}
.rating_number{
  font-size: 13px;
  color: #666;
}
.price_row{
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.current_price{
  font-size: 22px;
  font-weight: 700;
  color: #172033;
}
.original_price{
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}
.size_container{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.size_label{
  font-size: 13px;
  color: #555;
  margin-right: 2px;
}
.size{
  min-width: 32px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #d9dce2;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #333;
  background-color: #ffffff;
}
.category{
  margin-bottom: 17px;
  font-size: 13px;
  color: #555;
}
.category span{
  color: #3159a5;
  font-weight: 500;
}
.add_cart_btn{
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 8px;
  background-color: #526fa8;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: all 0.2s ease;
}
.add_cart_btn i{
  font-size: 17px;
}
.add_cart_btn:hover{
  background-color: #405d94;
  transform: translateY(-1px);
}
.add_cart_btn:active{
  transform: scale(0.98);
}


/* Responsive Design - Mobile First Approach */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .wishlist_main_container {
    padding: 2.5rem 2rem;
  }

  .wishlist_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    div h1 {
      font-size: 2.5rem;
      font-weight: 600;
    }

    div p {
      font-size: 1.4rem;
    }

    a {
      width: 100%;
      justify-content: center;
      padding: 12px 20px;
      font-size: 1.3rem;
    }
  }

  .wishlist_container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 15px;
  }

  .wishlist_card {
    padding: 8px;
  }

  .product_image_container {
    height: 280px;
  }

  .remove_wishlist {
    width: 38px;
    height: 38px;
    top: 14px;
    right: 14px;
  }

  .remove_wishlist i {
    font-size: 18px;
  }

  .product_details {
    padding: 14px;
  }

  .product_name {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .product_description {
    font-size: 12px;
    margin-bottom: 10px;
    min-height: 36px;
  }

  .product_rating {
    gap: 6px;
    margin-bottom: 12px;
  }

  .stars {
    font-size: 13px;
  }

  .rating_number {
    font-size: 12px;
  }

  .price_row {
    gap: 8px;
    margin-bottom: 12px;
  }

  .current_price {
    font-size: 18px;
  }

  .original_price {
    font-size: 13px;
  }

  .size_container {
    gap: 6px;
    margin-bottom: 12px;
  }

  .size_label {
    font-size: 12px;
  }

  .size {
    min-width: 30px;
    height: 28px;
    padding: 0 6px;
    font-size: 11px;
  }

  .category {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .add_cart_btn {
    height: 40px;
    font-size: 16px;
  }

  .add_cart_btn i {
    font-size: 15px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .wishlist_main_container {
    padding: 1.8rem 1.2rem;
  }

  .wishlist_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    div h1 {
      font-size: 2rem;
      font-weight: 600;
      margin: 0;
    }

    div p {
      font-size: 1.1rem;
      margin: 0;
    }

    a {
      width: 100%;
      padding: 11px 18px;
      font-size: 1.1rem;
      border-radius: 4px;
      gap: 6px;
    }
  }

  .wishlist_container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
    padding: 12px;
  }

  .wishlist_card {
    padding: 6px;
    border-radius: 10px;
  }

  .wishlist_card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  }

  .product_top {
    display: flex;
  }

  .product_image_container {
    width: 100%;
    height: 220px;
    border-radius: 8px;
  }

  .product_image {
    border-radius: 8px;
  }

  .wishlist_card:hover .product_image {
    transform: scale(1.02);
  }

  .remove_wishlist {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
    border-radius: 50%;
  }

  .remove_wishlist i {
    font-size: 16px;
  }

  .remove_wishlist:hover {
    transform: scale(1.08);
  }

  .product_details {
    padding: 12px;
  }

  .product_name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px;
    line-height: 1.3;
  }

  .product_description {
    font-size: 11px;
    margin: 0 0 10px;
    line-height: 1.4;
    min-height: 33px;
  }

  .product_rating {
    gap: 5px;
    margin-bottom: 10px;
  }

  .stars {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .rating_number {
    font-size: 11px;
  }

  .price_row {
    gap: 7px;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }

  .current_price {
    font-size: 16px;
    font-weight: 700;
  }

  .original_price {
    font-size: 12px;
  }

  .size_container {
    gap: 6px;
    margin-bottom: 11px;
  }

  .size_label {
    font-size: 11px;
    margin-right: 1px;
  }

  .size {
    min-width: 28px;
    height: 26px;
    padding: 0 6px;
    font-size: 10px;
    border-radius: 4px;
  }

  .category {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .category span {
    font-weight: 500;
  }

  .add_cart_btn {
    height: 40px;
    font-size: 14px;
    border-radius: 6px;
    gap: 6px;
  }

  .add_cart_btn i {
    font-size: 14px;
  }

  .add_cart_btn:hover {
    transform: translateY(-1px);
  }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
  .wishlist_main_container {
    padding: 1.5rem 1rem;
  }

  .wishlist_header {
    gap: 14px;

    div h1 {
      font-size: 1.6rem;
      font-weight: 600;
    }

    div p {
      font-size: 0.95rem;
    }

    a {
      padding: 10px 16px;
      font-size: 0.95rem;
    }
  }

  .wishlist_container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
    padding: 10px;
  }

  .wishlist_card {
    padding: 5px;
    border-radius: 8px;
  }

  .product_image_container {
    height: 180px;
    border-radius: 6px;
  }

  .remove_wishlist {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }

  .remove_wishlist i {
    font-size: 14px;
  }

  .product_details {
    padding: 10px;
  }

  .product_name {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .product_description {
    font-size: 10px;
    margin-bottom: 8px;
    min-height: 30px;
  }

  .product_rating {
    gap: 4px;
    margin-bottom: 8px;
  }

  .stars {
    font-size: 11px;
  }

  .rating_number {
    font-size: 10px;
  }

  .price_row {
    gap: 6px;
    margin-bottom: 8px;
  }

  .current_price {
    font-size: 14px;
  }

  .original_price {
    font-size: 11px;
  }

  .size_container {
    gap: 5px;
    margin-bottom: 9px;
  }

  .size_label {
    font-size: 10px;
  }

  .size {
    min-width: 26px;
    height: 24px;
    padding: 0 5px;
    font-size: 9px;
  }

  .category {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .add_cart_btn {
    height: 38px;
    font-size: 13px;
    gap: 5px;
  }

  .add_cart_btn i {
    font-size: 12px;
  }
}

/* Large Screens (1024px and above) */
@media (min-width: 1024px) {
  .wishlist_main_container {
    padding: 3rem;
  }

  .wishlist_header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;

    div {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    div h1 {
      font-size: 3rem;
      font-family: var(--font-heading);
      font-weight: 600;
    }

    div p {
      font-size: 1.7rem;
      color: var(--color-surface-dark);
      font-family: var(--font-body);
    }

    a {
      width: auto;
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 10px 22px;
      font-size: 1.5rem;
      font-family: var(--font-body);
      color: black;
      text-decoration: none;
      font-weight: 500;
      border-radius: 5px;
      cursor: pointer;
      border: 2px solid rgba(0, 0, 0, 0.5);
    }
  }

  .wishlist_container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 25px;
    padding: 20px;
  }

  .wishlist_card {
    width: 100%;
    background-color: #ffffff;
    border: 2px solid #aca8a8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    padding: 10px;
  }

  .wishlist_card:hover {
    transform: translateY(-1.8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .product_image_container {
    height: 320px;
  }

  .remove_wishlist {
    width: 42px;
    height: 42px;
    top: 18px;
    right: 18px;
  }

  .remove_wishlist i {
    font-size: 21px;
  }

  .product_details {
    padding: 18px;
  }

  .product_name {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #172033;
    line-height: 1.3;
  }

  .product_description {
    margin: 0 0 13px;
    font-size: 13px;
    line-height: 1.5;
    color: #777;
    min-height: 39px;
  }

  .product_rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
  }

  .stars {
    color: #f4b400;
    font-size: 14px;
    letter-spacing: 1px;
  }

  .rating_number {
    font-size: 13px;
    color: #666;
  }

  .price_row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .current_price {
    font-size: 22px;
    font-weight: 700;
    color: #172033;
  }

  .original_price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
  }

  .size_container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
  }

  .size_label {
    font-size: 13px;
    color: #555;
    margin-right: 2px;
  }

  .size {
    min-width: 32px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #d9dce2;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #333;
    background-color: #ffffff;
  }

  .category {
    margin-bottom: 17px;
    font-size: 13px;
    color: #555;
  }

  .category span {
    color: #3159a5;
    font-weight: 500;
  }

  .add_cart_btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 8px;
    background-color: #526fa8;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
  }

  .add_cart_btn i {
    font-size: 17px;
  }

  .add_cart_btn:hover {
    background-color: #405d94;
    transform: translateY(-1px);
  }

  .add_cart_btn:active {
    transform: scale(0.98);
  }
}

/* Extra Large Screens (1440px and above) */
@media (min-width: 1440px) {
  .wishlist_main_container {
    padding: 3.5rem;
    max-width: 1600px;
    margin: 0 auto;
  }

  .wishlist_container {
    gap: 32px;
    padding: 24px;
  }

  .wishlist_card {
    padding: 12px;
  }

  .product_image_container {
    height: 360px;
  }

  .product_details {
    padding: 20px;
  }

  .product_name {
    font-size: 19px;
    margin-bottom: 10px;
  }

  .product_description {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .price_row {
    margin-bottom: 18px;
  }

  .current_price {
    font-size: 24px;
  }

  .add_cart_btn {
    height: 48px;
    font-size: 16px;
  }
}


