/* Dr. Ben Medical Practice - Minimal Branding */

/* Brand Colors */
:root {
    --brand-primary: #0d688d;
    --brand-primary-dark: #0a5470;
    --brand-primary-light: #e6f2f6;
}

/* Link Colors - Main Branding */
a {
    color: var(--brand-primary);
    text-decoration: none;
}

a:hover, a:focus {
    color: var(--brand-primary-dark);
    text-decoration: underline;
}

/* Ensure email links in order confirmation keep brand color */
.woocommerce-customer-details a,
.woocommerce-order-overview a {
    color: var(--brand-primary) !important;
}

.woocommerce-customer-details a:hover,
.woocommerce-order-overview a:hover {
    color: var(--brand-primary-dark) !important;
}

/* Page titles for non-Elementor pages - Keep these minimal */
.page-header .entry-title,
.woocommerce-page .entry-title,
.error-404 .page-title,
.search .page-title,
.archive .page-title,
h1.entry-title,
.page-title {
    text-align: center;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive page titles */
@media (max-width: 768px) {
    .page-header .entry-title,
    .woocommerce-page .entry-title,
    .error-404 .page-title,
    .search .page-title,
    .archive .page-title,
    h1.entry-title,
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

/* Order Confirmation Page - Improved Layout */
.woocommerce-order {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Thank you message - centered and compact */
.woocommerce-thankyou-order-received {
    text-align: center;
    background: transparent;
    border: none;
    padding: 1rem 0;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

/* Order overview - improved left-aligned layout */
.woocommerce-order-overview {
    display: block;
    margin-bottom: 3rem;
    padding: 0;
    list-style: none;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.woocommerce-order-overview li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
}

.woocommerce-order-overview li:last-child {
    border-bottom: none;
}

.woocommerce-order-overview strong {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

/* Order details section - improved layout */
.woocommerce-order-details {
    margin-bottom: 3rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.woocommerce-order-details__title {
    text-align: left;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.75rem;
}

/* Order details table - improved styling */
.woocommerce-table--order-details {
    border: none;
    background: transparent;
    margin-bottom: 1.5rem;
    width: 100%;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    border: none;
    padding: 1rem 0.75rem;
    background: transparent;
    text-align: left;
    border-bottom: 1px solid #f8f9fa;
}

.woocommerce-table--order-details th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-table--order-details tbody tr:hover td {
    background: #f8f9fa;
}

.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
    background: #f8f9fa;
    font-weight: 600;
    border-top: 2px solid #e9ecef;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    background: #e9ecef;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Customer details - improved layout */
.woocommerce-customer-details {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 0;
}

.woocommerce-column__title {
    text-align: left;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.75rem;
}

.woocommerce-customer-details address {
    text-align: left;
    font-style: normal;
    line-height: 1.8;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 1rem;
    color: #333;
}

.woocommerce-customer-details address p {
    margin: 0.5rem 0;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-order {
        padding: 1rem 0.5rem;
    }
    
    .woocommerce-order-overview {
        padding: 1rem;
    }
    
    .woocommerce-order-overview li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 1rem;
    }
    
    .woocommerce-table--order-details th,
    .woocommerce-table--order-details td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .woocommerce-order-details__title,
    .woocommerce-column__title {
        font-size: 1.2rem;
    }
}

/* That's it - minimal branding only! */