
/* ComiX My Account — clean global skin. Shipping Engine owns .csh-* */

body.woocommerce-account .woocommerce{
	display:grid;
	grid-template-columns:190px minmax(0,1fr);
	gap:28px;
	align-items:start;
}

/* Sidebar */
body.woocommerce-account .woocommerce-MyAccount-navigation{
	width:auto!important;
	float:none!important;
	margin:0!important;
	background:#fff!important;
	border:2px solid #10131a!important;
	box-shadow:7px 8px 0 #ffd400!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{
	display:flex!important;
	flex-direction:column!important;
	margin:0!important;
	padding:0!important;
	list-style:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li{
	margin:0!important;
	padding:0!important;
	order:0;
	border-bottom:1px solid #10131a!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{border-bottom:0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard{order:-1000!important}
body.woocommerce-account .woocommerce-MyAccount-navigation a{
	display:flex!important;
	align-items:center!important;
	min-height:40px!important;
	padding:8px 12px!important;
	color:#10131a!important;
	background:#fff!important;
	text-decoration:none!important;
	font-size:11px!important;
	font-weight:900!important;
	line-height:1.2!important;
	letter-spacing:.02em!important;
	text-transform:uppercase!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
	background:#10131a!important;
	color:#fff!important;
	box-shadow:inset 6px 0 0 #ed1c24!important;
}

/* Main content */
body.woocommerce-account .woocommerce-MyAccount-content{
	width:auto!important;
	float:none!important;
	min-width:0!important;
}

/* All endpoints except native Shipping Engine mailbox */
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)){
	background:#fff!important;
	border:2px solid #10131a!important;
	box-shadow:7px 8px 0 #ed1c24!important;
	padding:34px 38px 38px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) > h1:first-child,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) > h2:first-child,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) > h3:first-child{
	display:inline-block!important;
	margin:4px 0 30px 34px!important;
	padding:12px 20px!important;
	background:#10131a!important;
	color:#fff!important;
	font-weight:950!important;
	line-height:1!important;
	text-transform:uppercase!important;
	box-shadow:5px 6px 0 #ed1c24!important;
}

/* Tables */
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) table.woocommerce-orders-table{
	width:100%!important;
	border:2px solid #10131a!important;
	border-radius:0!important;
	border-collapse:separate!important;
	border-spacing:0!important;
	background:#fff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) table.shop_table th,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) table.woocommerce-orders-table th{
	background:#10131a!important;
	color:#fff!important;
	padding:12px 14px!important;
	font-size:11px!important;
	font-weight:900!important;
	text-transform:uppercase!important;
}
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) table.shop_table td,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) table.woocommerce-orders-table td{
	padding:13px 14px!important;
	border-top:1px solid #dcdcde!important;
}

/* Forms */
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) form,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) .woocommerce-Address{
	border:1.5px solid #10131a;
	background:#fff;
	padding:18px;
}
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) input[type=text],
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) input[type=email],
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) input[type=password],
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) input[type=tel],
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) select,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) textarea{
	border:1.5px solid #10131a!important;
	border-radius:0!important;
	background:#fff!important;
	min-height:42px!important;
}

/* Buttons */
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) .button,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) button,
body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)) input[type=submit]{
	background:#10131a!important;
	color:#fff!important;
	border:1.5px solid #10131a!important;
	border-radius:0!important;
	box-shadow:3px 4px 0 #ffd400!important;
	font-size:12px!important;
	font-weight:900!important;
	line-height:1.1!important;
	text-transform:uppercase!important;
	padding:8px 12px!important;
	min-height:34px!important;
}

/* Addresses */
body.woocommerce-account .woocommerce-Addresses{
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	gap:20px!important;
}
body.woocommerce-account .woocommerce-Address{
	width:auto!important;
	float:none!important;
	margin:0!important;
}
body.woocommerce-account .woocommerce-Address:nth-child(1){box-shadow:5px 6px 0 #72aee6}
body.woocommerce-account .woocommerce-Address:nth-child(2){box-shadow:5px 6px 0 #00a32a}

/* Notices */
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error{
	border:2px solid #10131a!important;
	border-radius:0!important;
	background:#fff!important;
	box-shadow:4px 4px 0 #ffd400!important;
}

@media(max-width:900px){
	body.woocommerce-account .woocommerce{
		grid-template-columns:180px minmax(0,1fr);
		gap:20px;
	}
}
@media(max-width:768px){
	body.woocommerce-account .woocommerce{display:block}
	body.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:24px!important}
	body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)){padding:22px 18px 28px!important}
	body.woocommerce-account .woocommerce-Addresses{grid-template-columns:1fr!important}
}


/* v3.6.60 — My Account compact navigation: more room for content, less vertical drag. */
@media(min-width:769px){
	body.woocommerce-account .woocommerce-MyAccount-navigation{
		max-width:190px!important;
		align-self:start!important;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation a{
		word-break:normal!important;
		overflow-wrap:anywhere!important;
	}
}

/* v3.6.66 — My Account UX a doppia gerarchia, speculare e autoesplicativa.
 * Desktop: macro-aree a sinistra, contenuto al centro, sezioni della macro a destra.
 * I due menu condividono la stessa grammatica visiva. La colonna destra ha un titolo
 * esplicito per evitare che la specularità sia soltanto estetica.
 */
body.woocommerce-account .woocommerce{
    display:grid!important;
    grid-template-columns:190px minmax(0,1fr) 190px!important;
    grid-template-areas:"macro content sub"!important;
    column-gap:28px!important;
    row-gap:0!important;
    align-items:start!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation{
    grid-area:macro!important;
    align-self:start!important;
    width:190px!important;
    max-width:190px!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation .cx-account-macro button{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:40px!important;
    box-sizing:border-box!important;
    border:0!important;
    border-bottom:1px solid #10131a!important;
    background:#fff!important;
    color:#10131a!important;
    text-align:left!important;
    padding:8px 12px!important;
    font:inherit!important;
    font-size:11px!important;
    font-weight:900!important;
    line-height:1.2!important;
    letter-spacing:.02em!important;
    text-transform:uppercase!important;
    cursor:pointer!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation .cx-account-macro.is-active button{
    background:#10131a!important;
    color:#fff!important;
    box-shadow:inset 6px 0 0 #ed1c24!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation .cx-account-macro:last-child button{border-bottom:0!important}

body.woocommerce-account .woocommerce-MyAccount-content{
    grid-area:content!important;
    width:100%!important;
    min-width:0!important;
    float:none!important;
}

/* Sottomenu: stessa card del menu principale, ma semanticamente identificato. */
body.woocommerce-account .cx-account-subnav{
    grid-area:sub!important;
    align-self:start!important;
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    overflow:visible!important;
    background:#fff!important;
    border:2px solid #10131a!important;
    box-shadow:7px 8px 0 #ffd400!important;
}
body.woocommerce-account .cx-account-subnav[data-count="0"],
body.woocommerce-account .cx-account-subnav[data-count="1"]{display:none!important}
body.woocommerce-account .cx-account-subnav-title{
    display:flex!important;
    align-items:center!important;
    min-height:40px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:8px 12px!important;
    background:#10131a!important;
    color:#fff!important;
    border-bottom:1px solid #10131a!important;
    box-shadow:inset -6px 0 0 #ed1c24!important;
    font-size:10px!important;
    font-weight:950!important;
    line-height:1.2!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
}
body.woocommerce-account .cx-account-subnav-link{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:40px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:8px 12px!important;
    border:0!important;
    border-bottom:1px solid #10131a!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
    color:#10131a!important;
    text-decoration:none!important;
    font-size:11px!important;
    font-weight:900!important;
    line-height:1.2!important;
    letter-spacing:.02em!important;
    text-transform:uppercase!important;
}
body.woocommerce-account .cx-account-subnav-link:last-child{border-bottom:0!important}
body.woocommerce-account .cx-account-subnav-link:hover,
body.woocommerce-account .cx-account-subnav-link:focus-visible,
body.woocommerce-account .cx-account-subnav-link.is-active{
    background:#10131a!important;
    color:#fff!important;
    box-shadow:inset -6px 0 0 #ed1c24!important;
    outline:none!important;
}

/* Desktop meno largo: preserva il contenuto, riducendo solo le due colonne di navigazione. */
@media (max-width:1180px) and (min-width:921px){
    body.woocommerce-account .woocommerce{
        grid-template-columns:165px minmax(0,1fr) 165px!important;
        column-gap:18px!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .cx-account-subnav{
        width:165px!important;min-width:165px!important;max-width:165px!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation a,
    body.woocommerce-account .woocommerce-MyAccount-navigation .cx-account-macro button,
    body.woocommerce-account .cx-account-subnav-link{font-size:10px!important;padding:8px 9px!important}
}

/* Tablet: niente tre colonne compresse. Macro sopra, sotto-sezioni subito sotto,
 * poi il contenuto. I menu diventano barre orizzontali touch-friendly. */
@media (max-width:920px){
    body.woocommerce-account .woocommerce{
        grid-template-columns:minmax(0,1fr)!important;
        grid-template-areas:"macro" "sub" "content"!important;
        gap:14px!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation{
        grid-area:macro!important;
        width:100%!important;max-width:none!important;margin:0!important;
        overflow-x:auto!important;overscroll-behavior-x:contain!important;
        scrollbar-width:thin!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation ul{
        display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;min-width:max-content!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation li{
        border-bottom:0!important;border-right:1px solid #10131a!important;flex:0 0 auto!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{border-right:0!important}
    body.woocommerce-account .woocommerce-MyAccount-navigation .cx-account-macro button{
        width:auto!important;min-height:44px!important;white-space:nowrap!important;border-bottom:0!important;
    }
    body.woocommerce-account .cx-account-subnav{
        grid-area:sub!important;
        width:100%!important;min-width:0!important;max-width:none!important;
        flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto!important;
        overscroll-behavior-x:contain!important;scrollbar-width:thin!important;
        box-shadow:5px 6px 0 #ffd400!important;
    }
    body.woocommerce-account .cx-account-subnav-title{
        flex:0 0 auto!important;white-space:nowrap!important;min-height:44px!important;
        box-shadow:inset 0 -5px 0 #ed1c24!important;
    }
    body.woocommerce-account .cx-account-subnav-link{
        flex:0 0 auto!important;width:auto!important;min-height:44px!important;white-space:nowrap!important;
        border-bottom:0!important;border-right:1px solid #10131a!important;
    }
    body.woocommerce-account .cx-account-subnav-link:last-child{border-right:0!important}
    body.woocommerce-account .cx-account-subnav-link:hover,
    body.woocommerce-account .cx-account-subnav-link:focus-visible,
    body.woocommerce-account .cx-account-subnav-link.is-active{box-shadow:inset 0 -5px 0 #ed1c24!important}
    body.woocommerce-account .woocommerce-MyAccount-content{grid-area:content!important}
}

/* Mobile: priorità assoluta alla leggibilità e al tap target. */
@media (max-width:600px){
    body.woocommerce-account .woocommerce{gap:12px!important}
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .cx-account-subnav{margin-left:0!important;margin-right:0!important}
    body.woocommerce-account .woocommerce-MyAccount-navigation .cx-account-macro button,
    body.woocommerce-account .cx-account-subnav-link,
    body.woocommerce-account .cx-account-subnav-title{
        min-height:46px!important;font-size:10px!important;padding:9px 11px!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content:not(:has(.csh-mailbox)){
        padding:20px 16px 26px!important;
    }
}


/* v3.6.67 — My Account wide-content guard.
 * Problema: il layout speculare a tre colonne era corretto, ma il contenitore storico
 * dell'account era limitato a 1180px. Tabelle operative come Ordini richiedono più
 * spazio e potevano invadere il sottomenu destro. La correzione aumenta solo l'area
 * account autenticata su desktop largo e impedisce qualsiasi overflow oltre la
 * colonna centrale. Sotto 1280px si abbandona la specularità prima di comprimere
 * contenuti o target touch.
 */
@media (min-width:1280px){
    body.woocommerce-account.logged-in .cx-account-comic .cx-container{
        width:min(1420px,calc(100% - 40px))!important;
        max-width:1420px!important;
    }
    body.woocommerce-account.logged-in .cx-account-cover{
        width:min(1180px,100%)!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }
    body.woocommerce-account.logged-in .cx-account-page-panel{
        width:100%!important;
        max-width:none!important;
    }
    body.woocommerce-account.logged-in .cx-account-page-panel>.woocommerce{
        grid-template-columns:190px minmax(720px,1fr) 190px!important;
        column-gap:24px!important;
    }
}

/* La card centrale è sempre il confine di clipping/scroll del contenuto operativo. */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
    min-width:0!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overscroll-behavior-x:contain!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > *{
    max-width:100%!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table{
    max-width:100%!important;
}

/* Tra tablet largo e desktop compatto, non sacrificare la leggibilità delle tabelle:
 * macro-menu sopra, sottomenu subito sotto, poi contenuto a piena larghezza. */
@media (max-width:1279px) and (min-width:921px){
    body.woocommerce-account .woocommerce{
        grid-template-columns:minmax(0,1fr)!important;
        grid-template-areas:"macro" "sub" "content"!important;
        gap:14px!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation{
        width:100%!important;max-width:none!important;margin:0!important;
        overflow-x:auto!important;overscroll-behavior-x:contain!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation ul{
        display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;min-width:max-content!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation li{
        border-bottom:0!important;border-right:1px solid #10131a!important;flex:0 0 auto!important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation .cx-account-macro button{
        width:auto!important;min-height:44px!important;white-space:nowrap!important;border-bottom:0!important;
    }
    body.woocommerce-account .cx-account-subnav{
        width:100%!important;min-width:0!important;max-width:none!important;
        flex-direction:row!important;overflow-x:auto!important;box-shadow:0 5px 0 #ffd400!important;
    }
    body.woocommerce-account .cx-account-subnav-title,
    body.woocommerce-account .cx-account-subnav-link{
        flex:0 0 auto!important;min-height:44px!important;white-space:nowrap!important;border-bottom:0!important;border-right:1px solid #10131a!important;
    }
    body.woocommerce-account .cx-account-subnav-title{box-shadow:inset 0 -5px 0 #ed1c24!important}
    body.woocommerce-account .cx-account-subnav-link:hover,
    body.woocommerce-account .cx-account-subnav-link:focus-visible,
    body.woocommerce-account .cx-account-subnav-link.is-active{box-shadow:inset 0 -5px 0 #ed1c24!important}
}

/* v3.6.68 — Contrast guard: testo leggibile sulle superfici scure degli ordini.
 * Le card interne chiare mantengono il testo scuro; i link sulle superfici scure restano ComiX red.
 */
body.woocommerce-account .woocommerce-orders-table__cell-order-number{
    color:#fff!important;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-number > .rac-order-customer-summary > .rac-order-number-link,
body.woocommerce-account .woocommerce-orders-table__cell-order-number > .rac-order-customer-summary > a.rac-order-number-link{
    color:#ed1c24!important;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-progress,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-progress .rac-progress-section-label,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-progress .rac-progress-head,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-progress .rac-progress-head span,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-progress .rac-progress-head strong,
body.woocommerce-account .woocommerce-orders-table__cell-order-number > .rac-order-customer-summary{
    color:#fff!important;
}
/* La scheda prodotti è volutamente chiara: ripristina il contrasto scuro al suo interno. */
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-customer-order-products,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-customer-order-products .rac-progress-section-label,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-customer-order-products .rac-item-progress-title,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-customer-order-products .rac-item-progress-meta,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-customer-order-products .rac-item-progress-meta strong{
    color:#1d2327!important;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-customer-order-products a{
    color:#ed1c24!important;
}

/* v3.6.69 — My Account / Ordini: filtro cronologia ad alta leggibilità. */
body.woocommerce-account .cx-order-history-filter{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:wrap!important;
    margin:0 0 16px!important;
    padding:10px 12px!important;
    background:#f7f7f7!important;
    border:1px solid #10131a!important;
    box-shadow:4px 4px 0 #ffd400!important;
}
body.woocommerce-account .cx-order-history-filter label{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    margin:0!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.03em!important;
    font-size:10px!important;
}
body.woocommerce-account .cx-order-history-filter select{
    min-width:190px!important;
    min-height:42px!important;
    padding:8px 36px 8px 11px!important;
    border:2px solid #10131a!important;
    border-radius:0!important;
    background:#fff!important;
    color:#10131a!important;
    font-weight:800!important;
    cursor:pointer!important;
}
body.woocommerce-account .cx-order-history-filter select:focus-visible{
    outline:3px solid #ffd400!important;
    outline-offset:2px!important;
}
body.woocommerce-account .cx-order-history-filter .cx-order-filter-submit{
    min-height:42px!important;
    margin:0!important;
    padding:9px 14px!important;
}
body.woocommerce-account .cx-order-history-filter .cx-order-filter-hint{
    margin-left:auto!important;
    color:#555!important;
    font-size:11px!important;
    line-height:1.3!important;
}
@media (max-width:700px){
    body.woocommerce-account .cx-order-history-filter{
        align-items:stretch!important;
        padding:10px!important;
    }
    body.woocommerce-account .cx-order-history-filter label{
        width:100%!important;
        display:grid!important;
        grid-template-columns:auto minmax(0,1fr)!important;
    }
    body.woocommerce-account .cx-order-history-filter select{
        width:100%!important;
        min-width:0!important;
        min-height:46px!important;
    }
    body.woocommerce-account .cx-order-history-filter .cx-order-filter-submit{
        display:none!important;
    }
    body.woocommerce-account .cx-order-history-filter .cx-order-filter-hint{
        width:100%!important;
        margin:0!important;
    }
}

/* v3.6.70 — Ordini: il numero ordine sulle superfici nere deve restare bianco.
 * I link operativi/prodotto restano rossi; questa regola riguarda solo il numero identificativo ordine. */
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-link,
body.woocommerce-account .woocommerce-orders-table__cell-order-number a.rac-order-number-link,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-block > a:first-child{
    color:#fff!important;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-link:hover,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-link:focus-visible,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-block > a:first-child:hover,
body.woocommerce-account .woocommerce-orders-table__cell-order-number .rac-order-number-block > a:first-child:focus-visible{
    color:#ed1c24!important;
}


/* v3.6.72 — My Account / riepilogo ordini: contrasto definitivo sulle superfici nere.
 * Numero ordine e stato globale sono contenuti informativi: bianco pieno.
 * I link operativi nelle card restano ComiX red; le card prodotto chiare mantengono testo scuro.
 */
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number > .rac-order-customer-summary,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number > .rac-order-number-block{
    color:#fff!important;
}
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-link,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-block > a.rac-order-number-link,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-customer-summary > a.rac-order-number-link{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-progress,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-progress .rac-progress-section-label,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-progress .rac-progress-head,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-progress .rac-progress-head,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-progress .rac-progress-head span,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-progress .rac-progress-head strong{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}
/* Hover/focus del numero ordine resta riconoscibile senza perdere contrasto. */
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-link:hover,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-link:focus-visible{
    color:#ed1c24!important;
    -webkit-text-fill-color:#ed1c24!important;
}
/* Link delle schede chiare / azioni: ComiX red come già previsto. */
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-customer-order-products a{
    color:#ed1c24!important;
    -webkit-text-fill-color:#ed1c24!important;
}

/* v3.6.73 — Hard guard completo per il riepilogo ordine su fondo nero.
 * Tutti i testi informativi/titolini ereditati dentro il summary scuro sono bianchi.
 * I link restano rossi, salvo il numero ordine che resta bianco per gerarchia visiva.
 * Le card prodotto chiare vengono esplicitamente escluse e mantengono testo scuro.
 */
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-customer-summary,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-block,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-progress{
    color:#fff!important;
}
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-customer-summary *:not(a):not(.rac-customer-order-products):not(.rac-customer-order-products *),
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-block *:not(a):not(.rac-customer-order-products):not(.rac-customer-order-products *),
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-progress *:not(a):not(.rac-customer-order-products):not(.rac-customer-order-products *){
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-customer-summary a:not(.rac-order-number-link),
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-block a:not(.rac-order-number-link),
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-order-number-progress a:not(.rac-order-number-link){
    color:#ed1c24!important;
    -webkit-text-fill-color:#ed1c24!important;
}
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number a.rac-order-number-link{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-customer-order-products,
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-customer-order-products *:not(a){
    color:#1d2327!important;
    -webkit-text-fill-color:#1d2327!important;
}
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number .rac-customer-order-products a{
    color:#ed1c24!important;
    -webkit-text-fill-color:#ed1c24!important;
}


/* v3.6.76 — Documenti legali consultabili senza uscire da My Account. */
.woocommerce-account .woocommerce-MyAccount-content .comix-account-policy,
.woocommerce-account .woocommerce-MyAccount-content .cofh-account-legal-document{
  max-width:100%;
  color:#111;
}
.woocommerce-account .woocommerce-MyAccount-content .comix-account-policy-actions,
.woocommerce-account .woocommerce-MyAccount-content .cofh-account-legal-actions{
  margin-top:28px;
  padding:18px;
  border:2px solid #111;
  background:#fff;
  box-shadow:6px 6px 0 #ffd400;
}
.woocommerce-account .woocommerce-MyAccount-content .comix-account-policy-actions .button,
.woocommerce-account .woocommerce-MyAccount-content .cofh-account-legal-actions .button{
  margin:4px 8px 4px 0!important;
  min-height:44px;
}
@media (max-width:600px){
  .woocommerce-account .woocommerce-MyAccount-content .comix-account-policy-actions .button,
  .woocommerce-account .woocommerce-MyAccount-content .cofh-account-legal-actions .button{
    width:100%;
    margin:5px 0!important;
  }
}
