.breadcrumb1 {
  padding: 1rem 2rem;
  background: #fff;
  font-size: 0.9rem;
  border-bottom: 1px solid #ddd;
}

.container1 {
  display: flex;
  padding: 1rem 2rem;
  gap: 2rem;
}

/* Filters */
.filters1 {
  width: 220px;
  background: #d3a85b;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: auto;
}
.filters1 h3 {
  margin-bottom: 1rem;
}
.filters1 h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.filters1 label {
  display: block;
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

/* Orders list */
.orders1 {
  flex: 1;
}

.search-bar1 {
  display: flex;
  margin-bottom: 1rem;
  gap: 0.5rem;
}
.search-bar1 input {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 30px;
}
.search-bar1 button {
  background: #681730;
  color: #fff;
  border: none;
  padding: 0 1rem;
  border-radius: 30px;
  cursor: pointer;
}

.order-card2 {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  gap: 0.8rem;
  cursor: pointer;
  transition: box-shadow 0.3s;
  position: relative;
}
.order-card2:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-content {
  display: flex;
  align-items: center;
  width: 80%;
  gap: 1rem;
}

.details2 {
  flex: 1;
}

.details2 h4 {
  font-size: 24px;
  margin: 0 0 0.3rem;
  color: #333;
}

.details2 p {
  margin: 0;
  color: #666;
  font-size: 18px;
}

.price2 {
  font-weight: bold;
  font-size: 18px;
  color: #000;
  margin-top: 0.5rem;
  margin-right: 20px;
}

.status2 {
  font-size: 18px;
  line-height: 1.4;
  color: #555;
}

.status2.shipped2 {
  color: green;
}
.status2.failed2 {
  color: red;
}

/* ---------------- Professional Buttons ---------------- */
.order-buttons button,
.order-buttons a.btn-red {
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px; /* reduced radius */
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

/* Cancel Button */
.order-buttons .cancel-btn {
  background: #681730;
  color: #fff;
}


/* Return Button */
.order-buttons a.btn-red.btn-sm[href*="return.php"] {
  background: #681730;
  color: #fff;
}


/* Rate & Review Button */
.order-buttons a.btn-red.btn-sm[href*="review.php"] {
  background: #681730;
  color: #fff;
}


/* Cancel Popup */
.cancel-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  display: none;
  z-index: 999;
  width: 300px;
  text-align: center;
}
.cancel-popup p {
  margin-bottom: 15px;
  font-weight: 500;
}
.popup-buttons {
  display: flex;
  justify-content: space-around;
}
.popup-buttons button {
  padding: 8px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}
.confirm-cancel { background-color: #681730; color: #fff; }
.close-popup { background-color: #ccc; color: #333; }

/* Profile container */
.profile-menu1 {
  position: relative;
  display: inline-block;
}

/* Profile icon */
.profile-icon1 {
  font-size: 25px;
  cursor: pointer;
}

/* Dropdown menu */
.dropdown1 {
  display: none;
  position: absolute;
  top: 25px;
  right: 0;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 8px;
  min-width: 180px;
  z-index: 1000;
}

.dropdown1 a {
  display: block;
  padding: 12px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
}

.dropdown1 a:last-child {
  border-bottom: none;
}

.dropdown1 a:hover {
  background-color: #f5f5f5;
  margin-top: 1px;
}

/* Show dropdown on hover */
.profile-menu1:hover .dropdown1 {
  display: block;
}

.iconp{
  margin-top: 0px;
}

@media (max-width: 768px) {
  .container1 {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .filters1 {
    width: 100%;
    padding: 1rem;
  }

  .orders1 {
    width: 100%;
  }

  .search-bar1 {
    flex-direction: column;
    gap: 0.5rem;
  }

  .search-bar1 input,
  .search-bar1 button {
    width: 100%;
  }

  .order-card2 {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .status2 {
    text-align: left;
    margin-top: 0.5rem;
  }

  .dropdown1 {
    top: 35px;
    right: 0;
    min-width: 150px;
  }

  .profile-icon1 {
    font-size: 22px;
  }
}