/* ==========================================================================
   Arcana Read: carrello, checkout, ordine ricevuto, mio account
   Design: Carrello.dc.html, Checkout.dc.html, Ordine Ricevuto.dc.html.
   Breakpoint: 760px (mobile) e 1040px (sotto: colonna singola, riepilogo non sticky).
   I CSS di WooCommerce non sono caricati: qui c'e' tutto quello che WC stampa in queste pagine.
   ========================================================================== */

/* --- Intestazione (eyebrow, H1, fasi) ------------------------------------- */

.ar-shop-hero {
	background: radial-gradient(50% 80% at 85% 0%, rgba(201, 164, 92, 0.12), transparent 70%), var(--ar-bg);
	border-bottom: 1px solid var(--ar-line);
}
.ar-shop-hero__inner {
	max-width: var(--ar-max);
	margin: 0 auto;
	padding: clamp(28px, 4vw, 48px) var(--ar-gutter) clamp(28px, 4vw, 44px);
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 20px 40px;
}
.ar-shop-hero__titles { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ar-shop-hero__eyebrow { margin: 0; }
.ar-shop-hero__title {
	margin: 0;
	font-family: var(--ar-font-body);
	font-weight: 500;
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1.05;
	text-wrap: balance;
}
.ar-shop-hero__title em { font-style: italic; color: var(--ar-gold-light); }

.ar-steps {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 10px 14px;
	font-family: var(--ar-font-display);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ar-steps__item, .ar-steps__link { display: flex; align-items: center; gap: 10px; }
.ar-steps__item { color: var(--ar-faint); }
.ar-steps__item.is-current { color: var(--ar-gold-light); }
.ar-steps__item.is-done { color: var(--ar-muted); }
.ar-steps__link { color: var(--ar-muted); text-decoration: none; padding: 6px 0; margin: -6px 0; }
.ar-steps__link:hover { color: var(--ar-gold-light); }
.ar-steps__line { width: 32px; height: 1px; background: rgba(201, 164, 92, 0.4); }
.ar-steps__item.is-current .ar-steps__line, .ar-steps__item.is-done .ar-steps__line { background: var(--ar-gold); }
.ar-steps__num {
	flex: none;
	width: 32px; height: 32px;
	border-radius: 50%;
	border: 1px solid rgba(201, 164, 92, 0.45);
	color: var(--ar-muted);
	display: grid; place-items: center;
	font-size: 13px;
	letter-spacing: 0;
}
.ar-steps__item.is-current .ar-steps__num { background: var(--ar-gold-light); border-color: var(--ar-gold-light); color: var(--ar-on-gold); }
.ar-steps__item.is-done .ar-steps__num { border-color: var(--ar-gold); color: var(--ar-gold-light); }
/* Da mobile le fasi vanno a capo: senza i trattini di raccordo, che resterebbero a inizio riga. */
@media (max-width: 759.98px) {
	.ar-steps { gap: 10px 18px; }
	.ar-steps__line { display: none; }
}

/* --- Contenitore delle pagine WooCommerce ------------------------------------ */

.ar-shop-page--cart > .woocommerce,
.ar-shop-page--checkout > .woocommerce,
.ar-shop-page--pay > .woocommerce {
	max-width: var(--ar-max);
	margin: 0 auto;
	padding: clamp(36px, 5vw, 64px) var(--ar-gutter) clamp(56px, 7vw, 96px);
}
.ar-shop-page .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 24px; }
.ar-shop-page .woocommerce-notices-wrapper > :last-child { margin-bottom: 0; }
.ar-shop-page .woocommerce-message a.restore-item { margin-left: 6px; }

/* Avvisi di WooCommerce nelle pagine del negozio: righe con il bottone in fondo. */
.ar-shop-page .woocommerce-error a, .ar-shop-page .woocommerce-message a, .ar-shop-page .woocommerce-info a { color: var(--ar-gold-light); }
.ar-shop-page .woocommerce-message .button, .ar-shop-page .woocommerce-info .button { text-decoration: none; padding: 10px 0; }

/* Sovrapposizione di "caricamento" di WooCommerce (blockUI): scura invece che bianca. */
.blockUI.blockOverlay { background-color: var(--ar-bg) !important; }

/* Griglia a due colonne di carrello e checkout */
.ar-cart, .ar-co {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px clamp(32px, 4vw, 56px);
	align-items: start;
}
@media (min-width: 1040px) {
	.ar-cart, .ar-co { grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); }
	.ar-cart__side, .ar-co__side { position: sticky; top: 24px; }
}

/* --- Carrello: righe ---------------------------------------------------------- */

.ar-cart__main { min-width: 0; }
.ar-cart__head {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(201, 164, 92, 0.4);
	font-family: var(--ar-font-display);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ar-muted);
}
.ar-cart__list { list-style: none; margin: 0; padding: 0; }
.ar-ci {
	padding: 22px 0;
	border-bottom: 1px solid rgba(201, 164, 92, 0.22);
	display: flex; gap: 18px; align-items: flex-start;
}
.ar-ci__thumb { flex: none; display: block; }
.ar-ci__img {
	display: block;
	width: 96px; height: 96px;
	object-fit: cover;
	border: 1px solid var(--ar-line-strong);
	padding: 3px;
	background: var(--ar-surface-3);
}
.ar-ci__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ar-ci__name {
	color: var(--ar-text);
	text-decoration: none;
	font-family: var(--ar-font-display);
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.35;
	overflow-wrap: anywhere;
}
a.ar-ci__name:hover { color: var(--ar-gold-light); }
.ar-ci__variant { font-size: 17px; color: var(--ar-muted); }
.ar-ci__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ar-ci__price { font-family: var(--ar-font-display); font-size: 20px; color: var(--ar-gold-light); }
.ar-ci__remove {
	display: inline-block;
	padding: 10px 0; margin: -10px 0;
	color: var(--ar-faint);
	font-size: 16px;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}
.ar-ci__remove:hover { color: var(--ar-text); }

/* Accordion "Le tue domande (N)": usa il gestore .ar-acc di theme.js */
.ar-ci__details.ar-acc__item { border-bottom: 0; }
.ar-ci__toggle.ar-acc__btn {
	width: auto;
	align-self: flex-start;
	justify-content: flex-start;
	gap: 6px;
	margin: -4px 0 -8px;
	padding: 8px 0;
	min-height: 44px;
	color: var(--ar-gold-light);
	font-family: var(--ar-font-display);
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}
.ar-ci__toggle.ar-acc__btn:hover { color: var(--ar-text); }
.ar-ci__toggle .ar-icon { transition: transform 0.4s ease; }
.ar-ci__toggle[aria-expanded="true"] .ar-icon { transform: rotate(180deg); }
.ar-ci__toggle-open, .ar-ci__toggle[aria-expanded="true"] .ar-ci__toggle-closed { display: none; }
.ar-ci__toggle[aria-expanded="true"] .ar-ci__toggle-open { display: inline; }
.ar-ci__data {
	margin-top: 10px;
	padding: 12px 14px;
	border-left: 2px solid var(--ar-gold);
	background: rgba(29, 19, 48, 0.7);
	font-size: 17px;
	line-height: 1.5;
	color: var(--ar-text-2);
	display: flex; flex-direction: column; gap: 4px;
	overflow-wrap: anywhere;
}
.ar-ci__label { color: var(--ar-gold); }
.ar-ci__question { font-style: italic; }

/* Codice promozionale e ritorno al catalogo */
.ar-cart__actions { margin-top: 24px; }
.ar-coupon { display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; }
.ar-coupon__input {
	flex: 1 1 220px;
	min-width: 0;
	min-height: 48px;
	padding: 13px 16px;
	background: var(--ar-surface-3);
	border: 1px solid rgba(201, 164, 92, 0.45);
	border-radius: 0;
	color: var(--ar-text);
	font-family: var(--ar-font-body);
	font-size: 18px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.ar-coupon__input:focus { outline: none; border-color: var(--ar-gold-light); box-shadow: 0 0 0 3px rgba(232, 211, 160, 0.18); }
.ar-coupon__input.has-error { border-color: #e07a86; }
.ar-coupon__btn {
	min-height: 48px;
	padding: 13px 20px;
	border: 1px solid var(--ar-gold);
	background: transparent;
	color: var(--ar-gold-light);
	cursor: pointer;
	font-family: var(--ar-font-display);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: background 0.3s ease, color 0.3s ease;
}
.ar-coupon__btn:hover { background: var(--ar-hover-bg); color: var(--ar-text); }
.coupon-error-notice { flex-basis: 100%; margin: 0; font-size: 16px; color: #f0a3ad; }
.ar-cart__back { display: inline-block; margin-top: 12px; padding: 10px 0; font-size: 17px; }

@media (max-width: 759.98px) {
	/* Miniatura, nome e prezzo in alto; le domande sotto, a tutta larghezza. */
	.ar-ci { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; }
	.ar-ci__info { display: contents; }
	.ar-ci__thumb { grid-column: 1; grid-row: 1 / span 2; }
	.ar-ci__name { grid-column: 2; grid-row: 1; }
	.ar-ci__variant { grid-column: 2; grid-row: 2; }
	.ar-ci__side { grid-column: 3; grid-row: 1 / span 2; }
	.ar-ci__details { grid-column: 1 / -1; margin-top: 6px; }
	.ar-ci__img { width: 72px; height: 72px; }
	.ar-ci__price { font-size: 18px; }
	.ar-coupon__input { flex-basis: 180px; font-size: 16px; padding: 13px 12px; }
	.ar-coupon__btn { padding: 13px 16px; }
}

/* --- Riepilogo (carrello e checkout) ----------------------------------------- */

.ar-sum {
	background: var(--ar-surface-3);
	padding: 10px clamp(6px, 1.5vw, 14px) 12px;
	display: flex; flex-direction: column; gap: 14px;
	min-width: 0;
}
.ar-sum__title { margin: 0; font-family: var(--ar-font-display); font-weight: 500; font-size: 20px; letter-spacing: 0.04em; }
.ar-sum__list { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 18px; }
.ar-sum__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ar-sum__row dt { color: var(--ar-muted); min-width: 0; }
.ar-sum__row dd { margin: 0; text-align: right; }
.ar-sum__row--total { padding-top: 12px; border-top: 1px solid rgba(201, 164, 92, 0.35); align-items: flex-start; }
.ar-sum__row--total dt {
	flex: 1;
	padding-top: 6px;
	color: var(--ar-text);
	font-family: var(--ar-font-display);
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ar-sum__row--total dd { flex: none; font-family: var(--ar-font-display); font-size: 30px; line-height: 1; color: var(--ar-gold-light); white-space: nowrap; }
.ar-sum__row--tax { justify-content: flex-end; margin-top: -2px; }
.ar-sum__row--tax dd { font-size: 15px; color: var(--ar-faint); }
.ar-sum__code { font-family: var(--ar-font-display); font-size: 14px; letter-spacing: 0.08em; color: var(--ar-text-2); }
.ar-sum__remove { margin-left: 6px; padding: 10px 0; font-size: 15px; color: var(--ar-faint); }
.ar-sum__remove:hover { color: var(--ar-text); }
.ar-sum__checkout { padding: 18px 20px; letter-spacing: 0.12em; }
.ar-sum__cta { display: flex; flex-direction: column; gap: 10px; }
.ar-sum__guar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--ar-muted); }
.ar-sum .ar-pay img { height: auto; }


/* --- Carrello vuoto ------------------------------------------------------------ */

.ar-cart-empty {
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(20px, 4vw, 40px) 0;
	display: flex; flex-direction: column; align-items: center;
	text-align: center;
	gap: 16px;
}
.ar-cart-empty__moon { width: 120px; height: auto; }
.ar-cart-empty__title { margin: 8px 0 0; font-family: var(--ar-font-display); font-weight: 500; font-size: clamp(26px, 3vw, 34px); }
.ar-cart-empty__text { max-width: 30em; color: var(--ar-muted); }
.ar-cart-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.ar-cart-empty__btn { padding: 16px 24px; font-size: 13px; letter-spacing: 0.12em; }

/* --- Potrebbe interessarti ----------------------------------------------------- */

.ar-suggest { background: var(--ar-surface-2); border-top: 1px solid var(--ar-line); }
.ar-suggest__inner { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.ar-suggest__title {
	margin: 0 0 32px;
	text-align: center;
	font-family: var(--ar-font-body);
	font-weight: 500;
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.15;
}
.ar-suggest__title em { font-style: italic; color: var(--ar-gold-light); }
.ar-suggest__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.ar-suggest__card {
	display: flex;
	border: 14px solid transparent;
	border-image: var(--ar-frame-sm) 40 / 14px stretch;
	background: var(--ar-surface-3);
	min-width: 0;
}
.ar-suggest__media { flex: none; display: block; width: 110px; }
.ar-suggest__img { width: 110px; height: auto; aspect-ratio: 1; object-fit: cover; }
.ar-suggest__body { flex: 1; min-width: 0; padding: 0 4px 0 16px; display: flex; flex-direction: column; gap: 6px; }
.ar-suggest__name { margin: 0; font-family: var(--ar-font-display); font-weight: 500; font-size: 16px; line-height: 1.3; }
.ar-suggest__name a { color: var(--ar-text); text-decoration: none; }
.ar-suggest__name a:hover { color: var(--ar-gold-light); }
.ar-suggest__prices { gap: 0 8px; }
.ar-suggest__prices .ar-price-del { font-size: 15px; }
.ar-suggest__price { font-family: var(--ar-font-display); font-size: 19px; color: var(--ar-gold-light); }
.ar-suggest__from { font-family: var(--ar-font-body); font-size: 16px; color: var(--ar-muted); }
.ar-suggest__cta {
	align-self: flex-start;
	margin-top: auto;
	padding: 12px 0; margin-bottom: -10px;
	color: var(--ar-gold-light);
	font-family: var(--ar-font-display);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-underline-offset: 4px;
}

/* --- Campi WooCommerce (checkout, account, accesso) ----------------------------- */

.ar-shop-page .form-row { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ar-shop-page .form-row > label:not(.checkbox):not(.woocommerce-form__label-for-checkbox),
.ar-shop-page .woocommerce-form-row > label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) {
	font-family: var(--ar-font-display);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ar-gold-light);
}
.ar-shop-page .form-row .required { color: var(--ar-gold); text-decoration: none; border: 0; }
.ar-shop-page .form-row .optional { text-transform: none; letter-spacing: 0; font-family: var(--ar-font-body); font-size: 15px; color: var(--ar-muted); }
.ar-shop-page .woocommerce-input-wrapper { display: block; }
.ar-shop-page .input-text,
.ar-shop-page .form-row select,
.ar-shop-page .form-row textarea,
.ar-shop-page .woocommerce-Input {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	background: var(--ar-surface-3);
	border: 1px solid rgba(201, 164, 92, 0.45);
	border-radius: 0;
	color: var(--ar-text);
	font-family: var(--ar-font-body);
	font-size: 19px;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.ar-shop-page .form-row select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e8d3a0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	color-scheme: dark;
}
.ar-shop-page .form-row select option { background: var(--ar-surface-3); color: var(--ar-text); }
.ar-shop-page .input-text:focus,
.ar-shop-page .form-row select:focus,
.ar-shop-page .form-row textarea:focus,
.ar-shop-page .woocommerce-Input:focus {
	outline: none;
	border-color: var(--ar-gold-light);
	box-shadow: 0 0 0 3px rgba(232, 211, 160, 0.18);
}
.ar-shop-page .woocommerce-invalid .input-text,
.ar-shop-page .woocommerce-invalid select { border-color: #e07a86; }
.ar-shop-page .woocommerce-invalid.ar-consent label, .ar-shop-page .woocommerce-invalid > .checkbox { color: #f0a3ad; }
.ar-shop-page .checkout-inline-error-message,
.ar-shop-page .woocommerce-form-row .woocommerce-error-message { margin: 0; font-size: 16px; color: #f0a3ad; }
.ar-shop-page .form-row.place-order { margin-top: 8px; }

/* Checkbox (account, termini, consensi, "ricordami") */
.ar-shop-page .woocommerce-form__label-for-checkbox {
	display: flex; align-items: flex-start; gap: 12px;
	font-family: var(--ar-font-body);
	font-size: 18px;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ar-text-2);
	cursor: pointer;
}
.ar-shop-page .woocommerce-form__label-for-checkbox input[type="checkbox"] {
	color-scheme: dark;
	flex: none;
	width: 20px; height: 20px;
	margin: 3px 0 0;
	accent-color: var(--ar-gold);
	cursor: pointer;
}
.ar-shop-page .woocommerce-form__label-for-checkbox abbr.required { color: var(--ar-gold); text-decoration: none; }

/* Mostra/nascondi password (aggiunto da woocommerce.js) */
.ar-shop-page .password-input { position: relative; display: block; }
.ar-shop-page .password-input .input-text { padding-right: 52px; }
.ar-shop-page .show-password-input {
	position: absolute; top: 50%; right: 4px;
	width: 44px; height: 44px;
	transform: translateY(-50%);
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.ar-shop-page .show-password-input::before {
	content: '';
	position: absolute; inset: 12px;
	background: var(--ar-gold-light);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ar-shop-page .show-password-input.display-password::before { opacity: 0.6; }

/* Pulsanti generici di WooCommerce (accesso, account, coupon del checkout, pagina "paga ordine") */
.ar-shop-page .woocommerce-button,
.ar-shop-page .woocommerce-Button,
.ar-shop-page .woocommerce-form-login__submit,
.ar-shop-page .checkout_coupon .button,
.ar-shop-page .woocommerce-MyAccount-content .button,
.ar-shop-page .woocommerce-ResetPassword .button,
.ar-shop-page #order_review > .form-row #place_order,
.ar-shop-page .order-again .button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px;
	padding: 14px 24px;
	border: 0;
	border-radius: 2px;
	background: var(--ar-gold-grad);
	background-size: 260% 100%;
	background-position: 100% 0;
	color: var(--ar-on-gold);
	font-family: var(--ar-font-display);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-position 0.9s ease;
}
.ar-shop-page .woocommerce-button:hover,
.ar-shop-page .woocommerce-Button:hover,
.ar-shop-page .woocommerce-form-login__submit:hover,
.ar-shop-page .checkout_coupon .button:hover,
.ar-shop-page .woocommerce-MyAccount-content .button:hover,
.ar-shop-page .woocommerce-ResetPassword .button:hover,
.ar-shop-page #order_review > .form-row #place_order:hover,
.ar-shop-page .order-again .button:hover { background-position: 0 0; color: var(--ar-on-gold); }
/* Azioni secondarie nelle tabelle (Visualizza, Paga, Annulla): bordo oro */
.ar-shop-page .woocommerce-orders-table .button,
.ar-shop-page .woocommerce-MyAccount-content .woocommerce-orders-table .button,
.ar-shop-page .woocommerce-MyAccount-paymentMethods .button,
.ar-shop-page .woocommerce-table .button {
	min-height: 44px;
	padding: 10px 16px;
	background: transparent;
	border: 1px solid var(--ar-gold);
	color: var(--ar-gold-light);
	font-weight: 400;
	font-size: 12px;
}
.ar-shop-page .woocommerce-orders-table .button:hover,
.ar-shop-page .woocommerce-MyAccount-paymentMethods .button:hover,
.ar-shop-page .woocommerce-table .button:hover { background: var(--ar-hover-bg); color: var(--ar-text); }

/* --- Checkout ------------------------------------------------------------------- */

/* Righe "Hai già un account?" / "Hai un codice promozionale?" con i moduli che si aprono */
.ar-co-pre { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.ar-co-pre:empty, .ar-co-pre > .woocommerce-notices-wrapper:empty { display: none; }
.ar-co-pre .woocommerce-notices-wrapper { margin: 0; }
.ar-co-pre .woocommerce-form-login-toggle .woocommerce-info,
.ar-co-pre .woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0;
	padding: 12px 16px;
	display: block;
	border: 1px dashed rgba(201, 164, 92, 0.45);
	background: transparent;
	font-size: 17px;
	color: var(--ar-muted);
}
.ar-co-pre .woocommerce-form-login-toggle .woocommerce-info::before,
.ar-co-pre .woocommerce-form-coupon-toggle .woocommerce-info::before { content: '✦ '; color: var(--ar-gold); }
.ar-co-pre .showlogin, .ar-co-pre .showcoupon { display: inline-block; padding: 8px 0; margin: -8px 0; }
.ar-co-pre .woocommerce-form-login,
.ar-co-pre .checkout_coupon {
	padding: 18px;
	border: 1px solid var(--ar-line);
	background: var(--ar-surface-2);
	display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px;
}
.ar-co-pre .woocommerce-form-login > p:not(.form-row),
.ar-co-pre .woocommerce-form-login > .clear { flex-basis: 100%; color: var(--ar-muted); font-size: 17px; }
.ar-co-pre .woocommerce-form-login .form-row-first,
.ar-co-pre .woocommerce-form-login .form-row-last { flex: 1 1 220px; }
.ar-co-pre .woocommerce-form-login .form-row:not(.form-row-first):not(.form-row-last) { flex-basis: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ar-co-pre .woocommerce-form-login .lost_password { flex-basis: 100%; font-size: 16px; }
.ar-co-pre .checkout_coupon { align-items: flex-start; }
.ar-co-pre .checkout_coupon .form-row-first { flex: 1 1 220px; }
.ar-co-pre .checkout_coupon .clear { display: none; }
.ar-co-pre .checkout_coupon .coupon-error-notice { flex-basis: 100%; }

.ar-co > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.ar-co > .woocommerce-NoticeGroup .woocommerce-error { margin: 0; }
.ar-co__main { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ar-co__customer { display: flex; flex-direction: column; gap: 28px; }
.ar-co__customer .woocommerce-billing-fields { display: flex; flex-direction: column; gap: 28px; }
.ar-co__customer .woocommerce-shipping-fields:not(:has(*)),
.ar-co__customer .woocommerce-additional-fields:not(:has(*)) { display: none; }
.ar-co__step { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ar-co__legend {
	padding: 0 0 14px;
	display: flex; align-items: center; gap: 12px;
	font-family: var(--ar-font-display);
	font-size: 18px;
	letter-spacing: 0.06em;
	color: var(--ar-text);
}
.ar-co__num {
	flex: none;
	width: 34px; height: 34px;
	border-radius: 50%;
	border: 1px solid var(--ar-gold);
	display: grid; place-items: center;
	font-size: 14px;
	letter-spacing: 0;
	color: var(--ar-gold-light);
}
.ar-co__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.ar-co__fields--single { display: flex; flex-direction: column; gap: 6px; }
.ar-co__note { font-family: var(--ar-font-body); font-size: 16px; font-style: italic; color: var(--ar-muted); }
.ar-co__account { display: flex; flex-direction: column; gap: 12px; margin-top: -8px; }
.ar-co__account-fields { padding-left: 32px; max-width: 412px; }
.ar-co__account-note { font-size: 16px; color: var(--ar-muted); }

/* Pulsanti express di WooPayments (Apple Pay, Google Pay, WooPay) in cima al modulo.
   Il separatore "— OR —" non e' tradotto da WooPayments: il testo visibile e' quello del tema. */
.ar-co__main .wcpay-express-checkout-wrapper { margin: 0; }
.ar-co__main .wcpay-express-checkout-wrapper:empty { display: none; }
#wcpay-express-checkout-button-separator {
	margin: 16px 0 0 !important;
	height: 20px;
	text-align: center;
	font-size: 0;
	line-height: 0;
	background: linear-gradient(var(--ar-line), var(--ar-line)) center / 100% 1px no-repeat;
}
#wcpay-express-checkout-button-separator::before {
	content: 'oppure';
	display: inline-block;
	padding: 0 14px;
	background: var(--ar-bg);
	font-family: var(--ar-font-display);
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ar-faint);
}

/* Metodi di pagamento: schede radio ad accordion (wc-checkout apre le .payment_box) */
.ar-pm__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ar-pm__item {
	position: relative;
	border: 1px solid rgba(201, 164, 92, 0.35);
	background: #18102a;
	transition: border-color 0.3s ease, background 0.3s ease;
}
.ar-pm__item:has(.ar-pm__radio:checked), .ar-pm__item.is-selected { border-color: var(--ar-gold-light); background: #1e1722; }
.ar-pm__radio {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: 0; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	opacity: 0;
}
.ar-pm__label {
	width: 100%;
	min-height: 56px;
	display: flex; align-items: center; gap: 14px;
	padding: 16px 18px;
	cursor: pointer;
	color: var(--ar-text);
	font-size: 19px;
}
.ar-pm__radio:focus-visible + .ar-pm__label { outline: 2px solid var(--ar-gold-light); outline-offset: 2px; }
.ar-pm__dot {
	flex: none;
	width: 20px; height: 20px;
	border-radius: 50%;
	border: 1px solid var(--ar-gold);
	display: grid; place-items: center;
}
.ar-pm__dot::after {
	content: '';
	width: 10px; height: 10px;
	border-radius: 50%;
	background: var(--ar-gold-light);
	transform: scale(0);
	transition: transform 0.3s ease;
}
.ar-pm__radio:checked + .ar-pm__label .ar-pm__dot::after { transform: scale(1); }
.ar-pm__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ar-pm__title { font-family: var(--ar-font-display); font-size: 15px; letter-spacing: 0.06em; }
.ar-pm__sub { font-size: 16px; color: var(--ar-muted); }
.ar-pm__logos { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 50%; }
.ar-pm__logos img { display: block; width: 38px; height: auto; max-height: 26px; object-fit: contain; }
.ar-pm__box { padding: 0 18px 18px; font-size: 17px; color: var(--ar-muted); }
.ar-pm__box > p:only-child, .ar-pm__box > p:first-child { margin: 0; }
.ar-pm__box p + p { margin-top: 8px; }
.ar-pm__box fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ar-pm__box .woocommerce-SavedPaymentMethods { list-style: none; margin: 0 0 10px; padding: 0; }
.ar-pm__box .woocommerce-SavedPaymentMethods-saveNew label,
.ar-pm__box .woocommerce-SavedPaymentMethods-token label { font-size: 17px; color: var(--ar-text-2); }
.ar-pm__box input[type="checkbox"], .ar-pm__box input[type="radio"] { accent-color: var(--ar-gold); }
.ar-pm__box .wcpay-upe-element, .ar-pm__box .wc-upe-form { margin-top: 4px; }
.ar-pm__box .testmode-info { font-size: 15px; color: var(--ar-faint); }
/* WooPayments: il suo CSS rende inline l'etichetta e fa fluttuare le immagini (selettori con #payment). */
#payment .ar-pm__list .ar-pm__item .ar-pm__label { display: flex; }
#payment .ar-pm__list .ar-pm__item .ar-pm__logos img { float: none; margin: 0; }
#payment .ar-pm__list .ar-pm__item .payment-methods--logos { float: none; }
#payment .ar-pm__list .ar-pm__item .payment-methods--logos > div { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; }
#payment .ar-pm__list .ar-pm__item .payment-methods--logos-count { margin: 0 0 0 2px; font-family: var(--ar-font-display); font-size: 12px; color: var(--ar-gold-light); cursor: pointer; }
#payment .ar-pm__list .ar-pm__item .ar-pm__label .logo-popover { background: var(--ar-surface-3); border: 1px solid var(--ar-line-strong); border-radius: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
#payment .ar-pm__list .ar-pm__item .wc-payment-form { padding: 0 !important; }
.ar-pm__none .woocommerce-info { margin: 0; }
.ar-pm__noscript { margin-top: 12px; font-size: 16px; color: var(--ar-muted); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

@media (max-width: 759.98px) {
	.ar-pm__label { gap: 12px; padding: 14px; }
	.ar-pm__box { padding: 0 14px 14px; }
	.ar-pm__logos { max-width: 42%; }
	.ar-pm__logos img { width: 32px; }
}

/* Consensi sotto i metodi di pagamento */
.ar-co__consents {
	display: flex; flex-direction: column; gap: 12px;
	padding-top: 20px;
	border-top: 1px solid var(--ar-line);
}
.ar-co__consents .woocommerce-terms-and-conditions-wrapper { display: flex; flex-direction: column; gap: 12px; }
.ar-co__consents .woocommerce-terms-and-conditions-wrapper:empty { display: none; }
.ar-co__consents .woocommerce-terms-and-conditions {
	max-height: 260px; overflow: auto;
	padding: 14px 16px;
	border: 1px solid var(--ar-line);
	background: var(--ar-surface-2);
	font-size: 16px;
}
.ar-co__consents .woocommerce-privacy-policy-text p { margin: 4px 0 0; font-size: 16px; color: var(--ar-faint); }
.ar-co__consents .woocommerce-privacy-policy-text a { color: var(--ar-muted); }

/* Riepilogo del checkout */
.ar-co__side .ar-sum__list { margin-top: 2px; }
.ar-review { display: flex; flex-direction: column; gap: 12px; }
.ar-review__items { list-style: none; margin: 0; padding: 0; }
.ar-review__item {
	display: flex; gap: 12px; align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(201, 164, 92, 0.2);
}
.ar-review__img { flex: none; display: block; width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--ar-line-strong); }
.ar-review__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ar-review__name { font-family: var(--ar-font-display); font-size: 14px; overflow-wrap: anywhere; }
.ar-review__variant { font-size: 16px; color: var(--ar-muted); }
.ar-review__price { flex: none; font-family: var(--ar-font-display); font-size: 16px; color: var(--ar-gold-light); }

.ar-co__submit { display: flex; flex-direction: column; gap: 10px; }
.ar-co__pay { padding: 18px 20px; letter-spacing: 0.12em; }
.ar-co__pay::before {
	content: '';
	flex: none;
	width: 15px; height: 15px;
	background: currentColor;
	-webkit-mask: 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='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ar-co__submit .ppc-button-wrapper:empty { display: none; }
.ar-co__submit .ppc-button-wrapper, .ar-co__submit .wc-custom-place-order-button { margin: 0; }
.ar-co__secure { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 15px; text-align: center; color: var(--ar-faint); }
.ar-co__secure .ar-icon { flex: none; color: var(--ar-gold); }

/* Pagina "Paga l'ordine" (Riprova il pagamento): modulo standard di WC */
.ar-shop-page--pay #order_review { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.ar-shop-page--pay #order_review .shop_table { width: 100%; border-collapse: collapse; font-size: 18px; }
.ar-shop-page--pay #order_review .shop_table th,
.ar-shop-page--pay #order_review .shop_table td { padding: 12px 10px; border-bottom: 1px solid var(--ar-line); text-align: left; vertical-align: top; }
.ar-shop-page--pay #order_review .shop_table th { font-family: var(--ar-font-display); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ar-gold-light); }
.ar-shop-page--pay #order_review .wc-item-meta { list-style: none; margin: 6px 0 0; padding: 0; font-size: 16px; color: var(--ar-muted); }
.ar-shop-page--pay #order_review .wc-item-meta p { display: inline; }
.ar-shop-page--pay #payment { display: flex; flex-direction: column; gap: 18px; }
.ar-shop-page--pay #payment .form-row { gap: 12px; }

/* --- Ordine ricevuto ------------------------------------------------------------- */

.ar-ty-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(50% 70% at 50% 0%, rgba(201, 164, 92, 0.18), transparent 70%),
		radial-gradient(40% 60% at 0% 100%, rgba(18, 56, 58, 0.5), transparent 70%),
		var(--ar-bg);
	border-bottom: 1px solid var(--ar-line);
}
.ar-ty-stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ar-ty-star {
	position: absolute;
	left: var(--x); top: var(--y);
	width: var(--s); height: var(--s);
	border-radius: 50%;
	background: var(--ar-text);
	opacity: 0.15;
	animation: ar-twinkle var(--d) ease-in-out var(--del) infinite;
}
.ar-ty-star.is-gold { background: var(--ar-gold-light); }
.ar-ty-star.is-big { box-shadow: 0 0 8px 1px rgba(232, 211, 160, 0.75); }
.ar-ty-hero__wheel {
	position: absolute; left: 50%; top: 50%;
	width: 820px;
	transform: translate(-50%, -50%);
	opacity: 0.1;
	pointer-events: none;
}
.ar-ty-hero__wheel img { display: block; width: 100%; height: auto; animation: ar-spin 220s linear infinite; }
.ar-ty-hero__inner {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--ar-gutter) clamp(48px, 7vw, 88px);
	display: flex; flex-direction: column; align-items: center;
	text-align: center;
}
.ar-ty-hero .ar-steps { justify-content: center; margin-bottom: clamp(32px, 5vw, 48px); color: var(--ar-muted); }
.ar-ty-hero .ar-steps__num { width: 30px; height: 30px; }
.ar-ty-hero .ar-steps__line { width: 28px; }
.ar-ty-seal {
	position: relative;
	width: 112px; height: 112px;
	display: grid; place-items: center;
	border-radius: 50%;
	border: 1px solid var(--ar-gold);
	color: var(--ar-gold-light);
	box-shadow: 0 0 0 8px var(--ar-bg), 0 0 0 9px rgba(201, 164, 92, 0.35), 0 0 60px rgba(201, 164, 92, 0.25);
}
.ar-ty-seal.is-alert { border-color: #c77b86; color: #f0a3ad; box-shadow: 0 0 0 8px var(--ar-bg), 0 0 0 9px rgba(199, 123, 134, 0.35), 0 0 60px rgba(140, 36, 51, 0.3); }
.ar-ty-seal__ring, .ar-ty-next__ring {
	position: absolute;
	inset: -12px;
	border-radius: 50%;
	border: 1px dashed rgba(201, 164, 92, 0.6);
	animation: ar-spin 24s linear infinite;
	pointer-events: none;
}
.ar-ty-hero__eyebrow {
	margin-top: 28px;
	font-family: var(--ar-font-display);
	font-size: 13px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ar-gold);
}
.ar-ty-hero__title {
	margin: 14px 0 0;
	font-family: var(--ar-font-body);
	font-weight: 500;
	font-size: clamp(38px, 5vw, 64px);
	line-height: 1.08;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.ar-ty-hero__title em { font-style: italic; color: var(--ar-gold-light); }
.ar-ty-hero__divider { margin-top: 24px; width: 260px; height: auto; }
.ar-ty-hero__lead { margin: 22px 0 0; max-width: 34em; font-size: clamp(19px, 1.6vw, 22px); color: var(--ar-text-2); overflow-wrap: anywhere; }
.ar-ty-hero__lead strong { color: var(--ar-text); font-weight: 600; }
.ar-ty-hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.ar-ty-next { max-width: 1100px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--ar-gutter) 0; }
.ar-ty-next__title { margin: 0 0 32px; text-align: center; font-family: var(--ar-font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: 0.04em; }
.ar-ty-next__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.ar-ty-next__step {
	background: var(--ar-surface-3);
	padding: 8px;
	display: flex; flex-direction: column; align-items: center;
	text-align: center;
	gap: 10px;
}
.ar-ty-next__step.is-current { background: radial-gradient(circle at 50% 20%, rgba(201, 164, 92, 0.18), transparent 60%), var(--ar-surface-3); }
.ar-ty-next__step p { font-size: 17px; color: var(--ar-muted); }
.ar-ty-next__num {
	position: relative;
	width: 52px; height: 52px;
	border-radius: 50%;
	border: 1px solid rgba(201, 164, 92, 0.5);
	color: var(--ar-muted);
	display: grid; place-items: center;
	font-family: var(--ar-font-display);
	font-size: 18px;
}
.ar-ty-next__step.is-done .ar-ty-next__num { background: var(--ar-gold-light); border-color: var(--ar-gold-light); color: var(--ar-on-gold); }
.ar-ty-next__step.is-current .ar-ty-next__num { border-color: var(--ar-gold); color: var(--ar-gold-light); }
.ar-ty-next__ring { inset: -8px; }
.ar-ty-next__name { margin: 0; font-family: var(--ar-font-display); font-weight: 500; font-size: 18px; }

.ar-ty-details {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(48px, 6vw, 80px) var(--ar-gutter) clamp(56px, 7vw, 96px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: 32px clamp(32px, 4vw, 56px);
	align-items: start;
}
.ar-ty-card {
	border: 1px solid rgba(201, 164, 92, 0.35);
	background: var(--ar-surface-2);
	padding: clamp(18px, 3vw, 28px);
	display: flex; flex-direction: column; gap: 10px;
	min-width: 0;
}
.ar-ty-card--dashed { border-style: dashed; border-color: var(--ar-line-strong); background: transparent; }
.ar-ty-card__title { margin: 0; font-family: var(--ar-font-display); font-weight: 500; font-size: 19px; letter-spacing: 0.04em; }
.ar-ty-summary .ar-ty-card__title { margin-bottom: 4px; }
.ar-ty-summary__totals { margin-top: 4px; gap: 6px; }
.ar-ty-summary__totals .ar-sum__row--total { padding-top: 10px; }
.ar-ty-summary__totals .ar-sum__row--total dd { font-size: 26px; }
.ar-ty-summary__totals .ar-sum__row--total dt { padding-top: 4px; }
.ar-ty-summary__method { color: var(--ar-text); }
.ar-ty-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ar-ty-aside__account { align-self: flex-start; padding: 15px 22px; font-size: 13px; }
.ar-ty-tips { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ar-text-2); }
.ar-ty-tips li::marker { color: var(--ar-gold); }
.ar-ty-reads { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 19px; line-height: 1.4; }
.ar-ty-reads a { display: inline-block; padding: 2px 0; }
.ar-ty-extra:empty { display: none; }
.ar-ty-extra { max-width: 1100px; margin: 0 auto; padding: 0 var(--ar-gutter) clamp(40px, 5vw, 64px); }

/* Link alla lettura (arcana-read-pdf) e "Ordina di nuovo" sotto il riepilogo */
.ar-ty-summary .arcana-lettura,
.woocommerce-MyAccount-content .arcana-lettura {
	margin: 10px 0 0 !important;
	padding: 16px !important;
	border: 1px solid var(--ar-gold) !important;
	border-radius: 0 !important;
	background: rgba(232, 211, 160, 0.06);
}
.arcana-lettura h2 { margin: 0 0 6px; font-family: var(--ar-font-display); font-weight: 500; font-size: 18px; }
.arcana-lettura p + p { margin-top: 10px; }
.ar-ty-summary .order-again { margin-top: 10px; }

/* --- Il mio account ------------------------------------------------------------- */

.ar-account { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.ar-account > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 56px; align-items: start; }
.ar-account > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; margin: 0; }
@media (min-width: 1040px) {
	.ar-account > .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: 260px minmax(0, 1fr); }
	.ar-account .woocommerce-MyAccount-navigation { position: sticky; top: 24px; }
}

.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ar-line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--ar-line-soft); }
.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 14px 16px;
	border-left: 2px solid transparent;
	color: var(--ar-text-2);
	text-decoration: none;
	font-family: var(--ar-font-display);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.woocommerce-MyAccount-navigation a:hover { color: var(--ar-gold-light); background: rgba(201, 164, 92, 0.06); }
.woocommerce-MyAccount-navigation .is-active a { color: var(--ar-gold-light); border-left-color: var(--ar-gold); background: rgba(201, 164, 92, 0.1); }
@media (max-width: 1039.98px) {
	.woocommerce-MyAccount-navigation { margin: 0 calc(-1 * var(--ar-gutter)); }
	.woocommerce-MyAccount-navigation ul {
		display: flex; gap: 8px;
		overflow-x: auto;
		padding: 0 var(--ar-gutter) 4px;
		border: 0;
		scrollbar-width: thin;
		scrollbar-color: var(--ar-gold) transparent;
	}
	.woocommerce-MyAccount-navigation li { flex: none; border: 0; }
	.woocommerce-MyAccount-navigation a { padding: 12px 16px; border: 1px solid rgba(201, 164, 92, 0.5); font-size: 12px; white-space: nowrap; }
	.woocommerce-MyAccount-navigation .is-active a { background: var(--ar-gold-light); color: var(--ar-on-gold); border-color: var(--ar-gold-light); }
}

.woocommerce-MyAccount-content { min-width: 0; display: flex; flex-direction: column; gap: 18px; font-size: 19px; color: var(--ar-text-2); }
.woocommerce-MyAccount-content > p { margin: 0; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3,
.ar-account .woocommerce-column__title, .ar-account #customer_login h2 { margin: 8px 0 0; font-family: var(--ar-font-display); font-weight: 500; font-size: 22px; letter-spacing: 0.04em; color: var(--ar-text); }
.woocommerce-MyAccount-content mark { background: transparent; color: var(--ar-gold-light); }
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message { margin: 0; }

/* Tabelle (ordini, dettagli ordine, metodi di pagamento) */
.ar-account table.shop_table,
.ar-account .woocommerce-table { width: 100%; border-collapse: collapse; font-size: 18px; }
.ar-account table.shop_table th,
.ar-account table.shop_table td,
.ar-account .woocommerce-table th,
.ar-account .woocommerce-table td { padding: 14px 12px; border-bottom: 1px solid var(--ar-line); text-align: left; vertical-align: middle; }
.ar-account table.shop_table thead th,
.ar-account .woocommerce-table thead th {
	font-family: var(--ar-font-display);
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ar-gold-light);
	border-bottom-color: rgba(201, 164, 92, 0.5);
}
.ar-account table.shop_table tfoot th { color: var(--ar-muted); font-weight: 400; }
.ar-account table.shop_table a { color: var(--ar-gold-light); }
.ar-account .woocommerce-orders-table__cell-order-actions .button { margin: 4px 0; }
.ar-account .woocommerce-orders-table__cell-order-actions .button + .button { margin-left: 8px; }
.ar-account .wc-item-meta { list-style: none; margin: 6px 0 0; padding: 0; font-size: 16px; color: var(--ar-muted); }
.ar-account .wc-item-meta li { margin: 2px 0; }
.ar-account .wc-item-meta p { display: inline; }
.ar-account .wc-item-meta .wc-item-meta-label { color: var(--ar-gold); font-weight: 400; }
@media (max-width: 759.98px) {
	.ar-account table.shop_table_responsive thead { display: none; }
	.ar-account table.shop_table_responsive tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--ar-line); }
	.ar-account table.shop_table_responsive td,
	.ar-account table.shop_table_responsive th { display: block; padding: 6px 0; border: 0; text-align: right; }
	.ar-account table.shop_table_responsive td::before,
	.ar-account table.shop_table_responsive th[data-title]::before { content: attr(data-title); float: left; margin-right: 12px; padding-top: 3px; font-family: var(--ar-font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ar-gold-light); text-align: left; }
	.ar-account table.shop_table_responsive td::after { content: ''; display: table; clear: both; }
	.ar-account table.shop_table_responsive td:not([data-title])::before { content: none; }
	.ar-account .woocommerce-orders-table__cell-order-actions::before { padding-top: 14px; }
}

/* Indirizzi e dettagli cliente */
.ar-account .woocommerce-Addresses, .ar-account .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.ar-account .woocommerce-Address, .ar-account .woocommerce-column { padding: 18px; border: 1px solid var(--ar-line); background: var(--ar-surface-2); }
.ar-account .woocommerce-Address-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.ar-account address { font-style: normal; line-height: 1.6; color: var(--ar-text-2); }
.ar-account .woocommerce-customer-details--email, .ar-account .woocommerce-customer-details--phone { margin: 6px 0 0; }
.ar-account .woocommerce-order-details, .ar-account .woocommerce-customer-details { display: flex; flex-direction: column; gap: 14px; }

/* Moduli dell'account */
.ar-account form.woocommerce-EditAccountForm,
.ar-account form.woocommerce-ResetPassword,
.ar-account .woocommerce-address-fields__field-wrapper,
.ar-account form.woocommerce-form-login,
.ar-account form.woocommerce-form-register { display: flex; flex-direction: column; gap: 16px; }
.ar-account .woocommerce-address-fields { display: flex; flex-direction: column; gap: 20px; }
.ar-account .woocommerce-EditAccountForm fieldset { margin: 8px 0 0; padding: 18px; border: 1px solid var(--ar-line); display: flex; flex-direction: column; gap: 16px; }
.ar-account .woocommerce-EditAccountForm legend { padding: 0 8px; font-family: var(--ar-font-display); font-size: 15px; letter-spacing: 0.08em; color: var(--ar-gold-light); }
.ar-account .woocommerce-EditAccountForm em, .ar-account .woocommerce-form-row em { display: block; margin-top: 4px; font-size: 16px; color: var(--ar-muted); }
.ar-account .clear { display: none; }
.ar-account .woocommerce-form-login .form-row:not(.woocommerce-form-row) { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ar-account .lost_password { margin: 0; font-size: 17px; }
.ar-account .woocommerce-privacy-policy-text p { font-size: 16px; color: var(--ar-faint); }
.ar-account .woocommerce-LostPassword, .ar-account .woocommerce-ResetPassword > p:first-child { color: var(--ar-muted); }
.ar-account .woocommerce-ResetPassword { max-width: 560px; }

/* Accesso e registrazione affiancati (utente non connesso) */
.ar-account #customer_login { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.ar-account #customer_login > .u-column1,
.ar-account #customer_login > .u-column2 {
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid var(--ar-line);
	background: var(--ar-surface-2);
	display: flex; flex-direction: column; gap: 16px;
	min-width: 0;
}
.ar-account #customer_login h2 { margin: 0; }
.ar-account > .woocommerce > .woocommerce-form-login { max-width: 560px; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--ar-line); background: var(--ar-surface-2); }

/* Paginazione degli ordini */
.ar-account .woocommerce-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
