.section{
  padding: 3rem 5rem !important;
  margin: 0 auto;
  text-align: left;
}

.order-card-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 30px 40px;  
  background-color: #fff9ff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
a{
  text-decoration: none;
}

/* Full-width order card */
.order-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 24px 30px;
  width: 100%;
  transition: all 0.3s ease;
  border: 1px solid #f1f1f1;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Order header */
.order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
}

/* Align left section (icon + text) */
.order-left {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.order-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.order-id {
  font-weight: 600;
  color: #222;
  font-size: 16px;
}

.status {
  background: #ebf9f0;
  color: #0a7d32;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 500;
  margin-left: 6px;
}

.total {
  font-weight: 700;
  font-size: 16px;
  color: #222;
}

.total span {
  color: #eb2491; /* brand color */
}

/* Dates row */
.order-dates {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
  color: #666;
  font-size: 14px;
}

.order-dates i {
  color: #0a7d32;
}

/* Product list */
.product-list {
  margin-top: 18px;
}

.product {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 15px;
}

.product img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #eee;
}

.product-details h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.product-details p {
  font-size: 14px;
  color: #555;
  margin: 4px 0;
  font-style: italic;
}

.product-details .qty {
  color: #777;
  font-size: 13px;
}

.product-price {
  margin-left: auto;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

/* Divider line */
.divider {
  border-top: 1px solid #eee;
  margin: 16px 0;
}

/* Buttons / actions */
.order-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

 .order-actions button {
  border: 1px solid #e2e2e2;
  background: #fafafa;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
}

.order-actions button:hover {
  background: #eb2491;
  color: #fff;
  border-color: #eb2491;
  box-shadow: 0 2px 5px rgba(235, 36, 145, 0.2);
}

.more-details {
  margin-left: auto;
  color: #000;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.more-details:hover {
  color: #eb2491;
}

.more-details i {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .order-card-section {
    padding: 20px;
  }

  .order-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-dates {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .order-actions {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .section {
    padding: 1.5rem 1rem !important;
  }

  .order-card-section {
    padding: 15px;
    gap: 0.75rem;
  }

  .order-card {
    padding: 18px 15px;
  }

  .order-left {
    gap: 12px;
  }

  .order-id {
    font-size: 15px;
  }

  .total {
    font-size: 15px;
    margin-top: 8px;
  }

  .product {
    gap: 12px;
  }

  .product img {
    width: 56px;
    height: 56px;
  }

  .product-details h4 {
    font-size: 14px;
  }

  .product-details p {
    font-size: 13px;
  }

  .product-price {
    font-size: 14px;
  }

  .order-actions .btn,
  .order-actions button {
    font-size: 13px;
    padding: 8px 12px;
  }

  .more-details {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    width: 100%;
  }
}

/* Small mobile screens (below 400px) */
@media (max-width: 400px) {
  .section {
    padding: 1rem 0.75rem !important;
  }

  .order-card-section {
    padding: 12px;
    border-radius: 8px;
  }

  .order-card {
    padding: 14px 12px;
    border-radius: 8px;
  }

  .order-left {
    gap: 10px;
    flex-wrap: wrap;
  }

  .order-icon {
    font-size: 20px !important;
  }

  .order-id {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
  }

  .status {
    font-size: 11px;
    padding: 3px 8px;
    margin-left: 4px;
    display: inline-block;
    margin-top: 4px;
  }

  .total {
    font-size: 14px;
    margin-top: 10px;
    width: 100%;
  }

  .order-dates {
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
  }

  .order-dates span {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .order-dates i {
    font-size: 12px;
  }

  .product {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
  }

  .product img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
  }

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

  .product-details h4 {
    font-size: 13px;
    line-height: 1.3;
    word-break: break-word;
  }

  .product-details p {
    font-size: 12px;
    margin: 3px 0;
  }

  .product-details .qty {
    font-size: 12px;
    margin-top: 4px;
  }

  .product-price {
    margin-left: 0;
    margin-top: 4px;
    font-size: 13px;
    width: 100%;
  }

  .divider {
    margin: 12px 0;
  }

  .order-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .order-actions .btn,
  .order-actions button {
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 10px 14px;
    border-radius: 6px;
  }

  .order-actions .btn i,
  .order-actions button i {
    font-size: 12px;
  }

  .more-details {
    margin-left: 0;
    margin-top: 0;
    text-align: center;
    width: 100%;
    font-size: 13px;
    padding: 8px 0;
  }

  .more-details i {
    font-size: 12px;
  }
}