/* 
Theme Name: Arcane Druid
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Arcane Druid Theme
Author: Adam Tommasi
Author URI: https://arcanedruid.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: arcane-druid
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* === Arcane Druid Parchment Invoice === */

.arcane-invoice {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2.75rem 2.5rem;
    background: #f4ebd8;
    border-radius: 18px;
    border: 1px solid #d1b88f;
    box-shadow: 0 12px 30px rgba(77, 64, 47, 0.25);
    position: relative;
    overflow: hidden;
}

.arcane-invoice::before,
.arcane-invoice::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.arcane-invoice::before {
    background-image:
        radial-gradient(circle at 10% 0%, rgba(0,0,0,0.08), transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(0,0,0,0.06), transparent 55%);
    mix-blend-mode: multiply;
    opacity: 0.35;
}

.arcane-invoice::after {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: inset 0 0 0 1px rgba(168, 129, 80, 0.2);
}

/* Header */

.arcane-invoice__header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.arcane-invoice__brand {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.arcane-invoice__sigil {
    font-size: 1.4rem;
    line-height: 1;
    color: #216b57;
}

.arcane-invoice__title {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #3c2f1f;
}

.arcane-invoice__meta {
    font-size: 0.95rem;
    color: #4d402f;
    display: grid;
    gap: 0.2rem;
    text-align: right;
}

.arcane-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    color: #8a6b3c;
    margin-right: 0.35rem;
}

.arcane-status {
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(33, 107, 87, 0.08);
    color: #215b46;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Body */

.arcane-invoice__body {
    position: relative;
    z-index: 1;
}

/* Let Woo tables inherit parchment look */

.arcane-invoice .woocommerce-order-details,
.arcane-invoice .woocommerce-table--order-details {
    background: #fbf5e7;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #ddc7a0;
}

.arcane-invoice table.woocommerce-table--order-details th,
.arcane-invoice table.woocommerce-table--order-details td {
    border-color: #e3d1ae;
}

.arcane-invoice table.woocommerce-table--order-details thead th {
    color: #3c2f1f;
    font-weight: 600;
}

/* Notes section */

.arcane-invoice__section {
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.arcane-invoice__section-title {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8a6b3c;
    margin-bottom: 1rem;
}

.arcane-invoice__note-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.arcane-invoice__note {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(251, 245, 231, 0.9);
    border: 1px dashed #d3b68b;
}

.arcane-invoice__note-meta {
    font-size: 0.8rem;
    color: #8a6b3c;
    margin-bottom: 0.35rem;
}

/* Footer */

.arcane-invoice__footer {
    margin-top: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.arcane-invoice__blessing {
    font-style: italic;
    font-size: 0.95rem;
    color: #4d402f;
}

/* Responsive */

@media (max-width: 700px) {
    .arcane-invoice {
        padding: 2rem 1.5rem;
    }

    .arcane-invoice__header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .arcane-invoice__meta {
        text-align: left;
    }
}
/* Fix off-center My Account / View Order layout */
.woocommerce-account .woocommerce {
    display: block;              /* kill any flex layout from theme */
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    display: none;               /* hide nav completely if you're not using it */
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    max-width: 900px;            /* match your parchment width */
    margin: 0 auto;              /* center it */
}



.arcane-back-btn {
    position: absolute;
    top: -0px; /* adjust as needed */
    left: 0;
    font-size: 0.95rem;
    color: #215b46;
    text-decoration: none;
 background: rgba(33, 107, 87, 0.12);
    backdrop-filter: blur(2px);    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.arcane-back-btn:hover {
    background: rgba(33, 107, 87, 0.2);
}


/* Order listing in account page */ 
/* Arcane Druid – My Orders table */

table.woocommerce-orders-table.my_account_orders {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fbf5e7;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ddc7a0;
    box-shadow: 0 10px 25px rgba(60, 47, 31, 0.18);
    margin: 2rem 0;
}

table.woocommerce-orders-table.my_account_orders thead {
    background: #f0e2c5;
}

table.woocommerce-orders-table.my_account_orders th,
table.woocommerce-orders-table.my_account_orders td {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid #e3d5b5;
    font-size: 0.95rem;
}

table.woocommerce-orders-table.my_account_orders tr:last-child td {
    border-bottom: none;
}

table.woocommerce-orders-table.my_account_orders th {
    font-weight: 600;
    color: #3c2f1f;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}
table.woocommerce-orders-table.my_account_orders tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.5);
}

table.woocommerce-orders-table.my_account_orders tbody tr:hover {
    background: rgba(226, 199, 158, 0.22);
}
table.woocommerce-orders-table.my_account_orders
td.woocommerce-orders-table__cell-order-status {
    font-size: 0.82rem;
}
/* Center the status content in its cell */
table.woocommerce-orders-table.my_account_orders 
td.woocommerce-orders-table__cell-order-status {
    text-align: center;
    vertical-align: middle;
}

/* Parchment-style status pill */
.arcane-status-pill {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(33, 107, 87, 0.12);
    color: #215b46;
    font-weight: 600;
    font-size: 0.78rem;
    line-height: 1.1;
    white-space: nowrap;
}



/* add more as you need:
table.woocommerce-orders-table.my_account_orders
tr.woocommerce-orders-table__row--status-completed
td.woocommerce-orders-table__cell-order-status { ... }
*/
/* order number links */
table.woocommerce-orders-table.my_account_orders a {
    color: #c5812b;
    text-decoration: none;
}

table.woocommerce-orders-table.my_account_orders a:hover {
    text-decoration: underline;
}

/* action button */
table.woocommerce-orders-table.my_account_orders a.woocommerce-button.button.view {
    background: #e3c48f;
    color: #3c2f1f;
    border-radius: 999px;
    padding: 0.35rem 1.1rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    box-shadow: 0 2px 6px rgba(60, 47, 31, 0.25);
}

table.woocommerce-orders-table.my_account_orders a.woocommerce-button.button.view:hover {
    background: #d7b06a;
    color: #2b2116;
}
@media (max-width: 600px) {
    table.woocommerce-orders-table.my_account_orders th,
    table.woocommerce-orders-table.my_account_orders td {
        padding: 0.7rem 0.9rem;
    }
}
