/*
Theme Name: Artistics Child
Template:   artistics
Theme URI: https://1.envato.market/artistic-wp
Description: Digital Marketing Agency WordPress Theme
Author: Awaiken
Author URI: https://awaikenthemes.com/
Version: 1.0.0
Text Domain: artistics-child
*/

/* Order-Pay page only */
body.woocommerce-order-pay .woocommerce {
    max-width: 900px;
    margin: 40px auto;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

body.woocommerce-order-pay .shop_table {
    border: 0;
    border-collapse: separate;
    border-spacing: 0 8px;
}

body.woocommerce-order-pay .shop_table th,
body.woocommerce-order-pay .shop_table td {
    padding: 14px 16px;
    background: #fafafa;
}

body.woocommerce-order-pay .wc-proceed-to-checkout .button,
body.woocommerce-order-pay #place_order,
body.woocommerce-order-pay .button.alt {
    padding: 14px 22px;
    font-weight: 600;
    border-radius: 10px;
}

body.woocommerce-ord er-pay .woocommerce-NoticeGroup {
    margin-bottom: 18px;
}

body.woocommerce-order-pay .woocommerce .shop_table thead tr th {
    color:#000;
}
/* WooCommerce Thank You content (no wrapper styling) */
body.woocommerce-order-received .woocommerce-notice--success {
    display: block;
    padding: 14px 16px;
    border-left: 4px solid #bff747;
    background: #333;
    color: #eafff4;
    border-radius: 10px;
    margin-bottom: 18px;
}
body.woocommerce-order-received .woocommerce ul.order_details::after, body.woocommerce-order-received .woocommerce ul.order_details::before {
    display:none;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-order-received .woocommerce-order p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

/* Order overview (Order number, Date, Email, Total, Payment method) */
body.woocommerce-order-received .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}
body.woocommerce-order-received .woocommerce-order-overview li {
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 12px 14px;
    line-height: 1.3;
}
body.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    color: #fff;
    opacity: .95;
}

/* Order details table */
body.woocommerce-order-received table.woocommerce-table--order-details,
body.woocommerce-order-received table.shop_table.order_details {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
body.woocommerce-order-received table.woocommerce-table--order-details thead th {
    color: #fff;
    opacity: .85;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
body.woocommerce-order-received table.woocommerce-table--order-details tbody td {
    color: #fff !important;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 18px;
}
body.woocommerce-order-received table.woocommerce-table--order-details tfoot th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot td {
    color: #fff !important;
    padding: 10px 12px;
    border: 0;
    font-size: 18px;
}
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr.order-total th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr.order-total td {
    font-size: 18px;
    font-weight: 800;
}

/* Addresses */
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-columns--addresses {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}
body.woocommerce-order-received .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-column--shipping-address {
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 16px 18px;
}
body.woocommerce-order-received .woocommerce-column h2,
body.woocommerce-order-received .woocommerce-customer-details h2 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px;
}

/* Downloads table (if any) */
body.woocommerce-order-received .woocommerce-table--order-downloads th,
body.woocommerce-order-received .woocommerce-table--order-downloads td {
    color: #fff;
    padding: 12px 14px;
}
body.woocommerce-order-received .woocommerce-table--order-downloads thead th {
    border-bottom: 1px solid rgba(255,255,255,.15);
}
body.woocommerce-order-received .woocommerce-table--order-downloads tbody tr {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Buttons/links */
body.woocommerce-order-received a.button,
body.woocommerce-order-received .button,
body.woocommerce-order-received .woocommerce-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    background: #ffffff;
    color: #111 !important;
    border: 0;
    text-decoration: none;
}
body.woocommerce-order-received a.button:hover,
body.woocommerce-order-received .button:hover,
body.woocommerce-order-received .woocommerce-button:hover {
    filter: brightness(.9);
}

/* Links inside tables/content */
body.woocommerce-order-received .woocommerce a,
body.woocommerce-order-received .woocommerce table a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Elementor Purchase Summary widget (content only) */
body.woocommerce-order-received .elementor-widget-woocommerce-purchase-summary .woocommerce-order-overview,
body.woocommerce-order-received .elementor-widget-woocommerce-purchase-summary .order_details,
body.woocommerce-order-received .elementor-widget-woocommerce-purchase-summary .woocommerce-customer-details {
    margin-bottom: 20px;
}


.media-box-sec .elementor-image-box-wrapper figure.elementor-image-box-img {
    order: 1;
}

.media-box-sec .elementor-image-box-wrapper {
    display: flex;
    flex-wrap: wrap;
}



/* Responsive */
@media (max-width: 1024px) {
    body.woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 640px) {
    body.woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }
    body.woocommerce-order-received .woocommerce-customer-details,
    body.woocommerce-order-received .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
    }
}


