/*
 Theme Name:   Porto Child
 Template:     porto
 Description:  Child theme for Porto.
 Author:       Your Name
 Version:      1.0.0
 Text Domain:  porto-child
*/

/* Container styling */
.woocommerce .woocommerce-order {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Header */
.woocommerce .woocommerce-order-details .entry-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Overview list */
.woocommerce-order-overview li {
  font-size: 1.1rem;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
}
.woocommerce-order-overview li:last-child {
  border-bottom: none;
}
.woocommerce-order-overview li strong {
  color: #0056b3;
}

/* Order details table */
.woocommerce-table--order-details {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}
.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
  padding: 12px 15px;
  border: 1px solid #eaeaea;
}
.woocommerce-table--order-details th {
  background: #f1f5f9;
  font-weight: 600;
  text-transform: uppercase;
}
.woocommerce-table--order-details tr:nth-child(even) td {
  background: #fafafa;
}

/* Highlight totals */
.woocommerce-table--order-details tfoot th {
  font-size: 1.2rem;
  color: #222;
}
.woocommerce-table--order-details tfoot td {
  font-weight: bold;
  color: #0056b3;
}

/* Saved amount text */
.awdr-you-saved-text {
  display: block;
  margin-top: 5px;
  font-size: 0.95rem;
  color: #28a745;
}

@media (min-width: 992px) {
   .order-info, .woocommerce-order .woocommerce-order-details {
        width: 100%;
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .woocommerce .woocommerce-order {
    padding: 20px;
  }
  .woocommerce .woocommerce-order-details .entry-header h1 {
    font-size: 2rem;
  }
  .woocommerce-table--order-details th, .woocommerce-table--order-details td {
    padding: 8px;
  }
}