/* My Account (logged in): full-width page, sidebar + content. Loaded only on the My Account page (inc/account.php). */
.woocommerce-account .inxo-page-content { max-width:none; padding-left:var(--wp--preset--spacing--50); padding-right:var(--wp--preset--spacing--50); }
.woocommerce-account:not(.logged-in) .woocommerce { max-width:960px; margin-left:auto; margin-right:auto; }

.woocommerce-account.logged-in .woocommerce::before, .woocommerce-account.logged-in .woocommerce::after { display:none; } /* WooCommerce's clearfix pseudo-elements would become grid cells */
.woocommerce-account.logged-in .woocommerce { max-width:none; margin-left:0; margin-right:0; display:grid; grid-template-columns:280px minmax(0, 1fr); gap:2rem 2.5rem; align-items:start; }
.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper { grid-column:1 / -1; }
.woocommerce-account.logged-in .woocommerce-notices-wrapper:empty { display:none; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float:none; width:auto; margin:0; }

/* Sidebar */
.inxo-account-side { position:sticky; top:calc(var(--inxo-overlay-top, 80px) + 1rem); background:#fff; border:1px solid #ececef; border-radius:16px; box-shadow:0 8px 24px -14px rgba(0,0,0,.18); padding:.9rem; }
.inxo-account-user { display:flex; align-items:center; gap:.8rem; padding:.4rem .5rem 1rem; margin-bottom:.5rem; border-bottom:1px solid #f0f0f2; }
.inxo-account-avatar { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--inxo-red); color:#fff; font:600 1.15rem/1 var(--inxo-head); }
.inxo-account-who { display:flex; flex-direction:column; min-width:0; }
.inxo-account-who strong { font-size:.98rem; font-weight:600; color:#1d2327; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.inxo-account-who small { font-size:.8rem; color:#7a7a82; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.2rem; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { margin:0; padding:0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { text-decoration:none !important; display:flex; align-items:center; gap:.75rem; padding:.7rem .85rem; border-radius:10px; color:#3c3c43; font-size:.95rem; font-weight:500; text-decoration:none; transition:background-color .15s, color .15s; }
.woocommerce-MyAccount-navigation a::before { content:""; flex:none; width:20px; height:20px; background-color:currentColor; -webkit-mask:var(--ico) center / contain no-repeat; mask:var(--ico) center / contain no-repeat; opacity:.75; }
.woocommerce-MyAccount-navigation a:hover { background:#f5f5f7; color:#1d2327; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a[aria-current="page"] { background:rgba(200, 21, 59, .09); color:var(--inxo-red); font-weight:600; }
.woocommerce-MyAccount-navigation .is-active a::before, .woocommerce-MyAccount-navigation a[aria-current="page"]::before { opacity:1; }
.woocommerce-MyAccount-navigation a:focus-visible { outline:2px solid var(--inxo-red); outline-offset:2px; }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top:.5rem !important; padding:.5rem 0 0 !important; border-top:1px solid #f0f0f2; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color:#7a7a82; }
.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background:#fdf0f2; color:var(--inxo-red); }

.woocommerce-MyAccount-navigation-link--dashboard a { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders a { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--donations a { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods a { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); }

/* Content */
.woocommerce-MyAccount-content { min-width:0; }
.woocommerce-MyAccount-content > :first-child { margin-top:0; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-family:var(--inxo-head); font-weight:700; letter-spacing:.04em; }

/* Dashboard */
.inxo-dash-stats { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:1rem; margin-bottom:2rem; }
.inxo-dash-stat { display:flex; flex-direction:column; gap:.45rem; padding:1.2rem 1.3rem; background:#fff; border:1px solid #ececef; border-radius:14px; box-shadow:0 8px 24px -16px rgba(0,0,0,.2); }
.inxo-dash-stat:first-child { border-top:3px solid var(--inxo-red); }
.inxo-dash-label { font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:#7a7a82; }
.inxo-dash-value { font-family:var(--inxo-head); font-size:1.7rem; font-weight:700; line-height:1.5; color:#1d2327; }
.inxo-dash-head { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; margin-bottom:.8rem; }
.inxo-dash-head h2 { margin:0; font-size:1.2rem; }
.inxo-dash-head a { font-size:.9rem; color:var(--inxo-red); text-decoration:none; font-weight:500; }
.inxo-dash-head a:hover { text-decoration:underline; }
.inxo-dash-orders { list-style:none; margin:0; padding:0; background:#fff; border:1px solid #ececef; border-radius:14px; overflow:hidden; }
.inxo-dash-orders li + li { border-top:1px solid #f0f0f2; }
.inxo-dash-order { display:grid; grid-template-columns:90px 1fr auto 120px; align-items:center; gap:1rem; padding:1rem 1.3rem; color:#1d2327; text-decoration:none; transition:background-color .15s; }
.inxo-dash-order:hover { background:#fafafb; }
.inxo-dash-order-no { justify-self:start; color:var(--inxo-red); font-size:1.0625rem; font-weight:700; letter-spacing:.02em; text-decoration:underline; text-underline-offset:.2em; }
.inxo-dash-order-date { color:#7a7a82; font-size:1.0625rem; }
.inxo-dash-order-total { text-align:right; font-weight:600; font-size:1.0625rem; }
.inxo-dash-order-status { padding:.2rem .7rem; border-radius:99px; background:#eef0f2; color:#4a4a52; font-size:1rem; font-weight:500; }
.inxo-dash-order-status.status-completed { background:#e6f4ea; color:#1e7a3a; }
.inxo-dash-order-status.status-processing { background:#e8f0fe; color:#1d4fb3; }
.inxo-dash-order-status.status-on-hold, .inxo-dash-order-status.status-pending { background:#fff4e0; color:#a25b00; }
.inxo-dash-order-status.status-cancelled, .inxo-dash-order-status.status-failed { background:#fdecee; color:#b3202f; }
.inxo-dash-empty { padding:1.5rem; background:#fafafb; border:1px dashed #d9d9dc; border-radius:14px; color:#7a7a82; text-align:center; }

/* Addresses: two cards side by side, together as wide as the content */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:1.5rem; width:100%; max-width:none; margin:0; float:none; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::before, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::after { display:none; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address { float:none; width:auto; max-width:none; margin:0; padding:1rem 1.5rem 1.4rem; background:#fff; border:1px solid #ececef; border-radius:14px; box-shadow:0 8px 24px -16px rgba(0,0,0,.2); box-sizing:border-box; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.6rem 1rem; width:auto; float:none; margin:0 0 .85rem; padding:0 0 .6rem; border-bottom:1px solid #f0f0f2; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title::before, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title::after { display:none; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2 { flex:1 1 auto; min-width:0; width:auto; margin:0; padding:0 0 .3rem; text-indent:0; font-size:1.05rem; line-height:1.2; letter-spacing:.04em; text-align:left; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address { margin:0; font-style:normal; line-height:1.5; color:#3c3c43; }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { color:#7a7a82; margin-bottom:1.25rem; }
@media (max-width:700px) { .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns:minmax(0, 1fr); } }

/* Buttons: sizes and colours come from the site standard (ui.css); only spacing here */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table .woocommerce-button + .woocommerce-button { margin-left:.5rem; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-pagination { display:flex; gap:.75rem; margin-top:1.5rem; }
.inxo-form-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields > p.inxo-form-actions { margin:2.25rem 0 0; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > p.inxo-form-actions { margin:.75rem 0 0; }

/* Orders table */
.woocommerce-account table.woocommerce-orders-table, .woocommerce-account table.shop_table { width:100%; border:1px solid #ececef; border-radius:14px; border-collapse:separate; border-spacing:0; overflow:hidden; background:#fff; }
.woocommerce-account table.shop_table th { padding:.9rem 1.1rem; background:#fafafb; font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#7a7a82; text-align:left; border:0; }
.woocommerce-account table.shop_table td { padding:.9rem 1.1rem; border:0; border-top:1px solid #f0f0f2; font-size:1.0625rem; } /* 17px = the page text size */

/* Donation / order details (view-order page) */
.woocommerce-account .woocommerce-MyAccount-content > p:has(> mark.order-number), .woocommerce-account .inxo-dr-view > p:has(> mark.order-number) { margin:0 0 1.5rem; padding:1.1rem 1.4rem; background:#fafafb; border:1px solid #ececef; border-left:4px solid var(--inxo-red); border-radius:12px; color:#4a4a52; line-height:1.5; }
.woocommerce-account .woocommerce-MyAccount-content mark { background:none; color:#1d2327; font-weight:600; }
.woocommerce-account .woocommerce-MyAccount-content mark.order-status { display:inline-block; padding:.1rem .7rem; border-radius:99px; background:#fff4e0; color:#a25b00; font-size:.85em; line-height:1.5; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column__title, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-OrderUpdates ~ h2, .woocommerce-account .woocommerce-MyAccount-content h2.woocommerce-order-downloads__title { margin:2rem 0 .9rem; font-family:var(--inxo-head); font-weight:700 !important; font-size:1.2rem; letter-spacing:.04em; text-transform:none; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details { margin:0; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details { margin:0; table-layout:auto; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details th, .woocommerce-account .woocommerce-MyAccount-content table.order_details td { padding:1rem 1.3rem; vertical-align:middle; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details thead th { background:#fafafb; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details .product-total, .woocommerce-account .woocommerce-MyAccount-content table.order_details tfoot td { width:30%; text-align:right; white-space:nowrap; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details tbody td.product-name a { color:#1d2327; font-weight:500; text-decoration:none !important; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details tbody td.product-name a:hover { color:var(--inxo-red); }
.woocommerce-account .woocommerce-MyAccount-content table.order_details tbody td.product-total { font-weight:600; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details tfoot th { background:#fff; text-transform:none; letter-spacing:0; font-size:.92rem; font-weight:500; color:#7a7a82; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details tfoot td { font-weight:600; color:#1d2327; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details tfoot tr:first-child th, .woocommerce-account .woocommerce-MyAccount-content table.order_details tfoot tr:first-child td { border-top:1px solid #ececef; }
.woocommerce-account .woocommerce-MyAccount-content table.order_details tfoot tr:has(+ tr:last-child) th, .woocommerce-account .woocommerce-MyAccount-content table.order_details tfoot tr:has(+ tr:last-child) td { font-size:1.1rem; color:var(--inxo-red); }

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address { position:relative; margin:0; padding:1.3rem 1.5rem; max-width:520px; background:#fff; border:1px solid #ececef; border-radius:14px; box-shadow:0 8px 24px -16px rgba(0,0,0,.2); font-style:normal; line-height:1.5; color:#3c3c43; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address p { margin:.9rem 0 0; padding:.9rem 0 0 1.9rem; border-top:1px solid #f0f0f2; position:relative; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address p::before { content:""; position:absolute; left:0; top:calc(.9rem + .35rem); width:18px; height:18px; margin:0; border:0; background-color:#7a7a82; -webkit-mask:var(--ico) center / contain no-repeat; mask:var(--ico) center / contain no-repeat; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details--email { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E"); }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details--phone { --ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title + table, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details { overflow:visible; }

/* Forms (account details, edit address): a grid with roomy gaps; half-width fields side by side, the rest full width */
.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) { display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:1.6rem 1.25rem; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields { margin:0; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > .clear, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper > .clear { display:none; }
.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) .form-row { float:none; width:auto; margin:0; padding:0; grid-column:span 6; }
.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) .form-row-first, .woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) .form-row-last { grid-column:span 3; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper > :is(#billing_city_field, #billing_state_field, #billing_postcode_field, #shipping_city_field, #shipping_state_field, #shipping_postcode_field) { grid-column:span 2; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > fieldset { grid-column:1 / -1; display:grid; gap:1.6rem; margin:.75rem 0 0; padding:0; border:0; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > fieldset > legend { margin:0 0 .2rem; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > p:not(.form-row), .woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > div:not(.clear) { grid-column:1 / -1; margin:0; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields h3 { margin:0 0 1rem; }
.woocommerce-account .woocommerce-MyAccount-content .form-row .woocommerce-input-wrapper { display:block; }
.woocommerce-account .woocommerce-MyAccount-content fieldset { margin:1.5rem 0 0; padding:0; border:0; }
.woocommerce-account .woocommerce-MyAccount-content legend { padding:0; margin-bottom:.8rem; font-family:var(--inxo-head); font-size:1.1rem; font-weight:700; }
@media (max-width:600px) { .woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) .form-row { grid-column:1 / -1 !important; } }

/* the two street address lines belong together: closer than the other rows (as on the donation form) */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper > :is(#billing_address_2_field, #shipping_address_2_field) { margin-top:-1rem; }

/* Donation details (same look as the "Thank you for your donation" page: summary strip + white cards; the shared rules are in style.css) */
.inxo-dr-view .inxo-dr-summary { margin-top:0; }
.inxo-dr-view .inxo-dr-card { margin-top:1.5rem; padding:1.5rem 1.75rem; background:#fff; border:1px solid #ececef; border-radius:14px; box-shadow:0 8px 24px -16px rgba(0,0,0,.2); }
.inxo-dr-view .inxo-dr-actions { display:flex; flex-wrap:wrap; gap:1rem; margin:1.75rem 0 0; }
.inxo-dr-status { display:inline-block; padding:.1rem .7rem; border-radius:99px; background:#eef0f2; color:#4a4a52; font-size:.85rem; font-weight:500; }
.inxo-dr-status.status-completed { background:#e6f4ea; color:#1e7a3a; }
.inxo-dr-status.status-processing { background:#e8f0fe; color:#1d4fb3; }
.inxo-dr-status.status-on-hold, .inxo-dr-status.status-pending { background:#fff4e0; color:#a25b00; }
.inxo-dr-status.status-cancelled, .inxo-dr-status.status-failed, .inxo-dr-status.status-refunded { background:#fdecee; color:#b3202f; }

@media (max-width:900px) {
	.woocommerce-account.logged-in .woocommerce { grid-template-columns:minmax(0, 1fr); gap:1.25rem; }
	.inxo-account-side { position:static; padding:.5rem; }
	.inxo-account-user { display:none; }
	.woocommerce-MyAccount-navigation ul { flex-direction:row; gap:.3rem; overflow-x:auto; scrollbar-width:none; }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display:none; }
	.woocommerce-MyAccount-navigation a { white-space:nowrap; padding:.6rem .9rem; }
	.woocommerce-MyAccount-navigation-link--customer-logout { margin-top:0 !important; padding-top:0 !important; border-top:0; }
}
@media (max-width:600px) {
	.inxo-dash-order { grid-template-columns:1fr auto; row-gap:.3rem; }
	.inxo-dash-order-date { grid-column:1; grid-row:2; }
	.inxo-dash-order-status { grid-column:2; grid-row:1; justify-self:end; }
	.inxo-dash-order-total { grid-column:2; grid-row:2; }
}
.inxo-dash-gap { height:2rem; }

/* ---- Login / Register page (logged out) ---- */
/* the page title "My account" is not needed above the two forms */
.woocommerce-account:not(.logged-in) main:has(.woocommerce-form-login) :is(.wp-block-post-title, .inxo-page-title, .inxo-hero) { display:none; }
.woocommerce-account:not(.logged-in) .woocommerce { padding-top:0; }
.woocommerce-account:not(.logged-in) .inxo-page-content { padding-top:.5rem; }
/* "Login" / "Register" sit close to their box ... */
.woocommerce-account:not(.logged-in) #customer_login h2, .woocommerce-account:not(.logged-in) .woocommerce > h2 { margin:0 0 .6rem; }
.woocommerce-account:not(.logged-in) :is(form.woocommerce-form-login, form.woocommerce-form-register) { margin:0; }
/* ... and the fields inside the box have more air between them */
.woocommerce-account:not(.logged-in) :is(form.woocommerce-form-login, form.woocommerce-form-register) .form-row { margin:0 0 1.5rem; padding:0; }
.woocommerce-account:not(.logged-in) :is(form.woocommerce-form-login, form.woocommerce-form-register) .form-row:last-child { margin-bottom:0; }
/* Remember me on its own line, then Log in with "Lost your password?" on the right of the same row */
.woocommerce-account:not(.logged-in) .inxo-login-remember { margin-bottom:1.25rem !important; }
.inxo-login-actions { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.inxo-login-actions .lost_password { margin:0; padding:0; }
/* the Remember me line sits close under the password field (24px row gap - 15px) */
.woocommerce-account:not(.logged-in) form.woocommerce-form-login .inxo-login-remember { margin-top:-15px !important; }
.woocommerce-account:not(.logged-in) form.woocommerce-form-login .inxo-login-remember label { margin-bottom:0; }
/* checkbox: the same box as the checkout's (rounded square, red when ticked, white tick) */
.woocommerce-account .woocommerce-form__input-checkbox { appearance:none; -webkit-appearance:none; flex:none; box-sizing:border-box; width:24px; height:24px; margin:0; padding:0; border:1px solid #b9b9c0; border-radius:5px; background:#fff center / 16px 16px no-repeat; cursor:pointer; transition:background-color .15s, border-color .15s; }
.woocommerce-account .woocommerce-form__input-checkbox:checked { background-color:var(--inxo-red); border-color:var(--inxo-red); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.woocommerce-account .woocommerce-form__input-checkbox:focus-visible { outline:2px solid #4a4a4f; outline-offset:2px; }
body.woocommerce-account .woocommerce form .form-row label.woocommerce-form__label-for-checkbox, body.woocommerce-account label.woocommerce-form__label-for-checkbox { display:inline-flex !important; align-items:center !important; gap:.65rem; margin:0 !important; font:300 1rem/1.5 var(--inxo-body) !important; color:var(--inxo-text); cursor:pointer; }
body.woocommerce-account label.woocommerce-form__label-for-checkbox > span { display:block; position:relative; top:2px; font:inherit; line-height:24px; }
/* the Register button row has no extra space below (a hidden anti-spam field after it kept it from being the form's last child) */
.woocommerce-account:not(.logged-in) form.woocommerce-form-register .form-row:has(.woocommerce-form-register__submit) { margin-bottom:0; }

/* Lost password: "Reset password" + outline "Log in" side by side */
.inxo-lostpw-actions { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; }

/* Orders / Donations list: smaller Pay / View / Cancel buttons (same red / outline pills, just compact) */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table .woocommerce-button:not(#inxo-small) { padding:.3rem 1rem .2rem !important; font-size:.85rem !important; }
.woocommerce-account .woocommerce-MyAccount-content table.shop_table .woocommerce-button + .woocommerce-button { margin-left:.4rem; }

/* Orders / Donations: View and Cancel, and the address "Edit" buttons, are red like Pay (same small size) */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit:not(#inxo-small) { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; padding:.3rem 1rem .2rem; border:1px solid var(--inxo-red); border-radius:99px; background:var(--inxo-red); color:#fff !important; font:600 .85rem/1.5 var(--inxo-head); letter-spacing:.06em; text-decoration:none !important; transition:background-color .15s, border-color .15s; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit:not(#inxo-small):is(:hover, :focus-visible) { background:var(--inxo-red-dark); border-color:var(--inxo-red-dark); color:#fff !important; }

/* The order / donation number (first cell of each row is a header cell, which the column-header rule made small): normal text size */
.woocommerce-account table.shop_table tbody th { font-size:1.0625rem; letter-spacing:0; text-transform:none; }
.woocommerce-account table.shop_table tbody th a { font-size:inherit; letter-spacing:.02em; }

/* Every table in My Account (Orders, Donations, an order / donation's details): the same text size in the body and footer rows; only the small uppercase column headings differ */
.woocommerce-account table.shop_table :is(tbody th, tbody td, tfoot th, tfoot td), .woocommerce-account .woocommerce-MyAccount-content table.order_details tfoot th { font-size:1.0625rem; }

/* Donation details: "Donor details" / "Updates" headings like "Order details" (title outside, details in one white box underneath) */
.inxo-dr-view section.inxo-dr-card { margin-top:0; padding:0; background:none; border:0; box-shadow:none; border-radius:0; }
.woocommerce-account .woocommerce-MyAccount-content .inxo-dr-view section.inxo-dr-card > h3 { margin:2rem 0 .9rem; padding:0; font-family:var(--inxo-head); font-weight:700 !important; font-size:1.2rem; letter-spacing:.04em; line-height:1.5; text-transform:none; color:inherit; }
.inxo-dr-view section.inxo-dr-card > .inxo-dr-list { box-sizing:border-box; padding:1.3rem 1.5rem; background:#fff; border:1px solid #ececef; border-radius:14px; box-shadow:0 8px 24px -16px rgba(0,0,0,.2); font-size:1.0625rem; }
.inxo-dr-view section.inxo-dr-card > .inxo-dr-list dt { font-size:1.0625rem; }

/* Donation page: the status in the sentence takes its colour from the status; the donor details box is white */
.inxo-dr-view mark.order-status.status-completed { background:#e6f4ea; color:#1e7a3a; }
.inxo-dr-view mark.order-status.status-processing { background:#e8f0fe; color:#1d4fb3; }
.inxo-dr-view mark.order-status:is(.status-cancelled, .status-failed, .status-refunded) { background:#fdecee; color:#b3202f; }
.inxo-dr-view section.inxo-dr-card > .inxo-dr-list { background:#fff !important; }
