/**
 * Order confirmation / thank-you page
 * Styled to match checkout page: dark header, light beige content, gold accents
 */

/* Scope to order received context if WP adds it; fallback to main structure */
#inner-wrap.kt-clear .woocommerce-order,
#post-638 .woocommerce-order {
  --jp-confirm-bg: #f7f2ed;
  --jp-confirm-gold: #C6A853;
  --jp-confirm-gold-hover: #b89847;
  --jp-confirm-text: #333;
  --jp-confirm-text-light: #666;
  --jp-confirm-link: #265F87;
  --jp-confirm-border: rgba(0, 0, 0, 0.08);
}

/* Hero: dark background, gold title, gold separator */
#inner-wrap .entry-hero.page-hero-section,
#post-638 .entry-hero.page-hero-section {
  background-color: #151a25;
}

#inner-wrap .entry-hero .entry-title,
#post-638 .entry-hero .entry-title {
  color: #C6A853;
  font-size: 2.25rem;
  font-weight: 600;
}

#post-638 .entry-hero .entry-header::after {
  content: "";
  display: block;
  margin-top: 0.75rem;
  height: 2px;
  background: #C6A853;
  max-width: 100%;
}

/* Main content: light beige card */
#post-638 .woocommerce-order {
  background: var(--jp-confirm-bg, #f7f2ed) !important;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 2rem 2.5rem;
  margin-top: 0;
}

#inner-wrap .content-area .entry-content-wrap,
#post-638 .content-area .entry-content-wrap {
  padding: 0;
}

/* Thank you message */
#post-638 .woocommerce-notice--success.woocommerce-thankyou-order-received {
  text-align: center;
  font-size: 1.125rem;
  color: var(--jp-confirm-text, #333);
  margin-bottom: 2rem;
}

/* Order overview: horizontal layout with separators */
#post-638 .woocommerce-order-overview {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--jp-confirm-border, rgba(0, 0, 0, 0.08));
}

#post-638 .woocommerce-order-overview li {
  color: var(--jp-confirm-text-light, #666);
  font-size: 0.9rem;
}

#post-638 .woocommerce-order-overview li strong {
  color: var(--jp-confirm-text, #333);
  font-weight: 600;
}

/* Section headings */
#post-638 .woocommerce-order-downloads__title,
#post-638 .woocommerce-order-details__title,
#post-638 .woocommerce-column__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--jp-confirm-text, #333);
  margin: 0 0 1rem;
}

/* Tables: zebra striping, light borders */
#post-638 .woocommerce-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

#post-638 .woocommerce-table thead th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--jp-confirm-text, #333);
  border-bottom: 1px solid var(--jp-confirm-border, rgba(0, 0, 0, 0.08));
  background: transparent;
}

#post-638 .woocommerce-table tbody tr {
  background: #fff;
}

#post-638 .woocommerce-table tbody tr:nth-child(even) {
  background: #faf8f5;
}

#post-638 .woocommerce-table tbody td,
#post-638 .woocommerce-table tfoot td,
#post-638 .woocommerce-table tfoot th {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--jp-confirm-border, rgba(0, 0, 0, 0.08));
  color: var(--jp-confirm-text, #333);
}

#post-638 .woocommerce-table tfoot tr:last-child th,
#post-638 .woocommerce-table tfoot tr:last-child td {
  border-bottom: none;
}

#post-638 .woocommerce-table tfoot tr th {
  font-weight: 500;
}

#post-638 .woocommerce-table tfoot tr:last-of-type th,
#post-638 .woocommerce-table tfoot tr:last-of-type td {
  font-weight: 600;
  padding-top: 1rem;
}

/* Links: light blue */
#post-638 .woocommerce-order a,
#post-638 .woocommerce-order-downloads a {
  color: var(--jp-confirm-link, #265F87);
  text-decoration: none;
}

#post-638 .woocommerce-order a:hover,
#post-638 .woocommerce-order-downloads a:hover {
  text-decoration: underline;
}

/* Buttons: gold instead of blue */
#post-638 .woocommerce-MyAccount-downloads-file.button,
#post-638 .order-again .button {
  background: var(--jp-confirm-gold, #C6A853) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none !important;
  display: inline-block;
}

#post-638 .woocommerce-MyAccount-downloads-file.button:hover,
#post-638 .order-again .button:hover {
  background: var(--jp-confirm-gold-hover, #b89847) !important;
  color: #fff !important;
}

/* Order again spacing */
#post-638 .order-again {
  margin: 1.5rem 0 2rem;
}

/* Billing address */
#post-638 .woocommerce-customer-details address {
  font-style: normal;
  line-height: 1.6;
  color: var(--jp-confirm-text, #333);
}

#post-638 .woocommerce-customer-details--email {
  margin-top: 0.5rem;
}

.tax-product_cat .jp-shop-category-menu-wrap {
    height: 2px;
    margin-top: -32px !important;
    background: linear-gradient(
      90deg,
      rgba(198, 168, 83, 0) 0%,
      rgba(198, 168, 83, 0) 30%,
      rgba(198, 168, 83, 0.25) 50%,
      rgba(198, 168, 83, 0.7) 75%,
      #c6a853 100%
    );
}
