/* OV Woo Account — unified My Account styling.
   Themes rebrand by overriding the --ov-account-* custom properties on
   body.woocommerce-account (dark themes: set bg-card/border/text/muted). */

/* ============================================
   Scope + branding hooks
   ============================================ */
body.woocommerce-account { --ov-account-accent:var(--ov-light-main,#023d68); --ov-account-accent-dark:var(--ov-light-secondary,#022c4a); --ov-account-bg-card:#ffffff; --ov-account-border:#e5e7eb; --ov-account-bg-hover:rgba(2,61,104,.05); --ov-account-text:#1f2937; --ov-account-heading:#111827; --ov-account-muted:#6b7280; --ov-account-radius:12px; --ov-account-shadow:0 1px 3px rgba(0,0,0,.06); --ov-account-bg-input:#ffffff; --ov-account-focus:rgba(2,61,104,.15); --ov-account-focus:color-mix(in srgb, var(--ov-light-main,#023d68) 15%, transparent); }
body.woocommerce-account .page-title { color:var(--ov-account-heading,#111827); }

/* ============================================
   Dark palette (auto-applied by JS when the page background is dark)
   ============================================ */
body.woocommerce-account.ov-account-dark { --ov-account-accent:var(--ov-dark-main,#1f6feb); --ov-account-accent-dark:var(--ov-dark-secondary,#388bfd); --ov-account-bg-card:#1b2129; --ov-account-border:#2d333b; --ov-account-bg-hover:rgba(255,255,255,.06); --ov-account-text:#e6edf3; --ov-account-heading:#f0f6fc; --ov-account-muted:#8b949e; --ov-account-shadow:0 1px 3px rgba(0,0,0,.4); --ov-account-bg-input:#0d1117; --ov-account-focus:rgba(31,111,235,.3); --ov-account-focus:color-mix(in srgb, var(--ov-dark-main,#1f6feb) 30%, transparent); }

/* ============================================
   Layout: nav + content columns
   ============================================ */
.woocommerce-account .woocommerce { display:flex !important; gap:40px; flex-wrap:wrap; align-items:flex-start; }
body.woocommerce-account .woocommerce-account { display:flex; flex-direction:column; gap:24px; align-items:stretch; }
@media (min-width: 768px) { body.woocommerce-account .woocommerce-account { flex-direction:row; align-items:flex-start; } }
@media (min-width: 768px) { body.woocommerce-account .woocommerce-MyAccount-navigation { flex:0 0 260px; width:260px; position:sticky; top:24px; } }
@media (min-width: 768px) { body.woocommerce-account .woocommerce-MyAccount-content { flex:1; min-width:0; } }

/* ============================================
   Navigation card
   ============================================ */
body.woocommerce-account .woocommerce-MyAccount-navigation { background:var(--ov-account-bg-card,#fff); border:1px solid var(--ov-account-border,#e5e7eb); border-radius:var(--ov-account-radius,12px); padding:12px; box-shadow:var(--ov-account-shadow,0 1px 3px rgba(0,0,0,.06)); }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
body.woocommerce-account .woocommerce-MyAccount-navigation a { display:block; padding:10px 14px; border-radius:calc(var(--ov-account-radius,12px) - 4px); color:var(--ov-account-text,#1f2937); text-decoration:none; font-size:14px; }
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background:var(--ov-account-bg-hover,rgba(2,61,104,.05)); }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background:var(--ov-account-accent,#023d68); color:#fff; font-weight:600; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { margin-top:8px; border-top:1px solid var(--ov-account-border,#e5e7eb); border-radius:0 0 calc(var(--ov-account-radius,12px) - 4px) calc(var(--ov-account-radius,12px) - 4px); }
/* Sidebar icons — SVG masks inherit the link color (auto light/dark, white on the active item) */
body.woocommerce-account .woocommerce-MyAccount-navigation a::before { content:''; display:inline-block; width:18px; height:18px; margin-right:10px; vertical-align:-3px; background-color:transparent; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center; -webkit-mask-size:contain; mask-size:contain; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a::before { background-color:currentColor; -webkit-mask-image:url("../svg/icons/dashboard.svg"); mask-image:url("../svg/icons/dashboard.svg"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before, body.woocommerce-account .woocommerce-MyAccount-navigation-link--view-orders a::before { background-color:currentColor; -webkit-mask-image:url("../svg/icons/orders.svg"); mask-image:url("../svg/icons/orders.svg"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before { background-color:currentColor; -webkit-mask-image:url("../svg/icons/addresses.svg"); mask-image:url("../svg/icons/addresses.svg"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before { background-color:currentColor; -webkit-mask-image:url("../svg/icons/account.svg"); mask-image:url("../svg/icons/account.svg"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--vat-number a::before { background-color:currentColor; -webkit-mask-image:url("../svg/icons/vat.svg"); mask-image:url("../svg/icons/vat.svg"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a::before { background-color:currentColor; -webkit-mask-image:url("../svg/icons/logout.svg"); mask-image:url("../svg/icons/logout.svg"); }
@media (max-width: 767px) { body.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction:row; overflow-x:auto; } }
@media (max-width: 767px) { body.woocommerce-account .woocommerce-MyAccount-navigation a { white-space:nowrap; } }

/* ============================================
   Content card
   ============================================ */
body.woocommerce-account .woocommerce-MyAccount-content { background:var(--ov-account-bg-card,#fff); border:1px solid var(--ov-account-border,#e5e7eb); border-radius:var(--ov-account-radius,12px); padding:24px; box-shadow:var(--ov-account-shadow,0 1px 3px rgba(0,0,0,.06)); }
body.woocommerce-account .woocommerce-MyAccount-content h1, body.woocommerce-account .woocommerce-MyAccount-content h2 { color:var(--ov-account-heading,#111827); }

/* ============================================
   Login / register cards (Layer C markup)
   ============================================ */
body.woocommerce-account #customer_login { display:grid; grid-template-columns:1fr; gap:24px; width:100%; }
@media (min-width: 768px) { body.woocommerce-account #customer_login { grid-template-columns:1fr 1fr; } }
body.woocommerce-account .ov-account-auth__card { background:var(--ov-account-bg-card,#fff); border:1px solid var(--ov-account-border,#e5e7eb); border-radius:var(--ov-account-radius,12px); padding:24px; box-shadow:var(--ov-account-shadow,0 1px 3px rgba(0,0,0,.06)); }
body.woocommerce-account .ov-account-auth--single { max-width:480px; margin:0 auto; width:100%; }

/* ============================================
   Forms
   ============================================ */
body.woocommerce-account .woocommerce-MyAccount-content input.input-text, body.woocommerce-account .woocommerce-MyAccount-content select.select, body.woocommerce-account .woocommerce-MyAccount-content textarea, body.woocommerce-account .ov-account-auth__card input.input-text, body.woocommerce-account .ov-account-auth__card textarea { width:100%; max-width:100%; padding:10px 12px; border:1px solid var(--ov-account-border,#d1d5db); border-radius:8px; background:var(--ov-account-bg-input,#fff); color:var(--ov-account-text,#1f2937); font-size:14px; }
body.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus, body.woocommerce-account .woocommerce-MyAccount-content select.select:focus, body.woocommerce-account .woocommerce-MyAccount-content textarea:focus, body.woocommerce-account .ov-account-auth__card input.input-text:focus, body.woocommerce-account .ov-account-auth__card textarea:focus { outline:none; border-color:var(--ov-account-accent,#023d68); box-shadow:0 0 0 3px var(--ov-account-focus,rgba(2,61,104,.15)); }
body.woocommerce-account .woocommerce-MyAccount-content .form-row label, body.woocommerce-account .ov-account-auth__card .form-row label { display:block; margin-bottom:6px; font-weight:600; font-size:13px; color:var(--ov-account-text,#1f2937); }
body.woocommerce-account .woocommerce-form-login__rememberme, body.woocommerce-account .woocommerce-form-login__rememberme span { display:inline; font-weight:400; margin:0; }
body.woocommerce-account input:-webkit-autofill, body.woocommerce-account input:-webkit-autofill:hover, body.woocommerce-account input:-webkit-autofill:focus { -webkit-box-shadow:0 0 0 1000px var(--ov-account-bg-card,#fff) inset; -webkit-text-fill-color:var(--ov-account-text,#1f2937); }

/* ============================================
   Password toggle (WC 11.x core .password-input markup; icon inverts on dark)
   ============================================ */
body.woocommerce-account .password-input { position:relative; display:flex; align-items:center; margin-bottom:16px; }
body.woocommerce-account .password-input input.input-text { padding-right:48px !important; flex:1; margin:0; min-width:0; }
body.woocommerce-account .password-input .show-password-input { position:absolute; right:0; top:50%; transform:translateY(-50%); width:42px; height:42px; display:flex; align-items:center; justify-content:center; background:none; border:none; cursor:pointer; color:var(--ov-account-muted,#6b7280); transition:color .2s ease; padding:0; }
body.woocommerce-account .password-input .show-password-input:hover { color:var(--ov-account-accent,#023d68); }
body.woocommerce-account .password-input .show-password-input::before { content:''; width:18px; height:18px; background-image:url("../svg/icons/password-show.svg"); background-size:contain; background-repeat:no-repeat; background-position:center; }
body.woocommerce-account .password-input:has(input.input-text[type="text"]) .show-password-input::before { background-image:url("../svg/icons/password-hide.svg"); }
body.woocommerce-account.ov-account-dark .password-input .show-password-input::before { filter:brightness(0) invert(1); }

/* ============================================
   Buttons
   ============================================ */
body.woocommerce-account .woocommerce-MyAccount-content .button, body.woocommerce-account .ov-account-auth__card .button { display:inline-block; padding:10px 20px; border:1px solid var(--ov-account-accent,#023d68); border-radius:8px; background:var(--ov-account-accent,#023d68); color:#fff; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; }
body.woocommerce-account .woocommerce-MyAccount-content .button:hover, body.woocommerce-account .ov-account-auth__card .button:hover { background:var(--ov-account-accent-dark,#022c4a); border-color:var(--ov-account-accent-dark,#022c4a); color:#fff; }

/* ============================================
   Orders table + status pills
   ============================================ */
body.woocommerce-account .woocommerce-orders-table { width:100%; border-collapse:collapse; background:transparent; }
body.woocommerce-account .woocommerce-orders-table thead th { text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--ov-account-muted,#6b7280); padding:10px 12px; border-bottom:2px solid var(--ov-account-border,#e5e7eb); }
body.woocommerce-account .woocommerce-orders-table tbody td { padding:14px 12px; border-bottom:1px solid var(--ov-account-border,#e5e7eb); font-size:14px; vertical-align:middle; }
body.woocommerce-account .woocommerce-orders-table tbody tr:hover td { background:var(--ov-account-bg-hover,rgba(2,61,104,.04)); }
body.woocommerce-account .woocommerce-orders-table .status-pending, body.woocommerce-account .ov-account-pill--pending { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:600; background:#fef3c7; color:#92400e; }
body.woocommerce-account .woocommerce-orders-table .status-processing, body.woocommerce-account .ov-account-pill--processing { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:600; background:#dbeafe; color:#1e40af; }
body.woocommerce-account .woocommerce-orders-table .status-on-hold, body.woocommerce-account .ov-account-pill--on-hold { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:600; background:#f3f4f6; color:#374151; }
body.woocommerce-account .woocommerce-orders-table .status-completed, body.woocommerce-account .ov-account-pill--completed { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:600; background:#d1fae5; color:#065f46; }
body.woocommerce-account .woocommerce-orders-table .status-cancelled, body.woocommerce-account .ov-account-pill--cancelled { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:600; background:#fee2e2; color:#991b1b; }
body.woocommerce-account .woocommerce-orders-table .status-refunded, body.woocommerce-account .ov-account-pill--refunded { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:600; background:#e5e7eb; color:#4b5563; }
body.woocommerce-account .woocommerce-orders-table .status-failed, body.woocommerce-account .ov-account-pill--failed { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:600; background:#fee2e2; color:#991b1b; }
@media (max-width: 767px) { body.woocommerce-account .woocommerce-orders-table thead { display:none; } }
@media (max-width: 767px) { body.woocommerce-account .woocommerce-orders-table, body.woocommerce-account .woocommerce-orders-table tbody, body.woocommerce-account .woocommerce-orders-table tr, body.woocommerce-account .woocommerce-orders-table td { display:block; width:100%; } }
@media (max-width: 767px) { body.woocommerce-account .woocommerce-orders-table tr { margin-bottom:16px; border:1px solid var(--ov-account-border,#e5e7eb); border-radius:8px; overflow:hidden; } }
@media (max-width: 767px) { body.woocommerce-account .woocommerce-orders-table td { border:none; padding:8px 14px; } }
@media (max-width: 767px) { body.woocommerce-account .woocommerce-orders-table td::before { content:attr(data-title); display:block; font-size:11px; text-transform:uppercase; letter-spacing:.04em; color:var(--ov-account-muted,#6b7280); margin-bottom:2px; } }

/* ============================================
   View order / order details
   ============================================ */
body.woocommerce-account .woocommerce-order-details { margin-top:24px; }
body.woocommerce-account .woocommerce-MyAccount-content mark { background:color-mix(in srgb, var(--ov-account-accent,#023d68) 15%, transparent); color:var(--ov-account-heading,#111827); padding:1px 6px; border-radius:4px; font-weight:600; }
body.woocommerce-account .woocommerce-order-details__title, body.woocommerce-account .woocommerce-column__title { color:var(--ov-account-heading,#111827); margin-bottom:12px; }
body.woocommerce-account .woocommerce-table--order-details { width:100%; border-collapse:collapse; background:transparent; margin-top:8px; }
body.woocommerce-account .woocommerce-table--order-details thead th { text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--ov-account-muted,#6b7280); padding:10px 12px; border-bottom:2px solid var(--ov-account-border,#e5e7eb); background:var(--ov-account-bg-hover,rgba(2,61,104,.05)); }
body.woocommerce-account .woocommerce-table--order-details tbody td { padding:14px 12px; border-bottom:1px solid var(--ov-account-border,#e5e7eb); font-size:14px; vertical-align:middle; }
body.woocommerce-account .woocommerce-table--order-details tbody tr:hover td { background:var(--ov-account-bg-hover,rgba(2,61,104,.04)); }
body.woocommerce-account .woocommerce-table--order-details tfoot th, body.woocommerce-account .woocommerce-table--order-details tfoot td { padding:10px 12px; border-bottom:1px solid var(--ov-account-border,#e5e7eb); text-align:left; font-size:14px; vertical-align:middle; }
body.woocommerce-account .woocommerce-table--order-details tfoot th[scope="row"] { color:var(--ov-account-text,#1f2937); font-weight:600; }
body.woocommerce-account .woocommerce-table--order-details .order-actions--heading { color:var(--ov-account-muted,#6b7280); font-weight:600; }
body.woocommerce-account .woocommerce-table--order-details .order-actions-button { display:inline-block; padding:8px 16px; border:1px solid var(--ov-account-accent,#023d68); border-radius:8px; background:var(--ov-account-accent,#023d68); color:#fff; font-size:13px; font-weight:600; text-decoration:none; }
body.woocommerce-account .woocommerce-table--order-details .order-actions-button:hover { background:var(--ov-account-accent-dark,#022c4a); border-color:var(--ov-account-accent-dark,#022c4a); color:#fff; }
body.woocommerce-account .ov-order-thumb-link { display:inline-block; margin-right:12px; vertical-align:middle; }
body.woocommerce-account .ov-order-thumb { width:48px; height:48px; object-fit:cover; border-radius:6px; border:1px solid var(--ov-account-border,#e5e7eb); display:block; }
body.woocommerce-account .ov-order-name { display:inline-block; vertical-align:middle; }
body.woocommerce-account .woocommerce-table--order-details .product-quantity { color:var(--ov-account-muted,#6b7280); }
@media (max-width: 767px) { body.woocommerce-account .ov-order-thumb-link { margin-right:10px; } }
@media (max-width: 767px) { body.woocommerce-account .ov-order-thumb { width:40px; height:40px; } }
/* View-order customer details — core marks its two columns with col-1/col-2, which Bootstrap grid themes interpret as ~8% width columns (same fix as the addresses page); billing-only orders render the h2 without the column wrapper, hence the > fallback in the icon rule */
body.woocommerce-account .woocommerce-customer-details .col-1, body.woocommerce-account .woocommerce-customer-details .col-2 { float:none; width:100%; max-width:100%; }
@media (min-width: 768px) { body.woocommerce-account .woocommerce-columns--addresses { display:flex; gap:24px; align-items:flex-start; } }
@media (min-width: 768px) { body.woocommerce-account .woocommerce-customer-details .col-1, body.woocommerce-account .woocommerce-customer-details .col-2 { flex:1 1 0; min-width:0; } }
body.woocommerce-account .woocommerce-customer-details address { font-style:normal; color:var(--ov-account-text,#1f2937); line-height:1.7; }
body.woocommerce-account .woocommerce-customer-details address p { margin:0 0 4px; }
/* Consistent item links + variation meta across themes */
body.woocommerce-account .woocommerce-table--order-details .woocommerce-order-item-product-name a { color:inherit; text-decoration:none; }
body.woocommerce-account .woocommerce-table--order-details .woocommerce-order-item-product-name a:hover { color:var(--ov-account-accent,#023d68); text-decoration:underline; }
body.woocommerce-account .woocommerce-table--order-details .woocommerce-order-item-meta { margin-top:4px; font-size:13px; color:var(--ov-account-muted,#6b7280); }
body.woocommerce-account .woocommerce-table--order-details .woocommerce-order-item-meta li, body.woocommerce-account .woocommerce-table--order-details .woocommerce-order-item-meta p { margin:0 0 2px; }
/* WC core view-order renders variation meta as ul.wc-item-meta (list bullets visible without this) */
body.woocommerce-account .wc-item-meta { list-style:none; margin:4px 0 0; padding:0; font-size:13px; color:var(--ov-account-muted,#6b7280); }
body.woocommerce-account .wc-item-meta li { margin:0 0 2px; }
/* View-order header: back link + color-coded status pill (injected via woocommerce_order_details_status filter) */
body.woocommerce-account .ov-account-back-link { display:inline-block; margin:0 0 16px; font-size:13px; font-weight:500; color:var(--ov-account-muted,#6b7280); text-decoration:none; }
body.woocommerce-account .ov-account-back-link:hover { color:var(--ov-account-accent,#023d68); text-decoration:underline; }
body.woocommerce-account .ov-account-status-pill { display:inline-block; padding:2px 10px; border-radius:999px; font-size:12px; font-weight:600; background:var(--ov-account-bg-hover,rgba(2,61,104,.08)); color:var(--ov-account-muted,#6b7280); }
body.woocommerce-account .ov-account-status--pending { background:rgba(180,83,9,.12); color:#b45309; }
body.woocommerce-account .ov-account-status--processing, body.woocommerce-account .ov-account-status--on-hold { background:color-mix(in srgb, var(--ov-account-accent,#023d68) 12%, transparent); color:var(--ov-account-accent,#023d68); }
body.woocommerce-account .ov-account-status--completed { background:rgba(21,128,61,.12); color:#15803d; }
body.woocommerce-account .ov-account-status--cancelled, body.woocommerce-account .ov-account-status--refunded, body.woocommerce-account .ov-account-status--trash { background:rgba(185,28,28,.12); color:#b91c1c; }
body.woocommerce-account.ov-account-dark .ov-account-status--pending { color:#f59e0b; }
body.woocommerce-account.ov-account-dark .ov-account-status--completed { color:#4ade80; }
body.woocommerce-account.ov-account-dark .ov-account-status--cancelled, body.woocommerce-account.ov-account-dark .ov-account-status--refunded, body.woocommerce-account.ov-account-dark .ov-account-status--trash { color:#f87171; }

/* ============================================
   Addresses
   ============================================ */
body.woocommerce-account .woocommerce-Address { background:var(--ov-account-bg-hover,rgba(2,61,104,.04)); border:1px solid var(--ov-account-border,#e5e7eb); border-radius:8px; padding:16px 18px; }
body.woocommerce-account .woocommerce-Address-title { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
body.woocommerce-account .woocommerce-Address-title h2, body.woocommerce-account .woocommerce-Address-title h3 { margin:0; font-size:15px; color:var(--ov-account-heading,#111827); }
body.woocommerce-account .woocommerce-Address-title .edit { margin-left:auto; color:var(--ov-account-accent,#023d68); text-decoration:none; font-size:13px; font-weight:500; white-space:nowrap; }
body.woocommerce-account .woocommerce-Address-title .edit:hover { text-decoration:underline; }
/* Billing/shipping icons — mask matches the heading text color, so black on light themes and white on dark (addresses page columns + view-order columns) */
body.woocommerce-account .u-column1 .woocommerce-Address-title h2::before, body.woocommerce-account .woocommerce-Addresses > .woocommerce-Address:nth-child(1) .woocommerce-Address-title h2::before, body.woocommerce-account .woocommerce-column--billing-address .woocommerce-column__title::before, body.woocommerce-account .woocommerce-customer-details > h2.woocommerce-column__title::before { content:''; display:inline-block; width:18px; height:18px; margin-right:8px; vertical-align:-3px; background-color:var(--ov-account-heading,#111827); -webkit-mask:url("../svg/icons/billing.svg") no-repeat center / contain; mask:url("../svg/icons/billing.svg") no-repeat center / contain; }
body.woocommerce-account .u-column2 .woocommerce-Address-title h2::before, body.woocommerce-account .woocommerce-Addresses > .woocommerce-Address:nth-child(2) .woocommerce-Address-title h2::before, body.woocommerce-account .woocommerce-column--shipping-address .woocommerce-column__title::before { content:''; display:inline-block; width:18px; height:18px; margin-right:8px; vertical-align:-3px; background-color:var(--ov-account-heading,#111827); -webkit-mask:url("../svg/icons/shipping.svg") no-repeat center / contain; mask:url("../svg/icons/shipping.svg") no-repeat center / contain; }
/* Address text — WC wraps the lines in an <address> element (italic by default) */
body.woocommerce-account .woocommerce-Address address { font-style:normal; color:var(--ov-account-text,#1f2937); line-height:1.7; }
body.woocommerce-account .woocommerce-Address address p { margin:0 0 4px; }
/* Address cards: WooCommerce marks its two columns with col-1/col-2, which Bootstrap grid themes interpret as ~8% width columns — neutralize and lay out with flex instead */
body.woocommerce-account .u-column1, body.woocommerce-account .u-column2 { float:none; width:100%; max-width:100%; }
@media (min-width: 768px) { body.woocommerce-account .addresses.u-columns { display:flex; gap:24px; align-items:flex-start; } }
@media (min-width: 768px) { body.woocommerce-account .u-column1, body.woocommerce-account .u-column2 { flex:1 1 0; min-width:0; } }

/* ============================================
   Dashboard overview card (Layer B)
   ============================================ */
body.woocommerce-account .ov-account-dashboard-card { margin-top:24px; border:1px solid var(--ov-account-border,#e5e7eb); border-radius:var(--ov-account-radius,12px); padding:20px; background:var(--ov-account-bg-card,#fff); }
body.woocommerce-account .ov-account-dashboard-card__stats { display:flex; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
body.woocommerce-account .ov-account-stat { flex:1 1 140px; background:var(--ov-account-bg-hover,rgba(2,61,104,.04)); border:1px solid var(--ov-account-border,#e5e7eb); border-radius:8px; padding:14px 16px; }
body.woocommerce-account .ov-account-stat__value { display:block; font-size:24px; font-weight:700; color:var(--ov-account-accent,#023d68); }
body.woocommerce-account .ov-account-stat__label { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--ov-account-muted,#6b7280); margin-top:2px; }
body.woocommerce-account .ov-account-dashboard-card__title { margin:0 0 8px; color:var(--ov-account-heading,#111827); font-size:15px; }
body.woocommerce-account .ov-account-recent-orders { width:100%; border-collapse:collapse; margin-bottom:16px; }
body.woocommerce-account .ov-account-recent-orders th, body.woocommerce-account .ov-account-recent-orders td { padding:8px 10px; text-align:left; font-size:13px; border-bottom:1px solid var(--ov-account-border,#e5e7eb); }
body.woocommerce-account .ov-account-recent-orders th { font-size:11px; text-transform:uppercase; letter-spacing:.04em; color:var(--ov-account-muted,#6b7280); }
body.woocommerce-account .ov-account-dashboard-card__shortcuts { display:flex; gap:10px; flex-wrap:wrap; }

/* ============================================
   Empty states (no orders yet)
   ============================================ */
body.woocommerce-account .ov-account-empty { padding:48px 24px; text-align:center; }
body.woocommerce-account .ov-account-empty h2 { margin:0 0 8px; color:var(--ov-account-heading,#111827); }
body.woocommerce-account .ov-account-empty p { margin:0 0 20px; color:var(--ov-account-muted,#6b7280); font-size:14px; }
body.woocommerce-account .ov-account-empty .button { display:inline-block; }

/* ============================================
   Native notice fallback (toast off / JS off)
   ============================================ */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info, body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message, body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error { list-style:none; margin:0 0 16px; padding:12px 16px; border-radius:8px; font-size:14px; background:var(--ov-account-bg-hover,rgba(2,61,104,.05)); border:1px solid var(--ov-account-border,#e5e7eb); color:var(--ov-account-text,#1f2937); }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error { background:#fef2f2; border-color:#fecaca; color:#991b1b; }
body.woocommerce-account #customer_login .woocommerce-error { list-style:none; margin:0 0 16px; padding:12px 16px; border-radius:8px; font-size:14px; background:#fef2f2; border-color:#fecaca; color:#991b1b; }
